ArrayLists

Published by Semper on
Supported MCreator versions
2024.4
2025.1
2025.2
2025.3
Tags / plugin type
Procedures
Variables
ArrayLists
Downloads:
980
Upvotes: 8
About the plugin

An updated version of NerdyPuzzles ArrayList Plugin, which was an updated version of Goldorion's Array Lists.

This version includes new procedure blocks such as:

  • Add all entries from one arraylist to another
  • Get value of a custom data type at a specific index
  • Iterate each entry in an arraylist
  • Convert an arraylist to a string and back
  • Fill the arraylist with a specific amount of empty data
  • Get the index of a specific value in an arraylist
  • Check if a value at a specific index is a data type of

 

Changelog:

  • v3.3.2:
  • fixed global variable code
  • v3.3.1:
  • optimized code
  • added vector support (for 2025.3+)
  • v3.3.0:
  • updated to MCreator 2025.3
  • updated to NeoForge 21.8
  • v3.2.0:
  • Added get as type procedure blocks for list iterations
  • moved for each loop and iterator block into separate category "Lists Iteration"
  • sorted procedure blocks in each category
  • v3.1.3:
  • Added GLOBAL_WORLD and GLOBAL_MAP
  • Fixed set variable block
  • v3.1.2:
  • Fixed Conversion from ArrayList to String
  • Fixed Conversion from String to ArrayList
Project members
Former developer
Former developer
License
Apache License version 2.0

Plugin downloads
ArrayLists 3.3.2 2024.4 to 2025.3 - arraylists_3.3.2_24.4_to_25.3.zip Uploaded on: 11/27/2025 - 21:32   File size: 92.89 KB

Comments

for some reason it crashes when i try to apply an itemstack to the array ):

Using 2025.2 with a 1.19.2 generator, no option to create an arraylist is available anywhere but the arraylist blocks do show in the procedure editor.

I've created a version where the bug in generator 1.21.8 is fixed: https://github.com/florent1-2/ArrayLists_Fix_Bug

Hey i have a question. It might be that im doing something wrong but are the global world variables not saved? I made one added a couple of vectors to the list closed the game, reopened it and they were gone. Is that normal or am i doing something wrong?

vectors cannot be stored in global variables atm, gonna search for a fix, but mcreator itself also doesn't have the option to store vectors globally (even tho global session should be easy to implement in base mcreator)

Thanks for the quick response. It'd be a real gamechanger if you manage to find a fix for it. Vectors makes it much easier to work with coordinates and using them in lists makes it really easy to handle a large amount of them so i hope you are successful in finding a way to implement it. Good luck.

Maybe I'm experiencing some kind of incompatibility, but whenever I create an arraylist using this plugin, my workspace fails to compile and I'm met with an error saying "method getList in class CompoundTag cannot be applied to given types;
ListTag aixAnimations_list = nbt.getList("aixAnimations", Tag.TAG_STRING);"

Could be an incompability issue with the current most version of 2025.3 i guess. I have the same issue with the excact same error at compiling, when i try to make a global arraylist variable. The workaround is to use a string and convert between that and an arraylist, locally in procedure arraylist works fine as i can tell. But the plugin needs a fix and update so we can utilize it's full potential, maybe allowing to create player/client arraylist variables in the future too.

Hey I've been using this for a while now but I don't quite understand the for each loop. How do I access the actual entry of the list???

Hey,
Since the plugin already contains some integration stuff with File Manager plugin, do you think you could add "Add all entries from JSON array to ArrayList" block? It would be really helpful. Thanks!

Hello, I'm new to MCreator. After installing this plugin, I'm not sure how to uninstall it. I didn't see an option to remove plugins in MCreator's built-in plugin management settings. I tried deleting the corresponding files, but the plugin still appears in my plugins list. But this doesn't mean I don't want to use this plugin—I just want to learn how to remove plugins properly.

Nice plugin, do you think making more variable scope would be possible?