Record Class LowCodeModLanguageProvider.LowCodeModTarget
java.lang.Object
java.lang.Record
net.minecraftforge.fml.lowcodemod.LowCodeModLanguageProvider.LowCodeModTarget
- All Implemented Interfaces:
- net.minecraftforge.forgespi.language.IModLanguageProvider.IModLanguageLoader
- Enclosing class:
- LowCodeModLanguageProvider
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateLowCodeModTarget(String modId) Creates an instance of aLowCodeModTargetrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.<T> TloadMod(net.minecraftforge.forgespi.language.IModInfo info, net.minecraftforge.forgespi.language.ModFileScanData modFileScanResults, ModuleLayer gameLayer) modId()Returns the value of themodIdrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
modIdThe field for themodIdrecord component.
- 
LOGGERprivate static final org.apache.logging.log4j.Logger LOGGER
 
- 
- 
Constructor Details- 
LowCodeModTargetCreates an instance of aLowCodeModTargetrecord class.- Parameters:
- modId- the value for the- modIdrecord component
 
 
- 
- 
Method Details- 
loadModpublic <T> T loadMod(net.minecraftforge.forgespi.language.IModInfo info, net.minecraftforge.forgespi.language.ModFileScanData modFileScanResults, ModuleLayer gameLayer) - Specified by:
- loadModin interface- net.minecraftforge.forgespi.language.IModLanguageProvider.IModLanguageLoader
 
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
modIdReturns the value of themodIdrecord component.- Returns:
- the value of the modIdrecord component
 
 
-