Class DeployerBlockEntity

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

public class DeployerBlockEntity extends KineticBlockEntity implements net.minecraft.world.Clearable
  • Field Details

    • state

      protected com.simibubi.create.content.kinetics.deployer.DeployerBlockEntity.State state
    • mode

      protected com.simibubi.create.content.kinetics.deployer.DeployerBlockEntity.Mode mode
    • heldItem

      protected net.minecraft.world.item.ItemStack heldItem
    • player

      protected DeployerFakePlayer player
    • timer

      protected int timer
    • reach

      protected float reach
    • fistBump

      protected boolean fistBump
    • overflowItems

      protected List<net.minecraft.world.item.ItemStack> overflowItems
    • filtering

      protected FilteringBehaviour filtering
    • redstoneLocked

      protected boolean redstoneLocked
    • owner

      protected UUID owner
    • processingBehaviour

      public BeltProcessingBehaviour processingBehaviour
  • Constructor Details

    • DeployerBlockEntity

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

    • registerCapabilities

      public static void registerCapabilities(net.neoforged.neoforge.capabilities.RegisterCapabilitiesEvent event)
    • addBehaviours

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

      public void initialize()
      Overrides:
      initialize in class KineticBlockEntity
    • onExtract

      protected void onExtract(net.minecraft.world.item.ItemStack stack)
    • getTimerSpeed

      protected int getTimerSpeed()
    • tick

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

      protected void start()
    • startFistBump

      public boolean startFistBump(net.minecraft.core.Direction facing)
    • triggerFistBump

      public void triggerFistBump()
    • activate

      protected void activate()
    • getMovementVector

      protected net.minecraft.world.phys.Vec3 getMovementVector()
    • 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
    • writeSafe

      public void writeSafe(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries)
      Description copied from interface: PartialSafeNBT
      This will always be called from the logical server
      Specified by:
      writeSafe in interface PartialSafeNBT
      Overrides:
      writeSafe in class SmartBlockEntity
    • redstoneUpdate

      public void redstoneUpdate()
    • getHandPose

      public dev.engine_room.flywheel.lib.model.baked.PartialModel getHandPose()
    • createRenderBoundingBox

      protected net.minecraft.world.phys.AABB createRenderBoundingBox()
      Overrides:
      createRenderBoundingBox in class CachedRenderBBBlockEntity
    • discardPlayer

      public void discardPlayer()
    • invalidate

      public void invalidate()
      Description copied from class: SmartBlockEntity
      Block destroyed or Chunk unloaded. Usually invalidates capabilities
      Overrides:
      invalidate in class SmartBlockEntity
    • clearContent

      public void clearContent()
      Specified by:
      clearContent in interface net.minecraft.world.Clearable
    • changeMode

      public void changeMode()
    • addToTooltip

      public boolean addToTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking)
      Description copied from interface: IHaveHoveringInformation
      This method will be called when looking at a BlockEntity that implements this interface
      Specified by:
      addToTooltip in interface IHaveHoveringInformation
      Overrides:
      addToTooltip in class KineticBlockEntity
      Returns:
      true if the tooltip creation was successful and should be displayed, or false if the overlay should not be displayed
    • addToGoggleTooltip

      public boolean addToGoggleTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking)
      Description copied from interface: IHaveGoggleInformation
      This method will be called when looking at a BlockEntity that implements this interface
      Specified by:
      addToGoggleTooltip in interface IHaveGoggleInformation
      Overrides:
      addToGoggleTooltip in class KineticBlockEntity
      Returns:
      true if the tooltip creation was successful and should be displayed, or false if the overlay should not be displayed
    • getHandOffset

      public float getHandOffset(float partialTicks)
    • setAnimatedOffset

      public void setAnimatedOffset(float offset)
    • getRecipe

      @Nullable public @Nullable net.minecraft.world.item.crafting.RecipeHolder<? extends net.minecraft.world.item.crafting.Recipe<? extends net.minecraft.world.item.crafting.RecipeInput>> getRecipe(net.minecraft.world.item.ItemStack stack)
    • getPlayer

      public DeployerFakePlayer getPlayer()