ArrayLists

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

An updated version of NerdyPuzzles ArrayList Plugin.

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.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.1 2024.4 to 2025.3 - arraylists_3.3.1_24.4_to_25.3_0.zip Uploaded on: 11/03/2025 - 20:26   File size: 92.84 KB

Comments

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?

juste : arrialist cause un porbleme car il tente de generer du code obselete que minceraft devine et ne s'attent pas a se qu'on lui persise donc le mode ne peut pas se compiler il faudrait supprimer la 2eme fonction dans le generateur (ListTag VenteItem_list = nbt.getList("VenteItem"), Tag.TAG_STRING devien ListTag VenteItem_list = nbt.getList("VenteItem"))

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?

If you are interested in completely taking over this plugin let me know and I will skip updating it further myself, I would be happy to offload the development to you permanently.

Very nice plugin! It would be great to add a sorting block and a filtering block if you can, but the plugin is already pretty good. nice work

Hey, do you think adding block "add value <value> at index <number>" would be possible?

adding values at a specific index is not possible with arraylist and lists in generell, if you want to set a value at a specific index you can use the "Fill the first x entries of the ArrayList with empty data" and than set the value at index to the value you want