Package dev.selena.luacore.nms
Interface INMSVersionClass
public interface INMSVersionClass
Used for getting NMS version specific classes
-
Method Summary
Modifier and TypeMethodDescriptiongetEntityBuilder(org.bukkit.entity.LivingEntity entity) Used for getting the NMS entity buildergetPathfinderInjector(org.bukkit.entity.LivingEntity entity) Used for getting theIPathfinderInjectorinstance for a specific entity.getPlayerAttributeModifier(org.bukkit.entity.Player player) Used for getting theINMSPlayerAttributeModifierinstance for a player.
-
Method Details
-
getEntityBuilder
Used for getting the NMS entity builder- Parameters:
entity- The entity you want to alter- Returns:
- The builder
-
getPlayerAttributeModifier
Used for getting theINMSPlayerAttributeModifierinstance for a player.- Parameters:
player- The player you want to get the attribute modifier for- Returns:
- The player attribute modifier
-
getPathfinderInjector
Used for getting theIPathfinderInjectorinstance for a specific entity.- Parameters:
entity- The entity you want to get the pathfinder injector for- Returns:
- The pathfinder injector for the entity
-