-
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
10 changed files
with
69 additions
and
6 deletions.
There are no files selected for viewing
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
16 changes: 16 additions & 0 deletions
16
src/main/java/net/id/paradiselost/blocks/blockentity/ParadiseSignBlockEntity.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package net.id.paradiselost.blocks.blockentity; | ||
|
||
import net.minecraft.block.BlockState; | ||
import net.minecraft.block.entity.BlockEntityType; | ||
import net.minecraft.block.entity.SignBlockEntity; | ||
import net.minecraft.util.math.BlockPos; | ||
|
||
public class ParadiseSignBlockEntity extends SignBlockEntity { | ||
public ParadiseSignBlockEntity(BlockPos pos, BlockState state) { | ||
super(ParadiseLostBlockEntityTypes.SIGN, pos, state); | ||
} | ||
|
||
public ParadiseSignBlockEntity(BlockEntityType blockEntityType, BlockPos blockPos, BlockState blockState) { | ||
super(blockEntityType, blockPos, blockState); | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/java/net/id/paradiselost/blocks/decorative/ParadiseSignBlock.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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package net.id.paradiselost.blocks.decorative; | ||
|
||
import net.id.paradiselost.blocks.blockentity.ParadiseSignBlockEntity; | ||
import net.minecraft.block.BlockState; | ||
import net.minecraft.block.SignBlock; | ||
import net.minecraft.block.WoodType; | ||
import net.minecraft.block.entity.BlockEntity; | ||
import net.minecraft.util.math.BlockPos; | ||
|
||
public class ParadiseSignBlock extends SignBlock { | ||
|
||
public ParadiseSignBlock(Settings settings, WoodType woodType) { | ||
super(settings, woodType); | ||
} | ||
|
||
public BlockEntity createBlockEntity(BlockPos pos, BlockState state) { | ||
return new ParadiseSignBlockEntity(pos, state); | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/main/java/net/id/paradiselost/blocks/decorative/ParadiseWallSignBlock.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package net.id.paradiselost.blocks.decorative; | ||
|
||
import net.id.paradiselost.blocks.blockentity.ParadiseSignBlockEntity; | ||
import net.minecraft.block.BlockState; | ||
import net.minecraft.block.WallSignBlock; | ||
import net.minecraft.block.WoodType; | ||
import net.minecraft.block.entity.BlockEntity; | ||
import net.minecraft.util.math.BlockPos; | ||
|
||
public class ParadiseWallSignBlock extends WallSignBlock { | ||
public ParadiseWallSignBlock(Settings settings, WoodType woodType) { | ||
super(settings, woodType); | ||
} | ||
|
||
public BlockEntity createBlockEntity(BlockPos pos, BlockState state) { | ||
return new ParadiseSignBlockEntity(pos, state); | ||
} | ||
} |
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes