Posted November 22, 20186 yr Hello, everyone.(I'm Ukrainian, so sorry for bad english) I was following McJty tutorial and tried to load an obj model into minecraft but got empty air with [domain]:[block_name]#normal text on upper face instead. No errors in logs, and nothing out of place. Here are sources: Spoiler public class BlockAltar extends Block { public BlockAltar(String name, String registryName) { super(Material.ROCK); setTranslationKey(Ref.MOD_ID + "." + name); setRegistryName(registryName); setCreativeTab(SuperPuper.TAB); } @Override @SideOnly(Side.CLIENT) public boolean shouldSideBeRendered(IBlockState blockState, IBlockAccess blockAccess, BlockPos pos, EnumFacing side) { return false; } @Override public boolean isBlockNormalCube(IBlockState state) { return false; } @Override public boolean isOpaqueCube(IBlockState state) { return false; } } Block class. { "forge_marker": 1, "defaults": { "custom": {"flip-v": true}, }, "variants": { "normal": [{ "model": "superpuper:altar.obj", "textures": { "#obs": "superpuper:blocks/obsidian_texture", "#st": "superpuper:blocks/stone_texture", "#w": "superpuper:blocks/wood_planks_texture" } }], "inventory": [{ "transform": "forge:default-block" }] } } blockstate.json # Blender MTL File: 'altar.blend' # Material Count: 3 newmtl obs Ns 96.078431 Ka 1.000000 1.000000 1.000000 Kd 0.640000 0.640000 0.640000 Ks 0.500000 0.500000 0.500000 Ke 0.000000 0.000000 0.000000 Ni 1.000000 d 1.000000 illum 2 map_Kd superpuper:blocks/obsidian_texture newmtl st Ns 96.078431 Ka 1.000000 1.000000 1.000000 Kd 0.640000 0.640000 0.640000 Ks 0.500000 0.500000 0.500000 Ke 0.000000 0.000000 0.000000 Ni 1.000000 d 1.000000 illum 2 map_Kd superpuper:blocks/stone_texture newmtl w Ns 96.078431 Ka 1.000000 1.000000 1.000000 Kd 0.640000 0.640000 0.640000 Ks 0.500000 0.500000 0.500000 Ke 0.000000 0.000000 0.000000 Ni 1.000000 d 1.000000 illum 2 map_Kd superpuper:blocks/wood_planks_texture mtl file obj file is attached. altar_block.obj
November 22, 20186 yr Author And yeah, i also registered it as Item, my json for item is just says Quote "parent": "superpuper:block/altar_block" And it's working fine, it renders it in my hand or when i drop it on the ground
November 22, 20186 yr Do you have a blockstate for it? Can you post your logs? About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
November 22, 20186 yr Author Just now, Cadiboo said: Do you have a blockstate for it? Can you post your logs? Blockstate for what? For block - yes, i already posted it in spoiler, for item - no, just json in item folder in resources.
November 22, 20186 yr Author Here are the logs: Spoiler [00:22:24] [main/INFO] [GradleStart]: Extra: [] [00:22:25] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /home/yarik/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [00:22:25] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [00:22:25] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [00:22:25] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [00:22:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [00:22:25] [main/INFO] [FML]: Forge Mod Loader version 14.21.1.2387 for Minecraft 1.12 loading [00:22:25] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_144, running on Linux:amd64:4.18.12-arch1-1-ARCH, installed at /usr/lib/jvm/java-8-jdk/jre [00:22:25] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [00:22:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [00:22:25] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [00:22:25] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [00:22:25] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [00:22:25] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [00:22:25] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [00:22:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [00:22:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [00:22:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [00:22:26] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [00:22:28] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [00:22:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [00:22:28] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [00:22:29] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [00:22:29] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [00:22:29] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [00:22:29] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [00:22:32] [main/INFO]: Setting user: Player509 [00:22:39] [main/WARN]: Skipping bad option: lastServer: [00:22:39] [main/INFO]: LWJGL Version: 2.9.4 [00:22:42] [main/INFO] [FML]: -- System Details -- Details: Minecraft Version: 1.12 Operating System: Linux (amd64) version 4.18.12-arch1-1-ARCH Java Version: 1.8.0_144, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 205547080 bytes (196 MB) / 330825728 bytes (315 MB) up to 900726784 bytes (859 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): GL info: ' Vendor: 'Intel Open Source Technology Center' Version: '3.0 Mesa 18.2.2' Renderer: 'Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) ' [00:22:42] [main/INFO] [FML]: MinecraftForge v14.21.1.2387 Initialized [00:22:42] [main/INFO] [FML]: Replaced 921 ore ingredients [00:22:42] [main/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [00:22:42] [main/INFO] [FML]: Searching /home/yarik/IdeaProjects/minecraft_mod/run/mods for mods [00:22:45] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 42771371 nanos [00:22:45] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load [00:22:47] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, superpuper] at CLIENT [00:22:47] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, superpuper] at SERVER [00:22:50] [main/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:SuperPuper [00:22:50] [main/INFO] [FML]: Processing ObjectHolder annotations [00:22:50] [main/INFO] [FML]: Found 1173 ObjectHolder annotations [00:22:50] [main/INFO] [FML]: Identifying ItemStackHolder annotations [00:22:50] [main/INFO] [FML]: Found 0 ItemStackHolder annotations [00:22:51] [main/INFO] [FML]: Configured a dormant chunk cache size of 0 [00:22:51] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [00:22:51] [main/INFO] [FML]: OBJLoader: Domain superpuper has been added. [00:22:51] [main/INFO] [FML]: Applying holder lookups [00:22:51] [main/INFO] [FML]: Holder lookups applied [00:22:51] [main/INFO] [FML]: Applying holder lookups [00:22:51] [main/INFO] [FML]: Holder lookups applied [00:22:51] [main/INFO] [FML]: Applying holder lookups [00:22:51] [main/INFO] [FML]: Holder lookups applied [00:22:51] [main/INFO] [FML]: Applying holder lookups [00:22:51] [main/INFO] [FML]: Holder lookups applied [00:22:51] [main/INFO] [FML]: Injecting itemstacks [00:22:51] [main/INFO] [FML]: Itemstack injection complete [00:22:51] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Found status: UP_TO_DATE Target: null [00:22:53] [Sound Library Loader/INFO]: Starting up SoundSystem... [00:22:53] [Thread-4/INFO]: Initializing LWJGL OpenAL [00:22:53] [Thread-4/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [00:22:53] [Thread-4/INFO]: OpenAL initialized. [00:22:53] [Sound Library Loader/INFO]: Sound engine started [00:22:58] [main/INFO] [FML]: OBJLoader.MaterialLibrary: key 'Ns' (model: 'superpuper:models/block/altar_block.mtl') is not currently supported, skipping [00:22:58] [main/INFO] [FML]: OBJModel: A color has already been defined for material 'obs' in 'superpuper:models/block/altar_block.mtl'. The color defined by key 'Ks' will not be applied! [00:22:58] [main/INFO] [FML]: OBJLoader.MaterialLibrary: key 'Ke' (model: 'superpuper:models/block/altar_block.mtl') is not currently supported, skipping [00:22:58] [main/INFO] [FML]: OBJLoader.MaterialLibrary: key 'Ni' (model: 'superpuper:models/block/altar_block.mtl') is not currently supported, skipping [00:22:58] [main/INFO] [FML]: OBJLoader.MaterialLibrary: key 'illum' (model: 'superpuper:models/block/altar_block.mtl') is not currently supported, skipping [00:22:58] [main/INFO] [FML]: OBJModel: A color has already been defined for material 'st' in 'superpuper:models/block/altar_block.mtl'. The color defined by key 'Ks' will not be applied! [00:22:58] [main/INFO] [FML]: OBJModel: A color has already been defined for material 'w' in 'superpuper:models/block/altar_block.mtl'. The color defined by key 'Ks' will not be applied! [00:22:58] [main/INFO] [FML]: OBJLoader.Parser: command 's' (model: 'superpuper:models/block/altar_block.obj') is not currently supported, skipping. Line: 39 's off' [00:22:58] [main/INFO] [FML]: Max texture size: 16384 [00:22:58] [main/WARN]: Texture superpuper:textures/blocks/blinking_block.png with size 420x420 will have visual artifacts at mip level 4, it can only support level 2. Please report to the mod author that the texture should be some multiple of 16x16. [00:22:58] [main/WARN]: Texture superpuper:textures/items/basic_item.png with size 225x225 will have visual artifacts at mip level 4, it can only support level 0. Please report to the mod author that the texture should be some multiple of 16x16. [00:22:59] [main/WARN]: Texture superpuper:textures/blocks/stone_texture.png with size 511x511 will have visual artifacts at mip level 4, it can only support level 0. Please report to the mod author that the texture should be some multiple of 16x16. [00:22:59] [main/INFO]: Created: 2048x2048 textures-atlas [00:23:04] [main/INFO] [superpuper]: Starting SUPER PUPER MOD initialization phase [00:23:04] [main/INFO] [FML]: Injecting itemstacks [00:23:04] [main/INFO] [FML]: Itemstack injection complete [00:23:04] [main/INFO] [superpuper]: Starting SUPER PUPER MOD post initialization phase [00:23:04] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods [00:23:04] [main/WARN]: Skipping bad option: lastServer: [00:23:05] [main/INFO]: Narrator library successfully loaded
November 22, 20186 yr 25 minutes ago, p3rsik said: Blockstate for what? For block - yes, i already posted it in spoiler, for item - no, just json in item folder in resources. Sorry, didn’t see it About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.