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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. I can't see what's wrong. I don't like the way you've constructed your packet class (or its name), but it looks like it's doing safe things and as far as I can tell the TE is correctly saving its data to disk and reading it back again. So I'm not really sure what's up.
  2. The only problem would be if the origin of the beam (where you placed the entity) was in an unloaded chunk for another player. But other than that, probably not. And you can fix that by breaking the beam up into smaller chunks.
  3. A TESR will not help you here. TESRs are for blocks. For this, EntityFX is probably the best route, although you could conceivably also hook into one of the render events and do it there too, but an Entity will automatically sync with all clients.
  4. Good job not reading the thread. He can't do this client-side-only because he needs to know if the user is ALLOWED TO OPEN IT which is information only the server has.
  5. Nah, he's trying to do something else. I think.
  6. That doesn't even make sense. There are exactly 2 types of JSON file: - Model - Blockstate Every block that has more than one state uses both. All other blocks don't need the blockstate file.
  7. 1) [19:56:14] [Client thread/WARN] [FML]: * The object Block{cmo:blocklithium_block} has been registered twice for the same name cmo:blocklithium_block. You have a block being registered under the same name as another block 2) Caused by: java.io.FileNotFoundException: cmo:models/item/blockjohnny_tnt.jso Caused by: java.io.FileNotFoundException: cmo:blockstates/blockjohnny_tnt.json You have missing JSON files. Or they're in a different place than they should be.
  8. Not as bad as you're thinking. You need thousands of them. All being rendered at the same time. If the TE itself isn't ticking, it doesn't apply any impact. You're not overriding a vanilla block, you're extending it. Hahaha no. While you could certainly tell Forge, "the client doesn't need my mod" and the client will connect, they're not going to see all the special blocks and items you've added. This custom barrier block thing-a-jig you're making? That requires the code to exist on the client for it to work.
  9. Would be better if you created a git repo and hosted it on GitHub Basically, you need to fiddle with the display tag of your item model.
  10. For example I have this IStateMapper: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/flowers/states/StateMapperFlowers.java#L23 Which handles the "upper/lower" halves of my two-tall flower block (not all variants have a valid tall state). I register it through my EasyRegistry class (which is the proxy/client proxy of a library mod) https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/flowers/OreFlowersBase.java#L93 https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/hardlib/client/ClientEasyRegistry.java#L57 Note that IStateMapper is client side only so I had to finagle things to work properly. I am not sure how I would do this using the Registry events.
  11. https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/farming/block/BlockTanner.java#L90-L104
  12. Caused by: com.google.gson.JsonParseException: Expected between 1 and 6 unique faces, got 0
  13. Question, those folders, are they named "assets.trim" or are they actually two canonical folders and your IDE is just displaying it that way? That is, what does Windows see?
  14. GuiIvVillagerInfo does not interact with the UUID. There is a distinct lack of the string "UUID" in that file.
  15. This is a horrible idea. Bad modder, no cookie. Core mods are not allowed here. I suspect the easiest way to do what you want to do will be to use a TESR, although I don't know if it would be possible using a FastTESR, but if so, that would be better.
  16. I suggest making the block not-falling and working out what the position it is that it finds and figuring out how to offset it from there to where you actually want it.
  17. I don't think he's programming a mod, I think he's trying to run one. Which means he needs to be over in Support and Bug Reports.
  18. Can See Sky is probably a bad choice. You will probably want to look for skyLight > n, where n is some value > 0 and <= 15. Right now I think you're code will end up looking for water in the tree tops.
  19. You should try asking them.
  20. Ew. What will you do when you want to use the same class for more than one block?
  21. What happens if you put an @Override annotation on it?
  22. Yes there is. Try again.
  23. This makes sense...in vanilla. If you're making a mod and want to expose your block properties, then the enum should be exposed (but not necessarily the block) in an API.

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.