Package net.minecraft.block
Class Tnt
java.lang.Object
net.minecraft.block.BlockBase
net.minecraft.block.Tnt
- Mappings:
Namespace Name intermediary net/minecraft/class_132glue class_17server tclient ahnamed net/minecraft/block/Tnt
-
Field Summary
Fields inherited from class net.minecraft.block.BlockBase
ALLOWS_GRASS_UNDER, BED, BEDROCK, BOOKSHELF, BRICKS, BROWN_MUSHROOM, BUTTON, BY_ID, CACTUS, CAKE, CHEST, CLAY, COAL_ORE, COBBLESTONE, COBBLESTONE_STAIRS, COBWEB, CROPS, DANDELION, DEADBUSH, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DISPENSER, DOUBLE_STONE_SLAB, EMITTANCE, FARMLAND, FENCE, FIRE, FLOWING_LAVA, FLOWING_WATER, FULL_OPAQUE, FURNACE, FURNACE_LIT, GLASS, GLASS_SOUNDS, GLOWSTONE, GOLD_BLOCK, GOLD_ORE, GOLDEN_RAIL, GRASS, GRASS_SOUNDS, GRAVEL, GRAVEL_SOUNDS, hardness, HAS_TILE_ENTITY, ICE, id, IRON_BLOCK, IRON_DOOR, IRON_ORE, isStatEnabled, JACK_O_LANTERN, JUKEBOX, LADDER, LAPIS_LAZULI_BLOCK, LAPIS_LAZULI_ORE, LEAVES, LEVER, LIGHT_OPACITY, LOCKED_CHEST, LOG, material, maxX, maxY, maxZ, METAL_SOUNDS, minX, minY, minZ, MOB_SPAWNER, MOSSY_COBBLESTONE, MOVING_PISTON, NETHERRACK, NO_NOTIFY_ON_META_CHANGE, NOTEBLOCK, OBSIDIAN, particalSpeed, PISTON, PISTON_HEAD, PISTON_SOUNDS, PORTAL, PUMPKIN, RAIL, RED_MUSHROOM, REDSTONE_DUST, REDSTONE_ORE, REDSTONE_ORE_LIT, REDSTONE_REPEATER, REDSTONE_REPEATER_LIT, REDSTONE_TORCH, REDSTONE_TORCH_LIT, resistance, ROSE, SAND, SAND_SOUNDS, SANDSTONE, SAPLING, slipperiness, SNOW, SNOW_BLOCK, SOUL_SAND, sounds, SPONGE, STANDING_SIGN, STICKY_PISTON, STILL_LAVA, STILL_WATER, STONE, STONE_PRESSURE_PLATE, STONE_SLAB, STONE_SOUNDS, SUGAR_CANES, TALLGRASS, texture, TICKS_RANDOMLY, TNT, TORCH, TRAPDOOR, unusedBoolean1, WALL_SIGN, WOOD, WOOD_DOOR, WOOD_SOUNDS, WOOD_STAIRS, WOODEN_PRESSURE_PLATE, WOOL, WOOL_SOUNDS, WORKBENCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidactivate(Level level, int x, int y, int z, PlayerBase player) booleancanUse(Level level, int x, int y, int z, PlayerBase player) intgetDropCount(Random rand) intgetTextureForSide(int side) voidonAdjacentBlockUpdate(Level level, int x, int y, int z, int id) voidonBlockPlaced(Level level, int x, int y, int z) voidonDestroyedByExplosion(Level level, int x, int y, int z) Methods inherited from class net.minecraft.block.BlockBase
afterBreak, afterPlaced, beforeDestroyedByExplosion, canGrow, canPlaceAt, canPlaceAt, disableNotifyOnMetaDataChange, disableStat, doesBoxCollide, drop, drop, droppedMeta, getBaseColour, getBlastResistance, getBrightness, getCollisionShape, getColourMultiplier, getDropId, getEmitsRedstonePower, getHardness, getHardness, getOutlineShape, getPistonPushMode, getRenderPass, getRenderType, getTextureForSide, getTextureForSide, getTickrate, getTranslatedName, getTranslationKey, indirectlyPowered, init, isCollidable, isCollidable, isFullCube, isFullOpaque, isPowered, isSideRendered, isSolid, isStatEnabled, method_1564, method_1605, onBlockPlaced, onBlockRemoved, onCollideWithEntity, onEntityCollision, onScheduledTick, onSteppedOn, onTileAction, randomDisplayTick, setBlastResistance, setBoundingBox, setHardness, setLightEmittance, setLightOpacity, setSounds, setTicksRandomly, setTranslationKey, setUnbreakable, updateBoundingBox
-
Constructor Details
-
Tnt
public Tnt(int id, int texture) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_132;<init>(II)Vglue <init>Lclass_17;<init>(II)Vserver <init>Lt;<init>(II)Vclient <init>Lah;<init>(II)Vnamed <init>Lnet/minecraft/block/Tnt;<init>(II)V
-
-
Method Details
-
getTextureForSide
public int getTextureForSide(int side) - Overrides:
getTextureForSidein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1607Lnet/minecraft/class_17;method_1607(I)Iglue method_37Lclass_507;method_37(I)Iserver aLna;a(I)Iclient aLuu;a(I)Inamed getTextureForSideLnet/minecraft/block/BlockBase;getTextureForSide(I)I
-
onBlockPlaced
- Overrides:
onBlockPlacedin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1611Lnet/minecraft/class_17;method_1611(Lnet/minecraft/class_18;III)Vglue method_41Lclass_507;method_41(Lclass_129;III)Vserver cLna;c(Ldj;III)Vclient cLuu;c(Lfd;III)Vnamed onBlockPlacedLnet/minecraft/block/BlockBase;onBlockPlaced(Lnet/minecraft/level/Level;III)V
-
onAdjacentBlockUpdate
- Overrides:
onAdjacentBlockUpdatein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1609Lnet/minecraft/class_17;method_1609(Lnet/minecraft/class_18;IIII)Vglue method_39Lclass_507;method_39(Lclass_129;IIII)Vserver bLna;b(Ldj;IIII)Vclient bLuu;b(Lfd;IIII)Vnamed onAdjacentBlockUpdateLnet/minecraft/block/BlockBase;onAdjacentBlockUpdate(Lnet/minecraft/level/Level;IIII)V
-
getDropCount
- Overrides:
getDropCountin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1603Lnet/minecraft/class_17;method_1603(Ljava/util/Random;)Iglue method_21Lclass_507;method_21(Ljava/util/Random;)Iserver aLna;a(Ljava/util/Random;)Iclient aLuu;a(Ljava/util/Random;)Inamed getDropCountLnet/minecraft/block/BlockBase;getDropCount(Ljava/util/Random;)I
-
onDestroyedByExplosion
- Overrides:
onDestroyedByExplosionin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1613Lnet/minecraft/class_17;method_1613(Lnet/minecraft/class_18;III)Vglue method_43Lclass_507;method_43(Lclass_129;III)Vserver dLna;d(Ldj;III)Vclient dLuu;d(Lfd;III)Vnamed onDestroyedByExplosionLnet/minecraft/block/BlockBase;onDestroyedByExplosion(Lnet/minecraft/level/Level;III)V
-
activate
- Overrides:
activatein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1612Lnet/minecraft/class_17;method_1612(Lnet/minecraft/class_18;IIII)Vglue method_42Lclass_507;method_42(Lclass_129;IIII)Vserver cLna;c(Ldj;IIII)Vclient cLuu;c(Lfd;IIII)Vnamed activateLnet/minecraft/block/BlockBase;activate(Lnet/minecraft/level/Level;IIII)V
-
activate
- Overrides:
activatein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1610Lnet/minecraft/class_17;method_1610(Lnet/minecraft/class_18;IIILnet/minecraft/class_54;)Vglue method_40Lclass_507;method_40(Lclass_129;IIILclass_172;)Vserver bLna;b(Ldj;IIILem;)Vclient bLuu;b(Lfd;IIILgs;)Vnamed activateLnet/minecraft/block/BlockBase;activate(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/player/PlayerBase;)V
-
canUse
- Overrides:
canUsein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1608Lnet/minecraft/class_17;method_1608(Lnet/minecraft/class_18;IIILnet/minecraft/class_54;)Zglue method_38Lclass_507;method_38(Lclass_129;IIILclass_172;)Zserver aLna;a(Ldj;IIILem;)Zclient aLuu;a(Lfd;IIILgs;)Znamed canUseLnet/minecraft/block/BlockBase;canUse(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/player/PlayerBase;)Z
-