Package | Description |
---|---|
net.minecraft.world.storage.loot.conditions |
Modifier and Type | Class and Description |
---|---|
static class |
EntityHasProperty.Serializer |
static class |
EntityHasScore.Serializer |
static class |
KilledByPlayer.Serializer |
static class |
RandomChance.Serializer |
static class |
RandomChanceWithLooting.Serializer |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Class<? extends LootCondition>,LootCondition.Serializer<?>> |
LootConditionManager.CLASS_TO_SERIALIZER_MAP |
private static java.util.Map<ResourceLocation,LootCondition.Serializer<?>> |
LootConditionManager.NAME_TO_SERIALIZER_MAP |
Modifier and Type | Method and Description |
---|---|
static <T extends LootCondition> |
LootConditionManager.getSerializerFor(T conditionClass) |
static LootCondition.Serializer<?> |
LootConditionManager.getSerializerForName(ResourceLocation location) |
Modifier and Type | Method and Description |
---|---|
static <T extends LootCondition> |
LootConditionManager.registerCondition(LootCondition.Serializer<? extends T> condition) |