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 - named - net/minecraft/loot/function/ApplyBonusLootFunction$OreDrops- intermediary - net/minecraft/class_94$class_98- official - fbq$d
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ApplyBonusLootFunction.OreDrops> static final ApplyBonusLootFunction.Type
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/loot/function/ApplyBonusLootFunction$OreDrops;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_45812- Lnet/minecraft/class_94$class_98;field_45812:Lcom/mojang/serialization/Codec;- official - a- Lfbq$d;a:Lcom/mojang/serialization/Codec;
 
- 
TYPE- Mappings:
- Namespace - Name - Mixin selector - named - TYPE- Lnet/minecraft/loot/function/ApplyBonusLootFunction$OreDrops;TYPE:Lnet/minecraft/loot/function/ApplyBonusLootFunction$Type;- intermediary - field_1015- Lnet/minecraft/class_94$class_98;field_1015:Lnet/minecraft/class_94$class_8752;- official - b- Lfbq$d;b:Lfbq$c;
 
 
- 
- 
Constructor Details- 
OreDropsOreDrops()Creates an instance of aOreDropsrecord class.
 
- 
- 
Method Details- 
getValue- Specified by:
- getValuein interface- ApplyBonusLootFunction.Formula
- Mappings:
- Namespace - Name - Mixin selector - named - getValue- Lnet/minecraft/loot/function/ApplyBonusLootFunction$Formula;getValue(Lnet/minecraft/util/math/random/Random;II)I- intermediary - method_467- Lnet/minecraft/class_94$class_96;method_467(Lnet/minecraft/class_5819;II)I- official - a- Lfbq$b;a(Lbai;II)I
 
- 
getType- Specified by:
- getTypein interface- ApplyBonusLootFunction.Formula
- Mappings:
- Namespace - Name - Mixin selector - named - getType- Lnet/minecraft/loot/function/ApplyBonusLootFunction$Formula;getType()Lnet/minecraft/loot/function/ApplyBonusLootFunction$Type;- intermediary - method_466- Lnet/minecraft/class_94$class_96;method_466()Lnet/minecraft/class_94$class_8752;- official - a- Lfbq$b;a()Lfbq$c;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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.
 
-