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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    fabricAdditionalQuenchFrustumCheck(net.minecraft.world.phys.AABB aabb)
     
    at.petrak.hexcasting.api.client.ClientCastingStack
    getClientCastingStack(net.minecraft.world.entity.player.Player player)
     
    void
     
    <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)
     
    void
    registerItemProperty(net.minecraft.world.item.Item item, net.minecraft.resources.ResourceLocation id, net.minecraft.client.renderer.item.ItemPropertyFunction func)
     
    void
    restoreLastFilter(net.minecraft.client.renderer.texture.AbstractTexture texture)
     
    void
    sendPacketToServer(at.petrak.hexcasting.common.msgs.IMessage packet)
     
    void
    setFilterSave(net.minecraft.client.renderer.texture.AbstractTexture texture, boolean filter, boolean mipmap)
     
    void
    setRenderLayer(net.minecraft.world.level.block.Block block, net.minecraft.client.renderer.RenderType type)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ForgeClientXplatImpl

      public ForgeClientXplatImpl()
  • Method Details

    • sendPacketToServer

      public void sendPacketToServer(at.petrak.hexcasting.common.msgs.IMessage packet)
      Specified by:
      sendPacketToServer in interface at.petrak.hexcasting.xplat.IClientXplatAbstractions
    • setRenderLayer

      public void setRenderLayer(net.minecraft.world.level.block.Block block, net.minecraft.client.renderer.RenderType type)
      Specified by:
      setRenderLayer in interface at.petrak.hexcasting.xplat.IClientXplatAbstractions
    • initPlatformSpecific

      public void initPlatformSpecific()
      Specified by:
      initPlatformSpecific in interface at.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:
      registerEntityRenderer in interface at.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:
      registerItemProperty in interface at.petrak.hexcasting.xplat.IClientXplatAbstractions
    • getClientCastingStack

      public at.petrak.hexcasting.api.client.ClientCastingStack getClientCastingStack(net.minecraft.world.entity.player.Player player)
      Specified by:
      getClientCastingStack in interface at.petrak.hexcasting.xplat.IClientXplatAbstractions
    • setFilterSave

      public void setFilterSave(net.minecraft.client.renderer.texture.AbstractTexture texture, boolean filter, boolean mipmap)
      Specified by:
      setFilterSave in interface at.petrak.hexcasting.xplat.IClientXplatAbstractions
    • restoreLastFilter

      public void restoreLastFilter(net.minecraft.client.renderer.texture.AbstractTexture texture)
      Specified by:
      restoreLastFilter in interface at.petrak.hexcasting.xplat.IClientXplatAbstractions
    • fabricAdditionalQuenchFrustumCheck

      public boolean fabricAdditionalQuenchFrustumCheck(net.minecraft.world.phys.AABB aabb)
      Specified by:
      fabricAdditionalQuenchFrustumCheck in interface at.petrak.hexcasting.xplat.IClientXplatAbstractions