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 cxe$a
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
add
(Slot slot, PlayerEntity player) private int
addInternal
(ItemStack stack) build()
clear()
private int
getMaxAllowed
(ItemStack stack)
-
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
Lcxe$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
Lcxe$a;b:Lorg/apache/commons/lang3/math/Fraction;
-
-
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>
Lcxe$a;<init>(Lcxe;)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
Lcxe$a;a()Lcxe$a;
-
addInternal
- Mappings:
Namespace Name Mixin selector named addInternal
Lnet/minecraft/component/type/BundleContentsComponent$Builder;addInternal(Lnet/minecraft/item/ItemStack;)I
intermediary method_57434
Lnet/minecraft/class_9276$class_9277;method_57434(Lnet/minecraft/class_1799;)I
official b
Lcxe$a;b(Lcur;)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
Lcxe$a;c(Lcur;)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
Lcxe$a;a(Lcur;)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
Lcxe$a;a(Lcrr;Lcmz;)I
-
removeFirst
- Mappings:
Namespace Name Mixin selector named removeFirst
Lnet/minecraft/component/type/BundleContentsComponent$Builder;removeFirst()Lnet/minecraft/item/ItemStack;
intermediary method_57430
Lnet/minecraft/class_9276$class_9277;method_57430()Lnet/minecraft/class_1799;
official b
Lcxe$a;b()Lcur;
-
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
Lcxe$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
Lcxe$a;d()Lcxe;
-