ID-Library

ID-Library

We use this plugin to make gathering items easier, older plugins work as should and to make world edit much easier for players who got used to the old ID’s e.g. setting red wool by simply using the ID “red”
Minecraft-Item-ID – Library

General:

This Library, gives you the Abbility to use the Old Miencraft-Item-ID’s from the Version 1.12.x and lower in Newer Versions like 1.13.x – 1.16.x.

Also this Library gives All new Items from the Version 1.13.x – 1.16.x a Item-ID like 1.12.x and lower!

So you can use a Short Version and get the same Item!

For places where the new Minecraft item names are just too long you can use the ID instead of the Name!

If you like my Plugins / Library’s please leave a good Rating!

===================================================================================

Special Features:

Very good performance

Use old ID’s in newer Versions

Items from Newer Version have a new ID like 1.12.x and lower

Use Short ID instead of long Item-Names

Easy to use and implement

And many more……

===================================================================================

How to use (For Non-Developers):

– Download this Library

– Put it into your “plugins”-Folder

 

===================================================================================

How to use (For Developers):

– Download this Library

– Implement this Library in your Project

———————————————————————————

– Add this to your Import-Section:

Code (Java):
import me.idlibrary.main.IDLibrary;

———————————————————————————

– A few Ways To get a new 1.13.x – 1.16.x Material from old ID’s or Material-Name’s:

Code (Java):
Material M = IDLibrary.getMaterial(“1”);
Material M = IDLibrary.getMaterial(“1:1”);
Material M = IDLibrary.getMaterial(“stone”);
Material M = IDLibrary.getMaterial(“stone:1”);

– About the same Way you can get the Material from the new ID’s for 1.13.x – 1.16.x Versions:

Code (Java):
Material M = IDLibrary.getMaterial(“480”); <– This is a new ID added from this Library!
Material M = IDLibrary.getMaterial(“trident”);

———————————————————————————

– To get the Item-ID’s from Items from old and new Versions use:

Code (Java):
String IDData = IDLibrary.getIDData(Material);

– To get the only the Item-ID or the Item-Data use:

Code (Java):
int ID = IDLibrary.getID(Material);
byte Data = IDLibrary.getData(Material);

———————————————————————————

– There are also some other Ways to get the Material from a ID:

Code (Java):
Material M = IDLibrary.getMaterial(int ID);
Material M = IDLibrary.getMaterial(int ID, byte Data);
Material M = IDLibrary.getMaterial(String ID, byte Data);
———————————————————————————

 

Note!
When you implement this Library into your Plugin you also
must move this Library in the Plugins-Folder to!

 

———————————————————————————

 

===================================================================================

New ID’s from this Library:

Here you can find all ID’s which have been added by this library:

 


===================================================================================


===================================================================================

Known Bugs:

Known Bugs:

  • Currently no bugs are known!
  • If you discover a bug let me know in the discussion area so I can fix it quickly!

===================================================================================

 

Planned Features:


Planned Features for new Versions:

  • Currently I have no new features planned!
  • If you think of something or you have a desire for an extension let me know in the discussion area!

 


===================================================================================

[​IMG]
New official GPlugins Discord Server!


This Plugin supports the Minecraft Versions:
1.13.x, 1.14.x, 1.15.x, 1.16.x

If you like my Plugins / Library’s please leave a good Rating!

Leave a Reply

Your email address will not be published. Required fields are marked *

two − 2 =

Skip to toolbar