Everything posted by Draco18s
-
Can anyone pls explain me this error? :D
You have this: final ResourceLocation registryName = Preconditions.checkNotNull(block.getRegistryName(), "Block %s has null registry name", block); That precondition is useless. Why? Because if the block's registry name was null, you'd have gotten an error when registering it. What you should do is check to see if the block is null. Because it will be: private static final Block AMETHYST_ORE = null; You never assign a value to this field. If you are intending to use Object Holders to fill it (good idea) you need to add the Object Holder annotation.
-
[1.10.2] [SOLVED] Side threads running.
More specifically, the class isn't even available. The Minecraft dedicated server jar does not include those classes (or fields/methods). They've literally been stripped. Even if the JVM wants them, they aren't there to go get. That's why the server will crash with a "Class Not Found" exception. While the reason for the removal is to make the jar more lightweight, it's more complicated than simply "not loading" things.
-
Drawing lines on top of the world
Yep, that. That's what I meant.
-
Drawing lines on top of the world
Those numbers (519, 515) aren't magic. The decompiled minecraft code uses them because the numbers came from an enum. I'm away from dev, so I can't point you at the right place, but they stand for GL_ALWAYS and GL_LEQUAL respectively. I suggest you update your code to use the enum reference so that your code is more readable and doesn't contain these arbitrary magic numbers.
-
[1.12.2] The best way to animate TESR
Store the counter in your TE and reference it in your TESR
-
DamageSource.getEntity() always null
As a client only mod? Yes. It is impossible.
-
[1.11.2] @Override return error
Go look at the block class and find what the new signature is for that method.
-
Ich habe ein Problem bei modden, erbitte dringende Hilde ;^)
erik.mod.Amethyst.proxy, but the field is not static
-
[Unsolved] Trouble with sound...
How does the server tell the client anything? Parakeets. Packets.
-
[Unsolved] Trouble with sound...
Sound on the other hand, is also a client side effect. Dollars to doughnuts, that playSound method forwards off to somewhere that does nothing.
-
[Unsolved] Trouble with sound...
.Here: That event is fired on the server. Minecraft.getMinecraft() is client-side-only.
-
how to properly change the world from a client event?
The key bit there being WorldClient world
-
Ich habe ein Problem bei modden, erbitte dringende Hilde ;^)
You changed the server proxy string, but it is the client proxy string that is wrong.
-
[1.12.2][SOLVED]texture opacity in a custom block model json not supported?
/time set 2000 Then take screenshots.
-
[1.12.2][SOLVED] Json recipe enchanted book ingredient
Then click the convenient "remove formatting" button that shows up when you paste stuff. Or the one in the tool bar. Cyan on white is impossible to read.
-
[1.12.2][SOLVED] Json recipe enchanted book ingredient
Please don't color your posts. I can't read that shit.
-
[1.12.2] [Solved] crafting recipes and dyes
I can open them just fine in Eclipse...
-
[1.12.2] [Solved] crafting recipes and dyes
Have you looked at any of the vanilla recipes that involve metadata items? Say...cookies?
-
[1.12.2] Stuck getting started; need simple example
Append to the message rather than displaying a new message.
-
[1.12.2] [Solved] crafting recipes and dyes
Dyes use metadata.
-
Forge [1.12] RessourceLocation Paths
File not found: ezmod:models/... Your file is located at ezmode:models/...
-
[1.12.2] Collision box that only allows passing through in one side
...make it SMALLER than 1x1x1 Like... 1x0.9x1 It still HAS a top face, but that when the player stands there, they will take damage.
-
[Solved] [1.12.2] Model variants not recognized
Oh your file was valid JSON, that wasn't your problem. It was that it failed to deserialize into the expected types.
-
[Solved] [1.12.2] Using the NotEnoughItems API?
If its in your build path, all you have to do is import the classes. Unless you have a more specific question.
-
[1.12.2] Collision box that only allows passing through in one side
If you make the collision box a full cube in all directions except up, then you can use the same code that cactus does for damaging the player, which is based on the player's collision box being inside the full 1x1x1 volume of the block. This will allow the player to grind themselves up against the sides the spikes without taking damage.
IPS spam blocked by CleanTalk.