Added Entity lookup system, TestableEntity, CustomEntity
This commit is contained in:
@@ -5,6 +5,7 @@ import com.willfp.eco.core.Eco
|
||||
import com.willfp.eco.core.EcoPlugin
|
||||
import com.willfp.eco.core.Prerequisite
|
||||
import com.willfp.eco.core.display.Display
|
||||
import com.willfp.eco.core.entities.Entities
|
||||
import com.willfp.eco.core.integrations.IntegrationLoader
|
||||
import com.willfp.eco.core.integrations.afk.AFKManager
|
||||
import com.willfp.eco.core.integrations.anticheat.AnticheatManager
|
||||
@@ -17,6 +18,19 @@ import com.willfp.eco.core.integrations.shop.ShopManager
|
||||
import com.willfp.eco.core.items.Items
|
||||
import com.willfp.eco.internal.display.EcoDisplayHandler
|
||||
import com.willfp.eco.internal.drops.DropManager
|
||||
import com.willfp.eco.internal.entities.EntityArgParserAttackDamage
|
||||
import com.willfp.eco.internal.entities.EntityArgParserAttackSpeed
|
||||
import com.willfp.eco.internal.entities.EntityArgParserFlySpeed
|
||||
import com.willfp.eco.internal.entities.EntityArgParserFollowRange
|
||||
import com.willfp.eco.internal.entities.EntityArgParserHealth
|
||||
import com.willfp.eco.internal.entities.EntityArgParserJumpStrength
|
||||
import com.willfp.eco.internal.entities.EntityArgParserKnockback
|
||||
import com.willfp.eco.internal.entities.EntityArgParserKnockbackResistance
|
||||
import com.willfp.eco.internal.entities.EntityArgParserName
|
||||
import com.willfp.eco.internal.entities.EntityArgParserNoAI
|
||||
import com.willfp.eco.internal.entities.EntityArgParserSize
|
||||
import com.willfp.eco.internal.entities.EntityArgParserSpawnReinforcements
|
||||
import com.willfp.eco.internal.entities.EntityArgParserSpeed
|
||||
import com.willfp.eco.internal.items.ArgParserColor
|
||||
import com.willfp.eco.internal.items.ArgParserCustomModelData
|
||||
import com.willfp.eco.internal.items.ArgParserEnchantment
|
||||
@@ -105,6 +119,20 @@ abstract class EcoSpigotPlugin : EcoPlugin(
|
||||
Items.registerArgParser(ArgParserUnbreakable())
|
||||
Items.registerArgParser(ArgParserName())
|
||||
|
||||
Entities.registerArgParser(EntityArgParserName())
|
||||
Entities.registerArgParser(EntityArgParserNoAI())
|
||||
Entities.registerArgParser(EntityArgParserAttackDamage())
|
||||
Entities.registerArgParser(EntityArgParserAttackSpeed())
|
||||
Entities.registerArgParser(EntityArgParserFlySpeed())
|
||||
Entities.registerArgParser(EntityArgParserFollowRange())
|
||||
Entities.registerArgParser(EntityArgParserHealth())
|
||||
Entities.registerArgParser(EntityArgParserJumpStrength())
|
||||
Entities.registerArgParser(EntityArgParserKnockback())
|
||||
Entities.registerArgParser(EntityArgParserKnockbackResistance())
|
||||
Entities.registerArgParser(EntityArgParserSize())
|
||||
Entities.registerArgParser(EntityArgParserSpawnReinforcements())
|
||||
Entities.registerArgParser(EntityArgParserSpeed())
|
||||
|
||||
val skullProxy = getProxy(SkullProxy::class.java)
|
||||
SkullUtils.initialize(
|
||||
{ meta, base64 -> skullProxy.setSkullTexture(meta, base64) },
|
||||
|
||||
Reference in New Issue
Block a user