cpw
0a819da0e7
Reorganize sided event dispatch slightly. Dispatch model and entityrenderer
...
functions at more appropriate times.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-23 16:01:20 -04:00
cpw
bdad2af27b
Tweak for lowercase handling.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-23 14:51:58 -04:00
cpw
60513446fa
Merge branch 'pull/5793' into 1.14.x
2019-06-23 14:42:32 -04:00
cpw
be415091cd
Fix crash when crashing during modloading. Fix GuiModList being weird.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-23 14:37:05 -04:00
cpw
9067dbf6a0
Process the main modloading work on the async thread, but still
...
do deferred work on the main thread by passing in the executor.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-23 12:26:45 -04:00
tterrag
359be1a880
Clean up config comments, make comment array nonnull
2019-06-23 02:57:00 -04:00
tterrag
99624bf3b5
Fix forge event bus never starting up
2019-06-23 02:17:51 -04:00
tterrag
252b94a110
Automatically add range to config comments
2019-06-23 02:17:28 -04:00
cpw
448d996a45
First pass of adding text to the loading progress UI. It deliberately uses the very primitive STB
...
generated font, so can only render basic ASCII text, and also only renders pre-defined strings,
as translations aren't available either.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-22 23:39:00 -04:00
JoJoDeveloping
b9e5dfd286
Add mod failure identification
2019-06-23 03:14:05 +02:00
cpw
d966746fbf
Moved some events to the Mod's event bus. You'll need to update which bus
...
you're listening to for these. (The Mod event bus is the only one actively
dispatching events during model loading).
ModelRegistryEvent, ModelBakeEvent, TextureStitchEvent.Pre, TextureStitchEvent.Post, ColourHandlerEvent.Block, ColourHandlerEvent.Item
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-22 20:36:07 -04:00
cpw
89baeb3d5d
Fix StartupQuery, and put tests back.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-22 19:58:10 -04:00
cpw
89006458a2
Fix stupid bug introduced with the refactor..
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-22 19:08:49 -04:00
cpw
389bc1ecea
Tidy up mod loading a bit more, and also crash if the [[mods]] list isn't
...
a list.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-22 12:52:22 -04:00
cpw
1e0437208b
Merge remote-tracking branch 'origin/1.14.x' into 1.14.x
2019-06-22 12:33:46 -04:00
cpw
256bd01e0c
Fix server side loading, tweak mods command.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-22 12:31:27 -04:00
tterrag
ef7b035f02
Fix ModelDataTest
2019-06-21 23:35:08 -04:00
cpw
83a0dc2ef9
Merge remote-tracking branch 'origin/1.14.x' into 1.14.x
2019-06-21 22:42:33 -04:00
cpw
c10174d50d
Update mappings, move mod initialization to the async loader.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-21 22:42:16 -04:00
tterrag
5a3b375147
Fix #5612 add entity to ISelectionContext
2019-06-21 21:15:56 -04:00
tterrag
656ff25ae1
Fix #5768 add access to MainWindow object in RenderGameOverlayEvent
2019-06-21 20:29:04 -04:00
tterrag
19059b054e
Fix #5810 incorrect cullface on some models
2019-06-21 20:23:32 -04:00
tterrag
45bc487fc0
Fix #5686 ArmorLayer still calls deprecated getArmorResource
2019-06-21 19:48:00 -04:00
tterrag
9c74a31ca2
Fix bad patch breaking armor dyeing
2019-06-21 19:47:23 -04:00
tterrag
8c3e511538
Make sure test mods load, fix BlockstateRetextureTest
2019-06-21 19:35:32 -04:00
tterrag
5fb948fb35
Fix #5805 ModelBakeEvent does not fire
2019-06-21 19:34:58 -04:00
LexManos
a14c2233e0
Fix lighting not being sent to client when large amounts of blocks change at once. Closes #5839
...
Remove RecipeType/VanillaRecipeTypes, as 1.14 has a vanilla system for this.
2019-06-19 18:10:02 -07:00
LexManos
f01b87fac7
Fix some compile errors in test classes.
2019-06-19 18:07:58 -07:00
LexManos
40bdde2043
Fix Vanilla resources loading from classpath, instead of the extra jar. Causing issues in dev time, and Forge replacements. Closes #5824
2019-06-17 14:08:16 -07:00
LexManos
0a8a601877
Add temporary hard crash when mods error until we can load our error screen.
2019-06-16 00:48:38 -07:00
LexManos
002e29958e
Make ReverseTagWrapper unmodifiable, fix error in log when mods folder doesn't exist initial scan.
2019-06-16 00:47:40 -07:00
cpw
604987a005
Skip running the datagenerator on unrequested mods.
...
Add a run config for the data task for modders to use
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-16 00:47:50 -04:00
cpw
7e3e6b1969
Remove paulscode hack. It is not needed in 1.14, since paulscode is
...
no longer used.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-15 21:51:51 -04:00
cpw
d821514372
Modify lex's data handler to use proper mod lifecycle event mechanisms
...
instead. New Lifecycle Event for requesting data harvesting. Mods will
be constructed, the registry will fire, and then a new Data event will
fire. Submit new data tag files to the data gatherer if you wish.
The game will shutdown after this. No other mod elements will happen.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-15 21:24:45 -04:00
cpw
37a896fe1b
Add params for the exception message
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
tweak logging
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-15 19:47:08 -04:00
LexManos
e1cdb2e558
Expose the data entry point and generate Forge's Tags using it.
2019-06-13 20:58:03 -07:00
LexManos
c30b27fcfe
Add reverse tag cache, to make looking up tags for items/blocks/etc.. less costly.
2019-06-12 19:28:10 -07:00
marcus8448
9542f51cd0
Update Example Mod ( #5781 )
2019-06-12 16:49:20 -07:00
its_meow
a7b56f0975
Fix AT for EntitySpawnPlacementRegistry.register ( #5799 )
2019-06-12 16:17:25 -07:00
Johannes
ed3dc8c7d3
Implement getValue in ClearableRegistry fixing DimensionArgument. ( #5809 )
...
Fix DimensionArgument
2019-06-12 16:16:32 -07:00
SquidDev
ed6ce87c22
Fix RenderSpecificHandEvent firing with wrong hand ( #5789 )
2019-06-12 01:05:27 -04:00
kashike
4bd7427b70
Use dragon_immune block tag instead of manually checking blocks ( #5792 )
2019-06-12 01:04:13 -04:00
tterrag
0b1196db3f
Fix #5806 sheep drop shears instead of wool
...
lol
2019-06-12 00:57:27 -04:00
tterrag
b25ed7ef91
Fix incorrect method used in ShrubFeature patch
2019-06-12 00:51:45 -04:00
tterrag
dc95130526
Rework AbstractTreeFeature patches to reduce impact and avoid name conflicts
2019-06-12 00:48:11 -04:00
tterrag
d5ee80a70a
Add IContainerFactory for reading custom container data on the client
2019-06-10 18:14:49 -04:00
LexManos
5dc944c1c3
Fix Fishing and Mineshaft Minecarts loot tables erroring. #5785
...
Fix Client block breaking speed not matching the server. #5790
Fix Village Siege event location, and MC-154328 preventing Sieges starting. #5800
Fix EntityJoinWorldEvent not firing on client, or some server code paths. #5786
2019-06-10 14:03:51 -07:00
tterrag
da22fd40bf
Adjust NetworkEvent#enqueueWork to match vanilla logic
...
In singleplayer our packet work could get delayed until the next tick,
breaking the expectation of packet read order. Fixes that using
NetworkHooks.openGui would result in missing inventory data on the client
2019-06-10 00:13:27 -04:00
LexManos
1434419e47
Fix gameDir argument error on dedicated server.
2019-06-09 11:19:01 -07:00
tterrag
3385e62aa7
Add forge registries for most vanilla registries
...
Made all registry names consistent with their vanilla counterparts
Also added a system for legacy registry names, so no data will be lost
Cleaned up formatting in GameData and ForgeRegistries
2019-06-09 04:23:39 -04:00