I just wanna place an item bro I'm tired

Started by softmushroombaby on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I just wanna place an item bro I'm tired

I have an item that I want to become a block when I right-click on a block

the problem with this code is that

  1. It strictly puts the block on TOP of the block, not the sides or bottom
  2. it deletes the block on top of the block I right-clicked.

Procedure I'm using: https://imgur.com/a/VcEE6ON

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
2 things and 1 solution for…
Fri, 04/04/2025 - 15:08

2 things and 1 solution for a problem,

thing 1:

do you want to make it a placeable item that is a block when you place it?
(like stone,wood,etc)

thing 2:

what do you want thing block to do, like does it just sit next to the other block or does it beat the friggin ender dragon 2318219 times

solution 1:

place x: x, y, *Y + 1*, z: z

do you see the y + 1, that means its going to be placed 1 block above, if i had a stone block that i wanted to place where my player is, i wouldnt do y+1, I would do y, bc y + 1 would be my player head, y = vertical axis, x = horizantal axis, z = depth axis(?), if you want to change its horizonatal values, change x and z, not y

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i simply want to use it like…
Sat, 04/05/2025 - 05:08

i simply want to use it like a regular block, yes!  it just has a different on-hand texture, and this item is also drinkable! 

I don't understand the solution, as I simply want the block to be peaceable, not to be placed where the player is, nor do I just want the block to be strictly horizontal or vertical