Class EmbeddedLightVolume
java.lang.Object
com.jozufozu.flywheel.backend.engine.embed.EmbeddedLightVolume
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected @Nullable MemoryBlockstatic final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidblit(long src, int srcX, int srcY, int srcZ, int srcSizeX, int srcSizeY, long dst, int dstX, int dstY, int dstZ, int dstSizeX, int dstSizeY, int sizeX, int sizeY, int sizeZ) voidclear()voidcollect(net.minecraft.world.level.BlockAndTintGetter level, int minX, int minY, int minZ, int sizeX, int sizeY, int sizeZ) voiddelete()booleanempty()static longoffset(int x, int y, int z, int sizeX, int sizeY) longptr()intsizeX()intsizeY()intsizeZ()intvolume()intx()inty()intz()
-
Field Details
-
STRIDE
public static final long STRIDE- See Also:
-
memoryBlock
-
empty
protected boolean empty
-
-
Constructor Details
-
EmbeddedLightVolume
public EmbeddedLightVolume()
-
-
Method Details
-
empty
public boolean empty() -
collect
public void collect(net.minecraft.world.level.BlockAndTintGetter level, int minX, int minY, int minZ, int sizeX, int sizeY, int sizeZ) -
blit
public static void blit(long src, int srcX, int srcY, int srcZ, int srcSizeX, int srcSizeY, long dst, int dstX, int dstY, int dstZ, int dstSizeX, int dstSizeY, int sizeX, int sizeY, int sizeZ) -
offset
public static long offset(int x, int y, int z, int sizeX, int sizeY) -
clear
public void clear() -
delete
public void delete() -
ptr
public long ptr() -
x
public int x() -
y
public int y() -
z
public int z() -
sizeX
public int sizeX() -
sizeY
public int sizeY() -
sizeZ
public int sizeZ() -
volume
public int volume()
-