Posted June 16, 201510 yr Would there be a way to change the block id of a newly created block or item?
June 16, 201510 yr Author Thanks for a fast reply. I am aware that it does it automatically, but being able to adjust, or override the automatic IDs, would be very useful in my code.
June 16, 201510 yr Author Why? You should never ever even care about IDs and much less have to touch them at all. I am using a 2d array. Ex: public static short[][] Example = new short[500][16]; // Example[blockId][MetaId] = Short Number.
June 16, 201510 yr Author Use a Map<Block, short[]> instead. Help me understand this please. This map associates a short with the Block, right? So that I can basically use the value inside as an id for the block, without actually changing the block id.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.