Class DebugFeature
java.lang.Object
io.github.vampirestudios.vampirelib.api.debug_renderers.DebugFeature
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCollection<net.minecraft.server.level.ServerPlayer>getPlayersWithFeatureEnabled(net.minecraft.server.MinecraftServer server) inthashCode()net.minecraft.resources.ResourceLocationid()booleanbooleanbooleanisEnabledOnServerAndClient(net.minecraft.server.level.ServerPlayer player) booleanstatic DebugFeatureregister(net.minecraft.resources.ResourceLocation id, boolean needsServer) booleantoString()
-
Method Details
-
isEnabled
public boolean isEnabled() -
getPlayersWithFeatureEnabled
public Collection<net.minecraft.server.level.ServerPlayer> getPlayersWithFeatureEnabled(net.minecraft.server.MinecraftServer server) -
isEnabledOnServerAndClient
public boolean isEnabledOnServerAndClient(net.minecraft.server.level.ServerPlayer player) -
isEnabledOnServerAndClient
@Environment(CLIENT) public boolean isEnabledOnServerAndClient() -
shouldRender
@Environment(CLIENT) public boolean shouldRender() -
register
public static DebugFeature register(net.minecraft.resources.ResourceLocation id, boolean needsServer) -
id
public net.minecraft.resources.ResourceLocation id() -
needsServer
public boolean needsServer() -
equals
-
hashCode
public int hashCode() -
toString
-