Class OperatorOnlyBlockItem

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

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

    • OperatorOnlyBlockItem

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

    • getPlacementState

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