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
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class CableDefault
canConnect, disconnect, getConnected, getForceDisconnected, getItemStack, isConnected, isForceDisconnectable, isForceDisconnected, reconnect, updateConnectionsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ICable
updateConnections
-
Field Details
-
tile
-
-
Constructor Details
-
CableTile
-
-
Method Details
-
setChanged
protected void setChanged()- Specified by:
setChangedin classCableDefault
-
sendUpdate
protected void sendUpdate()- Specified by:
sendUpdatein classCableDefault
-
getLevel
protected net.minecraft.world.level.Level getLevel()- Specified by:
getLevelin classCableDefault
-
getPos
protected net.minecraft.core.BlockPos getPos()- Specified by:
getPosin classCableDefault
-
destroy
public void destroy()Description copied from interface:ICableCalled when this cable is removed by a wrench.
-