net.minecraft.loot.provider.intprovider

public record NegateLootIntProvider

implements LootIntProvider, UnaryOpLootNumberProvider<LootIntProvider>

net.minecraft.world.level.storage.loot.providers.number.ints.Negate
net.minecraft.class_1_1613
net.minecraft.loot.provider.intprovider.NegateLootIntProvider

Field summary

Modifier and TypeField
private final RegistryEntry<LootIntProvider>
input
comp_1_1837
input
public static final com.mojang.serialization.MapCodec<NegateLootIntProvider>
MAP_CODEC
field_1_10423
CODEC

Constructor summary

ModifierConstructor
public (RegistryEntry<LootIntProvider> input)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<NegateLootIntProvider>
codec()
method_1_10380()
getCodec()
public int
getIntUnsafe(LootContext context)
method_1_10383(class_47 arg0)
nextInt(LootContext arg0)
public RegistryEntry<LootIntProvider>
input()
comp_1_1837()
input()