Skip 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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. No its not. Stairs work by having two collision volumes and the player's step-height. I suggest looking at Redstone Ore
  2. { "model": "asphodelplant_bottom" } Unable to load model asphodelplant_bottom in domain minecraft. You're missing your mod ID.
  3. Your client proxy class and your common proxy interface aren't...related to each other. If I did this: interface Cat { } class Banana { } It would be the same: you can't assign an object of type Banana to a field of type Cat
  4. You can absolutely use the IProperties already defined in another class. In fact, it increases inter-mod compatibility! As any mod that looks at a block and wants to fiddle around with the HALF property only needs to know about the vanilla HALF property and it can fiddle with your plant the same way it fiddles with a vanilla plant.
  5. Fucking hell, I hate some of the tutorials out there. I also need your Reference class, and while you're at it, the common and client proxy classes.
  6. Show your main mod class.
  7. Minecraft.getMinecraft() is client side only. You can't use it on the server.
  8. Yes. The root one. https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/resources/assets/expindustry/advancements/root.json#L12
  9. You don't call the event, you subscribe to it. https://mcforge.readthedocs.io/en/latest/events/intro/
  10. Why doubles? Why not integers or longs?
  11. Right click, open type hierarchy.
  12. Literally the first reply in this thread.
  13. In the class itself.
  14. The casting is there for the compiler. Null is still null, but because null can "be" anything, you have to cast it to a type.
  15. This is probably your main problem: Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of 'justanotherenergy:cable' from: 'justanotherenergy:blockstates/cable.json' in resourcepack: 'FMLFileResourcePack:JustAnotherEnergy' ... Caused by: com.google.gson.JsonParseException: transform: unknown default string: cable_side But you've also got this: Caused by: java.io.FileNotFoundException: justanotherenergy:models/item/plate_tin.json And this: Caused by: java.io.FileNotFoundException: justanotherenergy:models/item/cable.json
  16. Please don't embed the results as an HTML iframe, it shows up empty. There's a perfectly good "attach files" function that allows you to upload images.
  17. Caused by: java.io.FileNotFoundException: baubles:models/item/Ring.json Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of 'mcmultipart:multipart' from: 'mcmultipart:blockstates/multipart.json' in resourcepack: 'FMLFileResourcePack:MCMultiPart' Caused by: java.util.NoSuchElementException [22:07:25] [Client thread/ERROR]: The missing resources for domain minecraft are: [22:07:25] [Client thread/ERROR]: textures/#side.png [22:07:25] [Client thread/ERROR]: textures/#side_opaque.png [22:07:25] [Client thread/ERROR]: textures/#center_opaque.png [22:07:25] [Client thread/ERROR]: textures/#center.png java.lang.NullPointerException: Rendering item -- Item being rendered -- Details: Item Type: com.bxzmod.energyconversion.blocks.itemblock.PowerBlockItemBlock@1ede3958 Got a bit more than just a NPE (which might be caused by the bad model, depending on what JEI is doing). Also I don't know why one of your models is looking for textures that don't exist in the Minecraft domain.
  18. You're right, I assumed it was the tile's own hasCap function.
  19. You aren't telling the game about the model. You need to call ModelLoader.setCustomModelResourceLocation during the ModelRegistryEvent event. Also, stop using builtin/generated as your model's parent. item/generated and item/handheld both exist and means you don't need to supply display tags.
  20. Post all of the errors. There's likely more than one.
  21. https://english.stackexchange.com/questions/95624/use-of-or-inclusive-or-exclusive
  22. Uh... if(tile.hasCapability(CapabilityEnergy.ENERGY, orientation)) return true; Let me dive into that... orientation.getOpposite() if(tile.hasCapability(CapabilityEnergy.ENERGY, orientation)) return true; Let me dive into that... orientation.getOpposite() if(tile.hasCapability(CapabilityEnergy.ENERGY, orientation)) return true; Let me dive into that... orientation.getOpposite() if(tile.hasCapability(CapabilityEnergy.ENERGY, orientation)) return true; Let me dive into that... orientation.getOpposite() if(tile.hasCapability(CapabilityEnergy.ENERGY, orientation)) return true; Let me dive into that... orientation.getOpposite() if(tile.hasCapability(CapabilityEnergy.ENERGY, orientation)) return true;
  23. *Looks for code* *Fails to find code* *Hits "back" on browser*
  24. What I said is perfectly grammatically correct. You haven't done [A or B] You haven't done either of [A or B] And if you'd done any research at all into what threw that error, you would have figured out what you needed to do on your own. public int getMetaFromState(IBlockState state) { if (state.getPropertyKeys().isEmpty()) { return 0; } else { throw new IllegalArgumentException("Don't know how to convert " + state + " back into data..."); } }
  25. Do not implement ITileEntityProvider, it is not needed. hasTileEntity and createTileEntity are in the Block class, override those. You also haven't supplied a getMetaFromState or getStateFromMeta methods.

Important Information

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

Account

Navigation

Search

Search

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.