Jump to content
  • 0

how do i make it when you click on a villager it teleports you


KITI_31

Question

Recommended Posts

  • 0
options:
	villagerName: example # Set this to the display name of your villager
	locX: 0 # Set this to your X Position
	loxY: 0 # Set this to your Y Position
	loxZ: 0 # Set this to your Z Position
	world: world # Set this to the world name

on rightclick on villager:
	if display name of event-entity is "{@villagerName}":
		teleport player to location({@locX}, {@locY}, {@locZ}, world "{@world}")
		

lmk if this doesn't work

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...