Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val addObjectRaw = classOf[FMLControlledNamespacedRegistry[Block]].getMethod("addObjectRaw", classOf[Int], classOf[String], classOf[Block])
- addObjectRaw.setAccessible(true)
- addObjectRaw.invoke(GameData.getBlockRegistry, Block.getIdFromBlock(Blocks.ice).asInstanceOf[Integer], "ice", STBlockIce)
- Blocks.ice = STBlockIce
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement