Package net.minecraft.block
Class TntBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TntBlock
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official bijintermediary net/minecraft/class_201named net/minecraft/block/TntBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockSoundGroup, collidable, hardness, lightLevel, LOGGER, material, materialColor, randomTicks, stateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) private voidmethod_11639(World world, BlockPos blockPos, LivingEntity livingEntity) voidmethod_16751(World world, BlockPos blockPos) voidmethod_410(BlockState blockState, World world, BlockPos blockPos, float float2, int int2) voidmethod_416(BlockState blockState, World world, BlockPos blockPos, Entity entity) booleanmethod_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4) voidmethod_8668(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2) voidvoidonBreakByPlayer(World world, BlockPos pos, BlockState state, PlayerEntity player) Runs when the block is broken by a player.voidonDestroyedByExplosion(World world, BlockPos pos, Explosion explosion) booleanshouldDropItemsOnExplosion(Explosion explosion) Returns whether the block should drop as an Item during an explosion.Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canPlaceAtSide, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getBlockRenderType, getCollisionShape, getComparatorOutput, getDefaultState, getFluidState, getHardness, getItem, getLightSubtracted, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getOutlineShape, getPistonBehavior, getRawIdFromState, getRayTraceShape, getRenderingSeed, getRenderLayerType, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasCollision, hasRandomTicks, hasStats, isAir, isFaceFullSquare, isFullBoundsCubeForCulling, isShapeFullCube, isTranslucent, method_11562, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_13315, method_13703, method_13704, method_14307, method_14308, method_14309, method_16563, method_16564, method_16565, method_16566, method_16568, method_16569, method_16570, method_16572, method_16573, method_16575, method_16580, method_16582, method_16583, method_16584, method_16585, method_16586, method_16588, method_16592, method_16593, method_16596, method_16599, method_16600, method_397, method_400, method_403, method_414, method_420, method_435, method_8640, method_8650, method_8651, method_8653, method_8659, method_8661, method_8664, method_8669, method_8674, onBlockBreak, onLandedUpon, onPlaced, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, toString, withMirror, withRotation
-
Field Details
-
field_18529
- Mappings:
Namespace Name Mixin selector official aLbij;a:Lbmb;intermediary field_18529Lnet/minecraft/class_201;field_18529:Lnet/minecraft/class_2243;named field_18529Lnet/minecraft/block/TntBlock;field_18529:Lnet/minecraft/state/property/BooleanProperty;
-
-
Constructor Details
-
TntBlock
- Mappings:
Namespace Name Mixin selector official <init>Lbcs;<init>(Lbcs$c;)Vintermediary <init>Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)Vnamed <init>Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
-
-
Method Details
-
method_8668
public void method_8668(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2) - Overrides:
method_8668in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lblc;)Vintermediary method_8668Lnet/minecraft/class_197;method_8668(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed method_8668Lnet/minecraft/block/Block;method_8668(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
onBreak
- Overrides:
onBreakin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lbcs;Lel;)Vintermediary method_8641Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
method_410
public void method_410(BlockState blockState, World world, BlockPos blockPos, float float2, int int2) - Overrides:
method_410in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;FI)Vintermediary method_410Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;FI)Vnamed method_410Lnet/minecraft/block/Block;method_410(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;FI)V
-
onBreakByPlayer
Runs when the block is broken by a player.- Overrides:
onBreakByPlayerin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStateplayer- The player who broke the block- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxy;Lel;Lblc;Laog;)Vintermediary method_8644Lnet/minecraft/class_197;method_8644(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_988;)Vnamed onBreakByPlayerLnet/minecraft/block/Block;onBreakByPlayer(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
-
onDestroyedByExplosion
- Overrides:
onDestroyedByExplosionin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxy;Lel;Laxr;)Vintermediary method_8639Lnet/minecraft/class_197;method_8639(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1147;)Vnamed onDestroyedByExplosionLnet/minecraft/block/Block;onDestroyedByExplosion(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/explosion/Explosion;)V
-
method_16751
- Mappings:
Namespace Name Mixin selector official aLbij;a(Laxy;Lel;)Vintermediary method_16751Lnet/minecraft/class_201;method_16751(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed method_16751Lnet/minecraft/block/TntBlock;method_16751(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
method_11639
- Mappings:
Namespace Name Mixin selector official aLbij;a(Laxy;Lel;Lafa;)Vintermediary method_11639Lnet/minecraft/class_201;method_11639(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1699;)Vnamed method_11639Lnet/minecraft/block/TntBlock;method_11639(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/LivingEntity;)V
-
method_421
public boolean method_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4) - Overrides:
method_421in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Laog;Ladk;Leq;FFF)Zintermediary method_421Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Znamed method_421Lnet/minecraft/block/Block;method_421(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Z
-
method_416
- Overrides:
method_416in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Laer;)Vintermediary method_416Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;)Vnamed method_416Lnet/minecraft/block/Block;method_416(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/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 aLbcs;a(Laxr;)Zintermediary method_4184Lnet/minecraft/class_197;method_4184(Lnet/minecraft/class_1147;)Znamed shouldDropItemsOnExplosionLnet/minecraft/block/Block;shouldDropItemsOnExplosion(Lnet/minecraft/world/explosion/Explosion;)Z
-
appendProperties
- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lble$a;)Vintermediary method_16576Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-