+ update flag model
This commit is contained in:
@@ -16,7 +16,7 @@ public class ModBlocks {
|
||||
public static final DeferredRegister.Blocks BLOCKS =
|
||||
DeferredRegister.createBlocks(Ornamentum.MODID);
|
||||
|
||||
public static final DeferredBlock<Block> TEST_FLAG = registerBlock("test_flag",
|
||||
public static final DeferredBlock<Block> PROGRESS_PRIDE_FLAG = registerBlock("progress_pride_flag",
|
||||
() -> new FlagBlock(BlockBehaviour.Properties.of().strength(1.0f)));
|
||||
|
||||
// Pattern Blocks
|
||||
|
||||
@@ -17,7 +17,7 @@ public class ModBlockLootTableProvider extends BlockLootSubProvider {
|
||||
@Override
|
||||
protected void generate() {
|
||||
|
||||
dropSelf(ModBlocks.TEST_FLAG.get());
|
||||
dropSelf(ModBlocks.PROGRESS_PRIDE_FLAG.get());
|
||||
|
||||
|
||||
dropSelf(ModBlocks.RED_PATTERN_BLOCK.get());
|
||||
|
||||
@@ -20,7 +20,7 @@ public class ModBlockStateProvider extends BlockStateProvider {
|
||||
protected void registerStatesAndModels() {
|
||||
|
||||
// FLAGS
|
||||
createFlag(ModBlocks.TEST_FLAG, "test_flag");
|
||||
createFlag(ModBlocks.PROGRESS_PRIDE_FLAG, "progress_pride_flag");
|
||||
|
||||
blockWithItem(ModBlocks.WHITE_PATTERN_BLOCK);
|
||||
createStairsAndSlab(ModBlocks.WHITE_PATTERN_BLOCK_STAIRS, ModBlocks.WHITE_PATTERN_BLOCK_SLAB, "white_pattern_block");
|
||||
|
||||
@@ -23,6 +23,8 @@ public class ModCreativeModeTabs {
|
||||
.title(Component.translatable("creativetab.ornamentum.ornamentum"))
|
||||
.displayItems((itemDisplayParameters, output) -> {
|
||||
|
||||
output.accept(ModBlocks.PROGRESS_PRIDE_FLAG);
|
||||
|
||||
// Grates
|
||||
output.accept(ModBlocks.IRON_GRATE);
|
||||
output.accept(ModBlocks.GOLD_GRATE);
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench by Ian1337",
|
||||
"texture_size": [32, 32],
|
||||
"textures": {
|
||||
"1": "#flag",
|
||||
"2": "#flag",
|
||||
"3": "minecraft:block/spruce_planks",
|
||||
"particle": "minecraft:block/spruce_planks"
|
||||
},
|
||||
@@ -56,12 +55,12 @@
|
||||
"to": [7.5, 18, 8.25],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, -0.75]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 4, 9], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 0, 9], "texture": "#1"},
|
||||
"south": {"uv": [4, 0, 0, 9], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 0, 9], "texture": "#1"},
|
||||
"up": {"uv": [4, 0, 0, 0], "texture": "#1"},
|
||||
"down": {"uv": [4, 0, 0, 0], "texture": "#1"}
|
||||
"north": {"uv": [0, 0, 4, 16], "texture": "#2"},
|
||||
"east": {"uv": [0, 0, 0, 16], "texture": "#2"},
|
||||
"south": {"uv": [4, 0, 0, 16], "texture": "#2"},
|
||||
"west": {"uv": [0, 0, 0, 16], "texture": "#2"},
|
||||
"up": {"uv": [4, 0, 0, 0], "texture": "#2"},
|
||||
"down": {"uv": [4, 0, 0, 0], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -70,12 +69,12 @@
|
||||
"to": [7.5, 18, 7.75],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [5.5, 0, -1.25]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 4, 9], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 0, 9], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 4, 9], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 0, 9], "texture": "#1"},
|
||||
"up": {"uv": [4, 0, 0, 0], "texture": "#1"},
|
||||
"down": {"uv": [4, 0, 0, 0], "texture": "#1"}
|
||||
"north": {"uv": [0, 0, 4, 16], "texture": "#2"},
|
||||
"east": {"uv": [0, 0, 0, 16], "texture": "#2"},
|
||||
"south": {"uv": [0, 0, 4, 16], "texture": "#2"},
|
||||
"west": {"uv": [0, 0, 0, 16], "texture": "#2"},
|
||||
"up": {"uv": [4, 0, 0, 0], "texture": "#2"},
|
||||
"down": {"uv": [4, 0, 0, 0], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -84,12 +83,12 @@
|
||||
"to": [3.5, 18, 8],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [1.5, 0, -1]},
|
||||
"faces": {
|
||||
"north": {"uv": [4, 0, 8, 9], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 0, 9], "texture": "#1"},
|
||||
"south": {"uv": [8, 0, 4, 9], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 0, 9], "texture": "#1"},
|
||||
"up": {"uv": [4, 0, 0, 0], "texture": "#1"},
|
||||
"down": {"uv": [4, 0, 0, 0], "texture": "#1"}
|
||||
"north": {"uv": [4, 0, 8, 16], "texture": "#2"},
|
||||
"east": {"uv": [0, 0, 0, 16], "texture": "#2"},
|
||||
"south": {"uv": [8, 0, 4, 16], "texture": "#2"},
|
||||
"west": {"uv": [0, 0, 0, 16], "texture": "#2"},
|
||||
"up": {"uv": [4, 0, 0, 0], "texture": "#2"},
|
||||
"down": {"uv": [4, 0, 0, 0], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -98,12 +97,12 @@
|
||||
"to": [-0.5, 18, 8.25],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [-2.5, 0, -0.75]},
|
||||
"faces": {
|
||||
"north": {"uv": [8, 0, 12, 9], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 0, 9], "texture": "#1"},
|
||||
"south": {"uv": [12, 0, 8, 9], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 0, 9], "texture": "#1"},
|
||||
"up": {"uv": [4, 0, 0, 0], "texture": "#1"},
|
||||
"down": {"uv": [4, 0, 0, 0], "texture": "#1"}
|
||||
"north": {"uv": [8, 0, 12, 16], "texture": "#2"},
|
||||
"east": {"uv": [0, 0, 0, 16], "texture": "#2"},
|
||||
"south": {"uv": [12, 0, 8, 16], "texture": "#2"},
|
||||
"west": {"uv": [0, 0, 0, 16], "texture": "#2"},
|
||||
"up": {"uv": [4, 0, 0, 0], "texture": "#2"},
|
||||
"down": {"uv": [4, 0, 0, 0], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -112,12 +111,12 @@
|
||||
"to": [-0.5, 18, 7.75],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [-2.5, 0, -1.25]},
|
||||
"faces": {
|
||||
"north": {"uv": [8, 0, 12, 9], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 0, 9], "texture": "#1"},
|
||||
"south": {"uv": [8, 0, 12, 9], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 0, 9], "texture": "#1"},
|
||||
"up": {"uv": [4, 0, 0, 0], "texture": "#1"},
|
||||
"down": {"uv": [4, 0, 0, 0], "texture": "#1"}
|
||||
"north": {"uv": [8, 0, 12, 16], "texture": "#2"},
|
||||
"east": {"uv": [0, 0, 0, 16], "texture": "#2"},
|
||||
"south": {"uv": [8, 0, 12, 16], "texture": "#2"},
|
||||
"west": {"uv": [0, 0, 0, 16], "texture": "#2"},
|
||||
"up": {"uv": [4, 0, 0, 0], "texture": "#2"},
|
||||
"down": {"uv": [4, 0, 0, 0], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -126,12 +125,12 @@
|
||||
"to": [-4.5, 18, 8],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [-6.5, 0, -1]},
|
||||
"faces": {
|
||||
"north": {"uv": [12, 0, 16, 9], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 0, 9], "texture": "#1"},
|
||||
"south": {"uv": [16, 0, 12, 9], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 0, 9], "texture": "#1"},
|
||||
"up": {"uv": [4, 0, 0, 0], "texture": "#1"},
|
||||
"down": {"uv": [4, 0, 0, 0], "texture": "#1"}
|
||||
"north": {"uv": [12, 0, 16, 16], "texture": "#2"},
|
||||
"east": {"uv": [0, 0, 0, 16], "texture": "#2"},
|
||||
"south": {"uv": [16, 0, 12, 16], "texture": "#2"},
|
||||
"west": {"uv": [0, 0, 0, 16], "texture": "#2"},
|
||||
"up": {"uv": [4, 0, 0, 0], "texture": "#2"},
|
||||
"down": {"uv": [4, 0, 0, 0], "texture": "#2"}
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 274 B |
Binary file not shown.
|
Before Width: | Height: | Size: 219 B |
Reference in New Issue
Block a user