Jump to content

shane020482

Members
  • Posts

    72
  • Joined

  • Last visited

Everything posted by shane020482

  1. Let me better explain iv created a block using BlockRotatedPillar which allows me to rotate like the log, however unlike the log my block has a bottom and top so i need be able to detect whether im facing in a pos or neg direction for it to place correctly
  2. Is it possible to use both pos and neg axis to rotate a block like the log but also be affect bu weather you are facing pos or neg
  3. Got it weight needed to put weight after the texture. {"textures": {"all":"cbm:blocks/brick_damaged1"}, "weight": 5},
  4. {"textures": {"weight: 7": "cbm:blocks/brick_damaged1"}}, and { "weight: 7": {"textures": "cbm:blocks/brick_damaged1" }}, Both give no errors blocks show up but no texture variations
  5. I am trying to use forge blockstate to create a block with texture variants. The block and textures work fine however im getting a domain minecraft error. { "forge_marker": 1, "defaults": { "model": "cube_all", "textures": {"all": "cbm:blocks/brick_damaged1"} }, "variants": { "inventory": [{}], "normal": [ {"textures": {"all":"cbm:blocks/brick_damaged1", "weight": 7 }}, {"textures": {"all":"cbm:blocks/brick_damaged2", "weight": 7 }}, {"textures": {"all":"cbm:blocks/brick_damaged3", "weight": 1 }}, {"textures": {"all":"cbm:blocks/brick_damaged4", "weight": 1 }}, {"textures": {"all":"cbm:blocks/brick_damaged5", "weight": 1 }}, {"textures": {"all":"cbm:blocks/brick_damaged6", "weight": 1 }}, {"textures": {"all":"cbm:blocks/brick_damaged7", "weight": 1 }}, {"textures": {"all":"cbm:blocks/brick_damaged8", "weight": 1 }}, {"textures": {"all":"cbm:blocks/brick_damaged9", "weight": 7 }}, {"textures": {"all":"cbm:blocks/brick_damaged10", "weight": 7 }} ] } } 2018-05-24 06:12:17,420 main WARN Disabling terminal, you're running in an unsupported environment. [06:12:17] [main/INFO] [GradleStart]: Extra: [] [06:12:17] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/shane/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [06:12:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [06:12:17] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [06:12:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [06:12:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [06:12:17] [main/INFO] [FML]: Forge Mod Loader version 14.23.3.2691 for Minecraft 1.12.2 loading [06:12:17] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_171, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_171 [06:12:17] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory. [06:12:17] [main/ERROR] [FML]: Full: C:\Users\shane\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar [06:12:17] [main/ERROR] [FML]: Trimmed: c:/users/shane/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/ [06:12:17] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [06:12:17] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin [06:12:17] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin [06:12:17] [main/INFO] [FML]: Searching C:\Users\shane\Desktop\modding\CustomBlocks\run\.\mods for mods [06:12:17] [main/WARN] [FML]: Found FMLCorePluginContainsFMLMod marker in CTM-MC1.12-0.2.3.12.jar. This is not recommended, @Mods should be in a separate jar from the coremod. [06:12:17] [main/WARN] [FML]: The coremod team.chisel.ctm.client.asm.CTMCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [06:12:17] [main/WARN] [FML]: The coremod CTMCorePlugin (team.chisel.ctm.client.asm.CTMCorePlugin) is not signed! [06:12:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [06:12:17] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [06:12:17] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [06:12:17] [main/INFO] [GradleStart]: Injecting location in coremod team.chisel.ctm.client.asm.CTMCorePlugin [06:12:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [06:12:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [06:12:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [06:12:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [06:12:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [06:12:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [06:12:20] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [06:12:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [06:12:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [06:12:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [06:12:20] [main/INFO] [GradleStart]: Remapping AccessTransformer rules... [06:12:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [06:12:20] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [06:12:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [06:12:20] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [06:12:21] [main/INFO] [net.minecraft.client.Minecraft]: Setting user: Player337 [06:12:22] [main/INFO] [STDOUT]: [team.chisel.ctm.client.asm.CTMTransformer:preTransform:185]: Transforming Class [net.minecraft.block.Block], Method [getExtendedState] [06:12:22] [main/INFO] [STDOUT]: [team.chisel.ctm.client.asm.CTMTransformer:finishTransform:197]: Transforming net.minecraft.block.Block Finished. [06:12:26] [main/WARN] [net.minecraft.client.settings.GameSettings]: Skipping bad option: lastServer: [06:12:26] [main/INFO] [net.minecraft.client.Minecraft]: LWJGL Version: 2.9.4 [06:12:27] [main/INFO] [FML]: -- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_171, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 687964592 bytes (656 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): CTMCorePlugin (CTM-MC1.12-0.2.3.12.jar) team.chisel.ctm.client.asm.CTMTransformer GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 397.64' Renderer: 'GeForce GTX 750 Ti/PCIe/SSE2' [06:12:27] [main/INFO] [FML]: MinecraftForge v14.23.3.2691 Initialized [06:12:27] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients. [06:12:27] [main/INFO] [FML]: Replaced 1036 ore ingredients [06:12:28] [main/INFO] [FML]: Searching C:\Users\shane\Desktop\modding\CustomBlocks\run\.\mods for mods [06:12:29] [main/INFO] [FML]: Forge Mod Loader has identified 7 mods to load [06:12:29] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, cbm, ctm, jei] at CLIENT [06:12:29] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, cbm, ctm, jei] at SERVER [06:12:30] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 109387616 nanos [06:12:30] [main/INFO] [net.minecraft.client.resources.SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Custom Blocks, FMLFileResourcePack:CTM, FMLFileResourcePack:Just Enough Items [06:12:30] [main/INFO] [FML]: Processing ObjectHolder annotations [06:12:30] [main/INFO] [FML]: Found 1168 ObjectHolder annotations [06:12:30] [main/INFO] [FML]: Identifying ItemStackHolder annotations [06:12:30] [main/INFO] [FML]: Found 0 ItemStackHolder annotations [06:12:30] [main/INFO] [FML]: Configured a dormant chunk cache size of 0 [06:12:30] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [06:12:30] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: OUTDATED Target: 14.23.3.2702 [06:12:30] [main/INFO] [STDOUT]: [team.chisel.ctm.client.asm.CTMTransformer:preTransform:185]: Transforming Class [net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper], Method [getTextures] [06:12:30] [main/INFO] [STDOUT]: [team.chisel.ctm.client.asm.CTMTransformer:finishTransform:197]: Transforming net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper Finished. [06:12:30] [main/INFO] [STDOUT]: [team.chisel.ctm.client.asm.CTMTransformer:preTransform:185]: Transforming Class [net.minecraft.client.renderer.texture.TextureMap], Method [registerSprite] [06:12:30] [main/INFO] [STDOUT]: [team.chisel.ctm.client.asm.CTMTransformer:finishTransform:197]: Transforming net.minecraft.client.renderer.texture.TextureMap Finished. [06:12:31] [main/INFO] [FML]: Applying holder lookups [06:12:31] [main/INFO] [FML]: Holder lookups applied [06:12:31] [main/INFO] [FML]: Applying holder lookups [06:12:31] [main/INFO] [FML]: Holder lookups applied [06:12:31] [main/INFO] [FML]: Applying holder lookups [06:12:31] [main/INFO] [FML]: Holder lookups applied [06:12:31] [main/INFO] [FML]: Applying holder lookups [06:12:31] [main/INFO] [FML]: Holder lookups applied [06:12:31] [main/INFO] [FML]: Injecting itemstacks [06:12:31] [main/INFO] [FML]: Itemstack injection complete [06:12:34] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Starting up SoundSystem... [06:12:35] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: Initializing LWJGL OpenAL [06:12:35] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [06:12:35] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: OpenAL initialized. [06:12:35] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Sound engine started [06:12:41] [main/INFO] [STDOUT]: [team.chisel.ctm.client.asm.CTMTransformer:preTransform:185]: Transforming Class [net.minecraftforge.client.ForgeHooksClient], Method [getDamageModel] [06:12:41] [main/INFO] [STDOUT]: [team.chisel.ctm.client.asm.CTMTransformer:finishTransform:197]: Transforming net.minecraftforge.client.ForgeHooksClient Finished. [06:12:41] [main/INFO] [FML]: Max texture size: 16384 [06:12:42] [main/INFO] [net.minecraft.client.renderer.texture.TextureMap]: Created: 512x512 textures-atlas [06:12:44] [main/INFO] [FML]: Applying holder lookups [06:12:44] [main/INFO] [FML]: Holder lookups applied [06:12:44] [main/INFO] [FML]: Injecting itemstacks [06:12:44] [main/INFO] [FML]: Itemstack injection complete [06:12:44] [main/INFO] [jei]: Starting JEI... [06:12:44] [main/INFO] [jei]: Registering recipe categories... [06:12:44] [main/INFO] [jei]: Registering recipe categories took 37.47 ms [06:12:44] [main/INFO] [jei]: Registering mod plugins... [06:12:45] [main/INFO] [jei]: Registering mod plugins took 237.8 ms [06:12:45] [main/INFO] [jei]: Building recipe registry... [06:12:45] [main/INFO] [jei]: Building recipe registry took 88.12 ms [06:12:45] [main/INFO] [jei]: Building ingredient list... [06:12:45] [main/INFO] [jei]: Building ingredient list took 38.35 ms [06:12:45] [main/INFO] [jei]: Building ingredient filter... [06:12:45] [main/INFO] [jei]: Building ingredient filter took 199.8 ms [06:12:45] [main/INFO] [jei]: Building runtime... [06:12:45] [main/INFO] [jei]: Building runtime took 116.3 ms [06:12:45] [main/INFO] [jei]: Starting JEI took 966.9 ms [06:12:45] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 7 mods [06:12:45] [main/WARN] [net.minecraft.client.settings.GameSettings]: Skipping bad option: lastServer: [06:12:45] [main/INFO] [com.mojang.text2speech.NarratorWindows]: Narrator library for x64 successfully loaded [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: The following texture errors were found. [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: ================================================== [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: DOMAIN minecraft [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------------------------------- [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: domain minecraft is missing 2 textures [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: domain minecraft has 3 locations: [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: unknown resourcepack type net.minecraft.client.resources.LegacyV2Adapter : FMLFileResourcePack:Forge Mod Loader [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: unknown resourcepack type net.minecraft.client.resources.LegacyV2Adapter : FMLFileResourcePack:Minecraft Forge [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: ------------------------- [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: The missing resources for domain minecraft are: [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: textures/7.png [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: textures/1.png [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: ------------------------- [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: No other errors exist for domain minecraft [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: ================================================== [06:12:46] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= [06:12:46] [Realms Notification Availability checker #1/INFO] [com.mojang.realmsclient.client.RealmsClient]: Could not authorize you against Realms server: Invalid session id [06:16:30] [main/INFO] [net.minecraft.client.Minecraft]: Stopping! [06:16:30] [main/INFO] [net.minecraft.client.audio.SoundManager]: SoundSystem shutting down... [06:16:30] [main/WARN] [net.minecraft.client.audio.SoundManager]: Author: Paul Lamb, www.paulscode.com Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
  6. This is what i needed i was just overthinking this and needed someone to tell me to go back and look at the basics. Thanks
  7. and here it is my current Init/Registry class https://pastebin.com/b0eJhrF1 with the new 1.12 registry system it is so much cleaner and easier when you figure it out
  8. Finally got the blocks in game, just like i did in older versions created my own itemblockenun class then just register like normal in 1.12 but call the itemblockenum class instead of ItemBlock. Still need to get the item models to register but that shouldn't be too hard @SubscribeEvent public static void registerItemBlocks(RegistryEvent.Register<Item> event) { event.getRegistry().registerAll(new ItemBlock(block_test).setRegistryName(block_test.getRegistryName())); event.getRegistry().registerAll(new itemblockenum(block_test_enum).setRegistryName(block_test_enum.getRegistryName())); }
  9. still only showing up as 1 block maybe i just need a break
  10. public void _registerBlockWithCustomItem(Block block, ItemBlock iBlock, String registryname) { super._registerBlockWithCustomItem(block, iBlock, registryname); StateMapperBase b = new DefaultStateMapper(); net.minecraft.block.state.BlockStateContainer bsc = block.getBlockState(); ImmutableList<IBlockState> values = bsc.getValidStates(); for(IBlockState state : values) { String str = b.getPropertyString(state.getProperties()); ModelLoader.setCustomModelResourceLocation(iBlock, block.getMetaFromState(state), new ModelResourceLocation(block.getRegistryName(), str)); } }
  11. Im getting a error The method _registerBlockWithCustomItem(Block, Block, String) is undefined for the type Object
  12. Yea i cant for the life of me figure out how to incorporate your code into mine
  13. I am trying to register a block that uses PropertyEnum. Block: https://pastebin.com/WA2AGKJ6 Init/Regester: https://pastebin.com/25VsFxc8
  14. So your saying i dont need a special register with a for loop to cove the diff values of the enum
  15. I know how to register basic blocks, I actually like the new method of registering but to register a block that uses a enum is where im having trouble. Iv tried several diff ways to register a enum block using the event registry without any luck.
  16. Has anybody figured out how to register Blocks with Property Enum on 1.12.2, Old code https://pastebin.com/aBguc6T3 Problem is GameRegistry.register is now hidden and now requires either ForgeRegistries constants Or the registry passed in during the RegistryEvent.Register<T> event and i cant figure out how to get this to work. Edit: I hate to be such a bother but I'v gotten the Blocks and ItemBlocks in game however I'm still getting Item Inventory console errors and it doesn't work with Forge Blockstates so I must still have something wrong in my ItemBlock Registry. ItemBlock Registry https://pastebin.com/xYVjuwCA Console https://pastebin.com/iJpb3LpQ
  17. Its not a visual bug in the GUI it just doesn't stop smelting I am spawning particals bases on isSmelting and when in the GUI they stop just like they should but when Im not in the GUI they dont stop till I smelt something else and keep the GUI open
  18. On my custom furnace for some reason if im watching the GUI and it finishes smelting the progress stops at 0, however if I start smelting and close out of the GUI till its done when I reopen the GUI the progress is stuck between 8-10% till I smelt something else and keep the GUI open then it goes back to 0. Heres my TE http://pastebin.com/CbtsBtrG
  19. Correct and (Not sure if i can explain this properly) but as to the texture file you will only need the one provided from the generator. The way animated textures work is kind of like a flip book that works from the top down. Take your image for example there are 12 rows of textures arranged from top down (or 12 pages in the flip book) and each MCMeta index relates to the corresponding texture location (Page number) and the time is how long before switching the next index. The model file sets the UV cords to match the cords on the texture file for all possibilities and makes sure that no mater what index you are on the non moving parts UV will always aligned to correct texture thus it doesnt move, However for moving parts it makes sure that only one of the parts UVs will be placed over a texture the rest will be placed in a blank space in your image so you only see one of the moving parts, then when it switches index the first part will be placed into a blank space and the next moving part will be placed over a texture and this continues for each moving part thus giving the illusion of movement without actually moving any parts. As to the 2 fans and the color that sounds like a prob in the block code and or init method can you post those so we can see what is going on
  20. Thats why its up to modders to decide how best to use each method. For me due to the fact Im only creating a small handful of ingots and the ease of creating separate items Im using that method for this case. However for other items that use standard recipes Ill be using meta. And besides just think of how big of a mod you would need to make to even come close to hitting the ID max I mean there are mods out there that have hundreds of items and mod packs that have countless mods in them and yet theres been no prob with IDs.
  21. I know but due to the hassle of using meta vs the ease of separate items Iv decided to use separate items. So even though Im not using meta anymore our discussion has shown that you can use meta by writing your own comparison logic or you can separate items. So now ppl who look at this post can see the 2 methods that can be used and decide for themselves how they want to do custom recipes. Now should I edit the OP to state this?
  22. Well thanks for all your help but writing a comparison logic is just too much of a headache, when I can just create each item separately fairly easily because im using an itembase all I need to do is in my iteminit add its really no harder than creating an enum class and makes the custom recipe work without any headache And Thanks Again
  23. Yea i didnt think getItemById was right but at the time I was willing to try anything, after reading your post I think I figured it out. I ended up creating 2 recipe types which takes care of the errors I was having in the recipe class. But now Im not sure how to call the meta method in my TE, for my item method I used ItemStack stack = AlloyRecipes.getAlloyResult(slots[0].getItem(), slots[1].getItem()); http://pastebin.com/3RChj41Y
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.