Class ConstantLootNumberProvider
java.lang.Object
net.minecraft.loot.provider.number.ConstantLootNumberProvider
- All Implemented Interfaces:
LootContextAware
,LootNumberProvider
- Mappings:
Namespace Name official ece
intermediary net/minecraft/class_44
named net/minecraft/loot/provider/number/ConstantLootNumberProvider
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConstantLootNumberProvider
create
(float value) boolean
getType()
int
hashCode()
float
nextFloat
(LootContext context) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.context.LootContextAware
getRequiredParameters, validate
Methods inherited from interface net.minecraft.loot.provider.number.LootNumberProvider
nextInt
-
Field Details
-
value
final float value- Mappings:
Namespace Name Mixin selector official a
Lece;a:F
intermediary field_922
Lnet/minecraft/class_44;field_922:F
named value
Lnet/minecraft/loot/provider/number/ConstantLootNumberProvider;value:F
-
-
Constructor Details
-
ConstantLootNumberProvider
ConstantLootNumberProvider(float value) - Mappings:
Namespace Name Mixin selector official <init>
Lece;<init>(F)V
intermediary <init>
Lnet/minecraft/class_44;<init>(F)V
named <init>
Lnet/minecraft/loot/provider/number/ConstantLootNumberProvider;<init>(F)V
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceLootNumberProvider
- Mappings:
Namespace Name Mixin selector official a
Lecg;a()Lecf;
intermediary method_365
Lnet/minecraft/class_5658;method_365()Lnet/minecraft/class_5657;
named getType
Lnet/minecraft/loot/provider/number/LootNumberProvider;getType()Lnet/minecraft/loot/provider/number/LootNumberProviderType;
-
nextFloat
- Specified by:
nextFloat
in interfaceLootNumberProvider
- Mappings:
Namespace Name Mixin selector official b
Lecg;b(Ldyr;)F
intermediary method_32454
Lnet/minecraft/class_5658;method_32454(Lnet/minecraft/class_47;)F
named nextFloat
Lnet/minecraft/loot/provider/number/LootNumberProvider;nextFloat(Lnet/minecraft/loot/context/LootContext;)F
-
create
- Mappings:
Namespace Name Mixin selector official a
Lece;a(F)Lece;
intermediary method_32448
Lnet/minecraft/class_44;method_32448(F)Lnet/minecraft/class_44;
named create
Lnet/minecraft/loot/provider/number/ConstantLootNumberProvider;create(F)Lnet/minecraft/loot/provider/number/ConstantLootNumberProvider;
-
equals
-
hashCode
public int hashCode()
-