public class ServerUnlockRecipesPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerUnlockRecipesPacket(boolean openCraftingBook,
boolean activateFiltering,
List<Integer> recipes,
List<Integer> alreadyKnownRecipes) |
ServerUnlockRecipesPacket(boolean openCraftingBook,
boolean activateFiltering,
List<Integer> recipes,
UnlockRecipesAction action) |
| Modifier and Type | Method and Description |
|---|---|
UnlockRecipesAction |
getAction() |
boolean |
getActivateFiltering() |
List<Integer> |
getAlreadyKnownRecipes() |
boolean |
getOpenCraftingBook() |
List<Integer> |
getRecipes() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerUnlockRecipesPacket(boolean openCraftingBook,
boolean activateFiltering,
List<Integer> recipes,
List<Integer> alreadyKnownRecipes)
public ServerUnlockRecipesPacket(boolean openCraftingBook,
boolean activateFiltering,
List<Integer> recipes,
UnlockRecipesAction action)
public UnlockRecipesAction getAction()
public boolean getOpenCraftingBook()
public boolean getActivateFiltering()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.