public class PacketPlayOutRecipeUpdate extends WrappedPacket
Modifier and Type | Field and Description |
---|---|
java.util.List<org.bukkit.inventory.Recipe> |
recipes |
Constructor and Description |
---|
PacketPlayOutRecipeUpdate() |
PacketPlayOutRecipeUpdate(org.bukkit.inventory.Recipe... recipes) |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.inventory.Recipe |
fromNMSRecipe(java.lang.Object r) |
static java.util.List<org.bukkit.inventory.Recipe> |
fromNMSRecipeList(java.lang.Iterable<java.lang.Object> recipes) |
java.lang.Object |
getVanillaPacket()
Converts this wrapped packet to a Vanilla/NMS packet
|
void |
loadVanillaPacket(java.lang.Object obj)
Loads a Vanilla/NMS packet to this wrapper
|
static java.lang.Object |
toNMSRecipe(org.bukkit.inventory.Recipe r) |
static java.util.List<java.lang.Object> |
toNMSRecipeList(java.lang.Iterable<org.bukkit.inventory.Recipe> recipes) |
toNMS
public PacketPlayOutRecipeUpdate()
public PacketPlayOutRecipeUpdate(org.bukkit.inventory.Recipe... recipes)
public static org.bukkit.inventory.Recipe fromNMSRecipe(java.lang.Object r)
public static java.util.List<org.bukkit.inventory.Recipe> fromNMSRecipeList(java.lang.Iterable<java.lang.Object> recipes)
public static java.lang.Object toNMSRecipe(org.bukkit.inventory.Recipe r)
public static java.util.List<java.lang.Object> toNMSRecipeList(java.lang.Iterable<org.bukkit.inventory.Recipe> recipes)
public java.lang.Object getVanillaPacket()
WrappedPacket
getVanillaPacket
in class WrappedPacket
public void loadVanillaPacket(java.lang.Object obj)
WrappedPacket
loadVanillaPacket
in class WrappedPacket
obj
- - The loadable packet