Another pass through

This commit is contained in:
Vincent Lee committed 2019-06-29 14:54:39 -07:00
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) {