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$Builder- intermediary - net/minecraft/class_9276$class_9277- official - cyu$a
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintintadd(Slot slot, PlayerEntity player) build()clear()private intgetInsertionIndex(ItemStack stack) private intgetMaxAllowed(ItemStack stack) voidsetSelectedStackIndex(int selectedStackIndex) 
- 
Field Details- 
stacks- Mappings:
- Namespace - Name - Mixin selector - named - stacks- Lnet/minecraft/component/type/BundleContentsComponent$Builder;stacks:Ljava/util/List;- intermediary - field_49296- Lnet/minecraft/class_9276$class_9277;field_49296:Ljava/util/List;- official - a- Lcyu$a;a:Ljava/util/List;
 
- 
occupancy- Mappings:
- Namespace - Name - Mixin selector - named - occupancy- Lnet/minecraft/component/type/BundleContentsComponent$Builder;occupancy:Lorg/apache/commons/lang3/math/Fraction;- intermediary - field_49297- Lnet/minecraft/class_9276$class_9277;field_49297:Lorg/apache/commons/lang3/math/Fraction;- official - b- Lcyu$a;b:Lorg/apache/commons/lang3/math/Fraction;
 
- 
selectedStackIndexprivate int selectedStackIndex- Mappings:
- Namespace - Name - Mixin selector - named - selectedStackIndex- Lnet/minecraft/component/type/BundleContentsComponent$Builder;selectedStackIndex:I- intermediary - field_52593- Lnet/minecraft/class_9276$class_9277;field_52593:I- official - c- Lcyu$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;)V- intermediary - <init>- Lnet/minecraft/class_9276$class_9277;<init>(Lnet/minecraft/class_9276;)V- official - <init>- Lcyu$a;<init>(Lcyu;)V
 
 
- 
- 
Method Details- 
clear- Mappings:
- Namespace - Name - Mixin selector - named - clear- Lnet/minecraft/component/type/BundleContentsComponent$Builder;clear()Lnet/minecraft/component/type/BundleContentsComponent$Builder;- intermediary - method_59709- Lnet/minecraft/class_9276$class_9277;method_59709()Lnet/minecraft/class_9276$class_9277;- official - a- Lcyu$a;a()Lcyu$a;
 
- 
getInsertionIndex- Mappings:
- Namespace - Name - Mixin selector - named - getInsertionIndex- Lnet/minecraft/component/type/BundleContentsComponent$Builder;getInsertionIndex(Lnet/minecraft/item/ItemStack;)I- intermediary - method_57434- Lnet/minecraft/class_9276$class_9277;method_57434(Lnet/minecraft/class_1799;)I- official - b- Lcyu$a;b(Lcwq;)I
 
- 
getMaxAllowed- Mappings:
- Namespace - Name - Mixin selector - named - getMaxAllowed- Lnet/minecraft/component/type/BundleContentsComponent$Builder;getMaxAllowed(Lnet/minecraft/item/ItemStack;)I- intermediary - method_57436- Lnet/minecraft/class_9276$class_9277;method_57436(Lnet/minecraft/class_1799;)I- official - c- Lcyu$a;c(Lcwq;)I
 
- 
add- Mappings:
- Namespace - Name - Mixin selector - named - add- Lnet/minecraft/component/type/BundleContentsComponent$Builder;add(Lnet/minecraft/item/ItemStack;)I- intermediary - method_57432- Lnet/minecraft/class_9276$class_9277;method_57432(Lnet/minecraft/class_1799;)I- official - a- Lcyu$a;a(Lcwq;)I
 
- 
add- Mappings:
- Namespace - Name - Mixin selector - named - add- Lnet/minecraft/component/type/BundleContentsComponent$Builder;add(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/entity/player/PlayerEntity;)I- intermediary - method_57431- Lnet/minecraft/class_9276$class_9277;method_57431(Lnet/minecraft/class_1735;Lnet/minecraft/class_1657;)I- official - a- Lcyu$a;a(Lcua;Lcoy;)I
 
- 
setSelectedStackIndexpublic void setSelectedStackIndex(int selectedStackIndex) - Mappings:
- Namespace - Name - Mixin selector - named - setSelectedStackIndex- Lnet/minecraft/component/type/BundleContentsComponent$Builder;setSelectedStackIndex(I)V- intermediary - method_64662- Lnet/minecraft/class_9276$class_9277;method_64662(I)V- official - a- Lcyu$a;a(I)V
 
- 
removeSelected- Mappings:
- Namespace - Name - Mixin selector - named - removeSelected- Lnet/minecraft/component/type/BundleContentsComponent$Builder;removeSelected()Lnet/minecraft/item/ItemStack;- intermediary - method_57430- Lnet/minecraft/class_9276$class_9277;method_57430()Lnet/minecraft/class_1799;- official - b- Lcyu$a;b()Lcwq;
 
- 
getOccupancy- Mappings:
- Namespace - Name - Mixin selector - named - getOccupancy- Lnet/minecraft/component/type/BundleContentsComponent$Builder;getOccupancy()Lorg/apache/commons/lang3/math/Fraction;- intermediary - method_57433- Lnet/minecraft/class_9276$class_9277;method_57433()Lorg/apache/commons/lang3/math/Fraction;- official - c- Lcyu$a;c()Lorg/apache/commons/lang3/math/Fraction;
 
- 
build- Mappings:
- Namespace - Name - Mixin selector - named - build- Lnet/minecraft/component/type/BundleContentsComponent$Builder;build()Lnet/minecraft/component/type/BundleContentsComponent;- intermediary - method_57435- Lnet/minecraft/class_9276$class_9277;method_57435()Lnet/minecraft/class_9276;- official - d- Lcyu$a;d()Lcyu;
 
 
-