BoneItemMapper

interface BoneItemMapper : BiFunction<T, U, R>

Item-mapper of bone

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun <V> andThen(p: (in R) -> out V): BiFunction<T, U, V>
Link copied to clipboard
@NotNull
abstract fun apply(@NotNull renderSource: @NotNull RenderSource<out Any>, @NotNull transformedItemStack: @NotNull TransformedItemStack): @NotNull TransformedItemStack
Link copied to clipboard
@NotNull
open fun entity(@NotNull transform: @NotNull ItemDisplay.ItemDisplayTransform, @NotNull mapper: @NotNull (Entity) -> TransformedItemStack): @NotNull BoneItemMapper
Mapped if a render source is entity
Link copied to clipboard
open fun fixed(): Boolean
Gets this mapper's display is fixed
Link copied to clipboard
@NotNull
open fun player(@NotNull transform: @NotNull ItemDisplay.ItemDisplayTransform, @NotNull mapper: @NotNull (Player) -> TransformedItemStack): @NotNull BoneItemMapper
Mapped if a render source is player
Link copied to clipboard
@NotNull
abstract fun transform(): @NotNull ItemDisplay.ItemDisplayTransform
Gets item display transformation