Add PistonValueType 2 mentioned on the protocol wiki.

This commit is contained in:
Steveice10 2019-04-29 17:41:12 -07:00
parent 050ddd3911
commit 0d0aade9f4
2 changed files with 3 additions and 1 deletions

View file

@ -746,6 +746,7 @@ public class MagicValues {
register(PistonValueType.PUSHING, 0);
register(PistonValueType.PULLING, 1);
register(PistonValueType.CANCELLED_MID_PUSH, 2);
register(MobSpawnerValueType.RESET_DELAY, 1);

View file

@ -2,5 +2,6 @@ package com.github.steveice10.mc.protocol.data.game.world.block.value;
public enum PistonValueType implements BlockValueType {
PUSHING,
PULLING;
PULLING,
CANCELLED_MID_PUSH;
}