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.

Cadiboo

Members
  • Joined

  • Last visited

Everything posted by Cadiboo

  1. If the mods open source, you could look at calls to setHealth(), also read your logs and see if your getting any arithmetic exceptions
  2. the NaN bug has been around since at least Minecraft Indev
  3. where are you going to be opening the GUI from? what will hold your container?
  4. Forge works on anything and everything that can run Minecraft and java (any forge compatible version of java - so currently only java 8 )
  5. Don’t you start taking damage if you play for over an hour straight?(in China) I definitely heard that somewhere
  6. Are you trying to make a hack? What is Process Hacker String detection and who is using it?
  7. Ok, but why are you calling your package that?
  8. What’s wrong with Minecraft’s renderLivingLabel()?
  9. Look at Ender dragons. Start with making your own entity and get it working perfectly before trying to modify the player
  10. I’ve got 2 items, a Slug (raw bullet) and a Cased Slug (ready to shoot bullet). I’d like to have the model for the Cased Slug be a combination of a casing model directly from a json file & the model of the Slug (also from json). I’ve done something similar with a custom block model using a custom IModel, a custom IBakedModel and a custom StateMapper. The way to do this for items appears to be different though, how would I do it? My current code https://github.com/Cadiboo/WIPTechAlpha/blob/master/src/main/java/cadiboo/wiptech/client/model/BakedModelCasedSlug.java https://github.com/Cadiboo/WIPTechAlpha/blob/master/src/main/java/cadiboo/wiptech/client/model/ModelCasedSlug.java https://github.com/Cadiboo/WIPTechAlpha/blob/master/src/main/java/cadiboo/wiptech/client/render/item/model/CasedSlugModelLoader.java https://github.com/Cadiboo/WIPTechAlpha/blob/78ed98672e428ea8edc587826983a37127828d53/src/main/java/cadiboo/wiptech/EventSubscriber.java#L351-L369
  11. Can we see the entire debug log please? if you don't know where to find it please read my signature
  12. Do you have a GitHub? I’d like to see how you are attaching your attachments to your item gun (capability? NBT?)
  13. I assume your working backwards? Setting a breakpoint when it’s rendering a pig then following it back?
  14. I understand this, it wasn’t really the problem, the problem was I had 1 global instance (not a capability, a constant) and was accessing it from both the sever and client threads. could you give me a couple of examples of world capabilities, creating & attaching them?
  15. You’ve said that your problem is that your confused, do you want links to some documentation? Or do u want to post your code and your logs and go from there?
  16. Ok so, I’ve looked at this topic Is this still up to date? It looks like I just have to subscribe to the AttachCapabilities event and add a Map<EnergyNetwork> to the world Object? or make my own capability something like EnergyNetworkList and attach that to the world Object.
  17. What’s a world capability and how would I attach it/a worldSavedData (I don’t want the networks to be saved, just exist in game) to a world? And yes the network is going to be server side only, but I want to draw a box around each of my wires with a colour based on what network it is connected to so I can easily see if the networks are working
  18. The one that sets a high brightness? Yes if you still want that, otherwise your code looks good but could do with a little bit of cleanup
  19. Great! But make sure you are making GL calls to GLStateManager and not GL11. https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/modification-development/2231761-opengl-calls-glstatemanager
  20. The networks will be server side only in my actual mod, but for debugging I’d like to do some rendering to show(overlay) different networks to make sure that they are joining & separating properly
  21. Just realised I forgot to actually provide a link https://github.com/Cadiboo/WIPTechAlpha/tree/master/src/main/java/cadiboo/wiptech/capability/energy https://github.com/Cadiboo/WIPTechAlpha/blob/master/src/main/java/cadiboo/wiptech/block/BlockWire.java https://github.com/Cadiboo/WIPTechAlpha/blob/master/src/main/java/cadiboo/wiptech/tileentity/TileEntityWire.java
  22. I’m probably going to try and change my lists from Map<BlockPos, EnergyStorage> to ArrayList<IEnergyUser>. But I tried this before and it appears you can’t have an ArrayList like <T extends TileEntity & IEnergyUser>. You can have class xyz<T extends TileEntity & IEnergyUser> But not an ArrayList with the same generic prameters?
  23. Look at my code I stupidly made a single static instance and accessed it from both client and server threads
  24. Can we see your container code please?

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.