cpw
0512a47eba
Fix recursion mess in PlayerAdvancement loading, by using an alternative based on a toposorted list of all advancements.
...
It seems to be fully equivalent in testing, but there may be corner cases, so there is a config to disable, though disabling
may break servers, especially those chunkloading fake players.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-04-19 21:36:44 -04:00
LexManos
5a552b9f8d
Fixed dev time compilation using J9+ producing incorrect bytecode.
2020-04-14 23:54:32 -07:00
David Quintana
aa5b9d12ea
Add "type" field to global loot modifier jsons. ( #6554 )
...
* Add "type" field to global loot modifier jsons and fix tests.
To avoid binary breaking, "type" defaults to be the same as the filename.
* Fix license headers.
2020-04-12 21:27:11 +02:00
Patrick Ocampo
5e554530ac
Fixed PlantType not extending IExtensibleEnum, Closes #6286
2020-04-08 17:17:38 -07:00
tterrag
c359a38d9f
Improve performance of VertexBufferConsumer by inlining element locs
2020-04-07 21:44:29 -04:00
tterrag
d84a88d78d
Revive forge lighting pipeline, disabled by default for now
...
Remove a lot of light value convolution by using 0..1 for nearly everything
Fix a lot of TODOs that are needed for the lighting pipeline to function
Potential fix for #6425
2020-04-07 21:44:15 -04:00
tterrag
cf9b1b2193
Fix Tag serializing empty optionals, improve RegistryObject error msg
2020-04-05 00:48:56 -04:00
LexManos
0d2a0deef3
Cleanup IForgeTagBuilder code style.
2020-04-01 11:34:36 -07:00
tterrag
559bacbd98
Add support for optional tag values to Tag.Builder
...
Add optional tag values to data gen test
Fix data gen test not running by correcting gui_light value
2020-03-31 20:15:09 -04:00
tterrag
db3d202c4e
Deprecate ModelBuilder#gui3d, add ModelBuilder#guiLight
2020-03-30 00:15:08 -04:00
naqaden
2f5172f907
Add renderer to RenderNameplateEvent ( #6562 )
2020-03-27 16:22:01 -07:00
hnOsmium0001
fcee09cab2
Fix ownership leak in ItemStackHandler ( #6580 )
...
- Triggered by invoking ItemStackHandler#extractItem with `simulate=true`
2020-03-27 16:10:21 -07:00
cpw
3e48066021
Add a progress message for atlas textures. Fills a big time gap on bigger packs.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-03-20 17:34:46 -04:00
LexManos
52b8070692
Fix Forge's tps and gen commands.
2020-03-15 16:27:58 -07:00
tterrag
c7a17946a5
Fix loading text not rendering after mojang logo appears
2020-03-15 03:39:04 -04:00
tterrag
208ca23515
Fix loading GUI corrupting matrix state
2020-03-15 03:27:43 -04:00
cpw
6329c0fcf2
Somewhat restore the loading screen overlay. It seems that once the mojang logo and progress bar
...
start running, I can no longer write to the window, even though I am obviously trying to..
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-03-14 23:28:45 -04:00
Nightenom
202ae50820
Add projection matrix to RenderWorldLastEvent ( #6536 )
2020-03-11 00:00:21 -07:00
Draco18s
58e5f33fad
Global Loot Functions ( #6401 )
2020-02-26 22:13:36 -08:00
DaemonUmbra
2ce4f5ece5
Updated ForgeDev MCP Mapping Version ( #6532 )
2020-02-25 19:45:14 -08:00
cpw
aca45340bf
Fix up alarming security crisis with network handling that allowed for wrong code execution on the server, resulting in CRASHED SERVERS. AWFUL stuff.
...
Also fixed a silly log message from the login handler.
This change introduces a mechanism to direct certain packets to only process on one side or another. Invalid sidedness will result in the connection being terminated.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-02-23 22:15:34 -05:00
Julian Dunskus
30d4520c6b
Make TransformationHelper.slerp for quaternions public ( #6528 )
2020-02-23 18:32:33 +01:00
DaemonUmbra
daff482092
Fixed Conduit and Beacon Activation on Vanilla Servers ( #6438 )
2020-02-17 11:01:38 -08:00
Richard Freimer
a740044e21
Fix ITeleporter being ignored when teleporting from the end to the overworld ( #6505 )
...
* Fix custom teleporters triggering end credits when returning from the end
* Fix setdimension command ignoring position
2020-02-17 17:16:46 +01:00
malte0811
3f292d5d42
Fixed ChunkWatchEvent.(Un)Watch not firing correctly ( #6453 )
2020-02-14 12:02:47 -08:00
Richard Freimer
f93289e01c
Allows custom blocks to define if they should use the fluid overlay instead of the flowing texture when in a fluid ( #6493 )
2020-02-06 23:53:37 +01:00
Richard Freimer
1f46169e1e
Add FluidStack support to the Forge packet buffer. ( #6353 ) ( #6485 )
2020-02-03 12:46:14 -08:00
ichttt
06d9b6531c
Revert game data to frozen on disconnect from a remote server or when terminating a local server. Closes #6487 ( #6497 )
2020-02-03 12:21:10 -08:00
David Quintana
a901d80dd5
Implement fluid overlay texture rendering for custom fluids.
2020-02-02 23:02:56 +01:00
DaemonUmbra
d86f58a0df
Fixed Attacks/Punches not Registering ( #6481 )
...
Replaced incorrect magic number with constant
2020-01-29 22:12:04 -08:00
Vincent Lee
0ad574257e
Clean up a bunch of render events ( #6444 )
...
* Delete RenderHandEvent as RenderSpecificHandEvent can do everything it does and more. Rename RenderSpecificHandEvent to RenderHandEvent as it's now the only hand rendering event.
* Pass MatrixStack and IRenderTypeBuffer into the event whenever they are available. If they're available, that means we're in a batching environment and the modder should not be using the tessellator or other buffers on their own, or they risk "Already building" crashes.
2020-01-30 00:46:22 +01:00
Cadiboo
617159c825
Small Forge config fixes ( #6466 )
2020-01-29 13:04:35 -08:00
LexManos
c72d6e9122
Fix ChunkDataEvent.Load not firing, it now fires in the aync thread. Be careful. Closes #6471
2020-01-29 12:18:13 -08:00
LexManos
40091678a8
Fix default mod resources loosing it's sort order.
2020-01-29 11:31:31 -08:00
mcenderdragon
44d9fff2b4
[1.15] Reimplemented the ITeleporter interface ( #6404 )
2020-01-29 09:18:07 -08:00
David Quintana
509a28efd3
Hook "gui_light" value from the model into the IBakedModel implementations.
...
Apply some of the suggestions from the 1.14 models PR.
2020-01-23 22:54:54 +01:00
LexManos
c4e000dbe7
1.15.2 Initial Update
2020-01-22 13:44:03 -08:00
ichttt
0bcc2e3fbd
Cleanup fml packages removing old deprecated classes related to GUIs/Configs and fix HoverChecker ( #6437 )
...
Fixed ModListWidget name to avoid confusion and collision.
Delete CheckBox, as vanilla has it's own CheckBox now which looks much better
Rename ModConfigEvent.ConfigReloading to ModConfigEvent.Reloading
2020-01-22 14:09:58 -07:00
Daniël Goossens
dea08be906
Updated method names referencing ItemStackTileEntityRenderer ( #6461 )
2020-01-22 12:26:34 -07:00
Cadiboo
0f27975f77
Fix Widget Foreground Color not allowing pure black ( #6460 )
2020-01-22 12:25:35 -07:00
Take Weiland
ad7e4e95ae
Use extended version of getLightValue in all places ( #6433 )
2020-01-22 12:22:35 -07:00
Scotteh
345387645e
[1.15.x] Added entity nameplate rendering event hook ( #6416 )
2020-01-22 12:22:04 -07:00
tterrag
380366e25f
Remove emissive items hook, add small utility for bakedquad lighting
2020-01-20 22:44:26 -05:00
David Quintana
1936eb1f36
Fix breaking overlay weirdness. applyBakedNormals was not transforming the baked normals when applying them. Fixes #6432
2020-01-16 03:29:46 +01:00
Daniël Goossens
088fc6b67f
[1.15] Add new InputEvent.ClickInputEvent, addresses #5802 ( #6047 )
2020-01-15 16:30:01 -08:00
David Quintana
983a47a7d6
Fix dark spots in fullbright quad rendering.
...
Fix multi-layer model not declaring dependency on the particle texture.
Fix mistake in 2c054fca
which I didn't intend to push when I did.
2020-01-13 23:20:46 +01:00
David Quintana
c1840abb0a
Fix multi-layer model loader to actually work in a sane way. No more "base" model involved, and now transforms and overrides work as expected.
2020-01-13 19:38:52 +01:00
David Quintana
2c054fca76
Attempt to fix fullbright lighting.
...
Fix lightmap value calculation.
2020-01-13 13:19:36 +01:00
David Quintana
c4c760bfb3
Fix QuadTransformer normal processing.
2020-01-07 23:52:51 +01:00
Choonster TheMage
dd0260c476
Fix validation in RotationBuilder#angle ( fixes #6323 ) ( #6408 )
2020-01-07 14:21:12 -08:00