mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Make a blockstate json for animated torch to silence log errors, move item json to right place
This commit is contained in:
3 files changed
+20
No files matched your search
@@ -33,6 +33,7 @@ import vazkii.botania.api.lexicon.LexiconEntry;
|
||||
import vazkii.botania.api.mana.IManaTrigger;
|
||||
import vazkii.botania.api.wand.IWandHUD;
|
||||
import vazkii.botania.api.wand.IWandable;
|
||||
import vazkii.botania.client.core.handler.ModelHandler;
|
||||
import vazkii.botania.common.block.tile.TileAnimatedTorch;
|
||||
import vazkii.botania.common.lexicon.LexiconData;
|
||||
import vazkii.botania.common.lib.LibBlockNames;
|
||||
@@ -141,4 +142,11 @@ public class BlockAnimatedTorch extends BlockMod implements IWandable, IManaTrig
|
||||
return LexiconData.animatedTorch;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public void registerModels() {
|
||||
super.registerModels();
|
||||
ModelHandler.registerCustomItemblock(this, "animatedtorch");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "botania:dummy",
|
||||
"textures": {
|
||||
"particle": "minecraft:blocks/redstone_torch_on"
|
||||
}
|
||||
},
|
||||
"variants": {
|
||||
"normal": [{}]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user