Metadata World Gen 图标

Metadata World Gen

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/metadata-world-gen
资源信息

Minecraft 版本: b1.7.3

平台: modloader

标签: management utility worldgen

资源介绍

Metadata World Gen! Beta 1.7.3

This is more of an addition than a mod.

Though this mod adds a class I've named 'WorldGenMinableMetadata' which is basically the same as the 'WorldGenMinable' class expect it allows for block metadata to pass through and in turn generate in the world.

Two Versions

Spoiler I have added two different versions of both client and server in the downloads section. The versions that say "+ Example Mod" include a small Modloader, ModloaderMP Mod that adds in generation code for each metadata color of wool. This mod is by no means a requiremeant it was simply added for people who maybe don't understand or need a example I will include it down below and you can compile it yourself if you'd like. If you choose the version without the example mod you will not need modloader. This example mod does require Modloader Beta 1.7.3 and ModloaderMP Unofficial v2. This video will show you have to navigate MCArchive and how to download those APIs. [MCArchive: Best Place To Get Beta 1.7.3 Mods/APIs](https://youtu.be/6i3TTYsuDDs)

WorldGenMinableMetadata class

Spoiler ```java package net.minecraft.src; import java.util.Random; public class WorldGenMinableMetadata extends WorldGenerator { private int minableBlockId; private int numberOfBlocks; private int blockMetadata; public WorldGenMinableMetadata(int i1, int i2, int i3) { this.minableBlockId = i1; this.blockMetadata = i2; this.numberOfBlocks = i3; } public boolean generate(World world1, Random random2, int i3, int i4, int i5) { float f6 = random2.nextFloat() * (float)Math.PI; double d7 = (double)((float)(i3 + 8) + MathHelper.sin(f6) * (float)this.numberOfBlocks / 8.0F); double d9 = (double)((float)(i3 + 8) - MathHelper.sin(f6) * (float)this.numberOfBlocks / 8.0F); double d11 = (double)((float)(i5 + 8) + MathHelper.cos(f6) * (float)this.numberOfBlocks / 8.0F); double d13 = (double)((float)(i5 + 8) - MathHelper.cos(f6) * (float)this.numberOfBlocks / 8.0F); double d15 = (double)(i4 + random2.nextInt(3) + 2); double d17 = (double)(i4 + random2.nextInt(3) + 2); for(int i19 = 0; i19

mod_WorldGenMetadataExample class

Spoiler ```java package net.minecraft.src; import java.util.Random; public class mod_WorldGenMetadataExample extends BaseModMp { public mod_WorldGenMetadataExample() { } public void GenerateSurface(World world, Random random, int chunkX, int chunkZ) { int posX; int posY; int posZ; int i; for(i = 0; i
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Iron Man Armor

价格:0 墨喵币
下载量:0

查看详情
MoreCraftables

价格:0 墨喵币
下载量:0

查看详情
No Base Origins

价格:0 墨喵币
下载量:0

查看详情
Tin Ore

价格:0 墨喵币
下载量:0

查看详情