vl20100
-
Posts
5 -
Joined
-
Last visited
Posts posted by vl20100
-
-
No, there isn't.
Here is my mods list:
-
Hi,
I'm using forge-1.18.2-40.1.21. My server and the client have the same version.
I'm using this homemade modpack : https://vincent-leclercq.name/files/mods1_18_2.zip
When a player tries to place a block, the block does not appears for other players and this errors displays in the logs :
[Server thread/WARN] [minecraft/ServerGamePacketListenerImpl]: Ignoring UseItemOnPacket from Player: hit position BlockPos{x=-36, y=66, z=37} too far away from player BlockPos{x=-36, y=66, z=36}
When a player tries to open a chest, I have a similar issue and the chest never opens :
[Server thread/WARN] [minecraft/ServerGamePacketListenerImpl]: Ignoring UseItemOnPacket from Player: hit position BlockPos{x=722, y=67, z=-77} too far away from player BlockPos{x=722, y=68, z=-77}
Does anyone have an idea?
Actually, my server is not playable.
Thank you.
vl20100
-
On 9/24/2021 at 3:54 PM, Luis_ST said:
you need to register a new RenderType for the Block, use ItemBlockRenderTypes#setRenderLayer in FMLClientSetupEvent
Hi,
Thank you for your answer.
How can I do that ? Have you a code sample for me please ?
-
Hi,
I'm creating a mod that adds overlays on some Minecraft's textures.
Here is my model file for the stone block :
Spoiler{ "parent": "block/block", "textures": { "particle": "block/stone", "block": "block/stone", "overlay": "assembledblocks:block/overlays/assembled_stone" }, "elements": [ { "from": [ 0, 0, 0 ], "to": [ 16, 16, 16 ], "faces": { "down": { "uv": [0, 0, 16, 16], "texture": "#block", "cullface": "down" }, "up": { "uv": [0, 0, 16, 16], "texture": "#block", "cullface": "up" }, "north": { "uv": [0, 0, 16, 16], "texture": "#block", "cullface": "north" }, "south": { "uv": [0, 0, 16, 16], "texture": "#block", "cullface": "south" }, "west": { "uv": [0, 0, 16, 16], "texture": "#block", "cullface": "west" }, "east": { "uv": [0, 0, 16, 16], "texture": "#block", "cullface": "east" } } }, { "from": [ 0, 0, 0 ], "to": [ 16, 16, 16 ], "faces": { "north": { "uv": [0, 0, 16, 16], "texture": "#overlay", "cullface": "north" }, "south": { "uv": [0, 0, 16, 16], "texture": "#overlay", "cullface": "south" }, "west": { "uv": [0, 0, 16, 16], "texture": "#overlay", "cullface": "west" }, "east": { "uv": [0, 0, 16, 16], "texture": "#overlay", "cullface": "east" } } } ] }
My texture has transparency.
My block's display works fine on my blockItem but not on my block (as you can see below).
SpoilerCan you tell me where is my mistake ?
Thank you.
Ignoring UseItemOnPacket from user
in Support & Bug Reports
Posted
Problem solved.
I don't know why.
I copied my server folder in another to test without some mods and it worked with all mods.
Thank you for your help.