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

public class AgingDisplayState extends PhasedDisplayState
  • 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

      public static final com.mojang.serialization.MapCodec<AgingDisplayState> CODEC
    • STREAM

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.FriendlyByteBuf,AgingDisplayState> STREAM
  • Constructor Details

    • AgingDisplayState

      public AgingDisplayState(net.minecraft.world.level.block.Block block, BasicOptions renderOptions)
  • Method Details

    • getBlock

      public net.minecraft.world.level.block.Block getBlock()
    • getRenderOptions

      public BasicOptions getRenderOptions()
    • getDisplayPhases

      public List<Display> getDisplayPhases()
      Specified by:
      getDisplayPhases in class PhasedDisplayState
    • getType

      public DisplayType<?> getType()
      Description copied from interface: Display
      The type of the display. This is used to handle serialization and binding a display to a renderer.
      Returns:
      The type of the display.