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:
2098
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.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
License
Apache License version 2.0

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

Comments

Submitted by Faruk Arda on Mon, 11/14/2022 - 00:52 Permalink

I want to make space mod and I have a dimension called space; but the sky looks bad even though I set the time to be night all the time in the space dimension. Since there is still a moon on the sky. The resion I am telling you this is because you made some of the best MCreator plugins. So culd you please make a MCreator plugin that lets you change the sky (like on a biome or a dimension). Also my mod is on MCreator 2022.2; so I would be happy if you made the plugin for MCreator 2022.2 too.

I found out that using the Array Lists to get an replace an specific Word to the Array List Index not working an error is appearing. Is this supposed to happen?

Can I not compare two array numbers at specific indexes?

E.G

Array 1 Index 0 = 10
Array 2 index 2 = 5

IF [get array 1 index 0 ] >= [get array 2 index 0] this fails to compile? However,

IF [get array 1 index 0 ] == [get array 2 index 0] works, why is that?

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?