Tetra Libs

Published by DragClover on
Supported MCreator versions
2023.3
2023.4
2024.1
2024.2
2024.3
Tags / plugin type
API support
Global triggers
Procedures
Templates
Variables
Implement the TertaLibs API and add several useful procedure blocks
Downloads:
1096
Upvotes: 9
About the plugin

Tetra Libs


TetraLibs is a plugin that allows you to have the TetraLibs mod API but also to implement several procedure blocks and triggers. 

 

tetralibs menu

Discord here

 

I am thinking more and more about stopping the development of TetraLibs NeoForge because it adds a lot of work but not enough downloads compared to Forge

 

TetraLibs API add /tetralibs command !

For more help made /tetralibs help & you can join the discord. I'm going to do tutorials soon....

Changelog

v0.1.11
- Fixed Util import 
- Updated TetraLibs Forge

v0.1.10
- Support for 2024.3

v0.1.9
- Added TetraLibs config button in settings (Soon)
- Added TetraConfig button & gui on world creation menu
- Updated TetraLibs forge

v0.1.8
- Added get_mods_utilisations procedure

v0.1.7
- Updated TetraLibs (Forge) 
v0.1.6
- Fixed bug when you adding custom(s) page

v0.1.5
- Updated TetraLibs (Forge)
- Added tetra_libs_help_pages category
- Added add_custom_page procedure
- Added add_help_line_with_entity procedure
- Added add_help_line procedure
- Added add_navigation_bar_line procedure
- Added get_pages_count procedure
- Added get_custom_pages_count procedure
- Added get_page_line_count procedure
- Added get_player_page procedure
- Added set_player_page procedure
- Added set_player_gamma procedure in tetra_libs_actions
- Added help_page variable
- Added custom_tetra_page trigger
- Added "TetraLibs create a custom page with lines" procedure template
- TetraLibs command modified

v0.1.4
- Updated TetraLibs (Forge)

v0.1.3
- Support for 2024.2 (32117)

v0.1.2
- Support for 2024.2 (All versions)

v0.1.1
-Support for 2024.2 (2024.2.27311)

v0.1.0
-TetraLibs fully client side/server

v0.0.25
-Added add_server_permission procedure
-Added get_server_permissions procedure
-Added get_player_permissions procedure
-Added get_player_permissions_count procedure
-Added get_server_permissions_count procedure
-Added add_permission procedure
-Added remove_permission procedure
-Added has_permission procedure
-Added server_permission_exist procedure
-Added send_tellraw procedure

v0.0.24
-Added custom_tetra_config trigger
-Added add_tetra_config procedure
-Added save_tetra_config procedure
-Added is_config procedure

v0.0.23
-Fixed bugs

v0.0.22
-Added set function in LogLevel class
-Added set_tetra_log procedure
-Fixed crash & bugs

v0.0.21 (only forge)
-Added BCK Gui
-Added LogLevel class
-Added CommandEventHandler class
-Added BlockEventBreak class
-Added BlockEventPlace class
-Added ItemEventDrop class
-Added ItemEventPickup class
-Added ItemEventExpire class
-Added ChestEventOpen class
-Added randomUUID function in Util
-Added get_current_world_name procedure
-Added get_tetra_log procedure
-Added input_key_pressed procedure
-Added open_bck_gui procedure
-Added random_uuid procedure
-Added tetra_log procedure

v0.0.20
-Updated for 2024.1.18518
-Server joining loop fixed
-Added key_pressed trigger (not cancelable)
-Added key_is procedure
-Added item_component procedure
-Added first_joined procedure (only forge)

v0.0.19
-Added BorderManager class (in dev..)
-Added BorderStyle class (in dev..)
-Added ItemInfoTooltip class
-Added add_item_tooltip procedure
-Added add_new_line_tooltip_pos procedure
-Added add_new_line_tooltip procedure
-Added is_economy procedure
-Added is_key_pressed procedure
-Added is_userdata procedure
-Added is_tooltip procedure
-Added teleport_entity procedure
-Added teleport_world_entity procedure
-Added tooltip_item_event trigger
-Added itemtooltip dependency (List<Component>)

v0.0.18
-Added Config class
-Added ConfigManager class
-Added set_motd procedure block
-Added random_item_loot_table procedure block

v0.0.17
-RandomItem -> now working on NeoForge
-RandomBlock -> now working on NeoForge
-RandomEffect -> now working on NeoForge
-RandomEnchantment -> now working on NeoForge
-Added callback to TeamUtil
-NumberConverter modified, added number after "." & added localization keys

v0.0.16
-Updated for 2024.1.17319
-Fixed no save bug on NeoForge (mb new bug)
-Economy reworked

v0.0.15
-Updated to NeoForge

v0.0.14
-Added EconomyManager class
-Added DataManager class
-Added somes economys procedures

v0.0.13
-Crash on joining server fixed

v0.0.12
-Fixed not working on servers
-Added get_player_name procedures (get raw name of player)

v0.0.11
-Added get_team_players_number
-Added Userdata class
-Added EconomyManager (empty, coming soon)
-SOmes class modified

v0.0.10
-Added get_team_name of entity
-Fixed somes dependencies
-NeoForge is coming soon (I haven't implemented the latest changes)

v0.0.9
-Fixed coordinate from spawn_item_fixed, x_fixed and z_fixed
-Added procedures to neoforge

v0.0.8
-Additions of some dependencies in certain procedures
-Added a procedure which allows an item to appear on the ground but with the correct coordinates, I mean that before it appeared in the blocks
-Added a procedure that allows you to have x but fixed
-Added a procedure that allows you to have z but fixed

v0.0.7
-MobUtil class fixed
-TeamUtil update
-Added somes procedures blocks for teams

v0.0.6
-Added MobUtil class
-Added fr_FR lang

v0.0.5
-Support for NeoFore 1.20.4

v0.0.4
-Support for MCreator 2024.1
License
All Rights Reserved

Plugin downloads
TetraLibs 0.1.11 (Mcreator 2024.3 ONLY, you can work on 1.20.1/1.19.2) NeoForge non update - TetraLibs-0.1.11.zip Uploaded on: 10/22/2024 - 01:58   File size: 157.87 KB

Comments

can you make text block "get team of (entity)" please?? that one which available in mcreator isnt working

"C:\Users\USERNAME\MCreatorWorkspaces\WORKSPACE\src\main\java\de\staku\WORKSPACE\procedures\IronRingBaubleEquippedProcedure.java:12: error: incompatible types: Entity cannot be converted to LivingEntity
MobUtil.setBaseMaxHealth(entity, ((entity instanceof LivingEntity _livEnt ? _livEnt.getMaxHealth() : -1) + 3));
^
C:\Users\USERNAME\MCreatorWorkspaces\WORKSPACE\src\main\java\de\staku\WORKSPACE\procedures\IronRingBaubleUnequippedProcedure.java:12: error: incompatible types: Entity cannot be converted to LivingEntity
MobUtil.setBaseMaxHealth(entity, ((entity instanceof LivingEntity _livEnt ? _livEnt.getMaxHealth() : -1) - 3));
^"

dose'nt let you change players MaxHealth

Still doesn't work :S

"C:\Users\Ethan\MCreatorWorkspaces\vortexcraft_neo\src\main\java\de\staku\vortexcraft\procedures\SetHealthProcedure.java:11: error: incompatible types: Entity cannot be converted to LivingEntity
MobUtil.setBaseMaxHealth(entity, 20);
^"

But I got it fixed with custom code idk if you can use it but here maybe it helps to fix it
https://pastebin.com/nN1FF6rh

"error: cannot find symbol
BlockState _bs = RandomBlock.block().defaultBlockState();"
Does the same error when doing random anything

> Task :compileJava FAILED
C:\Users\ShadowTech\MCreatorWorkspaces\green_fortune\src\main\java\net\mcreator\lotterretailer\procedures\ResourceTicketRightClickProcedureProcedure.java:18: error: cannot find symbol
ItemEntity entityToSpawn = new ItemEntity(_level, x, y, z, new ItemStack(Util.getRandomItemFromLootTable(world, "minecraft:chests/spawn_bonus_chest")));