Last active
July 11, 2019 16:52
-
-
Save brcdev/f589d4f3e33c4b2006b1c46be0d69a87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.spawnerprovider; | |
import org.bukkit.inventory.ItemStack; | |
import org.bukkit.plugin.Plugin; | |
public class YourSpawnerProvider extends SpawnerProvider { | |
private Plugin plugin; // your plugin's main class instance | |
@Override | |
public SpawnerProvider hook(Plugin plugin) { | |
this.plugin = plugin; | |
return this; | |
} | |
@Override | |
public ItemStack getSpawnerItem(String entityId, String customName) { | |
// Implementation required | |
return null; | |
} | |
@Override | |
public String getSpawnerEntityId(ItemStack itemStack) { | |
// Implementation required | |
return null; | |
} | |
@Override | |
public String getSpawnerEntityName(ItemStack itemStack) { | |
// Implementation required | |
return null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment