Jump to content

vl20100

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by vl20100

  1. 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

  2. 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).

    Spoiler

    java_eXaSoV92Un.png

    Can you tell me where is my mistake ?

    Thank you.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.