mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
Make HangingSignBlockEntity useable with custom BlockEntityTypes. #10038
This commit is contained in:
1 file changed
+13
+13
@@ -0,0 +1,13 @@
|
||||
--- a/net/minecraft/world/level/block/entity/HangingSignBlockEntity.java
|
||||
+++ b/net/minecraft/world/level/block/entity/HangingSignBlockEntity.java
|
||||
@@ -13,6 +_,10 @@
|
||||
super(BlockEntityType.HANGING_SIGN, p_250603_, p_251674_);
|
||||
}
|
||||
|
||||
+ public HangingSignBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) {
|
||||
+ super(type, pos, state);
|
||||
+ }
|
||||
+
|
||||
@Override
|
||||
public int getTextLineHeight() {
|
||||
return 9;
|
||||
Reference in new issue
Block a user