-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
144 additions
and
53 deletions.
There are no files selected for viewing
18 changes: 7 additions & 11 deletions
18
src/main/java/net/id/paradiselost/blocks/blockentity/ParadiseHangingSignBlockEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,18 @@ | ||
package net.id.paradiselost.blocks.blockentity; | ||
|
||
import net.minecraft.block.BlockState; | ||
import net.minecraft.block.entity.BlockEntityType; | ||
import net.minecraft.block.entity.HangingSignBlockEntity; | ||
import net.minecraft.block.entity.SignBlockEntity; | ||
import net.minecraft.util.math.BlockPos; | ||
|
||
public class ParadiseHangingSignBlockEntity extends SignBlockEntity { | ||
private static final int MAX_TEXT_WIDTH = 60; | ||
private static final int TEXT_LINE_HEIGHT = 9; | ||
public class ParadiseHangingSignBlockEntity extends HangingSignBlockEntity { | ||
|
||
public ParadiseHangingSignBlockEntity(BlockPos blockPos, BlockState blockState) { | ||
super(ParadiseLostBlockEntityTypes.HANGING_SIGN, blockPos, blockState); | ||
super(blockPos, blockState); | ||
} | ||
|
||
public int getTextLineHeight() { | ||
return 9; | ||
} | ||
|
||
public int getMaxTextWidth() { | ||
return 60; | ||
@Override | ||
public BlockEntityType<?> getType() { | ||
return ParadiseLostBlockEntityTypes.HANGING_SIGN; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"paradise_lost:surtrum_axe", | ||
"paradise_lost:glazed_gold_axe", | ||
"paradise_lost:olvite_axe" | ||
] | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/resources/data/minecraft/tags/items/chest_armor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"paradise_lost:glazed_gold_chestplate", | ||
"paradise_lost:olvite_chestplate", | ||
"paradise_lost:surtrum_chestplate" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"#minecraft:wooden_fences", | ||
"minecraft:nether_brick_fence", | ||
"#paradise_lost:fences" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"paradise_lost:glazed_gold_boots", | ||
"paradise_lost:olvite_boots", | ||
"paradise_lost:surtrum_boots" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"paradise_lost:glazed_gold_helmet", | ||
"paradise_lost:olvite_helmet", | ||
"paradise_lost:surtrum_helmet" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"paradise_lost:surtrum_hoe", | ||
"paradise_lost:glazed_gold_hoe", | ||
"paradise_lost:olvite_hoe" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"paradise_lost:glazed_gold_leggings", | ||
"paradise_lost:olvite_leggings", | ||
"paradise_lost:surtrum_leggings" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"paradise_lost:surtrum_pickaxe", | ||
"paradise_lost:glazed_gold_pickaxe", | ||
"paradise_lost:olvite_pickaxe" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"paradise_lost:surtrum_shovel", | ||
"paradise_lost:glazed_gold_shovel", | ||
"paradise_lost:olvite_shovel" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"paradise_lost:surtrum_sword", | ||
"paradise_lost:glazed_gold_sword", | ||
"paradise_lost:olvite_sword" | ||
] | ||
} |