Class UnlockRecipesMessage
java.lang.Object
net.glowstone.net.message.play.game.UnlockRecipesMessage
- All Implemented Interfaces:
com.flowpowered.network.Message
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionUnlockRecipesMessage
(int action, boolean craftingBookOpen, boolean craftingBookFilter, boolean smeltingBookOpen, boolean smeltingBookFilter, boolean blastBookOpen, boolean blastBookFilter, boolean smokerBookOpen, boolean smokerBookFilter, int[] recipes) UnlockRecipesMessage
(int action, boolean craftingBookOpen, boolean craftingBookFilter, boolean smeltingBookOpen, boolean smeltingBookFilter, boolean blastBookOpen, boolean blastBookFilter, boolean smokerBookOpen, boolean smokerBookFilter, int[] recipes, int[] allRecipes) -
Method Summary
-
Field Details
-
ACTION_INIT
public static final int ACTION_INIT- See Also:
-
ACTION_ADD
public static final int ACTION_ADD- See Also:
-
ACTION_REMOVE
public static final int ACTION_REMOVE- See Also:
-
-
Constructor Details
-
UnlockRecipesMessage
public UnlockRecipesMessage(int action, boolean craftingBookOpen, boolean craftingBookFilter, boolean smeltingBookOpen, boolean smeltingBookFilter, boolean blastBookOpen, boolean blastBookFilter, boolean smokerBookOpen, boolean smokerBookFilter, int[] recipes) -
UnlockRecipesMessage
public UnlockRecipesMessage(int action, boolean craftingBookOpen, boolean craftingBookFilter, boolean smeltingBookOpen, boolean smeltingBookFilter, boolean blastBookOpen, boolean blastBookFilter, boolean smokerBookOpen, boolean smokerBookFilter, int[] recipes, int[] allRecipes)
-
-
Method Details
-
getAction
public int getAction() -
isCraftingBookOpen
public boolean isCraftingBookOpen() -
isCraftingBookFilter
public boolean isCraftingBookFilter() -
isSmeltingBookOpen
public boolean isSmeltingBookOpen() -
isSmeltingBookFilter
public boolean isSmeltingBookFilter() -
isBlastBookOpen
public boolean isBlastBookOpen() -
isBlastBookFilter
public boolean isBlastBookFilter() -
isSmokerBookOpen
public boolean isSmokerBookOpen() -
isSmokerBookFilter
public boolean isSmokerBookFilter() -
getRecipes
public int[] getRecipes() -
getAllRecipes
public int[] getAllRecipes() -
equals
-
hashCode
public int hashCode() -
toString
-