Package net.minecraft.block
Interface InteractibleSlotContainer
- All Known Implementing Classes:
ChiseledBookshelfBlock,ShelfBlock
public interface InteractibleSlotContainer
- Mappings:
Namespace Name named net/minecraft/block/InteractibleSlotContainerintermediary net/minecraft/class_11585official ecf
-
Method Summary
Modifier and TypeMethodDescriptionintgetHitPosOnFront(BlockHitResult hitResult, Direction facing) default OptionalIntgetHitSlot(BlockHitResult hitResult, Direction facing) intgetRows()private static intgetSlotAlongAxis(float pos, int max)
-
Method Details
-
getRows
int getRows()- Mappings:
Namespace Name Mixin selector named getRowsLnet/minecraft/block/InteractibleSlotContainer;getRows()Iintermediary method_72586Lnet/minecraft/class_11585;method_72586()Iofficial bLecf;b()I
-
getColumns
int getColumns()- Mappings:
Namespace Name Mixin selector named getColumnsLnet/minecraft/block/InteractibleSlotContainer;getColumns()Iintermediary method_72587Lnet/minecraft/class_11585;method_72587()Iofficial cLecf;c()I
-
getHitSlot
- Mappings:
Namespace Name Mixin selector named getHitSlotLnet/minecraft/block/InteractibleSlotContainer;getHitSlot(Lnet/minecraft/util/hit/BlockHitResult;Lnet/minecraft/util/math/Direction;)Ljava/util/OptionalInt;intermediary method_72611Lnet/minecraft/class_11585;method_72611(Lnet/minecraft/class_3965;Lnet/minecraft/class_2350;)Ljava/util/OptionalInt;official aLecf;a(Lfod;Ljg;)Ljava/util/OptionalInt;
-
getHitPosOnFront
- Mappings:
Namespace Name Mixin selector named getHitPosOnFrontLnet/minecraft/block/InteractibleSlotContainer;getHitPosOnFront(Lnet/minecraft/util/hit/BlockHitResult;Lnet/minecraft/util/math/Direction;)Ljava/util/Optional;intermediary method_72613Lnet/minecraft/class_11585;method_72613(Lnet/minecraft/class_3965;Lnet/minecraft/class_2350;)Ljava/util/Optional;official bLecf;b(Lfod;Ljg;)Ljava/util/Optional;
-
getSlotAlongAxis
private static int getSlotAlongAxis(float pos, int max) - Mappings:
Namespace Name Mixin selector named getSlotAlongAxisLnet/minecraft/block/InteractibleSlotContainer;getSlotAlongAxis(FI)Iintermediary method_72610Lnet/minecraft/class_11585;method_72610(FI)Iofficial aLecf;a(FI)I
-