Package codechicken.microblock.part.face
Class FaceMicroblockPart
java.lang.Object
codechicken.multipart.api.part.BaseMultipart
codechicken.microblock.part.MicroblockPart
codechicken.microblock.part.StandardMicroblockPart
codechicken.microblock.part.face.FaceMicroblockPart
- All Implemented Interfaces:
IMicroOcclusion,IMicroShrinkRender,FacePart,MultiPart,PartialOcclusionPart,SlottedPart
Created by covers1624 on 20/10/22.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final codechicken.lib.vec.Cuboid6[]static final net.minecraft.world.phys.shapes.VoxelShape[]Fields inherited from class codechicken.microblock.part.StandardMicroblockPart
renderBounds, renderMaskFields inherited from class codechicken.microblock.part.MicroblockPart
material, shape -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncodechicken.lib.vec.Cuboid6getRenderCuboids(boolean isInventory) net.minecraft.world.phys.shapes.VoxelShapegetShape(net.minecraft.world.phys.shapes.CollisionContext context) Maps toBlockBehaviour.getShape(BlockState, BlockGetter, BlockPos, CollisionContext).Methods inherited from class codechicken.microblock.part.StandardMicroblockPart
getItemFactoryId, getPartialOcclusionShape, getPriorityClass, getSlot, getSlotMask, occlusionTest, onAdded, onPartChanged, readUpdate, recalcBoundsMethods inherited from class codechicken.microblock.part.MicroblockPart
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, getCloneStack, getDrops, getExplosionResistance, getLightEmission, getMaterial, getShapeSlot, getSize, getStrength, getType, isTransparent, load, readDesc, save, sendShapeUpdate, setShape, writeDescMethods inherited from class codechicken.multipart.api.part.BaseMultipart
bind, hasTile, tileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface codechicken.multipart.api.part.FacePart
redstoneConductionMapMethods inherited from interface codechicken.microblock.part.IMicroOcclusion
getMaterial, getSizeMethods inherited from interface codechicken.microblock.part.IMicroShrinkRender
getSize, isTransparentMethods 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, 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, writeDescMethods inherited from interface codechicken.multipart.api.part.PartialOcclusionPart
allowCompleteOcclusionMethods inherited from interface codechicken.multipart.api.part.SlottedPart
getSlotMask
-
Field Details
-
aBounds
public static final codechicken.lib.vec.Cuboid6[] aBounds -
aShapes
public static final net.minecraft.world.phys.shapes.VoxelShape[] aShapes
-
-
Constructor Details
-
FaceMicroblockPart
-
-
Method Details
-
getBounds
public codechicken.lib.vec.Cuboid6 getBounds()- Specified by:
getBoundsin interfaceIMicroOcclusion- Specified by:
getBoundsin interfaceIMicroShrinkRender- Specified by:
getBoundsin classMicroblockPart
-
getShape
public net.minecraft.world.phys.shapes.VoxelShape getShape(net.minecraft.world.phys.shapes.CollisionContext context) Description copied from interface:MultiPartMaps toBlockBehaviour.getShape(BlockState, BlockGetter, BlockPos, CollisionContext).If this shape changes after initial placement, call
TileMultipart.markShapeChange(). -
getRenderCuboids
- Overrides:
getRenderCuboidsin classStandardMicroblockPart
-
getMicroFactory
- Specified by:
getMicroFactoryin classStandardMicroblockPart
-