Package net.minecraft.block
Class BaseLeavesBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.BaseLeavesBlock
- Direct Known Subclasses:
LeavesBlock
- Mappings:
Namespace Name official bbointermediary net/minecraft/class_204named net/minecraft/block/BaseLeavesBlock
-
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, field_483, field_484, field_486, field_487, field_7261, field_7262, field_7263, field_7264, field_7265, field_7266, field_7267, field_7268, field_9285, fullBlock, hardness, lightLevel, material, opacity, particleGravity, randomTicks, REGISTRY, slipperiness, soundGroup, stateManager, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisSideInvisible(BlockView view, BlockPos pos, Direction facing) Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks.Methods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendItemStacks, appendProperties, areBlocksEqual, blocksMovement, calcBlockBreakingData, canBePlacedAdjacent, canBePlacedAtPos, canBeReplaced, canCollide, createStackFromBlock, disableStats, dropAsItem, dropExperience, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlendColor, getBlockColor, getBlockFromItem, getBlockState, getBlockType, getBonusDrops, getBrightness, getByBlockState, getById, getCollisionBox, getColor, getColor, getComparatorOutput, getData, getDefaultState, getDropCount, getDropItem, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaterialColor, getMaxX, getMaxY, getMaxZ, getMeta, getMeta, getMinX, getMinY, getMinZ, getOpacity, getPickItem, getPistonInteractionType, getRenderLayerType, getSelectionBox, getStateFromData, getStateFromRawId, getStateManager, getStrength, getStrongRedstonePower, getTickRate, getTranslatedName, getTranslationKey, getWeakRedstonePower, harvest, hasBlockEntity, hasCollision, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isLeafBlock, isNormalBlock, isReplaceable, isTransluscent, method_414, method_8634, method_8666, neighborUpdate, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreakByPlayer, onBreaking, onCreation, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onEvent, onLandedUpon, onPlaced, onSteppedOn, onUpdateTick, onUse, rainTick, randomDisplayTick, randomDropAsItem, renderAsNormalBlock, requiresSilkTouch, scheduledTick, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setBoundingBox, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, stateFromData, ticksRandomly, usesNeighbourLight
-
Field Details
-
fancyGraphics
protected boolean fancyGraphics- Mappings:
Namespace Name Mixin selector official QLbbo;Q:Zintermediary field_509Lnet/minecraft/class_204;field_509:Znamed fancyGraphicsLnet/minecraft/block/BaseLeavesBlock;fancyGraphics:Z
-
-
Constructor Details
-
BaseLeavesBlock
- Mappings:
Namespace Name Mixin selector official <init>Lbbo;<init>(Lbof;Z)Vintermediary <init>Lnet/minecraft/class_204;<init>(Lnet/minecraft/class_63;Z)Vnamed <init>Lnet/minecraft/block/BaseLeavesBlock;<init>(Lnet/minecraft/block/Material;Z)V
-
-
Method Details
-
hasTransperancy
public boolean hasTransperancy()- Overrides:
hasTransperancyin classBlock- Mappings:
Namespace Name Mixin selector official cLatr;c()Zintermediary method_449Lnet/minecraft/class_197;method_449()Znamed hasTransperancyLnet/minecraft/block/Block;hasTransperancy()Z
-
isSideInvisible
Returns whether the current block has connected sides, i.e its side faces are invisible when covered by other blocks. Used by glass to prevent the white dots from appearing everywhere through adjacent glass blocks.- Overrides:
isSideInvisiblein classBlock- Parameters:
view- BlockView instancepos- The current block's positionfacing- The direction the block is facing- Returns:
- Whether the current block has connected sides
- Mappings:
Namespace Name Mixin selector official aLatr;a(Lard;Ldt;Lej;)Zintermediary method_8654Lnet/minecraft/class_197;method_8654(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Znamed isSideInvisibleLnet/minecraft/block/Block;isSideInvisible(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-