Class AgingDisplayState
java.lang.Object
net.darkhax.botanypots.common.impl.data.display.types.PhasedDisplayState
net.darkhax.botanypots.common.impl.data.display.types.AgingDisplayState
- All Implemented Interfaces:
Display
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<AgingDisplayState> static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.FriendlyByteBuf, AgingDisplayState> static final net.darkhax.bookshelf.common.api.function.CachedSupplier<DisplayType<AgingDisplayState>> static final net.minecraft.resources.ResourceLocation -
Constructor Summary
ConstructorsConstructorDescriptionAgingDisplayState(net.minecraft.world.level.block.Block block, BasicOptions renderOptions) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.BlockgetBlock()DisplayType<?> getType()The type of the display.Methods inherited from class net.darkhax.botanypots.common.impl.data.display.types.PhasedDisplayState
getPhase
-
Field Details
-
TYPE_ID
public static final net.minecraft.resources.ResourceLocation TYPE_ID -
TYPE
public static final net.darkhax.bookshelf.common.api.function.CachedSupplier<DisplayType<AgingDisplayState>> TYPE -
CODEC
-
STREAM
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.FriendlyByteBuf,AgingDisplayState> STREAM
-
-
Constructor Details
-
AgingDisplayState
-
-
Method Details
-
getBlock
public net.minecraft.world.level.block.Block getBlock() -
getRenderOptions
-
getDisplayPhases
- Specified by:
getDisplayPhasesin classPhasedDisplayState
-
getType
Description copied from interface:DisplayThe type of the display. This is used to handle serialization and binding a display to a renderer.- Returns:
- The type of the display.
-