Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
TechPizzaDev committed Aug 6, 2023
1 parent 6ce929b commit 8e0e5c6
Show file tree
Hide file tree
Showing 3 changed files with 1,594 additions and 1,590 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

public interface ExGrassBlock {

float grassMultiplier(int var1);
float getGrassMultiplier(int meta);
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import dev.adventurecraft.awakening.ACMod;
import dev.adventurecraft.awakening.client.options.ConnectedGrassOption;
import dev.adventurecraft.awakening.client.options.Config;
import dev.adventurecraft.awakening.common.AC_IBlockColor;
import dev.adventurecraft.awakening.extension.block.AC_TexturedBlock;
import dev.adventurecraft.awakening.extension.block.ExBlock;
Expand Down Expand Up @@ -117,8 +116,8 @@ public void incrementColor(World world, int x, int y, int z) {
}

@Override
public float grassMultiplier(int var1) {
return switch (var1) {
public float getGrassMultiplier(int meta) {
return switch (meta) {
case 2 -> 0.62F;
case 3 -> 0.85F;
case 4 -> -1.0F;
Expand Down
Loading

0 comments on commit 8e0e5c6

Please sign in to comment.