Interface InteractibleSlotContainer

All Known Implementing Classes:
ChiseledBookshelfBlock, ShelfBlock

public interface InteractibleSlotContainer
Mappings:
Namespace Name
named net/minecraft/block/InteractibleSlotContainer
intermediary net/minecraft/class_11585
official ecf
  • Method Details

    • getRows

      int getRows()
      Mappings:
      Namespace Name Mixin selector
      named getRows Lnet/minecraft/block/InteractibleSlotContainer;getRows()I
      intermediary method_72586 Lnet/minecraft/class_11585;method_72586()I
      official b Lecf;b()I
    • getColumns

      int getColumns()
      Mappings:
      Namespace Name Mixin selector
      named getColumns Lnet/minecraft/block/InteractibleSlotContainer;getColumns()I
      intermediary method_72587 Lnet/minecraft/class_11585;method_72587()I
      official c Lecf;c()I
    • getHitSlot

      default OptionalInt getHitSlot(BlockHitResult hitResult, Direction facing)
      Mappings:
      Namespace Name Mixin selector
      named getHitSlot Lnet/minecraft/block/InteractibleSlotContainer;getHitSlot(Lnet/minecraft/util/hit/BlockHitResult;Lnet/minecraft/util/math/Direction;)Ljava/util/OptionalInt;
      intermediary method_72611 Lnet/minecraft/class_11585;method_72611(Lnet/minecraft/class_3965;Lnet/minecraft/class_2350;)Ljava/util/OptionalInt;
      official a Lecf;a(Lfod;Ljg;)Ljava/util/OptionalInt;
    • getHitPosOnFront

      private static Optional<Vec2f> getHitPosOnFront(BlockHitResult hitResult, Direction facing)
      Mappings:
      Namespace Name Mixin selector
      named getHitPosOnFront Lnet/minecraft/block/InteractibleSlotContainer;getHitPosOnFront(Lnet/minecraft/util/hit/BlockHitResult;Lnet/minecraft/util/math/Direction;)Ljava/util/Optional;
      intermediary method_72613 Lnet/minecraft/class_11585;method_72613(Lnet/minecraft/class_3965;Lnet/minecraft/class_2350;)Ljava/util/Optional;
      official b Lecf;b(Lfod;Ljg;)Ljava/util/Optional;
    • getSlotAlongAxis

      private static int getSlotAlongAxis(float pos, int max)
      Mappings:
      Namespace Name Mixin selector
      named getSlotAlongAxis Lnet/minecraft/block/InteractibleSlotContainer;getSlotAlongAxis(FI)I
      intermediary method_72610 Lnet/minecraft/class_11585;method_72610(FI)I
      official a Lecf;a(FI)I