Turtle library

Turtle library

Mod

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

Client or server LibraryManagementTechnology

65 downloads
0 followers
Follow Save

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


Project members

The turtles

Organization

Details

Licensed ARR
Published 2 months ago
Updated 2 months ago