Class UnlockRecipesMessage
java.lang.Object
net.glowstone.net.message.play.game.UnlockRecipesMessage
- All Implemented Interfaces:
com.flowpowered.network.Message
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionUnlockRecipesMessage
(int action, boolean bookOpen, boolean filterOpen, boolean smeltingBookOpen, boolean smeltingFilterOpen, int[] recipes) UnlockRecipesMessage
(int action, boolean bookOpen, boolean filterOpen, boolean smeltingBookOpen, boolean smeltingFilterOpen, 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 bookOpen, boolean filterOpen, boolean smeltingBookOpen, boolean smeltingFilterOpen, int[] recipes) -
UnlockRecipesMessage
public UnlockRecipesMessage(int action, boolean bookOpen, boolean filterOpen, boolean smeltingBookOpen, boolean smeltingFilterOpen, int[] recipes, int[] allRecipes)
-
-
Method Details
-
getAction
public int getAction() -
isBookOpen
public boolean isBookOpen() -
isFilterOpen
public boolean isFilterOpen() -
isSmeltingBookOpen
public boolean isSmeltingBookOpen() -
isSmeltingFilterOpen
public boolean isSmeltingFilterOpen() -
getRecipes
public int[] getRecipes() -
getAllRecipes
public int[] getAllRecipes() -
equals
-
hashCode
public int hashCode() -
toString
-