Package net.minecraft.block
Class TntBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TntBlock
- Mappings:
Namespace Name official ammintermediary net/minecraft/class_201named net/minecraft/block/TntBlock
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoidbreakNaturally(World world, int x, int y, int z) intgetDropCount(Random rand) Returns the amount of items the block should drop on breaking without bonus rolls.getTexture(int side, int blockData) voidmethod_468(World world, int int2, int int3, int int4, Explosion explosion) booleanonActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4) voidonDestroyed(World world, int x, int y, int z, int blockData) voidonEntityCollision(World world, int x, int y, int z, Entity entity) voidonNeighborUpdate(World world, int x, int y, int z, Block block) voidonTntPrimed(World world, int int2, int int3, int int4, int int5, LivingEntity livingEntity) voidregisterTextures(TextureRegistry registry) booleanshouldDropItemsOnExplosion(Explosion explosion) Returns whether the block should drop as an Item during an explosion.Methods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, canPlaceBlockAt, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBlockType, getBonusDrops, getById, getCollisionBox, getColor, getHardness, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getPistonInteractionType, getSideTexture, getStrongRedstonePower, getTextureName, getTickRate, getTranslatedName, getTranslationKey, getWeakRedstonePower, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, hasTransperancy, 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_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_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onBreak, onTick, renderAsNormalBlock, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Field Details
-
top
- Mappings:
Namespace Name Mixin selector official aLamm;a:Lpr;intermediary field_5635Lnet/minecraft/class_201;field_5635:Lnet/minecraft/class_1557;named topLnet/minecraft/block/TntBlock;top:Lnet/minecraft/client/Texture;
-
bottom
- Mappings:
Namespace Name Mixin selector official bLamm;b:Lpr;intermediary field_5636Lnet/minecraft/class_201;field_5636:Lnet/minecraft/class_1557;named bottomLnet/minecraft/block/TntBlock;bottom:Lnet/minecraft/client/Texture;
-
-
Constructor Details
-
TntBlock
public TntBlock()
-
-
Method Details
-
getTexture
- Overrides:
getTexturein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(II)Lpr;intermediary method_395Lnet/minecraft/class_197;method_395(II)Lnet/minecraft/class_1557;named getTextureLnet/minecraft/block/Block;getTexture(II)Lnet/minecraft/client/Texture;
-
breakNaturally
- Overrides:
breakNaturallyin classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafm;III)Vintermediary method_460Lnet/minecraft/class_197;method_460(Lnet/minecraft/class_1150;III)Vnamed breakNaturallyLnet/minecraft/block/Block;breakNaturally(Lnet/minecraft/world/World;III)V
-
onNeighborUpdate
- Overrides:
onNeighborUpdatein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaht;)Vintermediary method_408Lnet/minecraft/class_197;method_408(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;)Vnamed onNeighborUpdateLnet/minecraft/block/Block;onNeighborUpdate(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;)V
-
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_468
- Overrides:
method_468in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILafh;)Vintermediary method_468Lnet/minecraft/class_197;method_468(Lnet/minecraft/class_1150;IIILnet/minecraft/class_1147;)Vnamed method_468Lnet/minecraft/block/Block;method_468(Lnet/minecraft/world/World;IIILnet/minecraft/world/explosion/Explosion;)V
-
onDestroyed
- Overrides:
onDestroyedin classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafm;IIII)Vintermediary method_451Lnet/minecraft/class_197;method_451(Lnet/minecraft/class_1150;IIII)Vnamed onDestroyedLnet/minecraft/block/Block;onDestroyed(Lnet/minecraft/world/World;IIII)V
-
onTntPrimed
public void onTntPrimed(World world, int int2, int int3, int int4, int int5, LivingEntity livingEntity) - Mappings:
Namespace Name Mixin selector official aLamm;a(Lafm;IIIILrg;)Vintermediary method_4799Lnet/minecraft/class_201;method_4799(Lnet/minecraft/class_1150;IIIILnet/minecraft/class_1699;)Vnamed onTntPrimedLnet/minecraft/block/TntBlock;onTntPrimed(Lnet/minecraft/world/World;IIIILnet/minecraft/entity/LivingEntity;)V
-
onActivated
public boolean onActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4) - Overrides:
onActivatedin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILxk;IFFF)Zintermediary method_421Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_1150;IIILnet/minecraft/class_988;IFFF)Znamed onActivatedLnet/minecraft/block/Block;onActivated(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;IFFF)Z
-
onEntityCollision
- Overrides:
onEntityCollisionin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILqm;)Vintermediary method_416Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_1150;IIILnet/minecraft/class_864;)Vnamed onEntityCollisionLnet/minecraft/block/Block;onEntityCollision(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;)V
-
shouldDropItemsOnExplosion
Returns whether the block should drop as an Item during an explosion.- Overrides:
shouldDropItemsOnExplosionin classBlock- Parameters:
explosion- The explosion that caused the block to break- Returns:
- Whether the block should drop as an item during an explosion
- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafh;)Zintermediary method_4184Lnet/minecraft/class_197;method_4184(Lnet/minecraft/class_1147;)Znamed shouldDropItemsOnExplosionLnet/minecraft/block/Block;shouldDropItemsOnExplosion(Lnet/minecraft/world/explosion/Explosion;)Z
-
registerTextures
- Overrides:
registerTexturesin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lps;)Vintermediary method_4791Lnet/minecraft/class_197;method_4791(Lnet/minecraft/class_1558;)Vnamed registerTexturesLnet/minecraft/block/Block;registerTextures(Lnet/minecraft/client/TextureRegistry;)V
-