跳到正文

Easier World Creator (ewc)

作者:RodoFire

library mod mostly designed for world-gen

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

What is this mod about?

  • Create your world gen features easily with this library. It allow you to generate simple shapes (spherer, spirals, torus…) that combined together can create some beautiful features.
  • This mod also support multi-chunk features (placing features larger than 3×3 chunks).
  • You can also manipulate structure and placing them in the world
  • You can animate the placement of structure/ shape depending on many parameters
  • Implement a config API
  • One other functionnality that is not implemented for the moment is the support for custom particles shape


availible on modrinth


availible on curseforge

What Shapes can you create?

you can for the moment create :

  • Circles
  • Spheres
  • Cylinders
  • 2d and 3d ellipsoid
  • Lines between 2 points
  • Spirals and some variations
  • Tores

Other features?

Yes there are a performance maths class as well as some utility world gen class that provide useful methods and a Class for perlin noise

Setup

if you are developping a mod and you want to use this library, you can put this in your build.gradle:

repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
        content {
            includeGroup "maven.modrinth"
        }
    }
}

dependencies {
    modImplementation "maven.modrinth:ewc:<version>"
}

you can find the version in the version tab (ex: 3.0.0+1.21.1)

Info

Wiki

I highly recommend you go to check the wiki to understand everything that is possible : Mod-Wiki

Performance

this mod use is own maths that you can use For example calculating 1 000 000 cosinus :
gives an avarage calculating time of 476 ms when using Math.cos(), using the custom maths, you get an average time of 7ms when using FatsMaths.getFastCos() and an average of 14ms when using FastMaths.getPreciseCos()

Using the library

the methods comes with common parameter :

StructureWorldAccess world that is used to put the structure in the world. StructureWorldAccess allow you to use the feature either during world gen or not

BlockPos pos the position of the center of the structure

List<BlockLayer> layers a list of BlockLayer, see the wiki for more info : Mod-Wiki

The different size required for the shape to place

Future?

I continue to develop actively this mod to support more and more possible things. You have any idea, suggestion on how to improve the mod? Let me know on the github.

常见问题

Easier World Creator (ewc) 支持哪些 Minecraft 版本?

Easier World Creator (ewc) 支持 Minecraft Java 版 1.20–1.21.4,共 12 个版本,可用的加载器:Fabric / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Easier World Creator (ewc) 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

RodoFire 的其他作品

查看全部 →