Package net.minecraft.component.type
Class BundleContentsComponent.Builder
java.lang.Object
net.minecraft.component.type.BundleContentsComponent.Builder
- Enclosing class:
BundleContentsComponent
- Mappings:
Namespace Name official cvk$a
intermediary net/minecraft/class_9276$class_9277
named net/minecraft/component/type/BundleContentsComponent$Builder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
add
(Slot slot, PlayerEntity player) private int
addInternal
(ItemStack stack) build()
private int
getMaxAllowed
(ItemStack stack) int
-
Field Details
-
stacks
- Mappings:
Namespace Name Mixin selector official a
Lcvk$a;a:Ljava/util/List;
intermediary field_49296
Lnet/minecraft/class_9276$class_9277;field_49296:Ljava/util/List;
named stacks
Lnet/minecraft/component/type/BundleContentsComponent$Builder;stacks:Ljava/util/List;
-
occupancy
private int occupancy- Mappings:
Namespace Name Mixin selector official b
Lcvk$a;b:I
intermediary field_49297
Lnet/minecraft/class_9276$class_9277;field_49297:I
named occupancy
Lnet/minecraft/component/type/BundleContentsComponent$Builder;occupancy:I
-
-
Constructor Details
-
Builder
- Mappings:
Namespace Name Mixin selector official <init>
Lcvk$a;<init>(Lcvk;)V
intermediary <init>
Lnet/minecraft/class_9276$class_9277;<init>(Lnet/minecraft/class_9276;)V
named <init>
Lnet/minecraft/component/type/BundleContentsComponent$Builder;<init>(Lnet/minecraft/component/type/BundleContentsComponent;)V
-
-
Method Details
-
addInternal
- Mappings:
Namespace Name Mixin selector official b
Lcvk$a;b(Lcsz;)I
intermediary method_57434
Lnet/minecraft/class_9276$class_9277;method_57434(Lnet/minecraft/class_1799;)I
named addInternal
Lnet/minecraft/component/type/BundleContentsComponent$Builder;addInternal(Lnet/minecraft/item/ItemStack;)I
-
getMaxAllowed
- Mappings:
Namespace Name Mixin selector official c
Lcvk$a;c(Lcsz;)I
intermediary method_57436
Lnet/minecraft/class_9276$class_9277;method_57436(Lnet/minecraft/class_1799;)I
named getMaxAllowed
Lnet/minecraft/component/type/BundleContentsComponent$Builder;getMaxAllowed(Lnet/minecraft/item/ItemStack;)I
-
add
- Mappings:
Namespace Name Mixin selector official a
Lcvk$a;a(Lcsz;)I
intermediary method_57432
Lnet/minecraft/class_9276$class_9277;method_57432(Lnet/minecraft/class_1799;)I
named add
Lnet/minecraft/component/type/BundleContentsComponent$Builder;add(Lnet/minecraft/item/ItemStack;)I
-
add
- Mappings:
Namespace Name Mixin selector official a
Lcvk$a;a(Lcpz;Lclh;)I
intermediary method_57431
Lnet/minecraft/class_9276$class_9277;method_57431(Lnet/minecraft/class_1735;Lnet/minecraft/class_1657;)I
named add
Lnet/minecraft/component/type/BundleContentsComponent$Builder;add(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/entity/player/PlayerEntity;)I
-
removeFirst
- Mappings:
Namespace Name Mixin selector official a
Lcvk$a;a()Lcsz;
intermediary method_57430
Lnet/minecraft/class_9276$class_9277;method_57430()Lnet/minecraft/class_1799;
named removeFirst
Lnet/minecraft/component/type/BundleContentsComponent$Builder;removeFirst()Lnet/minecraft/item/ItemStack;
-
getOccupancy
public int getOccupancy()- Mappings:
Namespace Name Mixin selector official b
Lcvk$a;b()I
intermediary method_57433
Lnet/minecraft/class_9276$class_9277;method_57433()I
named getOccupancy
Lnet/minecraft/component/type/BundleContentsComponent$Builder;getOccupancy()I
-
build
- Mappings:
Namespace Name Mixin selector official c
Lcvk$a;c()Lcvk;
intermediary method_57435
Lnet/minecraft/class_9276$class_9277;method_57435()Lnet/minecraft/class_9276;
named build
Lnet/minecraft/component/type/BundleContentsComponent$Builder;build()Lnet/minecraft/component/type/BundleContentsComponent;
-