Package ram.talia.hexal.forge.xplat
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 -
Method Summary
Modifier and TypeMethodDescription@Nullable net.minecraft.nbt.CompoundTaggetClientEverbookIota(at.petrak.hexcasting.api.spell.math.HexPattern key) at.petrak.hexcasting.api.spell.math.HexPatterngetClientEverbookPattern(int index) voidbooleanisClientEverbookMacro(at.petrak.hexcasting.api.spell.math.HexPattern key) <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) <T extends net.minecraft.core.particles.ParticleOptions>
voidregisterParticleType(net.minecraft.core.particles.ParticleType<T> type, Function<net.minecraft.client.particle.SpriteSet, net.minecraft.client.particle.ParticleProvider<T>> factory) voidremoveClientEverbookIota(at.petrak.hexcasting.api.spell.math.HexPattern key) voidrestoreLastFilter(net.minecraft.client.renderer.texture.AbstractTexture texture) voidsendPacketToServer(at.petrak.hexcasting.common.network.IMessage packet) voidsetClientEverbookIota(at.petrak.hexcasting.api.spell.math.HexPattern key, net.minecraft.nbt.CompoundTag iota) voidsetFilterSave(net.minecraft.client.renderer.texture.AbstractTexture texture, boolean filter, boolean mipmap) voidtoggleClientEverbookMacro(at.petrak.hexcasting.api.spell.math.HexPattern key)
-
Constructor Details
-
ForgeClientXplatImpl
public ForgeClientXplatImpl()
-
-
Method Details
-
sendPacketToServer
public void sendPacketToServer(at.petrak.hexcasting.common.network.IMessage packet) - Specified by:
sendPacketToServerin interfaceram.talia.hexal.xplat.IClientXplatAbstractions
-
initPlatformSpecific
public void initPlatformSpecific()- Specified by:
initPlatformSpecificin interfaceram.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:
registerEntityRendererin interfaceram.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:
registerParticleTypein interfaceram.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:
registerItemPropertyin interfaceram.talia.hexal.xplat.IClientXplatAbstractions
-
getClientEverbookIota
@Nullable public @Nullable net.minecraft.nbt.CompoundTag getClientEverbookIota(at.petrak.hexcasting.api.spell.math.HexPattern key) - Specified by:
getClientEverbookIotain interfaceram.talia.hexal.xplat.IClientXplatAbstractions
-
setClientEverbookIota
public void setClientEverbookIota(at.petrak.hexcasting.api.spell.math.HexPattern key, net.minecraft.nbt.CompoundTag iota) - Specified by:
setClientEverbookIotain interfaceram.talia.hexal.xplat.IClientXplatAbstractions
-
removeClientEverbookIota
public void removeClientEverbookIota(at.petrak.hexcasting.api.spell.math.HexPattern key) - Specified by:
removeClientEverbookIotain interfaceram.talia.hexal.xplat.IClientXplatAbstractions
-
getClientEverbookPattern
public at.petrak.hexcasting.api.spell.math.HexPattern getClientEverbookPattern(int index) - Specified by:
getClientEverbookPatternin interfaceram.talia.hexal.xplat.IClientXplatAbstractions
-
toggleClientEverbookMacro
public void toggleClientEverbookMacro(at.petrak.hexcasting.api.spell.math.HexPattern key) - Specified by:
toggleClientEverbookMacroin interfaceram.talia.hexal.xplat.IClientXplatAbstractions
-
isClientEverbookMacro
public boolean isClientEverbookMacro(at.petrak.hexcasting.api.spell.math.HexPattern key) - Specified by:
isClientEverbookMacroin interfaceram.talia.hexal.xplat.IClientXplatAbstractions
-
setFilterSave
public void setFilterSave(net.minecraft.client.renderer.texture.AbstractTexture texture, boolean filter, boolean mipmap) - Specified by:
setFilterSavein interfaceram.talia.hexal.xplat.IClientXplatAbstractions
-
restoreLastFilter
public void restoreLastFilter(net.minecraft.client.renderer.texture.AbstractTexture texture) - Specified by:
restoreLastFilterin interfaceram.talia.hexal.xplat.IClientXplatAbstractions
-