Class JukeboxBlockEntity

All Implemented Interfaces:
Clearable, Container, ContainerSingleItem, ICapabilityProvider, ICapabilityProviderImpl<BlockEntity>, ICapabilitySerializable<CompoundTag>, IForgeBlockEntity, INBTSerializable<CompoundTag>

public class JukeboxBlockEntity extends BlockEntity implements Clearable, ContainerSingleItem
  • Field Details

    • SONG_END_PADDING

      private static final int SONG_END_PADDING
      See Also:
    • item

      private ItemStack item
    • ticksSinceLastEvent

      private int ticksSinceLastEvent
    • tickCount

      private long tickCount
    • recordStartedTick

      private long recordStartedTick
    • isPlaying

      private boolean isPlaying
  • Constructor Details

    • JukeboxBlockEntity

      public JukeboxBlockEntity(BlockPos p_155613_, BlockState p_155614_)
  • Method Details