Class CuckooClockTileEntity

java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
All Implemented Interfaces:
com.jozufozu.flywheel.backend.instancing.IInstanceRendered, IHaveGoggleInformation, IHaveHoveringInformation, IInteractionChecker, IPartialSafeNBT, net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.level.block.entity.BlockEntity>, net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>, net.minecraftforge.common.extensions.IForgeBlockEntity, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>

public class CuckooClockTileEntity extends KineticTileEntity
  • Field Details

    • CUCKOO_SURPRISE

      public static net.minecraft.world.damagesource.DamageSource CUCKOO_SURPRISE
    • hourHand

      public InterpolatedChasingValue hourHand
    • minuteHand

      public InterpolatedChasingValue minuteHand
    • animationProgress

      public InterpolatedValue animationProgress
    • animationType

      public com.simibubi.create.content.contraptions.components.clock.CuckooClockTileEntity.Animation animationType
  • Constructor Details

    • CuckooClockTileEntity

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

    • fromTag

      protected void fromTag(net.minecraft.nbt.CompoundTag compound, boolean clientPacket)
      Description copied from class: SmartTileEntity
      Hook only these in future subclasses of STE
      Overrides:
      fromTag in class KineticTileEntity
    • write

      public void write(net.minecraft.nbt.CompoundTag compound, boolean clientPacket)
      Description copied from class: SmartTileEntity
      Hook only these in future subclasses of STE
      Overrides:
      write in class KineticTileEntity
    • tick

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

      public void startAnimation(com.simibubi.create.content.contraptions.components.clock.CuckooClockTileEntity.Animation animation)
    • moveHands

      public void moveHands(int hours, int minutes)
    • shouldRenderNormally

      public boolean shouldRenderNormally()