Skip to content

Commit

Permalink
Railway Sign (Tianjin, Line 9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiYueCommentary committed Jul 23, 2024
1 parent ae2d924 commit dc5e090
Show file tree
Hide file tree
Showing 54 changed files with 756 additions and 16 deletions.
12 changes: 12 additions & 0 deletions fabric/src/main/java/ziyue/tjmetro/mod/BlockEntityTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,18 @@ public interface BlockEntityTypes
BlockEntityTypeRegistryObject<BlockPSDTopTianjin.BlockEntity> PSD_TOP_TIANJIN = Registry.registerBlockEntityType("psd_top_tianjin", BlockPSDTopTianjin.BlockEntity::new, BlockList.PSD_TOP_TIANJIN::get);
BlockEntityTypeRegistryObject<BlockStationNameWallLegacy.BlockEntity> STATION_NAME_WALL_LEGACY = Registry.registerBlockEntityType("station_name_wall_legacy", BlockStationNameWallLegacy.BlockEntity::new, BlockList.STATION_NAME_WALL_LEGACY::get);
BlockEntityTypeRegistryObject<BlockStationNamePlate.BlockEntity> STATION_NAME_PLATE = Registry.registerBlockEntityType("station_name_plate", BlockStationNamePlate.BlockEntity::new, BlockList.STATION_NAME_PLATE::get);
BlockEntityTypeRegistryObject<BlockRailwaySignTianjinBMT.BlockEntity> RAILWAY_SIGN_TIANJIN_BMT_2_ODD = Registry.registerBlockEntityType("railway_sign_tianjin_bmt_2_odd", (pos, state) -> new BlockRailwaySignTianjinBMT.BlockEntity(2, true, pos, state), BlockList.RAILWAY_SIGN_TIANJIN_BMT_2_ODD::get);
BlockEntityTypeRegistryObject<BlockRailwaySignTianjinBMT.BlockEntity> RAILWAY_SIGN_TIANJIN_BMT_3_ODD = Registry.registerBlockEntityType("railway_sign_tianjin_bmt_3_odd", (pos, state) -> new BlockRailwaySignTianjinBMT.BlockEntity(3, true, pos, state), BlockList.RAILWAY_SIGN_TIANJIN_BMT_3_ODD::get);
BlockEntityTypeRegistryObject<BlockRailwaySignTianjinBMT.BlockEntity> RAILWAY_SIGN_TIANJIN_BMT_4_ODD = Registry.registerBlockEntityType("railway_sign_tianjin_bmt_4_odd", (pos, state) -> new BlockRailwaySignTianjinBMT.BlockEntity(4, true, pos, state), BlockList.RAILWAY_SIGN_TIANJIN_BMT_4_ODD::get);
BlockEntityTypeRegistryObject<BlockRailwaySignTianjinBMT.BlockEntity> RAILWAY_SIGN_TIANJIN_BMT_5_ODD = Registry.registerBlockEntityType("railway_sign_tianjin_bmt_5_odd", (pos, state) -> new BlockRailwaySignTianjinBMT.BlockEntity(5, true, pos, state), BlockList.RAILWAY_SIGN_TIANJIN_BMT_5_ODD::get);
BlockEntityTypeRegistryObject<BlockRailwaySignTianjinBMT.BlockEntity> RAILWAY_SIGN_TIANJIN_BMT_6_ODD = Registry.registerBlockEntityType("railway_sign_tianjin_bmt_6_odd", (pos, state) -> new BlockRailwaySignTianjinBMT.BlockEntity(6, true, pos, state), BlockList.RAILWAY_SIGN_TIANJIN_BMT_6_ODD::get);
BlockEntityTypeRegistryObject<BlockRailwaySignTianjinBMT.BlockEntity> RAILWAY_SIGN_TIANJIN_BMT_7_ODD = Registry.registerBlockEntityType("railway_sign_tianjin_bmt_7_odd", (pos, state) -> new BlockRailwaySignTianjinBMT.BlockEntity(7, true, pos, state), BlockList.RAILWAY_SIGN_TIANJIN_BMT_7_ODD::get);
BlockEntityTypeRegistryObject<BlockRailwaySignTianjinBMT.BlockEntity> RAILWAY_SIGN_TIANJIN_BMT_2_EVEN = Registry.registerBlockEntityType("railway_sign_tianjin_bmt_2_even", (pos, state) -> new BlockRailwaySignTianjinBMT.BlockEntity(2, false, pos, state), BlockList.RAILWAY_SIGN_TIANJIN_BMT_2_EVEN::get);
BlockEntityTypeRegistryObject<BlockRailwaySignTianjinBMT.BlockEntity> RAILWAY_SIGN_TIANJIN_BMT_3_EVEN = Registry.registerBlockEntityType("railway_sign_tianjin_bmt_3_even", (pos, state) -> new BlockRailwaySignTianjinBMT.BlockEntity(3, false, pos, state), BlockList.RAILWAY_SIGN_TIANJIN_BMT_3_EVEN::get);
BlockEntityTypeRegistryObject<BlockRailwaySignTianjinBMT.BlockEntity> RAILWAY_SIGN_TIANJIN_BMT_4_EVEN = Registry.registerBlockEntityType("railway_sign_tianjin_bmt_4_even", (pos, state) -> new BlockRailwaySignTianjinBMT.BlockEntity(4, false, pos, state), BlockList.RAILWAY_SIGN_TIANJIN_BMT_4_EVEN::get);
BlockEntityTypeRegistryObject<BlockRailwaySignTianjinBMT.BlockEntity> RAILWAY_SIGN_TIANJIN_BMT_5_EVEN = Registry.registerBlockEntityType("railway_sign_tianjin_bmt_5_even", (pos, state) -> new BlockRailwaySignTianjinBMT.BlockEntity(5, false, pos, state), BlockList.RAILWAY_SIGN_TIANJIN_BMT_5_EVEN::get);
BlockEntityTypeRegistryObject<BlockRailwaySignTianjinBMT.BlockEntity> RAILWAY_SIGN_TIANJIN_BMT_6_EVEN = Registry.registerBlockEntityType("railway_sign_tianjin_bmt_6_even", (pos, state) -> new BlockRailwaySignTianjinBMT.BlockEntity(6, false, pos, state), BlockList.RAILWAY_SIGN_TIANJIN_BMT_6_EVEN::get);
BlockEntityTypeRegistryObject<BlockRailwaySignTianjinBMT.BlockEntity> RAILWAY_SIGN_TIANJIN_BMT_7_EVEN = Registry.registerBlockEntityType("railway_sign_tianjin_bmt_7_even", (pos, state) -> new BlockRailwaySignTianjinBMT.BlockEntity(7, false, pos, state), BlockList.RAILWAY_SIGN_TIANJIN_BMT_7_EVEN::get);

static void registerBlockEntities() {
// Calling this class to initialize constants
Expand Down
13 changes: 13 additions & 0 deletions fabric/src/main/java/ziyue/tjmetro/mod/BlockList.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,19 @@ public interface BlockList
BlockRegistryObject STATION_NAME_WALL_LEGACY = Registry.registerBlockWithBlockItem("station_name_wall_legacy", () -> new Block(new BlockStationNameWallLegacy()), SIGNS);
BlockRegistryObject STATION_NAME_PLATE = Registry.registerBlockWithBlockItem("station_name_plate", () -> new Block(new BlockStationNamePlate()), SIGNS);
BlockRegistryObject STATION_NAME_PLATE_MIDDLE = Registry.registerBlock("station_name_plate_middle", () -> new Block(new BlockStationNamePlate()));
BlockRegistryObject RAILWAY_SIGN_TIANJIN_BMT_2_ODD = Registry.registerBlockWithBlockItem("railway_sign_tianjin_bmt_2_odd", () -> new Block(new BlockRailwaySignTianjinBMT(2, true)), RAILWAY_SIGNS);
BlockRegistryObject RAILWAY_SIGN_TIANJIN_BMT_3_ODD = Registry.registerBlockWithBlockItem("railway_sign_tianjin_bmt_3_odd", () -> new Block(new BlockRailwaySignTianjinBMT(3, true)), RAILWAY_SIGNS);
BlockRegistryObject RAILWAY_SIGN_TIANJIN_BMT_4_ODD = Registry.registerBlockWithBlockItem("railway_sign_tianjin_bmt_4_odd", () -> new Block(new BlockRailwaySignTianjinBMT(4, true)), RAILWAY_SIGNS);
BlockRegistryObject RAILWAY_SIGN_TIANJIN_BMT_5_ODD = Registry.registerBlockWithBlockItem("railway_sign_tianjin_bmt_5_odd", () -> new Block(new BlockRailwaySignTianjinBMT(5, true)), RAILWAY_SIGNS);
BlockRegistryObject RAILWAY_SIGN_TIANJIN_BMT_6_ODD = Registry.registerBlockWithBlockItem("railway_sign_tianjin_bmt_6_odd", () -> new Block(new BlockRailwaySignTianjinBMT(6, true)), RAILWAY_SIGNS);
BlockRegistryObject RAILWAY_SIGN_TIANJIN_BMT_7_ODD = Registry.registerBlockWithBlockItem("railway_sign_tianjin_bmt_7_odd", () -> new Block(new BlockRailwaySignTianjinBMT(7, true)), RAILWAY_SIGNS);
BlockRegistryObject RAILWAY_SIGN_TIANJIN_BMT_2_EVEN = Registry.registerBlockWithBlockItem("railway_sign_tianjin_bmt_2_even", () -> new Block(new BlockRailwaySignTianjinBMT(2, false)), RAILWAY_SIGNS);
BlockRegistryObject RAILWAY_SIGN_TIANJIN_BMT_3_EVEN = Registry.registerBlockWithBlockItem("railway_sign_tianjin_bmt_3_even", () -> new Block(new BlockRailwaySignTianjinBMT(3, false)), RAILWAY_SIGNS);
BlockRegistryObject RAILWAY_SIGN_TIANJIN_BMT_4_EVEN = Registry.registerBlockWithBlockItem("railway_sign_tianjin_bmt_4_even", () -> new Block(new BlockRailwaySignTianjinBMT(4, false)), RAILWAY_SIGNS);
BlockRegistryObject RAILWAY_SIGN_TIANJIN_BMT_5_EVEN = Registry.registerBlockWithBlockItem("railway_sign_tianjin_bmt_5_even", () -> new Block(new BlockRailwaySignTianjinBMT(5, false)), RAILWAY_SIGNS);
BlockRegistryObject RAILWAY_SIGN_TIANJIN_BMT_6_EVEN = Registry.registerBlockWithBlockItem("railway_sign_tianjin_bmt_6_even", () -> new Block(new BlockRailwaySignTianjinBMT(6, false)), RAILWAY_SIGNS);
BlockRegistryObject RAILWAY_SIGN_TIANJIN_BMT_7_EVEN = Registry.registerBlockWithBlockItem("railway_sign_tianjin_bmt_7_even", () -> new Block(new BlockRailwaySignTianjinBMT(7, false)), RAILWAY_SIGNS);
BlockRegistryObject RAILWAY_SIGN_TIANJIN_BMT_MIDDLE = Registry.registerBlock("railway_sign_tianjin_bmt_middle", () -> new Block(new BlockRailwaySignTianjinBMT(0, false)));

static void registerBlocks() {
// Calling this class to initialize constants
Expand Down
13 changes: 13 additions & 0 deletions fabric/src/main/java/ziyue/tjmetro/mod/TianjinMetroClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,19 @@ public static void init() {
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.PSD_DOOR_TIANJIN, dispatcher -> new RenderPSDAPGDoor<>(dispatcher, 0));
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.STATION_NAME_WALL_LEGACY, RenderStationNameWallLegacy::new);
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.STATION_NAME_PLATE, RenderStationNamePlate::new);
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_2_ODD, RenderRailwaySignTianjinBMT::new);
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_3_ODD, RenderRailwaySignTianjinBMT::new);
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_4_ODD, RenderRailwaySignTianjinBMT::new);
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_5_ODD, RenderRailwaySignTianjinBMT::new);
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_6_ODD, RenderRailwaySignTianjinBMT::new);
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_7_ODD, RenderRailwaySignTianjinBMT::new);
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_2_EVEN, RenderRailwaySignTianjinBMT::new);
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_3_EVEN, RenderRailwaySignTianjinBMT::new);
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_4_EVEN, RenderRailwaySignTianjinBMT::new);
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_5_EVEN, RenderRailwaySignTianjinBMT::new);
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_6_EVEN, RenderRailwaySignTianjinBMT::new);
RegistryClient.registerBlockEntityRenderer(BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_7_EVEN, RenderRailwaySignTianjinBMT::new);


RegistryClient.registerEntityRenderer(EntityTypes.SEAT, RenderSeat::new);

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
package ziyue.tjmetro.mod.block;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.mtr.mapping.holder.*;
import org.mtr.mapping.mapper.BlockEntityExtension;
import org.mtr.mapping.mapper.BlockHelper;
import org.mtr.mod.block.IBlock;
import ziyue.tjmetro.mod.BlockEntityTypes;
import ziyue.tjmetro.mod.BlockList;
import ziyue.tjmetro.mod.block.base.BlockRailwaySignBase;
import ziyue.tjmetro.mod.block.base.IRailwaySign;

public class BlockRailwaySignTianjinBMT extends BlockRailwaySignBase
{
public BlockRailwaySignTianjinBMT(int length, boolean isOdd) {
super(BlockHelper.createBlockSettings(false, state -> 15), length, isOdd);
}

@NotNull
@Override
public BlockState getStateForNeighborUpdate2(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) {
return IRailwaySign.getStateForNeighborUpdate(state, direction, neighborState, BlockList.RAILWAY_SIGN_TIANJIN_BMT_MIDDLE.get());
}

@Override
public void onPlaced2(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) {
IRailwaySign.onPlaced(world, pos, state, BlockList.RAILWAY_SIGN_TIANJIN_BMT_MIDDLE.get(), getMiddleLength());
}

@NotNull
@Override
public VoxelShape getOutlineShape2(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
final Direction facing = IBlock.getStatePropertySafe(state, FACING);
if (IBlockExtension.isBlock(state, BlockList.RAILWAY_SIGN_TIANJIN_BMT_MIDDLE.get())) {
return IBlock.getVoxelShapeByDirection(0, 0, 7, 16, 12, 9, facing);
} else {
final int xStart = getXStart();
final VoxelShape main = IBlock.getVoxelShapeByDirection(xStart - 0.75, 0, 7, 16, 12, 9, facing);
final VoxelShape pole = IBlock.getVoxelShapeByDirection(xStart - 2, 0, 7, xStart - 0.75, 16, 9, facing);
return VoxelShapes.union(main, pole);
}

}

@NotNull
@Override
public String getTranslationKey2() {
return "block.tjmetro.railway_sign_tianjin_bmt";
}

@Override
protected BlockPos findEndWithDirection(World world, BlockPos startPos, Direction direction, boolean allowOpposite) {
return IRailwaySign.findEndWithDirection(world, startPos, direction, allowOpposite, BlockList.RAILWAY_SIGN_TIANJIN_BMT_MIDDLE.get());
}

@Override
public BlockEntityExtension createBlockEntity(BlockPos blockPos, BlockState blockState) {
if (this == BlockList.RAILWAY_SIGN_TIANJIN_BMT_MIDDLE.get().data)
return null;
else
return new BlockEntity(length, isOdd, blockPos, blockState);
}

public static class BlockEntity extends BlockEntityBase
{
public BlockEntity(int length, boolean isOdd, BlockPos pos, BlockState state) {
super(getType(length, isOdd), length, pos, state);
}

public static BlockEntityType<?> getType(int length, boolean isOdd) {
return switch (length) {
case 2 ->
isOdd ? BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_2_ODD.get() : BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_2_EVEN.get();
case 3 ->
isOdd ? BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_3_ODD.get() : BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_3_EVEN.get();
case 4 ->
isOdd ? BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_4_ODD.get() : BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_4_EVEN.get();
case 5 ->
isOdd ? BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_5_ODD.get() : BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_5_EVEN.get();
case 6 ->
isOdd ? BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_6_ODD.get() : BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_6_EVEN.get();
case 7 ->
isOdd ? BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_7_ODD.get() : BlockEntityTypes.RAILWAY_SIGN_TIANJIN_BMT_7_EVEN.get();
default -> null;
};
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ public VoxelShape getOutlineShape2(BlockState state, BlockView world, BlockPos p
}
}

@Override
public void addTooltips(ItemStack stack, @org.jetbrains.annotations.Nullable BlockView world, List<MutableText> tooltip, TooltipContext options) {
}

@Override
protected int getMiddleLength() {
return 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
import java.util.List;
import java.util.Locale;

/**
* @see org.mtr.mod.block.BlockRailwaySign
* @author ZiYueCommentary
* @since beta-1
*/

public abstract class BlockRailwaySignBase extends BlockExtension implements IBlock, DirectionHelper, BlockWithEntity
{
public final int length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ static boolean signIsStation(String signId) {
return stations.contains(signId);
}

static Identifier getExitSignResource(String signId, String exitLetter, String exitNumber, int backgroundColor, boolean forceMTRFont) {
static Identifier getExitSignResource(String signId, String exitLetter, String exitNumber, int backgroundColor, int textColor, boolean forceMTRFont) {
if (signId.equals(SignType.EXIT_LETTER_TEXT.signId) || signId.equals(SignType.EXIT_LETTER_TEXT_FLIPPED.signId)) {
return DynamicTextureCache.instance.getExitSignLetterTianjin(exitLetter, exitNumber, backgroundColor, forceMTRFont).identifier;
return DynamicTextureCache.instance.getExitSignLetterTianjin(exitLetter, exitNumber, backgroundColor, textColor, forceMTRFont).identifier;
} else {
if (forceMTRFont) {
return org.mtr.mod.client.DynamicTextureCache.instance.getExitSignLetter(exitLetter, exitNumber, backgroundColor).identifier;
Expand All @@ -104,7 +104,7 @@ static Identifier getExitSignResource(String signId, String exitLetter, String e

static Identifier getPlatformSignResource(String signId, long platformId, IGui.HorizontalAlignment horizontalAlignment, float paddingScale, float aspectRatio, int backgroundColor, int textColor, int transparentColor, boolean forceMTRFont) {
if (signId.equals(SignType.BOUND_FOR_TEXT.signId) || signId.equals(SignType.BOUND_FOR_TEXT_FLIPPED.signId)) {
return DynamicTextureCache.instance.getBoundFor(platformId, horizontalAlignment, aspectRatio, paddingScale, backgroundColor, forceMTRFont).identifier;
return DynamicTextureCache.instance.getBoundFor(platformId, horizontalAlignment, aspectRatio, paddingScale, backgroundColor, textColor, forceMTRFont).identifier;
} else {
if (forceMTRFont) {
return org.mtr.mod.client.DynamicTextureCache.instance.getDirectionArrow(platformId, false, false, horizontalAlignment, false, paddingScale, aspectRatio, backgroundColor, textColor, transparentColor).identifier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ public DynamicResource getExitSignLetter(String exitLetter, String exitNumber, i
return getResource(String.format("tjmetro_exit_sign_letter_%s_%s", exitLetter, exitNumber), () -> RouteMapGenerator.generateExitSignLetter(exitLetter, exitNumber, backgroundColor), DefaultRenderingColor.TRANSPARENT);
}

public DynamicResource getExitSignLetterTianjin(String exitLetter, String exitNumber, int backgroundColor, boolean forceMTRFont) {
return getResource(String.format("tjmetro_exit_sign_letter_tianjin_%s_%s_%s_%s", exitLetter, exitNumber, backgroundColor, forceMTRFont), () -> RouteMapGenerator.generateExitSignLetterTianjin(exitLetter, exitNumber, backgroundColor, forceMTRFont), DefaultRenderingColor.TRANSPARENT);
public DynamicResource getExitSignLetterTianjin(String exitLetter, String exitNumber, int backgroundColor, int textColor, boolean forceMTRFont) {
return getResource(String.format("tjmetro_exit_sign_letter_tianjin_%s_%s_%s_%s_%s", exitLetter, exitNumber, backgroundColor, textColor, forceMTRFont), () -> RouteMapGenerator.generateExitSignLetterTianjin(exitLetter, exitNumber, backgroundColor, textColor, forceMTRFont), DefaultRenderingColor.TRANSPARENT);
}

public DynamicResource getBoundFor(long platformId, IGui.HorizontalAlignment horizontalAlignment, float aspectRatio, float paddingScale, int backgroundColor, boolean forceMTRFont) {
return getResource(String.format("tjmetro_bound_for_%s_%s_%s_%s_%s_%s", platformId, horizontalAlignment, aspectRatio, paddingScale, backgroundColor, forceMTRFont), () -> RouteMapGenerator.generateBoundFor(platformId, horizontalAlignment, aspectRatio, paddingScale, backgroundColor, forceMTRFont), DefaultRenderingColor.TRANSPARENT);
public DynamicResource getBoundFor(long platformId, IGui.HorizontalAlignment horizontalAlignment, float aspectRatio, float paddingScale, int backgroundColor, int textColor, boolean forceMTRFont) {
return getResource(String.format("tjmetro_bound_for_%s_%s_%s_%s_%s_%s_%s", platformId, horizontalAlignment, aspectRatio, paddingScale, backgroundColor, textColor, forceMTRFont), () -> RouteMapGenerator.generateBoundFor(platformId, horizontalAlignment, aspectRatio, paddingScale, backgroundColor, textColor, forceMTRFont), DefaultRenderingColor.TRANSPARENT);
}

public DynamicResource getSignText(String string, IGui.HorizontalAlignment horizontalAlignment, float paddingScale, int backgroundColor, int textColor) {
Expand Down
Loading

0 comments on commit dc5e090

Please sign in to comment.