Cyan Bush
This commit is contained in:
parent
ced29d3a37
commit
d59c12882b
12 changed files with 68 additions and 2 deletions
|
@ -34,6 +34,8 @@ public class RosesMod implements ModInitializer {
|
|||
//Cyan Rose
|
||||
public static final Block CYAN_ROSE = new FlowerBlock(StatusEffects.NAUSEA, 8, QuiltBlockSettings.copyOf(Blocks.POPPY).nonOpaque());
|
||||
public static final Block POTTED_CYAN = new FlowerPotBlock(CYAN_ROSE, QuiltBlockSettings.copyOf(Blocks.POTTED_POPPY));
|
||||
//Cyan Rose Bush
|
||||
public static final Block CYAN_ROSE_BUSH = new TallPlantBlock(QuiltBlockSettings.copyOf(Blocks.LARGE_FERN));
|
||||
|
||||
|
||||
@Override
|
||||
|
@ -52,7 +54,9 @@ public class RosesMod implements ModInitializer {
|
|||
Registry.register(Registries.ITEM, new Identifier(MOD_ID, "cyan_rose"), new BlockItem(CYAN_ROSE, new QuiltItemSettings()));
|
||||
//POTTED CYAN ROSE
|
||||
Registry.register(Registries.BLOCK, new Identifier(MOD_ID, "potted_cyan"), POTTED_CYAN);
|
||||
|
||||
//CYAN ROSE BUSH
|
||||
Registry.register(Registries.BLOCK, new Identifier(MOD_ID, "cyan_rose_bush"), CYAN_ROSE_BUSH);
|
||||
Registry.register(Registries.ITEM, new Identifier(MOD_ID, "cyan_rose_bush"), new BlockItem(CYAN_ROSE_BUSH, new QuiltItemSettings()));
|
||||
|
||||
//CREATIVE TABS
|
||||
ItemGroupEvents.modifyEntriesEvent(ItemGroups.NATURAL).register(content -> {
|
||||
|
@ -61,6 +65,9 @@ public class RosesMod implements ModInitializer {
|
|||
ItemGroupEvents.modifyEntriesEvent(ItemGroups.NATURAL).register(content -> {
|
||||
content.addAfter(Items.BLUE_ORCHID, CYAN_ROSE);
|
||||
});
|
||||
ItemGroupEvents.modifyEntriesEvent(ItemGroups.NATURAL).register(content -> {
|
||||
content.addAfter(Items.ROSE_BUSH, CYAN_ROSE_BUSH);
|
||||
});
|
||||
|
||||
|
||||
//LOOT TABLES
|
||||
|
@ -73,6 +80,7 @@ public class RosesMod implements ModInitializer {
|
|||
});
|
||||
|
||||
|
||||
|
||||
//INIT
|
||||
LOGGER.info("Hello Quilt world from {}!", mod.metadata().name());
|
||||
}
|
||||
|
|
|
@ -15,5 +15,8 @@ public class RosesModClient implements ClientModInitializer {
|
|||
//CYAN ROSE
|
||||
BlockRenderLayerMap.INSTANCE.putBlocks(RenderLayer.getCutout(), RosesMod.POTTED_CYAN);
|
||||
BlockRenderLayerMap.INSTANCE.putBlocks(RenderLayer.getCutout(), RosesMod.CYAN_ROSE);
|
||||
|
||||
//CYAN ROSE BUSH
|
||||
BlockRenderLayerMap.INSTANCE.putBlocks(RenderLayer.getCutout(), RosesMod.CYAN_ROSE_BUSH);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"variants": {
|
||||
"half=lower": {
|
||||
"model": "roses_mod:block/cyan_rose_bush_bottom"
|
||||
},
|
||||
"half=upper": {
|
||||
"model": "roses_mod:block/cyan_rose_bush_top"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2,5 +2,6 @@
|
|||
"block.roses_mod.rose_flower": "Rose",
|
||||
"block.roses_mod.potted_rose": "Potted Rose",
|
||||
"block.roses_mod.cyan_rose": "Cyan Rose",
|
||||
"block.roses_mod.potted_cyan": "Potted Cyan Rose"
|
||||
"block.roses_mod.potted_cyan": "Potted Cyan Rose",
|
||||
"block.roses_mod.cyan_rose_bush": "Cyan Rose Bush"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "roses_mod:block/cyan_rose_bush_bottom"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "roses_mod:block/cyan_rose_bush_top"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "roses_mod:block/cyan_rose_bush_top"
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 6.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.7 KiB |
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"roses_mod:cyan_rose_bush"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"roses_mod:cyan_rose_bush"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 2,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "roses_mod:cyan_rose"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue