mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-13 14:48:34 +00:00
Cleanup the bukkit implementation, and update to the 1.13 release items/blocks.
This commit is contained in:
@ -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.
|
||||
*
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user