-
Posts
3624 -
Joined
-
Last visited
-
Days Won
58
Everything posted by Cadiboo
-
[Solved] Options for altering alpha of vanilla / other mods' mobs
Cadiboo replied to Laike_Endaril's topic in Modder Support
I wouldn't usually recommend this, but as it has a private constructor you probably won't mess with anything. You could use an Access Transformer -
You're appear to be trying to load a mod made for <1.7.10 (or at least with references to 1.7.10 classes) on 1.12.2
-
the actual installer log please (found in the same folder as the installer)
-
Exception getting block type in world/serveur
Cadiboo replied to Weedz's topic in Support & Bug Reports
Seems to be a problem with immersiveengineering. Make sure you have the latest vesion, and if you do and the problem persists contact the mod dev -
It's up to mods to be compatible with Forge, not the other way round. Contact the mod dev or downgrade your Forge version.
-
You can submit a PR on GitHub, but with 1.13 dev it’s unlikely to be accepted anytime soon
-
[Solved] Options for altering alpha of vanilla / other mods' mobs
Cadiboo replied to Laike_Endaril's topic in Modder Support
I can think of a dirty hack (asside from a coremod) use GLStateManager to set the alpha to what it’s going to be set in the render call (so the state manager will ignore the next call) then directly set you values with GL11. In the post event set it back with GL11/change it to something else with GLStateManager -
You can’t create a new item, this usually crashed the game - you want an ItemStack. I would just copy the code from ItemHoe
-
[Solved] Options for altering alpha of vanilla / other mods' mobs
Cadiboo replied to Laike_Endaril's topic in Modder Support
Does running your event subscriber with LOWEST priority fix it? -
1.12.2 Issues with rendering a placed block
Cadiboo replied to MindHalfFull's topic in Modder Support
You are doing everything wrong from what I can see, you should read and check out https://github.com/Cadiboo/Example-Mod Your actual issue is caused by this -
I learned Modding and Java almost entirely through trial & error and watching bad YouTube tutorials, so it is possible to just jump right in the deep end and start making mods. I did have prior programming experience (JavaScript, PHP, HTML, etc.) though, and learning Java was still an extremely big learning curve. You should definitely familiarise yourself with the language and read LOTS of Java tutorials. Once you’ve done this I reccomend creating a GitHub account, downloading GitHub Desktop or another git client, going to https://github.com/Cadiboo/Example-Mod and and cloning/forking/downloading the repository. Once you have done this, follow the setup instructions and start Modding! There are lots of good resources in the README of that repository that you should read. Disclaimer: this is a repo that I set up for this situation, if you have problems feel free to contact me. I check these forums semi-regularly, but if you want to talk to me fast you can add me as Cadiboo#8887 on Discord.
-
[1.12.2] Proper implementation of IGuiHandler
Cadiboo replied to cptcorndog's topic in Modder Support
You might want to take a look at https://github.com/Cadiboo/Example-Mod/blob/4ed728a75815285c6382420832a1b671142e60c4/src/main/java/io/github/cadiboo/examplemod/util/ModGuiHandler.java -
1.12.2 Issues with rendering a placed block
Cadiboo replied to MindHalfFull's topic in Modder Support
Please send your model registration code and your logs -
Forge is going to 1.13 then maybe 1.13.1 or straight to 1.13.2, I forget which. Either way, the 1.13.x updates shouldn’t take much time at all after Forge gets to 1.13
-
try stepping through your code with the debugger
-
cpw did a stream on how to set up userdev, you need a bunch of stuff in your mods.toml IIRC
-
It gets drawn in drawGuiContainerForegroundLayer. You can draw it yourself
-
[1.12.2] Putting item in a chest every tick
Cadiboo replied to James (MSTUDIO)'s topic in Modder Support
You'll want to make a ticking TileEntity for it -
Logs...? Those aren't links, but you're github is in your signature
-
don't do that, please Take a look at https://stackoverflow.com/questions/22663479/how-to-make-a-ellipse-from-points
-
[1.12.2] Putting item in a chest every tick
Cadiboo replied to James (MSTUDIO)'s topic in Modder Support
check if the block has an ItemHandler capability (it means its any type of item-storage TE) with tile.hasCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY, facing) or tile.hasCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY, facing)!=null -
[1.12.2] How to make lava-proof boat?
Cadiboo replied to lightningdragonx5's topic in Modder Support
You could probably just make an entity that extends entity boat, add "this.isImmuneToFire = true" to the constructor and add lava to everywhere water is referenced -
-
No, submit a PR to fix it ?
-
The tile entity should override the has/getCapability methods appropriately replace everything from IInventory with the tile entities ItemstackHandler You can see an example at https://github.com/Cadiboo/WIPTech/blob/fb5883e9d76ef0361ec1ebbcb9c508611dd2ef6b/src/main/java/cadiboo/wiptech/tileentity/TileEntityModFurnace.java#L300-L340 and https://github.com/Cadiboo/WIPTech/blob/fb5883e9d76ef0361ec1ebbcb9c508611dd2ef6b/src/main/java/cadiboo/wiptech/inventory/ContainerModFurnace.java