aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoseGoldIsntGay <yoavkau@gmail.com>2022-01-20 04:33:39 +0200
committerRoseGoldIsntGay <yoavkau@gmail.com>2022-01-20 04:33:39 +0200
commitcb5b4798160d288c4620e9eb6e047cf34735e28e (patch)
tree1a115241565ed4c5d40c3ce8e7ba31a6a538c5e2
parente46e11ebf0cfc244e95ee5299bf3f362f029d24a (diff)
downloadRGA-cb5b4798160d288c4620e9eb6e047cf34735e28e.tar.gz
RGA-cb5b4798160d288c4620e9eb6e047cf34735e28e.tar.bz2
RGA-cb5b4798160d288c4620e9eb6e047cf34735e28e.zip
2.6.1
oops
-rw-r--r--build.gradle2
-rw-r--r--src/main/java/rosegoldaddons/features/CropNuker.java32
2 files changed, 17 insertions, 17 deletions
diff --git a/build.gradle b/build.gradle
index 964d113..0f1a8a0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,7 @@ plugins {
id "org.spongepowered.mixin" version "0.6-SNAPSHOT"
}
-version = "2.6.0"
+version = "2.6.1"
group = "rosegoldaddons"
archivesBaseName = "RoseGoldAddons"
diff --git a/src/main/java/rosegoldaddons/features/CropNuker.java b/src/main/java/rosegoldaddons/features/CropNuker.java
index 208dbd0..0fdbc95 100644
--- a/src/main/java/rosegoldaddons/features/CropNuker.java
+++ b/src/main/java/rosegoldaddons/features/CropNuker.java
@@ -46,12 +46,12 @@ public class CropNuker {
for (BlockPos blockPos : BlockPos.getAllInBox(playerPos.add(vec3i), playerPos.subtract(vec3i))) {
IBlockState blockState = Minecraft.getMinecraft().theWorld.getBlockState(blockPos);
if (blockState.getBlock() == Blocks.nether_wart || blockState.getBlock() == Blocks.potatoes || blockState.getBlock() == Blocks.wheat || blockState.getBlock() == Blocks.carrots || blockState.getBlock() == Blocks.pumpkin || blockState.getBlock() == Blocks.melon_block || blockState.getBlock() == Blocks.brown_mushroom || blockState.getBlock() == Blocks.red_mushroom || blockState.getBlock() == Blocks.cocoa) {
- if(Main.configFile.hardIndex == 0) {
+ if(Main.configFile.farmShapeIndex == 0) {
if (!broken.contains(blockPos)) {
warts.add(new Vec3(blockPos.getX() + 0.5, blockPos.getY(), blockPos.getZ() + 0.5));
}
}
- else if(Main.configFile.hardIndex == 1) {
+ else if(Main.configFile.farmShapeIndex == 1) {
EnumFacing dir = Minecraft.getMinecraft().thePlayer.getHorizontalFacing();
int x = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posX);
int z = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posZ);
@@ -103,12 +103,12 @@ public class CropNuker {
for (BlockPos blockPos : BlockPos.getAllInBox(playerPos.add(vec3i), playerPos.subtract(vec3i))) {
IBlockState blockState = Minecraft.getMinecraft().theWorld.getBlockState(blockPos);
if (blockState.getBlock() == Blocks.nether_wart) {
- if(Main.configFile.hardIndex == 0) {
+ if(Main.configFile.farmShapeIndex == 0) {
if (!broken.contains(blockPos)) {
warts.add(new Vec3(blockPos.getX() + 0.5, blockPos.getY(), blockPos.getZ() + 0.5));
}
}
- else if(Main.configFile.hardIndex == 1) {
+ else if(Main.configFile.farmShapeIndex == 1) {
EnumFacing dir = Minecraft.getMinecraft().thePlayer.getHorizontalFacing();
int x = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posX);
int z = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posZ);
@@ -150,12 +150,12 @@ public class CropNuker {
for (BlockPos blockPos : BlockPos.getAllInBox(playerPos.add(vec3i), playerPos.subtract(vec3i))) {
IBlockState blockState = Minecraft.getMinecraft().theWorld.getBlockState(blockPos);
if (blockState.getBlock() == Blocks.wheat) {
- if(Main.configFile.hardIndex == 0) {
+ if(Main.configFile.farmShapeIndex == 0) {
if (!broken.contains(blockPos)) {
warts.add(new Vec3(blockPos.getX() + 0.5, blockPos.getY(), blockPos.getZ() + 0.5));
}
}
- else if(Main.configFile.hardIndex == 1) {
+ else if(Main.configFile.farmShapeIndex == 1) {
EnumFacing dir = Minecraft.getMinecraft().thePlayer.getHorizontalFacing();
int x = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posX);
int z = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posZ);
@@ -197,12 +197,12 @@ public class CropNuker {
for (BlockPos blockPos : BlockPos.getAllInBox(playerPos.add(vec3i), playerPos.subtract(vec3i))) {
IBlockState blockState = Minecraft.getMinecraft().theWorld.getBlockState(blockPos);
if (blockState.getBlock() == Blocks.carrots) {
- if(Main.configFile.hardIndex == 0) {
+ if(Main.configFile.farmShapeIndex == 0) {
if (!broken.contains(blockPos)) {
warts.add(new Vec3(blockPos.getX() + 0.5, blockPos.getY(), blockPos.getZ() + 0.5));
}
}
- else if(Main.configFile.hardIndex == 1) {
+ else if(Main.configFile.farmShapeIndex == 1) {
EnumFacing dir = Minecraft.getMinecraft().thePlayer.getHorizontalFacing();
int x = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posX);
int z = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posZ);
@@ -244,12 +244,12 @@ public class CropNuker {
for (BlockPos blockPos : BlockPos.getAllInBox(playerPos.add(vec3i), playerPos.subtract(vec3i))) {
IBlockState blockState = Minecraft.getMinecraft().theWorld.getBlockState(blockPos);
if (blockState.getBlock() == Blocks.potatoes) {
- if(Main.configFile.hardIndex == 0) {
+ if(Main.configFile.farmShapeIndex == 0) {
if (!broken.contains(blockPos)) {
warts.add(new Vec3(blockPos.getX() + 0.5, blockPos.getY(), blockPos.getZ() + 0.5));
}
}
- else if(Main.configFile.hardIndex == 1) {
+ else if(Main.configFile.farmShapeIndex == 1) {
EnumFacing dir = Minecraft.getMinecraft().thePlayer.getHorizontalFacing();
int x = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posX);
int z = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posZ);
@@ -291,12 +291,12 @@ public class CropNuker {
for (BlockPos blockPos : BlockPos.getAllInBox(playerPos.add(vec3i), playerPos.subtract(vec3i))) {
IBlockState blockState = Minecraft.getMinecraft().theWorld.getBlockState(blockPos);
if (blockState.getBlock() == Blocks.pumpkin) {
- if(Main.configFile.hardIndex == 0) {
+ if(Main.configFile.farmShapeIndex == 0) {
if (!broken.contains(blockPos)) {
warts.add(new Vec3(blockPos.getX() + 0.5, blockPos.getY(), blockPos.getZ() + 0.5));
}
}
- else if(Main.configFile.hardIndex == 1) {
+ else if(Main.configFile.farmShapeIndex == 1) {
EnumFacing dir = Minecraft.getMinecraft().thePlayer.getHorizontalFacing();
int x = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posX);
int z = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posZ);
@@ -338,12 +338,12 @@ public class CropNuker {
for (BlockPos blockPos : BlockPos.getAllInBox(playerPos.add(vec3i), playerPos.subtract(vec3i))) {
IBlockState blockState = Minecraft.getMinecraft().theWorld.getBlockState(blockPos);
if (blockState.getBlock() == Blocks.melon_block) {
- if(Main.configFile.hardIndex == 0) {
+ if(Main.configFile.farmShapeIndex == 0) {
if (!broken.contains(blockPos)) {
warts.add(new Vec3(blockPos.getX() + 0.5, blockPos.getY(), blockPos.getZ() + 0.5));
}
}
- else if(Main.configFile.hardIndex == 1) {
+ else if(Main.configFile.farmShapeIndex == 1) {
EnumFacing dir = Minecraft.getMinecraft().thePlayer.getHorizontalFacing();
int x = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posX);
int z = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posZ);
@@ -385,12 +385,12 @@ public class CropNuker {
for (BlockPos blockPos : BlockPos.getAllInBox(playerPos.add(vec3i), playerPos.subtract(vec3i))) {
IBlockState blockState = Minecraft.getMinecraft().theWorld.getBlockState(blockPos);
if (blockState.getBlock() == Blocks.cocoa) {
- if(Main.configFile.hardIndex == 0) {
+ if(Main.configFile.farmShapeIndex == 0) {
if (!broken.contains(blockPos)) {
warts.add(new Vec3(blockPos.getX() + 0.5, blockPos.getY(), blockPos.getZ() + 0.5));
}
}
- else if(Main.configFile.hardIndex == 1) {
+ else if(Main.configFile.farmShapeIndex == 1) {
EnumFacing dir = Minecraft.getMinecraft().thePlayer.getHorizontalFacing();
int x = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posX);
int z = (int) Math.floor(Minecraft.getMinecraft().thePlayer.posZ);