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, class_3066, 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 alo
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> Lalu;<init>(Lazs;)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> Lalu;<init>(Lazs;Lazt;)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 Lalo;a(Lajs;Lco;Lcv;)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 Lalo;b(Lajs;Lco;)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 Lalu;a(Latl;)Laqf;
      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 Lalu;b(Lajs;Lco;Latl;)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_8651

      public void method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)
      Overrides:
      method_8651 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(Lajs;Laay;Lco;Latl;Lasc;Lafj;)V
      intermediary method_8651 Lnet/minecraft/class_197;method_8651(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_226;Lnet/minecraft/class_1071;)V
      named method_8651 Lnet/minecraft/block/Block;method_8651(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/item/ItemStack;)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 Lalu;a(Latl;Lajs;Lco;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