
Everything posted by Cadiboo
-
Custom furnace not smelting
If its not meant to be going over 25, you should probably investigate why its going over 25
-
1.12.2 Horse armor textures
Yeah, this is solved, but I should have started out with what I was trying to do rather than my solution. I'm trying to have a material that (ore, block, ingot, armor, tools etc.) that switches between 2 textures at a random interval. I've gotten all the block models to work and now I'm moving on to the items. I'm doing horse armors first because I can't figure out how custom item models work. My problem was that I couldn't use 2 textures for the horse armor enum. Heres my code if it helps anyone in the future Switching between 2 textures: ItemModHorseArmor.java#L41-L50 Normal horse armor enum ModEnums.java#L227-L239
-
1.12.2 Horse armor textures
Yeah, the random updates actually fits in with my theme more, but how would I disable the normal rendering of the armor? Would I use a transparent texture?
-
[1.12.2] AxisAlignedBB & rendering question
I've got a list of AxisAlignedBBs that I'm rendering with RenderGlobal.drawSelectionBoundingBox and I would like to unify the boxes before they get drawn. I don't know exactly how to explain it so heres an image. Current: Desired: The answer to this is probably 90% maths, but heres my code if it helps https://github.com/Cadiboo/WIPTechAlpha/blob/c4cf6fe1bdb5ba8350aaf4412dab5c9dc1434cfa/src/main/java/cadiboo/wiptech/EventSubscriber.java#L799-L860
-
1.12.2 Horse armor textures
the texture's location from getHorseArmorTexture is cached, and getHorseArmorTexture is only called when something about the horse changes (like putting a saddle on it or feeding it)
-
1.12.2 Horse armor textures
It isn't exactly animatable though, the texture location is cached
-
1.12.2 Horse armor textures
I'll go quietly...
-
Block hitbox made of several parts possible?
yeah I was going to say, I tried doing it right after posting and its surprisingly easy
-
Block hitbox made of several parts possible?
Do you want your Collision Box to have several different pieces? If so this is very easy just override To do this look at or my slightly more readable implementation at https://github.com/Cadiboo/WIPTechAlpha/blob/e4f041d7e68e7ef7d858ecfc282893e0a420b7d3/src/main/java/cadiboo/wiptech/block/BlockWire.java#L98-L125 If you also want your selectedBoundingBox to have several different pieces this is a lot harder and I think it will require having multiple blocks inside the same block space using a coremod OR return a null AABB in your selectedBoundingBox method and handle the rendering of your selectedBoundingBox yourself through world rendering events. Both these methods are pretty hard
-
1.12.2 Horse armor textures
So I'm trying to make an animated horse armor texture (the actual armor not the item), is there any way to do this? I saw this link but couldn't find what the post referred to. I've looked around and all I could think of was a) using reflection inside an onClientTick event to change the texture b) making a PR to forge to put a hook inside the HorseArmorType enum class's getArmorTexture() method to allow modders to return a custom texture which one should I use, or is there another way?
-
Registering just a Model
Yes there is, its a little complicated though. What are you trying to achieve?
-
how to make minecraft edits into a version
- World not loading (2). please help me
You can play without Optifine. Just download the forge version of Optifine and don't use the jar-mod version. Or do the logical thing and update to 1.12.2- World not loading (2). please help me
Try Uninstalling - Optifine - mcjtylib - MoarSigns If I had to guess, I'd say its probably Optifine.- World not loading (2). please help me
Click the eye icon while posting Anyway,- World not loading (2). please help me
Post your logs in a spoiler. We don't want to have to download your log to view it AND since I'm on a Mac theirs no way for me to even look at that file after I've downloaded it without having to install some other software.- World not loading (2). please help me
The cause of this problem could be any one of the following codechicken.lib gcewing.architecture enderio refinedstorage- How to set a Multi-layered Texture and Animation to a Custom Fire
what do you get?- Custom Registry Events
I'm making a couple custom machines & I want them to have events like the furnace's ForgeEventFactory.getItemBurnTime(stack);. Is it possible to have custom event that can be subscribed to using forge's existing system?- How to set a Multi-layered Texture and Animation to a Custom Fire
point your block state JSON to the vanilla fire model- Strange lag for 1.12.2
What mods are you using?- Custom Furnace is not smelting
Don’t copy the vanilla furnace, it’s code that’s existed for many (6?) years without much change while everything else has changed substantially. Forge also provides additional systems that make stuff like furnaces very easy to create such as the ItemStackHandler. Use it instead of IInventory.- How to set a Multi-layered Texture and Animation to a Custom Fire
What do you mean by a custom fire? A custom block of fire? A custom fire item? What do you want it to look like?- [1.12.2] Rendering json model withn't creating a block/item for it.
Post your logs, the error should be in them. Also where are you baking the model, why is your IBaked model static and I’m pretty sure that block render dispatcher isn’t the renderer you want. I have the feeling that this could be done with a custom baked model rather than a TESR, can you please post what you are trying to do. The final aim, not what your code is trying to do. to quote diesieben7 “Do not describe how you want to code things. Describe what you want to achieve, gameplay-wise. Described from an end-user perspective.”- How to define Multi-Version Mods
@Mod(acceptedMinecraftVersions=“1.12, 1.12.1, 1.12.2”) - World not loading (2). please help me
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.