Index

A C D E G H L O P R S T W 
All Classes and Interfaces|All Packages

A

addDrop(LivingDropsEvent, ItemStack) - Static method in class com.jvn.toucanlib.neoforge.loot.ToucanLivingDrops
Adds an item stack to a living drop event at the entity's position.
addDropIfNoMatchingItem(LivingDropsEvent, ItemStack) - Static method in class com.jvn.toucanlib.neoforge.loot.ToucanLivingDrops
Adds a drop when the event does not already contain the same item.

C

com.jvn.toucanlib.neoforge - package com.jvn.toucanlib.neoforge
NeoForge bootstrap implementation for ToucanLib.
com.jvn.toucanlib.neoforge.client - package com.jvn.toucanlib.neoforge.client
Public NeoForge-only client registration and shader helpers.
com.jvn.toucanlib.neoforge.config - package com.jvn.toucanlib.neoforge.config
Public NeoForge-only config screen registration helpers.
com.jvn.toucanlib.neoforge.event - package com.jvn.toucanlib.neoforge.event
Public NeoForge-only event bus registration helpers.
com.jvn.toucanlib.neoforge.loot - package com.jvn.toucanlib.neoforge.loot
Public NeoForge-only loot and drop helpers.
com.jvn.toucanlib.neoforge.network - package com.jvn.toucanlib.neoforge.network
Public NeoForge-only networking helpers.
create(String, String, RegisterPayloadHandlersEvent) - Static method in class com.jvn.toucanlib.neoforge.network.ToucanNetwork
Creates a network wrapper around a versioned NeoForge payload registrar.

D

drawBlendedFullscreen(GuiGraphics, ShaderInstance, int, int) - Static method in class com.jvn.toucanlib.neoforge.client.ToucanShaderQuads
Draws a blended full-screen quad with the supplied shader and default blend function.
drawBlendedRect(GuiGraphics, ShaderInstance, int, int, int, int) - Static method in class com.jvn.toucanlib.neoforge.client.ToucanShaderQuads
Draws a blended rectangle quad with the supplied shader and default blend function.
drawFullscreen(GuiGraphics, ShaderInstance, int, int) - Static method in class com.jvn.toucanlib.neoforge.client.ToucanShaderQuads
Draws a full-screen quad covering 0,0,width,height.
drawRect(GuiGraphics, ShaderInstance, float, float, float, float) - Static method in class com.jvn.toucanlib.neoforge.client.ToucanShaderQuads
Draws a rectangle quad with the supplied shader.
drawRect(GuiGraphics, ShaderInstance, int, int, int, int) - Static method in class com.jvn.toucanlib.neoforge.client.ToucanShaderQuads
Draws a rectangle quad with the supplied shader.
drop(LivingEntity, ItemStack) - Static method in class com.jvn.toucanlib.neoforge.loot.ToucanLivingDrops
Spawns an item stack from a living entity immediately.

E

enqueue(IPayloadContext, Runnable) - Static method in class com.jvn.toucanlib.neoforge.network.ToucanNetwork
Enqueues work on the payload context.

G

game() - Static method in class com.jvn.toucanlib.neoforge.event.ToucanEventBuses
Wraps the global NeoForge game event bus.

H

hasDropWithSameItem(LivingDropsEvent, ItemStack) - Static method in class com.jvn.toucanlib.neoforge.loot.ToucanLivingDrops
Returns true when the event already contains the same item.
hasDropWithSameItemAndComponents(LivingDropsEvent, ItemStack) - Static method in class com.jvn.toucanlib.neoforge.loot.ToucanLivingDrops
Returns true when the event already contains the same item and components.

L

listener(Consumer<T>) - Method in class com.jvn.toucanlib.neoforge.event.ToucanEventRegistration
Adds a listener to the wrapped bus and returns this wrapper for chaining.

O

on(IEventBus) - Static method in class com.jvn.toucanlib.neoforge.event.ToucanEventBuses
Wraps a NeoForge event bus for fluent listener registration.
optional() - Method in class com.jvn.toucanlib.neoforge.network.ToucanNetwork
Returns a wrapper around an optional payload registrar.

P

playToClient(CustomPacketPayload.Type<T>, StreamCodec<? super RegistryFriendlyByteBuf, T>, IPayloadHandler<T>) - Method in class com.jvn.toucanlib.neoforge.network.ToucanNetwork
Registers a clientbound play payload.
playToServer(CustomPacketPayload.Type<T>, StreamCodec<? super RegistryFriendlyByteBuf, T>, IPayloadHandler<T>) - Method in class com.jvn.toucanlib.neoforge.network.ToucanNetwork
Registers a serverbound play payload.

R

register(ModContainer, BiFunction<ModContainer, Screen, Screen>) - Static method in class com.jvn.toucanlib.neoforge.config.ToucanConfigScreens
Registers a config screen factory from a simple bi-function.
register(ModContainer, IConfigScreenFactory) - Static method in class com.jvn.toucanlib.neoforge.config.ToucanConfigScreens
Registers a NeoForge config screen factory.
register(RegisterShadersEvent, ResourceLocation, VertexFormat, Consumer<ShaderInstance>) - Static method in class com.jvn.toucanlib.neoforge.client.ToucanShaders
Registers a shader and passes the loaded instance to shaderConsumer.
registerAbove(RegisterGuiLayersEvent, ResourceLocation, String, String, LayeredDraw.Layer) - Static method in class com.jvn.toucanlib.neoforge.client.ToucanGuiLayers
Registers a GUI layer above another layer.
registerAboveAll(RegisterGuiLayersEvent, String, String, LayeredDraw.Layer) - Static method in class com.jvn.toucanlib.neoforge.client.ToucanGuiLayers
Registers a GUI layer above all others.
registerBelow(RegisterGuiLayersEvent, ResourceLocation, String, String, LayeredDraw.Layer) - Static method in class com.jvn.toucanlib.neoforge.client.ToucanGuiLayers
Registers a GUI layer below another layer.
registerBelowAll(RegisterGuiLayersEvent, String, String, LayeredDraw.Layer) - Static method in class com.jvn.toucanlib.neoforge.client.ToucanGuiLayers
Registers a GUI layer below all others.

S

safePlayToClient(CustomPacketPayload.Type<T>, StreamCodec<? super RegistryFriendlyByteBuf, T>, String, String) - Method in class com.jvn.toucanlib.neoforge.network.ToucanNetwork
Registers a clientbound payload that dispatches to a static client method by reflection.
safePlayToClientThreaded(CustomPacketPayload.Type<T>, StreamCodec<? super RegistryFriendlyByteBuf, T>, String, String) - Method in class com.jvn.toucanlib.neoforge.network.ToucanNetwork
Registers a clientbound payload that dispatches to a static client method on the client task queue.
sendToAllPlayers(MinecraftServer, CustomPacketPayload) - Static method in class com.jvn.toucanlib.neoforge.network.ToucanNetwork
Sends a payload to every online player.
sendToPlayer(ServerPlayer, CustomPacketPayload) - Static method in class com.jvn.toucanlib.neoforge.network.ToucanNetwork
Sends a payload to one server player.
sendToPlayersInSameLevel(ServerPlayer, CustomPacketPayload) - Static method in class com.jvn.toucanlib.neoforge.network.ToucanNetwork
Sends a payload to players in the same level as referencePlayer.
sendToServer(CustomPacketPayload) - Static method in class com.jvn.toucanlib.neoforge.network.ToucanNetwork
Sends a payload to the connected server.
setRgbUniforms(ShaderInstance, String, String, String, int) - Static method in class com.jvn.toucanlib.neoforge.client.ToucanShaders
Sets packed RGB color channels as separate float uniforms when they exist on the shader.
setUniform(ShaderInstance, String, boolean) - Static method in class com.jvn.toucanlib.neoforge.client.ToucanShaders
Sets an integer-like uniform value when it exists on the shader.
setUniform(ShaderInstance, String, float) - Static method in class com.jvn.toucanlib.neoforge.client.ToucanShaders
Sets a float uniform when it exists on the shader.

T

ToucanConfigScreens - Class in com.jvn.toucanlib.neoforge.config
Convenience wrappers for registering NeoForge config screens.
ToucanEventBuses - Class in com.jvn.toucanlib.neoforge.event
Small registration helpers for mods with constructor-heavy event wiring.
ToucanEventRegistration - Class in com.jvn.toucanlib.neoforge.event
Fluent wrapper for registering multiple listeners on the same NeoForge event bus.
ToucanGuiLayers - Class in com.jvn.toucanlib.neoforge.client
Convenience wrappers for registering NeoForge GUI layers with ToucanLib-style ids.
ToucanLibNeoForge - Class in com.jvn.toucanlib.neoforge
Internal NeoForge loader entrypoint.
ToucanLibNeoForge() - Constructor for class com.jvn.toucanlib.neoforge.ToucanLibNeoForge
 
ToucanLivingDrops - Class in com.jvn.toucanlib.neoforge.loot
Convenience helpers for NeoForge living-drop events.
ToucanNetwork - Class in com.jvn.toucanlib.neoforge.network
Thin NeoForge payload registration wrapper with safe client dispatch helpers.
ToucanShaderQuads - Class in com.jvn.toucanlib.neoforge.client
Helpers for drawing position-only GUI quads with a shader.
ToucanShaders - Class in com.jvn.toucanlib.neoforge.client
NeoForge shader registration and uniform helpers.

W

withServerPlayer(IPayloadContext, Consumer<ServerPlayer>) - Static method in class com.jvn.toucanlib.neoforge.network.ToucanNetwork
Runs the consumer only when the payload sender is a server player.
A C D E G H L O P R S T W 
All Classes and Interfaces|All Packages