Skip to content

Commit 1c0f577

Browse files
Merge pull request #331 from AbdulrhmanBeatz/jdt
Add support for Just Dire Things' XP Fluid
2 parents df6b235 + e96f809 commit 1c0f577

File tree

2 files changed

+13
-1
lines changed
  • src
    • generated/resources/data/create_enchantment_industry/data_maps/fluid/unit
    • main/java/plus/dragons/createenchantmentindustry/common/registry

2 files changed

+13
-1
lines changed

src/generated/resources/data/create_enchantment_industry/data_maps/fluid/unit/experience.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@
3636
],
3737
"neoforge:value": 20
3838
},
39+
"justdirethings:xp_fluid_source": {
40+
"neoforge:conditions": [
41+
{
42+
"type": "neoforge:mod_loaded",
43+
"modid": "justdirethings"
44+
}
45+
],
46+
"neoforge:value": 20
47+
},
3948
"mob_grinding_utils:fluid_xp": {
4049
"neoforge:conditions": [
4150
{

src/main/java/plus/dragons/createenchantmentindustry/common/registry/CEIDataMaps.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,10 @@ public static void generate(RegistrateDataMapProvider provider) {
179179
new ModLoadedCondition("reliquary"))
180180
.add(ResourceLocation.fromNamespaceAndPath("sophisticatedcore", "xp_still"),
181181
20, false,
182-
new ModLoadedCondition("sophisticatedcore"));
182+
new ModLoadedCondition("sophisticatedcore"))
183+
.add(ResourceLocation.fromNamespaceAndPath("justdirethings", "xp_fluid_source"),
184+
20, false,
185+
new ModLoadedCondition("justdirethings"));
183186
var blackDye = CDPFluids.COMMON_TAGS.dyesByColor.get(DyeColor.BLACK);
184187
provider.builder(PRINTING_ADDRESS_INGREDIENT)
185188
.add(blackDye, 10, false);

0 commit comments

Comments
 (0)