Package net.minecraft
Record Class class_12266
java.lang.Object
java.lang.Record
net.minecraft.class_12266
- All Implemented Interfaces:
class_12275,LootContextAware
- Mappings:
Namespace Name named net/minecraft/class_12266intermediary net/minecraft/class_12266official dtl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.mojang.serialization.MapCodec<class_12266> method_76108(LootContext lootContext) final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.loot.context.LootContextAware
getAllowedParameters, validate
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/class_12266;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_64151Lnet/minecraft/class_12266;field_64151:Lcom/mojang/serialization/MapCodec;official aLdtl;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_12266
public class_12266()Creates an instance of aclass_12266record class.
-
-
Method Details
-
method_76106
- Specified by:
method_76106in interfaceclass_12275- Mappings:
Namespace Name Mixin selector named method_76106Lnet/minecraft/class_12275;method_76106()Lcom/mojang/serialization/MapCodec;intermediary method_76106Lnet/minecraft/class_12275;method_76106()Lcom/mojang/serialization/MapCodec;official aLdtr;a()Lcom/mojang/serialization/MapCodec;
-
method_76108
- Specified by:
method_76108in interfaceclass_12275- Mappings:
Namespace Name Mixin selector named method_76108Lnet/minecraft/class_12275;method_76108(Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/inventory/ItemSource;intermediary method_76108Lnet/minecraft/class_12275;method_76108(Lnet/minecraft/class_47;)Lnet/minecraft/class_12271;official aLdtr;a(Lfmm;)Ldtq;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-