MetaAwareBlocks

Adds meta-aware versions of several Block rendering functions

by
369 Downloads
forgelibrary
Rent Server with this Mod

About this Mod

MetaAwareBlocks

As of now this only transforms Minecraft's code, and currently that is all that is planned due to other mods being a compatibility nightmare without any great way to go about things automatically. I'd have to write mixins for every single mod, and it's just not practical. If someone wants to create pull requests adding support for a mod, that's great, but for now it only supports Minecraft's native code.

This is a library used to add meta-aware functionality for several (primarily rendering) functions inside of net.minecraft.block.Block.

Usage:

Creating a new block:

class NewBlock implements IMetaAware {
  ...

  @Override
  public boolean renderAsNormalBlock(IBlockAccess world, int x, int y, int z) {
    return world.getBlockMetadata(world, x, y, z) != 0;
  }

  ...
}

Mixin into a preexisting block:

@Mixin(NewBlock.class)
public abstract class MixinNewBlock implements IMetaAware {
  @Override
  public boolean renderAsNormalBlock(IBlockAccess world, int x, int y, int z) {
    return world.getBlockMetadata(world, x, y, z) != 0;
  }
}

Available Versions

canProvidePower(), mixin priority updatesalpha
MC 1.7.10forge
December 3, 2024
Fix crash in MixinBlockVinealpha
MC 1.7.10forge
December 3, 2024
Initial Releasealpha
MC 1.7.10forge
December 3, 2024

How to Install MetaAwareBlocks on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.7.10).

3

Install Mod

Open the mod browser in the dashboard and search for "MetaAwareBlocks". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.7.10

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

MetaAwareBlocks server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.7.10). You can switch loaders with one click in the panel.

Is MetaAwareBlocks compatible with forge?

MetaAwareBlocks officially supports forge for Minecraft 1.7.10. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with MetaAwareBlocks – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if MetaAwareBlocks consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install MetaAwareBlocks with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Lesser General Public License v3.0 only
Server-side
Required

Supported Versions

1.7.10