Made glass not remove tiles under itself and updated 2 textures
- Glass is no longer solid and is now transparent - Updated Clock and Wallpaper textures
This commit is contained in:
parent
d2450c796b
commit
76a6c4a186
@ -0,0 +1,22 @@
|
|||||||
|
package ru.windcorp.progressia.test;
|
||||||
|
|
||||||
|
import ru.windcorp.progressia.common.world.block.BlockFace;
|
||||||
|
import ru.windcorp.progressia.server.world.block.BlockLogic;
|
||||||
|
|
||||||
|
public class TestBlockLogicGlass extends BlockLogic {
|
||||||
|
|
||||||
|
public TestBlockLogicGlass(String id) {
|
||||||
|
super(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isSolid(BlockFace face) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isTransparent() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -98,7 +98,7 @@ public class TestContent {
|
|||||||
|
|
||||||
register(new BlockData("Test:Glass"));
|
register(new BlockData("Test:Glass"));
|
||||||
register(new BlockRenderTransparentCube("Test:Glass", getBlockTexture("Glass")));
|
register(new BlockRenderTransparentCube("Test:Glass", getBlockTexture("Glass")));
|
||||||
register(new BlockLogic("Test:Glass"));
|
register(new TestBlockLogicGlass("Test:Glass"));
|
||||||
|
|
||||||
register(new BlockData("Test:Sand"));
|
register(new BlockData("Test:Sand"));
|
||||||
register(new BlockRenderOpaqueCube("Test:Sand", getBlockTexture("Sand")));
|
register(new BlockRenderOpaqueCube("Test:Sand", getBlockTexture("Sand")));
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 764 B After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 952 B After Width: | Height: | Size: 4.8 KiB |
Reference in New Issue
Block a user