Cleanup the bukkit implementation, and update to the 1.13 release items/blocks.

This commit is contained in:
Matthew Miller
2018-07-19 12:55:02 +10:00
parent c3d832c3fd
commit 572bf04482
20 changed files with 17201 additions and 16340 deletions

View File

@ -24,13 +24,6 @@ package com.sk89q.worldedit.blocks;
*/
public interface BlockMaterial {
/**
* Get whether this block is rendered like a normal block.
*
* @return the value of the test
*/
boolean isRenderedAsNormalBlock();
/**
* Get whether this block is a full sized cube.
*
@ -87,27 +80,6 @@ public interface BlockMaterial {
*/
float getSlipperiness();
/**
* Get whether this block blocks grass from growing.
*
* @return whether this block blocks grass
*/
boolean isGrassBlocking();
/**
* Get the ambient occlusion light value.
*
* @return the ambient occlusion light value
*/
float getAmbientOcclusionLightValue();
/**
* Get the opacity of this block for light to pass through.
*
* @return the opacity
*/
int getLightOpacity();
/**
* Get the light value for this block.
*
@ -129,13 +101,6 @@ public interface BlockMaterial {
*/
boolean isUnpushable();
/**
* Get whether this block can be used in adventure mode.
*
* @return true if the block can be used in adventure mode
*/
boolean isAdventureModeExempt();
/**
* Get whether this block is ticked randomly.
*
@ -143,13 +108,6 @@ public interface BlockMaterial {
*/
boolean isTicksRandomly();
/**
* Gets whether this block uses a neighbor's light value.
*
* @return true if this block does
*/
boolean isUsingNeighborLight();
/**
* Get whether this block prevents movement.
*

View File

@ -88,7 +88,7 @@ public final class Blocks {
shouldPlaceLast.add(BlockTypes.REDSTONE_TORCH);
shouldPlaceLast.add(BlockTypes.REDSTONE_WALL_TORCH);
shouldPlaceLast.add(BlockTypes.SNOW);
shouldPlaceLast.add(BlockTypes.PORTAL);
shouldPlaceLast.add(BlockTypes.NETHER_PORTAL);
shouldPlaceLast.add(BlockTypes.END_PORTAL);
shouldPlaceLast.add(BlockTypes.REPEATER);
shouldPlaceLast.add(BlockTypes.VINE);