Everything posted by Draco18s
-
Recipe question
You will probably need a custom IRecipe implementation.
-
Recipe question
container items. you need to override hasContainerItem and getContainerItem to return the damaged item.
-
How to make a transparent element in model
That is most definitely not what that means.
-
[solved] Change vanilla block textures without resource pack
- [1.10.2] Custom slabs not rendering
Sooo...question. Why are you using Item.getItemFromBlock when you're the one who had to create the item in the first place?- Comparable Version
what's likely wrong is that ModIdSFHCORE contains only the mod ID, whereas the dependecy string wants to look like this: "require-after:modID[v1,v2]"- Item Models
Then your registration is fubar.- Comparable Version
Your problem is here: version=Constants.NTMVersion, dependencies=Constants.ModIdSFHCORE And that class file is not in your repo, so I can't examine it more closely.- Item Models
https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/models/item/diamondstud_pickaxe.json- Crashing when trying to enter dimentions
Are you a modder or a player? If you are a modder, post crash log and code. If you are a player, what mods are you using? Contact those mod's authors.- Get from Network to Server Thread.
Gosh, if only those pages had an example on them. Something somthing player.getServerForPlayer something something.- Block inventory textures with metadata
Yes- [1.10.2-12.18.2.2107] ItemCraftedEvent issues
Technically with code you can enchant a stack of items. Just that if they're tools and take damage, ALL of them will until split. They can't be recombined, but if created that way, they are still stacked.- [MC 1.10] A few Issues with slabs
Well...do you ever call setUnlocalizedName on the block?- [1.10.2] Gui help
1) You didn't post the crash, but.... 2) Do not put the IMessageHandler in the same class as the IMessage. You'll only make it harder to separate out which bit belongs to which class.- [MC 1.10] A few Issues with slabs
That's because you never set it: if(block instanceof MarbleSlab) { ItemSlab itemSlab = new ItemSlab(marble_slab, marble_slab, marble_double_slab); itemSlab.setRegistryName(Reference.MOD_ID + ":" + "marble_slab"); return register(block, itemSlab); } You never call itemSlab.setUnlocalizedName(...)- [MC 1.10] A few Issues with slabs
Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model betterments:blockstates/marble_single_slab.json You don't have a json file named "marble_single_slab"- [1.9.4] Using the Mekanism API
You don't ship APIs with your mod. You should not be altering any code inside the Mekanism packages.- [1.9.4] Using the Mekanism API
If you can get their source code, yes, that would fix it. As your mod has a hard dependency on Mekanism it won't matter to the end user. Mekanism should still fix their shit though. Seems to me that MekanismRenderer.FluidType should be in the API package.- keep item after recipe
In your item class's constructor? Like....where else would it even make sense. You could also look for existing usages for examples. new Item().setRegistryName("blah").setWhatever(...).setSomethingElse(...) is effectively the same as inside the constructor, as those methods return this so they can be chained and used without needing a unique class. I personally don't like doing it that way when I have a unique class, but that's up to you.- [1.9.4] Automated input and output using Capabilities
Yes. https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/entities/TileEntitySifter.java#L138-L146 Note that inputSlot is actually two slots: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/entities/capabilities/SiftableItemsHandler.java#L10 I should probably pass the number of slots as part of SiftableItemsHandler's constructor, but that's the only place that class gets used.- MC 1.10+ How to use instanceof in 1.10+ ?
#BasicJava- [Error] - Gradlew - GC Overhead Limit Exceeded
Give the jvm more ram- Setting up Forge to Develop Forge
Fuck it. Nuked everything, started over. Ran setup via command prompt, got an eclipse folder this time. Only problem...all the net.minecraftforge packages are missing. The complete reverse of what I was getting with IntelliJ The hell?- Best practices to have one block check the inv/tile entity of a nearby one
...no, that's not how that works. You need to schedule the first tick yourself onBlockPlaced. - [1.10.2] Custom slabs not rendering
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.