Back to mods

Modrinth · Minecraft mod

MetaAwareBlocks

Adds meta-aware versions of several Block rendering functions

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which MetaAwareBlocks release should I use?

Updated 1 year ago
alpha file 0.0.3-alpha
Game version 1.7.10
Loader Forge

MetaAwareBlocks 0.0.3-alpha targets 1.7.10 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.

Where it goes

Is MetaAwareBlocks required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does MetaAwareBlocks 0.0.3-alpha need?

0.0.3-alpha. Change the file and its required mods may change too.

All 1 required mods have matching files

Install UniMixins first. We found matching files for this game-version and loader setup.

UniMixins Needed by MetaAwareBlocks 0.0.3-alpha
required
Matching file found Matched file: 1.7.10-0.3.1

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add MetaAwareBlocks without breaking your instance.

Built for MetaAwareBlocks 0.0.3-alpha. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.0.3-alpha. It targets 1.7.10 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install UniMixins first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.0.3-alpha. It opens that exact file at the source.

About this project

What does MetaAwareBlocks add?

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;
  }
}

Project description from Modrinth.

Pick your setup

MetaAwareBlocks by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

MetaAwareBlocks versions and loaders

3 of 3 releases match

Looking for an older file? The official Modrinth project page is in Resources.