Class CableTile<T extends org.cyclops.cyclopscore.blockentity.CyclopsBlockEntity>

java.lang.Object
org.cyclops.integrateddynamics.capability.cable.CableDefault
org.cyclops.integrateddynamics.capability.cable.CableTile<T>
All Implemented Interfaces:
ICable
Direct Known Subclasses:
CableTileMultipartTicking

public abstract class CableTile<T extends org.cyclops.cyclopscore.blockentity.CyclopsBlockEntity> extends CableDefault
Default implementation of ICable.
  • Field Details

    • tile

      protected final T extends org.cyclops.cyclopscore.blockentity.CyclopsBlockEntity tile
  • Constructor Details

    • CableTile

      public CableTile(T tile)
  • Method Details

    • setChanged

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

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

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

      protected net.minecraft.core.BlockPos getPos()
      Specified by:
      getPos in class CableDefault
    • destroy

      public void destroy()
      Description copied from interface: ICable
      Called when this cable is removed by a wrench.