Page 1 of 1

Import question.

Posted: Tue Dec 13, 2016 7:59 pm
by Meydex
Hello,
I am working on a custom item that teleports the player wherever he wants with a delay.
However I can't seem to have my custom bypass work since I registered the class as a handler in datapack and the RequestBypassToServer class is obviously located in server.
My question might be dumb but would importing the handler (from the datapack) work in RequestBypassToServer.java (core) ?

Re: Import question.

Posted: Fri Mar 24, 2017 7:27 am
by Zoey76
You can make it work directly in the core, but I'd recommend investing more time to make it unhardcoded in the datapack.

Check item handlers, for example.