Skip to content

Commit

Permalink
⬆️ ItemCreator 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsTheSky committed Feb 6, 2022
1 parent e0dbd71 commit c2dc6f6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = 'info.itsthesky'
version = '2.0.1'
version = '2.1.0'

repositories {
mavenCentral()
Expand Down
20 changes: 18 additions & 2 deletions src/main/java/info/itsthesky/itemcreator/ItemCreator.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
import de.leonhard.storage.Config;
import fr.mrmicky.fastinv.FastInvManager;
import info.itsthesky.itemcreator.api.ItemCreatorAPI;
import info.itsthesky.itemcreator.core.ItemCreatorAPIImpl;
import info.itsthesky.itemcreator.api.properties.base.ItemProperty;
import info.itsthesky.itemcreator.core.CreatorCommand;
import info.itsthesky.itemcreator.core.ItemCreatorAPIImpl;
import info.itsthesky.itemcreator.core.MainListener;
import info.itsthesky.itemcreator.core.langs.LangLoader;
import info.itsthesky.itemcreator.core.properties.*;
import info.itsthesky.itemcreator.core.properties.flags.*;
import info.itsthesky.itemcreator.core.properties.base.*;
import info.itsthesky.itemcreator.core.properties.events.CantCraftProperty;
import info.itsthesky.itemcreator.core.properties.events.CantEnchantProperty;
import info.itsthesky.itemcreator.core.properties.flags.HideEffectsProperty;
import info.itsthesky.itemcreator.core.properties.flags.HideEnchantProperty;
import info.itsthesky.itemcreator.core.properties.flags.HideUnbreakableProperty;
import info.itsthesky.itemcreator.core.properties.spawners.SpawnerSpawnCountProperty;
import info.itsthesky.itemcreator.core.properties.spawners.SpawnerTypeProperty;
import org.bukkit.plugin.java.JavaPlugin;
import org.jetbrains.annotations.NotNull;

Expand Down Expand Up @@ -41,15 +48,24 @@ public void onEnable() {

getLogger().info("Registering Properties ...");
registeredProperties = new HashMap<>();
api.registerProperty(new ItemEnabled());
api.registerProperty(new MaterialProperty());
api.registerProperty(new NameProperty());
api.registerProperty(new LoreProperty());
api.registerProperty(new ICTagProperty());
api.registerProperty(new TypeProperty());
api.registerProperty(new PotionColorProperty());
api.registerProperty(new ArmorColorProperty());
api.registerProperty(new EnchantmentProperty());
api.registerProperty(new RarityProperty());
api.registerProperty(new Base64Property());
api.registerProperty(new CMDProperty());
if (getServer().getVersion().contains("1.8"))
api.registerProperty(new EntityTypeProperty());
api.registerProperty(new OwnerProperty());
api.registerProperty(new SpawnerTypeProperty(this));
api.registerProperty(new SpawnerSpawnCountProperty(this));
api.registerProperty(new PotionEffectsProperty());

api.registerProperty(new CantCraftProperty());
api.registerProperty(new CantEnchantProperty());
Expand Down

0 comments on commit c2dc6f6

Please sign in to comment.