Class LootPoolEntryWrapper
java.lang.Object
top.offsetmonkey538.loottablemodifier.modded.impl.wrapper.loot.entry.LootPoolEntryWrapper
- All Implemented Interfaces:
LootPoolEntry
- Direct Known Subclasses:
ItemEntryWrapper
Don't initialize using canonical constructor. Use
create(net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer) instead-
Nested Class Summary
Nested classes/interfaces inherited from interface top.offsetmonkey538.loottablemodifier.common.api.wrapper.loot.entry.LootPoolEntry
LootPoolEntry.CodecProvider -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainerFields inherited from interface top.offsetmonkey538.loottablemodifier.common.api.wrapper.loot.entry.LootPoolEntry
CODEC_PROVIDER -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLootPoolEntryWrapper(net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer vanillaEntry) -
Method Summary
Modifier and TypeMethodDescriptionstatic LootPoolEntryWrappercreate(net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer vanillaEntry) final booleaninthashCode()voidsetConditions(List<LootCondition> conditions)
-
Field Details
-
vanillaEntry
public final net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer vanillaEntry
-
-
Constructor Details
-
LootPoolEntryWrapper
protected LootPoolEntryWrapper(net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer vanillaEntry)
-
-
Method Details
-
create
public static LootPoolEntryWrapper create(net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer vanillaEntry) -
getConditions
- Specified by:
getConditionsin interfaceLootPoolEntry
-
setConditions
- Specified by:
setConditionsin interfaceLootPoolEntry
-
equals
-
hashCode
public int hashCode()
-