Skip to content

Commit

Permalink
Fix potential issues with mod compatibility running too late
Browse files Browse the repository at this point in the history
Remove Outdated Comments
Bumped to RC3
  • Loading branch information
UnlikePaladin committed Aug 30, 2023
1 parent c29b5ec commit 9fce57a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,6 @@ public static String translate(String key, Object ... args) {
}
}

//TODO: check if the mod version's different and regen assets
//TODO: Waterlog chairs and tables only
public void generateTranslationForLampBlock(BufferedWriter writer) {
for (WoodVariant variant : WoodVariantRegistry.getVariants()) {
for (DyeColor color : DyeColor.values()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public void onInitialize() {
GENERAL_LOGGER.error("Failed to initialize Paladin's Furniture configuration, default values will be used instead");
GENERAL_LOGGER.error("", e);
}
this.commonInit();

PaladinFurnitureMod.DYE_KITS = FabricItemGroupBuilder.create(
new Identifier(MOD_ID, "dye_kits"))
Expand Down Expand Up @@ -89,7 +90,6 @@ public void onInitialize() {
PaladinFurnitureModFabric.initializeItemGroup();
BlockItemRegistryFabric.registerItems();
BlockItemRegistryFabric.registerBlocks();
this.commonInit();
//PFMRuntimeResources.prepareAsyncResourceGen(); No async gen because Forge won't behave, blame it.
PFMRuntimeResources.ready = true;
StatisticsRegistryFabric.registerStatistics();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

import java.util.*;

//TODO: oven and freezer support, make the freezer always provide ice, custom crafting counter
public class FridgeBlockEntityBalm extends FridgeBlockEntity implements BalmContainerProvider, BalmProviderHolder, BalmBlockEntityContract {
private final DefaultKitchenItemProvider itemProvider;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public PaladinFurnitureModForge() {
GENERAL_LOGGER.error("Failed to initialize Paladin's Furniture configuration, default values will be used instead");
GENERAL_LOGGER.error("", e);
}
this.commonInit();
ItemGroupRegistryForge.registerItemGroups();
MinecraftForge.EVENT_BUS.register(EntityRegistryForge.class);
MinecraftForge.EVENT_BUS.register(BlockItemRegistryForge.class);
Expand All @@ -41,7 +42,6 @@ public PaladinFurnitureModForge() {
NetworkRegistryForge.registerPackets();
LateBlockRegistryForge.addDynamicBlockRegistration(Block.class);
LateBlockRegistryForge.addDynamicBlockRegistration(Item.class);
this.commonInit();
PaladinFurnitureMod.isClient = FMLEnvironment.dist == Dist.CLIENT;
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ minecraft_version=1.17.1
enabled_platforms=fabric,forge

archives_base_name=paladin-furniture-mod
mod_version=1.2.0
mod_version=1.2.0-rc3
maven_group=com.unlikepaladin

architectury_version=2.10.12
Expand Down

0 comments on commit 9fce57a

Please sign in to comment.