Class PartContainerTileMultipartTicking

java.lang.Object
org.cyclops.integrateddynamics.capability.partcontainer.PartContainerDefault
org.cyclops.integrateddynamics.capability.partcontainer.PartContainerTileMultipartTicking
All Implemented Interfaces:
net.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>, IPartContainer

public class PartContainerTileMultipartTicking extends PartContainerDefault
Implementation of an IPartContainer for a part entity.
  • Constructor Details

  • Method Details

    • getTile

      protected BlockEntityMultipartTicking getTile()
    • setChanged

      protected void setChanged()
      Specified by:
      setChanged in class PartContainerDefault
    • sendUpdate

      protected void sendUpdate()
      Specified by:
      sendUpdate in class PartContainerDefault
    • getLevel

      protected net.minecraft.world.level.Level getLevel()
      Specified by:
      getLevel in class PartContainerDefault
    • getPos

      protected net.minecraft.core.BlockPos getPos()
      Specified by:
      getPos in class PartContainerDefault
    • getNetwork

      protected INetwork getNetwork()
      Specified by:
      getNetwork in class PartContainerDefault
    • getWatchingSide

      @Nullable public net.minecraft.core.Direction getWatchingSide(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player)
      Description copied from interface: IPartContainer
      Get the part side the player is watching. This is used to determine the part the player is looking at.
      Parameters:
      world - The world.
      pos - The block position to perform a ray trace for.
      player - The player.
      Returns:
      The side the player is watching or null.