COWMODSКаталог модов

Turtle library

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

2650обновлён 24 июн. 2025 г.
Библиотеки

Описание

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

Последние версии

Все версии →
release

Turtle library 0.0.502

0.0.502
24 июн. 2025 г.83Minecraft: 1.21.1neoforge
Скачать
Что нового
bugfix: crash due to missing mixin
release

Turtle library 0.0.501

0.0.501
24 июн. 2025 г.28Minecraft: 1.21.1neoforge
Скачать
Что нового
fixed @param
release

Turtle library 0.0.5

0.0.5
24 июн. 2025 г.31Minecraft: 1.21.1neoforge
Скачать
Что нового
Added CreateNewWindow class, call CreateNewWindow.execute(int sizex, int sizey, String windowTitle, boolean resizable, Consumer<JFrame> contentSetup) make sure to import com.mods.turtle_lib.CreateNewWindow! Added ClientSoundNoLimit, call ClientSoundNoLimit.execute(Class sourceClass, String url, boolean loop) new audio engine with no limit to how many sounds playing. make sure to import com.mods.turtle_lib.ClientSoundNoLimit. Added a example screen : JoiningWorldBridgeScreen, screen for world loading. Added RenameEveryItemInsInventory(level, entity, string), renames every item in the entitys inventory to the string provided
beta

Turtle library 0.0.4

0.0.4
23 июн. 2025 г.33Minecraft: 1.21.1neoforge
Скачать
Что нового
Cnanged playeranimator class to now get 4 doubles after the player, right arm xrot right arm yrot left arm xrot and left arm yrot. also added new method resetPlayersAnimation(Player);, it resets the arm movements;
beta

Turtle library 0.0.3

0.0.3
23 июн. 2025 г.25Minecraft: 1.21.1neoforge
Скачать
Что нового
Bugfix: fixed not loading correctly from 0.0.2 Cleanup: made client-only features not crash the server when called. New feature: added a player animator class, Import com.mods.turtle_lib.PlayerAnimator, call PlayerAnimator.storeModel(Player, PlayerModel) then PlayerAnimator.animatePlayer(player), it makes the player point
alpha

Turtle library 0.0.2

0.0.2
23 июн. 2025 г.28Minecraft: 1.21.1neoforge
Скачать
Что нового
Improovement: cleared up encoder and decoder
alpha

Turtle library 0.0.1

0.0.1
22 июн. 2025 г.37Minecraft: 1.21.1neoforge
Скачать
Что нового
This is the first version! It is alpha because it doesn't have much yet, but is still totally stable, so far, incompatable with no mods.