mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Remove ColoredLights integration
This commit is contained in:
16 files changed
+3
-291
No files matched your search
@@ -24,8 +24,6 @@ import javax.annotation.Nonnull;
|
||||
|
||||
public class BlockMod extends Block {
|
||||
|
||||
protected int originalLight;
|
||||
|
||||
public BlockMod(Material par2Material, String name) {
|
||||
super(par2Material);
|
||||
setUnlocalizedName(name);
|
||||
@@ -39,16 +37,8 @@ public class BlockMod extends Block {
|
||||
GameRegistry.register(this instanceof IElvenItem ? new ItemBlockElven(this) : new ItemBlockMod(this), getRegistryName());
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public Block setLightLevel(float p_149715_1_) {
|
||||
originalLight = (int) (p_149715_1_ * 15);
|
||||
return super.setLightLevel(p_149715_1_);
|
||||
}
|
||||
|
||||
protected boolean registerInCreative() {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user