Everything posted by Draco18s
-
[1.16.3] How do I use this Code?
Look for implementations of IPlacementConfig and the constructors thereof.
-
Custom Ore Generation
And what's the error?
-
[1.16.2] How Do I Properly Implement Global Loot Modifiers?
Under the assumption that your condition is only ever true for witches (I haven't messed with entity predicates, so I am not sure that your condition is actually what you want) the "alter this section" is very easy: @Nonnull @Override public List<ItemStack> doApply(List<ItemStack> generatedLoot, LootContext context) { generatedLoot.add(new ItemStack(dust, 1)); return generatedLoot; } You would have a field for the dust that you would deserialize to (look at how the reward field is deserialized) and would not need the other two fields at all.
-
Control player programmically
Because the company has decided that it likes people like you (because people like you generate page views and ad clicks) despite the fact that people like you never actually get your question answered because it's garbage content (duplicate, poorly explained, spam, whatever). I'll let this meta-answer explain. https://meta.stackexchange.com/a/355674
-
Detect if there is a block under my block
Look at: Bed Torch Door Pressure Plate A thousand other vanilla blocks
-
Control player programmically
You do realize that that is the entire point of StackOverflow, right? It's not a "I need halp, solve my problem for me" site, it's an encyclopedia. (Conversely, this is a forum, which is a "I need help" site).
-
Custom Ore Generation
Look for biome.addFeature or similar, then.
-
[1.16.3] How to Use Ore Gen
Ore Gen is done with json now.
-
help with ore generation
I haven't messed with it, I only know that it exists.
-
1.16.3 Trouble with capabilities
It depends on the use-case
-
[1.15.2] What Should I Give the SimpleChannel.registerMessages() Parameters?
Yeah, your registration line was fine, all you had to do was change the signature of decode.
-
[1.15.2] What Should I Give the SimpleChannel.registerMessages() Parameters?
This is wrong. You will never receive a packet instance as a parameter here because your job is to create it. https://github.com/Draco18s/ReasonableRealism/blob/1.14.4/src/main/java/com/draco18s/industry/network/ToServerFilterClick.java#L38-L47
-
Trying to understand 1.14 ChestModel and how to replace it in 1.15
ChestTileEntityRenderer
-
1.16.3 Trouble with capabilities
or use ifPresent
-
1.16.3 Trouble with capabilities
- [1.15.2] How to make an item that doesn't burn
That's furnace fuel stuff.- 1.15.2: Tools not breaking blocks
By "won't break" do you mean that the break speed is the same as a fist, or that the block is not dropped (aka "harvested")?- [1.16.3] My item GUI closes instantaneously
You're trying to use the vanilla crafting GUI. The vanilla crafting gui checks to see if the block being accessed is The One And Only Vanilla Crafting Table. Your block is not The One And Only Vanilla Crafting Table. Therefor the use of that gui is invalid and thus closed.- [1.15.2] How to make an item that doesn't burn
I didn't realize these methods existed. 👍- [1.15.2] How to make an item that doesn't burn
You need a custom ItemEntity to accomplish that. Then you need to detect ItemEntities joining the world, check that their item is your item (and not your custom ItemEntity), and replace it.- Mcreator uses Forge and lets you use custom code
I mean, if you paid money to access this forum, you might want to report that. Because this forum is free.- help with ore generation
Ore Gen is json based now.- Mcreator uses Forge and lets you use custom code
Because the code it exports when not doing custom code things is garbage. And because its generated by MCreator not Forge nor the user, its pointless trying to fix it.- mods.toml missing metadata for modid SA
By the way:- Using Strings with recipe DataGenerators
Well yes, but no. They don't have to delete stuff, they can just make a new zip file that has the same folder structure and files names and override your stuff without ever touching it. That's....kinda the whole point of the json system. - [1.15.2] How to make an item that doesn't burn
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.