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 Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.cyclops.integrateddynamics.capability.cable.CableDefault
canConnect, disconnect, getConnected, getForceDisconnected, getItemStack, isConnected, isForceDisconnectable, isForceDisconnected, reconnect, updateConnections
-
Field Details
-
tile
-
-
Constructor Details
-
CableTile
-
-
Method Details
-
setChanged
protected void setChanged()- Specified by:
setChanged
in classCableDefault
-
sendUpdate
protected void sendUpdate()- Specified by:
sendUpdate
in classCableDefault
-
getLevel
protected net.minecraft.world.level.Level getLevel()- Specified by:
getLevel
in classCableDefault
-
getPos
protected net.minecraft.core.BlockPos getPos()- Specified by:
getPos
in classCableDefault
-
destroy
public void destroy()Description copied from interface:ICable
Called when this cable is removed by a wrench.
-