Interface RenderSource<T extends Tracker>
- All Known Subinterfaces:
RenderSource.Dummy,RenderSource.Entity
- All Known Implementing Classes:
RenderSource.BaseDummy,RenderSource.BaseEntity,RenderSource.BasePlayer,RenderSource.ProfiledDummy
public sealed interface RenderSource<T extends Tracker>
permits RenderSource.Entity, RenderSource.Dummy
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final recordstatic interfacestatic interfacestatic interfacestatic final record -
Method Summary
Modifier and TypeMethodDescriptioncreate(@NotNull RenderPipeline pipeline, @NotNull TrackerModifier modifier, @NotNull Consumer<T> preUpdateConsumer) @NotNull org.bukkit.Locationlocation()static RenderSource.Dummyof(@NotNull org.bukkit.Location location) static RenderSource.Dummyof(@NotNull org.bukkit.Location location, @NotNull com.mojang.authlib.GameProfile profile, boolean slim) static RenderSource.Entityof(org.bukkit.entity.Entity entity)
-
Method Details
-
of
-
of
@Internal @NotNull static RenderSource.Dummy of(@NotNull @NotNull org.bukkit.Location location, @NotNull @NotNull com.mojang.authlib.GameProfile profile, boolean slim) -
of
-
location
@NotNull @NotNull org.bukkit.Location location() -
create
T create(@NotNull @NotNull RenderPipeline pipeline, @NotNull @NotNull TrackerModifier modifier, @NotNull @NotNull Consumer<T> preUpdateConsumer)
-