Skip to content

MiniScaled (Unofficial Forge Port)

By ExouxasOwner

An unofficial Forge port for MiniScaled

2k downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

MiniScaled

Should work pretty much like the Fabric version. Make a frame out of stained glass in 2x2x2, 4x4x4, 8x8x8, 16x16x16, or 32x32x32 formats, then right click it with a netherite ingot. Each player may only use one of each size+color combo.

Original code: https://github.com/iPortalTeam/MiniScaledMod

Why

I wanted this mod with Forge.

How

GitHub Copilot :P (I hate Java, so I made Copilot do it all for me)

Changes

This port replaces Fabric-specific APIs with Forge equivalents:

  • @ModInitializer → @Mod constructor with FMLJavaModLoadingContext
  • @ClientModInitializer → FMLClientSetupEvent + EntityRenderersEvent.RegisterRenderers
  • FabricEntityTypeBuilder → EntityType.Builder via Forge DeferredRegister
  • FabricBlockEntityTypeBuilder → BlockEntityType.Builder via Forge DeferredRegister
  • UseBlockCallback.EVENT → PlayerInteractEvent.RightClickBlock
  • ClientTickEvents.END_CLIENT_TICK → TickEvent.ClientTickEvent
  • ServerTickEvents.END_SERVER_TICK → TickEvent.ServerTickEvent
  • ItemGroupEvents.modifyEntriesEvent → BuildCreativeModeTabContentsEvent
  • CommandRegistrationCallback → RegisterCommandsEvent
  • ServerLifecycleEvents.SERVER_STARTED → ServerStartedEvent
  • EntityRendererRegistry → EntityRenderersEvent.RegisterRenderers
  • ModMenuApi (config screen) → ConfigScreenHandler.ConfigScreenFactory
  • @Environment(EnvType.CLIENT) → @OnlyIn(Dist.CLIENT)
  • All block/item/entity registrations via DeferredRegister