Package net.minecraft.item.crafting
Class RecipeBookStatus
- java.lang.Object
-
- net.minecraft.item.crafting.RecipeBookStatus
-
public final class RecipeBookStatus extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
RecipeBookStatus.CategoryStatus
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<RecipeBookCategory,RecipeBookStatus.CategoryStatus>
states
private static java.util.Map<RecipeBookCategory,com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>>
TAG_FIELDS
-
Constructor Summary
Constructors Modifier Constructor Description RecipeBookStatus()
private
RecipeBookStatus(java.util.Map<RecipeBookCategory,RecipeBookStatus.CategoryStatus> p_i241892_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RecipeBookStatus
copy()
boolean
equals(java.lang.Object p_equals_1_)
int
hashCode()
boolean
isFiltering(RecipeBookCategory p_242158_1_)
boolean
isOpen(RecipeBookCategory p_242151_1_)
static RecipeBookStatus
read(CompoundNBT p_242154_0_)
static RecipeBookStatus
read(PacketBuffer p_242157_0_)
void
replaceFrom(RecipeBookStatus p_242150_1_)
void
setFiltering(RecipeBookCategory p_242159_1_, boolean p_242159_2_)
void
setOpen(RecipeBookCategory p_242152_1_, boolean p_242152_2_)
void
write(CompoundNBT p_242160_1_)
void
write(PacketBuffer p_242161_1_)
-
-
-
Field Detail
-
TAG_FIELDS
private static final java.util.Map<RecipeBookCategory,com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> TAG_FIELDS
-
states
private final java.util.Map<RecipeBookCategory,RecipeBookStatus.CategoryStatus> states
-
-
Constructor Detail
-
RecipeBookStatus
private RecipeBookStatus(java.util.Map<RecipeBookCategory,RecipeBookStatus.CategoryStatus> p_i241892_1_)
-
RecipeBookStatus
public RecipeBookStatus()
-
-
Method Detail
-
isOpen
public boolean isOpen(RecipeBookCategory p_242151_1_)
-
setOpen
public void setOpen(RecipeBookCategory p_242152_1_, boolean p_242152_2_)
-
isFiltering
public boolean isFiltering(RecipeBookCategory p_242158_1_)
-
setFiltering
public void setFiltering(RecipeBookCategory p_242159_1_, boolean p_242159_2_)
-
read
public static RecipeBookStatus read(PacketBuffer p_242157_0_)
-
write
public void write(PacketBuffer p_242161_1_)
-
read
public static RecipeBookStatus read(CompoundNBT p_242154_0_)
-
write
public void write(CompoundNBT p_242160_1_)
-
copy
public RecipeBookStatus copy()
-
replaceFrom
public void replaceFrom(RecipeBookStatus p_242150_1_)
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-