Package codechicken.multipart.api.part
Interface NeighborTileChangePart
- All Superinterfaces:
MultiPart
Mixin interface for parts that want to be notified of neighbor tile change events (comparators or inventory maintainers)
-
Method Summary
Modifier and TypeMethodDescriptionvoidonNeighborTileChanged(net.minecraft.core.Direction side, boolean weak) Callback for neighbor tile changes, from same function in BlockbooleanReturns whether this part needs calls for tile changes through one solid blockMethods 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, hasTile, invalidateConvertedTile, level, load, occlusionTest, onAdded, onChunkLoad, onChunkUnload, onConverted, onEntityCollision, onEntityStanding, onMoved, onNeighborBlockChanged, onPartChanged, onRemoved, onWorldJoin, onWorldSeparate, pos, preRemove, readDesc, readUpdate, save, scheduledTick, scheduleTick, sendUpdate, tile, useItemOn, useWithoutItem, writeDesc
-
Method Details
-
weakTileChanges
boolean weakTileChanges()Returns whether this part needs calls for tile changes through one solid block -
onNeighborTileChanged
void onNeighborTileChanged(net.minecraft.core.Direction side, boolean weak) Callback for neighbor tile changes, from same function in Block
-