Package net.minecraft.loot.function
Record Class ApplyBonusLootFunction.OreDrops
java.lang.Object
java.lang.Record
net.minecraft.loot.function.ApplyBonusLootFunction.OreDrops
- All Implemented Interfaces:
ApplyBonusLootFunction.Formula
- Enclosing class:
ApplyBonusLootFunction
private static record ApplyBonusLootFunction.OreDrops()
extends Record
implements ApplyBonusLootFunction.Formula
- Mappings:
Namespace Name official edh$dintermediary net/minecraft/class_94$class_98named net/minecraft/loot/function/ApplyBonusLootFunction$OreDrops
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ApplyBonusLootFunction.OreDrops>static final ApplyBonusLootFunction.class_8752 -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
field_45812
- Mappings:
Namespace Name Mixin selector official aLedh$d;a:Lcom/mojang/serialization/Codec;intermediary field_45812Lnet/minecraft/class_94$class_98;field_45812:Lcom/mojang/serialization/Codec;named field_45812Lnet/minecraft/loot/function/ApplyBonusLootFunction$OreDrops;field_45812:Lcom/mojang/serialization/Codec;
-
ID
- Mappings:
Namespace Name Mixin selector official bLedh$d;b:Ledh$c;intermediary field_1015Lnet/minecraft/class_94$class_98;field_1015:Lnet/minecraft/class_94$class_8752;named IDLnet/minecraft/loot/function/ApplyBonusLootFunction$OreDrops;ID:Lnet/minecraft/loot/function/ApplyBonusLootFunction$class_8752;
-
-
Constructor Details
-
OreDrops
OreDrops()Creates an instance of aOreDropsrecord class.
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceApplyBonusLootFunction.Formula- Mappings:
Namespace Name Mixin selector official aLedh$b;a(Laru;II)Iintermediary method_467Lnet/minecraft/class_94$class_96;method_467(Lnet/minecraft/class_5819;II)Inamed getValueLnet/minecraft/loot/function/ApplyBonusLootFunction$Formula;getValue(Lnet/minecraft/util/math/random/Random;II)I
-
getId
- Specified by:
getIdin interfaceApplyBonusLootFunction.Formula- Mappings:
Namespace Name Mixin selector official aLedh$b;a()Ledh$c;intermediary method_466Lnet/minecraft/class_94$class_96;method_466()Lnet/minecraft/class_94$class_8752;named getIdLnet/minecraft/loot/function/ApplyBonusLootFunction$Formula;getId()Lnet/minecraft/loot/function/ApplyBonusLootFunction$class_8752;
-
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.
-