net.minecraft.loot.provider.intprovider

public record SubLootIntProvider

implements LootIntProvider, BinaryOpLootNumberProvider<LootIntProvider>

net.minecraft.world.level.storage.loot.providers.number.ints.Difference
net.minecraft.class_1_1642
net.minecraft.loot.provider.intprovider.SubLootIntProvider

Field summary

Modifier and TypeField
private final RegistryEntry<LootIntProvider>
left
comp_1_1838
left
private final RegistryEntry<LootIntProvider>
right
comp_1_1839
right
public static final com.mojang.serialization.MapCodec<SubLootIntProvider>
MAP_CODEC
field_1_10445
CODEC

Constructor summary

ModifierConstructor
public (RegistryEntry<LootIntProvider> left, RegistryEntry<LootIntProvider> right)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<SubLootIntProvider>
codec()
method_1_10380()
getCodec()
public int
getIntUnsafe(LootContext context)
method_1_10383(class_47 arg0)
nextInt(LootContext arg0)
public RegistryEntry<LootIntProvider>
left()
comp_1_1838()
left()
public RegistryEntry<LootIntProvider>
right()
comp_1_1839()
right()