Class PumpBlockEntity

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 PumpBlockEntity extends KineticBlockEntity
  • Constructor Details

    • PumpBlockEntity

      public PumpBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> typeIn, 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
    • tick

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

      public void onSpeedChanged(float previousSpeed)
      Overrides:
      onSpeedChanged in class KineticBlockEntity
    • updatePressureChange

      public void updatePressureChange()
    • 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
    • distributePressureTo

      protected void distributePressureTo(net.minecraft.core.Direction side)
    • searchForEndpointRecursively

      protected boolean searchForEndpointRecursively(Map<net.minecraft.core.BlockPos,net.createmod.catnip.data.Pair<Integer,Map<net.minecraft.core.Direction,Boolean>>> pipeGraph, Set<net.createmod.catnip.math.BlockFace> targets, Map<Integer,Set<net.createmod.catnip.math.BlockFace>> validFaces, net.createmod.catnip.math.BlockFace currentFace, boolean pull)
    • updatePipesOnSide

      public void updatePipesOnSide(net.minecraft.core.Direction side)
    • isFront

      protected boolean isFront(net.minecraft.core.Direction side)
    • getFront

      @Nullable protected @Nullable net.minecraft.core.Direction getFront()
    • updatePipeNetwork

      protected void updatePipeNetwork(boolean front)
    • isSideAccessible

      public boolean isSideAccessible(net.minecraft.core.Direction side)
    • isPullingOnSide

      public boolean isPullingOnSide(boolean front)