Everything posted by Luis_ST
-
[1.17.1] Replacing Player Model with a Mob Model
the base Entity is still a Player I think you can simply copy the vanilla ItemInHandLayer code, it will render a the item at the normal position (which is the player hand) then you need to move the x, y and z position to the position you want
-
Custom ArgumentType(s) not Serializing!
read the java doc of String#split, if you want to split a String at a dot you need to use "\\."
-
List of useable types for ForgeConfigSpec.Builder
only primitive values are supported (int, double, float, enum, ...) this also include Strings, if you want to use other values you need to store them in a String or a enum, e.g. minecraft:stone is the RegistryName of the Stone block you can store the name (as String) in the config then you can create a ResourceLocation from a String a then you can get the Block
-
Alternative of alphaTest();
look into the vanilla code how they render the name above a player
-
[1.17.1] Replacing Player Model with a Mob Model
did you look at the vanilla code?
-
Alternative of alphaTest();
the RenderSytem class has the method enableAlphaTest and disableAlphaTest use them. if this is not what you want, explain what exactly you are looking for
-
Noise Deformation?
you can look into this package of my mod it's an test Dimension (the ChunkGenerator and the BiomeSource), note that the buildSurfaceAndBedrock method in the ChunkGenerator is not implemented correctly
-
Alternative of alphaTest();
look into the RenderSystem class
-
[1.17.1] Replacing Player Model with a Mob Model
again do not use @OnlyIn, I'm unfortunately not able to read your code because I'm on my mobile (and the code feature look very strange), I will look at your question again when I'm back on PC😅
-
Noise Deformation?
a custom ChunkGenerator allows you to modify the Level generation, the ChunkGenerator will create the Bedrock, the Ground and the Surface of your custom Dimension. the goal you have is also possible without multiple Biomes. you also need a NoiseGenerator (I would prefer the SimplexNoiseGenerator), they create normally a value between -1.0 and 1.0. look at the vanilla NoiseChunkGenerator at the method buildSurfaceAndBedrock and try to understand how the NoiseGenerator works. for your Dimension you will need two NoiseGenerator one for the Terrain and one for the "Mountains" then check wherever the MountainNoise is larger than a value (e.g. 0.8) you scale the SurfaceNoise. you need to test a bit for the best result. iirc this is the best way to do this
-
[1.16.5] Config entries vanishing after config change
stop doing that, you should always register all items. if you want to disable items remove them from the creative tab and disable the crafting
-
Alternative of alphaTest();
which version did you use?
-
Noise Deformation?
did you use a custom ChunkGenerator? I think the best way to create a surface like this would be to use different Biomes
-
[1.17.1] Replacing Player Model with a Mob Model
that's correct but the model is stored in the LivingEntityRenderer, and this is OOP also do never use @OnlyIn, and if you want to use your code above I think you need to render the EntityModel manually that's because the Slime dosen't have the ArmorLayer and ItemHandLayer you need to add a custom Layer to the EntityRenderer or you disable the rendering of Armor and hold items
-
Event Trigger on Player World Change
is your mod installed on server?
-
1.17 Mods with public repos
take a look at this tutorial, it has a up to date git repo
-
[1.16.5] Change Armor model
screach for the question in the forum, this question has answered many times ago
-
[1.16.5] Change Armor model
a moded armor or a vanilla armor
-
Minecraft crashes while launching - failed to find service port for display
create your own Thread and post more details
-
Best way to make the client close the deathscreen/respawn a player [1.16.5]
this is basic java but can simply add befor the ServerPlayer instance: () ->
-
newest forge crashes with most of mods
post debug log
-
World/Game crashes on startup
1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
-
Flipped texture on model json [1.16.5]
then I'm at the end of my knowledge, sorry
-
RayTrace help
yes everything with @OnlyIn(Dist.CLIENT) is not available on server
-
Best way to make the client close the deathscreen/respawn a player [1.16.5]
update in this thread, do not create a new one
IPS spam blocked by CleanTalk.