Skip to content

Commit

Permalink
Migrate spilling fluids to a tinkering folder
Browse files Browse the repository at this point in the history
As part of this change, spilling fluid effects no longer sync to client, just the ingredient
  • Loading branch information
KnightMiner committed May 5, 2022
1 parent 6a5e356 commit 1fcc588
Show file tree
Hide file tree
Showing 70 changed files with 1,077 additions and 1,079 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ minecraft_version=1.18.2
minecraft_range=[1.18.2,1.19)

# Forge Version Information
forge_version=40.1.14
forge_version=40.1.16
loader_range=[39.0,)
forge_range=[40.1.3,)
forge_range=[40.1.16,)
parchment_version=2022.03.13

# Build Dependencies
mantle_version=1.9.17
mantle_range=1.9.17,)
mantle_version=1.9.19
mantle_range=1.9.19,)

# Optional compat
jei_version=9.5.3.153
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "forge:beetroot_soup",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "tconstruct:blazing_blood",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "tconstruct:blood",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "tconstruct:spilling/clay",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "forge:ender",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "tconstruct:ender_slime",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "tconstruct:spilling/glass",
"amount": 100
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "forge:honey",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"name": "minecraft:lava",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "tconstruct:liquid_soul",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "forge:magma",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "tconstruct:spilling/metal/average",
"amount": 10
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "tconstruct:spilling/metal/cheap",
"amount": 10
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "tconstruct:spilling/metal/expensive",
"amount": 10
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "forge:milk",
"amount": 100
Expand All @@ -9,8 +8,6 @@
"type": "tconstruct:cure_effects",
"item": "minecraft:milk_bucket"
},
{
"type": "tconstruct:calcified"
}
null
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "forge:molten_gold",
"amount": 10
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "tconstruct:molten_pig_iron",
"amount": 10
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "tconstruct:molten_uranium",
"tag": "forge:molten_uranium",
"amount": 10
},
"effects": [
Expand All @@ -17,15 +16,15 @@
"damage_amount": 1.5
}
},
{
"type": "tconstruct:set_fire",
"time": 3
},
{
"type": "tconstruct:effect",
"name": "minecraft:poison",
"time": 10,
"level": 1
},
{
"type": "tconstruct:set_fire",
"time": 3
}
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "forge:mushroom_stew",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
{
"type": "tconstruct:spilling",
"conditions": [
{
"modid": "create",
"type": "forge:mod_loaded"
}
],
"condition": {
"modid": "create",
"type": "forge:mod_loaded"
},
"fluid": {
"name": "create:potion",
"amount": 125
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"condition": {
"value": {
"registry": "minecraft:fluid",
"tag": "forge:potion",
"type": "mantle:tag_empty"
},
"type": "forge:not"
},
"fluid": {
"tag": "forge:potion",
"amount": 125
},
"effects": [
{
"type": "tconstruct:potion_fluid",
"scale": 0.5
}
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "forge:rabbit_stew",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "tconstruct:sky_slime",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "forge:slime",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"tag": "tconstruct:venom",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"type": "tconstruct:spilling",
"fluid": {
"name": "minecraft:water",
"amount": 50
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import slimeknights.tconstruct.library.materials.stats.UpdateMaterialStatsPacket;
import slimeknights.tconstruct.library.materials.traits.UpdateMaterialTraitsPacket;
import slimeknights.tconstruct.library.modifiers.UpdateModifiersPacket;
import slimeknights.tconstruct.library.modifiers.spilling.UpdateSpillingFluidsPacket;
import slimeknights.tconstruct.library.tools.definition.UpdateToolDefinitionDataPacket;
import slimeknights.tconstruct.library.tools.layout.UpdateTinkerSlotLayoutsPacket;
import slimeknights.tconstruct.shared.network.GeneratePartTexturesPacket;
Expand Down Expand Up @@ -91,6 +92,7 @@ public static void setup() {
instance.registerPacket(TinkerControlPacket.class, TinkerControlPacket::read, NetworkDirection.PLAY_TO_SERVER);
instance.registerPacket(OnChestplateUsePacket.class, OnChestplateUsePacket::read, NetworkDirection.PLAY_TO_SERVER);
instance.registerPacket(UpdateModifiersPacket.class, UpdateModifiersPacket::new, NetworkDirection.PLAY_TO_CLIENT);
instance.registerPacket(UpdateSpillingFluidsPacket.class, UpdateSpillingFluidsPacket::new, NetworkDirection.PLAY_TO_CLIENT);

// smeltery
instance.registerPacket(FluidUpdatePacket.class, FluidUpdatePacket::new, NetworkDirection.PLAY_TO_CLIENT);
Expand Down

0 comments on commit 1fcc588

Please sign in to comment.