net.minecraft.loot.slot

public class SlotRangeSlotSource

implements SlotSource

net.minecraft.world.item.slot.RangeSlotSource
net.minecraft.world.item.slot.RangeSlotSource
net.minecraft.class_12270
net.minecraft.loot.slot.SlotRangeSlotSource

Field summary

Modifier and TypeField
private static final LootEntityValueSource<Object>
CONTAINER_ARG
CONTAINER_ARG
field_1_7435
DEFAULT_SOURCE
private static final com.mojang.serialization.Codec<LootEntityValueSource<Object>>
SOURCE_CODEC
SOURCE_CODEC
field_1_7436
CODEC
public static final com.mojang.serialization.MapCodec<SlotRangeSlotSource>
MAP_CODEC
MAP_CODEC
field_64158
CODEC
private final LootEntityValueSource<Object>
source
source
field_64159
source
private final SlotRange
slotRange
slotRange
field_64160
slots

Constructor summary

ModifierConstructor
private (LootEntityValueSource<Object> source, SlotRange slots)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<SlotRangeSlotSource>
codec()
codec()
method_76106()
getCodec()
public Set<ContextParameter<?>>
getReferencedContextParams()
getReferencedContextParams()
method_293()
getAllowedParameters()
public final SlotContainer
provide(LootContext context)
provide(LootContext context)
method_76108(class_47 arg0)
stream(LootContext arg0)
public static SlotRangeSlotSource
slotRange(SlotRange slotRange)
slotRange(SlotRange slotRange)
method_1_6681(class_9348 arg0)
from(SlotRange range)