Array Lists

Published by Goldorion on
Supported MCreator versions
2022.1
2022.2
2022.3
2023.1
2023.2
2023.4
2024.1
Tags / plugin type
Procedures
Variables
icon
Downloads:
3259
Upvotes: 95
About the plugin

The plugin continues its journey here.

 

You can create, manage and delete lists in your procedures. You need to have a list of your favorite names for pigs, you can make it!

Features

You can have a small preview of blocks or things you can do in the following picture.

(Before 2.4.4)

An example

Important Information

  • This plugin supports Forge 1.19.4 and 1.20.1, NeoForge 1.20.4 and Fabric 1.20.1
  • Icon by Tobi-Wan#0482

Changelog

To see a complete changelog of the plugin, check this file.

2.4.8

* Updated to support MCreator 2024.1 (only)
* Added support for NeoForge 1.20.4
* Removed support for Forge 1.18.2 and 1.19.2 and Fabric 1.19.2
Project members
Lead developer
Plugin forum topic
License
Apache License version 2.0

Plugin downloads
Array Lists - 2.4.8 (MCreator 2024.1) - arraylist.zip Uploaded on: 04/19/2024 - 14:20   File size: 34.55 KB
Array Lists - 2.4.7 (MCreator 2023.4 -) - arraylist.zip Uploaded on: 08/23/2023 - 01:32   File size: 45.2 KB

Comments

Can these lists be player persistent? (As in unique for each player)

crashes minecraft when reading an array crashlog: https://mclo.gs/K535qlr

Please make lists available for Player Persistent variable that's all I need to continue development on my mod.

Hopefully the array functions will be added in the new update along with the Switch Case.
Without these two functions, the mods from Mcreator are really not so optimized =/

why am i not able to return a list and use it in another procedure

D:\MCreatorWorkspaces\src\main\java\net\mcreator\spacestrix\procedures\OrderProcedure.java:133: error: incompatible types: List cannot be converted to ArrayList
return order;
^

Can you make a procedure to get the index of a value?

If I apply a procedure with a list to an updated block, will the values ​​in the lists be saved between updates?

Can you even read values in nested lists? I have a list storing lists storing numbers and if i try to get values multiple layers deep it just gives me the error: Cannot find symbol and the line causing it is: TmMod.LOGGER.info(targetMovement.get(0)<Error arrow is HERE>.get(0) instanceof ArrayList _al ? _al : new ArrayList<>());

Is there anyway to remove a specific value from an array? Instead of removing at index, I want to remove [text string] from the array.

hiya! is there a possible way of finding the index number of an object? tried finding out but couldnt find it

Im kind of worred that if i put any array on an entity that what happens to one happens to all, because its localized, again im still confused on localized and nbt

Is there a way to use this in conjunction to store different player UUIDs for different instances of the same block kind? Basically I want to make a block that spawns an item when right clicked for a player, then is locked out for that player on that block. Basically Player A clicks Block A, and can only do it once, but Player A can repeat the process with Block B no trouble and Player B can use Block A no problem. IDK if that example was at all intuitive but you seem to be one of the more knowledgeable users on the platform