Skip to content

Commit

Permalink
1.16.2
Browse files Browse the repository at this point in the history
  • Loading branch information
parzivail committed Aug 28, 2020
1 parent d8d3198 commit c8c1900
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/use
minecraft_version=1.15.2
yarn_mappings=1.15.2+build.7
loader_version=0.8.2+build.194
minecraft_version=1.16.2
yarn_mappings=1.16.2+build.1
loader_version=0.9.1+build.205
# Mod Properties
mod_version=1.0.1
mod_version=2.0.1
maven_group=com.parzivail
archives_base_name=clockwork
# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_version=0.16.2+build.322-1.15
fabric_version=0.17.2+build.396-1.16
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEnt
world.setBlockState(pos, state.cycle(OFF_INTERVAL), 3);
int off = world.getBlockState(pos).get(OFF_INTERVAL);
int on = world.getBlockState(pos).get(ON_INTERVAL);
player.addChatMessage(new TranslatableText("block.clockwork.variable_clock.off_interval", off, off + on), true);
player.sendMessage(new TranslatableText("block.clockwork.variable_clock.off_interval", off, off + on), true);
}
else
{
world.setBlockState(pos, state.cycle(ON_INTERVAL), 3);
int off = world.getBlockState(pos).get(OFF_INTERVAL);
int on = world.getBlockState(pos).get(ON_INTERVAL);
player.addChatMessage(new TranslatableText("block.clockwork.variable_clock.on_interval", on, off + on), true);
player.sendMessage(new TranslatableText("block.clockwork.variable_clock.on_interval", on, off + on), true);
}
return ActionResult.SUCCESS;
}
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 @@ -25,7 +25,7 @@
"depends": {
"fabricloader": ">=0.7.2",
"fabric": "*",
"minecraft": "1.15.x"
"minecraft": "1.16.x"
},
"suggests": {
"flamingo": "*"
Expand Down

0 comments on commit c8c1900

Please sign in to comment.