Package net.minecraft.block
Class GlassBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TransparentBlock
net.minecraft.block.GlassBlock
- Mappings:
Namespace Name official ajqintermediary net/minecraft/class_140named net/minecraft/block/GlassBlock
-
Field Summary
Fields inherited from class net.minecraft.block.Block
blastResistance, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, field_469, field_483, field_484, field_486, field_487, field_6259, field_7261, field_7262, field_7263, field_7264, field_7265, field_7266, field_7267, field_7268, fullBlock, hardness, lightLevel, material, opacity, particleGravity, randomTicks, REGISTRY, side, slipperiness, soundGroup, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDropCount(Random rand) Returns the amount of items the block should drop on breaking without bonus rolls.intbooleanReturns whether the block can be rendered as a normal blockprotected booleanMethods inherited from class net.minecraft.block.TransparentBlock
hasTransperancy, registerTextures, shouldRenderSideMethods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, breakNaturally, canPlaceBlockAt, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBlockType, getBonusDrops, getById, getColor, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getPistonInteractionType, getSideTexture, getStrongRedstonePower, getTexture, getTextureName, getTickRate, getTranslatedName, getTranslationKey, getWeakRedstonePower, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_398, method_400, method_405, method_407, method_410, method_411, method_412, method_413, method_414, method_415, method_417, method_418, method_4185, method_4186, method_420, method_422, method_424, method_425, method_427, method_428, method_431, method_435, method_437, method_438, method_446, method_448, method_452, method_454, method_455, method_457, method_459, method_461, method_463, method_464, method_468, method_471, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onActivated, onBreak, onDestroyed, onEntityCollision, onNeighborUpdate, onTick, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, usesNeighbourLight
-
Constructor Details
-
GlassBlock
- Mappings:
Namespace Name Mixin selector official <init>Lajv;<init>(Lave;Z)Vintermediary <init>Lnet/minecraft/class_144;<init>(Lnet/minecraft/class_63;Z)Vnamed <init>Lnet/minecraft/block/TransparentBlock;<init>(Lnet/minecraft/block/Material;Z)V
-
-
Method Details
-
getDropCount
Returns the amount of items the block should drop on breaking without bonus rolls.- Overrides:
getDropCountin classBlock- Parameters:
rand- Random object- Returns:
- Amount of items to be dropped
- Mappings:
Namespace Name Mixin selector official aLaht;a(Ljava/util/Random;)Iintermediary method_403Lnet/minecraft/class_197;method_403(Ljava/util/Random;)Inamed getDropCountLnet/minecraft/block/Block;getDropCount(Ljava/util/Random;)I
-
method_479
- Overrides:
method_479in classBlock- Mappings:
Namespace Name Mixin selector official wLaht;w()Iintermediary method_479Lnet/minecraft/class_197;method_479()Inamed method_479Lnet/minecraft/block/Block;method_479()I
-
renderAsNormalBlock
public boolean renderAsNormalBlock()Returns whether the block can be rendered as a normal block- Overrides:
renderAsNormalBlockin classBlock- Returns:
- Whether the block can be rendered as a normal block
- Mappings:
Namespace Name Mixin selector official dLaht;d()Zintermediary method_441Lnet/minecraft/class_197;method_441()Znamed renderAsNormalBlockLnet/minecraft/block/Block;renderAsNormalBlock()Z
-
requiresSilkTouch
protected boolean requiresSilkTouch()- Overrides:
requiresSilkTouchin classBlock- Mappings:
Namespace Name Mixin selector official ELaht;E()Zintermediary method_475Lnet/minecraft/class_197;method_475()Znamed requiresSilkTouchLnet/minecraft/block/Block;requiresSilkTouch()Z
-