Skip to content

Commit

Permalink
add honeycomb
Browse files Browse the repository at this point in the history
  • Loading branch information
Lothrazar committed Aug 23, 2024
1 parent 3296d6c commit 4fd2664
Show file tree
Hide file tree
Showing 30 changed files with 339 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,11 @@ public class AbsentRegistry {
//
// NO INVENTORY SCREEN BLOCKS (chest, furnace, ...)
// NO ORES
// NO RECIPE OVERRIDES / REMOVALS (example: glass walls vs glass panes, chiseled sandstone -> normal slab)
// AVOID METAL-LIKE STORAGE BLOCKS (coal, netherwart, lapis, slime, honey, bone, kelp, ... )
// AVOID PLANTS (leaves, coral, moss, cactus, melon ...)
// AVOID GRAVITY & WORLD TRIGGER BLOCKS (sand, ice, powder, grass, sponge, tinted_glass, dripstone-pointed, infested, ...)
// AVOID REDSTONE STUFF (levers, piston, buttons, dispenser, pressure_plates ...)
// AVOID NEW BLOCK TYPES (chain, lantern, glass panes, iron_bars, ...)
// AVOID PILLAR
// AVOID CHISELED?
// AVOID GLAZED TERRACOTTA
//
// NO RECIPE OVERRIDES / REMOVALS
// AVOID PLANTS (leaves, cactus, melon, pumpkin ...)
// AVOID GRAVITY & WORLD TRIGGER BLOCKS, NON-SOLID BLOCKS (sand, melting-ice, powder, grass, sponge, infested, ...)
// AVOID REDSTONE STUFF (levers, piston, slime, honey, buttons, dispenser, pressure_plates ...)
//
//
//
//
Expand Down Expand Up @@ -250,6 +245,7 @@ public static void onBlocksRegistry(RegisterEvent event) {
reg.register("slab_soul_soil", createSlab(Block.Properties.of(), Blocks.SOUL_SOIL));
reg.register("slab_packed_ice", createSlab(Block.Properties.of().friction(0.98F), Blocks.PACKED_ICE));
reg.register("slab_blue_ice", createSlab(Block.Properties.of().friction(0.989F), Blocks.BLUE_ICE));
reg.register("slab_honeycomb", createSlab(Block.Properties.of(), Blocks.HONEYCOMB_BLOCK));
//
// STAIRS
//
Expand Down Expand Up @@ -382,6 +378,7 @@ public static void onBlocksRegistry(RegisterEvent event) {
reg.register("stairs_soul_soil", createStair(Block.Properties.of(), Blocks.SOUL_SOIL));
reg.register("stairs_packed_ice", createStair(Block.Properties.of().friction(0.98F), Blocks.PACKED_ICE));
reg.register("stairs_blue_ice", createStair(Block.Properties.of().friction(0.989F), Blocks.BLUE_ICE));
reg.register("stairs_honeycomb", createStair(Block.Properties.of(), Blocks.HONEYCOMB_BLOCK));
//
// WALLS
//
Expand Down Expand Up @@ -539,6 +536,7 @@ public static void onBlocksRegistry(RegisterEvent event) {
reg.register("wall_soul_soil", createWall(Block.Properties.of(), Blocks.SOUL_SOIL));
reg.register("wall_packed_ice", createWall(Block.Properties.of().friction(0.98F), Blocks.PACKED_ICE));
reg.register("wall_blue_ice", createWall(Block.Properties.of().friction(0.989F), Blocks.BLUE_ICE));
reg.register("wall_honeycomb", createWall(Block.Properties.of(), Blocks.HONEYCOMB_BLOCK));
//
// GATE
//
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"type=bottom": { "model": "absentbydesign:block/slab_honeycomb" },
"type=top": { "model": "absentbydesign:block/slab_honeycomb_upper" },
"type=double": { "model": "block/honeycomb_block" }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"variants": {
"facing=east,half=bottom,shape=straight": { "model": "absentbydesign:block/stairs_honeycomb" },
"facing=west,half=bottom,shape=straight": { "model": "absentbydesign:block/stairs_honeycomb", "y": 180, "uvlock": true },
"facing=south,half=bottom,shape=straight": { "model": "absentbydesign:block/stairs_honeycomb", "y": 90, "uvlock": true },
"facing=north,half=bottom,shape=straight": { "model": "absentbydesign:block/stairs_honeycomb", "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=outer_right": { "model": "absentbydesign:block/stairs_honeycomb_outer" },
"facing=west,half=bottom,shape=outer_right": { "model": "absentbydesign:block/stairs_honeycomb_outer", "y": 180, "uvlock": true },
"facing=south,half=bottom,shape=outer_right": { "model": "absentbydesign:block/stairs_honeycomb_outer", "y": 90, "uvlock": true },
"facing=north,half=bottom,shape=outer_right": { "model": "absentbydesign:block/stairs_honeycomb_outer", "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=outer_left": { "model": "absentbydesign:block/stairs_honeycomb_outer", "y": 270, "uvlock": true },
"facing=west,half=bottom,shape=outer_left": { "model": "absentbydesign:block/stairs_honeycomb_outer", "y": 90, "uvlock": true },
"facing=south,half=bottom,shape=outer_left": { "model": "absentbydesign:block/stairs_honeycomb_outer" },
"facing=north,half=bottom,shape=outer_left": { "model": "absentbydesign:block/stairs_honeycomb_outer", "y": 180, "uvlock": true },
"facing=east,half=bottom,shape=inner_right": { "model": "absentbydesign:block/stairs_honeycomb_inner" },
"facing=west,half=bottom,shape=inner_right": { "model": "absentbydesign:block/stairs_honeycomb_inner", "y": 180, "uvlock": true },
"facing=south,half=bottom,shape=inner_right": { "model": "absentbydesign:block/stairs_honeycomb_inner", "y": 90, "uvlock": true },
"facing=north,half=bottom,shape=inner_right": { "model": "absentbydesign:block/stairs_honeycomb_inner", "y": 270, "uvlock": true },
"facing=east,half=bottom,shape=inner_left": { "model": "absentbydesign:block/stairs_honeycomb_inner", "y": 270, "uvlock": true },
"facing=west,half=bottom,shape=inner_left": { "model": "absentbydesign:block/stairs_honeycomb_inner", "y": 90, "uvlock": true },
"facing=south,half=bottom,shape=inner_left": { "model": "absentbydesign:block/stairs_honeycomb_inner" },
"facing=north,half=bottom,shape=inner_left": { "model": "absentbydesign:block/stairs_honeycomb_inner", "y": 180, "uvlock": true },
"facing=east,half=top,shape=straight": { "model": "absentbydesign:block/stairs_honeycomb", "x": 180, "uvlock": true },
"facing=west,half=top,shape=straight": { "model": "absentbydesign:block/stairs_honeycomb", "x": 180, "y": 180, "uvlock": true },
"facing=south,half=top,shape=straight": { "model": "absentbydesign:block/stairs_honeycomb", "x": 180, "y": 90, "uvlock": true },
"facing=north,half=top,shape=straight": { "model": "absentbydesign:block/stairs_honeycomb", "x": 180, "y": 270, "uvlock": true },
"facing=east,half=top,shape=outer_right": { "model": "absentbydesign:block/stairs_honeycomb_outer", "x": 180, "y": 90, "uvlock": true },
"facing=west,half=top,shape=outer_right": { "model": "absentbydesign:block/stairs_honeycomb_outer", "x": 180, "y": 270, "uvlock": true },
"facing=south,half=top,shape=outer_right": { "model": "absentbydesign:block/stairs_honeycomb_outer", "x": 180, "y": 180, "uvlock": true },
"facing=north,half=top,shape=outer_right": { "model": "absentbydesign:block/stairs_honeycomb_outer", "x": 180, "uvlock": true },
"facing=east,half=top,shape=outer_left": { "model": "absentbydesign:block/stairs_honeycomb_outer", "x": 180, "uvlock": true },
"facing=west,half=top,shape=outer_left": { "model": "absentbydesign:block/stairs_honeycomb_outer", "x": 180, "y": 180, "uvlock": true },
"facing=south,half=top,shape=outer_left": { "model": "absentbydesign:block/stairs_honeycomb_outer", "x": 180, "y": 90, "uvlock": true },
"facing=north,half=top,shape=outer_left": { "model": "absentbydesign:block/stairs_honeycomb_outer", "x": 180, "y": 270, "uvlock": true },
"facing=east,half=top,shape=inner_right": { "model": "absentbydesign:block/stairs_honeycomb_inner", "x": 180, "y": 90, "uvlock": true },
"facing=west,half=top,shape=inner_right": { "model": "absentbydesign:block/stairs_honeycomb_inner", "x": 180, "y": 270, "uvlock": true },
"facing=south,half=top,shape=inner_right": { "model": "absentbydesign:block/stairs_honeycomb_inner", "x": 180, "y": 180, "uvlock": true },
"facing=north,half=top,shape=inner_right": { "model": "absentbydesign:block/stairs_honeycomb_inner", "x": 180, "uvlock": true },
"facing=east,half=top,shape=inner_left": { "model": "absentbydesign:block/stairs_honeycomb_inner", "x": 180, "uvlock": true },
"facing=west,half=top,shape=inner_left": { "model": "absentbydesign:block/stairs_honeycomb_inner", "x": 180, "y": 180, "uvlock": true },
"facing=south,half=top,shape=inner_left": { "model": "absentbydesign:block/stairs_honeycomb_inner", "x": 180, "y": 90, "uvlock": true },
"facing=north,half=top,shape=inner_left": { "model": "absentbydesign:block/stairs_honeycomb_inner", "x": 180, "y": 270, "uvlock": true }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"multipart": [
{ "when": { "up": "true" },
"apply": { "model": "absentbydesign:block/wall_honeycomb_post" }
},
{ "when": { "north": "low" },
"apply": { "model": "absentbydesign:block/wall_honeycomb_side", "uvlock": true }
},
{ "when": { "east": "low" },
"apply": { "model": "absentbydesign:block/wall_honeycomb_side", "y": 90, "uvlock": true }
},
{ "when": { "south": "low" },
"apply": { "model": "absentbydesign:block/wall_honeycomb_side", "y": 180, "uvlock": true }
},
{ "when": { "west": "low" },
"apply": { "model": "absentbydesign:block/wall_honeycomb_side", "y": 270, "uvlock": true }
},
{
"when": {
"north": "tall"
},
"apply": {
"model": "absentbydesign:block/wall_honeycomb_side_tall",
"uvlock": true
}
},
{
"when": {
"east": "tall"
},
"apply": {
"model": "absentbydesign:block/wall_honeycomb_side_tall",
"y": 90,
"uvlock": true
}
},
{
"when": {
"south": "tall"
},
"apply": {
"model": "absentbydesign:block/wall_honeycomb_side_tall",
"y": 180,
"uvlock": true
}
},
{
"when": {
"west": "tall"
},
"apply": {
"model": "absentbydesign:block/wall_honeycomb_side_tall",
"y": 270,
"uvlock": true
}
}
]
}
4 changes: 4 additions & 0 deletions src/main/resources/assets/absentbydesign/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"itemGroup.absentbydesign": "Absent by Design",

"block.absentbydesign.stairs_honeycomb":"Honeycomb Stairs",
"block.absentbydesign.slab_honeycomb":"Honeycomb Slab",
"block.absentbydesign.wall_honeycomb":"Honeycomb Wall",

"block.absentbydesign.wall_packed_ice":"Packed Ice Wall",
"block.absentbydesign.stairs_packed_ice":"Packed Ice Stairs",
"block.absentbydesign.slab_packed_ice":"Packed Ice Slab",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "absentbydesign:parent/slab",
"textures": {
"b": "block/honeycomb_block"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "absentbydesign:parent/slab_upper",
"textures": {
"b": "block/honeycomb_block"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "absentbydesign:parent/stairs",
"textures": {
"b": "block/honeycomb_block"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "absentbydesign:parent/stairs_inner",
"textures": {
"b": "block/honeycomb_block"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "absentbydesign:parent/stairs_outer",
"textures": {
"b": "block/honeycomb_block"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "block/wall_inventory",
"textures": {
"wall": "minecraft:block/honeycomb_block"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "absentbydesign:parent/wall_post",
"textures": {
"wall": "minecraft:block/honeycomb_block"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "absentbydesign:parent/wall_side",
"textures": {
"wall": "minecraft:block/honeycomb_block"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/template_wall_side_tall",
"textures": {
"wall": "minecraft:block/honeycomb_block"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "absentbydesign:block/slab_honeycomb"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "absentbydesign:block/stairs_honeycomb"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "absentbydesign:block/wall_honeycomb_inventory"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:set_count",
"conditions": [
{
"condition": "minecraft:block_state_property",
"block": "absentbydesign:slab_honeycomb",
"properties": {
"type": "double"
}
}
],
"count": 2
},
{
"function": "minecraft:explosion_decay"
}
],
"name": "absentbydesign:slab_honeycomb"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "pool1",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "absentbydesign:stairs_honeycomb"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "pool1",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "absentbydesign:wall_honeycomb"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}
15 changes: 15 additions & 0 deletions src/main/resources/data/absentbydesign/recipes/slab_honeycomb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"###"
],
"key": {
"#": {
"item": "minecraft:honeycomb_block"
}
},
"result": {
"item": "absentbydesign:slab_honeycomb",
"count": 6
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:honeycomb_block"
},
"result": "absentbydesign:slab_honeycomb",
"count": 2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"# ",
"## ",
"###"
],
"key": {
"#": {
"item": "minecraft:honeycomb_block"
}
},
"result": {
"item": "absentbydesign:stairs_honeycomb",
"count": 4
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "minecraft:honeycomb_block"
},
"result": "absentbydesign:stairs_honeycomb",
"count": 1
}
16 changes: 16 additions & 0 deletions src/main/resources/data/absentbydesign/recipes/wall_honeycomb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"###",
"###"
],
"key": {
"#": {
"item": "minecraft:honeycomb"
}
},
"result": {
"item": "absentbydesign:wall_honeycomb",
"count": 6
}
}
Loading

0 comments on commit 4fd2664

Please sign in to comment.