Uses of Annotation Interface
net.minecraftforge.fml.common.Mod
Package
Description
-
Uses of Mod in net.minecraftforge.common
-
Uses of Mod in net.minecraftforge.debug
Modifier and TypeClassDescriptionclass
class
class
class
Created to host any custom codecs forge may be adding.class
Test that the mod loading error screen shows the cause of the crash when a mod constructor throws an exception.class
Test features and guards of crash-callables.class
class
Simple test to ensure custom game rules can be registered correctly and used in game.class
class
class
class
Tests that theDeferredWorkQueue
properly executes enqueued tasks and forwards any exceptions thrown by those tasksclass
Tests that the values for defaulted optional tags defined in multiple places are combined.class
Various tests forFluidUtil
, that run when the mod is loaded.class
class
Registers 255 mob effects that log every tick on the client.class
class
class
Checks thatRegistryObject
works correctly, specifically that get() functions immediately after construction, if registries are already populated.class
class
TestsVanillaGameEvent
by listening for and printing out any uses of shears in the overworld. -
Uses of Mod in net.minecraftforge.debug.block
Modifier and TypeClassDescriptionclass
class
class
Adds a blaze head block and item to test the event for registering a custom skull model and to demonstrate the proper way to register a custom mob skull.class
class
class
class
class
class
class
class
Adds a light source block that can be switched on and off by right-clicking and saves its state in a BlockEntity to test whether level/pos-sensitive light sources work correctlyclass
class
A test case used to ensure thatIForgeBlockState.onTreeGrow(LevelReader, BiConsumer, RandomSource, BlockPos, TreeConfiguration)
works properly, using a custom grass block that should revert to its custom dirt form after a tree grows on top of it instead of turning to dirt.class
This test mod blocks pistons from moving cobblestone at all except indirectly This test mod adds a block that moves upwards when pushed by a piston This test mod informs the user what will happen the piston and affected blocks when changes are made This test mod makes black wool pushed by a piston drop after being pushed.class
class
class
This test mod allows a custom scaffolding to move down while sneaking through a method.class
class
class
class
-
Uses of Mod in net.minecraftforge.debug.chat
Modifier and TypeClassDescriptionclass
class
class
class
-
Uses of Mod in net.minecraftforge.debug.client
Modifier and TypeClassDescriptionclass
Test mod that demos disabling ambient occlusion on specific faces of "elements" models.class
Tests support for customAudioStream
s (SoundInstance.getStream(SoundBufferLibrary, Sound, boolean)
.class
class
This mod tests customColorResolvers
usingRegisterColorHandlersEvent.ColorResolvers
.class
class
class
class
Test mod that demos emissivity on "elements" models.class
class
Test mod forScreenEvent.RenderInventoryMobEffects
. -
Uses of Mod in net.minecraftforge.debug.client.model
Modifier and TypeClassDescriptionclass
class
class
Test mod for the custom transform types feature.class
class
Test mod that demos most Forge-provided model loaders in a single block + item, as well as in-JSON render states and the refactored immutable ModelData managed by the client level.class
class
class
-
Uses of Mod in net.minecraftforge.debug.client.rendering
Modifier and TypeClassDescriptionclass
class
class
class
class
class
This mod is testing the use ofRenderLevelStageEvent
and is a modifaction of a pre-existing test mod that used the old RenderLevelLastEvent.class
class
class
class
-
Uses of Mod in net.minecraftforge.debug.command
-
Uses of Mod in net.minecraftforge.debug.entity
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
-
Uses of Mod in net.minecraftforge.debug.entity.living
Modifier and TypeClassDescriptionclass
class
class
class
-
Uses of Mod in net.minecraftforge.debug.entity.player
Modifier and TypeClassDescriptionclass
class
Tests if item usage animation system works as intended.class
class
Tests if the patch to PlayerEntity to make it utilize Attributes.ATTACK_KNOCKBACK works The Knockback Sword adds a modifier to the user's attack knockback The goal of this patch is to allow modders to more easily add equipment or potion effects that affect the attack knockback of players As well as allow command users to modify this attribute for a playerclass
class
class
TestsPlayerNegotiationEvent
by listening for and then enqueuing work to be done asynchronously, details regarding the work execution is printed out and exceptions are thrown to ensure proper handling.class
class
This tests forTradeWithVillagerEvent
and fires when the player completes a trade with either a Villager or WanderingTrader(must inherit from AbstractVillager). -
Uses of Mod in net.minecraftforge.debug.fluid
Modifier and TypeClassDescriptionclass
class
A test case used to define and test fluid type integration into fluids.class
class
-
Uses of Mod in net.minecraftforge.debug.gameplay.loot
-
Uses of Mod in net.minecraftforge.debug.item
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
The ShieldBlockTest is the test mod for the ShieldBlockEvent.class
class
This test mod provides two items for testing the Forge onStopUsing hook.class
-
Uses of Mod in net.minecraftforge.debug.misc
Modifier and TypeClassDescriptionclass
This class provides a way to test the AnvilUpdateEvent.class
class
class
This test class shows an example of how to register unsynced and synced datapack registries, and how to use a dataprovider to generate json files for them.class
class
class
class
This test mod provides a way to register aSimpleChannel
with a different protocol version on the client and the server to cause a mod channel mismatch.class
class
This test mod show a few example usages ofIForgeRegistry.getCodec()
to serialize and deserialize registry entries to JSON or NBT. -
Uses of Mod in net.minecraftforge.debug.recipe.recipebook
-
Uses of Mod in net.minecraftforge.debug.world
Modifier and TypeClassDescriptionclass
This tests the following features and requirements of biome modifier jsons::class
class
class
Simple test forChunkEvent.Load.isNewChunk()
.class
class
To see the effects of this test mod you must create a new world then teleport to the custom dimension (use: /execute in dimension_settings_test:test_overworld run tp @s ...).class
class
A test mod used to test splitting theClientboundLoginPacket
.class
This tests net.minecraftforge.event.world.World.LevelEvent.PotentialSpawns.class
class
Used to test that modded dimension types and dimensions are loaded on a clean dedicated server launch.class
This tests the requirements of structure modifier jsons::class
-
Uses of Mod in net.minecraftforge.debug.world.item
Modifier and TypeClassDescriptionclass
This class validates thatIngredient.invalidate()
is called correctly.
To verify, join a world, then leave it.class
-
Uses of Mod in net.minecraftforge.eventtest.internal
Modifier and TypeClassDescriptionclass
The backend of the "curletest" event testing framework. -
Uses of Mod in net.minecraftforge.mdk