diff --git a/gradle.properties b/gradle.properties index 3b59893..8ca35da 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,10 +1,6 @@ # Basic Properties mod_id = ChinaCraft -<<<<<<< HEAD -mod_version = 0.3.202 -======= -mod_version = 0.4.206 ->>>>>>> dev +mod_version = 0.4.208 mod_group = unstudio.chinacraft # Minecraft & Forge diff --git a/src/main/java/unstudio/chinacraft/common/ChinaCraft.java b/src/main/java/unstudio/chinacraft/common/ChinaCraft.java index 05a9c0b..bf70419 100644 --- a/src/main/java/unstudio/chinacraft/common/ChinaCraft.java +++ b/src/main/java/unstudio/chinacraft/common/ChinaCraft.java @@ -59,7 +59,7 @@ public class ChinaCraft implements ICollection { public static final String MODID = "chinacraft"; public static final String NAME = "ChinaCraft"; - public static final String VERSION = "0.4.207"; + public static final String VERSION = "0.4.208"; public static final int PROJECT_ID = 1; public static SimpleNetworkWrapper Network; diff --git a/src/main/java/unstudio/chinacraft/item/CCItemLatticeDoor.java b/src/main/java/unstudio/chinacraft/item/CCItemLatticeDoor.java index 77b7175..0740088 100644 --- a/src/main/java/unstudio/chinacraft/item/CCItemLatticeDoor.java +++ b/src/main/java/unstudio/chinacraft/item/CCItemLatticeDoor.java @@ -2,10 +2,12 @@ import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.init.Blocks; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.MathHelper; import net.minecraft.world.World; +import org.apache.commons.lang3.NotImplementedException; import unstudio.chinacraft.common.ChinaCraft; public class CCItemLatticeDoor extends Item { @@ -19,20 +21,21 @@ public boolean onItemUse(ItemStack itemStack, EntityPlayer player, World w, int return false; } else { ++y; - Block block = ChinaCraft.latticeDoor; - - if (player.canPlayerEdit(x, y, z, meta, itemStack) && player.canPlayerEdit(x, y + 1, z, meta, itemStack)) { - if (!block.canPlaceBlockAt(w, x, y, z)) { - return false; - } else { - int i1 = MathHelper.floor_double((double) ((player.rotationYaw + 180.0F) * 4.0F / 360.0F) - 0.5D) & 3; - placeDoorBlock(w, x, y, z, i1, block); - --itemStack.stackSize; - return true; - } - } else { - return false; - } + throw new NotImplementedException("Feature Not Implemented"); +// Block block = ChinaCraft.latticeDoor; +// Block block = Blocks.air; +// if (player.canPlayerEdit(x, y, z, meta, itemStack) && player.canPlayerEdit(x, y + 1, z, meta, itemStack)) { +// if (!block.canPlaceBlockAt(w, x, y, z)) { +// return false; +// } else { +// int i1 = MathHelper.floor_double((double) ((player.rotationYaw + 180.0F) * 4.0F / 360.0F) - 0.5D) & 3; +// placeDoorBlock(w, x, y, z, i1, block); +// --itemStack.stackSize; +// return true; +// } +// } else { +// return false; +// } } } diff --git a/src/main/resources/assets/chinacraft/logo.png b/src/main/resources/assets/chinacraft/logo.png index f77086a..1246b79 100644 Binary files a/src/main/resources/assets/chinacraft/logo.png and b/src/main/resources/assets/chinacraft/logo.png differ diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info index f2204e1..cc1727e 100644 --- a/src/main/resources/mcmod.info +++ b/src/main/resources/mcmod.info @@ -3,11 +3,11 @@ "modid": "chinacraft", "name": "ChinaCraft", "description": "A mod with Chinese features.", - "version": "Beta 0.4.207", + "version": "Beta 0.4.208", "mcversion": "1.7.10", "url": "http://mccraft.cn/project/chinacraft", "updateUrl": "", - "authorList": ["Mouse","Trychen","Huangshize","Mcdarc","Lasm_Gratel", "and so on, more see url.(no order)"], + "authorList": ["Unknown Domain", "Mouse","Trychen","Huangshize","Mcdarc","Lasm_Gratel", "and so on, more see url.(no order)"], "logoFile": "assets/chinacraft/logo.png", "screenshots": [], "dependencies": []