Class FletchingTableBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class FletchingTableBlock extends CraftingTableBlock
Mappings:
Namespace Name
official cwb
intermediary net/minecraft/class_3712
named net/minecraft/block/FletchingTableBlock
  • Field Details

    • field_46353

      public static final com.mojang.serialization.MapCodec<FletchingTableBlock> field_46353
      Mappings:
      Namespace Name Mixin selector
      official b Lcwb;b:Lcom/mojang/serialization/MapCodec;
      intermediary field_46353 Lnet/minecraft/class_3712;field_46353:Lcom/mojang/serialization/MapCodec;
      named field_46353 Lnet/minecraft/block/FletchingTableBlock;field_46353:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • FletchingTableBlock

      protected FletchingTableBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldfc;<init>(Ldfc$d;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • method_53969

      public com.mojang.serialization.MapCodec<FletchingTableBlock> method_53969()
      Overrides:
      method_53969 in class CraftingTableBlock
      Mappings:
      Namespace Name Mixin selector
      official a Ldfc;a()Lcom/mojang/serialization/MapCodec;
      intermediary method_53969 Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
      named method_53969 Lnet/minecraft/block/AbstractBlock;method_53969()Lcom/mojang/serialization/MapCodec;
    • onUse

      public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
      Called when this block is used by a player. This, by default, is bound to using the right mouse button.

      This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using world.isClient().

      If the action result is successful on a logical client, then the action will be sent to the logical server for processing.

      Overrides:
      onUse in class CraftingTableBlock
      Returns:
      an action result that specifies if using the block was successful.
      Mappings:
      Namespace Name Mixin selector
      official a Ldfc;a(Ldfd;Lcqb;Lgw;Lcca;Lbhd;Lehd;)Lbhe;
      intermediary method_9534 Lnet/minecraft/class_4970;method_9534(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269;
      named onUse Lnet/minecraft/block/AbstractBlock;onUse(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;