zhuowei / MCPELauncher

Source code for BlockLauncher, a launcher that patches Minecraft for Android
Apache License 2.0
675 stars 191 forks source link

set/getMovementType, mob head item/Exclusive Features needed like PocketMine-MP plugins #645

Open ghost opened 8 years ago

ghost commented 8 years ago

Zhuowei the thing that I want to discuss is that u make these special methods:

Player.isInVoid() Player.setMovementType() and Player.getMovementType() like Player::getMovement() ModPE.setMobHeadItem()

sero583 commented 8 years ago

And we need if its already implented in MC:PE's Code Entity.setBlockHead(id);

zhuowei commented 8 years ago

Is in void can be detected by getPlayerY() < 0

zhuowei commented 8 years ago

@KairusDarkSeeker What Player::getMovement method? That's not in my 0.14.0 disassembly. What is it supposed to do?

ghost commented 8 years ago

Well Player.getMovementType() shows what type of move the player does example when the player is jumping or walking then it should return MovementType.WALK/JUMP