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) |
toNMSpublic 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()
WrappedPacketgetVanillaPacket in class WrappedPacketpublic void loadVanillaPacket(java.lang.Object obj)
WrappedPacketloadVanillaPacket in class WrappedPacketobj - - The loadable packet