跳到正文

Turtle library

作者:The turtles

It adds various simple, but very useful classes for modders to enjoy.

收藏

介绍

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

This mod adds many diffent simple, but useful classes to make modders have an easyer life. This was created with MCreators custom element code editor, I mainly did that because I liked the editor, it automaticly came with the correct dependencies, and I used it as a template. Requires no other mods. First version has 0 mixins, but I’m planning on adding a little.

Features:

 1.Encryptor : 
  1. Import com.mods.turtle_lib.EnCryptor
  2. Call EnCryptor.execute(String in, SecretKey key)
  3. It returns a string, enjoy your new encrypted text!
 2. Decryptor:
  1. Import com.mods.turtle_lib.DeCryptor
  2. Call DeCryptor.execute(String in, SecretKey key)
  3. It returns a string, enjoy your new decrypted text!
 3.Structure/feature placer : 
  1. Import com.mods.turtle_lib.PlaceStructure
  2. call PlaceStructure.execute(LevelAccessor world, double x, double y, double z, String mod_id, String structureTp, String featureTp, boolean structurePlace, boolean featurePlace)
  3. you need the world, the coords, the mod id of the structure, the structure location and feature location, and two bools, one to tell the function to place the structure or not and one to place the feature or not
  4. Returns nothing, enjoy your new structure!
 4.Encoder:
  1. Import com.mods.turtle_lib.Base64Encoder
  3.call base64Encoder.execute(String)
  2. give it a string and it'll give you a string, and there, you got some encoded text!
 5.Decoder
  1.Import com.mods.turtle_lib.Base64Decoder
  2.call Base64Decoder.execute(String)
  3.give it a string and it'll give you a string, and there, you got some decoded text!
 6.TurtleIfy
  1. Import com.mods.turtle_lib.TurtleIfy
  2.call TurtleIfy.execute(String Boolean)
  3. Returns a string containg your inputed string but every character has "urtle" shoved in it or if the boolean is true it will put "urtle "
 7.Better random
  1.Import com.mods.turtle_lib.RandomWMinMax
  2.call RandomWMinMax.execute(int, int)
  3. int 1 is the "from" value and int 2 is the "to" value returns an integer.

Warning: not all features included in documentaion
Warning: I could have made mistakes in the documentation
You can use this mod in your modpack as long as you give some form of credit.

Will it support forge?

Most likely not unless somebody else offers to do It because I’m not a good forge dev and that would take too long

Will it support fabric or babric

Most likely not babric because I’ve never used fabric or babric and I dont think I can handle that old of minecraft versions, I tend to stick to modern-ish features. And fabric… Mayybee.

Will it support vanilla

Uhh… maybe in the far future

常见问题

Turtle library 支持哪些 Minecraft 版本?

Turtle library 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Turtle library 怎么安装?

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

评论

登录后评论和评分

The turtles 的其他作品

查看全部 →