Disable "create fluids are not water" fix

dev
copygirl 2 years ago
parent 53f53827d4
commit 1439d87195
  1. 12
      kubejs/server_scripts/fixes/create_fluids_are_not_water.js
  2. 25
      kubejs/server_scripts/fixes/create_fluids_are_not_water.js.disabled

@ -1,12 +0,0 @@
// priority: 0
onEvent("fluid.tags", event => {
event.get("minecraft:water").remove(
"create:chocolate", "create:honey",
"create_confectionery:black_chocolate",
"create_confectionery:caramel",
"create_confectionery:hot_chocolate",
"create_confectionery:ruby_chocolate",
"create_confectionery:white_chocolate",
);
});

@ -0,0 +1,25 @@
// priority: 0
// FIXME: The following prevents these fluids from showing up in recipes requiring water.
// However, it will also make placed fluids behave like air when it comes to entity
// interactions (swimming, boats), which is arguably more broken than odd recipes.
onEvent("fluid.tags", event => {
event.get("minecraft:water").remove([
"create:chocolate",
"create:honey",
"create_confectionery:black_chocolate",
"create_confectionery:caramel",
"create_confectionery:hot_chocolate",
"create_confectionery:ruby_chocolate",
"create_confectionery:white_chocolate",
"create:flowing_chocolate",
"create:flowing_honey",
"create_confectionery:flowing_black_chocolate",
"create_confectionery:flowing_caramel",
"create_confectionery:flowing_hot_chocolate",
"create_confectionery:flowing_ruby_chocolate",
"create_confectionery:flowing_white_chocolate",
]);
});
Loading…
Cancel
Save