Everything posted by Draco18s
-
Making a stand-alone mod Forge compatible.
The word is "your" it has four letters. This isn't twitter where you only have 144 characters, you can afford the time and effort to use proper spelling. Unless you mean the Mesopotamian city-state. No, you will need to rewrite it from the ground up. There is no way around this, as a standalone mod is going to be doing things that are fundamentally incompatible with the Forge ethos.
-
[1.12.2] Entity hands not rendering via an inventory
The base issue is that you aren't synchronizing the entity's inventory to the client (it does not happen automatically until the player interacts with the entity).
-
[1.14.4] Injecting into Existing Loot Tables, Blocks
Christ, use the given-to-you-logger. It does all that for you.
-
[1.14.4] Injecting into Existing Loot Tables, Blocks
Why do you have this?
-
Override vanilla advancements? (1.14)
Then save it under the minecraft ID. Advancements are just json files, put it with the same name, in the correct place, and it'll override.
-
[SOLVED] [1.14.4] How do I read a Jsonarray from a file?
Basically, this: https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/hardlib/CogHelper.java#L56
-
pw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: rock
Have you tried this? Have you contacted the authors? What do you expect us to do?
-
[1.14.4]world.getTileEntity() doesn't work correctly
You don't need to. The TileEntity can query the blockstate of its own position any time it wants.
-
[1.14.4]world.getTileEntity() doesn't work correctly
You can't just do this. Override hasTileEntity and CreateTileEntity in your block class.
-
JSON questions
Use the debugger and make sure that your event handler method is being called.
-
[1.14.4] Injecting into Existing Loot Tables, Blocks
I don't know why you're having so much trouble. https://github.com/Draco18s/ReasonableRealism/blob/1.14.4/src/main/java/com/draco18s/harderfarming/EventHandlers.java#L42-L57
-
JSON questions
LootTableLoadEvent. So you don't overwrite other mods' additional seeds. Change the number of "rolls"
-
[1.14.4] Injecting into Existing Loot Tables, Blocks
There's only two options: FORGE and MOD. You're using the wrong one.
-
[1.14.4] Injecting into Existing Loot Tables, Blocks
@Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD) That is not the correct bus for that event.
-
[1.14.4] Dimensions
When you create a dimension, you have to pass a DimensionType to DimensionManager.registerDimension() Why not...hold onto it? If you have access to the world, you can also query that world for its dimension information, which includes the DimensionType.
-
CORAL TOMBSTONE MOD NOT WORKS
Talk to the mod author. Those of us here have no idea what that mod is, where the problem could be, or how to fix it. This is the Forge forums. We deal with Forge.
-
Distinguish singleplayer vs. multiplayer
No. Your client code is sending information to make the server do things. Your server code is telling the server to do those same things (again).
-
Distinguish singleplayer vs. multiplayer
You'll note that your code is being called twice on the integrated server now: once from the logical client side (which sends a command, whichlikely makes the server execute code) and once from the logical server side.
-
Distinguish singleplayer vs. multiplayer
This will always be true on the client
-
Game crashing when the block is activated
^^^^^^^^^^^^^^^^^^^^^^^ The class ^^^ Line number Learn to read stack traces.
-
Distinguish singleplayer vs. multiplayer
Items are not proxies. Proxies are proxies, Items are Items. The Item is supposed to call a method in the proxy, it is not the proxy itself.
-
1.12.2-Problem with tile entity custom crafting table
https://mcforge.readthedocs.io/en/1.13.x/networking/
-
Distinguish singleplayer vs. multiplayer
And all of those examples are terrible. Because all three of those things are main mod class tasks. Check out this and this instead. Or even better, this. Yes. That's how proxies work.
-
MoonPhase help
Events don't return values. Second, I'm pretty sure getMoonPhase() is client side only.
-
[1.14.4] remove vanilla goals.
You're calling new on an object that likely does not have equals overridden, which means that the two will never be equal. You will need to iterate over the array and remove it via identification.
IPS spam blocked by CleanTalk.