Package net.minecraft.component.type
Class BundleContentsComponent
java.lang.Object
net.minecraft.component.type.BundleContentsComponent
- All Implemented Interfaces:
 TooltipData
- Mappings:
 Namespace Name named net/minecraft/component/type/BundleContentsComponentintermediary net/minecraft/class_9276official cxf
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intstatic final com.mojang.serialization.Codec<BundleContentsComponent> static final BundleContentsComponentprivate static final Fraction(package private) final Fractionstatic final PacketCodec<RegistryByteBuf, BundleContentsComponent>  - 
Constructor Summary
ConstructorsConstructorDescriptionBundleContentsComponent(List<ItemStack> stacks) BundleContentsComponent(List<ItemStack> stacks, Fraction occupancy)  - 
Method Summary
 
- 
Field Details
- 
DEFAULT
- Mappings:
 Namespace Name Mixin selector named DEFAULTLnet/minecraft/component/type/BundleContentsComponent;DEFAULT:Lnet/minecraft/component/type/BundleContentsComponent;intermediary field_49289Lnet/minecraft/class_9276;field_49289:Lnet/minecraft/class_9276;official aLcxf;a:Lcxf;
 - 
CODEC
- Mappings:
 Namespace Name Mixin selector named CODECLnet/minecraft/component/type/BundleContentsComponent;CODEC:Lcom/mojang/serialization/Codec;intermediary field_49290Lnet/minecraft/class_9276;field_49290:Lcom/mojang/serialization/Codec;official bLcxf;b:Lcom/mojang/serialization/Codec;
 - 
PACKET_CODEC
- Mappings:
 Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/component/type/BundleContentsComponent;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_49291Lnet/minecraft/class_9276;field_49291:Lnet/minecraft/class_9139;official cLcxf;c:Lyx;
 - 
NESTED_BUNDLE_OCCUPANCY
- Mappings:
 Namespace Name Mixin selector named NESTED_BUNDLE_OCCUPANCYLnet/minecraft/component/type/BundleContentsComponent;NESTED_BUNDLE_OCCUPANCY:Lorg/apache/commons/lang3/math/Fraction;intermediary field_49292Lnet/minecraft/class_9276;field_49292:Lorg/apache/commons/lang3/math/Fraction;official dLcxf;d:Lorg/apache/commons/lang3/math/Fraction;
 - 
ADD_TO_NEW_SLOT
private static final int ADD_TO_NEW_SLOT- See Also:
 - Mappings:
 Namespace Name Mixin selector named ADD_TO_NEW_SLOTLnet/minecraft/component/type/BundleContentsComponent;ADD_TO_NEW_SLOT:Iintermediary field_49293Lnet/minecraft/class_9276;field_49293:Iofficial eLcxf;e:I
 - 
stacks
- Mappings:
 Namespace Name Mixin selector named stacksLnet/minecraft/component/type/BundleContentsComponent;stacks:Ljava/util/List;intermediary field_49294Lnet/minecraft/class_9276;field_49294:Ljava/util/List;official fLcxf;f:Ljava/util/List;
 - 
occupancy
- Mappings:
 Namespace Name Mixin selector named occupancyLnet/minecraft/component/type/BundleContentsComponent;occupancy:Lorg/apache/commons/lang3/math/Fraction;intermediary field_49295Lnet/minecraft/class_9276;field_49295:Lorg/apache/commons/lang3/math/Fraction;official gLcxf;g:Lorg/apache/commons/lang3/math/Fraction;
 
 - 
 - 
Constructor Details
- 
BundleContentsComponent
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/component/type/BundleContentsComponent;<init>(Ljava/util/List;Lorg/apache/commons/lang3/math/Fraction;)Vintermediary <init>Lnet/minecraft/class_9276;<init>(Ljava/util/List;Lorg/apache/commons/lang3/math/Fraction;)Vofficial <init>Lcxf;<init>(Ljava/util/List;Lorg/apache/commons/lang3/math/Fraction;)V
 - 
BundleContentsComponent
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/component/type/BundleContentsComponent;<init>(Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_9276;<init>(Ljava/util/List;)Vofficial <init>Lcxf;<init>(Ljava/util/List;)V
 
 - 
 - 
Method Details
- 
calculateOccupancy
- Mappings:
 Namespace Name Mixin selector named calculateOccupancyLnet/minecraft/component/type/BundleContentsComponent;calculateOccupancy(Ljava/util/List;)Lorg/apache/commons/lang3/math/Fraction;intermediary method_57425Lnet/minecraft/class_9276;method_57425(Ljava/util/List;)Lorg/apache/commons/lang3/math/Fraction;official aLcxf;a(Ljava/util/List;)Lorg/apache/commons/lang3/math/Fraction;
 - 
getOccupancy
- Mappings:
 Namespace Name Mixin selector named getOccupancyLnet/minecraft/component/type/BundleContentsComponent;getOccupancy(Lnet/minecraft/item/ItemStack;)Lorg/apache/commons/lang3/math/Fraction;intermediary method_57423Lnet/minecraft/class_9276;method_57423(Lnet/minecraft/class_1799;)Lorg/apache/commons/lang3/math/Fraction;official aLcxf;a(Lcuq;)Lorg/apache/commons/lang3/math/Fraction;
 - 
get
- Mappings:
 Namespace Name Mixin selector named getLnet/minecraft/component/type/BundleContentsComponent;get(I)Lnet/minecraft/item/ItemStack;intermediary method_57422Lnet/minecraft/class_9276;method_57422(I)Lnet/minecraft/class_1799;official aLcxf;a(I)Lcuq;
 - 
stream
- Mappings:
 Namespace Name Mixin selector named streamLnet/minecraft/component/type/BundleContentsComponent;stream()Ljava/util/stream/Stream;intermediary method_59707Lnet/minecraft/class_9276;method_59707()Ljava/util/stream/Stream;official aLcxf;a()Ljava/util/stream/Stream;
 - 
iterate
- Mappings:
 Namespace Name Mixin selector named iterateLnet/minecraft/component/type/BundleContentsComponent;iterate()Ljava/lang/Iterable;intermediary method_57421Lnet/minecraft/class_9276;method_57421()Ljava/lang/Iterable;official bLcxf;b()Ljava/lang/Iterable;
 - 
iterateCopy
- Mappings:
 Namespace Name Mixin selector named iterateCopyLnet/minecraft/component/type/BundleContentsComponent;iterateCopy()Ljava/lang/Iterable;intermediary method_59708Lnet/minecraft/class_9276;method_59708()Ljava/lang/Iterable;official cLcxf;c()Ljava/lang/Iterable;
 - 
size
public int size()- Mappings:
 Namespace Name Mixin selector named sizeLnet/minecraft/component/type/BundleContentsComponent;size()Iintermediary method_57426Lnet/minecraft/class_9276;method_57426()Iofficial dLcxf;d()I
 - 
getOccupancy
- Mappings:
 Namespace Name Mixin selector named getOccupancyLnet/minecraft/component/type/BundleContentsComponent;getOccupancy()Lorg/apache/commons/lang3/math/Fraction;intermediary method_57428Lnet/minecraft/class_9276;method_57428()Lorg/apache/commons/lang3/math/Fraction;official eLcxf;e()Lorg/apache/commons/lang3/math/Fraction;
 - 
isEmpty
public boolean isEmpty()- Mappings:
 Namespace Name Mixin selector named isEmptyLnet/minecraft/component/type/BundleContentsComponent;isEmpty()Zintermediary method_57429Lnet/minecraft/class_9276;method_57429()Zofficial fLcxf;f()Z
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -