Package vazkii.botania.data
Class LooniumStructureConfigurationProvider
java.lang.Object
vazkii.botania.data.LooniumStructureConfigurationProvider
- All Implemented Interfaces:
net.minecraft.data.DataProvider
public class LooniumStructureConfigurationProvider
extends Object
implements net.minecraft.data.DataProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
net.minecraft.data.DataProvider.Factory<T extends net.minecraft.data.DataProvider> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationFields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR, LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionLooniumStructureConfigurationProvider(net.minecraft.data.PackOutput packOutput, CompletableFuture<net.minecraft.core.HolderLookup.Provider> registryLookupFuture) -
Method Summary
Modifier and TypeMethodDescriptiongetConfigAncientCity(net.minecraft.resources.ResourceLocation parentId) getConfigBastionRemnant(net.minecraft.resources.ResourceLocation parentId) getConfigDesertPyramid(net.minecraft.resources.ResourceLocation parentId) getConfigEndCity(net.minecraft.resources.ResourceLocation parentId) getConfigFortress(net.minecraft.resources.ResourceLocation parentId) getConfigJungleTemple(net.minecraft.resources.ResourceLocation parentId) getConfigOceanMonument(net.minecraft.resources.ResourceLocation parentId) getConfigOceanRuinCold(net.minecraft.resources.ResourceLocation parentId) getConfigOceanRuinWarm(net.minecraft.resources.ResourceLocation parentId) getConfigPillagerOutpost(net.minecraft.resources.ResourceLocation parentId) getConfigRuinedPortalDesert(net.minecraft.resources.ResourceLocation parentId) getConfigRuinedPortalJungle(net.minecraft.resources.ResourceLocation parentId) getConfigRuinedPortalMountain(net.minecraft.resources.ResourceLocation parentId) getConfigRuinedPortalNether(net.minecraft.resources.ResourceLocation parentId) getConfigRuinedPortalOcean(net.minecraft.resources.ResourceLocation parentId) getConfigRuinedPortalStandard(net.minecraft.resources.ResourceLocation parentId) getConfigRuinedPortalSwamp(net.minecraft.resources.ResourceLocation parentId) getConfigShipwreck(net.minecraft.resources.ResourceLocation parentId) getConfigStronghold(net.minecraft.resources.ResourceLocation parentId) getConfigTrailRuins(net.minecraft.resources.ResourceLocation parentId) getConfigVillageDesert(net.minecraft.resources.ResourceLocation parentId) getConfigVillagePlains(net.minecraft.resources.ResourceLocation parentId) getConfigVillageSavanna(net.minecraft.resources.ResourceLocation parentId) getConfigVillageSnowy(net.minecraft.resources.ResourceLocation parentId) getConfigVillageTaiga(net.minecraft.resources.ResourceLocation parentId) getConfigWoodlandMansion(net.minecraft.resources.ResourceLocation parentId) static LooniumMobEffectToApply[]getCreeperEffects(boolean withWaterBreathing) static LooniumMobSpawnDatagetCreeperSpawnData(int weight, boolean charged, LooniumMobEffectToApply... creeperEffects) @NotNull StringgetName()static LooniumMobSpawnDatagetPiglinSpawnData(int weight, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> equipmentTable, boolean needWaterBreathing, boolean zombificationImmune) static LooniumMobEffectToApply[]getStandardEffects(boolean withWaterBreathing, boolean withFireResistance) @NotNull CompletableFuture<?> run(@NotNull net.minecraft.data.CachedOutput cache)
-
Field Details
-
LOONIUM_MODIFIER_DAMAGE
public static final net.minecraft.resources.ResourceLocation LOONIUM_MODIFIER_DAMAGE -
LOONIUM_MODIFIER_HEALTH
public static final net.minecraft.resources.ResourceLocation LOONIUM_MODIFIER_HEALTH
-
-
Constructor Details
-
LooniumStructureConfigurationProvider
public LooniumStructureConfigurationProvider(net.minecraft.data.PackOutput packOutput, CompletableFuture<net.minecraft.core.HolderLookup.Provider> registryLookupFuture)
-
-
Method Details
-
run
@NotNull public @NotNull CompletableFuture<?> run(@NotNull @NotNull net.minecraft.data.CachedOutput cache) - Specified by:
runin interfacenet.minecraft.data.DataProvider
-
getDefaultConfig
-
getConfigAncientCity
public static LooniumStructureConfiguration getConfigAncientCity(net.minecraft.resources.ResourceLocation parentId) -
getConfigBastionRemnant
public static LooniumStructureConfiguration getConfigBastionRemnant(net.minecraft.resources.ResourceLocation parentId) -
getConfigDesertPyramid
public static LooniumStructureConfiguration getConfigDesertPyramid(net.minecraft.resources.ResourceLocation parentId) -
getConfigEndCity
public static LooniumStructureConfiguration getConfigEndCity(net.minecraft.resources.ResourceLocation parentId) -
getConfigFortress
public static LooniumStructureConfiguration getConfigFortress(net.minecraft.resources.ResourceLocation parentId) -
getConfigJungleTemple
public static LooniumStructureConfiguration getConfigJungleTemple(net.minecraft.resources.ResourceLocation parentId) -
getConfigOceanMonument
public static LooniumStructureConfiguration getConfigOceanMonument(net.minecraft.resources.ResourceLocation parentId) -
getConfigOceanRuinCold
public static LooniumStructureConfiguration getConfigOceanRuinCold(net.minecraft.resources.ResourceLocation parentId) -
getConfigOceanRuinWarm
public static LooniumStructureConfiguration getConfigOceanRuinWarm(net.minecraft.resources.ResourceLocation parentId) -
getConfigPillagerOutpost
public static LooniumStructureConfiguration getConfigPillagerOutpost(net.minecraft.resources.ResourceLocation parentId) -
getConfigRuinedPortalDesert
public static LooniumStructureConfiguration getConfigRuinedPortalDesert(net.minecraft.resources.ResourceLocation parentId) -
getConfigRuinedPortalJungle
public static LooniumStructureConfiguration getConfigRuinedPortalJungle(net.minecraft.resources.ResourceLocation parentId) -
getConfigRuinedPortalMountain
public static LooniumStructureConfiguration getConfigRuinedPortalMountain(net.minecraft.resources.ResourceLocation parentId) -
getConfigRuinedPortalNether
public static LooniumStructureConfiguration getConfigRuinedPortalNether(net.minecraft.resources.ResourceLocation parentId) -
getConfigRuinedPortalOcean
public static LooniumStructureConfiguration getConfigRuinedPortalOcean(net.minecraft.resources.ResourceLocation parentId) -
getConfigRuinedPortalStandard
public static LooniumStructureConfiguration getConfigRuinedPortalStandard(net.minecraft.resources.ResourceLocation parentId) -
getConfigRuinedPortalSwamp
public static LooniumStructureConfiguration getConfigRuinedPortalSwamp(net.minecraft.resources.ResourceLocation parentId) -
getConfigShipwreck
public static LooniumStructureConfiguration getConfigShipwreck(net.minecraft.resources.ResourceLocation parentId) -
getConfigStronghold
public static LooniumStructureConfiguration getConfigStronghold(net.minecraft.resources.ResourceLocation parentId) -
getConfigTrailRuins
public static LooniumStructureConfiguration getConfigTrailRuins(net.minecraft.resources.ResourceLocation parentId) -
getConfigVillageDesert
public static LooniumStructureConfiguration getConfigVillageDesert(net.minecraft.resources.ResourceLocation parentId) -
getConfigVillagePlains
public static LooniumStructureConfiguration getConfigVillagePlains(net.minecraft.resources.ResourceLocation parentId) -
getConfigVillageSavanna
public static LooniumStructureConfiguration getConfigVillageSavanna(net.minecraft.resources.ResourceLocation parentId) -
getConfigVillageSnowy
public static LooniumStructureConfiguration getConfigVillageSnowy(net.minecraft.resources.ResourceLocation parentId) -
getConfigVillageTaiga
public static LooniumStructureConfiguration getConfigVillageTaiga(net.minecraft.resources.ResourceLocation parentId) -
getConfigWoodlandMansion
public static LooniumStructureConfiguration getConfigWoodlandMansion(net.minecraft.resources.ResourceLocation parentId) -
getStandardEffects
public static LooniumMobEffectToApply[] getStandardEffects(boolean withWaterBreathing, boolean withFireResistance) -
getCreeperEffects
-
getCreeperSpawnData
public static LooniumMobSpawnData getCreeperSpawnData(int weight, boolean charged, LooniumMobEffectToApply... creeperEffects) -
getPiglinSpawnData
public static LooniumMobSpawnData getPiglinSpawnData(int weight, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> equipmentTable, boolean needWaterBreathing, boolean zombificationImmune) -
getName
- Specified by:
getNamein interfacenet.minecraft.data.DataProvider
-