MetaAwareBlocks
🟠 Updated over a year ago⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
🔍 Analysis
- 🏆 #254 of 367 forge mods in this game by downloads
📋 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: ```java 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: ```java @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; } } ```
# 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.
Creating a new block:
```java 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:
```java @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; } } ```
📊 Mod Details
- Game
- Minecraft Mods
- Author
- Midnight145
- Version
- 0.0.3-alpha
- Downloads
- 400
- Endorsements
- 1
- Category
- forge
- Created
- 12/6/2024
- Updated
- 12/3/2024
- Game Versions
- 1.7.10
- Tags
- library
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does MetaAwareBlocks support?
The author lists 1.7.10. Other versions may work but are untested by the author.
What is the latest version of MetaAwareBlocks?
Version 0.0.3-alpha, published 2024-12-03 with 400 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await