Skip to content

Commit

Permalink
bump to MC 1.21.41
Browse files Browse the repository at this point in the history
  • Loading branch information
ForestOfLight committed Oct 22, 2024
1 parent bab8c7b commit 6413d1a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions Canopy [BP]/manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"format_version": 2,
"header": {
"name": "Canopy [BP] v1.3.4",
"name": "Canopy [BP] v1.3.5",
"description": "Technical informatics & features addon by §aForestOfLight§r.",
"uuid": "7f6b23df-a583-476b-b0e4-87457e65f7c0",
"min_engine_version": [1, 21, 30],
"version": [1, 3, 4]
"version": [1, 3, 5]
},
"modules": [
{
Expand All @@ -26,11 +26,11 @@
"dependencies": [
{
"module_name": "@minecraft/server",
"version": "1.15.0-beta"
"version": "1.16.0-beta"
},
{
"uuid": "bcf34368-ed0c-4cf7-938e-582cccf9950d",
"version": [1, 0, 0]
"uuid": "bcf34368-ed0c-4cf7-938e-582cccf9950d", // Canopy [RP]
"version": [1, 0, 1]
}
]
}
6 changes: 3 additions & 3 deletions Canopy [BP]/scripts/src/rules/cauldronConcreteConversion.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Rule } from "lib/canopy/Canopy";
import { system, world, DimensionTypes, ItemStack } from "@minecraft/server";
import { system, world, DimensionTypes, ItemStack, FluidType } from "@minecraft/server";

const CONVERSION_TIME = 20*7;
const CURRENT_CONVERSIONS = {};
Expand Down Expand Up @@ -41,8 +41,8 @@ function isInWaterCauldron(dimension, itemEntity) {
const block = dimension.getBlock(itemEntity.location);
if (block?.typeId !== 'minecraft:cauldron')
return false;
const waterContainerComponent = block.getComponent('minecraft:waterContainer');
if (waterContainerComponent?.fillLevel === 6)
const fluidContainerComponent = block.getComponent('fluidContainer');
if (fluidContainerComponent.getFluidType() === FluidType.Water && fluidContainerComponent?.fillLevel === 6)
return true;
}

Expand Down
8 changes: 4 additions & 4 deletions Canopy [RP]/manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"format_version": 2,
"header": {
"name": "Canopy [RP] v1.3.4",
"name": "Canopy [RP] v1.3.5",
"description": "Technical informatics & features addon by §aForestOfLight§r.",
"uuid": "bcf34368-ed0c-4cf7-938e-582cccf9950d",
"version": [1, 0, 0],
"version": [1, 0, 1],
"min_engine_version": [1,17,0]
},
"modules": [
Expand All @@ -16,8 +16,8 @@
],
"dependencies": [
{
"uuid": "7f6b23df-a583-476b-b0e4-87457e65f7c0",
"version": [1, 3, 4]
"uuid": "7f6b23df-a583-476b-b0e4-87457e65f7c0", // Canopy [BP]
"version": [1, 3, 5]
}
]
}

0 comments on commit 6413d1a

Please sign in to comment.