Package at.petrak.hexcasting.forge.xplat
Class ForgeClientXplatImpl
java.lang.Object
at.petrak.hexcasting.forge.xplat.ForgeClientXplatImpl
- All Implemented Interfaces:
at.petrak.hexcasting.xplat.IClientXplatAbstractions
public class ForgeClientXplatImpl
extends Object
implements at.petrak.hexcasting.xplat.IClientXplatAbstractions
-
Field Summary
Fields inherited from interface at.petrak.hexcasting.xplat.IClientXplatAbstractions
INSTANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfabricAdditionalQuenchFrustumCheck(net.minecraft.world.phys.AABB aabb) at.petrak.hexcasting.api.client.ClientCastingStackgetClientCastingStack(net.minecraft.world.entity.player.Player player) void<T extends net.minecraft.world.entity.Entity>
voidregisterEntityRenderer(net.minecraft.world.entity.EntityType<? extends T> type, net.minecraft.client.renderer.entity.EntityRendererProvider<T> renderer) voidregisterItemProperty(net.minecraft.world.item.Item item, net.minecraft.resources.ResourceLocation id, net.minecraft.client.renderer.item.ItemPropertyFunction func) voidrestoreLastFilter(net.minecraft.client.renderer.texture.AbstractTexture texture) voidsendPacketToServer(at.petrak.hexcasting.common.msgs.IMessage packet) voidsetFilterSave(net.minecraft.client.renderer.texture.AbstractTexture texture, boolean filter, boolean mipmap) voidsetRenderLayer(net.minecraft.world.level.block.Block block, net.minecraft.client.renderer.RenderType type)
-
Constructor Details
-
ForgeClientXplatImpl
public ForgeClientXplatImpl()
-
-
Method Details
-
sendPacketToServer
public void sendPacketToServer(at.petrak.hexcasting.common.msgs.IMessage packet) - Specified by:
sendPacketToServerin interfaceat.petrak.hexcasting.xplat.IClientXplatAbstractions
-
setRenderLayer
public void setRenderLayer(net.minecraft.world.level.block.Block block, net.minecraft.client.renderer.RenderType type) - Specified by:
setRenderLayerin interfaceat.petrak.hexcasting.xplat.IClientXplatAbstractions
-
initPlatformSpecific
public void initPlatformSpecific()- Specified by:
initPlatformSpecificin interfaceat.petrak.hexcasting.xplat.IClientXplatAbstractions
-
registerEntityRenderer
public <T extends net.minecraft.world.entity.Entity> void registerEntityRenderer(net.minecraft.world.entity.EntityType<? extends T> type, net.minecraft.client.renderer.entity.EntityRendererProvider<T> renderer) - Specified by:
registerEntityRendererin interfaceat.petrak.hexcasting.xplat.IClientXplatAbstractions
-
registerItemProperty
public void registerItemProperty(net.minecraft.world.item.Item item, net.minecraft.resources.ResourceLocation id, net.minecraft.client.renderer.item.ItemPropertyFunction func) - Specified by:
registerItemPropertyin interfaceat.petrak.hexcasting.xplat.IClientXplatAbstractions
-
getClientCastingStack
public at.petrak.hexcasting.api.client.ClientCastingStack getClientCastingStack(net.minecraft.world.entity.player.Player player) - Specified by:
getClientCastingStackin interfaceat.petrak.hexcasting.xplat.IClientXplatAbstractions
-
setFilterSave
public void setFilterSave(net.minecraft.client.renderer.texture.AbstractTexture texture, boolean filter, boolean mipmap) - Specified by:
setFilterSavein interfaceat.petrak.hexcasting.xplat.IClientXplatAbstractions
-
restoreLastFilter
public void restoreLastFilter(net.minecraft.client.renderer.texture.AbstractTexture texture) - Specified by:
restoreLastFilterin interfaceat.petrak.hexcasting.xplat.IClientXplatAbstractions
-
fabricAdditionalQuenchFrustumCheck
public boolean fabricAdditionalQuenchFrustumCheck(net.minecraft.world.phys.AABB aabb) - Specified by:
fabricAdditionalQuenchFrustumCheckin interfaceat.petrak.hexcasting.xplat.IClientXplatAbstractions
-