Class OperatorOnlyBlockItem

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class OperatorOnlyBlockItem extends BlockItem
Mappings:
Namespace Name
official cio
intermediary net/minecraft/class_1788
named net/minecraft/item/OperatorOnlyBlockItem
  • Constructor Details

    • OperatorOnlyBlockItem

      public OperatorOnlyBlockItem(Block block, Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcgy;<init>(Lcsv;Lcja$a;)V
      intermediary <init> Lnet/minecraft/class_1747;<init>(Lnet/minecraft/class_2248;Lnet/minecraft/class_1792$class_1793;)V
      named <init> Lnet/minecraft/item/BlockItem;<init>(Lnet/minecraft/block/Block;Lnet/minecraft/item/Item$Settings;)V
  • Method Details

    • getPlacementState

      @Nullable protected @Nullable BlockState getPlacementState(ItemPlacementContext context)
      Overrides:
      getPlacementState in class BlockItem
      Mappings:
      Namespace Name Mixin selector
      official c Lcgy;c(Lcln;)Ldfj;
      intermediary method_7707 Lnet/minecraft/class_1747;method_7707(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
      named getPlacementState Lnet/minecraft/item/BlockItem;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;