forked from DaFuqs/Spectrum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Last Commit for now, i am completely burnt out
- Loading branch information
Showing
18 changed files
with
161 additions
and
44 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
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
38 changes: 38 additions & 0 deletions
38
src/main/java/de/dafuqs/spectrum/compat/neepmeat/NEEPMeatCompat.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,38 @@ | ||
package de.dafuqs.spectrum.compat.neepmeat; | ||
|
||
import com.neep.neepmeat.enlightenment.PlayerEnlightenmentManager; | ||
import de.dafuqs.spectrum.compat.SpectrumIntegrationPacks; | ||
import net.fabricmc.api.EnvType; | ||
import net.fabricmc.api.Environment; | ||
import net.minecraft.entity.LivingEntity; | ||
import net.minecraft.entity.player.PlayerEntity; | ||
import net.minecraft.nbt.NbtCompound; | ||
|
||
public class NEEPMeatCompat extends SpectrumIntegrationPacks.ModIntegrationPack { | ||
public void register() { | ||
|
||
} | ||
|
||
@Environment(EnvType.CLIENT) | ||
@Override | ||
public void registerClient() { | ||
|
||
} | ||
|
||
public static void sedateEnlightenment(LivingEntity user) | ||
{ | ||
if(user.isPlayer()) | ||
{ | ||
PlayerEnlightenmentManager enlightenmentManager = new PlayerEnlightenmentManager((PlayerEntity) user); | ||
NbtCompound tag = new NbtCompound(); | ||
enlightenmentManager.writeToNbt(tag); | ||
double acuteEnlightenment = tag.getDouble("acute"); | ||
if(acuteEnlightenment>0) | ||
{ | ||
tag.putDouble("acute", Math.max(0, acuteEnlightenment*0.75 - 1)); | ||
enlightenmentManager.readFromNbt(tag); | ||
} | ||
} | ||
} | ||
|
||
} |
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
Empty file.
18 changes: 18 additions & 0 deletions
18
...a/spectrum/recipes/mod_integration/neepmeat/midnight_solution_converting/rusted_bars.json
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,18 @@ | ||
{ | ||
"type": "spectrum:midnight_solution_converting", | ||
"ingredient": { | ||
"item": "minecraft:iron_bars" | ||
}, | ||
"result": { | ||
"item": "neepmeat:rusted_bars", | ||
"count": 1 | ||
}, | ||
"fabric:load_conditions": [ | ||
{ | ||
"condition": "fabric:all_mods_loaded", | ||
"values": [ | ||
"neepmeat" | ||
] | ||
} | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
...a/spectrum/recipes/mod_integration/neepmeat/midnight_solution_converting/rusty_metal.json
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,18 @@ | ||
{ | ||
"type": "spectrum:midnight_solution_converting", | ||
"ingredient": { | ||
"item": "neepmeat:polished_metal" | ||
}, | ||
"result": { | ||
"item": "neepmeat:rusty_metal", | ||
"count": 1 | ||
}, | ||
"fabric:load_conditions": [ | ||
{ | ||
"condition": "fabric:all_mods_loaded", | ||
"values": [ | ||
"neepmeat" | ||
] | ||
} | ||
] | ||
} |
35 changes: 35 additions & 0 deletions
35
...ata/spectrum/recipes/mod_integration/sandwichable/pedestal/ancient_meatloaf_sandwich.json
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,35 @@ | ||
{ | ||
"type": "spectrum:pedestal_shapeless", | ||
"time": 80, | ||
"tier": "basic", | ||
"magenta": 0, | ||
"yellow": 0, | ||
"cyan": 0, | ||
"black": 0, | ||
"white": 0, | ||
"experience": 0.2, | ||
"ingredients": [ | ||
{ | ||
"item": "spectrum:meatloaf" | ||
}, | ||
{ | ||
"item": "sandwichable:ancient_grain_bread" | ||
}, | ||
{ | ||
"item": "spectrum:clotted_cream" | ||
} | ||
], | ||
"result": { | ||
"item": "spectrum:meatloaf_sandwich", | ||
"count": 6 | ||
}, | ||
"required_advancement": "spectrum:hidden/collect_cookbooks/melochites_cookbook_vol_1", | ||
"fabric:load_conditions": [ | ||
{ | ||
"condition": "fabric:all_mods_loaded", | ||
"values": [ | ||
"sandwichable" | ||
] | ||
} | ||
] | ||
} |
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
19 changes: 0 additions & 19 deletions
19
...urces/data/spectrum/resonance_drops/mod_integration/immersive_weathering/charred_log.json
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...rces/data/spectrum/resonance_drops/mod_integration/immersive_weathering/charred_wood.json
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,24 @@ | ||
{ | ||
"type": "spectrum:drop_self", | ||
"block": { | ||
"blocks": [ | ||
"immersive_weathering:charred_log", | ||
"immersive_weathering:charred_planks", | ||
"immersive_weathering:charred_stairs", | ||
"immersive_weathering:charred_slab", | ||
"immersive_weathering:charred_fence", | ||
"immersive_weathering:charred_gate" | ||
] | ||
}, | ||
"state_properties_to_copy": [ | ||
"smoldering" | ||
], | ||
"fabric:load_conditions": [ | ||
{ | ||
"condition": "fabric:all_mods_loaded", | ||
"values": [ | ||
"immersive_weathering" | ||
] | ||
} | ||
] | ||
} |
19 changes: 0 additions & 19 deletions
19
...rces/data/spectrum/resonance_drops/mod_integration/immersive_weathering/earthen_clay.json
This file was deleted.
Oops, something went wrong.
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
8 changes: 8 additions & 0 deletions
8
...n/resources/data/the_bumblezone/tags/blocks/hanging_garden/forced_disallowed_flowers.json
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,8 @@ | ||
{ | ||
"values": [ | ||
"spectrum:resonant_lily", | ||
"spectrum:amaranth_bushel", | ||
"spectrum:blood_orchid", | ||
"spectrum:doombloom" | ||
] | ||
} |
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