Java Code Examples for net.minecraft.world.chunk.storage.ExtendedBlockStorage#setBlocklightArray()
The following examples show how to use
net.minecraft.world.chunk.storage.ExtendedBlockStorage#setBlocklightArray() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ForgeQueue_All.java From FastAsyncWorldedit with GNU General Public License v3.0 | 5 votes |
@Override public boolean removeSectionLighting(ExtendedBlockStorage section, int layer, boolean sky) { if (section != null) { section.setBlocklightArray(new NibbleArray()); if (sky) { section.setSkylightArray(new NibbleArray()); } } return section != null; }
Example 2
Source File: SpongeQueue_1_11.java From FastAsyncWorldedit with GNU General Public License v3.0 | 5 votes |
@Override public boolean removeSectionLighting(ExtendedBlockStorage section, int layer, boolean sky) { if (section != null) { section.setBlocklightArray(new NibbleArray()); if (sky) { section.setSkylightArray(new NibbleArray()); } } return section != null; }
Example 3
Source File: ForgeQueue_All.java From FastAsyncWorldedit with GNU General Public License v3.0 | 5 votes |
@Override public boolean removeSectionLighting(ExtendedBlockStorage section, int layer, boolean sky) { if (section != null) { section.setBlocklightArray(new NibbleArray()); if (sky) { section.setSkylightArray(new NibbleArray()); } } return section != null; }
Example 4
Source File: ForgeQueue_All.java From FastAsyncWorldedit with GNU General Public License v3.0 | 5 votes |
@Override public boolean removeSectionLighting(ExtendedBlockStorage section, int layer, boolean sky) { if (section != null) { section.setBlocklightArray(new NibbleArray(4096, 4)); if (sky) { section.setSkylightArray(new NibbleArray(4096, 4)); } } return section != null; }
Example 5
Source File: ForgeQueue_All.java From FastAsyncWorldedit with GNU General Public License v3.0 | 5 votes |
@Override public boolean removeSectionLighting(ExtendedBlockStorage section, int layer, boolean sky) { if (section != null) { section.setBlocklightArray(new NibbleArray()); if (sky) { section.setSkylightArray(new NibbleArray()); } } return section != null; }
Example 6
Source File: ForgeQueue_All.java From FastAsyncWorldedit with GNU General Public License v3.0 | 5 votes |
@Override public boolean removeSectionLighting(ExtendedBlockStorage section, int layer, boolean sky) { if (section != null) { section.setBlocklightArray(new NibbleArray()); if (sky) { section.setSkylightArray(new NibbleArray()); } } return section != null; }