Skip to content

Commit

Permalink
mc1.14.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Plastoid501 committed Jul 15, 2024
1 parent 29075f4 commit fa35970
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.15.2
yarn_mappings=1.15.2+build.17
minecraft_version=1.14.4
yarn_mappings=1.14.4+build.18
loader_version=0.15.11

# Mod Properties
mod_version=1.0.0
maven_group=net.plastoid501.rpll
archives_base_name=restrict-placement-of-lava-in-lava-mc1.15.x
archives_base_name=restrict-placement-of-lava-in-lava-mc1.14.x

# Dependencies
fabric_version=0.28.5+1.15
fabric_version=0.28.5+1.14
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ private void onInteractBlock(ClientPlayerEntity player, ClientWorld world, Hand
ItemStack itemStack = player.getStackInHand(hand);
if (itemStack.getItem() == Items.LAVA_BUCKET) {
if (player.clientWorld.getBlockState(blockPos2).getFluidState().getFluid() == Fluids.LAVA) {
cir.setReturnValue(TypedActionResult.fail(itemStack).getResult());
cir.setReturnValue(ActionResult.FAIL);
cir.cancel();
player.addChatMessage(new LiteralText("Restrict Placement of Lava in Lava"), true);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"restrict-placement-of-lava-in-lava.mixins.json"
],
"depends": {
"minecraft": "1.15.x"
"minecraft": "1.14.x"
},
"suggests": {
"another-mod": "*"
Expand Down

0 comments on commit fa35970

Please sign in to comment.