bettermodel
Toggle table of contents
3.1.0-SNAPSHOT-497
bettermodel-fabric
Target filter
bettermodel-fabric
Switch theme
Search in API
Skip to content
bettermodel
bettermodel-fabric
/
kr.toxicity.model.impl.fabric.network
/
toEquipmentPacket
to
Equipment
Packet
inline
fun
LivingEntity
.
toEquipmentPacket
(
mapper
:
(
EquipmentSlot
)
->
ItemStack
?
=
{ getItemBySlot(it).takeUnless { item -> item.isEmpty } }
)
:
ClientboundSetEquipmentPacket
?