Tetra Libs

Published by DragClover on
Supported MCreator versions
2023.3
2023.4
2024.1
Tags / plugin type
API support
Procedures
Implement the TertaLibs API and add several useful procedure blocks
Downloads:
153
Upvotes: 4
About the plugin

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

 

Tetra-Libs-Menu.png


Add RandomItem class which allows you to have a random item (compatible with other mods and Minecraft)

Add RandomBlock class which allows you to have a random block (compatible with other mods and Minecraft)

Add RandomEffect class which allows you to give a random effect to an entity (compatible with other mods and Minecraft)

Add RandomEnchantment class which allows you to give a random enchantment to an item (compatible with other mods and Minecraft)

Add ConsoleColors enum which allows you to have the colors in ascii

Add SuperLog class which allows you to send messages in the customizer console and also to be able to write to files

Add TeamUtil class which allows you to play with teams (Get & Set)

Add InventoryManager class that allows you to manage player inventory

Add NumberConverter class which allows you to convert a number into a converted number, example 1000 -> 1k

Add MobUtil class that allows you to play with entities (Attributes)

Add Util class which is useful

Add Userdata class which allows you to manage data of entities

Add DataManager class which allows you to manage datas

Add EconomyManager class which allows you to manage economys

 

Note: On NeoForge 1.20.4 RandomItem, RandomBlock, RandomEffect & RandomEnchantment is actually not available beacause i am actually learn NeoForge !

Changelog

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.0.4 (Mcreator 2023.3 MINIMUM & 2023.4 MAX) - TetraLibs-0.0.4_1.zipUploaded on: 04/14/2024 - 11:28   File size: 13.79 KB
TetraLibs 0.0.15 (Mcreator 2024.1 ONLY, you can work on 1.20.1) - TetraLibs-0.0.15.zipUploaded on: 04/22/2024 - 00:40   File size: 90.67 KB

Comments

Btw something is wrong with your plugin it doesn't add imports every block just gives an error now

C:\Users\Ethan\MCreatorWorkspaces\economyplus\src\main\java\de\staku\economyplus\procedures\CurrentBankMoneyProcedure.java:10: error: cannot find symbol
return "Bank : " + (entity instanceof Player ? EconomyManager.getBank((Player) entity) : 0);

symbol: variable EconomyManager
location: class CurrentBankMoneyProcedure
C:\Users\Ethan\MCreatorWorkspaces\economyplus\src\main\java\de\staku\economyplus\procedures\CurrentMoneyProcedure.java:10: error: cannot find symbol
return "Money :" + (entity instanceof Player ? EconomyManager.getMoney((Player) entity) : 0);

symbol: variable EconomyManager
location: class CurrentMoneyProcedure
C:\Users\Ethan\MCreatorWorkspaces\economyplus\src\main\java\de\staku\economyplus\procedures\TestProcedure.java:31: error: cannot find symbol
EconomyManager.setMoney((Player) entity, 250, true);

Hey, is it possible that you add a global trigger that triggers for the first join of a player? (would be helpful for giving a start money)

tetralibs api 1.0.8 not working on servers.

also i have idea for new text block: get NICKNAME of entity (not display name, because displayname returns team_prefix + nickname + team_suffix)

thanks for update! but.. no
[18Apr2024 23:56:50.984] [Render thread/ERROR] [net.minecraft.util.thread.BlockableEventLoop/FATAL]: Error executing task on Client
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.Level.m_6815_(int)" because "p_132520_" is null
at net.minecraft.network.protocol.game.ClientboundMoveEntityPacket.m_132519_(ClientboundMoveEntityPacket.java:125) ~[client-1.20.1-20230612.114412-srg.jar%23308!/:?]
at net.minecraft.client.multiplayer.ClientPacketListener.m_7865_(ClientPacketListener.java:556) ~[client-1.20.1-20230612.114412-srg.jar%23308!/:?]
at net.minecraft.network.protocol.game.ClientboundMoveEntityPacket.m_5797_(ClientboundMoveEntityPacket.java:115) ~[client-1.20.1-20230612.114412-srg.jar%23308!/:?]
etc.