-
Posts
16559 -
Joined
-
Last visited
-
Days Won
156
Everything posted by Draco18s
-
Yeah, you didn't actually give anyone access. That's...not a log file from running the game. It looks like the RAW html of a github page.
-
And what does the log have to say? Its very good about reporting problems.
-
(Textures) How to make noise pixels on gimp
Draco18s replied to Kiljaeden053's topic in Modder Support
Filter -> Noise Do it on an empty layer, then use one of the layer blending modes (and layer transparency) to get what you want. Random RGB noise will work, just desaturate it to get grays again. -
Coding mod for the first time and can't figure out what this means
Draco18s replied to RandomUser's topic in Modder Support
This isn't even true either. Sun named Java "Java" because reasons (which were probably coffee related) and then spent a few million dollars marketing it. JavaScript on the other hand was being developed independently, saw the huge advertising Sun was doing for Java and said, "We need to name it Java-something so that we can piggy back off their advertising." -
You loop over every Port in the list and break each one down into smaller pieces that can be saved.
-
How to calculate motion from distance and height
Draco18s replied to Colened's topic in Modder Support
Due to air resistance* I hate that it's baked in as a hardcoded value and not labeled in any way, but that's where the value comes from. -
Use a Supplier<Item>, same way you would for TabGroups.
-
That is not valid Java. PortWorldSavedData is a Type, not an Object.
-
What's the error?
-
Inject custom loot tables on Vanilla chests fail
Draco18s replied to Kalma's topic in Modder Support
Do not use this, use GlobalLootModifiers. -
Slight correction, based on my understanding: updatePostPlacement - called immediately after the player places the block in order to check to see if any state change should occur based on neighbors. (Eg. placing concrete powder next to existing water) neighborChanged / onNeighborChange - called when a neighbor changes state in order to see if any state change is necessary. (Eg. water flows into the space next to concrete powder) observedNeighborChange - specific to the observer block, but similar to neighborChanged. I haven't messed with it.
-
(A) browse the client-extra.jar assets (B) its the same as the registry name of the block
-
The one that says "client"...? https://github.com/Foonicular/TutorialMod-1.16.1/blob/main/src/main/java/com/foonicular/tutorial/Tutorial.java#L48
-
1.14.4 is no longer supported. See the green banner at the top of the page.
-
Read the deprecation message.
-
would 1200+ pixel mob texturemaps lag the game
Draco18s replied to Kiljaeden053's topic in Modder Support
That depends on the hardware its running on. -
The capacity is different between the client and the server
Draco18s replied to ogachan1503's topic in Modder Support
To explain, we can't support old versions forever as doing so requires people who know the version and as new versions come out, people not using the old version forget how to work with it. -
You can see how I handled it in 1.14: https://github.com/Draco18s/ReasonableRealism/blob/1.14.4/src/main/java/com/draco18s/hardlib/api/internal/ModItemGroup.java https://github.com/Draco18s/ReasonableRealism/blob/1.14.4/src/main/java/com/draco18s/industry/ExpandedIndustry.java#L59 (IItemProvider is approximately equal to a Supplier<ItemStack>, pretty sure the latter replaced the former, but the end result is pretty much the same)
-
[SOLVED] How do I send a simple chatmessage to the client only?
Draco18s replied to Philip2809's topic in Modder Support
You're seriously asking if using it is going to break something. No. That's why that method is there. -
[SOLVED] How do I send a simple chatmessage to the client only?
Draco18s replied to Philip2809's topic in Modder Support
So then it isn't from the player is it? So why would you tell the code that it was? -
[1.14.4] SOLVED Get current age of specific CropsBlock
Draco18s replied to frakier's topic in Modder Support
I wonder if there might be a method in the CropsBlock definition that might help with this... -
[SOLVED] How do I send a simple chatmessage to the client only?
Draco18s replied to Philip2809's topic in Modder Support
Is the message coming from the player? Or is it to the player? If you really can't figure it out: -
[SOLVED] How do I send a simple chatmessage to the client only?
Draco18s replied to Philip2809's topic in Modder Support
You mean a red underline? Yes, it would, but just because it turns red doesn't tell us what your IDE is saying is wrong. All that is is "there is an error here." What error? -
[SOLVED] How do I send a simple chatmessage to the client only?
Draco18s replied to Philip2809's topic in Modder Support
Sorry it wasn't diesieben07, it was ChampionAsh5357. This, you do this: -
[SOLVED] How do I send a simple chatmessage to the client only?
Draco18s replied to Philip2809's topic in Modder Support
Your message is coming from your mod, from no where, you don't need a website to find a player's UUID, you either get the UUID from an entity itself or don't need a real UUID at all, in which case you need a dummy UUID, which diesieben07 already told you how to get.