-
Posts
16559 -
Joined
-
Last visited
-
Days Won
156
Everything posted by Draco18s
-
[1.16.3] Looting table dropping different items at the same time
Draco18s replied to Trobibot's topic in Modder Support
All of the vanilla loot tables use a predicate for silk touch. Its the same thing. -
[1.16.3] Looting table dropping different items at the same time
Draco18s replied to Trobibot's topic in Modder Support
https://minecraft.gamepedia.com/Predicate -
Custom Ore Gen
-
No idea. 1.12 days, sure. COG can do that. Heck I even added an event to COG to fire after COG ran, so I could be sure that my code 100% ran after COG ran which already ran as super-last as it could.
-
No. Do not conditionally register items. Do not do this. There is a reason that the registry events run before the configuration events. Do not do this. Do not attempt to do this. Do not.
-
Worldgen has changed so radically with 1.15 and 1.16 that any answer I give you for a supported version is utterly unhelpful to you. 1.16 worldgen is handled by json data files, for instance.
-
Congradulations on following directions.
-
What. Why? Does this mean your BlockItems are in your items mod?
-
That's what the code block does. Click the <> button when posting.
-
I don't know why you've insisted on posting your code (and the error) as images. Those things are 100% text.
-
[1.16.3] New to Forge modding and have some questions
Draco18s replied to HeavensSword's topic in Modder Support
There's also: https://mcforge.readthedocs.io/en/1.15.x/ And that site is simply an extraction of the in-code Javadoc, so its likely out of date. Not to mention that 1.16 is not fully deobfuscated yet. Anyway, what things do you still need? I know there were a few more changes from 1.14 to 1.15 (and again to 1.16) but I've lost track of the gist for them. -
[1.16.3] New to Forge modding and have some questions
Draco18s replied to HeavensSword's topic in Modder Support
https://gist.github.com/williewillus/353c872bcf1a6ace9921189f6100d09a -
<project dir>\run\logs
-
You could always go look at what those functions do. Pretty sure the first one is something like getDimensionType() and the second would be something like bedsExplode() (If they were to have human readable names).
-
So... Put the whole thing into a gist... And let us decide the important bits.
-
Burn time comes from items. Each item tells the furnace how much "fuel time" it is worth. Check AbstractFurnaceTileEntity around line 296 for a method named getBurnTime.
-
I do see these two errors: [30Oct2020 11:02:56.874] [Server thread/ERROR] [net.minecraft.item.crafting.RecipeManager/]: Parsing error loading recipe continfblocklib:rose_quartz_pillar_stairs com.google.gson.JsonSyntaxException: Unknown item 'continfblocklib:rose_quartz_pillar_stairs' [30Oct2020 11:02:56.879] [Server thread/ERROR] [net.minecraft.item.crafting.RecipeManager/]: Parsing error loading recipe continfblocklib:chiseled_rose_quartz_stairs com.google.gson.JsonSyntaxException: Unknown item 'continfblocklib:chiseled_rose_quartz_stairs'
-
Your git repository is not a valid Forge project.
-
[1.16.1] New Lantern Not Supporting Transparency
Draco18s replied to Matt Wild's topic in Modder Support
https://forums.minecraftforge.net/search/?q=transparent block&type=forums_topic&updated_after=any&sortby=relevancy&search_and_or=and -
This cannot be done client side. #ReadTheThread.
-
The client, as the client, obviously has some way to make blocks break and drop their loot on the server. It doesn't happen by magic (unless packets are magic). All you need to do is find the code that the client already does and make it run automatically instead of on user input.
-
[Solved] [1.16.3] how to make block click to open custom gui?
Draco18s replied to peanutexexe's topic in Modder Support
Sounds like you want a block that is a container of some kind (like the furnace). You might be best served by looking at a working example: https://github.com/TheGreyGhost/MinecraftByExample/tree/1-15-2-final/src/main/java/minecraftbyexample/mbe31_inventory_furnace There's a lot of moving parts to get what you want and trying to explain through machine translation will be difficult. -
-
Great you have the value. How about you do something with it instead of just ... ignoring it.