程序包 net.minecraftforge.common
package net.minecraftforge.common
-
类说明Client specific configuration - only loaded clientside from forge-client.tomlGeneral configuration that doesn't need to be synchronized but needs to be available before server startupLike
ConfigSpec
except in builder format, and extended to accept comments, language keys, and other things Forge configs would find useful.ForgeConfigSpec.EnumValue<T extends Enum<T>>ForgeConfigSpec.Range<V extends Comparable<? super V>>FOR INTERNAL USE ONLY, DO NOT CALL DIRECTLYTo be implemented on vanilla enums that should be enhanced with ASM to be extensible.This allows for mods to create there own Shear-like items and have them interact with Blocks/Entities without extra work.Key and value decoded independently, unknown set of keysDefines an action which produces a sound.A utility holding common sound actions.Internal implementation for optionally logging warnings about legacy tags along with suggestions for direct replacements, in order to help modders migrate to the new tags.Caches player's last known usernamesUsed for saving theGson
representation of the cache to disk