Package vazkii.botania.common.component
Class HaloRecipeStorageComponent
java.lang.Object
vazkii.botania.common.component.HaloRecipeStorageComponent
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HaloRecipeStorageComponent> static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf, HaloRecipeStorageComponent> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CODEC
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,HaloRecipeStorageComponent> STREAM_CODEC
-
-
Constructor Details
-
HaloRecipeStorageComponent
public HaloRecipeStorageComponent(int slots)
-
-
Method Details
-
getNumSlots
public int getNumSlots() -
setSlot
public void setSlot(int slot, @Nullable @Nullable net.minecraft.resources.ResourceLocation recipeId) -
getSlot
@Nullable public @Nullable net.minecraft.resources.ResourceLocation getSlot(int slot) -
equals
-
hashCode
public int hashCode()
-