Everything posted by Draco18s
-
Texture not loading in-game
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.
-
Texture not loading in-game
And what does the log have to say? Its very good about reporting problems.
-
(Textures) How to make noise pixels on gimp
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
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."
-
Save a list of objects as .json on server side
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
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.
-
Vanilla crops
Use a Supplier<Item>, same way you would for TabGroups.
-
Save a list of objects as .json on server side
That is not valid Java. PortWorldSavedData is a Type, not an Object.
-
Save a list of objects as .json on server side
What's the error?
-
Inject custom loot tables on Vanilla chests fail
Do not use this, use GlobalLootModifiers.
-
Block method differences: updatePostPlacement, onNeighborChange, neighborChanged
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.
-
(Solved) Custom Vanilla Loot Tables
(A) browse the client-extra.jar assets (B) its the same as the registry name of the block
-
How do I make a block transparent?
The one that says "client"...? https://github.com/Foonicular/TutorialMod-1.16.1/blob/main/src/main/java/com/foonicular/tutorial/Tutorial.java#L48
-
Freezes on startup from eclipse debug
1.14.4 is no longer supported. See the green banner at the top of the page.
-
Custom Item Problem (FORGE 1.15.2)
Read the deprecation message.
-
would 1200+ pixel mob texturemaps lag the game
That depends on the hardware its running on.
-
The capacity is different between the client and the server
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.
-
[1.16] Custom ItemGroup icon
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?
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?
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
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?
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?
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?
Sorry it wasn't diesieben07, it was ChampionAsh5357. This, you do this:
-
[SOLVED] How do I send a simple chatmessage to the client only?
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.
IPS spam blocked by CleanTalk.