Package net.minecraft.block
Class TranslucentBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TranslucentBlock
- Direct Known Subclasses:
GlassBlock,IceBlock,NetherPortalBlock
- Mappings:
Namespace Name intermediary net/minecraft/class_221glue class_240server ghclient jpnamed net/minecraft/block/TranslucentBlock
-
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
BED, BEDROCK, BLOCKS, BLOCKS_ALLOW_VISION, BLOCKS_IGNORE_META_UPDATE, BLOCKS_LIGHT_LUMINANCE, BLOCKS_LIGHT_OPACITY, BLOCKS_OPAQUE, BLOCKS_RANDOM_TICK, BLOCKS_WITH_ENTITY, BOOKSHELF, BRICKS, BROWN_MUSHROOM, BUTTON, CACTUS, CAKE, CHEST, CLAY, COAL_ORE, COBBLESTONE, COBBLESTONE_STAIRS, COBWEB, constructed, CRAFTING_TABLE, DANDELION, DEAD_BUSH, DEFAULT_SOUND_GROUP, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DIRT_SOUND_GROUP, DISPENSER, DOOR, DOUBLE_SLAB, FARMLAND, FENCE, FIRE, FLOWING_LAVA, FLOWING_WATER, FURNACE, GLASS, GLASS_SOUND_GROUP, GLOWSTONE, GOLD_BLOCK, GOLD_ORE, GRASS, GRASS_BLOCK, GRAVEL, GRAVEL_SOUND_GROUP, hardness, ICE, id, IRON_BLOCK, IRON_DOOR, IRON_ORE, JACK_O_LANTERN, JUKEBOX, LADDER, LAPIS_BLOCK, LAPIS_ORE, LAVA, LEAVES, LEVER, LIT_FURNACE, LIT_REDSTONE_ORE, LIT_REDSTONE_TORCH, LOCKED_CHEST, LOG, material, maxX, maxY, maxZ, METAL_SOUND_GROUP, minX, minY, minZ, MOSSY_COBBLESTONE, MOVING_PISTON, NETHER_PORTAL, NETHERRACK, NOTE_BLOCK, OBSIDIAN, particleFallSpeedModifier, PISTON, PISTON_HEAD, PLANKS, POWERED_RAIL, POWERED_REPEATER, PUMPKIN, RAIL, RED_MUSHROOM, REDSTONE_ORE, REDSTONE_TORCH, REDSTONE_WIRE, REPEATER, resistance, ROSE, SAND, SAND_SOUND_GROUP, SANDSTONE, SAPLING, shouldTrackStatistics, SIGN, SLAB, slipperiness, SNOW, SNOW_BLOCK, SOUL_SAND, soundGroup, SPAWNER, SPONGE, STICKY_PISTON, STONE, STONE_PRESSURE_PLATE, STONE_SOUND_GROUP, SUGAR_CANE, textureId, TNT, TORCH, TRAPDOOR, WALL_SIGN, WATER, WHEAT, WOOD_SOUND_GROUP, WOODEN_PRESSURE_PLATE, WOODEN_STAIRS, WOOL, WOOL_SOUND_GROUP -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTranslucentBlock(int id, int textureId, Material material, boolean transparent) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisOpaque()booleanisSideVisible(BlockView blockView, int x, int y, int z, int side) Methods inherited from class net.minecraft.block.Block
addIntersectingBoundingBox, afterBreak, applyVelocity, canEmitRedstonePower, canGrow, canPlaceAt, canPlaceAt, canTransferPowerInDirection, disableTrackingStatistics, dropStack, dropStacks, dropStacks, getBlastResistance, getBoundingBox, getCollisionShape, getColor, getColorMultiplier, getDroppedItemCount, getDroppedItemId, getDroppedItemMeta, getHardness, getHardness, getLuminance, getPistonBehavior, getRenderLayer, getRenderType, getTexture, getTexture, getTextureId, getTickRate, getTranslatedName, getTranslationKey, hasCollision, hasCollision, ignoreMetaUpdates, init, isEmittingRedstonePowerInDirection, isFullCube, isSolidFace, isTrackingStatistics, neighborUpdate, onBlockAction, onBlockBreakStart, onBreak, onDestroyedByExplosion, onEntityCollision, onMetadataChange, onPlaced, onPlaced, onPlaced, onSteppedOn, onTick, onUse, randomDisplayTick, raycast, setBoundingBox, setHardness, setLuminance, setOpacity, setResistance, setSoundGroup, setTickRandomly, setTranslationKey, setUnbreakable, setupRenderBoundingBox, updateBoundingBox
-
Field Details
-
transparent
private boolean transparent- Mappings:
Namespace Name Mixin selector intermediary field_843Lnet/minecraft/class_221;field_843:Zglue field_1041Lclass_240;field_1041:Zserver aLgh;a:Zclient aLjp;a:Znamed transparentLnet/minecraft/block/TranslucentBlock;transparent:Z
-
-
Constructor Details
-
TranslucentBlock
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_221;<init>(IILnet/minecraft/class_15;Z)Vglue <init>Lclass_240;<init>(IILclass_280;Z)Vserver <init>Lgh;<init>(IILhj;Z)Vclient <init>Ljp;<init>(IILln;Z)Vnamed <init>Lnet/minecraft/block/TranslucentBlock;<init>(IILnet/minecraft/block/material/Material;Z)V
-
-
Method Details
-
isOpaque
public boolean isOpaque() -
isSideVisible
@Environment(CLIENT) public boolean isSideVisible(BlockView blockView, int x, int y, int z, int side) - Overrides:
isSideVisiblein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1618Lnet/minecraft/class_17;method_1618(Lnet/minecraft/class_14;IIII)Zglue method_63Lclass_507;method_63(Lclass_584;IIII)Zserver method_1618Lna;method_1618(Lpb;IIII)Zclient bLuu;b(Lxp;IIII)Znamed isSideVisibleLnet/minecraft/block/Block;isSideVisible(Lnet/minecraft/world/BlockView;IIII)Z
-