mirror of
https://github.com/GTNewHorizons/StructureLib.git
synced 2026-11-12 00:07:27 +00:00
18 lines
644 B
Java
18 lines
644 B
Java
package com.gtnewhorizon.structurelib.structure;
|
|||
|
|
|
||
|
|
import net.minecraft.block.Block;
|
||
|
|
import net.minecraft.world.World;
|
||
|
|
|
||
|
|
public interface ICustomBlockSetting {
|
||
|
|
/**
|
||
|
|
* Default block setting calls {@link World#setBlock(int x, int y, int z, Block block, int meta, int updateType)} like:
|
||
|
|
* {@code world.setBlock(x,y,z,this/block,meta,2)} where updateType 2 means to update lighting and stuff
|
||
|
|
*
|
||
|
|
* @param world world that should be affected
|
||
|
|
* @param x x position to set
|
||
|
|
* @param y y position to set
|
||
|
|
* @param z z position to set
|
||
|
|
* @param meta required meta
|
||
|
|
*/
|
||
|
|
void setBlock(World world, int x, int y, int z, int meta);
|
||
|
|
}
|