Class BlockWithEntity

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
All Implemented Interfaces:
BlockEntityProvider
Direct Known Subclasses:
AbstractSignBlock, BannerBlock, BeaconBlock, BrewingStandBlock, ChestBlock, CommandBlock, DaylightDetectorBlock, DispenserBlock, EnchantingTableBlock, EnderChestBlock, EndGatewayBlock, EndPortalBlock, FlowerPotBlock, FurnaceBlock, HopperBlock, JukeboxBlock, MobSpawnerBlock, NoteBlock, PistonExtensionBlock, SkeletonSkullBlock, StructureBlock

public abstract class BlockWithEntity extends Block implements BlockEntityProvider
Mappings:
Namespace Name
official ajn
intermediary net/minecraft/class_133
named net/minecraft/block/BlockWithEntity
  • Constructor Details

    • BlockWithEntity

      protected BlockWithEntity(Material material)
      Parameters:
      material - The block's material
      Mappings:
      Namespace Name Mixin selector
      official <init> Lajt;<init>(Laxe;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_63;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Material;)V
    • BlockWithEntity

      protected BlockWithEntity(Material material, MaterialColor color)
      Parameters:
      material - The block's material
      color - The block's material color
      Mappings:
      Namespace Name Mixin selector
      official <init> Lajt;<init>(Laxe;Laxf;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_63;Lnet/minecraft/class_65;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Material;Lnet/minecraft/block/MaterialColor;)V
  • Method Details

    • method_8602

      protected boolean method_8602(World world, BlockPos blockPos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lajn;a(Laht;Lcl;Lcs;)Z
      intermediary method_8602 Lnet/minecraft/class_133;method_8602(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Z
      named method_8602 Lnet/minecraft/block/BlockWithEntity;method_8602(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • method_8603

      protected boolean method_8603(World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official b Lajn;b(Laht;Lcl;)Z
      intermediary method_8603 Lnet/minecraft/class_133;method_8603(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Z
      named method_8603 Lnet/minecraft/block/BlockWithEntity;method_8603(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
    • getBlockRenderType

      public BlockRenderType getBlockRenderType(BlockState state)
      Overrides:
      getBlockRenderType in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lajt;a(Lard;)Laob;
      intermediary method_11552 Lnet/minecraft/class_197;method_11552(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2733;
      named getBlockRenderType Lnet/minecraft/block/Block;getBlockRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
    • onBreaking

      public void onBreaking(World world, BlockPos pos, BlockState state)
      Runs when the block is removed (by an entity or explosion).
      Overrides:
      onBreaking in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      Mappings:
      Namespace Name Mixin selector
      official b Lajt;b(Laht;Lcl;Lard;)V
      intermediary method_8659 Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named onBreaking Lnet/minecraft/block/Block;onBreaking(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • method_435

      public boolean method_435(BlockState blockState, World world, BlockPos blockPos, int int2, int int3)
      Overrides:
      method_435 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lajt;a(Lard;Laht;Lcl;II)Z
      intermediary method_435 Lnet/minecraft/class_197;method_435(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;II)Z
      named method_435 Lnet/minecraft/block/Block;method_435(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;II)Z