Skip to content

Commit

Permalink
0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
augustresende committed Aug 16, 2020
1 parent 540b68c commit f9b45ba
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This version (0.2.0) adds configuration (you can disable everything that you don't want) and support for 1.16.2
This version (0.2.1) adds configuration (you can disable everything that you don't want) and support for 1.16.2.
Still works on 1.16.1, Forge & Fabric (tested).
2 changes: 1 addition & 1 deletion forge/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
org.gradle.jvmargs=-Xmx4G
org.gradle.daemon=false

mod_version=0.2.0
mod_version=0.2.1
mod_id=vanillaexperience
mc_version=1.16.2
forge_version=33.0.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public ZeroTickAbstractPlantBlock(Properties propertiesIn) {
super(propertiesIn);
}

@Inject(at = @At("TAIL"), method = "tick")
@Inject(at = @At("TAIL"), method = "tick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/server/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V")
public void tick(final BlockState state, final ServerWorld world, final BlockPos pos, final Random random, CallbackInfo info) {
if(!world.isAirBlock(pos.down())) {
this.randomTick(state, world, pos, random);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ZeroTickAbstractTopPlantBlock {
@Shadow
public void randomTick(final BlockState state, final ServerWorld world, final BlockPos pos, final Random random) {}

@Inject(at = @At("TAIL"), method = "tick")
@Inject(at = @At("TAIL"), method = "tick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/server/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V")
public void tick(final BlockState state, final ServerWorld world, final BlockPos pos, final Random random, CallbackInfo info) {
if(!world.isAirBlock(pos.down())) {
this.randomTick(state, world, pos, random);
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx4G
org.gradle.daemon=false
mod_version=0.2.0
mod_version=0.2.1
mod_id=vanillaexperience
mc_version=1.16.2
forge_version=32.0.108
Expand Down

0 comments on commit f9b45ba

Please sign in to comment.