-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Config Rewrite, Stats Config II, Tags, Licence Update, Version Constr…
…aints, Optimised Imports - Added `buzzy_nest_bee` to `beehive_inhabitors` tag (Fixed #31) - Added configurable `loottables` and values for artifacts (Fixed #37) - Confirmed Golem Crash no longer happening (Fixed #38) - Will be uploading to Modrinth (Fixed #39) - Constrained Minecraft Dependency to crash on 1.20.2+ - Updated Licence to TDL 1.2 - Refactored LootRegistry
- Loading branch information
1 parent
ea0229d
commit 50f31c4
Showing
15 changed files
with
458 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
src/main/java/chronosacaria/mcdar/api/GroupedObjectsHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
package chronosacaria.mcdar.api; | ||
|
||
import chronosacaria.mcdar.enums.*; | ||
import net.minecraft.loot.LootTables; | ||
import net.minecraft.util.Identifier; | ||
|
||
import java.util.List; | ||
import java.util.Set; | ||
|
||
public class GroupedObjectsHelper { | ||
public static final Set<Identifier> ILLAGER_ARTIFACT_GENERAL_LOOT_TABLES = | ||
Set.of(LootTables.WOODLAND_MANSION_CHEST, LootTables.PILLAGER_OUTPOST_CHEST); | ||
|
||
public static final Set<Identifier> VILLAGER_ARTIFACT_GENERAL_LOOT_TABLES = | ||
Set.of(LootTables.VILLAGE_ARMORER_CHEST, LootTables.VILLAGE_BUTCHER_CHEST, | ||
LootTables.VILLAGE_CARTOGRAPHER_CHEST, LootTables.VILLAGE_FISHER_CHEST, | ||
LootTables.VILLAGE_FLETCHER_CHEST, LootTables.VILLAGE_DESERT_HOUSE_CHEST, | ||
LootTables.VILLAGE_MASON_CHEST, LootTables.VILLAGE_PLAINS_CHEST, | ||
LootTables.VILLAGE_SAVANNA_HOUSE_CHEST, LootTables.VILLAGE_SHEPARD_CHEST, | ||
LootTables.VILLAGE_SNOWY_HOUSE_CHEST, LootTables.VILLAGE_TAIGA_HOUSE_CHEST, | ||
LootTables.VILLAGE_TANNERY_CHEST, LootTables.VILLAGE_TEMPLE_CHEST, | ||
LootTables.VILLAGE_TOOLSMITH_CHEST); | ||
public static final Set<Identifier> ALL_ARTIFACTS_DUNGEON_LOOT_TABLES = | ||
Set.of(LootTables.ABANDONED_MINESHAFT_CHEST, LootTables.SIMPLE_DUNGEON_CHEST, LootTables.SHIPWRECK_TREASURE_CHEST); | ||
|
||
public static final List<IArtifactItem> illagerArtifacts = List.of( | ||
AgilityArtifactID.DEATH_CAP_MUSHROOM, | ||
DamagingArtifactID.BLAST_FUNGUS, | ||
DamagingArtifactID.HARVESTER, | ||
DamagingArtifactID.LIGHTNING_ROD, | ||
DamagingArtifactID.POWERSHAKER, | ||
DefensiveArtifactID.ENCHANTERS_TOME, | ||
DefensiveArtifactID.SOUL_HEALER, | ||
DefensiveArtifactID.TOTEM_OF_REGENERATION, | ||
DefensiveArtifactID.TOTEM_OF_SHIELDING, | ||
DefensiveArtifactID.TOTEM_OF_SOUL_PROTECTION, | ||
QuiverArtifactID.HARPOON_QUIVER, | ||
QuiverArtifactID.THUNDERING_QUIVER, | ||
QuiverArtifactID.TORMENT_QUIVER, | ||
StatusInflictingArtifactID.CORRUPTED_SEEDS, | ||
StatusInflictingArtifactID.GONG_OF_WEAKENING, | ||
StatusInflictingArtifactID.LOVE_MEDALLION, | ||
StatusInflictingArtifactID.SATCHEL_OF_ELEMENTS, | ||
StatusInflictingArtifactID.SHOCK_POWDER | ||
); | ||
|
||
public static final List<IArtifactItem> villagerArtifacts = List.of( | ||
AgilityArtifactID.BOOTS_OF_SWIFTNESS, | ||
AgilityArtifactID.GHOST_CLOAK, | ||
AgilityArtifactID.LIGHT_FEATHER, | ||
DamagingArtifactID.UPDRAFT_TOME, | ||
DefensiveArtifactID.IRON_HIDE_AMULET, | ||
DefensiveArtifactID.WIND_HORN, | ||
QuiverArtifactID.FLAMING_QUIVER, | ||
SummoningArtifactID.BUZZY_NEST, | ||
SummoningArtifactID.ENCHANTED_GRASS, | ||
SummoningArtifactID.GOLEM_KIT, | ||
SummoningArtifactID.TASTY_BONE, | ||
SummoningArtifactID.WONDERFUL_WHEAT | ||
); | ||
|
||
public static final List<IArtifactItem> allArtifacts = List.of( | ||
AgilityArtifactID.BOOTS_OF_SWIFTNESS, | ||
AgilityArtifactID.DEATH_CAP_MUSHROOM, | ||
AgilityArtifactID.GHOST_CLOAK, | ||
AgilityArtifactID.LIGHT_FEATHER, | ||
DamagingArtifactID.BLAST_FUNGUS, | ||
DamagingArtifactID.HARVESTER, | ||
DamagingArtifactID.LIGHTNING_ROD, | ||
DamagingArtifactID.POWERSHAKER, | ||
DamagingArtifactID.UPDRAFT_TOME, | ||
DefensiveArtifactID.ENCHANTERS_TOME, | ||
DefensiveArtifactID.IRON_HIDE_AMULET, | ||
DefensiveArtifactID.SOUL_HEALER, | ||
DefensiveArtifactID.TOTEM_OF_REGENERATION, | ||
DefensiveArtifactID.TOTEM_OF_SHIELDING, | ||
DefensiveArtifactID.TOTEM_OF_SOUL_PROTECTION, | ||
DefensiveArtifactID.WIND_HORN, | ||
QuiverArtifactID.FLAMING_QUIVER, | ||
QuiverArtifactID.HARPOON_QUIVER, | ||
QuiverArtifactID.THUNDERING_QUIVER, | ||
QuiverArtifactID.TORMENT_QUIVER, | ||
StatusInflictingArtifactID.CORRUPTED_SEEDS, | ||
StatusInflictingArtifactID.GONG_OF_WEAKENING, | ||
StatusInflictingArtifactID.SATCHEL_OF_ELEMENTS, | ||
StatusInflictingArtifactID.SHOCK_POWDER, | ||
SummoningArtifactID.BUZZY_NEST, | ||
SummoningArtifactID.ENCHANTED_GRASS, | ||
SummoningArtifactID.GOLEM_KIT, | ||
SummoningArtifactID.TASTY_BONE, | ||
SummoningArtifactID.WONDERFUL_WHEAT); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.