Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit d3cdd94

Browse files
author
Mackenzie McClane
committed
Midnight bricks descriptions
1 parent b9dd99d commit d3cdd94

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

src/main/java/yuudaari/soulus/common/registration/BlockRegistry.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ public class BlockRegistry {
6767
public static final Unloader UNLOADER = new Unloader();
6868
public static final SoulTotem SOUL_TOTEM = new SoulTotem();
6969
public static final SoulInquirer SOUL_INQUIRER = new SoulInquirer();
70-
public static final Registration.Block MIDNIGHT_BRICKS = new Registration.Block("midnight_bricks", new Material(MapColor.BLACK)).setHasItem();
71-
public static final Registration.BlockPillar MIDNIGHT_PILLAR = new Registration.BlockPillar("midnight_pillar", new Material(MapColor.BLACK)).setHasItem();
70+
public static final Registration.Block MIDNIGHT_BRICKS = new Registration.Block("midnight_bricks", new Material(MapColor.BLACK)).setHasItem().setHasDescription();
71+
public static final Registration.BlockPillar MIDNIGHT_PILLAR = new Registration.BlockPillar("midnight_pillar", new Material(MapColor.BLACK)).setHasItem().setHasDescription();
7272

7373
public static List<IBlockRegistration> blocks = Lists.newArrayList(new IBlockRegistration[] {
7474
DUST_ENDER,

src/main/java/yuudaari/soulus/common/registration/Registration.java

+10
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ public Block setHasItem () {
2929
return (Block) IBlockRegistration.super.setHasItem();
3030
}
3131

32+
@Override
33+
public Block setHasDescription () {
34+
return (Block) IBlockRegistration.super.setHasDescription();
35+
}
36+
3237
@SuppressWarnings("deprecation")
3338
@Override
3439
public BlockRenderLayer getBlockLayer () {
@@ -66,6 +71,11 @@ public BlockPillar setHasItem () {
6671
return (BlockPillar) IBlockRegistration.super.setHasItem();
6772
}
6873

74+
@Override
75+
public BlockPillar setHasDescription () {
76+
return (BlockPillar) IBlockRegistration.super.setHasDescription();
77+
}
78+
6979
@SuppressWarnings("deprecation")
7080
@Override
7181
public BlockRenderLayer getBlockLayer () {

src/main/resources/assets/soulus/lang/en_us.lang

+2
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@ jei.description.soulus:gear_niobium=A gear made of metal forged from the souls o
286286
jei.description.soulus:soul_totem=A machine powered by compressed souls which can be used as a player surrogate to the summoner.
287287
jei.description.soulus:enderlink=A machine with a gravitational pull. Things which touch nearby ender dust of the same color will be teleported to the Enderlink.
288288
jei.description.soulus:soul_inquirer=A machine which uses the alignment of a Soulbook in order to test the presence of nearby souls of that type.
289+
jei.description.soulus:midnight_bricks=Alien bricks that seem to be made of the night sky.
290+
jei.description.soulus:midnight_pillar=Alien bricks that seem to be made of the night sky.
289291

290292

291293
# COMMANDS AND COMMAND RESULTS

0 commit comments

Comments
 (0)