-
Posts
9273 -
Joined
-
Last visited
-
Days Won
68
Everything posted by LexManos
-
[1.12.1] @ObjectHolder versus IForgeRegistry.getValue()
LexManos replied to jabelar's topic in Modder Support
You should also never statically construct your blocks/items. So really you need to go through and cleanup your code. Yes, it's work, but you should do it. @Draco18sThere IS reason to use @ObjectHolder for your own items, that his current method doesn't support. OVERRIDES. If anyone comes along and says "Screw you I want to override the functionality of your item" then you just silently detect and use it. This way doesn't support that. -
[1.12.1] @ObjectHolder versus IForgeRegistry.getValue()
LexManos replied to jabelar's topic in Modder Support
Yes the field names need to match up. But that shouldn't be an issue. You issue seems to be that you don't want to lookup the registry names. There isn't anything we can do to fix that. Even get calls would need to have the name... -
[1.12.1] @ObjectHolder versus IForgeRegistry.getValue()
LexManos replied to jabelar's topic in Modder Support
Eah missed that part. But point still stands as most people who use getValue don't cache it. And you have issues with making sure you rebuild that cache when things change. There is a event for it. But it's more work then just using @ObjectHolder which is what they brought up. -
[1.12.1] @ObjectHolder versus IForgeRegistry.getValue()
LexManos replied to jabelar's topic in Modder Support
s/probably/DEFINITLY/ Static field access vs a map lookup everytime you're accessing the value? That's a DEFINITE performance increase. Beyond that, for your own stuff it should be simple as hell to use @ObjectHolder @ObjectHolder("my_mod") public class MyBlocks { public static final name1 = null; public static final name2 = null; public static final name3 = null; public static final name4 = null; } -
Creating Registry for interfaces & Generic events
LexManos replied to Abastro's topic in Modder Support
What are you trying to do exactly? Also, no. The generics are rather rudimentary due to speed concerns. It must be the exact class. -
Forge Version: 1.12.1-14.22.1.2478 Minecraft Version: 1.12.1 Downloads: Changelog (Direct) Windows Installer (AdLink) (Direct) Other Installer (AdLink) (Direct) MDK (AdLink) (Direct) Universal (AdLink) (Direct) With 1.12.2 on the horizon, I figure its about time for a RB. We've done a few bug fixes, performance improvements, etc. We're still working on flushing out Mojang's JSON data system. But this is being held up by modder's not wanting to say what they need. So my hopes is that people will start testing out the changes and working with us to move the data system forward. I want to take this moment to re-iterate that we are proposing a new standard for the community in reguards to CoreMods. This standard has been agreed upon by most of the major players in the Minecraft community. You can read more in the announcement. These are proposed for technical reasons so that hopefully in the future we can start moving the engine/game forward. Minecraft Forge 14.22.1 Changelog: ============================================================================ New: Added @ObjectHolder scanning to vanilla MobEffects, Biomes, Enchantments, SoundEvents, and PotionTypes constants. Optimized ExtendedBlockState.getClean() speeding up block updates. Added rotation origin variable for animated models Added partialTick to RenderLivingEvent Improved Furnace fuel functionality and performance. Added spawner flag to CheckSpawn event. Added logging snitcher when using System.out/err Quieted down warning for missing translation files. Added support for custom FontRenderer for tooltips in Creative GUI Added support for NBT icons in Advancements Removed unnecessary maxStackSize restrictions on brewing potions. Optimized some patches for performance/cleanliness. Now firing RemapEvent when reverting to Frozen state. New Recipe Registry events after JSON recipes are loaded. Added support for vanilla "nbt strings" in json recipes Added logging for coremods that do not package separate Jars. Made Optional.Interface repeatable Added support for custom Shields and Shield disabling weapons. Added limiting to Server to Client capability packets. Added support for oredict dyes to Fireworks, Armors, and Shulker recipes. Added support for placing buttons and levers on modded blocks. Sneaking will now bypass villager interactions like other entities. Added pages to the advancements GUI to allow for unlimited root advancements. Added CriticalHitEvent to allow more control over whether a attack is a critical or not, and what damage it does. Cleaned up Forge config files. Increased performance of ticking tile entities. Added GuiContainer Foreground render event. Add smarter getter for block slipperiness Bug Fix: Fix BiomeDictionary not collecting it's list correctly. Fixed incorrect default resource location of potion registry Fixed missing messages of missing models Fixed unblockable damage being blocked by armor. Fixed log spam when creating dummy blocks. Fixed override duplication caused by bad comparison. Fixed getting missing models for overridden Item registry entries Fixed JOpt version on the dedicated server not matching client. Fixed packet encoding issues. Fixed Recipe Toast crash when granted more than 5000 recipes Fixed MC-68754, Screen is not resizeable after exiting fullscreen due to LWJGL bug Fixed crashes related to the RecipeBook and unknown Recipes. Fixed EnumHelper for CreatureTypes Fixed game freeze when resizing the window too small on the mods gui Fixed "Binary patch set is missing" error in dev environment Fixed issue where rendered held items wouldn't properly update when the reequip animations isnt shown. Fixed invalid erroring case during loading Advancements form mods that don't have advancements. Fixed tripwire statemap not being complete when mappings change. Fixed crops dropping incorrect items with fortune. Fixed server not handling item usage when client cancels it. Fixed death loop due to zero max health (MC-119183) Fixed FML handshake race condition Fixed overrides not being applied over the network. Fixed swapping of finite fluids with negative densities. Fixed the firing location of InputEvent.MouseInputEvent Fixed Armor bar disappear after changing dimension. MC-88179 Fixed bug where config categories errored if they contained regex special characters. Fixed issue where client comparators WOULD sync with server. {Vanilla bug we had to re-introduce because of vanilla mechanics =.=} Fixed vanilla server icon. Fixed stacked entity item rendering using the wrong transform for the extra items. Fixed Boats rubber banding when dismounted. MC-119811
-
- 4
-
Post the exact link you downloaded. Nothing in Forge is dangerous, A lot of browsers and AVs simply don't like that you're downloading a 'unknown' exe file. But if you trust us here at Forge then you can bypass it.
-
First off, start by removing your mods, esp core mods. And then see if you can reproduce this and if so provide the seed so I can take a look. Because This is the first time i've heard of this.
-
-
It wouldn't be worth it even if we could as the bulk of the stitching time is done reading from disc. The actual box of boxes problem is rather simple/fast.
-
Observers bugged after using forge on a 1.11.2 World
LexManos replied to Diessel's topic in Support & Bug Reports
Now, its because vanilla is dumb and doesn't convert down like it should. Go find a tool called midas {if its still around} to mass convert your save. You can talk to mezz if you want the fix backported. TLDR of this issue is that Observers break from one of our fixes to the vanilla bug of doors/other blocks breaking. Because Mojang wrote the block special. -
Disable the loading screen, and try removing mods.
-
Observers bugged after using forge on a 1.11.2 World
LexManos replied to Diessel's topic in Support & Bug Reports
3 hours ago, everything we push is automatically built and put on our file server. Read the changelogs to be sure. -
Observers bugged after using forge on a 1.11.2 World
LexManos replied to Diessel's topic in Support & Bug Reports
Fixed: https://github.com/MinecraftForge/MinecraftForge/commit/52702e5cc9c629b3b2baff6a726aabb168aced16 -
What is with the rash of people posting screenshots of their launcher? All of which contain nothing to do with the issue. Post your fml log from the logs folder. Not getting the hashes is normal, Mojang doesn't follow maven standards and we've opted out to that so its intentional for them to get these 'errors' but the game will still work.
-
This is a place for Forge suggestions, this is not a Forge suggestion.
-
[1.12] What event should Ore Dictionary registrations happen?
LexManos replied to jabelar's topic in Modder Support
Register<Item> -
We will not give you support for old versions. You're on your own.
-
1) 1.7.10 isn't supported, update seriously. 2) Fucking coremods.. really...
-
It's not depreciated No idea what your IDE is smoking.
-
1) Holy shit you have a lot of dimensions 2) This isn't the full log and doesn't actually show the error. Post the full log.
-
1.12.1 - Recipe not working. Latest Forge 2461
LexManos replied to guymyer's topic in Support & Bug Reports
Should be all OreDict recipes. The issue was 1.12.1 removed the SideOnly from a method. And I missed it in ours. So it was using the default implementation which matched nothing. Nothing complicated. -
1.12.1 - Recipe not working. Latest Forge 2461
LexManos replied to guymyer's topic in Support & Bug Reports
Ah, found it. https://github.com/MinecraftForge/MinecraftForge/commit/7930adec70e65fe0eb512c54ccabf10d16813b08 Fixed. -
1.12.1 - Recipe not working. Latest Forge 2461
LexManos replied to guymyer's topic in Support & Bug Reports
Vanilla server of Forge server. [Edit] Read the image wrong, There was a recient change to make Planks Oredict. This is most likely the cause i'll look into it some more.