Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Good nights 
i fond the json whit the list of blocks enderman picksup and add one of the mines 

/data/minecraft/tags/blocks/enderman_holdable.json

	{
    "replace": false,
  "values": [
    "mercblk:manhole_panel"
  ]
}
	

and its works but two things i need 

2023-03-15-21-17-21.png

 

they hold the manhole cover whit the same rotations as a block of dirt 

is posible to set a custome rotation more adequate to this block like in the display section of the json model 

like 

"thirdperson_enderman": {

"rotation": [0, 90, 0],

"translation": [3.25, -1.75, -3.5],

"scale": [0.5, 0.5, 0.5]

},

 



	"display": {
	"thirdperson_righthand": {
	"rotation": [0, 90, 0],
	"translation": [3.25, -1.75, -3.5],
	"scale": [0.5, 0.5, 0.5]
	},
	"thirdperson_lefthand": {
	"rotation": [0, 90, 0],
	"translation": [3.5, -2, -3.5],
	"scale": [0.5, 0.5, 0.5]
	},
	"firstperson_righthand": {
	"rotation": [0, 90, 0],
	"translation": [1.5, 2, 0],
	"scale": [0.5, 0.5, 0.5]
	},
	"firstperson_lefthand": {
	"rotation": [0, 90, 0],
	"translation": [1.5, 2, 0],
	"scale": [0.5, 0.5, 0.5]
	},
	"ground": {
	"translation": [0, 1.25, 5.5],
	"scale": [0.75, 0.75, 0.75]
	},
	"gui": {
	"rotation": [0, 11.25, -45],
	"translation": [1, 0, 0],
	"scale": [0.75, 0.75, 0.75]
	},
	"head": {
	"translation": [0, 0.25, -1]
	},
	"fixed": {
	"rotation": [0, 0, 45],
	"translation": [0, 0, 5.5]
	}
	

 

#########################

and the main thing is 
i made this custome manhole block the cover can be detached from the block and if you break the block it will drops the cover first 

manhole-edit-edit.gif

i want the ender to stole only the cover and let the gravel slab behind 
soo it i have two posibilities 


if the block has some

onEndermansPick(Level level, BlockPos pos, Entity ender){} function 

or an onEndermanPicksBlock event  

any if those is good 
 

thanks fro your time 



 

 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.