Package alexiil.mc.lib.multipart.api
Class PartLootParams
java.lang.Object
alexiil.mc.lib.multipart.api.PartLootParams
public final class PartLootParams
extends java.lang.Object
Stores some
LootContextParameter
s for LMP.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PartLootParams.BrokenPart
AnAbstractPart
that was broken.static class
PartLootParams.BrokenSinglePart
static class
PartLootParams.BrokenSubPart<Sub>
-
Field Summary
Fields Modifier and Type Field Description static net.minecraft.loot.context.LootContextParameter<PartLootParams.BrokenPart[]>
ADDITIONAL_PARTS
Any additionalAbstractPart
's that were broken because theyrequired
the main broken part.static net.minecraft.loot.context.LootContextParameter<PartLootParams.BrokenPart>
BROKEN_PART
The primaryAbstractPart
that was brokenstatic net.minecraft.loot.context.LootContextType
PART_TYPE
-
Method Summary
-
Field Details
-
BROKEN_PART
public static final net.minecraft.loot.context.LootContextParameter<PartLootParams.BrokenPart> BROKEN_PARTThe primaryAbstractPart
that was broken -
ADDITIONAL_PARTS
public static final net.minecraft.loot.context.LootContextParameter<PartLootParams.BrokenPart[]> ADDITIONAL_PARTSAny additionalAbstractPart
's that were broken because theyrequired
the main broken part. -
PART_TYPE
public static final net.minecraft.loot.context.LootContextType PART_TYPE
-