Class CrushingWheelControllerBlockEntity

java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
All Implemented Interfaces:
PartialSafeNBT, SpecialBlockEntityItemRequirement, IInteractionChecker, net.createmod.ponder.api.VirtualBlockEntity, net.neoforged.neoforge.attachment.IAttachmentHolder, net.neoforged.neoforge.common.extensions.IBlockEntityExtension

public class CrushingWheelControllerBlockEntity extends SmartBlockEntity
  • Field Details

    • processingEntity

      public net.minecraft.world.entity.Entity processingEntity
    • searchForEntity

      protected boolean searchForEntity
    • inventory

      public ProcessingInventory inventory
    • crushingspeed

      public float crushingspeed
  • Constructor Details

    • CrushingWheelControllerBlockEntity

      public CrushingWheelControllerBlockEntity(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)
      Specified by:
      addBehaviours in class SmartBlockEntity
    • tick

      public void tick()
      Overrides:
      tick in class SmartBlockEntity
    • tickAudio

      public void tickAudio()
    • spawnParticles

      protected void spawnParticles(net.minecraft.world.item.ItemStack stack)
    • findRecipe

      public Optional<net.minecraft.world.item.crafting.RecipeHolder<StandardProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>>> findRecipe()
    • 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 SmartBlockEntity
    • 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 SmartBlockEntity
    • startCrushing

      public void startCrushing(net.minecraft.world.entity.Entity entity)
    • clear

      public void clear()
    • isOccupied

      public boolean isOccupied()
    • hasEntity

      public boolean hasEntity()