Class TntBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TntBlock
All Implemented Interfaces:
Itemable

public class TntBlock extends Block
Mappings:
Namespace Name
official bij
intermediary net/minecraft/class_201
named net/minecraft/block/TntBlock
  • Field Details

    • field_18529

      public static final BooleanProperty field_18529
      Mappings:
      Namespace Name Mixin selector
      official a Lbij;a:Lbmb;
      intermediary field_18529 Lnet/minecraft/class_201;field_18529:Lnet/minecraft/class_2243;
      named field_18529 Lnet/minecraft/block/TntBlock;field_18529:Lnet/minecraft/state/property/BooleanProperty;
  • Constructor Details

    • TntBlock

      public TntBlock(Block.Builder settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbcs;<init>(Lbcs$c;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)V
      named <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_8668 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Lblc;)V
      intermediary method_8668 Lnet/minecraft/class_197;method_8668(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named method_8668 Lnet/minecraft/block/Block;method_8668(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • onBreak

      public void onBreak(BlockState state, World world, BlockPos arg3, Block block, BlockPos pos)
      Overrides:
      onBreak in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Lbcs;Lel;)V
      intermediary method_8641 Lnet/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;)V
      named onBreak Lnet/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_410 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;FI)V
      intermediary method_410 Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;FI)V
      named method_410 Lnet/minecraft/block/Block;method_410(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;FI)V
    • onBreakByPlayer

      public void onBreakByPlayer(World world, BlockPos pos, BlockState state, PlayerEntity player)
      Runs when the block is broken by a player.
      Overrides:
      onBreakByPlayer in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      player - The player who broke the block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxy;Lel;Lblc;Laog;)V
      intermediary method_8644 Lnet/minecraft/class_197;method_8644(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_988;)V
      named onBreakByPlayer Lnet/minecraft/block/Block;onBreakByPlayer(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
    • onDestroyedByExplosion

      public void onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)
      Overrides:
      onDestroyedByExplosion in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxy;Lel;Laxr;)V
      intermediary method_8639 Lnet/minecraft/class_197;method_8639(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1147;)V
      named onDestroyedByExplosion Lnet/minecraft/block/Block;onDestroyedByExplosion(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/explosion/Explosion;)V
    • method_16751

      public void method_16751(World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbij;a(Laxy;Lel;)V
      intermediary method_16751 Lnet/minecraft/class_201;method_16751(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)V
      named method_16751 Lnet/minecraft/block/TntBlock;method_16751(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • method_11639

      private void method_11639(World world, BlockPos blockPos, @Nullable LivingEntity livingEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbij;a(Laxy;Lel;Lafa;)V
      intermediary method_11639 Lnet/minecraft/class_201;method_11639(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1699;)V
      named method_11639 Lnet/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_421 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Laog;Ladk;Leq;FFF)Z
      intermediary method_421 Lnet/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)Z
      named method_421 Lnet/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

      public void method_416(BlockState blockState, World world, BlockPos blockPos, Entity entity)
      Overrides:
      method_416 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Laer;)V
      intermediary method_416 Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;)V
      named method_416 Lnet/minecraft/block/Block;method_416(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
    • shouldDropItemsOnExplosion

      public boolean shouldDropItemsOnExplosion(Explosion explosion)
      Returns whether the block should drop as an Item during an explosion.
      Overrides:
      shouldDropItemsOnExplosion in class Block
      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 a Lbcs;a(Laxr;)Z
      intermediary method_4184 Lnet/minecraft/class_197;method_4184(Lnet/minecraft/class_1147;)Z
      named shouldDropItemsOnExplosion Lnet/minecraft/block/Block;shouldDropItemsOnExplosion(Lnet/minecraft/world/explosion/Explosion;)Z
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lble$a;)V
      intermediary method_16576 Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V