Class PlaceableItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.PlaceableItem

public class PlaceableItem extends Item
Mappings:
Namespace Name
official adw
intermediary net/minecraft/class_1097
named net/minecraft/item/PlaceableItem
  • Field Details

    • block

      private final Block block
      Mappings:
      Namespace Name Mixin selector
      official a Ladw;a:Lalu;
      intermediary field_6953 Lnet/minecraft/class_1097;field_6953:Lnet/minecraft/class_197;
      named block Lnet/minecraft/item/PlaceableItem;block:Lnet/minecraft/block/Block;
  • Constructor Details

    • PlaceableItem

      public PlaceableItem(Block block)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ladw;<init>(Lalu;)V
      intermediary <init> Lnet/minecraft/class_1097;<init>(Lnet/minecraft/class_197;)V
      named <init> Lnet/minecraft/item/PlaceableItem;<init>(Lnet/minecraft/block/Block;)V
  • Method Details

    • use

      public ActionResult use(PlayerEntity player, World world, BlockPos pos, Hand hand, Direction direction, float x, float y, float z)
      Overrides:
      use in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a(Laay;Lajs;Lco;Lri;Lcv;FFF)Lrk;
      intermediary method_3355 Lnet/minecraft/class_1069;method_3355(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Lnet/minecraft/class_2962;
      named use Lnet/minecraft/item/Item;use(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Lnet/minecraft/util/ActionResult;