Update to Minecraft 1.13-pre7

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2018-07-15 10:00:00 +10:00
parent debc7172fd
commit 767e4f6ccf
199 changed files with 8301 additions and 3637 deletions

View File

@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
public class Pumpkin extends MaterialData implements Directional {
public Pumpkin() {
super(Material.PUMPKIN);
super(Material.LEGACY_PUMPKIN);
}
/**
@@ -22,29 +22,10 @@ public class Pumpkin extends MaterialData implements Directional {
setFacingDirection(direction);
}
/**
* @param type the raw type id
* @deprecated Magic value
*/
@Deprecated
public Pumpkin(final int type) {
super(type);
}
public Pumpkin(final Material type) {
super(type);
}
/**
* @param type the raw type id
* @param data the raw data value
* @deprecated Magic value
*/
@Deprecated
public Pumpkin(final int type, final byte data) {
super(type, data);
}
/**
* @param type the type
* @param data the raw data value
@@ -56,7 +37,7 @@ public class Pumpkin extends MaterialData implements Directional {
}
public boolean isLit() {
return getItemType() == Material.JACK_O_LANTERN;
return getItemType() == Material.LEGACY_JACK_O_LANTERN;
}
public void setFacingDirection(BlockFace face) {