Everything posted by poopoodice
-
[1.16.1]lang didn't work and model unable to load
Maybe try replace models.item to models/item, or even recreate them because sometimes there are little errors that can't be found by just looking at them
-
[1.16.1]lang didn't work and model unable to load
Well that's what the error said somehow
-
[1.16.1]lang didn't work and model unable to load
It should be assets/modid, but what you have there does not match your modid
-
[1.15.2] How can I render a texture on top of the screen?
You can check ForgeInGameGui/InGameGui, there are a lot of similar rendering going on there.
-
Error when starting mod server
They are the same thing, which @OnlyIn(Dist.CLIENT) is the replacement of that in newer versions. Also quote from the docs
-
Error when starting mod server
https://mcforge.readthedocs.io/en/latest/concepts/sides/#reaching-across-logical-sides If you look into Minecraft.java, it has a annotation on it @OnlyIn(Dist.CLIENT) tells you this is only available on a specific side https://mcforge.readthedocs.io/en/latest/concepts/sides/#fmlenvironmentdist-and-onlyin
-
Error when starting mod server
no, it's client only
-
Error when starting mod server
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft My guess is you are using Minecraft in somewhere that's not on client
-
Error when starting mod server
Upload a repo, it seems like there's a "sides" problem https://mcforge.readthedocs.io/en/latest/concepts/sides/
-
[1.16] Smooth entity render - how it was made?
You may find this interesting: Another idea is to see how parrots sit on the player's shoulders.
-
Forge help
We don't know what the tutorial is, therefore we have no idea what do you mean by "didn't work" and "different from the tutorial". Are you trying to launch minecraft client?
-
Attaching models to a player
I would say use RenderPlayerEvent.Post to render extra parts of players
-
[1.15.2] Remove Slowness when using an Item
Better not to set the base value, instead apply a modifier on it.
-
[1.16] Smooth entity render - how it was made?
Are you using render player event to render your own thing? The event is called whenever the player is being rendered hence you can have same update rate as the player.
-
[1.15.2] Remove Slowness when using an Item
iirc it's hard coded, you can't stop it from happening in normal solutions
-
[1.16] Smooth entity render - how it was made?
From my experience the motion of player is (0.0, -0.0784000015258789, 0.0) when still is because there's gravitational (downward) acceleration, and the unit should be blocks/tick.
-
Using the DifficultyChangeEvent
setAllowedSpawnTypes(boolean hostile, boolean peaceful) in World and public void checkDespawn() in MobEntity
-
Using the DifficultyChangeEvent
My IDE says onDifficultyChange(Difficulty difficulty, Difficulty oldDifficulty) in ForgeHooks is never called in all places, not sure why is this happening
-
How do I add an ItemStack to a horse inventory slot?
What and where you want to do this?
-
How do I add an ItemStack to a horse inventory slot?
I don’t think doing that on client (mc) would work, what do you want to do?
-
Render block outside viewport?
see how doors, beds, tall bush blocks.. etc does it.
-
[1.16.1] Problem in json model rendering
in client setup RenderTypeLookup.setRenderLayer(block, rendertype);
-
Discussion: Safe to use BlockPos#hashCode() ?
not sure if this is related but in BlockSnapshot @Override public int hashCode() { int hash = 7; hash = 73 * hash + this.getMeta(); hash = 73 * hash + this.getDimId(); hash = 73 * hash + this.getPos().hashCode(); hash = 73 * hash + this.getRegistryName().hashCode(); hash = 73 * hash + Objects.hashCode(this.getNbt()); return hash; } maybe it is not used directly?
-
[1.16.1]Cannot set property direction property
It looks fine, please always specify where/what/how is it not working, we aren't psychics 😛
-
[1.16.1]Cannot set property direction property
override fillStateContainer() and add your property to the builder
IPS spam blocked by CleanTalk.