Skip to content

Commit 8630d3c

Browse files
chore: rename and add new texture
1 parent 8edec98 commit 8630d3c

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

src/main/java/dev/hephaestus/glowcase/Glowcase.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ public class Glowcase implements ModInitializer {
3939
public static final Supplier<BlockItem> ITEM_DISPLAY_BLOCK_ITEM = registerItem("item_display_block", () -> new BlockItem(ITEM_DISPLAY_BLOCK.get(), new Item.Settings()));
4040
public static final Supplier<BlockEntityType<ItemDisplayBlockEntity>> ITEM_DISPLAY_BLOCK_ENTITY = registerBlockEntity("item_display_block", () -> BlockEntityType.Builder.create(ItemDisplayBlockEntity::new, ITEM_DISPLAY_BLOCK.get()).build(null));
4141

42-
public static final Supplier<ParticleDisplayBlock> PARTICLE_DISPLAY_BLOCK = registerBlock("particle_display_block", ParticleDisplayBlock::new);
43-
public static final Supplier<BlockItem> PARTICLE_DISPLAY_BLOCK_ITEM = registerItem("particle_display_block", () -> new BlockItem(PARTICLE_DISPLAY_BLOCK.get(), new Item.Settings()));
44-
public static final Supplier<BlockEntityType<ParticleDisplayBlockEntity>> PARTICLE_DISPLAY_BLOCK_ENTITY = registerBlockEntity("particle_display_block", () -> BlockEntityType.Builder.create(ParticleDisplayBlockEntity::new, PARTICLE_DISPLAY_BLOCK.get()).build(null));
42+
public static final Supplier<ParticleDisplayBlock> PARTICLE_DISPLAY = registerBlock("particle_display", ParticleDisplayBlock::new);
43+
public static final Supplier<BlockItem> PARTICLE_DISPLAY_ITEM = registerItem("particle_display", () -> new BlockItem(PARTICLE_DISPLAY.get(), new Item.Settings()));
44+
public static final Supplier<BlockEntityType<ParticleDisplayBlockEntity>> PARTICLE_DISPLAY_BLOCK_ENTITY = registerBlockEntity("particle_display", () -> BlockEntityType.Builder.create(ParticleDisplayBlockEntity::new, PARTICLE_DISPLAY.get()).build(null));
4545

4646

4747
public static final Supplier<TextBlock> TEXT_BLOCK = registerBlock("text_block", TextBlock::new);
@@ -68,7 +68,7 @@ public class Glowcase implements ModInitializer {
6868
entries.add(POPUP_BLOCK_ITEM.get());
6969
entries.add(SPRITE_BLOCK_ITEM.get());
7070
entries.add(LOCK_ITEM.get());
71-
entries.add(PARTICLE_DISPLAY_BLOCK_ITEM.get());
71+
entries.add(PARTICLE_DISPLAY_ITEM.get());
7272
})
7373
.build()
7474
);

src/main/resources/assets/glowcase/lang/en_us.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"block.glowcase.text_block": "Text Block",
44
"block.glowcase.hyperlink_block": "Hyperlink Block",
55
"block.glowcase.item_display_block": "Item Display Block",
6-
"block.glowcase.particle_display_block": "Particle Display Block",
6+
"block.glowcase.particle_display": "Particle Display",
77
"block.glowcase.popup_block": "Popup Block",
88
"block.glowcase.sprite_block": "Sprite Block",
99
"gui.glowcase.scale": "Scale: %d",
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parent": "item/generated",
33
"textures": {
4-
"layer0": "glowcase:item/particle_display_block"
4+
"layer0": "glowcase:item/particle_display"
55
}
66
}
Loading
Binary file not shown.

src/main/resources/data/glowcase/tags/item/items.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"glowcase:text_block",
77
"glowcase:popup_block",
88
"glowcase:sprite_block",
9-
"glowcase:particle_display_block"
9+
"glowcase:particle_display"
1010
]
1111
}

0 commit comments

Comments
 (0)