Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/28/21 in all areas

  1. Reflection is a java concept, as such there's no documentation here. ObfuscationReflectionHelper is a forge added class as a wrapper to deal with changing method names due to mappings. However, this has full javadocs. Sure, a registered object can be grabbed from the associated registry. Although you might want to add that mod as a dependency (either hard or soft) to better handle that case.
    1 point
  2. SingleItemRecipeBuilder::stonecuttingRecipe
    1 point
  3. Forge Version: 35.1.4 Minecraft Version: 1.16.4 Downloads: Changelog: (Direct) Installer: (AdFocus) (Direct) MDK: (AdFocus) (Direct) Intro: It's that time again, the 1.16.3 to 1.16.4 update is rather trivial for modders. The bulk of mods should just work. I would of posted this as a RB a while ago. But unfortunately I have been delayed because of having to move houses. Which has taken quite a lot of my time. The update was done within 30 mins of Mojang's release, and has been fairly stable fromt he get-go. I just havent had time to write this post and thus haven't done a RB. Changelog: New: New hook for Axe tools. New hooks for modifying structures and spawn lists. New event when players change game mode. Revived BiomeDictionary, uses RegistryKey's instead of Biome objects as Biomes are now data driven in Vanilla. Added tag support to enchantments, options, and tile entity types. Added signature reporting of Mod jars to the mod list GUI. Reintroduced name tag distance attribue. Added better auto-detection of ANSI support. Added custom model loader support to data generators. Added codec support for FluidStacks Added support for loading 1.16.3 mods, as they should be inherently compatible. Mods can opt out with special crafted dependency info in their mods.toml. Added better extension point for mods to control server compatibility test on the client. Added player context to AnvilUpdateEvent Added support for custom argument types without breaking vanilla clients. Fixes: Fixed vanilla Campfire smoke bug. MC-201374 Fixed toggleable keybindings still being active while in GUI Fixes Fixed modded EntityClassifications not being useable in the codec. Fixed log spam related to Object Holders Fixed item tooltips not being screen wrapped anymore. Fixed registry dumps being unsorted. Fixed error when vines grew in certain configurations. Fixed texture loading path. Fixed RCON not sending newlines. MC-7569 Fixed RCON not using UTF8 Fixed logic error in ITeleporter implementation. Fixed resource leak in OBJ Loader. Fixed unnneded patches caused by crowdsourced names. Fixed java performance issue when loading large modpacks due to java not correctly caching url comparisons. Fixed data driven biomes failing to work with SingleBiomeProvider Fixed custom Forge attributes using invalid translation keys. Fixed concurrency issues with NonNullLazy.Concurrent Fixed config parse failure causing crash. Fixed game state not reverting to vanilla correctly before exiting when early mod events error. Fixed biomes not correctly being assigned ids when loading existing worlds. Fixed early sorting bug that was causing an exception at the wrong time and not correctly showing an error screen. Fixed vanilla clients having log spam when connecting to modded servers with custom attributes. Fixed player not rendering when camera is a different entity. Fixed unpredictable order when adding new entries from a mod to an existing world with that mod. Fixed harvest check event not firing when block doesn't require a tool. Fixed Banner.toItem erroring on servers. Fixed fake players overriding real players advancement tracking. Fixed modded dimensions not loading properly during first run on dedicated servers. Fixed concurrency issue in StartupMessageManager Fixed food bar not rendering when mounted. Fixed removing structures causing chunks to not be saved. MC-194811
    1 point
  4. Update your mappings guys, the unmapped function func_235861_h_() is now setRequiresTool().
    1 point
  5. Using .obj files seems to have changed a lot, I am assuming that 1.15 has removed the ForgeLoader for blockstates, as the multipart system really covers everything it did (except for loading .obj). The new way to load models: Your blockstate should use the vanilla method (without".obj" on the model name) e.g.: { "variants": { "": { "model": "MODID:block/MODEL" } } } Every model, in the "models/block" path, now needs, MODEL.json, MODEL.obj, MODEL.mtl. In your new MODEL.json file you need to tell it to use the OBJLoader from forge, and give the full resource path to your ".obj" file, eg: { "loader": "forge:obj", "model": "MODID:models/block/MODEL.obj", "flip-v": true } The options you can include in the new MODEL.json file are: { "loader": "forge:obj", //to inform the resource loader to use OBJLoader "model": <<resource path to .obj file>>, "detectCullableFaces": true|false, "diffuseLighting": true|false, "flip-v": true|false, "ambientToFullbright": true|false, "materialLibraryOverride": <<resource path to material library if you need different materials on the same .obj>>, } Remember to update the paths for your textures in the .mlt file to use resource paths (without ".png").
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.