Package net.minecraft.component.type
Class BundleContentsComponent.Builder
java.lang.Object
net.minecraft.component.type.BundleContentsComponent.Builder
- Enclosing class:
 BundleContentsComponent
- Mappings:
 Namespace Name named net/minecraft/component/type/BundleContentsComponent$Builderintermediary net/minecraft/class_9276$class_9277official dey$a
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintintadd(Slot slot, PlayerEntity player) build()clear()private intgetInsertionIndex(ItemStack stack) private intgetMaxAllowed(ItemStack stack) private booleanisOutOfBounds(int index) voidsetSelectedStackIndex(int selectedStackIndex)  
- 
Field Details
- 
stacks
- Mappings:
 Namespace Name Mixin selector named stacksLnet/minecraft/component/type/BundleContentsComponent$Builder;stacks:Ljava/util/List;intermediary field_49296Lnet/minecraft/class_9276$class_9277;field_49296:Ljava/util/List;official aLdey$a;a:Ljava/util/List;
 - 
occupancy
- Mappings:
 Namespace Name Mixin selector named occupancyLnet/minecraft/component/type/BundleContentsComponent$Builder;occupancy:Lorg/apache/commons/lang3/math/Fraction;intermediary field_49297Lnet/minecraft/class_9276$class_9277;field_49297:Lorg/apache/commons/lang3/math/Fraction;official bLdey$a;b:Lorg/apache/commons/lang3/math/Fraction;
 - 
selectedStackIndex
private int selectedStackIndex- Mappings:
 Namespace Name Mixin selector named selectedStackIndexLnet/minecraft/component/type/BundleContentsComponent$Builder;selectedStackIndex:Iintermediary field_52593Lnet/minecraft/class_9276$class_9277;field_52593:Iofficial cLdey$a;c:I
 
 - 
 - 
Constructor Details
- 
Builder
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/component/type/BundleContentsComponent$Builder;<init>(Lnet/minecraft/component/type/BundleContentsComponent;)Vintermediary <init>Lnet/minecraft/class_9276$class_9277;<init>(Lnet/minecraft/class_9276;)Vofficial <init>Ldey$a;<init>(Ldey;)V
 
 - 
 - 
Method Details
- 
clear
- Mappings:
 Namespace Name Mixin selector named clearLnet/minecraft/component/type/BundleContentsComponent$Builder;clear()Lnet/minecraft/component/type/BundleContentsComponent$Builder;intermediary method_59709Lnet/minecraft/class_9276$class_9277;method_59709()Lnet/minecraft/class_9276$class_9277;official aLdey$a;a()Ldey$a;
 - 
getInsertionIndex
- Mappings:
 Namespace Name Mixin selector named getInsertionIndexLnet/minecraft/component/type/BundleContentsComponent$Builder;getInsertionIndex(Lnet/minecraft/item/ItemStack;)Iintermediary method_57434Lnet/minecraft/class_9276$class_9277;method_57434(Lnet/minecraft/class_1799;)Iofficial bLdey$a;b(Ldcv;)I
 - 
getMaxAllowed
- Mappings:
 Namespace Name Mixin selector named getMaxAllowedLnet/minecraft/component/type/BundleContentsComponent$Builder;getMaxAllowed(Lnet/minecraft/item/ItemStack;)Iintermediary method_57436Lnet/minecraft/class_9276$class_9277;method_57436(Lnet/minecraft/class_1799;)Iofficial cLdey$a;c(Ldcv;)I
 - 
add
- Mappings:
 Namespace Name Mixin selector named addLnet/minecraft/component/type/BundleContentsComponent$Builder;add(Lnet/minecraft/item/ItemStack;)Iintermediary method_57432Lnet/minecraft/class_9276$class_9277;method_57432(Lnet/minecraft/class_1799;)Iofficial aLdey$a;a(Ldcv;)I
 - 
add
- Mappings:
 Namespace Name Mixin selector named addLnet/minecraft/component/type/BundleContentsComponent$Builder;add(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/entity/player/PlayerEntity;)Iintermediary method_57431Lnet/minecraft/class_9276$class_9277;method_57431(Lnet/minecraft/class_1735;Lnet/minecraft/class_1657;)Iofficial aLdey$a;a(Ldak;Lcut;)I
 - 
setSelectedStackIndex
public void setSelectedStackIndex(int selectedStackIndex) - Mappings:
 Namespace Name Mixin selector named setSelectedStackIndexLnet/minecraft/component/type/BundleContentsComponent$Builder;setSelectedStackIndex(I)Vintermediary method_64662Lnet/minecraft/class_9276$class_9277;method_64662(I)Vofficial aLdey$a;a(I)V
 - 
isOutOfBounds
private boolean isOutOfBounds(int index) - Mappings:
 Namespace Name Mixin selector named isOutOfBoundsLnet/minecraft/component/type/BundleContentsComponent$Builder;isOutOfBounds(I)Zintermediary method_66335Lnet/minecraft/class_9276$class_9277;method_66335(I)Zofficial bLdey$a;b(I)Z
 - 
removeSelected
- Mappings:
 Namespace Name Mixin selector named removeSelectedLnet/minecraft/component/type/BundleContentsComponent$Builder;removeSelected()Lnet/minecraft/item/ItemStack;intermediary method_57430Lnet/minecraft/class_9276$class_9277;method_57430()Lnet/minecraft/class_1799;official bLdey$a;b()Ldcv;
 - 
getOccupancy
- Mappings:
 Namespace Name Mixin selector named getOccupancyLnet/minecraft/component/type/BundleContentsComponent$Builder;getOccupancy()Lorg/apache/commons/lang3/math/Fraction;intermediary method_57433Lnet/minecraft/class_9276$class_9277;method_57433()Lorg/apache/commons/lang3/math/Fraction;official cLdey$a;c()Lorg/apache/commons/lang3/math/Fraction;
 - 
build
- Mappings:
 Namespace Name Mixin selector named buildLnet/minecraft/component/type/BundleContentsComponent$Builder;build()Lnet/minecraft/component/type/BundleContentsComponent;intermediary method_57435Lnet/minecraft/class_9276$class_9277;method_57435()Lnet/minecraft/class_9276;official dLdey$a;d()Ldey;
 
 -