
Everything posted by Cadiboo
-
How do i make my own variant of the brewing stand?
That would depend on how recipes are already implemented. I would start off by finding out how normal brewing stands make 3
-
1.15.1 how do i set the scale of entity?
Add an if (entity.isChild())?
-
[1.15.2] Ore generation with DeferredRegistry
Read the documentation on IExtensibleEnum. I’ll take a look into world gen myself and report back (never done anything except super basic ore gen back in 1.12.2)
-
[1.15.2] Rendering transparent block on top of normal block
Oh, I get it. You may be able to “fix” this by disabling AO in your chimney block model. It’s going to look bad on anything that’s not a furnace then though.
-
[1.15.2] Rendering transparent texture problem
404. Is your repo public?
-
Use only a portion of an item's texture
All items have 3d models. Some of them just happen to have a single flat element with a full texture UV. You can even find the model at item/generated.json (I think). You can either split your texture into multiple textures or have a non-default model. I would recommend the former as it’s more future-proof and will still be compatible with whatever extra stuff minecraft does to get the 1-pixel-wide sides to the default models.
-
[Solved][Outdated]How to override/use blocks without custom class
DeferredRegister uses the event hooks. They just have much simpler and cleaner syntax. They also take care of ensuring your object references stay up to date and also support registry overrides.
-
[Solved][Outdated]How to override/use blocks without custom class
Btw, DeferredRegister is the best way to do stuff now.
-
Cannot create dev environment for forge 1.14.4 and above
This is the solution. Restarting your computer also works.
-
[1.14.4] World Type / Generation
Post your full code, preferably as a GitHub repository.
-
[1.15.2] Rendering transparent block on top of normal block
I can’t see what you mean, could you please post another picture?
-
[1.15.2] Rendering transparent texture problem
Update your mappings and post your full code please
-
src/generated folder and git
https://github.com/MinecraftForge/MinecraftForge/tree/1.15.x/mdk
-
I need some help
I’ve got a tutorial series if you need help with the basics of modding. Something like splitting something that’s been rendered up into multiple particles that dissipate is likely going to require some very advanced OpenGL code, it’s not something you’re going to be able to do easily as a beginner. The closest thing I can think of that would be doable for a beginner would be to reduce the opacity of the renderer objects while at the same time increasing their size to create a similar effect. Prior to 1.15 you would do this by modifying GL state in the RenderLivingEvent.Pre but I’m not sure if this is still possible due to the massive rendering changes in 1.15.
-
Use only a portion of an item's texture
This is what you would do. You can use an editor like BlockBench to make the model. Torch block models use UVs IIRC
-
(Solved)[1.15.2]How do I add non opaque block?
I believe that setting “nonSolid” in your block properties should work
-
[1.15] How to register TileEntityRenderer
Not sure what’s hard to read about that. You need to pass in a function that takes in a TileEntityRendererDispatcher instance and returns a TileEntityRenderer instance. A constructor reference to your TER is most commonly used. https://github.com/Cadiboo/Example-Mod/blob/4ef1557fdb1ed5ff9ca3af5b9cd06711112363ab/src/main/java/io/github/cadiboo/examplemod/client/ClientModEventSubscriber.java#L46
-
[1.14.4] Custom Horse Armor
You could also just extend HorseArmorItem
-
net.minecraftforge.server.command.modidargument
Please post the full log
-
[1.15.2] Ore generation with DeferredRegistry
The class is called DeferredRegister and the documentation is on the javadoc on the top of it.
-
[Solved][1.14.2] Custom Ore Generation
Make sure your mappings are up to date.
-
How do i change textures of stuff, added by a mod, in my own texture-pack?
The same place you would in a normal texture pack. “assets/modid/textures/blah.png”.
-
How do i add custom tulips to biomes, where the vanilla-tulips are in?
I’m not sure. You can figure it out by looking at usages of the tulip field with your IDE. Looping the biomes would be more expensive but also more compatible.
-
How do i add new properties to existing blocks with a mod?
Vanilla sets the BlockState when you right click from an item block or in the updatePostPlacement method in blocks. I would look for events containing “Item”, “Block”, “Click”, “Interact”, “Place”. Then find out which one is appropriate to use.
-
How do i make my own variant of the brewing stand?
Inside your container. Containers control what slots are where and handle syncing everything.
IPS spam blocked by CleanTalk.