Array Lists

Published by Goldorion on
Supported MCreator versions
2022.1
2022.2
2022.3
2023.1
2023.2
2023.4
Tags / plugin type
Procedures
Variables
icon
Downloads:
1970
Upvotes: 85
Plugin forum topic
About the plugin

You can create, manage and delete lists into 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.18.2, 1.19.2, 1.19.4 and 1.20.1 and Fabric 1.19.2 and 1.20.1
  • Icon by Tobi-Wan#0482

Changelog

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

2.4.7

* Added Forge 1.20.1 support
Project members
Lead developer
License
Apache License version 2.0

Plugin downloads
Array Lists - 2.4.7 - arraylist.zipUploaded on: 08/23/2023 - 01:32   File size: 45.2 KB

Comments

I'm getting an error for lossy conversation from a double to int when checking the value of an index. Right now, I have a local variable called Index which is set to 0 and once its loops it increases - a basic programming concept; however, once I plug that index into "Get Value at Index...of..." it errors out to "error: incompatible types: possible lossy conversion from double to int". I went here first instead of forums because its specific to this plugin, do you have any clue how to fix it?

Adding this plugin to my 1.18.2 workspace broke the gradle and makes me endlessly regenerate the code

Can you make it so you can make GLOBAL_MAP variables cause session variables are kinda... well... annoying to work with when it comes to things like avaliable options for something

Using this on 2021.3, for MC 1.17.1.

Ran into a couple issues.

First creating a globe variable was bugged.
Using Arrays with blocks is broken.

However I fixed both of those issues. Global variables work properly now, and I added a new array list variable type called blockarraylist which works perfectly fine for blocks, and items.

Did not bother reading your license all the way through as it's invalid anyway as you did not fill it in properly to make it valid.

However I was wondering if I would be allowed to post and maintain this plugin under a MIT License with credits given to you, or if you would like to take my changes on your plugin and upload the update here. Going to be verifying that the 1.18 snapshot does not break the plugin.

Have a great day!

1.18 version working just fine. Also fixed the get value from list issue where it would throw an error if it was given a double instead of integer. Now all numbers given to it that are doubles work fine as well as integers.

Got a problem with the 'Get value at index' block not wanting to convert to a string, and it doesn't like using numbers (doubles) that are used in mcreator instead of (ints).

This needs to be added to mcreator itself. its just so useful

It always failed to build when I create arraylist variables. It is bug from this plugin?