gigaherz
80d08dbf3a
Introduce RegisterShadersEvent to register shaders with the proper timing (runs every client resource reload).
...
Fix ShaderInstance to allow resourcelocations with namespaces as input.
Fix shader parsing to respect resource domains.
Fix ForgeRenderTypes to use the right shader in each situation.
Add custom forge shader for unlit translucent entity rendering, equivalent to the vanilla entity translucent shader.
2021-07-30 01:48:20 +02:00
gigaherz
6ddf56ef15
Added RegisterClientReloadListenersEvent which lets you register reload listeners with appropriate timing.
...
Added new entity rendering events.
- EntityRenderersEvent.RegisterLayerDefinitions: Used to register layer definitions for entity models.
- EntityRenderersEvent.RegisterRenderers: Used to register entity renderers.
- EntityRenderersEvent.AddLayers: Called during resource reload after all renderers have been constructed and it's safe to add layers.
Removed RenderingRegistry, which is now not necessary.
Removed a few unused things.
Fixes #7920
2021-07-25 12:06:36 +02:00
Cyborgmas
119ac8f4ab
remove old direct GL call ( #7907 )
2021-07-24 16:45:11 +02:00
be5446b91c
Update to 1.17
...
Update to Official classnames
Patchwork
Make the game compile and run
Merge in the new HUD overlay API
Merge in the new render properties API
PEEL
Use Gradle 7.2 snapshot to fix eclipse integration bug in 7.1, Would use 7.0 but FG needs 7.1 for some reason.
New FML installer
Update to 1.17.1
Co-authored-by: LexManos <lexmanos@gmail.com >
Co-authored-by: SizableShrimp <sizableshrimp@sizableshrimp.me >
Co-authored-by: cpw <cpw+github@weeksfamily.ca >
Co-authored-by: Curle <curle@gemwire.uk >
Co-authored-by: Unnoen <Unnoen@users.noreply.github.com >
Co-authored-by: covers1624 <laughlan.cov@internode.on.net >
Co-authored-by: DaemonUmbra <daemon.umbra@gmail.com >
Co-authored-by: gigaherz <gigaherz@gmail.com >
Signed-off-by: SizableShrimp <sizableshrimp@sizableshrimp.me >
2021-07-22 19:57:02 +01:00
Take Weiland
39f9f393db
Add custom TextureAtlasSprite loaders ( #7822 )
...
Adds a system for mods to specify custom texture loaders which can be requested by the resource pack through a metadata section in the .mcmeta file. Due to technical reasons, png file is still required for MC to identify a texture as existing, even if the loader doesn't use it.
2021-07-16 01:55:43 +02:00
mrp-v2
2a7dde3d2e
Add method to get the number of elements in a model builder ( #7792 )
2021-06-08 12:49:25 -07:00
Nightenom
1d87831773
Add option for linear filtering of text texture ( #7645 )
2021-06-08 21:33:31 +02:00
mrp-v2
65e99f9b58
Use empty model instead of missing model for non-existant layers in multilayer models ( #7750 )
...
Fixes issues when using multi-layer models as part of composite models
2021-06-08 21:07:33 +02:00
Curle
f332642409
Fix OBJ Loader data gen string ( #7746 ) Closes #7616
2021-05-17 13:43:37 -07:00
mrp-v2
7bf02e7dcd
[1.16] Add missing Multipart Blockstate Builder feature: Nested condition groups ( #7677 )
2021-04-22 22:55:18 -07:00
Take Weiland
0239a736ec
Fix sign textures being stitched onto every texture atlas ( #7690 )
2021-03-17 10:04:07 -07:00
kaydogz
aacba8e38e
Add support for custom WoodTypes ( #7623 )
2021-03-15 12:28:45 -07:00
David Quintana
55f29764f8
Bulk update license year, and use replacement variable so that the current year is always used.
2021-03-10 23:41:00 +01:00
LexManos
a95b968c13
Regenerate patches with relative headers. This should lower conflicts in future PRs.
...
Convert Forge to use Official mappings.
Mojang released their obfuscation mappings but we have not used them up until now due to wanting to get their license to be more explicitly permissive.
It is clear that their intent is to allow us to use their names for developing mods like this.
See the full wording, and our interpretation here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md
2021-03-09 14:21:48 -08:00
FireController#1847
17500032ae
Add Opacity to ForgeHooksClient#renderMainMenu ( #7660 )
2021-03-02 21:28:48 -08:00
LeBossMax2
733b812c7b
Fix ItemTextureQuadConverter.convertTexture generating wrong quads, fixes #7620 ( #7650 )
2021-02-16 00:38:21 +01:00
Sangar
9ab29ea8fe
Added MultipartBakedModel.getModelData(). ( #7595 )
...
This allows custom IBakedModel implementations to use the IModelData provided by their IBakedModel.getModelData() when used in the context of a multipart model.
2021-02-16 00:22:24 +01:00
Cyborgmas
fe26b77e3b
fix global cache not being a block render type ( #7648 )
2021-02-16 00:15:33 +01:00
HellFirePvP
d88e660cbb
Fix translucent model parts of MultiLayerModels rendering as missing models due to differing rendertypes when rendering block model ( #7579 )
...
Signed-off-by: HellFirePvP <7419378+HellFirePvP@users.noreply.github.com >
2021-01-29 18:01:16 -08:00
Ian Rehwinkel
c3e84646db
Added IWeatherParticleRenderHandler to allow a mod to take control over weather particles and sounds. ( #7522 )
2021-01-07 12:24:40 -08:00
tterrag
2d9a1bc6f9
Add generated resource tracking to ExistingFileHelper
2020-12-12 12:33:56 -05:00
tterrag
a57a240c13
Fix BlockStateProvider item models not knowing about block models
...
Add tests for this case
2020-12-10 21:37:13 -05:00
Unbekannt1998
e975fc8252
Fix wrong function call in BlockStateProvider::horizontalFaceBlock ( #7514 )
2020-12-05 11:52:44 -08:00
tterrag
d85ea5a3b0
Fix datagen order of multipart conditions being unstable
2020-11-28 21:10:49 -05:00
David Quintana
93c00b67d9
Implement feature for mods to define new world types ( #7448 )
...
* Mods can now register world types via a new forge registry, and optionally register a settings screen to tweak them.
* The default world type for dedicated servers and singleplayer world creation is configurable via forge's common config.
2020-11-28 00:57:15 +01:00
Richard Freimer
fd045d4628
Add support for referencing forge's resources and specifying existing mods to data generators ( #7456 )
2020-11-22 22:45:13 -05:00
Cyborgmas
a73e003dd3
Fix translucent blocks not rendering properly when moved by pistons on fabulous ( #7441 )
2020-11-21 11:57:33 -08:00
Take Weiland
114acfca3b
Fix food bar not rendering when non-living entities are mounted ( #7446 )
2020-11-20 10:24:43 -08:00
David Quintana
45e38859ed
Add FluidStack codec, and a test mod that verifies its behaviour matches the existing write/read logic.
...
Add missing license headers.
2020-11-07 21:10:18 +01:00
David Quintana
fed7beab89
Introduce custom loader additions to the model data generators. ( #7450 )
...
Currently implemented loaders:
* OBJ
* Composite
* Multi-layer
* Item layers (vanilla item/generated but with fullbright texture support)
* Bucket
* Separate Perspective
2020-11-02 02:09:49 +01:00
David Quintana
53eedb0f10
Update forge mappings to 20201028-1.16.3 ( #7435 )
2020-10-29 01:11:57 +01:00
sciwhiz12
22f7f4649b
Reimplement nametag distance attribute, fix attribute translation keys ( #7387 )
2020-10-26 16:52:36 -07:00
David Quintana
395f89c973
Fix resource leak in the OBJ loader.
2020-10-20 13:24:12 +02:00
Ocelot
51fa230e7b
Add event for player changing game mode ( #7355 )
2020-10-15 10:15:06 -07:00
ChampionAsh5357
bed38d4253
Fix Texture Presence String ( #7408 )
2020-10-10 09:45:18 -07:00
sciwhiz12
78d69db79e
Fix toggleable keybindings still being active while in GUI Fixes #7370 ( #7373 )
2020-10-02 16:28:21 -07:00
Take Weiland
37be3aff2d
Fix ToggleableKeyBinding differences to vanilla. ( #7338 )
2020-09-23 15:10:01 -07:00
Take Weiland
b9b17d8331
Fix forge light pipeline applying block offsets twice ( #7323 )
2020-09-23 14:34:38 -07:00
Nightenom
b1247df4dc
[1.16] Fix possible crash when using rendering regionCache ( #7207 )
2020-09-22 11:58:19 -07:00
Alex O'Neill
91dda36b08
[1.16] Reimplement ICloudRenderHandler, ISkyRenderHandler and IWeatherRenderHandler ( #6994 )
2020-09-22 11:41:07 -07:00
David Quintana
4b93e3a224
Fix inconsistencies in how the values from the model are passed into the baked model.
...
This puts them in line with vanilla, as intended.
2020-09-15 16:17:57 +02:00
LexManos
c75eb9e7cf
1.16.3 Update
...
Also included a bunch of warning cleanups.
2020-09-10 12:01:45 -07:00
Tschipp
bd5e107628
Add partialTicks to RenderNameplateEvent ( #7277 )
2020-09-08 13:24:02 -07:00
ChampionAsh5357
05480843cd
Re-implement DrawHighlightEvent$HighlightEntity Firing ( #7233 )
2020-09-08 12:50:06 -07:00
tterrag
be5885155c
Add validation via resources for tag providers ( #7271 )
...
BREAKING CHANGE: Moved ExistingFileHelper to common package
Remove various workarounds from forge tag providers
2020-09-02 23:18:22 -04:00
LexManos
9118c3dd24
Cleanup Forge's build script, fix some unneeded patches.
...
Add checkExcscheckAll tasks.
2020-08-21 02:47:04 -07:00
LexManos
fe43088c96
Initial 1.16.2 Update
2020-08-13 00:35:08 -07:00
David Quintana
a3c4ffd2c1
Fix ModelRegistryEvent firing every time resources reload instead of just once.
2020-08-09 22:04:44 +02:00
David Quintana
a8e68328c4
Move ModelRegistryEvent invocation to when the model loading is about to start.
...
Freeze the ModelLoaderRegistry right after this event happens, just before model loading actually begins.
This means ModelRegistryEvent is now the correct place to register loaders, as it was intended.
This is a slight breaking change, but any mod that used FMLClientSetupEvent before will need to be updated regardless due to the existing race condition.
2020-08-08 03:00:15 +02:00
tterrag
8f9e52c260
Implement forge IBakedModel methods in vanilla wrapper models
2020-07-29 23:10:40 -04:00