Package codechicken.multipart.api.part
Class BaseMultipart
java.lang.Object
codechicken.multipart.api.part.BaseMultipart
- All Implemented Interfaces:
MultiPart
- Direct Known Subclasses:
McStatePart,MicroblockPart
Created by covers1624 on 6/6/22.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidbind(TileMultipart tile) final booleanhasTile()final TileMultiparttile()Get the underlyingTileMultipartthis part is inside.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface codechicken.multipart.api.part.MultiPart
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, capCache, click, getBlockSupportShape, getCloneStack, getCollisionShape, getDrops, getExplosionResistance, getInteractionShape, getLightEmission, getModelData, getPlacementSound, getRenderBounds, getRenderOcclusionShape, getShape, getStrength, getType, getVisualShape, harvest, hasLevel, invalidateConvertedTile, level, load, occlusionTest, onAdded, onChunkLoad, onChunkUnload, onConverted, onEntityCollision, onEntityStanding, onMoved, onNeighborBlockChanged, onPartChanged, onRemoved, onWorldJoin, onWorldSeparate, pos, preRemove, readDesc, readUpdate, save, scheduledTick, scheduleTick, sendUpdate, useItemOn, useWithoutItem, writeDesc
-
Constructor Details
-
BaseMultipart
public BaseMultipart()
-
-
Method Details
-
tile
Description copied from interface:MultiPartGet the underlyingTileMultipartthis part is inside.The implementation of this function is INTERNAL, it is expected that all Multiparts extend from
BaseMultipart.- Specified by:
tilein interfaceMultiPart- Returns:
- The
TileMultipart.
-
hasTile
public final boolean hasTile()- Specified by:
hasTilein interfaceMultiPart- Returns:
- If this part has an attached
TileMultipart.
-
bind
-