-
[1.11.2] Adding multiple Collision Boxes
I added this to the bottom of the code, @Override public void addCollisionBoxToList(IBlockState state, World worldIn, BlockPos pos, AxisAlignedBB entityBox, List<AxisAlignedBB> collidingBoxes, @Nullable Entity entityIn, boolean p_185477_7_) { for (AxisAlignedBB axisalignedbb : getCollisionBoxList(state)) { addCollisionBoxToList(pos, entityBox, collidingBoxes, axisalignedbb); } } But I get a huge error 2017-04-16 19:05:30,887 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2017-04-16 19:05:30,891 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [19:05:31] [main/INFO] [GradleStart]: Extra: [] [19:05:31] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/rushx/.gradle/caches/minecraft/assets, --assetIndex, 1.11, --accessToken{REDACTED}, --version, 1.11.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [19:05:31] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [19:05:31] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [19:05:31] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [19:05:31] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [19:05:31] [main/INFO] [FML]: Forge Mod Loader version 13.20.0.2228 for Minecraft 1.11.2 loading [19:05:31] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_101, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_101 [19:05:31] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [19:05:31] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [19:05:31] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [19:05:31] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [19:05:31] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [19:05:31] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [19:05:31] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [19:05:31] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [19:05:31] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [19:05:31] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [19:05:31] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [19:05:34] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [19:05:34] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [19:05:34] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [19:05:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [19:05:36] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [19:05:36] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [19:05:36] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} 2017-04-16 19:05:37,687 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2017-04-16 19:05:37,755 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2017-04-16 19:05:37,763 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [19:05:38] [Client thread/INFO]: Setting user: Player681 [19:05:50] [Client thread/WARN]: Skipping bad option: lastServer: [19:05:50] [Client thread/INFO]: LWJGL Version: 2.9.4 [19:05:51] [Client thread/INFO]: [STDOUT]: ---- Minecraft Crash Report ---- // I let you down. Sorry :( Time: 4/16/17 7:05 PM Description: Loading screen debug info This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.11.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_101, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 4059496032 bytes (3871 MB) / 4260102144 bytes (4062 MB) up to 4260102144 bytes (4062 MB) JVM Flags: 3 total; -Xincgc -Xmx4096M -Xms4096M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.4531' Renderer: 'Intel(R) HD Graphics 5500' [19:05:51] [Client thread/INFO] [FML]: MinecraftForge v13.20.0.2228 Initialized [19:05:52] [Client thread/INFO] [FML]: Replaced 232 ore recipes [19:05:53] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [19:05:53] [Client thread/INFO] [FML]: Searching C:\Users\rushx\Desktop\MC Modding\run\mods for mods [19:05:56] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load [19:05:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, hthd] at CLIENT [19:05:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, hthd] at SERVER [19:05:58] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TH Decor [19:05:58] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [19:05:58] [Client thread/INFO] [FML]: Found 444 ObjectHolder annotations [19:05:58] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [19:05:58] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [19:05:58] [Client thread/INFO] [FML]: Applying holder lookups [19:05:58] [Client thread/INFO] [FML]: Holder lookups applied [19:05:58] [Client thread/INFO] [FML]: Applying holder lookups [19:05:58] [Client thread/INFO] [FML]: Holder lookups applied [19:05:58] [Client thread/INFO] [FML]: Applying holder lookups [19:05:58] [Client thread/INFO] [FML]: Holder lookups applied [19:05:58] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [19:05:58] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockruby} has been registered twice for the same name hthd:blockruby. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:42) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:35)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockwoodtable} has been registered twice for the same name hthd:blockwoodtable. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:43) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:35)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockstonetable} has been registered twice for the same name hthd:blockstonetable. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:44) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:35)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockwoodchair} has been registered twice for the same name hthd:blockwoodchair. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:45) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:35)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockstonechair} has been registered twice for the same name hthd:blockstonechair. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:46) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:35)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockruby} has been registered twice for the same name hthd:blockruby. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:42) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:36)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockwoodtable} has been registered twice for the same name hthd:blockwoodtable. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:43) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:36)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockstonetable} has been registered twice for the same name hthd:blockstonetable. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:44) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:36)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockwoodchair} has been registered twice for the same name hthd:blockwoodchair. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:45) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:36)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockstonechair} has been registered twice for the same name hthd:blockstonechair. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:46) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:36)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockruby} has been registered twice for the same name hthd:blockruby. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:42) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:37)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockwoodtable} has been registered twice for the same name hthd:blockwoodtable. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:43) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:37)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockstonetable} has been registered twice for the same name hthd:blockstonetable. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:44) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:37)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockwoodchair} has been registered twice for the same name hthd:blockwoodchair. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:45) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:37)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockstonechair} has been registered twice for the same name hthd:blockstonechair. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:46) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:37)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockruby} has been registered twice for the same name hthd:blockruby. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:42) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:38)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockwoodtable} has been registered twice for the same name hthd:blockwoodtable. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:43) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:38)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockstonetable} has been registered twice for the same name hthd:blockstonetable. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:44) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:38)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockwoodchair} has been registered twice for the same name hthd:blockwoodchair. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:45) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:38)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/WARN] [FML]: * The object Block{hthd:blockstonechair} has been registered twice for the same name hthd:blockstonechair. [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:475) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:854) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameData.register_impl(GameData.java:225) [19:05:59] [Client thread/WARN] [FML]: * at net.minecraftforge.fml.common.registry.GameRegistry.register(GameRegistry.java:155) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.registerBlock(ModBlocks.java:46) [19:05:59] [Client thread/WARN] [FML]: * at init.ModBlocks.register(ModBlocks.java:38)... [19:05:59] [Client thread/WARN] [FML]: **************************************** [19:05:59] [Client thread/INFO] [FML]: Applying holder lookups [19:05:59] [Client thread/INFO] [FML]: Holder lookups applied [19:05:59] [Client thread/INFO] [FML]: Injecting itemstacks [19:05:59] [Client thread/INFO] [FML]: Itemstack injection complete [19:05:59] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Found status: UP_TO_DATE Target: null [19:06:04] [Sound Library Loader/INFO]: Starting up SoundSystem... [19:06:05] [Thread-8/INFO]: Initializing LWJGL OpenAL [19:06:05] [Thread-8/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [19:06:05] [Thread-8/INFO]: OpenAL initialized. [19:06:05] [Sound Library Loader/INFO]: Sound engine started [19:06:14] [Client thread/INFO] [FML]: Max texture size: 16384 [19:06:14] [Client thread/INFO]: Created: 16x16 textures-atlas [19:06:16] [Client thread/INFO] [FML]: Injecting itemstacks [19:06:16] [Client thread/INFO] [FML]: Itemstack injection complete [19:06:16] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods [19:06:16] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TH Decor [19:06:21] [Client thread/INFO]: SoundSystem shutting down... [19:06:21] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com [19:06:21] [Sound Library Loader/INFO]: Starting up SoundSystem... [19:06:22] [Thread-10/INFO]: Initializing LWJGL OpenAL [19:06:22] [Thread-10/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [19:06:22] [Thread-10/INFO]: OpenAL initialized. [19:06:22] [Sound Library Loader/INFO]: Sound engine started [19:06:28] [Client thread/INFO] [FML]: Max texture size: 16384 [19:06:28] [Client thread/INFO]: Created: 512x512 textures-atlas [19:06:31] [Client thread/WARN]: Skipping bad option: lastServer: [19:06:33] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id [19:06:37] [Server thread/INFO]: Starting integrated minecraft server version 1.11.2 [19:06:37] [Server thread/INFO]: Generating keypair [19:06:37] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [19:06:37] [Server thread/INFO] [FML]: Found a missing id from the world hthd:blocktable [19:06:37] [Server thread/INFO] [FML]: Applying holder lookups [19:06:37] [Server thread/INFO] [FML]: Holder lookups applied [19:06:38] [Server thread/INFO] [FML]: Loading dimension 0 (Test World) (net.minecraft.server.integrated.IntegratedServer@548b0c4d) [19:06:38] [Server thread/INFO] [FML]: Loading dimension 1 (Test World) (net.minecraft.server.integrated.IntegratedServer@548b0c4d) [19:06:38] [Server thread/INFO] [FML]: Loading dimension -1 (Test World) (net.minecraft.server.integrated.IntegratedServer@548b0c4d) [19:06:38] [Server thread/INFO]: Preparing start region for level 0 [19:06:40] [Server thread/INFO]: Preparing spawn area: 0% [19:06:41] [Server thread/WARN]: Keeping entity minecraft:pig that already exists with UUID f782674a-0728-4014-a767-97a30b0e6aa2 [19:06:41] [Server thread/INFO]: Preparing spawn area: 34% [19:06:42] [Server thread/INFO]: Preparing spawn area: 87% [19:06:42] [Server thread/INFO]: Changing view distance to 12, from 10 [19:06:45] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2 [19:06:45] [Netty Server IO #1/INFO] [FML]: Client protocol version 2 [19:06:45] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 5 mods : [email protected],[email protected],[email protected],[email protected],[email protected] [19:06:45] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established [19:06:45] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established [19:06:45] [Server thread/INFO]: Player681[local:E:d499007c] logged in with entity id 220 at (-268.730359163814, 65.0, 151.70697052396176) [19:06:45] [Server thread/INFO]: Player681 joined the game [19:06:45] [Server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking player at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:212) ~[NetworkSystem.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:818) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:699) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) ~[IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:548) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_101] Caused by: java.lang.IllegalArgumentException: Cannot get property PropertyEnum{name=half, clazz=class net.minecraft.block.BlockStairs$EnumHalf, values=[top, bottom]} as it does not exist in BlockStateContainer{block=hthd:blockwoodchair, properties=[facing]} at net.minecraft.block.state.BlockStateContainer$StateImplementation.getValue(BlockStateContainer.java:204) ~[BlockStateContainer$StateImplementation.class:?] at com.hugglesbaoyin.THDecor.blocks.BlockWoodChair.getCollisionBoxList(BlockWoodChair.java:218) ~[BlockWoodChair.class:?] at com.hugglesbaoyin.THDecor.blocks.BlockWoodChair.addCollisionBoxToList(BlockWoodChair.java:229) ~[BlockWoodChair.class:?] at net.minecraft.block.state.BlockStateContainer$StateImplementation.addCollisionBoxToList(BlockStateContainer.java:463) ~[BlockStateContainer$StateImplementation.class:?] at net.minecraft.world.World.func_191504_a(World.java:1433) ~[World.class:?] at net.minecraft.world.World.getCollisionBoxes(World.java:1461) ~[World.class:?] at net.minecraft.entity.Entity.move(Entity.java:812) ~[Entity.class:?] at net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(EntityLivingBase.java:2062) ~[EntityLivingBase.class:?] at net.minecraft.entity.player.EntityPlayer.moveEntityWithHeading(EntityPlayer.java:1945) ~[EntityPlayer.class:?] at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2501) ~[EntityLivingBase.class:?] at net.minecraft.entity.player.EntityPlayer.onLivingUpdate(EntityPlayer.java:566) ~[EntityPlayer.class:?] at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2293) ~[EntityLivingBase.class:?] at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:259) ~[EntityPlayer.class:?] at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:371) ~[EntityPlayerMP.class:?] at net.minecraft.network.NetHandlerPlayServer.update(NetHandlerPlayServer.java:176) ~[NetHandlerPlayServer.class:?] at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.update(NetworkDispatcher.java:218) ~[NetworkDispatcher$1.class:?] at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:309) ~[NetworkManager.class:?] at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:197) ~[NetworkSystem.class:?] ... 5 more [19:06:45] [Server thread/ERROR]: This crash report has been saved to: C:\Users\rushx\Desktop\MC Modding\run\.\crash-reports\crash-2017-04-16_19.06.45-server.txt [19:06:45] [Server thread/INFO]: Stopping server [19:06:45] [Server thread/INFO]: Saving players [19:06:45] [Server thread/INFO]: Saving worlds [19:06:45] [Server thread/INFO]: Saving chunks for level 'Test World'/Overworld [19:06:46] [Server thread/INFO]: Saving chunks for level 'Test World'/Nether [19:06:46] [Server thread/INFO]: Saving chunks for level 'Test World'/The End [19:06:47] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: ---- Minecraft Crash Report ---- // I just don't know what went wrong :( Time: 4/16/17 7:06 PM Description: Ticking player java.lang.IllegalArgumentException: Cannot get property PropertyEnum{name=half, clazz=class net.minecraft.block.BlockStairs$EnumHalf, values=[top, bottom]} as it does not exist in BlockStateContainer{block=hthd:blockwoodchair, properties=[facing]} at net.minecraft.block.state.BlockStateContainer$StateImplementation.getValue(BlockStateContainer.java:204) at com.hugglesbaoyin.THDecor.blocks.BlockWoodChair.getCollisionBoxList(BlockWoodChair.java:218) at com.hugglesbaoyin.THDecor.blocks.BlockWoodChair.addCollisionBoxToList(BlockWoodChair.java:229) at net.minecraft.block.state.BlockStateContainer$StateImplementation.addCollisionBoxToList(BlockStateContainer.java:463) at net.minecraft.world.World.func_191504_a(World.java:1433) at net.minecraft.world.World.getCollisionBoxes(World.java:1461) at net.minecraft.entity.Entity.move(Entity.java:812) at net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(EntityLivingBase.java:2062) at net.minecraft.entity.player.EntityPlayer.moveEntityWithHeading(EntityPlayer.java:1945) at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2501) at net.minecraft.entity.player.EntityPlayer.onLivingUpdate(EntityPlayer.java:566) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2293) at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:259) at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:371) at net.minecraft.network.NetHandlerPlayServer.update(NetHandlerPlayServer.java:176) at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.update(NetworkDispatcher.java:218) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:309) at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:197) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:818) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:699) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:548) at java.lang.Thread.run(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at net.minecraft.block.state.BlockStateContainer$StateImplementation.getValue(BlockStateContainer.java:204) at com.hugglesbaoyin.THDecor.blocks.BlockWoodChair.getCollisionBoxList(BlockWoodChair.java:218) at com.hugglesbaoyin.THDecor.blocks.BlockWoodChair.addCollisionBoxToList(BlockWoodChair.java:229) at net.minecraft.block.state.BlockStateContainer$StateImplementation.addCollisionBoxToList(BlockStateContainer.java:463) at net.minecraft.world.World.func_191504_a(World.java:1433) at net.minecraft.world.World.getCollisionBoxes(World.java:1461) at net.minecraft.entity.Entity.move(Entity.java:812) at net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(EntityLivingBase.java:2062) at net.minecraft.entity.player.EntityPlayer.moveEntityWithHeading(EntityPlayer.java:1945) at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2501) at net.minecraft.entity.player.EntityPlayer.onLivingUpdate(EntityPlayer.java:566) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2293) at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:259) -- Player being ticked -- Details: Entity Type: null (net.minecraft.entity.player.EntityPlayerMP) Entity ID: 220 Entity Name: Player681 Entity's Exact location: -268.73, 65.00, 151.71 Entity's Block location: World: (-269,65,151), Chunk: (at 3,4,7 in -17,9; contains blocks -272,0,144 to -257,255,159), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: null Stacktrace: at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:371) at net.minecraft.network.NetHandlerPlayServer.update(NetHandlerPlayServer.java:176) at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.update(NetworkDispatcher.java:218) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:309) -- Ticking connection -- Details: Connection: net.minecraft.network.NetworkManager@6992cf29 Stacktrace: at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:197) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:818) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:699) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:548) at java.lang.Thread.run(Unknown Source) -- System Details -- Details: Minecraft Version: 1.11.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_101, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 3932838136 bytes (3750 MB) / 4260102144 bytes (4062 MB) up to 4260102144 bytes (4062 MB) JVM Flags: 3 total; -Xincgc -Xmx4096M -Xms4096M IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 FML: MCP 9.38 Powered by Forge 13.20.0.2228 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA minecraft{1.11.2} [Minecraft] (minecraft.jar) UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.0.2228.jar) UCHIJAAAA forge{13.20.0.2228} [Minecraft Forge] (forgeSrc-1.11.2-13.20.0.2228.jar) UCHIJAAAA hthd{0.1} [TH Decor] (bin) Loaded coremods (and transformers): GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. Profiler Position: N/A (disabled) Player Count: 1 / 8; [EntityPlayerMP['Player681'/220, l='Test World', x=-268.73, y=65.00, z=151.71]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' [19:06:47] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2017-04-16_19.06.45-server.txt [19:06:47] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [19:06:47] [Server thread/INFO] [FML]: Unloading dimension 0 [19:06:47] [Server thread/INFO] [FML]: Unloading dimension -1 [19:06:47] [Server thread/INFO] [FML]: Unloading dimension 1 [19:06:47] [Server thread/INFO] [FML]: Applying holder lookups [19:06:47] [Server thread/INFO] [FML]: Holder lookups applied [19:06:47] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [19:06:47] [Client thread/INFO] [FML]: Server terminated. [19:06:47] [Client Shutdown Thread/INFO]: Stopping server [19:06:47] [Client Shutdown Thread/INFO]: Saving players AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
-
[1.11.2] Adding multiple Collision Boxes
package com.hugglesbaoyin.THDecor.blocks; import java.util.List; import java.util.Random; import com.google.common.collect.Lists; import com.hugglesbaoyin.THDecor.Reference; import net.minecraft.block.material.Material; import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.PropertyBool; import net.minecraft.block.properties.PropertyDirection; import net.minecraft.block.properties.PropertyEnum; import net.minecraft.block.state.BlockStateContainer; import net.minecraft.block.state.IBlockState; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.init.Blocks; import net.minecraft.init.SoundEvents; import net.minecraft.item.Item; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.BlockRenderLayer; import net.minecraft.util.EnumBlockRenderType; import net.minecraft.util.EnumFacing; import net.minecraft.util.EnumParticleTypes; import net.minecraft.util.Mirror; import net.minecraft.util.Rotation; import net.minecraft.util.SoundCategory; import net.minecraft.util.math.AxisAlignedBB; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IBlockAccess; import net.minecraft.world.World; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import net.minecraft.block.*; public class BlockWoodChair extends Block { public static final PropertyDirection FACING = BlockHorizontal.FACING; private static final AxisAlignedBB BOUNDING_BOX = new AxisAlignedBB(0f, 0f, 0f, 1.0f, 0.5f, 1.0f); public static final PropertyEnum<BlockStairs.EnumHalf> HALF = PropertyEnum.<BlockStairs.EnumHalf>create("half", BlockStairs.EnumHalf.class); public static final PropertyEnum<BlockStairs.EnumShape> SHAPE = PropertyEnum.<BlockStairs.EnumShape>create("shape", BlockStairs.EnumShape.class); protected static final AxisAlignedBB AABB_CHAIR_BOTTOM = new AxisAlignedBB(0.0D, 0.0D, 0.0D, 1.0D, 0.5D, 1.0D); /** * B: .. T: x. * B: .. T: x. */ protected static final AxisAlignedBB AABB_CHAIR_TOP = new AxisAlignedBB(0.0D, 0.5D, 0.0D, 1.0D, 1.0D, 1.0D/16*2); /** * B: x. T: .. * B: x. T: .. */ private static boolean isModel = true; public BlockWoodChair() { super(Material.WOOD); setUnlocalizedName(Reference.THDecorBlocks.WOODCHAIRBLOCK.getUnlocalizedName()); setRegistryName(Reference.THDecorBlocks.WOODCHAIRBLOCK.getRegistyName()); setHardness(2.0f); //setLightLevel(4.0f); setResistance(2.0f); setSoundType(SoundType.WOOD); this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.NORTH)); this.setCreativeTab(CreativeTabs.DECORATIONS); } /** * Called after the block is set in the Chunk data, but before the Tile Entity is set */ @Override public void onBlockAdded(World worldIn, BlockPos pos, IBlockState state) { this.setDefaultFacing(worldIn, pos, state); } private void setDefaultFacing(World worldIn, BlockPos pos, IBlockState state) { if (!worldIn.isRemote) { IBlockState iblockstate = worldIn.getBlockState(pos.north()); IBlockState iblockstate1 = worldIn.getBlockState(pos.south()); IBlockState iblockstate2 = worldIn.getBlockState(pos.west()); IBlockState iblockstate3 = worldIn.getBlockState(pos.east()); EnumFacing enumfacing = (EnumFacing)state.getValue(FACING); if (enumfacing == EnumFacing.NORTH && iblockstate.isFullBlock() && !iblockstate1.isFullBlock()) { enumfacing = EnumFacing.SOUTH; } else if (enumfacing == EnumFacing.SOUTH && iblockstate1.isFullBlock() && !iblockstate.isFullBlock()) { enumfacing = EnumFacing.NORTH; } else if (enumfacing == EnumFacing.WEST && iblockstate2.isFullBlock() && !iblockstate3.isFullBlock()) { enumfacing = EnumFacing.EAST; } else if (enumfacing == EnumFacing.EAST && iblockstate3.isFullBlock() && !iblockstate2.isFullBlock()) { enumfacing = EnumFacing.WEST; } worldIn.setBlockState(pos, state.withProperty(FACING, enumfacing), 2); } } public static void setState(boolean active, World worldIn, BlockPos pos) { IBlockState iblockstate = worldIn.getBlockState(pos); TileEntity tileentity = worldIn.getTileEntity(pos); if (tileentity != null) { tileentity.validate(); worldIn.setTileEntity(pos, tileentity); } } /** * Called by ItemBlocks just before a block is actually set in the world, to allow for adjustments to the * IBlockstate */ @Override public IBlockState getStateForPlacement(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer) { return this.getDefaultState().withProperty(FACING, placer.getHorizontalFacing().getOpposite()); } /** * The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, * LIQUID for vanilla liquids, INVISIBLE to skip all rendering */ @Override public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } /** * Convert the given metadata into a BlockState for this Block */ @Override public IBlockState getStateFromMeta(int meta) { EnumFacing enumfacing = EnumFacing.getFront(meta); if (enumfacing.getAxis() == EnumFacing.Axis.Y) { enumfacing = EnumFacing.NORTH; } return this.getDefaultState().withProperty(FACING, enumfacing); } /** * Convert the BlockState into the correct metadata value */ @Override public int getMetaFromState(IBlockState state) { return ((EnumFacing)state.getValue(FACING)).getIndex(); } /** * Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed * blockstate. */ @Override public IBlockState withRotation(IBlockState state, Rotation rot) { return state.withProperty(FACING, rot.rotate((EnumFacing)state.getValue(FACING))); } /** * Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed * blockstate. */ @Override public IBlockState withMirror(IBlockState state, Mirror mirrorIn) { return state.withRotation(mirrorIn.toRotation((EnumFacing)state.getValue(FACING))); } @Override protected BlockStateContainer createBlockState() { return new BlockStateContainer(this, new IProperty[] {FACING}); } @Override public boolean isFullCube(IBlockState state) { return false; } @Override public boolean isOpaqueCube(IBlockState state) { return false; } private static List<AxisAlignedBB> getCollisionBoxList(IBlockState bstate) { List<AxisAlignedBB> list = Lists.<AxisAlignedBB>newArrayList(); boolean flag = bstate.getValue(HALF) == BlockStairs.EnumHalf.TOP; list.add(flag ? AABB_CHAIR_TOP : AABB_CHAIR_BOTTOM); BlockStairs.EnumShape blockstairs$enumshape = (BlockStairs.EnumShape)bstate.getValue(SHAPE); return list; } }
-
[1.11.2] Adding multiple Collision Boxes
I did what you said, I also removed the old code for bounding boxes, I also get a error if I try to Override the method. It just sets the bounding box to the normal cube.
-
[1.11.2] Adding multiple Collision Boxes
I looked through the Stairs Block, What am I doing wrong? package com.hugglesbaoyin.THDecor.blocks; import java.util.List; import java.util.Random; import com.google.common.collect.Lists; import com.hugglesbaoyin.THDecor.Reference; import net.minecraft.block.material.Material; import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.PropertyBool; import net.minecraft.block.properties.PropertyDirection; import net.minecraft.block.properties.PropertyEnum; import net.minecraft.block.state.BlockStateContainer; import net.minecraft.block.state.IBlockState; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.init.Blocks; import net.minecraft.init.SoundEvents; import net.minecraft.item.Item; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.BlockRenderLayer; import net.minecraft.util.EnumBlockRenderType; import net.minecraft.util.EnumFacing; import net.minecraft.util.EnumParticleTypes; import net.minecraft.util.Mirror; import net.minecraft.util.Rotation; import net.minecraft.util.SoundCategory; import net.minecraft.util.math.AxisAlignedBB; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IBlockAccess; import net.minecraft.world.World; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import net.minecraft.block.*; public class BlockWoodChair extends Block { public static final PropertyDirection FACING = BlockHorizontal.FACING; private static final AxisAlignedBB BOUNDING_BOX = new AxisAlignedBB(0f, 0f, 0f, 1.0f, 0.5f, 1.0f); public static final PropertyEnum<BlockStairs.EnumHalf> HALF = PropertyEnum.<BlockStairs.EnumHalf>create("half", BlockStairs.EnumHalf.class); public static final PropertyEnum<BlockStairs.EnumShape> SHAPE = PropertyEnum.<BlockStairs.EnumShape>create("shape", BlockStairs.EnumShape.class); /** * B: .. T: xx * B: .. T: xx */ protected static final AxisAlignedBB AABB_SLAB_TOP = new AxisAlignedBB(0.0D, 0.0D, 0.0D, 1.0D, 0.5D, 1.0D); /** * B: .. T: x. * B: .. T: x. */ protected static final AxisAlignedBB AABB_SLAB_BOTTOM = new AxisAlignedBB(0.0D, 0.5D, 0.0D, 1.0D, 0.5D, 1.0D/16*2); /** * B: x. T: .. * B: x. T: .. */ private static boolean isModel = true; public BlockWoodChair() { super(Material.WOOD); setUnlocalizedName(Reference.THDecorBlocks.WOODCHAIRBLOCK.getUnlocalizedName()); setRegistryName(Reference.THDecorBlocks.WOODCHAIRBLOCK.getRegistyName()); setHardness(2.0f); //setLightLevel(4.0f); setResistance(2.0f); setSoundType(SoundType.WOOD); this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.NORTH)); this.setCreativeTab(CreativeTabs.DECORATIONS); } /** * Called after the block is set in the Chunk data, but before the Tile Entity is set */ @Override public void onBlockAdded(World worldIn, BlockPos pos, IBlockState state) { this.setDefaultFacing(worldIn, pos, state); } private void setDefaultFacing(World worldIn, BlockPos pos, IBlockState state) { if (!worldIn.isRemote) { IBlockState iblockstate = worldIn.getBlockState(pos.north()); IBlockState iblockstate1 = worldIn.getBlockState(pos.south()); IBlockState iblockstate2 = worldIn.getBlockState(pos.west()); IBlockState iblockstate3 = worldIn.getBlockState(pos.east()); EnumFacing enumfacing = (EnumFacing)state.getValue(FACING); if (enumfacing == EnumFacing.NORTH && iblockstate.isFullBlock() && !iblockstate1.isFullBlock()) { enumfacing = EnumFacing.SOUTH; } else if (enumfacing == EnumFacing.SOUTH && iblockstate1.isFullBlock() && !iblockstate.isFullBlock()) { enumfacing = EnumFacing.NORTH; } else if (enumfacing == EnumFacing.WEST && iblockstate2.isFullBlock() && !iblockstate3.isFullBlock()) { enumfacing = EnumFacing.EAST; } else if (enumfacing == EnumFacing.EAST && iblockstate3.isFullBlock() && !iblockstate2.isFullBlock()) { enumfacing = EnumFacing.WEST; } worldIn.setBlockState(pos, state.withProperty(FACING, enumfacing), 2); } } public static void setState(boolean active, World worldIn, BlockPos pos) { IBlockState iblockstate = worldIn.getBlockState(pos); TileEntity tileentity = worldIn.getTileEntity(pos); if (tileentity != null) { tileentity.validate(); worldIn.setTileEntity(pos, tileentity); } } /** * Called by ItemBlocks just before a block is actually set in the world, to allow for adjustments to the * IBlockstate */ @Override public IBlockState getStateForPlacement(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer) { return this.getDefaultState().withProperty(FACING, placer.getHorizontalFacing().getOpposite()); } /** * The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, * LIQUID for vanilla liquids, INVISIBLE to skip all rendering */ @Override public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } /** * Convert the given metadata into a BlockState for this Block */ @Override public IBlockState getStateFromMeta(int meta) { EnumFacing enumfacing = EnumFacing.getFront(meta); if (enumfacing.getAxis() == EnumFacing.Axis.Y) { enumfacing = EnumFacing.NORTH; } return this.getDefaultState().withProperty(FACING, enumfacing); } /** * Convert the BlockState into the correct metadata value */ @Override public int getMetaFromState(IBlockState state) { return ((EnumFacing)state.getValue(FACING)).getIndex(); } /** * Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed * blockstate. */ @Override public IBlockState withRotation(IBlockState state, Rotation rot) { return state.withProperty(FACING, rot.rotate((EnumFacing)state.getValue(FACING))); } /** * Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed * blockstate. */ @Override public IBlockState withMirror(IBlockState state, Mirror mirrorIn) { return state.withRotation(mirrorIn.toRotation((EnumFacing)state.getValue(FACING))); } @Override protected BlockStateContainer createBlockState() { return new BlockStateContainer(this, new IProperty[] {FACING}); } @Override public boolean isFullCube(IBlockState state) { return false; } @Override public boolean isOpaqueCube(IBlockState state) { return false; } @Override public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) { return BOUNDING_BOX; } public AxisAlignedBB getCollisionBoundingBox(IBlockState blockState, World worldIn, BlockPos pos) { return BOUNDING_BOX; } private static List<AxisAlignedBB> getCollisionBoxList(IBlockState bstate) { List<AxisAlignedBB> list = Lists.<AxisAlignedBB>newArrayList(); boolean flag = bstate.getValue(HALF) == BlockStairs.EnumHalf.TOP; list.add(flag ? AABB_SLAB_TOP : AABB_SLAB_BOTTOM); BlockStairs.EnumShape blockstairs$enumshape = (BlockStairs.EnumShape)bstate.getValue(SHAPE); return list; } } Sorry to keep bugging you, I not had too much sleep so probably seems obvious
-
[1.11.2] Adding multiple Collision Boxes
I used List in Java before but never like this.. List<Array> or something like that.. Been awhile Sorry
-
[1.11.2] Adding multiple Collision Boxes
Could you give me a code snippet example Please?
-
[1.11.2] Adding multiple Collision Boxes
Here is my Wood Chair package com.hugglesbaoyin.THDecor.blocks; import java.util.Random; import com.hugglesbaoyin.THDecor.Reference; import net.minecraft.block.material.Material; import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.PropertyBool; import net.minecraft.block.properties.PropertyDirection; import net.minecraft.block.properties.PropertyEnum; import net.minecraft.block.state.BlockStateContainer; import net.minecraft.block.state.IBlockState; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.EntityLivingBase; import net.minecraft.init.Blocks; import net.minecraft.init.SoundEvents; import net.minecraft.item.Item; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.BlockRenderLayer; import net.minecraft.util.EnumBlockRenderType; import net.minecraft.util.EnumFacing; import net.minecraft.util.EnumParticleTypes; import net.minecraft.util.Mirror; import net.minecraft.util.Rotation; import net.minecraft.util.SoundCategory; import net.minecraft.util.math.AxisAlignedBB; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IBlockAccess; import net.minecraft.world.World; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import net.minecraft.block.*; public class BlockWoodChair extends Block { public static final PropertyDirection FACING = BlockHorizontal.FACING; private static final AxisAlignedBB BOUNDING_BOX = new AxisAlignedBB(0f, 0f, 0f, 1.0f, 0.5f, 1.0f); private static boolean isModel = true; public BlockWoodChair() { super(Material.WOOD); setUnlocalizedName(Reference.THDecorBlocks.WOODCHAIRBLOCK.getUnlocalizedName()); setRegistryName(Reference.THDecorBlocks.WOODCHAIRBLOCK.getRegistyName()); setHardness(2.0f); //setLightLevel(4.0f); setResistance(2.0f); setSoundType(SoundType.WOOD); this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.NORTH)); this.setCreativeTab(CreativeTabs.DECORATIONS); } /** * Called after the block is set in the Chunk data, but before the Tile Entity is set */ @Override public void onBlockAdded(World worldIn, BlockPos pos, IBlockState state) { this.setDefaultFacing(worldIn, pos, state); } private void setDefaultFacing(World worldIn, BlockPos pos, IBlockState state) { if (!worldIn.isRemote) { IBlockState iblockstate = worldIn.getBlockState(pos.north()); IBlockState iblockstate1 = worldIn.getBlockState(pos.south()); IBlockState iblockstate2 = worldIn.getBlockState(pos.west()); IBlockState iblockstate3 = worldIn.getBlockState(pos.east()); EnumFacing enumfacing = (EnumFacing)state.getValue(FACING); if (enumfacing == EnumFacing.NORTH && iblockstate.isFullBlock() && !iblockstate1.isFullBlock()) { enumfacing = EnumFacing.SOUTH; } else if (enumfacing == EnumFacing.SOUTH && iblockstate1.isFullBlock() && !iblockstate.isFullBlock()) { enumfacing = EnumFacing.NORTH; } else if (enumfacing == EnumFacing.WEST && iblockstate2.isFullBlock() && !iblockstate3.isFullBlock()) { enumfacing = EnumFacing.EAST; } else if (enumfacing == EnumFacing.EAST && iblockstate3.isFullBlock() && !iblockstate2.isFullBlock()) { enumfacing = EnumFacing.WEST; } worldIn.setBlockState(pos, state.withProperty(FACING, enumfacing), 2); } } public static void setState(boolean active, World worldIn, BlockPos pos) { IBlockState iblockstate = worldIn.getBlockState(pos); TileEntity tileentity = worldIn.getTileEntity(pos); if (tileentity != null) { tileentity.validate(); worldIn.setTileEntity(pos, tileentity); } } /** * Called by ItemBlocks just before a block is actually set in the world, to allow for adjustments to the * IBlockstate */ @Override public IBlockState getStateForPlacement(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer) { return this.getDefaultState().withProperty(FACING, placer.getHorizontalFacing().getOpposite()); } /** * The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, * LIQUID for vanilla liquids, INVISIBLE to skip all rendering */ @Override public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } /** * Convert the given metadata into a BlockState for this Block */ @Override public IBlockState getStateFromMeta(int meta) { EnumFacing enumfacing = EnumFacing.getFront(meta); if (enumfacing.getAxis() == EnumFacing.Axis.Y) { enumfacing = EnumFacing.NORTH; } return this.getDefaultState().withProperty(FACING, enumfacing); } /** * Convert the BlockState into the correct metadata value */ @Override public int getMetaFromState(IBlockState state) { return ((EnumFacing)state.getValue(FACING)).getIndex(); } /** * Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed * blockstate. */ @Override public IBlockState withRotation(IBlockState state, Rotation rot) { return state.withProperty(FACING, rot.rotate((EnumFacing)state.getValue(FACING))); } /** * Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed * blockstate. */ @Override public IBlockState withMirror(IBlockState state, Mirror mirrorIn) { return state.withRotation(mirrorIn.toRotation((EnumFacing)state.getValue(FACING))); } @Override protected BlockStateContainer createBlockState() { return new BlockStateContainer(this, new IProperty[] {FACING}); } @Override public boolean isFullCube(IBlockState state) { return false; } @Override public boolean isOpaqueCube(IBlockState state) { return false; } @Override public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) { return BOUNDING_BOX; } public AxisAlignedBB getCollisionBoundingBox(IBlockState blockState, World worldIn, BlockPos pos) { return BOUNDING_BOX; } } I'm just wondering how to make multiple Collision boxes as that is only one, or a complex collision model.. Or load collision from .json object, How would I go about doing this? I've looked everywhere but are all old tutorials. Thanks
IPS spam blocked by CleanTalk.