Lucernia & Filalux prototypes
This commit is contained in:
parent
24280e7649
commit
b66f074fdb
18 changed files with 86 additions and 0 deletions
11
src/main/java/ru/betterend/blocks/FilaluxLanternBlock.java
Normal file
11
src/main/java/ru/betterend/blocks/FilaluxLanternBlock.java
Normal file
|
@ -0,0 +1,11 @@
|
|||
package ru.betterend.blocks;
|
||||
|
||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||
import net.minecraft.block.Material;
|
||||
import ru.betterend.blocks.basis.BlockBase;
|
||||
|
||||
public class FilaluxLanternBlock extends BlockBase {
|
||||
public FilaluxLanternBlock() {
|
||||
super(FabricBlockSettings.of(Material.WOOD).luminance(15));
|
||||
}
|
||||
}
|
|
@ -64,6 +64,7 @@ import ru.betterend.blocks.LacugroveSaplingBlock;
|
|||
import ru.betterend.blocks.LanceleafBlock;
|
||||
import ru.betterend.blocks.LanceleafSeedBlock;
|
||||
import ru.betterend.blocks.LargeAmaranitaBlock;
|
||||
import ru.betterend.blocks.FilaluxLanternBlock;
|
||||
import ru.betterend.blocks.LumecornBlock;
|
||||
import ru.betterend.blocks.LumecornSeedBlock;
|
||||
import ru.betterend.blocks.MengerSpongeBlock;
|
||||
|
@ -233,6 +234,10 @@ public class EndBlocks {
|
|||
public static final Block JELLYSHROOM_CAP_PURPLE = registerBlock("jellyshroom_cap_purple", new JellyshroomCapBlock(217, 142, 255, 164, 0, 255));
|
||||
public static final WoodenMaterial JELLYSHROOM = new WoodenMaterial("jellyshroom", MaterialColor.PURPLE, MaterialColor.LIGHT_BLUE);
|
||||
|
||||
public static final Block LUCERNIA_SAPLING = registerBlock("lucernia_sapling", new TenaneaSaplingBlock());
|
||||
public static final Block LUCERNIA_LEAVES = registerBlock("lucernia_leaves", new EndLeavesBlock(LUCERNIA_SAPLING, MaterialColor.ORANGE));
|
||||
public static final WoodenMaterial LUCERNIA = new WoodenMaterial("lucernia", MaterialColor.ORANGE, MaterialColor.ORANGE);
|
||||
|
||||
// Small Plants //
|
||||
public static final Block UMBRELLA_MOSS = registerBlock("umbrella_moss", new UmbrellaMossBlock());
|
||||
public static final Block UMBRELLA_MOSS_TALL = registerBlock("umbrella_moss_tall", new UmbrellaMossTallBlock());
|
||||
|
@ -331,6 +336,8 @@ public class EndBlocks {
|
|||
public static final Block BULB_VINE = registerBlock("bulb_vine", new BulbVineBlock());
|
||||
public static final Block JUNGLE_VINE = registerBlock("jungle_vine", new VineBlock());
|
||||
public static final Block RUBINEA = registerBlock("rubinea", new VineBlock());
|
||||
public static final Block FILALUX = registerBlock("filalux", new FilaluxBlock());
|
||||
public static final Block FILALUX_LANTERN = registerBlock("filalux_lantern", new FilaluxLanternBlock());
|
||||
|
||||
// Mob-Related
|
||||
public static final Block SILK_MOTH_NEST = registerBlock("silk_moth_nest", new SilkMothNestBlock());
|
||||
|
|
15
src/main/java/ru/betterend/registry/FilaluxBlock.java
Normal file
15
src/main/java/ru/betterend/registry/FilaluxBlock.java
Normal file
|
@ -0,0 +1,15 @@
|
|||
package ru.betterend.registry;
|
||||
|
||||
import net.minecraft.block.AbstractBlock;
|
||||
import ru.betterend.blocks.basis.VineBlock;
|
||||
|
||||
public class FilaluxBlock extends VineBlock {
|
||||
public FilaluxBlock() {
|
||||
super(15, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AbstractBlock.OffsetType getOffsetType() {
|
||||
return AbstractBlock.OffsetType.NONE;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"shape=top": { "model": "betterend:block/filalux_middle" },
|
||||
"shape=middle": { "model": "betterend:block/filalux_middle" },
|
||||
"shape=bottom": { "model": "betterend:block/filalux_bottom" }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"defaultMap": {
|
||||
"spriteMap": [
|
||||
{
|
||||
"sprite": "betterend:block/filalux_bottom",
|
||||
"material": "betterend:waving_glow_inc"
|
||||
},
|
||||
{
|
||||
"sprite": "betterend:block/filalux_middle",
|
||||
"material": "betterend:waving"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"defaultMaterial": "betterend:glow_all"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"defaultMaterial": "betterend:leaves"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"defaultMaterial": "betterend:waving_floor"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"defaultMaterial": "betterend:glow_inc"
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -0,0 +1 @@
|
|||
{}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/cross",
|
||||
"textures": {
|
||||
"cross": "betterend:block/filalux_bottom"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/cross",
|
||||
"textures": {
|
||||
"cross": "betterend:block/filalux_middle"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "betterend:block/filalux_bottom"
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 302 B |
Binary file not shown.
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 263 B |
Binary file not shown.
Before Width: | Height: | Size: 263 B |
Binary file not shown.
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 258 B |
Loading…
Add table
Add a link
Reference in a new issue