Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

WellPlacedEggplant

Members
  • Joined

  • Last visited

Everything posted by WellPlacedEggplant

  1. I put them in the build folder, and while the texture still won't show and gives an error, it looks somewhere along the line, the block in my inventory stopped being rendered like an item but like a block, just missing the texture. I didn't even change any code... Weird result, but at least it's progress. Thank you.
  2. That directory doesn't exist anywhere in my workspace. If I need to create it, where do I?
  3. bump I tried 16x16 Thanks for everyone's help so far btw.
  4. 32x32 EDIT: Trying 16x16 now EDIT 2: Not surprisingly, still the same error I know why they added the json system, but it looks like it has more cons than pro's. Definitely doesn't make the modder's life any easier.
  5. Inside ItemBlocks private static Map<Block, ItemBlock> itemBlocks = new HashMap<Block, ItemBlock>(); public static ItemBlock add(Block block) { ItemBlock ib; itemBlocks.putIfAbsent(block, ib = new ItemBlock(block)); return ib; } public static ItemBlock get(Block block) { return itemBlocks.get(block); } Call to "add" public static final Block test = new Block(Material.CACTUS, MapColor.EMERALD) .setCreativeTab(CreativeTabs.DECORATIONS); public static void registerAllBlocks() { register(test, "test"); } private static Block register(Block newBlock, String name) { newBlock.setRegistryName(CameraCore.MODID, name); newBlock.setUnlocalizedName(name); GameRegistry.register(newBlock); ItemBlock ib = ItemBlocks.add(newBlock); ib.setRegistryName(name); GameRegistry.register(ib); return newBlock; } And, registerAllBlocks is called in the common proxy preInit, and is guaranteed to be before the renderer is registered. EDIT: Ok, well this shows that too.
  6. It was just an empty sounds.json I also removed that a few mins ago completely on the chance that it was somehow interfering with all the other jsons, but no luck, still the same error. Here's the log from that:
  7. Just refreshed, restarted, and refreshed again to make sure. Still the exact same error. This has me so confused. Been modding for almost 6 years now, never had any problem like this since the new json system rolled out.
  8. It's the same as the section I posted at the top but here it is again:
  9. Ok, so I changed it back to 2nd try and put the call to registerAllRenderers() into ClientProxy's preInit Still doesn't work, same error
  10. Hi there, I've tried for a few hours googling for solutions, trying them out, re-googling, etc and nothing has worked. Minecraft outputs this: Here's the code I've tried: 1st try 2nd try Here's where the texture file and jsons are located: As you can see, the texture file is in the exact spot that minecraft/forge is looking, so what gives? The blockstate json: { "variants": { "normal": { "model": "neurocameramod:test" } } } The block model json: { "parent": "block/cube_all", "textures": { "all": "neurocameramod:blocks/test" } } The item model json: { "parent":"neurocameramod:block/test" } And this is what I see in-game. I have no idea what is going wrong and I created this account just to ask, to show my desperation. Any help would be greatly appreciated. Thank you.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.