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 cwb$a
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintadd(Slot slot, PlayerEntity player) private intaddInternal(ItemStack stack) build()private intgetMaxAllowed(ItemStack stack) int
-
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 aLcwb$a;a:Ljava/util/List;
-
occupancy
private int occupancy- Mappings:
Namespace Name Mixin selector named occupancyLnet/minecraft/component/type/BundleContentsComponent$Builder;occupancy:Iintermediary field_49297Lnet/minecraft/class_9276$class_9277;field_49297:Iofficial bLcwb$a;b: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>Lcwb$a;<init>(Lcwb;)V
-
-
Method Details
-
addInternal
- Mappings:
Namespace Name Mixin selector named addInternalLnet/minecraft/component/type/BundleContentsComponent$Builder;addInternal(Lnet/minecraft/item/ItemStack;)Iintermediary method_57434Lnet/minecraft/class_9276$class_9277;method_57434(Lnet/minecraft/class_1799;)Iofficial bLcwb$a;b(Lcto;)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 cLcwb$a;c(Lcto;)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 aLcwb$a;a(Lcto;)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 aLcwb$a;a(Lcqo;Lclw;)I
-
removeFirst
- Mappings:
Namespace Name Mixin selector named removeFirstLnet/minecraft/component/type/BundleContentsComponent$Builder;removeFirst()Lnet/minecraft/item/ItemStack;intermediary method_57430Lnet/minecraft/class_9276$class_9277;method_57430()Lnet/minecraft/class_1799;official aLcwb$a;a()Lcto;
-
getOccupancy
public int getOccupancy()- Mappings:
Namespace Name Mixin selector named getOccupancyLnet/minecraft/component/type/BundleContentsComponent$Builder;getOccupancy()Iintermediary method_57433Lnet/minecraft/class_9276$class_9277;method_57433()Iofficial bLcwb$a;b()I
-
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 cLcwb$a;c()Lcwb;
-