Vincent Lee
1d7c04daeb
Add a FML outbound target for all players tracking a point or entity in the world. Closes #3677 ( #4631 )
2018-04-01 01:42:55 -07:00
malte0811
7c098462fe
Fix FMLCommonHandler#exitJava printing useless/wrong calling info ( #4742 )
2018-04-01 00:25:38 -07:00
CreativeMD
12de748af0
Fixed sound engine crash when stopping streaming sounds ( #4765 )
2018-03-24 22:56:24 -07:00
mezz
881aa67be7
Fix server console logging issues
...
Closes #4808
2018-03-19 22:44:05 -07:00
mezz
ae654edfc2
Fix up logging and log4j configuration ( #4802 )
2018-03-17 18:41:16 -07:00
ichttt
dc459d6b86
Fix serverside startup failure when checking for vanilla acceptance ( #4783 )
2018-03-01 11:00:48 -08:00
mezz
bdb65e9ed7
Improve the "Mod rejections" error message when connecting to a server ( #4761 )
2018-02-26 22:05:08 -08:00
LexManos
e299489493
Fix vanilla crash classes not being preloaded. Closes #4769
...
Fix classes not being aggregated for mods using the new annotation cache.
2018-02-26 15:36:39 -08:00
Ben Staddon
d18c03968e
Clean up some GUI code and change magic numbers to GL constants ( #4734 )
2018-02-11 11:48:02 -08:00
LexManos
816d33de28
Initial implementation of JSON based annotation scanning.
...
Disabled by default for now, until proven to be fully function.
Enable using -Dfml.enableJsonAnnotations=true
2018-02-07 00:43:32 -08:00
mezz
603903db50
Fix errors in preInit being lost when followed by a crash in fireRegistryEvents or objectHolder
2018-01-22 23:03:44 -08:00
mezz
4ae6e4a295
Improve error message on server when a vanilla client connects ( #4691 )
2018-01-21 16:07:54 -08:00
Tyler Hancock
01f573dbaa
Added a tooltip color event. ( #4595 )
2018-01-18 12:54:35 -08:00
LexManos
61a16066e5
Fix debug flags for ClassPatchManager not working. Closes #3674
2018-01-18 11:57:30 -08:00
mezz
4b65807bfa
Fix FML error logging for mods that crash during FMLLoadCompleteEvent
2018-01-15 21:18:38 -08:00
mezz
d0bdb23300
Minor code and documentation cleanup. ( #4664 )
2018-01-12 23:54:29 -08:00
LexManos
18609f57ac
Fix missing call to release() in the event channel handler ( #4513 )
...
(reverted from commit cd99957627
)
2017-12-18 16:04:34 -08:00
kashike
441ece67bd
Delay egg creation to avoid null statistics ( #4508 )
2017-12-16 18:01:58 -08:00
Ben Staddon
cd99957627
Fix missing call to release() in the event channel handler ( #4513 )
2017-12-16 18:00:35 -08:00
Justin
ae790c2345
[macOS] Fix missing text on loading error screens ( #4532 )
2017-12-16 17:42:17 -08:00
mezz
49596910fc
Prevent tooltips from going off the top of the screen.
2017-12-06 21:10:51 -08:00
LexManos
846a70f97f
Restore binary compatibility in EntityItemPickupEvent
2017-12-01 13:22:41 -08:00
Draco18s
ccc44956fd
Fix for the EntityItemPickupEvent having 0 count item when event is fired. ( #4549 )
2017-11-30 21:46:54 -08:00
Ben Staddon
b215d90589
Don't force IPv4 network stack if IPv6 is specifically requested ( #4547 )
2017-11-26 19:20:01 -08:00
mezz
ad16f15365
Clean up old code for detecting BaseMods. Close #4530 ( #4540 )
2017-11-21 22:27:41 -08:00
Ben Staddon
aaf47afff2
Fix errors caused by multi-target messages sent from LAN host ( #4536 )
2017-11-19 11:47:51 -08:00
Ben Staddon
e616990397
Fix entity spawn messages not handling buffer correctly ( #4524 )
2017-11-15 13:05:17 -08:00
Ben Staddon
9a36814364
Fix network buffer leak with multi-part messages ( #4511 )
2017-11-12 10:39:41 -08:00
Ben Staddon
ad202e2e83
Fix network buffers not being released in some places ( #4510 )
2017-11-11 15:19:00 -08:00
Justin
a59d20fc02
Fix resource loading on some mac systems when SplashProgress is enabled ( #4082 )
2017-11-09 22:32:01 -08:00
Zaggy1024
9c7538db8d
Added a cloud renderer that uploads geometry to the GPU. ( #4143 )
2017-10-31 11:45:46 -07:00
Ben Staddon
2a546955a4
Clean up more deprecated library functions ( #4283 )
2017-10-31 11:22:55 -07:00
mezz
00d882ab61
Fix outdated VersionParser javadoc link
2017-10-06 22:16:10 -07:00
mezz
f494117453
[1.12] Add support for client & server dependencies for mods ( #4403 )
2017-10-02 22:13:30 -07:00
kashike
dc2014cdf1
Auto-detect registry namespace when using a legacy string id in EntityEntryBuilder fixes #4410 ( #4411 )
2017-09-21 05:31:53 -07:00
kashike
f2b07e8db1
Introduce entity entry builder, useful in the Register<EntityEntry> event replacing needed calls to EntityRegistry. ( #4408 )
2017-09-20 13:03:03 -07:00
LexManos
50265786b2
MC 1.12.2 update.
2017-09-18 14:35:45 -07:00
Benjamin K
45c2ff5329
Fix CustomModLoadingErrorDisplayScreen not being handled during init or preinit. ( #4320 )
2017-09-06 14:14:50 -07:00
Daniel Naylor
dadc715e7d
Insert FML handler before Vanilla connection handshake completes ( #4380 )
2017-09-06 14:11:21 -07:00
BlayTheNinth
da85dcadf5
Allow custom GuiEditArrayEntries without having to recreate the object in several places ( #4329 )
2017-09-06 14:03:13 -07:00
Bartosz Skrzypczak
8803bf9a29
Fix netty warning spam when sending >1MB packets ( #4363 )
2017-08-29 17:20:03 -05:00
Bartosz Skrzypczak
161b47ee75
Fix FML handshake crash, fixes #4285 and #3974 ( #4304 )
2017-08-27 13:58:55 -07:00
Marvin Rösch
43e24c3eb4
Tabulate crash report mod list and add signature information ( #4251 )
2017-08-18 17:28:58 -05:00
LexManos
28e341002f
Add support for server side only recipes, as well as detection of vanilla client recipe book filter to prevent errors.
2017-08-15 05:10:07 -07:00
Bartosz Skrzypczak
68a10b3037
Fix splitting big packets skipping one byte per additional part ( #4301 )
2017-08-13 15:23:22 -05:00
tterrag
ce168d556d
Better descriptions on dependency version range error screen ( #4284 )
2017-08-09 15:10:54 -05:00
LexManos
9ec954a3de
Fix IOUtils import error caused by server/client libraries desync.
2017-08-09 12:28:34 -07:00
LexManos
c6d0c93a50
Fix odd NPE with list files for empty directories.
2017-08-08 23:27:34 -07:00
LexManos
cdc8763fb0
Fixed missing line in logger.
2017-08-08 20:38:11 -07:00
LexManos
ee6805397f
Cleanup some output and move the Jar-In-Jar extractor to before any coremods/mods are loaded so.
...
The intention is to rework this entire thing to use maven style storage, IF we can get Mojang to pass in the Libraries folder.
2017-08-08 20:13:05 -07:00
cpw
cc30c679e4
Lex doesn't like this.
...
Revert "Fix up MC version compatibility checking to be a little less verbose."
This reverts commit 1927fd76e2
.
2017-08-06 20:30:16 -02:30
cpw
1927fd76e2
Fix up MC version compatibility checking to be a little less verbose.
...
If people use properly formatted version compatibility strings, or the
default compiled in one, this will work exactly as before, but has
less dependence on specific formats for the mcversion string. So a mod
declaring [1.11, 1.12] will now be 1.12.1 compatible by default, for
example.
2017-08-06 15:42:37 -02:30
LexManos
f73c7cb764
1.12.1 Update, Not much modder facing changes, 1.12 mods should load and run fine on this version.
2017-08-03 17:30:43 -07:00
Marvin Rösch
434f95c66e
Fix overrides not being read from the server registry snapshot ( #4224 )
2017-07-26 18:47:55 -05:00
Thanh-Phuong
df6b628140
Make Optional.Interface repeatable ( #4138 )
2017-07-20 16:36:05 -05:00
ichttt
cc25a58760
Log a warning if a coremod does not follow best practices ( #4146 )
2017-07-20 16:32:53 -05:00
LexManos
f8c5d7c2b6
Fire recipe registry event after json recipes are loaded.
2017-07-13 14:45:13 -07:00
Ben Staddon
0fde64ac38
Clean up uses of deprecated library functions ( #4130 )
...
Avoid catching and rethrowing runtime exceptions
Append error messages to exceptions instead of the log
2017-07-12 21:50:28 -07:00
mezz
75433345ba
Improve javadocs for Mod dependencies ( #4168 )
2017-07-12 21:12:53 -07:00
mezz
11338d0fde
Stop "Binary patch set is missing" error log in dev environment
2017-07-11 22:50:12 -07:00
mezz
cd4d701b5f
Fix game freeze when resizing the window too small on the mods gui ( #4148 )
2017-07-08 22:55:45 -07:00
LexManos
a886dbde49
Quiet down warning for missing translation files.
2017-07-06 21:28:48 -07:00
mezz
c1ae2cdbf2
Improve furnace fuel handling ( #4083 )
2017-07-03 12:54:01 -07:00
LexManos
ec318f8504
Squelch spam in EventBus register, Closes #4102
2017-06-28 13:18:44 -07:00
mezz
8581225da8
Use java 8 collection functions
2017-06-28 00:14:10 -07:00
mezz
9675585891
Use lambdas for short anonymous methods
2017-06-27 23:18:09 -07:00
mezz
93025510ae
Use multiple catch, try-with-resources, replace system.out and e.printStackTrace
2017-06-27 22:57:10 -07:00
LexManos
10ca404e9e
Fix the creative menu search function. Closes #4100
2017-06-27 21:34:03 -07:00
LexManos
7281708df6
Repopulate client SearchTreeManager when registries are refreshed. Closes #4094
2017-06-27 16:28:08 -07:00
BlayTheNinth
5aac07b5b1
Remove incorrect call to .toString() when instantiating custom config array entries. ( #4078 )
2017-06-27 00:54:49 -05:00
Ben Staddon
9a09ff68aa
Remove some deprecated methods and clean up
2017-06-25 22:30:18 -07:00
mezz
7892ca922c
Remove the call to client.refreshResources during loading ( #4032 )
2017-06-25 22:13:58 -07:00
LexManos
460abf1554
Fix ItemStack/Block/BlockSpecial not applying at runtime.
2017-06-25 20:45:07 -07:00
RainWarrior
dc043ac79f
Cleanup of model system, taking advantage of java 8;
...
replaced guava Optional and Function with java 8 versions.
2017-06-25 04:08:20 +03:00
LexManos
1c24600bbb
Reload client recipe book after loading modded recipes.
2017-06-24 15:34:09 -07:00
mezz
27321efb1f
Clean up logging
2017-06-24 01:46:05 -07:00
Ben Staddon
1b5da5d4fe
[1.12] Cleanup of files with old licence headers, Add missing LGPL 2.1 licence headers ( #4051 )
2017-06-24 01:25:23 -07:00
mezz
d769d83224
Update MCP to 20170624
2017-06-24 00:56:21 -07:00
Ben Staddon
b0dfaa2b81
Remove Java 8 warnings now that Minecraft requires it
2017-06-23 23:31:50 -07:00
LexManos
dd42f84a47
Loosen up registry locks until data freeze.
2017-06-23 17:52:59 -07:00
LexManos
d032a34aaa
Fix conflicts
2017-06-23 16:59:57 -05:00
LexManos
f4afb6f56c
Implement override tracking and syncing.
...
Overrides MUST be registered within a tracked event so we know what mod it came from.
This will allow servers/saves to select which mod 'wins' and becomes to active entry.
This should also mean that when connecting to a vanilla server things will revert.
2017-06-23 16:59:57 -05:00
LexManos
dee84dc1e4
More work, game loads and runs now.
...
Moved Registry events to directly AFTER PreInit instead of before.
This allows modders to register handlers for it without @EventBusSubscriber.
It also allows you to register custom things needed before the construction of blocks or items such as Fluids.
TODO: Move Fluids to a real registry.
@ObjectHolder can now be used on private fields.
Reworked FMLModIdMappingEvent to include data for all registries.
Tile Entities are now registrable.
2017-06-23 16:59:57 -05:00
LexManos
a26d89c876
First pass of registry rewrite.
...
Tests do not run yet.
Things of note:
Removed the idea of substitutions, just register multiple items with the same name they will override each other like a normal map.
Decoupled Forge registries from vanilla classes. They now use bouncer classes. MODDERS SHOULD NEVER USE THESE
Introduced more stringent registry locking. As it sits things are only allowed to be registered during the RegistryEvent.Registry phases!
This is to force modders to split up their registrations, and pave the way for calling these functions multiple times during a single MC lifecycle.
ObjectHolder, Missing Mappings, etc... *should* now work for all registry types, nothing should be special cased to Blocks/Items anymore.
Added optional generic dummy factory to registries, to allow registry creators the ability to dummy more then just Blocks.
Re-worked the ItemStack transformer and applied it to ItemBlock and ItemBlockSpecial. Allowing us to cleanup reflective hacks in Block callbacks.
Registry onAdd callback is now only fired on the ACTIVE registry, fixing any issues of temp registries overriding active objects.
2017-06-23 16:59:57 -05:00
diesieben07
0e9820c51c
Clean up Logging ( #3953 )
...
# Conflicts:
# patches/minecraft/net/minecraft/client/renderer/texture/Stitcher.java.patch
# patches/minecraft/net/minecraft/client/renderer/texture/TextureMap.java.patch
# patches/minecraft/net/minecraft/entity/EntityList.java.patch
# patches/minecraft/net/minecraft/tileentity/TileEntity.java.patch
# src/main/java/net/minecraftforge/oredict/OreDictionary.java
2017-06-22 23:18:49 -07:00
Lumien
303578b2f2
[1.12] Fixes Exception when getting modlist for a vanilla client ( #4028 )
2017-06-19 16:47:34 -07:00
mezz
e3777f4559
Add missing Override annotations
2017-06-17 18:24:17 -07:00
mezz
c2845967cc
Update MCP mappings to 20170617
2017-06-17 18:06:04 -07:00
mezz
3d322ef925
Update mcp mappings to 20170611
2017-06-17 17:13:44 -07:00
Marvin Rösch
50e268bdf5
Make registries persist by default, fixes #3989 ( #3998 )
2017-06-15 13:00:46 -07:00
LexManos
a8659a1613
In-progress Registry system enhancement.
...
Needs cpw to take a look at enabling removing/overriding in the registry stuff.
But in theory it loads json recipes for mods now.
2017-06-14 10:14:56 -07:00
cpw
3fee319bc0
Try a different way of doing the callback, it removes the derpitude, but at
...
one point, I thought the way it was was necessary. Is this a race condition?
Dunno, but it's a lot simpler and doesn't rely on a netty hack.
2017-06-10 22:22:16 -04:00
cpw
d90637f8b5
Fix the netty bug introduced by netty commit 29fdb160f3
...
that means we don't get activated until after handlerAdded is complete.
In effect, our handler can't handle anything until handlerAdded has
completed.
2017-06-10 22:22:16 -04:00
LexManos
f1cca475ea
Initial patch update to 1.12.
...
Some things to note:
Netty is screwy so currently can't join single player. @cpw
Crafting has been MAJORY reworked. The current GameRegistry functions are nooped, this is IN THE WORKS.
Just need to move the recipe list to a full class registry, and then re implement the in-code recipe registration.
Also, it IS advised that modders move to JSON, because ideally we'll see a S->C recipe syncing system in 1.13
which would allow servers to have custom recipes.
OreDictionary currently 1/2 works, need to write a better algorithm for replacing ingredients.
Please be patient
Rendering:
A lot of functions got a new float parameter, this is similar to partial ticks, needs more research
2017-06-10 22:22:02 -04:00
RlonRyan
8ddbf3b0a8
Changed Event.setCanceled To throw UnsupportedOperationException instead of IllegalArgumetnException when called on a non-cancelable object ( #3926 )
2017-06-01 14:34:24 -07:00
mezz
1c0b53f3bf
Print system details on startup without printing a full crash report ( #3909 )
2017-05-21 12:30:57 -07:00
mezz
14d8151b02
Reduce memory pressure from new objects during loading screen ( #3907 )
2017-05-20 14:21:32 -07:00
diesieben07
acdfe97bd6
Add methods to write IForgeRegistryEntry to ByteBuf ( #3806 )
2017-05-18 13:47:13 -07:00
Max Becker
34463690c5
Changed custom entity selectors from event based to factory based. ( #3579 )
2017-05-01 18:36:24 -07:00
mezz
e4d04afd95
When the window is closed during loading, exit the game quickly ( #3858 )
2017-05-01 17:14:55 -07:00