Everything posted by Draco18s
-
[1.16] Creating a W value alongside X, Y, and Z
That's basically dimensions. Also, no computer would be able to run 60 million dimensions at once.
-
Block as Fuel
Have you looked at the furnace? Surely some code in there determines whether or not a given item counts as fuel.
-
[1.15.2] Data transfert through cables
https://github.com/xana43/CodeLyoko-Legacy/blob/Experimental-1.15.2/src/main/java/com/Ultra_Nerd/CodeLyokoRemake15/blocks/CableBlock.java#L23-L24 You can't do that.
-
How do you make yourself invincible with armor?
https://minecraft.gamepedia.com/Armor#Damage_protection
-
trying to start a mod
You have an error. You should fix it.
-
(1.16.1) How to add another texture layer to chestplate
<accidental double post>
-
(1.16.1) How to add another texture layer to chestplate
-
(1.16.1) How to add another texture layer to chestplate
It's a generic type. The code tells you what matches it. <A extends ModelBiped>
-
OptiFine pre30 + Forge 1.15.2 31.2.36
Because the Optifine team is very bad at making Optifine compatible with Forge.
-
Need Help with Modifying Loot Tables
There should be a reason included.
-
My minecraft crashes everytime i put on my armor.. 1.15.2
/me does not see a crash report /me does not see code /me cannot provide help - error: required data is missing from input string
-
Need Help with Modifying Loot Tables
You shouldn't be calling that yourself, unclear if you are, or if that's the Forge code. Check for earlier errors, such as if your loot modifier failed to be loaded.
-
1.16.1 .setRequiresTool()
It probably hasn't been renamed from its SRG name, so you'll have to do some poking around (looking at existing usage, reading the Properties class, etc) for the right function.
-
Need Help with Modifying Loot Tables
That was early on in my attempts to Do Things, and I don't think it was a "throw errors" kind of problem, but I think I had that resolved before I ever made a PR.
-
Need Help with Modifying Loot Tables
That's news to me, nothing like that happened when I built the sucker (and it still appears in the sample files). The whole point was to be able to use existing the existing Loot Conditions system so that as much as possible was able to be placed into the JSON data without having to design a similar system to do essentially the same thing.
-
Need Help with Modifying Loot Tables
The one being generated RIGHT NOW. Each chest will call the function with different context. Everything previously generated. All of it. Every last item, its a list. That including any stacks created by previously run modifiers. And for whatever loot table is being processed. You seem to have a bit of confusion over what loot modifiers do. Loot modifiers are the replacement system and are a 1:1 translation of what the HarvestDropsEvent did, and more, and does it better. Break a block? apply() is called for all modifiers. Kill an entity? apply() is called for all modifiers. ALL loot table generation should call apply(). (Minor caveat, if your loot modifier does not need to be called, due to its loot conditions, then it is not actually called, but apply() is called, which checks those conditions, and if those conditions are true, then doApply()--the orrideable method you have control of--is called, but all loot modifiers are processed). The only difference is what context those events have. Which is why you're given the context.
-
Need Help with Modifying Loot Tables
👍
-
Need Help with Modifying Loot Tables
The chest entity might also be available directly from the context (the ENTITY parameter), but I haven't looked at it in a while, nor at the chest-generation specifically. What diesieben07 said will definitely work though.
-
[1.14.4] Custom Vanilla Block Drops
Dear lord this topic is woefully out of date. To modify loot tables, use GlobalLootModifiers https://mcforge.readthedocs.io/en/1.15.x/items/globallootmodifiers/
-
(1.16.1) How to add another texture layer to chestplate
- [SOLVED] Getting a dimension ID from a World object [1.16.2]
If you want to, you can put "solved" in the thread title, but otherwise no, because this is a forum, not Stack Overflow.- How to make a basic sword? (1.15.2)
Right click on (almost) anything -> References -> Find in Project So if you did that on the SwordItem class, you'd find everywhere that the class itself was referenced....such as the Items class.- How to make a basic sword? (1.15.2)
Pro tip: if someone else already did it, go look at their code. All of vanilla is there for you to examine. There are only a couple of systems that Forge provides that aren't vanilla (such as capabilities) but for the most part the advice holds true.- How to intercept registry events?
This isn't a "water block / lava block" problem. This is fundamental to how vanilla handles liquids. Material.WATER -> breath meter, swimming, blue overlay Material.LAVA -> hot firey death, red overlay- Minecraft modding problem
There are many tutorials, which one did you watch? - [SOLVED] Getting a dimension ID from a World object [1.16.2]
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.