Started by
Pucky
on
Topic category: Plugins and third-party tools
A simple (and not perfect) plugin for MCreator 1.15.2 that add procedures blocks to manipulate HashMap.
It allow you to store more complex data and/or dynamic named variables. (Useful for keeping trace of several in game block, for example)
How to use :
- Place the create block
- Store a variable in the HashMap by naming it
- Export the HashMap as text to another string variable (Local, global...)
- Import your HashMap in another procedure (or in the same if you find it useful)
- Access your named data
- Enjoy :)
The HashMap support the 3 type of data (Logic, Number and Text)
Download :
https://drive.google.com/file/d/1riM-byy7KS22wPlFP-fO_mq_ZwP0M_Yf/view?usp=sharing
Changelog :
- Optimized
- Can now iterate over HashMap index
- Corrected st*pid error (agaiiiin²)
- Added multiple named HashMap
- Added "Is HashMap index exist"
- Init block not needed anymore
- Updated for MCreator 2020.3.18613 (Regenerate your project if you get compilation error)
Edited by Pucky on Thu, 05/28/2020 - 15:35
Nice! We are not anymore alone with SomeoneElse to make plugins. ^^
Nice plugin!
@Goldorion I hope that serveral plugins will follow :P
@crispy_chips1234 Thank you :)
I’m making a big plugin (a Fabric Generator), so for me, I don’t think I will fully release a plugin before some times. I will however publish development versions, and I hope I will be able to publish the first version soon.
What is HashMap?
Nice!
An HashMap is a variable that can store other variable with an associated name. It's like a local variable but with a name that the procedure can choose (/change).
Example :
Without this plugin you can't make a different variable for all player, but with an HashMap you can.
(Except custom code of course)
Nice work! :D
@DiamondGamin & @Klemen Thank :)
can you also make a
plugin?
that's typed weird lol
Maybe more inside the same plugin. No? If I’m right, it’s almost the same thing than HasMap and Arraylist.
This is exactly what I needed for many things! :D
Will it support other versions too?