
Modrinth · Minecraft mod
PolyMc-Extra
Automatically patch mods so that regular players don't need to install mods to join your server!
Quick answer
Which PolyMc-Extra release matches 26.1?
PolyMc-Extra BETA+26.1.2+1.0.5 targets 26.1, 26.1.1, 26.1.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.
Where it goes
Is PolyMc-Extra required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does PolyMc-Extra BETA+26.1.2+1.0.5 need?
BETA+26.1.2+1.0.5 on 26.1. Every mod below is checked against that same setup.
Install Polymer first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add PolyMc-Extra without breaking your instance.
Built for PolyMc-Extra BETA+26.1.2+1.0.5 on 26.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use BETA+26.1.2+1.0.5. It targets 26.1, 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Polymer first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside BETA+26.1.2+1.0.5. It opens that exact file at the source.
About this project
What does PolyMc-Extra add?
PolyMc-Extra
This is a server-side library and a tool for providing automatic patching mods for PolyMc. It functions similarly to PolyMc but is more powerful. It enables automatic patching of certain mods, and its patching functionality can be controlled by modifying configuration files.
The following registry entries were processed by the patch
List: Attribute, EntityType, SoundEvent, ComponentType, EnchantmentEffectComponentType, EnchantmentLocationBaseEffectType, EnchantmentEntityEffectType, StatusEffect, Potion, ScreenHandlers, ConsumeEffectType, StatType, CustomStat, PoiType, ItemGroup, Item, Block, BlockEntityType, Profession
Runtime Lifecycle:
- Register the built-in ExtraModelType
- Register Special Entity Mappings
- Scan and execute all module's "polymc-extra" entry points (PolyMcExtraEntrypoint.class)
- Before all static registry entries freeze: Read the configuration file, iterate through the registry, and patch each missing item (server-only)
- Verify item components integrity
- Scan for required resources in JAR files and generate resource packages
For player/server owners/mod pack makers:
It can automatically repair the state of corresponding polymer blocks for most mods, allowing Vanilla clients to join servers with mods.
For mod developers:
It provides several APIs and tools for developers to patch complex mods; for others, you can ask questions on Discord.
Knowledge required
You should first learn how to use some libraries.
Development Environment
- Create a libs folder in your module project directory.
- Download the JAR file and place it in the libs folder in your module project directory.
- Add the following content to build.gradle:
repositories {
maven { url "https://maven.nucleoid.xyz" }
maven { url "https://maven.tomalbrc.de" }
maven { url "https://api.modrinth.com/maven" }
maven { url "https://maven.architectury.dev/" }
maven {
url "https://maven.theepicblock.nl"
content { includeGroup("nl.theepicblock") }
}
flatDir {
dirs 'libs'
}
}
dependencies {
modImplementation("eu.pb4:polymer-core:[${polymer_version}]")
modImplementation("eu.pb4:polymer-blocks:[${polymer_version}]")
modImplementation("eu.pb4:polymer-resource-pack:[${polymer_version}]")
modImplementation("eu.pb4:polymer-resource-pack-extras:[${polymer_version}]")
modImplementation("eu.pb4:polymer-virtual-entity:[${polymer_version}]")
modImplementation("eu.pb4:polymer-autohost:${polymer_version}")
modImplementation("eu.pb4:polymer-networking:[${polymer_version}]")
modImplementation("nl.theepicblock:resource-locator-api:${project.resource_locator_version}")
modImplementation("eu.pb4:factorytools:[${factorytools_version}]")
modImplementation("eu.pb4:sgui:[${sgui_version}]")
modImplementation("xyz.nucleoid:server-translations-api:${server_translation_api_version}")
modImplementation files('libs/PolyMc-Extra-XXXXXXX.jar')
modCompileOnly 'maven.modrinth:polydex:XXXXXX'
}
Patch Code Example
public class PolymerifyRegistry implements PolyMcExtraEntrypoint {
@Override
public void onInitialize() {
PolymerifyRegistry.initialize();
PolyMcExtraPacks.NAMESPACES.add(getNamespace());
}
public static void initialize() {
registerPolymerBlock(BlockRegistry.XXX, XXXPolymerBlock.INSTANCE);
registerPolymerItem(BlockRegistry.XXX, new PolymerItemImpl(BlockRegistry.XXX.asItem()));
}
public static void registerPolymerBlock(Block block, PolymerBlock polymerBlock) {
ResourceLocation key = BuiltInRegistries.BLOCK.getKey(block);
PolymerBlock.registerOverlay(block, polymerBlock);
if (polymerBlock instanceof BlockWithElementHolder elementHolder) {
BlockWithElementHolder.registerOverlay(block, elementHolder);
}
PolyMcExtra.LATE_INIT.add(new Runnable() {
@Override
public void run() {
if (PolymerBlockHelper.testJsonExist(block)) {
BlockStateModelManager.addBlock(key, block);
}
}
});
}
public static void registerPolymerItem(ItemLike item, PolymerItem polymerItem) {
PolymerItem.registerOverlay(item.asItem(), polymerItem);
}
@Override
public String getNamespace() {
return MOD_ID;
}
}
public class XXXPolymerBlock {
public static final BlockState OVERLAY_0 = PolymerBlockResourceUtils.requestEmpty(BlockModelType.ACTIVE_PRESSURE_PLATE);
public static final BlockState OVERLAY_1 = PolymerBlockResourceUtils.requestEmpty(BlockModelType.KELP_BLOCK);
public static final BaseFactoryBlock INSTANCE = new BaseFactoryBlock(OVERLAY_0, false, BlockStateModel::midRange) {
@Override
public BlockState getPolymerBlockState(BlockState state, PacketContext context) {
if (state.hasProperty(BlockStateProperties.WATERLOGGED) && state.getValue(BlockStateProperties.WATERLOGGED)) {
return OVERLAY_1;
}
return super.getPolymerBlockState(state, context);
}
};
}
Example Config:
The configuration file is located at /config/polymc-extra.json
{
"DisabledOpaqueBlocks": [],
"CustomBlockModelTypeMappings": {
"citymod:stone_table": "BLOCK_DISPLAY_ENTITY",
"citymod:road_block": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"citymod:road_yellow": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"citymod:road_yellow_connect": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"citymod:road_white_connect": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"citymod:road_yellow_double": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"citymod:road_zebra_crossing": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"citymod:roadblock_oblique": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"citymod:roadblock_yellow_oblique": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"citymod:roadblock_double_oblique": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"citymod:zebracrossing_oblique": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"citymod:road_straight": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"citymod:road_diamond": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:modern_light": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:computer_mouse": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:black_mirror": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:laptop": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:modern_clock": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:led_floor_lamp": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:shower": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:portable_laptop_stand": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:laptop_closed_portable_laptop_stand": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:cooktop": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:keyboard": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:monitor_setup": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:shower": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:socket": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:modern_chair": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"js_furniture_mod:wood_chair": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"^js_furniture_mod:midi_.+$": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"^js_furniture_mod:.*": "BLOCK_DISPLAY_ENTITY",
"^skniro_furniture:.*_(drawer|cabinet|fridge|kitchen_sink|oven|tv_stand)$": "BLOCK_DISPLAY_ENTITY",
"^skniro_furniture:.*_(bed|cushion|sofa|window(?:_style.*)?|plate|chair(?:_.*)?|lamp)$": "BLOCK_DISPLAY_ENTITY_NO_COLLISION",
"^skniro_furniture:.*_window(_.*)?$": "CLOSEABLE_BLOCK",
"^skniro_furniture:.*_(door)$": "CLOSEABLE_BLOCK",
"^skniro_furniture:.*_glass_table": "BLOCK_DISPLAY_ENTITY",
"terrestria:cattail": "WATER_PLANT",
"terrestria:andisol_grass_block": "POLYMER:BIOME_TRANSPARENT_BLOCK",
"^storagedelight:.*$": "BLOCK_DISPLAY_ENTITY",
"^terrestria:.*_log$": "BLOCK_DISPLAY_ENTITY"
},
"CustomEntityModelMappings": {
"js_furniture_mod:chair_entity": "polymc-extra:chair",
"js_furniture_mod:sofa_entity": "polymc-extra:chair",
"skniro_furniture:chair_entity": "polymc-extra:chair",
"skniro_furniture:sofa_entity": "polymc-extra:chair",
"skniro_furniture:cushion_entity": "polymc-extra:chair",
"citymod:explode_bow_projectile": "minecraft:arrow",
"citymod:rifle_legacy_projectile": "minecraft:arrow"
},
"CustomModelExpansionMappings": {
"js_furniture_mod:sofa": 0.0,
"js_furniture_mod:wood_light_table": 0.0,
"js_furniture_mod:led_floor_lamp_rgb_off": 0.0,
"js_furniture_mod:led_floor_lamp_rgb_off_2": 0.0,
"js_furniture_mod:studio_light": 0.0,
"citymod:road_block": 0.0,
"citymod:road_yellow": 0.0,
"citymod:road_yellow_connect": 0.0,
"citymod:road_white_connect": 0.0,
"citymod:road_yellow_double": 0.0,
"citymod:road_zebra_crossing": 0.0
}
}
Commands
- /polymc-extra:
- export-extra-block-models-mappings: Export the PolyMc-processed block map to ExtraBlockMapping.txt
- get-all-model-types: Showing all block mapping types
- get-client-state: Showing the true mapping and overlay mapping of the square the crosshair is pointing at.
- get-item-info: Showing the real ID of the item in your hand and its component information.
What this library/mod doesn't do
It does not support client-side rendering.
If the module uses ASM to modify certain enums or replaces Vanilla's registry entries, it will cause some abnormal errors.
License
This mod is partially based on code from enderscape-patch and PolyMc that are licensed with GNU Lesser General Public License v3.0 and GNU Lesser General Public License 3.0
Project description from Modrinth.
Pick your setup
PolyMc-Extra by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.2
1 loader build26.1.1
1 loader build26.1
1 loader build1.21.11
1 loader build1.21.10
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
PolyMc-Extra versions and loaders
BETA+26.1.2+1.0.5
PolyMc-Extra-BETA+26.1.2+1.0.5.jar
23 May 2026
Looking for an older file? The official Modrinth project page is in Resources.