Class CuckooClockBlockEntity

All Implemented Interfaces:
IHaveCustomOverlayIcon, IHaveGoggleInformation, IHaveHoveringInformation, PartialSafeNBT, SpecialBlockEntityItemRequirement, IInteractionChecker, net.createmod.ponder.api.VirtualBlockEntity, net.neoforged.neoforge.attachment.IAttachmentHolder, net.neoforged.neoforge.common.extensions.IBlockEntityExtension

public class CuckooClockBlockEntity extends KineticBlockEntity
  • Field Details

    • hourHand

      public net.createmod.catnip.animation.LerpedFloat hourHand
    • minuteHand

      public net.createmod.catnip.animation.LerpedFloat minuteHand
    • animationProgress

      public net.createmod.catnip.animation.LerpedFloat animationProgress
    • animationType

      public com.simibubi.create.content.kinetics.clock.CuckooClockBlockEntity.Animation animationType
  • Constructor Details

    • CuckooClockBlockEntity

      public CuckooClockBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • addBehaviours

      public void addBehaviours(List<BlockEntityBehaviour> behaviours)
      Overrides:
      addBehaviours in class KineticBlockEntity
    • read

      protected void read(net.minecraft.nbt.CompoundTag compound, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket)
      Description copied from class: SmartBlockEntity
      Hook only these in future subclasses of STE
      Overrides:
      read in class KineticBlockEntity
    • write

      public void write(net.minecraft.nbt.CompoundTag compound, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket)
      Description copied from class: SmartBlockEntity
      Hook only these in future subclasses of STE
      Overrides:
      write in class KineticBlockEntity
    • tick

      public void tick()
      Overrides:
      tick in class KineticBlockEntity
    • startAnimation

      public void startAnimation(com.simibubi.create.content.kinetics.clock.CuckooClockBlockEntity.Animation animation)
    • moveHands

      public void moveHands(int hours, int minutes)