public final class UnlockRecipesMessage extends Object implements com.flowpowered.network.Message
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTION_ADD |
static int |
ACTION_INIT |
static int |
ACTION_REMOVE |
| Constructor and Description |
|---|
UnlockRecipesMessage(int action,
boolean bookOpen,
boolean filterOpen,
int[] recipes) |
UnlockRecipesMessage(int action,
boolean bookOpen,
boolean filterOpen,
int[] recipes,
int[] allRecipes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getAction() |
int[] |
getAllRecipes() |
int[] |
getRecipes() |
int |
hashCode() |
boolean |
isBookOpen() |
boolean |
isFilterOpen() |
String |
toString() |
public static final int ACTION_INIT
public static final int ACTION_ADD
public static final int ACTION_REMOVE
public UnlockRecipesMessage(int action,
boolean bookOpen,
boolean filterOpen,
int[] recipes)
public UnlockRecipesMessage(int action,
boolean bookOpen,
boolean filterOpen,
int[] recipes,
int[] allRecipes)
public int getAction()
public boolean isBookOpen()
public boolean isFilterOpen()
public int[] getRecipes()
public int[] getAllRecipes()
public boolean equals(Object o)
public int hashCode()
Copyright © 2021. All rights reserved.