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 cxf$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
Lcxf$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
Lcxf$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>
Lcxf$a;<init>(Lcxf;)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
Lcxf$a;a()Lcxf$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
Lcxf$a;b(Lcuq;)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
Lcxf$a;c(Lcuq;)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
Lcxf$a;a(Lcuq;)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
Lcxf$a;a(Lcrq;Lcmx;)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
Lcxf$a;b()Lcuq;
-
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
Lcxf$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
Lcxf$a;d()Lcxf;
-