
Everything posted by Cadiboo
-
[Help] Get rid of a fake death tamed/labeled mob
If the mods open source, you could look at calls to setHealth(), also read your logs and see if your getting any arithmetic exceptions
-
[Help] Get rid of a fake death tamed/labeled mob
the NaN bug has been around since at least Minecraft Indev
-
[1.12.2] Custom player inventory
where are you going to be opening the GUI from? what will hold your container?
-
Forge for other devices
Forge works on anything and everything that can run Minecraft and java (any forge compatible version of java - so currently only java 8 )
-
I think the developers must against Chinese netease
Don’t you start taking damage if you play for over an hour straight?(in China) I definitely heard that somewhere
-
Problem with knockback
Are you trying to make a hack? What is Process Hacker String detection and who is using it?
-
Problem with knockback
Ok, but why are you calling your package that?
-
[SOLVED] Getting an entities position on the screen
What’s wrong with Minecraft’s renderLivingLabel()?
-
Separating the Hit Box?
Look at Ender dragons. Start with making your own entity and get it working perfectly before trying to modify the player
-
[1.12.2] Custom Item Model
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
-
Updated to 1.12, still getting errors.
Can we see the entire debug log please? if you don't know where to find it please read my signature
-
[1.12.2] IBakedModel help
Do you have a GitHub? I’d like to see how you are attaching your attachments to your item gun (capability? NBT?)
-
[Solved]Help With TileEntity Render Not updating only in offhand
I assume your working backwards? Setting a breakpoint when it’s rendering a pig then following it back?
-
[1.12.2] Energy Cable Network
Thanks!
-
[1.12.2] Energy Cable Network
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?
-
[1.12.2] IBakedModel help
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?
-
[1.12.2] Energy Cable Network
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.
-
[1.12.2] Energy Cable Network
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
-
[Solved] Screen blacking when rendering transparent entity as overlay
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
-
[Solved] Screen blacking when rendering transparent entity as overlay
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
-
[1.12.2] Energy Cable Network
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
-
[1.12.2] Energy Cable Network
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
-
[1.12.2] Energy Cable Network
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?
-
[1.12.2] Energy Cable Network
Look at my code I stupidly made a single static instance and accessed it from both client and server threads
-
How to make a custom Workbench with "holes"
Can we see your container code please?
IPS spam blocked by CleanTalk.