Everything posted by Draco18s
-
Where can I find the JavaDocs for the forge API?
That's because it isn't autogenerated. Just because Java has a way to docvument things and Forge is written in Java does not mean that all docs are JavaDoc. The intertnal docs and the external docs sever a different purpose.
-
Where can I find the JavaDocs for the forge API?
You mean this? https://mcforge.readthedocs.io/en/latest/gettingstarted/
-
[1.13.2] how to create item
This post in no way allows us to help you. This is a forum, not a chat room. In order to help you, you need to provide all of the information necessary. In this case, that means, you code pasted as text, not an image.
-
[1.12.2]Recipe that uses durabilty of a shovel when crafted
You need to parse the JSON. See my example here: https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/hardlib/api/recipes/RecipeToolMold.java#L248-L265 You're going to largely need to figure this out for yourself based on existing examples.
-
How do i make a block colorable exactly like the leather-armour?
IBlockColor won't help you store any additional data. You'd still need a TE.
-
json Recipes help
What? This makes no sense. If you want two recipes, you need two recipe(file)s. And just because a JSON validator said "yep, that's valid JSON" does not mean that it is a valid recipe. Recipes have a specific structure to them. For example, this is valid JSON: { "parent": "block/cross", "textures": { "cross": "blocks/reeds" } } But it is not a valid recipe.
-
exeption in starting minecraft
And the code you did provide, by the by, is fucking worthless. Its just a giant series of logging statements that do fuck all. And maybe a few methods calling out to code you didn't give us.
-
[1.12.2]Recipe that uses durabilty of a shovel when crafted
It should either: a) implement IRecipe (and implementing it will tell you exactly what methods you need because you'll get red lines and the auto-fix will create stub methods you will need to implement (write code for)) b) extend an existing implementation of IRecipe (and you will need to override one or more of those methods to do what you want, as I mentioned previously)
-
[1.12.2]Recipe that uses durabilty of a shovel when crafted
In Java. Its a class.
-
[1.12.2]Recipe that uses durabilty of a shovel when crafted
You need a custom IRecipe implementation (this will also require setting up a _factories.json file) When you get to determineRemainingItems you leave the shovel (and damage it). You can extend existing recipes and only override the single method.
-
can I mod without doing the setup process?
Batch files.
-
[1.13.2] how do i write the dyes in recipes?
"How" inherently made the sentence a question. You didn't say "I can/can't find them" you said "how do I find them."
-
[1.13.2] how do i write the dyes in recipes?
Yes. Yes they were. Welcome to the flattening. Yes. Yes you should. Welcome to the flattening. Fuck if I know or care. The names are on the official wiki and like a billion other places. Its not even new-news that the names changed, Mojang published them in their flattening announcement blog post for god's sake. Welcome to the flattening.
-
[1.13.2] how do i write the dyes in recipes?
What did you think this was?
-
can I mod without doing the setup process?
Yes. Make a batch file. Stop complaining about it.
-
[1.13.2] how do i write the dyes in recipes?
Welcome to the flattening. Hopefully you can work out what that means.
-
[1.13.2] Baking a Model WITHOUT an assigned block?
For the record I barely know how it works. There was a lot of trial and error and things would crash without any real information at to what happened.
-
[1.13] How do you Register item renders ?
You shouldn't be doing this in 1.12 either. The ModelRegistryEvent and the ModelLoader class exist for a fucking reason. This garbage is from 1.8 and hasn't been the right way since 1.10.
-
[SOLVED]Delay TileEntity removal when block broken in creative mode.
Option (a) include all of the relevant parameters in the packet so you don't need the TE. Option (b) use an ITickableSound in order for it to terminate itself when its source block is removed. https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/ores/client/SoundWindmill.java#L37
-
[1.13.2] actual appearence of blockstates jsons?
Changed "inside" a resource is the same as "changed the resource." You either need to do a Clean action, then build, or change some (java) code.
-
[1.13.2] actual appearence of blockstates jsons?
Resources tend to get missed when they're changed. Eclipse is not very good about moving them over when they're the only thing that had changed. The code is the same, so eclipse assumes that nothing else is different.
-
Blocking the flow of fluids once and for all. Is it even possible?
You can't. The best I ever managed was a block that, when placed, stored a record of what it could see around it. Then, every tick, it reverted any changes (ignoring certain things, like doors opening, redstone, etc). Water flow was a notorious problem.
-
Error with block registration
BlockBase is not magic. What does the getItemBlock method do? Why Item.getFromBlock. This function is itself, public, as is the parameter it passes. For (Block b : ModBlocks) ModItems.add (Item.getFromBlock (b)); Amazing.
-
[1.13.2] actual appearence of blockstates jsons?
Well, between you and the computer, the computer can't be wrong.
-
Error with block registration
Replace BlockBase with Block.
IPS spam blocked by CleanTalk.