Closed Alatyami closed 1 year ago
New block registry entry
public static final RegistryObject<Block> STAIR_OAK_GLOWING = registerBlock(
Reference.UnlocalizedName.STAIR_OAK_GLOWING,
() -> new GlowingStairBlock(Blocks.OAK_STAIRS.defaultBlockState(),
BlockBehaviour.Properties.copy(Blocks.OAK_STAIRS))
);
blockstate.json
{
"variants": {
"facing=east,half=bottom,shape=inner_left": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"y": 270
},
"facing=east,half=bottom,shape=inner_right": {
"model": "minecraft:block/acacia_stairs_inner"
},
"facing=east,half=bottom,shape=outer_left": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"y": 270
},
"facing=east,half=bottom,shape=outer_right": {
"model": "minecraft:block/acacia_stairs_outer"
},
"facing=east,half=bottom,shape=straight": {
"model": "minecraft:block/acacia_stairs"
},
"facing=east,half=top,shape=inner_left": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"x": 180
},
"facing=east,half=top,shape=inner_right": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"x": 180,
"y": 90
},
"facing=east,half=top,shape=outer_left": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"x": 180
},
"facing=east,half=top,shape=outer_right": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"x": 180,
"y": 90
},
"facing=east,half=top,shape=straight": {
"model": "minecraft:block/acacia_stairs",
"uvlock": true,
"x": 180
},
"facing=north,half=bottom,shape=inner_left": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"y": 180
},
"facing=north,half=bottom,shape=inner_right": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"y": 270
},
"facing=north,half=bottom,shape=outer_left": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"y": 180
},
"facing=north,half=bottom,shape=outer_right": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"y": 270
},
"facing=north,half=bottom,shape=straight": {
"model": "minecraft:block/acacia_stairs",
"uvlock": true,
"y": 270
},
"facing=north,half=top,shape=inner_left": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"x": 180,
"y": 270
},
"facing=north,half=top,shape=inner_right": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"x": 180
},
"facing=north,half=top,shape=outer_left": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"x": 180,
"y": 270
},
"facing=north,half=top,shape=outer_right": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"x": 180
},
"facing=north,half=top,shape=straight": {
"model": "minecraft:block/acacia_stairs",
"uvlock": true,
"x": 180,
"y": 270
},
"facing=south,half=bottom,shape=inner_left": {
"model": "minecraft:block/acacia_stairs_inner"
},
"facing=south,half=bottom,shape=inner_right": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"y": 90
},
"facing=south,half=bottom,shape=outer_left": {
"model": "minecraft:block/acacia_stairs_outer"
},
"facing=south,half=bottom,shape=outer_right": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"y": 90
},
"facing=south,half=bottom,shape=straight": {
"model": "minecraft:block/acacia_stairs",
"uvlock": true,
"y": 90
},
"facing=south,half=top,shape=inner_left": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"x": 180,
"y": 90
},
"facing=south,half=top,shape=inner_right": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"x": 180,
"y": 180
},
"facing=south,half=top,shape=outer_left": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"x": 180,
"y": 90
},
"facing=south,half=top,shape=outer_right": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"x": 180,
"y": 180
},
"facing=south,half=top,shape=straight": {
"model": "minecraft:block/acacia_stairs",
"uvlock": true,
"x": 180,
"y": 90
},
"facing=west,half=bottom,shape=inner_left": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"y": 90
},
"facing=west,half=bottom,shape=inner_right": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"y": 180
},
"facing=west,half=bottom,shape=outer_left": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"y": 90
},
"facing=west,half=bottom,shape=outer_right": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"y": 180
},
"facing=west,half=bottom,shape=straight": {
"model": "minecraft:block/acacia_stairs",
"uvlock": true,
"y": 180
},
"facing=west,half=top,shape=inner_left": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"x": 180,
"y": 180
},
"facing=west,half=top,shape=inner_right": {
"model": "minecraft:block/acacia_stairs_inner",
"uvlock": true,
"x": 180,
"y": 270
},
"facing=west,half=top,shape=outer_left": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"x": 180,
"y": 180
},
"facing=west,half=top,shape=outer_right": {
"model": "minecraft:block/acacia_stairs_outer",
"uvlock": true,
"x": 180,
"y": 270
},
"facing=west,half=top,shape=straight": {
"model": "minecraft:block/acacia_stairs",
"uvlock": true,
"x": 180,
"y": 180
}
}
}
Description
Mirror the vanilla block and block properties and add a custom light level.
Recipe
B = Vanilla Stair Block G = Glowstone or Shroomlight
| B | B | B | | B | G | B | | B | B | B |
New Blocks
Add glowing variations of all 50 vanilla stair blocks.