Class ForgeClientXplatImpl

java.lang.Object
ram.talia.hexal.forge.xplat.ForgeClientXplatImpl
All Implemented Interfaces:
ram.talia.hexal.xplat.IClientXplatAbstractions

public class ForgeClientXplatImpl extends Object implements ram.talia.hexal.xplat.IClientXplatAbstractions
  • Field Summary

    Fields inherited from interface ram.talia.hexal.xplat.IClientXplatAbstractions

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable net.minecraft.nbt.CompoundTag
    getClientEverbookIota(at.petrak.hexcasting.api.spell.math.HexPattern key)
     
    at.petrak.hexcasting.api.spell.math.HexPattern
     
    void
     
    boolean
    isClientEverbookMacro(at.petrak.hexcasting.api.spell.math.HexPattern key)
     
    <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)
     
    <T extends net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent & net.minecraft.world.inventory.tooltip.TooltipComponent>
    void
     
    void
    registerItemProperty(net.minecraft.world.item.Item item, net.minecraft.resources.ResourceLocation id, net.minecraft.client.renderer.item.ItemPropertyFunction func)
     
    <T extends net.minecraft.core.particles.ParticleOptions>
    void
    registerParticleType(net.minecraft.core.particles.ParticleType<T> type, Function<net.minecraft.client.particle.SpriteSet,net.minecraft.client.particle.ParticleProvider<T>> factory)
     
    void
    removeClientEverbookIota(at.petrak.hexcasting.api.spell.math.HexPattern key)
     
    void
    restoreLastFilter(net.minecraft.client.renderer.texture.AbstractTexture texture)
     
    void
    sendPacketToServer(at.petrak.hexcasting.common.network.IMessage packet)
     
    void
    setClientEverbookIota(at.petrak.hexcasting.api.spell.math.HexPattern key, net.minecraft.nbt.CompoundTag iota)
     
    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)
     
    void
    toggleClientEverbookMacro(at.petrak.hexcasting.api.spell.math.HexPattern key)
     

    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.network.IMessage packet)
      Specified by:
      sendPacketToServer in interface ram.talia.hexal.xplat.IClientXplatAbstractions
    • setRenderLayer

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

      public void initPlatformSpecific()
      Specified by:
      initPlatformSpecific in interface ram.talia.hexal.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 ram.talia.hexal.xplat.IClientXplatAbstractions
    • registerParticleType

      public <T extends net.minecraft.core.particles.ParticleOptions> void registerParticleType(net.minecraft.core.particles.ParticleType<T> type, Function<net.minecraft.client.particle.SpriteSet,net.minecraft.client.particle.ParticleProvider<T>> factory)
      Specified by:
      registerParticleType in interface ram.talia.hexal.xplat.IClientXplatAbstractions
    • registerIdentityTooltipMapping

      public <T extends net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent & net.minecraft.world.inventory.tooltip.TooltipComponent> void registerIdentityTooltipMapping(Class<T> clazz)
      Specified by:
      registerIdentityTooltipMapping in interface ram.talia.hexal.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 ram.talia.hexal.xplat.IClientXplatAbstractions
    • getClientEverbookIota

      @Nullable public @Nullable net.minecraft.nbt.CompoundTag getClientEverbookIota(at.petrak.hexcasting.api.spell.math.HexPattern key)
      Specified by:
      getClientEverbookIota in interface ram.talia.hexal.xplat.IClientXplatAbstractions
    • setClientEverbookIota

      public void setClientEverbookIota(at.petrak.hexcasting.api.spell.math.HexPattern key, net.minecraft.nbt.CompoundTag iota)
      Specified by:
      setClientEverbookIota in interface ram.talia.hexal.xplat.IClientXplatAbstractions
    • removeClientEverbookIota

      public void removeClientEverbookIota(at.petrak.hexcasting.api.spell.math.HexPattern key)
      Specified by:
      removeClientEverbookIota in interface ram.talia.hexal.xplat.IClientXplatAbstractions
    • getClientEverbookPattern

      public at.petrak.hexcasting.api.spell.math.HexPattern getClientEverbookPattern(int index)
      Specified by:
      getClientEverbookPattern in interface ram.talia.hexal.xplat.IClientXplatAbstractions
    • toggleClientEverbookMacro

      public void toggleClientEverbookMacro(at.petrak.hexcasting.api.spell.math.HexPattern key)
      Specified by:
      toggleClientEverbookMacro in interface ram.talia.hexal.xplat.IClientXplatAbstractions
    • isClientEverbookMacro

      public boolean isClientEverbookMacro(at.petrak.hexcasting.api.spell.math.HexPattern key)
      Specified by:
      isClientEverbookMacro in interface ram.talia.hexal.xplat.IClientXplatAbstractions
    • setFilterSave

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

      public void restoreLastFilter(net.minecraft.client.renderer.texture.AbstractTexture texture)
      Specified by:
      restoreLastFilter in interface ram.talia.hexal.xplat.IClientXplatAbstractions