Class NMSImpl
java.lang.Object
studio.magemonkey.codex.nms.v1_16_5.NMSImpl
- All Implemented Interfaces:
studio.magemonkey.codex.compat.NMS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeSkull(org.bukkit.block.Block block, String hash) io.netty.channel.ChannelgetChannel(org.bukkit.entity.Player player) getConnection(org.bukkit.entity.Player player) doublegetDefaultArmor(org.bukkit.inventory.ItemStack itemStack) doublegetDefaultDamage(org.bukkit.inventory.ItemStack itemStack) doublegetDefaultSpeed(org.bukkit.inventory.ItemStack itemStack) doublegetDefaultToughness(org.bukkit.inventory.ItemStack itemStack) org.bukkit.MaterialgetMaterial(org.bukkit.entity.Boat boat) getNMSCopy(org.bukkit.inventory.ItemStack item) booleanisArmor(org.bukkit.inventory.ItemStack itemStack) booleanisTool(org.bukkit.inventory.ItemStack itemStack) booleanisWeapon(org.bukkit.inventory.ItemStack itemStack) voidopenChestAnimation(org.bukkit.block.Block chest, boolean open) voidsendAttackPacket(org.bukkit.entity.Player player, int i) voidsendPacket(org.bukkit.entity.Player player, Object packet) voidsetKiller(org.bukkit.entity.LivingEntity entity, org.bukkit.entity.Player killer) toJson(org.bukkit.inventory.ItemStack item) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface studio.magemonkey.codex.compat.NMS
addSkullTexture, createEntityDamageEvent, getAttribute, getAttributeValue, getField, getHoverEvent, getNonPlayerProfile, getTranslatedComponent, registerNewObjective
-
Constructor Details
-
NMSImpl
public NMSImpl()
-
-
Method Details
-
getVersion
- Specified by:
getVersionin interfacestudio.magemonkey.codex.compat.NMS
-
getConnection
- Specified by:
getConnectionin interfacestudio.magemonkey.codex.compat.NMS
-
getChannel
@NotNull public io.netty.channel.Channel getChannel(@NotNull org.bukkit.entity.Player player) - Specified by:
getChannelin interfacestudio.magemonkey.codex.compat.NMS
-
sendPacket
- Specified by:
sendPacketin interfacestudio.magemonkey.codex.compat.NMS
-
openChestAnimation
public void openChestAnimation(@NotNull org.bukkit.block.Block chest, boolean open) - Specified by:
openChestAnimationin interfacestudio.magemonkey.codex.compat.NMS
-
sendAttackPacket
public void sendAttackPacket(@NotNull org.bukkit.entity.Player player, int i) - Specified by:
sendAttackPacketin interfacestudio.magemonkey.codex.compat.NMS
-
fixColors
-
getDefaultDamage
public double getDefaultDamage(@NotNull org.bukkit.inventory.ItemStack itemStack) - Specified by:
getDefaultDamagein interfacestudio.magemonkey.codex.compat.NMS
-
getDefaultSpeed
public double getDefaultSpeed(@NotNull org.bukkit.inventory.ItemStack itemStack) - Specified by:
getDefaultSpeedin interfacestudio.magemonkey.codex.compat.NMS
-
getDefaultArmor
public double getDefaultArmor(@NotNull org.bukkit.inventory.ItemStack itemStack) - Specified by:
getDefaultArmorin interfacestudio.magemonkey.codex.compat.NMS
-
getDefaultToughness
public double getDefaultToughness(@NotNull org.bukkit.inventory.ItemStack itemStack) - Specified by:
getDefaultToughnessin interfacestudio.magemonkey.codex.compat.NMS
-
isWeapon
public boolean isWeapon(@NotNull org.bukkit.inventory.ItemStack itemStack) - Specified by:
isWeaponin interfacestudio.magemonkey.codex.compat.NMS
-
isArmor
public boolean isArmor(@NotNull org.bukkit.inventory.ItemStack itemStack) - Specified by:
isArmorin interfacestudio.magemonkey.codex.compat.NMS
-
isTool
public boolean isTool(@NotNull org.bukkit.inventory.ItemStack itemStack) - Specified by:
isToolin interfacestudio.magemonkey.codex.compat.NMS
-
toJson
- Specified by:
toJsonin interfacestudio.magemonkey.codex.compat.NMS
-
setKiller
public void setKiller(@NotNull org.bukkit.entity.LivingEntity entity, @NotNull org.bukkit.entity.Player killer) - Specified by:
setKillerin interfacestudio.magemonkey.codex.compat.NMS
-
changeSkull
- Specified by:
changeSkullin interfacestudio.magemonkey.codex.compat.NMS
-
getNMSCopy
- Specified by:
getNMSCopyin interfacestudio.magemonkey.codex.compat.NMS
-
getMaterial
public org.bukkit.Material getMaterial(org.bukkit.entity.Boat boat) - Specified by:
getMaterialin interfacestudio.magemonkey.codex.compat.NMS
-