Package dev.cammiescorner.icarus.client
Class IcarusClient
java.lang.Object
dev.cammiescorner.icarus.client.IcarusClient
- All Implemented Interfaces:
dev.upcraft.sparkweave.api.entrypoint.ClientEntryPoint
@AutoService(dev.upcraft.sparkweave.api.entrypoint.ClientEntryPoint.class)
public class IcarusClient
extends Object
implements dev.upcraft.sparkweave.api.entrypoint.ClientEntryPoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddRenderPredicate(Predicate<net.minecraft.world.entity.LivingEntity> predicate) static net.minecraft.world.item.ItemStackgetWingsForRendering(net.minecraft.world.entity.LivingEntity entity) voidonInitializeClient(dev.upcraft.sparkweave.api.platform.ModContainer mod) static booleanonPlayerTick(net.minecraft.client.player.AbstractClientPlayer player, net.minecraft.world.level.Level level) static voidsendActionbarMessage(net.minecraft.world.entity.player.Player player, net.minecraft.network.chat.Component message) static booleanshouldRenderWings(net.minecraft.world.entity.LivingEntity entity)
-
Constructor Details
-
IcarusClient
public IcarusClient()
-
-
Method Details
-
onInitializeClient
public void onInitializeClient(dev.upcraft.sparkweave.api.platform.ModContainer mod) - Specified by:
onInitializeClientin interfacedev.upcraft.sparkweave.api.entrypoint.ClientEntryPoint
-
onPlayerTick
public static boolean onPlayerTick(net.minecraft.client.player.AbstractClientPlayer player, net.minecraft.world.level.Level level) -
getWingsForRendering
@Internal public static net.minecraft.world.item.ItemStack getWingsForRendering(net.minecraft.world.entity.LivingEntity entity) -
addRenderPredicate
@Internal public static void addRenderPredicate(Predicate<net.minecraft.world.entity.LivingEntity> predicate) -
shouldRenderWings
public static boolean shouldRenderWings(net.minecraft.world.entity.LivingEntity entity) -
sendActionbarMessage
public static void sendActionbarMessage(net.minecraft.world.entity.player.Player player, net.minecraft.network.chat.Component message)
-