VOOZH about

URL: https://minecraft.wiki/w/Talk:Hitbox

⇱ Talk:Hitbox – Minecraft Wiki


Talk:Hitbox

From Minecraft Wiki
Jump to navigation Jump to search

Request to Terminate request for Missing information

[edit source]
Latest comment: 29 July 20221 comment1 person in discussion

A Request for more information on Functionality that didn't exist was Filed To Hitbox, If We can reach a consensus on this then It can Either be Removed or any information regarding this will be compiled and added – Unsigned comment added by MinerMinerMain (talkcontribs) at 21:42, 29 July 2022 (UTC). Sign comments with ~~~~

Create a new section for the interaction box list.

[edit source]
Latest comment: 5 January1 comment1 person in discussion

Just as there's a section for entities, there could be one for blocks.

But that would require some work. The idea would be to list all blocks that are not 16×16×16. A quick look at the code shows 133 instances of getShape.

Before starting the list, it would be important to define rules for how we will discuss the formats, considering more complex cases, block state variations, etc.

Edit: Perhaps we could use a notation based on the game's code. For example:

  • box(x,y,z,X,Y,Z) = (x,y,z) to (X,Y,Z)
  • column(x,z,y,Y) = box(8-x/2,y,8-z/2,8+x/2,Y,8+z/2)
  • column(xz,y,Y) = column(xz,xz,y,Y)
  • cube(x,y,z) = column(x,z,8-y/2,8+y/2)
  • cube(l) = cube(l,l,l)
  • boxZ(x,y,Y,z,Z) = box(8-x/2,y,z,8+x/2,Y,Z)
  • boxZ(x,y,z,Z) = boxZ(x,8-y/2,8+y/2,z,Z)
  • boxZ(xy,z,Z) = boxZ(xy,xy,z,Z)

The code is a little different, but we could have that too:

  • shape1+shape2 = Union of shape1 and shape2
  • shape1-shape2 = Remove shape2 from shape1

Aloi4 (talk) 20:53, 5 January 2026 (UTC)

Retrieved from "https://minecraft.wiki/w/Talk:Hitbox?oldid=3350340"

Navigation menu