mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 06:24:27 +00:00
Another pass through
This commit is contained in:
1 parent
bd5b395ee8
commit
fc1dd61c53
66 files changed
+170
-296
No files matched your search
@@ -71,7 +71,7 @@ public class BlockLightRelay extends BlockMod implements IWandable, ILexiconable
|
||||
}
|
||||
|
||||
@Override
|
||||
public void neighborChanged(BlockState state, World worldIn, BlockPos pos, Block blockIn, BlockPos fromPos) {
|
||||
public void neighborChanged(BlockState state, World worldIn, BlockPos pos, Block blockIn, BlockPos fromPos, boolean isMoving) {
|
||||
if(!worldIn.isRemote && variant == LuminizerVariant.TOGGLE) {
|
||||
if(state.get(BotaniaStateProps.POWERED) && !worldIn.isBlockPowered(pos))
|
||||
worldIn.setBlockState(pos, state.with(BotaniaStateProps.POWERED, false));
|
||||
@@ -96,11 +96,6 @@ public class BlockLightRelay extends BlockMod implements IWandable, ILexiconable
|
||||
&& state.get(BotaniaStateProps.POWERED) ? 15 : 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isFullCube(BlockState state) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public BlockRenderType getRenderType(BlockState state) {
|
||||
|
||||
Reference in new issue
Block a user