ExprNMS - Anarchick/skript-packet GitHub Wiki

Get the NMS (net.minecraft.server) from a convertible object or invert

NMS (of|from) %location/block/blockdata/itemtype/itemstack/material/slot/biome/entity/world/datawatcher/vector/string%

INPUT BUKKIT OUTPUT NMS More informations
%location% BlockPosition
%block% IBlockData
%block data% IBlockData
%itemtype% IBlockData Only if it's a block, air otherwise
%itemstack% ItemStack
%material% ItemStack
*Material ItemStack Bukkit Mateterial see ExprBukkitMaterial
%slot% ItemStack
%biome% Integer
%entity% Entity
%world% WorldServer
%vector% Vec3D
%string% extends IChatBaseComponent

(convert|wrap) [from NMS] %object%

INPUT NMS OUTPUT BUKKIT More informations
BlockPosition %location%
Block %blockdata% No location !
IBlockData %blockdata%
ItemStack %itemstack%
Entity %entity%
WorldServer %world%
Vec3D %vector%
*Vector3F %vector% *Not NMS
Chunk %chunk% Not possible with mc 1.20+
TODO %string%
*IntList %numbers% *Not NMS