LexManos
8e09d47cd6
1.21.10
2025-10-07 10:20:47 -07:00
Paint_Ninja
0404d2d776
Bump EventBus for more javadocs
2025-10-06 20:14:28 +01:00
Paint_Ninja
aea804cb6e
Make BuildCreativeModeTabContentsEvent a record
2025-10-06 20:12:13 +01:00
LexManos
0bffcb83c5
Fix CustomizeGuiOverlayEvent mistakenly being a RecordEvent
2025-10-05 09:51:12 -07:00
Paint_Ninja
9a022d1451
Move more events away from the mod BusGroup ( #10676 )
...
Also adds more validation to strict mode. See the GitHub PR for further details.
2025-10-05 14:02:45 +01:00
LexManos
58aa3b276c
Add the new vanilla info object to Keyboard and Mouse related events.
2025-10-02 12:09:01 -07:00
LexManos and Paint_Ninja
b0ccf1a480
Minecraft 1.21.9 update.
...
There a lot of performance improvements related to events.
No more InheritableEvent for abstract events that you shouldn't add listeners to anyway, like EntityEvent. Use their sub-events.
Made a lot more events records and interfaces. Mostly just a binary break, but has better performance.
Mod bus posting methods are now static, no more ModLoader.get() for those.
ObjectHolder was removed, use RegistryObject.
Changed RuntimeEnumExtender to only target Minecraft classes. If you want other modders to interact with your API, use an Interface instead of Enum.
Moved some abstract event methods to only the relevant sub-events now, e.g. can no longer check the side of a ClientTickEvent, because it'll always be client
Rendering has changed a lot, they now batch most things together so that the game will render faster.
RenderHighlightEvent changed a lot
See https://github.com/MinecraftForge/MinecraftForge-Experimental/tree/1.21.9-dev for unsquashed commits.
Co-authored-by: Paint_Ninja <[email protected] >
2025-10-01 13:05:12 -07:00
LexManos
c1d703e395
Fix Crafters not inserting into IItemHandlers. Closes #10667
2025-09-23 13:42:29 -07:00
LexManos
728fd6ff24
Optimize ConcatenatedListView's Iterator and fix hidden CreativeTabs taking up page space.
2025-09-23 13:37:53 -07:00
Paint_Ninja
0a885a77e7
[1.21.8] Deprecate global IExtensibleEnum support ( #10662 )
...
This is intended for use with Minecraft classes only. Mod devs can support extending enums through other, more efficient means, such as converting their enum to a record and having static final fields of instances that correspond to each enum value.
2025-09-18 17:13:58 +01:00
Matt
15dbadaae6
Fix alpha channel of creative mode tab title color ( #10661 )
2025-09-18 08:56:02 -07:00
Jonathing
4c1c3aafdb
Deprecate JS CoreMods, remove Forge's usages of them ( #10659 )
2025-09-16 20:13:30 +01:00
Joseph T. McQuigg
f06727a205
Replace Blocks.FARMLAND checks with instanceof FarmBlock ( #10647 )
...
Signed-off-by: Joseph T. McQuigg <[email protected] >
2025-09-10 20:17:42 -07:00
LexManos
ef0e7bc17f
1.21.8 RB 1
2025-08-27 12:17:25 -07:00
Matt
ec7a098f81
Add event for adding framepasses ( #10612 )
2025-08-23 22:09:12 -07:00
Matt
ff25961a05
Add ForgeLayeredDraw & AddGuiOverlayLayersEvent as API for gui overlay management. ( #10579 ) ( #10611 )
2025-08-21 12:56:12 -07:00
LexManos
c999a2d4eb
Fix Inactivated activator rails, acting like inactivated powered rails. Closes #10643
2025-08-21 08:50:35 -07:00
LexManos
ce79df9716
Fix Redstone power propagating between powered and activator rails. Fixed #10642
2025-08-20 12:20:11 -07:00
LexManos
eae9b9145d
Optimize VillagerTradingManager, avoid redundant work. Closes #10577
2025-08-12 18:02:33 -07:00
Paint_Ninja
7f56986027
Minor cleanup to FML, fix double parsing of mods.toml ( #10597 )
2025-08-04 12:50:39 -07:00
Jonathing
c6874bce67
Update GradleUtils to 2.6.4 ( #10600 )
2025-08-02 21:21:24 -07:00
Paint_Ninja
aa11175f41
Sync deps with MC ( #10596 )
2025-08-02 05:27:19 -07:00
Joseph T. McQuigg
2730559ff3
Allow command suggestions/autocomplete to search all modded paths at once without namespace provided ( #10593 )
2025-07-31 09:13:35 -07:00
Paint_Ninja
e80c3402b7
Optimise WorldWorkerManager ( #10578 )
2025-07-23 18:37:02 +01:00
LexManos
837c259668
1.21.8 - Intel Graphic Fixes
2025-07-17 11:09:42 -07:00
LexManos
2e48910b4c
Fix crash when clicking links in modlist without being in-world.
2025-07-16 10:21:55 -07:00
LexManos
70dd556db6
Use vanilla's entrypoint for GameTest servers
2025-07-01 23:56:59 -07:00
LexManos
e44a558f37
Fix Forge error screen not rendering text correctly. Closes #10569
2025-07-01 23:41:08 -07:00
LexManos
1e154cbe3e
Minecraft 1.21.7 - Lava Chickens!
2025-06-30 11:06:39 -07:00
Paint_Ninja and LexManos
d5c5df1b64
Bump ASM and EventBus
...
Improves support for Java 25 and better stability of the compile-time EventBus checks, respectively.
Co-Authored-By: LexManos <[email protected] >
2025-06-25 20:54:00 +01:00
Joseph T. McQuigg
5e75de5eb7
Add WanderTradesEvent#Pool Constructor with List<ItemListing> and int directly ( #10566 )
2025-06-23 17:06:32 -07:00
Mysticdrew
ddb1e52e99
Fix client commands not working when using clickable commands.
2025-06-20 14:39:16 -07:00
Mysticdrew
9e55363e2c
Add Event for Picture in Picture renderers registration.
2025-06-20 14:21:27 -07:00
Paint_Ninja
219abfed22
Make more events records
2025-06-20 18:22:53 +01:00
Paint_Ninja
6915753b5a
Fix posting cancellable child events with non-cancellable inheritable parents
...
Also made more events SelfDestructing to save a tad more memory
2025-06-20 10:16:26 +01:00
LexManos
1527738ddc
Fix wrong order in filter vanilla commands patch. Fixes #10563
2025-06-19 00:49:08 -07:00
LexManos
18c806f1d0
Fix not being able to break blocks in survival. Closes #10561
2025-06-18 12:28:19 -07:00
Paint_Ninja
47f7c68ed5
Fix bug with strict bulk registration
...
See EventBus#89 for more details
2025-06-18 18:10:33 +01:00
LexManos and Paint_Ninja
5e8942e0a7
1.21.6 - New EventBus 7
...
A full rewrite and redesign of the library that offers much better performance, new features and fixes all previous design flaws
See the migration guide here: https://gist.github.com/PaintNinja/ad82c224aecee25efac1ea3e2cf19b91
Co-authored-by: Paint_Ninja <[email protected] >
2025-06-18 02:53:58 -07:00
Paint_Ninja
a02f3f9841
Update MDK to fix OOM error and aid getting Mixin setup ( #10559 )
2025-06-09 22:19:37 +01:00
LexManos
c5e462f7d2
Remove legacy patch that caused tripwires to create a loop. Fixes #10558
2025-06-01 00:43:08 -07:00
Matt
d1f79d6655
Fix warped and crimson fungi not being able to be placed on nylium. ( #10544 )
...
Fix other PlantType parity issues, add test for all vanilla PlantType blocks.
Co-authored-by: LexManos <[email protected] >
2025-05-23 02:22:26 -07:00
LexManos
9d5e81b1a9
Fix modded keybidings being reset to default when reloading. Fixes : #10531
2025-05-22 00:40:04 -07:00
LexManos
a1c275df46
Deprecate GatherDataEvent.validate() as validation always happens. And made ExistingFileHelper always function. Closes #10516
2025-05-21 23:42:44 -07:00
LexManos
4ef7fe8bd8
Call getToolModifiedState for AXE_STRIP and AXE_WAX_OFF.
2025-05-21 23:41:54 -07:00
LexManos
ce8838e721
Fix Wood Stripping sound not playing. Fixes #10525
2025-05-20 23:12:19 -07:00
LexManos
b7e2593d48
Fix dedicated server not loading default language files. Fixes #10555
2025-05-16 13:01:02 -07:00
Joseph T. McQuigg
33d177f02e
Make Loot Function without builders Constructors public ( #10521 )
2025-05-14 21:17:58 -07:00
Olivier Sechet
5d2186df63
Ensure changes from keyboard in ForgeSlider behave as changes from mouse ( #10554 )
2025-05-09 15:14:16 -07:00
LexManos
77af36b807
Add YourKit mention
2025-05-08 13:40:26 -07:00
Matt
54eeca0aed
Fix creative inventory not displaying item categories correctly. Fixes #10524
2025-05-05 14:54:16 -07:00
LexManos
3de0566425
Make unbound tags non-fatal due to Mojang's registry loading order issues. Closes #10524
2025-05-05 14:52:43 -07:00
LexManos
a5ebf3b645
Fix PlayerEquipmentInvWrapper offset. Closes #10532
2025-05-05 12:13:58 -07:00
Paint_Ninja
63d0496cc4
Deprecate DistExecutor for removal ( #10198 )
2025-04-23 20:54:22 +01:00
Paint_Ninja
31f623e794
Cleanup early display's internals a bit more ( #10538 )
2025-04-23 20:53:29 +01:00
Erizamanu
eb001a6382
Add ChunkEvent.LightingCalculated, fixes #8354 ( #10533 )
2025-04-22 21:11:26 +01:00
Paint_Ninja
504dcad849
Seal most event hierarchies ( #10515 )
...
Most events in Forge are not designed to be extended by mod devs but technically allowed it before this PR, leading to a risk of unintentional breaking changes for those that do.
If you need to extend a Forge event, please let us know so that we can explicitly support that and design it with extending in mind. Note that this change does not affect making your own events that directly extend from EventBus' `Event` class.
2025-04-19 13:18:48 +01:00
Matt
81f7f029c3
Fix NPE when breeze deflects a projectile ( #10535 )
2025-04-19 13:08:10 +01:00
Jonathing
207c1997c9
Fix Swords and Pickaxes not using ToolActions ( #10520 )
2025-04-06 12:08:21 -05:00
LexManos
e348ae5b84
Fix bundles causing crash upon inserting item. Closes #10509
2025-03-27 22:09:50 -07:00
LexManos
0f3b8ee830
Add DeferredRegistryData to help with generating data driven registry entries.
...
Revive GameTest system and make all but one Forge Test mod pass.
2025-03-27 20:52:35 -07:00
LexManos
b4b6e48a7a
Fix Mod List Screen's render layout and scroll bars.
2025-03-26 18:54:11 -07:00
d50a3b5ab7
Minecraft 1.21.5
...
Co-authored-by: Ven <[email protected] >
Co-authored-by: Jonathing <[email protected] >
2025-03-26 16:34:26 -07:00
Joseph T. McQuigg
88904a1d09
Add Pumpkin Block and Item Tags ( #10482 )
2025-03-17 00:04:24 +00:00
Jonathing
b864faf0ef
Add '#forge:chorus_additionally_grows_on' tag for similar mechanics to '#minecraft:azalea_grows_on' but for chorus ( #10459 )
2025-03-04 12:47:17 -08:00
cech12
c97eabc0c4
Fix Hanging Pale Moss not dropping with modded shears ( #10414 )
2025-02-17 18:06:56 -08:00
Jonathing
6ae39c8597
1.21.4 RB 1
...
https://forums.minecraftforge.net/topic/154394-forge-541-minecraft-1214/
2025-02-12 12:29:03 -08:00
Jonathing
dcafb4f633
Fix corrupted and invalidly symlinked worlds crashing on level select ( #10406 )
2025-02-12 11:52:53 -08:00
Jonathing
1ea7ce9831
Add fast graphics render type to block model jsons ( #10394 )
...
Make modded leaves behave like vanilla leaves by default (Fixes #10389 )
2025-02-12 11:47:09 -08:00
Jonathing
674f2efd54
Add updated tag context to AddReloadListenerEvent ( #10412 )
...
Fixes using custom tags in GlobalLootModifiers.
2025-02-12 11:02:22 -08:00
Jonathing
02e82c672d
Give ItemStack context to IForgeItem.getCapabilityProvider ( #10404 )
2025-02-05 09:15:37 -08:00
RealMangoRage
b25f6e3a7c
Re-introduce ItemStack Capabilities ( #10324 )
2025-02-03 18:44:44 -08:00
LexManos
e69b07a54a
Fix redstone updates for comparators going up/down incorrectly. Related: #9973
2025-02-03 18:32:53 -08:00
Jonathing
79efe2ac36
Fix forced chunks never being ticked by the server ( #10325 )
2025-02-03 13:47:36 -08:00
LexManos
464483db5b
Fix redstone update order not matching vanilla. ( #10392 )
2025-02-03 13:36:45 -08:00
LexManos
f49adb285f
Fix game test structure rotations being inconsistant ( #10391 )
2025-02-03 13:31:20 -08:00
Jonathing
55862dfd1d
Re-introduce IForgeItem.damageItem when an item takes damage, Fixes #10344 ( #10371 )
2025-02-03 13:17:38 -08:00
Jonathing
124b9bd8d3
Gate client test mods behind clientSideOnly ( #10390 )
2025-02-03 13:17:01 -08:00
Jonathing
bae3915728
Fix issue with superclass event listeners by updating EventBus ( #10384 )
2025-02-03 11:13:33 -08:00
Jonathing
b3c2c62c7e
Bump dependencies, most notably EventBus ( #10370 )
...
- CoreMods 5.2.4 -> 5.2.6
- EventBus 6.2.15 -> 6.2.26
- Reduced memory usage
- Further performance improvements
- Fixed EventBus#39, unregistered listeners are now immediately reclaimable by the GC
- Apache MavenArtifact 3.8.5 -> 3.8.8
- NightConfig 3.7.3 -> 3.7.4
2025-01-28 21:00:16 +00:00
Jonathing
68698d70c1
Fix shield disabling being completely ignored ( #10316 )
2025-01-27 15:24:30 -08:00
Jonathing
d55dee9394
Update Gradle to 8.12.1
2025-01-27 09:17:02 -08:00
Jonathing
2d114f2719
Fix JOpt Simple by updating ModLauncher ( #10347 )
2025-01-27 09:16:24 -08:00
Jonathing and LexManos
3e6583af01
GameTestHelper additions ( #10338 )
...
Co-authored-by: LexManos <[email protected] >
2025-01-27 09:15:57 -08:00
Paint_Ninja and TelepathicGrunt
762f6a7d78
Add c:flowers, c:flowers/tall, and c:flowers/small block and item tags ( #10335 )
...
Co-authored-by: TelepathicGrunt <[email protected] >
2025-01-25 20:55:58 +00:00
Jonathing
3c5a534b7a
Fix JOpt Simple needing a strict version requirement declaration ( #10311 )
2025-01-25 17:49:11 +00:00
Jonathing
bc62d1693a
Fix incorrect method reference in TntBlock.explode() ( #10326 )
2025-01-25 17:48:54 +00:00
Joseph T. McQuigg
554ead8d4a
Fix issues in VillagerTrades.EmeraldsForVillagerTypeItem related to custom Villager Types ( #10298 )
...
Add VillagerType#registerBiomeType
2025-01-21 16:07:56 -08:00
LexManos
ec5ac91389
Fix render_type in block models not being used. Fixes #10294
2025-01-13 13:27:47 -08:00
Jonathing
f63813d929
Bump dependencies ( #10274 )
...
- EventBus 6.2.8 -> 6.2.15
- Bootstrap 2.1.7 -> 2.1.8
- SecureModules 2.2.20 -> 2.2.21
- AccessTransformers 8.2.0 -> 8.2.1
- ModLauncher 10.2.2 -> 10.2.3
These bumps include further clean-up and optimisations.
2025-01-04 16:04:31 +00:00
Jonathing
5d4825ac4b
Simplify Title Screen Brandings ( #10287 )
2025-01-02 14:31:05 -08:00
Jonathing
3024ef7707
Clean and fix Forge's internal coremods, fixes finalizeSpawn hook. ( #10271 )
2024-12-30 11:18:20 -08:00
Gabriel Harris-Rouquette
0d3b488728
Update jline for better darwin/arm64 support Fixes #10107 ( #10279 )
2024-12-29 09:25:21 -08:00
Jonathing
a01012f20c
Bump CoreMods to 5.2.4 ( #10262 )
2024-12-23 15:25:21 -08:00
Jonathing
d4e3ef4a22
Allow mipmap lowering to be disabled ( #10242 )
2024-12-23 11:46:59 -08:00
Jonathing
d7293a78dc
Manage FileWatcher instance per ConfigFileTypeHandler ( #10213 )
2024-12-22 11:59:00 -08:00
Paint_Ninja
8e4e02e258
Skip processing Forge classes in RuntimeDistCleaner ( #10199 )
...
Mod classes are still transformed as usual
2024-12-21 22:20:21 +00:00
Paint_Ninja
2f5a6fee48
Skip Forge classes in the RuntimeEnumExtender transformer ( #10197 )
...
Mod classes are still transformed as usual
2024-12-21 22:19:07 +00:00
LexManos
0e74886f8d
Add hooks for using Vanilla's new Client data generator ( #10206 )
...
Add new hook for custom block models that do not have real blocks backing them
Some workspace cleanup fixing log4j annotation processor
2024-12-19 10:41:21 -08:00
Paint_Ninja
07977ba242
Deprecate @ObjectHolder, add a couple of fast-paths ( #10195 )
2024-12-06 18:18:53 +00:00
LexManos
a894c244fe
Bump Bootstrap which has a slight performance boost during dev time.
2024-12-06 10:13:49 -08:00
LexManos
cf32a799a4
Speed up mod annotation scanning by ~30%
2024-12-06 10:11:04 -08:00
Paint_Ninja
0fda1d9393
Skip Vanilla classes for the CapabilityTokenSubclass transformer ( #10196 )
2024-12-06 17:35:09 +00:00
Paint_Ninja and TelepathicGrunt
c7f0acbe38
Simplify memory usage display on loading screen ( #10193 )
...
Co-authored-by: TelepathicGrunt <[email protected] >
2024-12-06 17:34:33 +00:00
LexManos
9c06c20023
Fix custom particles causing crash
2024-12-05 16:40:29 -08:00
LexManos
041084d1da
Minecraft 1.21.4
2024-12-05 10:22:55 -08:00
LexManos
e643d0a11f
Remove debug code. Closes #10182
2024-11-21 11:57:00 -08:00
LexManos
5efb8d3f12
Pass the Holder<Enchantment> to Item.canApplyAtEnchantingTable. Closes #10181
2024-11-21 09:52:32 -08:00
LexManos
70537542d1
Fix incorrect patch
2024-11-20 21:04:24 -08:00
LexManos
bd4b059c2b
Change vanilla registry order to last-seen. Closes #10179
2024-11-20 19:32:28 -08:00
LexManos
e0d2c68c5b
Call IUnbakedGeometry.bake from BlockModel Closes #10178
2024-11-18 12:30:22 -08:00
LexManos
86d4bda32e
Cleanup some warnings
2024-11-18 12:27:16 -08:00
LexManos
98b90f26bc
Fix not being able to swim in lava
2024-11-14 23:12:26 -08:00
LexManos
4e7c471fa3
Move mdk back to com/example/examplemod to align with what people expect.
2024-11-14 23:12:11 -08:00
LexManos
ec6f9fc6e7
Move MDK example to test sourceset and fix Item/Block registration example. Closes #10139
2024-11-14 14:24:21 -08:00
LexManos
427fef1d4b
Added support for using optional tags on Forge registries
...
Add DeferredRegister.key(name) helper function to make ResourceKey creation easier
Fix TagManager not binding tags
Fix Unbound Tag Exception when modders register tags during Register events Closes #10154
2024-11-14 14:23:00 -08:00
LexManos
83594b0b0a
Fix empty tag conditional recipe test
2024-11-14 14:08:00 -08:00
LexManos
b76064e57a
Fixed missed call to getFriction hook in AbstractBoat
2024-11-12 09:33:05 -08:00
Martijn van den Brand
b2bf70c7f1
Pass player argument when firing OnDatapackSyncEvent ( #10170 )
2024-11-11 20:39:55 -08:00
LexManos
384286a453
Cleanup lifecycle transitions
...
Fix mod ordering for multi-mod jars
Make dependency resolution issues easier to debug/diagnose
2024-11-11 03:04:23 -08:00
Jonathing
d93b7db69a
Bump CoreMods to 5.2 ( #10156 )
...
Full Changelog:
https://gist.github.com/Jonathing/c3ad28b2a048ac839a7baba5417ee870
The key features are:
- ES6 language support
- Thoroughly updated ASMAPI, with full documentation
- Bug fixes (some optional for backwards-compatibility)
- Partial internal code cleanup
2024-11-08 12:28:39 -08:00
StavWasPlayZ
bdbde4bb0f
Fix PlayerRenderer#render invoking RenderLivingEvent and not RenderPlayerEvent ( #10167 )
2024-11-07 20:03:37 -08:00
LexManos
e2a68ad903
Fix Powered Rails acting like Activator Rails due to misaligned patch
2024-11-06 23:38:09 -08:00
LexManos
46cfe50108
Properly allow normal mods.toml mods to specify the module names and use a full module-info.
...
Make FMLModContainer read and apply Add-Opens and Add-Exports manifest entries from mod files.
Forge is now the `net.minecraftforge.forge` module instead of `forge`
https://forums.minecraftforge.net/topic/153333-proper-java-module-support-in-forge-mods/
2024-11-04 16:55:10 -08:00
LexManos
4b423a3087
Fix LootTableLoadEvent not being fired. Closes #10144
2024-10-28 16:08:03 -07:00
LexManos
7d0b07e858
Fix items with use durations of 0 being repeatedly used when use button is held down. Fixed #10150
2024-10-28 14:54:39 -07:00
yurisuika
40220600b0
Add AT for BlockEntityType constructor. ( #10149 )
2024-10-27 18:05:19 -07:00
Jonathing
0c7a0e927c
Add c:stripped_logs and c:stripped_woods tags ( #10146 )
2024-10-27 02:36:36 +00:00
Jonathing
60e8157b9a
Bump CoreMods and ASM ( #10145 )
...
CoreMods 5.1.13 changelog: https://gist.github.com/Jonathing/905d142447ecef670526ae27243adbba
2024-10-27 02:34:06 +00:00
Paint_Ninja
b8f5e4553b
Remove redundant rendering options ( #10140 )
2024-10-26 20:24:18 +01:00
Ven
de587eb50a
Fix pause menu having a black background, reverts PR #10115
2024-10-26 12:22:19 -07:00
LexManos
086bcb7148
1.21.3 update
2024-10-25 18:04:34 -07:00
Joseph T. McQuigg
c22589b5b3
Add c:foods/pie tag ( #10135 )
...
Replaces `forge:foods/pie`, which is now deprecated.
2024-10-17 18:40:33 +01:00
Paint_Ninja
e0fbab3c49
Fix back-compat with legacy forge: tags ( #10126 )
2024-10-14 20:23:09 +01:00
Paint_Ninja
7cfed38194
Implement the de-facto common tags, add many new Forge tags ( #9955 )
...
https://forums.minecraftforge.net/topic/152815-common-tags-in-forge/
2024-10-13 14:38:37 +01:00
Joseph T. McQuigg
b8105ca5a6
Patch BlockEntity.java to use getType Method ( #10124 )
2024-10-10 09:56:17 -07:00
LexManos
c3ee633897
Fix and cleanup RuntimeDistCleaner
2024-10-08 14:31:17 -07:00
LexManos
23b41ce9b3
Sync component registry ids
...
Fix deprecation typo
Bump ModLauncher (better stack traces)
Set Automatic-Module-Name
2024-10-07 17:26:13 -07:00
StavWasPlayZ
2c6156be25
Fix layering of translucent sprites being broken by re-adding blur call Mojang removed ( #10115 )
2024-09-17 08:13:30 -07:00
Tygyh
eeb3eb3689
Cleanup length and size checks ( #10108 )
2024-09-12 14:14:19 +01:00
Tygyh
44a158a714
Update vulnerable eclipse dependency ( #10109 )
2024-09-12 14:14:01 +01:00
LexManos
770298b1d5
Add and fire SystemMessageReceivedEvent
...
Replaces ClientChatReceivedEvent.System which was not fired due to Mojang changing ChatType to a registry.
2024-09-11 11:10:41 -07:00
LexManos
7bd50903a6
Fix highlighted item tooltip rendering twice. Closes #10112
2024-09-11 10:18:49 -07:00
Michael Bunting
64295d04ff
Fix Network hooks not being initialized on GameTestServer ( #10081 )
...
Add rudimentary custom networking tests.
2024-09-11 09:57:17 -07:00
Michael Bunting
f168ce4499
Fix inverted logic in TagEmptyCondition ( #10069 )
2024-09-04 12:19:15 -07:00
RealMangoRage
419c349a1f
[1.21.1] Optionally supply FMLJavaModLoadingContext as a param to mod constructors ( #10074 )
...
Also made `FMLJavaModLoadingContext` extend `ModLoadingContext`. See the PR description for example usage.
2024-08-25 21:38:31 +01:00
Martijn van den Brand
26d0f7282f
Fix issues with QuadBakingVertexConsumer and Forge's OBJ loader ( #10065 )
2024-08-22 17:26:44 -07:00
Martijn van den Brand
93c72d2d92
Fire OnDatapackSyncEvent when a player joins a server ( #10076 )
2024-08-22 14:37:39 -07:00
RealMangoRage
f252871322
Add a few Method Helpers onto ResourceKey to make getting Data Driven Entries Simpler ( #10071 )
2024-08-17 20:50:07 -07:00
LexManos
32c8597305
Fix network channels not initializing during server transfers. Closes #10067
2024-08-17 13:04:02 -07:00
Paint_Ninja
9714512c31
[1.21.1] ModLoading cleanup and optimisations ( #10052 )
2024-08-16 22:49:11 +01:00
Yeregorix
f106ff0c21
Properly ignore unknown mod files ( #10063 )
2024-08-14 02:17:09 -07:00
LexManos
9c85a6bb64
Add level access to Item.TooltipContext if available.
2024-08-09 19:39:00 -07:00
LexManos
dc594f196a
Load mods that declare explicit 1.21 compatibility as 1.21.1 is a minor bugfix.
2024-08-08 14:01:31 -07:00
LexManos
db4d8a4729
1.21.1
2024-08-08 13:40:50 -07:00
andan42
0ca1d0ebd0
Removed unneeded boat patch related to MC-119811 ( #10061 )
2024-08-07 21:49:40 -07:00
LexManos
4995902bc0
Fix network sync of custom datapack registries.
...
Add gametest to verify that it functions.
2024-08-05 13:30:14 -07:00
James Mitchell
28e55b2843
Add a way to render tooltips from Formatted text and TooltipComponents elements ( #10056 )
2024-08-04 19:25:23 +01:00
LexManos
decaace84a
Fix custom creative tabs with search listing all items instead of just their own.
2024-08-01 17:21:35 -07:00
Joseph T. McQuigg
72f98dc4a3
Patch CropBlock to use instanceOf FarmBlock check instead of hard coding to Blocks.FARMLAND ( #10044 )
...
Signed-off-by: Joseph T. McQuigg <[email protected] >
2024-07-26 13:06:07 -07:00
LexManos
2951c1dac8
Fix ItemStack sensitive getDefaultAttributeModifiers not being called.
2024-07-25 16:01:53 -07:00
LexManos
40a0a16db0
Add missed @user_jvm_args.txt to run.bat
2024-07-25 16:00:04 -07:00
Martijn van den Brand
520680b037
Fix onPlaceItemIntoWorld always resetting item stack when in creative mode ( #10047 )
2024-07-18 12:43:11 -07:00
Martijn van den Brand
2844bead6e
Fix matrix stack translations for RenderHighlightEvent ( #10050 )
2024-07-17 20:17:33 -07:00
LexManos
d498ec4a45
Fix Global Loot Modifier deserialization not having registry access. Closes #10042 and #10043
2024-07-10 11:46:23 -07:00
LexManos
e2d1ca7d0e
Bump Mixin to 0.8.7 and allocate more ram to java compile tasks.
2024-07-08 13:11:00 -07:00
Paint_Ninja
a547327c61
Use the new fire() and Result#isAllowed/isDenied/isDefault methods from EventBus ( #10028 )
2024-07-06 11:35:37 -07:00
LexManos
e9a7ce9544
Some build cleanup
2024-07-02 10:25:49 -07:00
LexManos
511be6415c
Make HangingSignBlockEntity useable with custom BlockEntityTypes. #10038
2024-07-02 10:25:35 -07:00
LexManos
4d85053a4d
Send last PoseStack pos to RenderLevelStageEvent AFTER_PARTICLES stage. Fixes #10031
2024-07-02 10:12:16 -07:00
Jonathing
4fcf1877c1
Fix compile errors in MDK ( #10029 )
2024-06-24 11:52:00 -07:00
LexManos
41fd15fc57
Fix converting dirt to mud consumes whole bottle (not just emptying) Closes #10027
2024-06-21 13:34:37 -07:00
LexManos
8e0845d032
Add support for named sub-caps
2024-06-19 15:30:46 -07:00
LexManos
c04e533a61
Fix conditional checking swallowing decoding errors when loading registry entries from datapacks. Fixes #9995
2024-06-19 15:09:37 -07:00
LexManos
54f4997f71
Apply license headers
2024-06-19 12:54:22 -07:00
LexManos
3272e995ab
Some code cleanup in ModInfo/ModFileInfo to use less streams and make things easier to debug.
2024-06-18 11:47:11 -07:00
LexManos
8edb551571
Bump NightConfig to 3.7.3, to fix toml sub-configs being completely broken. Fixes #10015
2024-06-18 11:46:34 -07:00
LexManos
4bf0de4763
Make ForgeSpawnEgg assume color is opaque if alpha is set to 0.
...
Fixes "invisible" spawn eggs by default, but still allows modders to specify partial transparency.
2024-06-18 11:45:13 -07:00
vicmatskiv
f6a54436b9
Fixed perspective rendering in SeparateTransformsModel ( #10014 )
2024-06-17 15:55:22 -07:00
Gabriel Harris-Rouquette
7a497cdbd6
Fix missed PartEntity patch in Player.attack ( #10011 )
2024-06-16 19:05:01 -07:00
thedarkcolour
06336a40d8
Choose default JarJar mod file type based on parent JAR Closes #9939
2024-06-14 09:50:05 -07:00
Ven
842c95cfb9
Fixed falling block entities not rendering as moving blocks ( #10006 )
2024-06-14 09:03:14 -07:00
LexManos
aa2f471e87
Bump Night Config, Should fix #9122
2024-06-14 08:37:07 -07:00
LexManos
4209d1fc12
Fix ClientTickEvent not firing properly.
2024-06-13 17:13:15 -07:00
LexManos
583f363b6b
Change tick event to have pre/post classes ( #9890 )
2024-06-13 15:15:04 -07:00
LexManos
1c633b4624
Fix Bogged and Wolf armor not being shearable by custom shears. Closes #10005
2024-06-13 14:21:30 -07:00
LexManos
2677511da6
Set team city branch
2024-06-13 14:20:03 -07:00
LexManos
387441c045
Remove Non-HolderLookup methods from INBTSerializeable and mark it as deprecated in favor of using Vanilla's new Component system. Closes #9998
2024-06-13 13:17:03 -07:00
4a2db246e0
1.21 Update
...
Co-authored-by: RealMangoRage <[email protected] >
Co-authored-by: Daniel Norris <[email protected] >
Co-authored-by: Ven <[email protected] >
2024-06-13 10:42:32 -07:00
Paint_Ninja
3d9e12a71d
Cleanup FML Bindings ( #10004 )
2024-06-05 09:57:42 -07:00
LexManos
cdeb786877
Fix NPE when calling ForgeHooks.getDefaultCreatorModId(ItemStack) on Spawn Eggs. Closes #10002
2024-06-04 15:48:07 -07:00
LexManos
ff7085b95b
Fix boat travel distance being incorrect. Closes #9997
2024-06-03 17:31:51 -07:00
LexManos
16dde4d551
1.20.6 RB 1
...
https://forums.minecraftforge.net/topic/149458-forge-501-minecraft-1206/
2024-06-03 13:15:55 -07:00
Paint_Ninja
60661350c6
Fix minor typo in MDK build.gradle
2024-06-03 20:53:10 +01:00
LexManos
7ee4a44c75
Fire EntityInteractSpecific on server side. Closes #9984
2024-06-03 12:33:53 -07:00
LexManos
f22894cf70
Unlock wrapped registries when firing register events.
2024-06-03 12:31:59 -07:00
Paint_Ninja
a3fce36942
Update Bootstrap to improve the Java version check error message ( #9990 )
2024-05-30 23:51:44 +01:00
Paint_Ninja
549dbe7df4
Minor cleanup to ModListScreen and VersionChecker ( #9988 )
2024-05-30 23:51:25 +01:00
Daniel Norris
5505e472aa
Prevent the @OnlyIn being misused on @EventBusSubscriber and @Mod annotated classes ( #9891 )
2024-05-30 23:51:09 +01:00
Mysticdrew
c2c7f9b656
Fix CustomizeGuiOverlayEvent.DebugText and CustomizeGuiOverlayEvent.Chat not being fired. ( #9982 )
2024-05-24 08:33:52 -07:00
LexManos
fd8a0f9c8b
Actually fix creative tab count, IDE didn't save the file before regenning patches.
2024-05-23 09:08:51 -07:00
LexManos
0ac873e296
Move Creative Inventory page count to fix issue with partially transparent tooltips. Closes #9983
2024-05-22 12:14:38 -07:00
LexManos
38b5b678cb
Make OpenContainer and SpawnEntity packets process on main game thread.
2024-05-21 11:02:44 -07:00
LexManos
9a2bc1e7c2
Add File.exists check to ConfigFileTypeHandler. Closes #9976
2024-05-21 11:02:43 -07:00
RealMangoRage
95b49bedbc
Fix crash when reloading a world that uses custom placed features. Closes #9979
2024-05-20 23:23:45 -07:00
LexManos
7c36115e3d
Fix NPE in HurtByTargetGoal when mods set targets to null. Closes #7853
2024-05-20 16:21:17 -07:00
R0b0Li0n
c037e6aca1
Fix RenderHandEvent firing with incorrect hand and item for offhand items. ( #9977 )
2024-05-20 11:50:09 -07:00
Mysticdrew
e8f1b7ed6d
Fix screen layering and re-add the test. ( #9978 )
2024-05-20 11:49:41 -07:00
RealMangoRage
5da16e6719
Add GatherComponentsEvent ( #9944 )
2024-05-14 23:02:58 -07:00
LexManos
f0a82d79a6
Fix powered rails not propogating correctly.
2024-05-14 22:43:27 -07:00
LexManos
2b3a4137e1
Remove ICustomPacket and add PayloadChannel. ( #9972 )
...
New PayloadChannel that uses the vanilla payload Type for packet distinction
Implement the minecraft:register/unregister channels using the new PayloadChannel
New generic channel builder function allowing people to implement channels however they want.
2024-05-14 08:36:42 -07:00
LexManos
640c206117
Implement entity aware armor model and texture hooks. Closes #9960
2024-05-12 17:07:45 -07:00
LexManos
59a7bbdb57
Fix finalizeSpawn's return value not being used correctly. Closes #9964
2024-05-12 13:48:20 -07:00
LexManos
be7ad14b4b
Fix Biome patch change that caused our field redirect coremod to not function correctly.
2024-05-12 11:21:49 -07:00
LexManos
c700b4ea9d
Make RegistryObject.getHolder lazy, Should help cases where vanilla registries use holders from other vanilla registries. Closes #9961
2024-05-12 10:53:10 -07:00
LexManos
dffa3dd4c9
Ignore jar files in the mods folder that are not Forge mods. Closes #9968
2024-05-12 03:36:22 -07:00
LexManos
4b934809c4
Fix canceling MobSpawnEvent.FinalizeSpawn causing a NPE closes #9971
2024-05-11 23:05:19 -07:00
LexManos
ddf76db9b3
Fix potion brewing having arguments reversed. Closes #9970
2024-05-10 14:55:38 -07:00
LexManos
64d6b4f76a
Fix Melons/Pumpkins not growing correctly.
2024-05-10 10:39:13 -07:00
Paint_Ninja
58012bfb17
Some patch cleanup ( #9951 )
2024-05-09 18:07:41 +01:00
LexManos
0cad6b14d9
Filter paths discovered by ServiceProvider in ClasspathLocator. Closes #9899
2024-05-09 09:39:25 -07:00
8848294210
Update SimpleChannel to make StreamCodecs easier ( #9959 )
...
Rework networking so that RegistryFriendlyByteBuf is useable for modders
Simple support for StreamCodec in SimpleChannel
Codecify all Forge packets
Make simpler builder pattern for SimpleChannel. Will eventually deprecate the old MessageBuilder as it's verbose and poorly written.
Co-authored-by: MrCrayfish <[email protected] >
Co-authored-by: Paint_Ninja <[email protected] >
2024-05-07 22:53:14 -07:00
LexManos
0e28336fc0
Fix shields not working correctly. Fixes #9966
2024-05-06 18:56:20 -07:00
LexManos
968fa9eeb5
Fix RenderTarget stencil patch location. Fixes #9965
2024-05-06 09:33:27 -07:00
EnZaXD
43768ea328
Add ModelLayers patch back ( #9962 )
2024-05-05 09:15:05 -07:00
LexManos
0e829630da
Fix canApplyAtEnchantingTable null pointer, Closes #9956
...
Bump SecureModules for package info and multi-release jar fixes.
2024-05-03 14:10:17 -07:00
Paint_Ninja
0467d71466
Remove zombie chance config options ( #9950 )
2024-05-01 22:27:28 +01:00
Paint_Ninja
115eb5e4c8
Remove deprecated compressLanIPv6Addresses config option ( #9949 )
...
LAN IPv6 addresses are always compressed these days, so this config option is redundant
2024-05-01 22:27:16 +01:00
LexManos
a7345372fd
Fix custom payloads not being handled on the server in the game state. Closes #9948
...
Fix villagers not opening trade guis. Closes #9946
2024-05-01 13:16:41 -07:00
LexManos
bd714b2f76
Fix MDK by bumping FG and disabling reobf tasks
...
Fix LAN server IPs being duplicated
Fix connecting to vanilla servers due to misapplied patch.
2024-05-01 11:28:43 -07:00
7b782e5b05
1.20.6 Initial Update
...
New Decompiler
Runtime Official mappings
ItemStacks arnt Capability providers anymore, use Vanilla's system.
Co-authored-by: RealMangoRage <[email protected] >
Co-authored-by: Paint_Ninja <[email protected] >
2024-04-30 11:42:52 -07:00
Paint_Ninja
e1fa61080a
Make non-Forge mods.toml detection more robust ( #9935 )
2024-04-25 22:36:56 +01:00
Paint_Ninja
381998c35c
Fix early window crash when parsing some forms of options.txt ( #9933 )
2024-04-19 21:39:23 +01:00
Paint_Ninja
11ed2500a6
Fix edge-case regression with single-jar multiloader mods ( #9931 )
2024-04-19 21:38:57 +01:00
J-RAP
a647237db4
Add ClientPauseChangeEvent ( #9905 )
2024-04-18 21:36:00 +01:00
Paint_Ninja
e0dccae041
Improve mod loading errors ( #9870 )
2024-04-18 20:02:41 +01:00
Paint_Ninja
e7a5c58907
Early display fixes/workarounds for buggy drivers ( #9921 )
2024-04-18 20:02:18 +01:00
oldkingOK
e094eee54d
Prevent registering null tiers ( #9895 )
...
Makes it easier to identify broken mods, as it moves the crash to when the broken mod in question registers the tier, rather than when any mod tries getting the tier.
2024-04-15 14:49:03 +01:00
Paint_Ninja and blockingHD
a6adc58655
Add helper method to OnDatapackSyncEvent ( #9901 )
...
Co-authored-by: blockingHD <[email protected] >
2024-04-15 14:47:45 +01:00
J-RAP
d31ea640f9
Fix NPE when acceptableValues in defineInList() does not allow nulls, fixes #9300 ( #9903 )
2024-04-13 12:47:35 +01:00
J-RAP
8e16765438
[1.20.x] Add ByteValue, ShortValue and FloatValue to ForgeConfigSpec, cleanup code ( #9902 )
2024-04-13 12:42:31 +01:00
Joseph T. McQuigg
73b0088cb4
Add Leaves method to ModelProvider.java ( #9887 )
2024-04-04 13:53:55 +01:00
LexManos
203fbbb742
Bump bootstrap
2024-03-18 18:31:29 -07:00
LexManos
46d78c8210
Fix level data not loading from existing worlds. Whole system needs a re-write.
2024-03-18 18:15:39 -07:00
LexManos
cfba4381b6
Fix modlist size
2024-03-18 18:09:37 -07:00
LexManos
7113701322
Bump Bootstrap
2024-03-18 17:45:58 -07:00
Paint_Ninja
73e02c6add
Optimize Entity capabilities a bit by reordering conditions ( #9886 )
2024-03-16 17:16:11 -07:00
Paint_Ninja
7f2b85d2ff
[1.20.x] Make common config screen registration tasks easier ( #9884 )
2024-03-10 21:27:57 +00:00
Paint_Ninja
099d121c2c
[1.20.4] Add CPU usage config option to early window, hide it by default ( #9866 )
2024-03-10 21:10:06 +00:00
Luis
a6978eed68
Fix DatapackBuiltinEntriesProvider issues with forge registries, Fixes #9874
2024-03-01 13:26:00 -08:00
Luis
309116520b
Readded DatapackBuiltinEntriesProvider ( #9848 )
2024-02-15 14:04:51 -08:00
Paint_Ninja and Dennis C
3e358acbe1
Fix slightly offset mods screen link positioning ( #9860 )
...
Co-authored-by: Dennis C <[email protected] >
2024-02-15 14:04:05 -08:00
LexManos
c243adf6aa
Fix DNS SRV record lookup not working by hacking the module system. Closes #9846
2024-02-12 13:46:29 -08:00
LexManos
5d0047753d
Add null check to DimensionDataStorage. Fixes #9859
2024-02-02 12:50:09 -08:00
LexManos
aa6f268c74
Fix cases where LivingConversionEvents were not fired for vanilla conversions. Closes #9850
2024-01-29 13:13:28 -08:00
LexManos
d21556a4da
Update licenser plugin, and re-run it. Closes #9855
2024-01-29 12:27:45 -08:00
LexManos
d4c998e311
Fix background music looping when it shouldn't
2024-01-29 12:16:46 -08:00
LexManos
25727a0e93
Fix Criterion Test Mod
2024-01-29 12:16:21 -08:00
Paint_Ninja
80286594c5
Improve help text on server Java check failure
2024-01-20 00:28:02 +00:00
Paint_Ninja
870e3ebcab
[1.20.4] Restore the option of server run scripts ( #9849 )
...
Executable server jar is still a thing, but the run scripts are restored as an option for those that prefer it.
2024-01-19 20:55:00 +00:00
Paint_Ninja
a4c26c9b2b
[1.20.x] More buildscript clean-up ( #9845 )
2024-01-19 20:54:15 +00:00
Mostafa Mabrok
45b00b0004
Fixed Spelling error in credits.txt ( #9694 )
2024-01-09 11:42:01 -08:00
LexManos
4b1c5ddb2c
Bump JarJar to fix more issues with UnionFileSystem assumptions.
2024-01-09 11:41:20 -08:00
DBotThePony
0966109602
Criterion test mod + unit test ( #9744 )
2024-01-09 11:40:02 -08:00
LexManos
b31006534a
Fix launcher version name missing - between forge and the version. Closes #9843
2024-01-08 13:43:46 -08:00
LexManos
740a5d5039
Bump JarJar and SecureModule to fix issue with jars containing [] in their name. Closes #9842
2024-01-08 13:42:36 -08:00
LexManos
817e20821d
Only add sorted/deduplicated mods to the classpath.
...
Fixes some mods causing the Forge error displays to break. Closes #9833
2024-01-02 12:51:57 -08:00
Paint_Ninja
fdb22d02cc
Improve server panel compatibility ( #9836 )
2023-12-30 20:56:18 +00:00
Paint_Ninja
f09fd1f05b
Make common DisplayTest registration tasks easier ( #9822 )
2023-12-27 08:57:02 -08:00
LexManos
ed2ba0f52c
Cleanup Explosion patch but keep bin compatibility by using asm hacks. Closes #9817
2023-12-21 11:22:31 -08:00
LexManos
b04118982f
Bump SecureModules, Closes #9820
2023-12-18 14:24:59 -08:00
LexManos
d44d0b8edc
Support pack overlay system. Closes #9818
2023-12-13 14:42:49 -08:00
LexManos
6d7fda6a9b
Fix Server bundle
2023-12-11 21:27:32 -08:00
Paint_Ninja
0303ca651e
Optimise ForgeConfigSpec and make Range public ( #9810 )
2023-12-11 13:10:53 -08:00
Paint_Ninja
8445f73b2d
Add clientSideOnly feature to mods.toml ( #9804 )
2023-12-11 13:10:33 -08:00
Paint_Ninja
c7446a5180
Add impl. of IModFileInfo#showAsDataPack ( #9802 )
2023-12-11 13:08:50 -08:00
LexManos
5c15aa3322
Get rid of LibraryFinder
2023-12-11 12:27:23 -08:00
LexManos
588466f5e4
1.20.4 - Minor bug fix from Mojang
2023-12-07 11:35:53 -08:00
LexManos
470f03b2f9
Fix java version check in bootstrap shim
2023-12-06 16:29:53 -08:00
LexManos
d2367d81fc
1.20.3 Initial Update
...
https://forums.minecraftforge.net/topic/139822-forge-490-minecraft-1203/
2023-12-06 10:38:20 -08:00
LexManos
6f9f0f0cfa
Revive executable jars for the dedicated server
...
This has a minor change to development time build scripts. So developers, check the MDK
2023-12-06 10:33:58 -08:00
LexManos
16defac82e
1.20.2 RB 1 - https://forums.minecraftforge.net/topic/139824-forge-481-minecraft-1202/
2023-12-06 10:21:59 -08:00
J-RAP
16483d4ea1
Implemented ClientPauseEvent/Hook ( #9782 )
2023-11-30 17:55:34 -08:00
J.T. McQuigg
28909812bb
Datagen addOptionalTag/s methods that allow passing the TagKey itself instead of passing the location ( #9807 )
2023-11-29 19:27:54 -08:00
LexManos
e5580b84b7
Deprecate EntityRenderersEvent.AddLayers functions that hard case to LivingEntityRenderers as the backing maps do not guarantee that type. Closes #9683
2023-11-28 20:55:20 -08:00
LexManos
607ca5beea
Fix TagLoader error not printing tag name correctly. Closes #9693
2023-11-28 19:31:20 -08:00
LexManos
744906e33a
Fix LoadingErrorScreen inner headers are not centered. Closes #9687
2023-11-28 19:26:56 -08:00
LexManos
c1557ec3c2
Rework KeyModifiers system to properly allow keybinds to be triggered when multiple modifiers are pressed.
...
Fix setting keybinds whel using keyboard inputs to select the menu. Closes #9793
2023-11-28 19:10:07 -08:00
LexManos
4ac1a3dedf
Fix KeyModifiers not being properly taken into account. Closes #9806
2023-11-28 16:16:00 -08:00
Paint_Ninja and embeddedt
a26f952212
Don't turn off VSync when rendering from Minecraft context ( #9800 )
...
Co-authored-by: embeddedt <[email protected] >
2023-11-26 16:57:01 -08:00
Paint_Ninja and embeddedt
83ee68c0b0
[1.20.x] Fix rare crash with early display window, fixes #9673 ( #9798 )
...
Co-Authored-By: embeddedt <[email protected] >
2023-11-26 16:23:46 -08:00
DBotThePony
a5ff932125
Move Chunk Watch/Unwatch events to fire after sync packets have been sent to the client ( #9790 )
...
This makes sure that modders who send extra chunk data will have clients who know about the chunk.
2023-11-17 08:45:55 -08:00
LexManos
0d820eddd4
Add more sanitization to the ChannelListManager because other projects like to impose arbitrary critical restrictions. Closes #9789 #9772
2023-11-15 09:09:18 -08:00
LexManos
83c651ce39
Fix tag loading being unordered. Closes #9774
2023-11-13 08:50:16 -08:00
Lupicus
7cd88944d4
Fix texture UV values for obj models. Closes #9737 ( #9767 )
2023-11-10 15:56:38 -08:00
Paint_Ninja
dff52ecd71
Gradle 8.4 ( #9778 )
2023-11-10 11:51:08 -08:00
DBotThePony
da34d97d9d
Make Ingredient check for invalidation on getItems(), invalidate ingredients on tags update ( #9688 )
2023-11-07 21:53:27 -08:00
Paint_Ninja
a27405b8d1
Improve mod description formatting in mods screen ( #9768 )
2023-11-02 10:53:17 -07:00
LexManos
7a443276a5
Fix lowcode implementation version, now that it's actually labeling the correct package.
2023-10-24 23:13:26 -07:00
LexManos
e34090c809
Buildscript cleanup and organization.
...
Updated to use newer libraries that reduce the command line arguments needed to run the game.
Fix issues in the SecureModule's classloader that caused resources to not be seen when they are on parent module layers.
2023-10-24 16:24:13 -07:00
LexManos
72e8ae252c
Fix @GameTestGenerator not functioning correctly. Closes #9748
2023-10-23 11:37:51 -07:00
Paint_Ninja
347c480bdc
Optimise registries by using fastutils collections to minimize boxing. ( #9749 )
2023-10-14 10:14:03 -07:00
Paint_Ninja
e0b9474621
Minor MDK changes ( #9750 )
2023-10-14 09:38:49 -07:00
Paint_Ninja
8ad1e899a3
Improve mod loading error message for errors inside mod constructors ( #9751 )
2023-10-14 09:38:29 -07:00
The_Dead_2
3b6bb5edbc
Add a CrashReportAnalyser that tries to identify the mod that crashed the game ( #9732 )
2023-10-14 09:38:14 -07:00
LexManos
c4e7d694c1
Fix potential threading issue when registering CriteriaTriggers. Closes #9745
2023-10-12 22:31:35 -07:00
LexManos
e00de1a326
Move to a cache based crowdin solution instead of hitting the api every build.
2023-10-12 22:30:48 -07:00
LexManos
e9ee999558
Fix Melon/Pumpkin stems having wrong plat type causing them to remain after trampling farmland. Fixes #9495
2023-10-11 22:54:55 -07:00
LexManos
a1aacf25fe
Fix loot tables not having their ids set.
2023-10-10 23:41:21 -07:00
LexManos
0c2f3e5523
Make horses and llama's fire LivingFallEvent. Fixes #9743
2023-10-09 11:33:39 -07:00
LexManos
a6978cffbf
Fix advancement screen being too dark. Fixes #9727
2023-10-09 11:14:52 -07:00
LexManos
2332ecf984
Fix ConditionalCodec having an inverted test. Closes #9742
...
Remove clean project on CI.
Bump FG version to fix transitive issue on module path.
2023-10-08 13:13:17 -07:00
LexManos
9cd73c84a6
More buildscript work
...
Fixed ignoreList for client and server.
Lazy configured a few more tasks
Fixed early loading screen hardcoded names.. why?
2023-10-07 12:41:16 -07:00
LexManos
ab544a78d3
Bump guava to module path for jimfs. Fixes dedicated server.
2023-10-07 01:01:12 -07:00
LexManos
5b0abf97c8
Revive custom ingredient types.
2023-10-06 21:14:04 -07:00
LexManos
587b684035
Revive ConditionalRecipe and ConditionalAdvancement.
...
Also directly add conditional support to all vanilla recipe data generators.
2023-10-06 21:01:03 -07:00
LexManos
90dafb0df0
Rewrite our GameTest hooks to be sane.
...
Add game test to GlobalLootModifierTest which validates the smelting modifiers.
Removed FakePlayer system, it's broken and needs a major rewrite.
2023-10-06 21:01:02 -07:00
LexManos
aff05a4cf3
Cleanup FMLLoader and Launch Handlers.
...
Cleanup some of the build.gradle
Start work on restructuring test mods. They are now treated as their own jars, as well as having their mods.toml auto-generated. No more mods.toml conflicts!
Add pattern matching support to Data run modlist.
2023-10-06 21:01:01 -07:00
DavidQF555
1ddac54256
Fix Slot Index for Inventory Ticking Items ( #9736 )
2023-09-29 00:14:56 -07:00
LexManos
fcf9088aa5
Make default Entity.getAddPacket automatically use Forge's enhanced spawn packet if nessasary.
...
This spawn packet needs to be re-designed, it is effectively only there to hook into creating the new entity instance. This will be re-evaluated during the cleanup in 1.21+
2023-09-28 16:31:18 -07:00
Paint_Ninja and embeddedt
374dbc7a4b
Optimise path filter in mod loading ( #9710 )
...
Co-authored-by: embeddedt <[email protected] >
2023-09-28 14:26:43 -07:00
Jonathan Colmenares
d25ba7adc8
Fix ignitedByLava making blocks permanently flammable ( #9735 ) Fixes #9730
2023-09-27 23:11:48 -07:00
LexManos
05c88ae33a
Some BackgroundScanHandler code cleanup. Closes #9713
2023-09-27 23:08:50 -07:00
LexManos
e2d564d32a
Fix missed patch causing new onInventoryTick method to not be called.
2023-09-27 16:38:29 -07:00
Lubyanoy Ivan
225092130e
Fixed PlayerDestroyItemEvent not triggering for Fishing Rods ( #9729 )
2023-09-26 10:45:34 -07:00
RealMangoRage
eefca22aa3
Fix migration error causing nether and end portals to not function properly.
2023-09-24 09:57:15 -07:00
Paint_Ninja
19bbb88e52
Optimise ForgeRegistry#validateContent by removing optimization that ModLauncher broke. ( #9715 )
2023-09-24 09:56:35 -07:00
Martijn van den Brand
18886e5128
Fix double message encoding in Channel#toVanillaPacket #9721 ( #9722 )
...
Fix OpenContainer message not resetting reader index of additional data.
2023-09-23 12:12:46 -07:00
LexManos
47dfa83cff
Make CriteriaTriggers#register public again. Closes #9723
2023-09-23 12:04:50 -07:00
LexManos
0940c532f2
Fix Hunger bar rendering incorrectly. Fixes #9725
2023-09-23 12:04:49 -07:00
LexManos
d80f106140
Send known channels to the server when they send us theirs.
2023-09-21 16:25:51 -07:00
LexManos
516b35ce57
1.20.2 Release
2023-09-21 11:28:37 -07:00
LexManos
be60ddbfca
Enable ForgeLootTableProvider.
2023-09-20 17:46:22 -07:00
LexManos
af6e848227
Global Loot Modifiers
2023-09-20 15:24:46 -07:00
LexManos
dd139115ed
Move old tests.
2023-09-20 15:24:15 -07:00
LexManos
145df60bec
1.20.2-rc2
2023-09-18 10:53:24 -07:00
LexManos
f7cca8fb88
1.20.2-rc1
2023-09-15 12:51:23 -07:00
LexManos
1f59b3f9fe
1.20.2-pre4
2023-09-13 15:15:42 -07:00
LexManos
084effdadf
1.20.2-pre3
2023-09-12 12:34:59 -07:00
LexManos
40a7998281
Use official mappings for in-repo patches, will be converted to SRG during build.
2023-09-11 14:47:34 -07:00
LexManos
4786fa6f89
1.20.2-pre2
2023-09-11 12:47:19 -07:00
LexManos
9291b865c7
Fix debug overlay text not rendering.
2023-09-11 11:36:45 -07:00
LexManos
52eca96fdc
Make SimpleChannel use a varInt for the discriminator allowing essentially unlimited packets.
2023-09-10 20:56:04 -07:00
LexManos
4649f7af36
Rewrite networking.
2023-09-10 20:27:15 -07:00
LexManos
3edefbe33e
1.20.2-pre1
2023-09-08 10:56:10 -07:00
Paint_Ninja and dhyces
12d24df4f6
Keep order of sources in PackRepository ( #9702 )
...
Co-authored-by: dhyces <[email protected] >
2023-09-02 16:21:06 -07:00
Paint_Ninja
e69f5e262a
Fix DelegatingPackResources searching resource path twice ( #9697 )
2023-08-30 14:10:17 -07:00
Paint_Ninja and malte0811
23cee57d88
Fix Level leak in debug HUD ( #9699 )
...
Co-authored-by: malte0811 <[email protected] >
2023-08-30 14:09:51 -07:00
Paint_Ninja
ab70bde1d6
Fix PlayerSpawnPhantomsEvent not being fired ( #9689 )
2023-08-11 10:42:31 -07:00
Meldexun
f65381fbff
Enhance LivingBreathEvent and LivingDrownEvent. Closes #9680
...
Also remove 3.5MB of useless data from the installer.
2023-07-24 14:42:24 -07:00
LexManos
b680d09359
Partially revert LazyOptional changes, now no longer internally uses weak references.
2023-07-22 08:57:25 -07:00
LexManos
7969daf81a
Make LazyOptional's internal references to invalidation listeners use WeakReference, and allow modders to unregister themselves. Closes #8805
2023-07-21 23:46:26 -07:00
LexManos
f157567d2a
Revert EntityEvent.Size changes to before #9018 was called. ( #9679 )
...
Kept newly added methods for binary compatibility but deprecated them all for removal.
The entire pose/eye/size system needs to be reevaluated and address some of Mojang's changes.
However this should fix any bugs that pulling that PR may of caused.
2023-07-21 23:44:01 -07:00
Kovak
93a615e900
Add a config option to restore the calculate all normals behavior in case some setups require old broken behavior. ( #9670 )
2023-07-19 14:46:05 -07:00
Kovak
7c84249996
Fix rounding errors on models with 45 degree normals by favoring one Direction ( #9669 )
...
Should fix flickering issues when breaking custom models and having our vanilla solution disabled.
2023-07-19 14:44:28 -07:00
RealMangoRage
881725c7d5
Moved ForgeHooksClient.onCreativeModeTabBuildContents to ForgeHooks to fix #9662
2023-07-19 11:18:45 -07:00
LexManos
2745531f08
Fix tag removal functionality that broke during the 1.19 update. Closes #9053 and #8949
2023-07-19 10:26:55 -07:00
LexManos
bcdd44aece
Replace string with forge tag in vanilla recipes. Closes #9062
2023-07-19 00:02:11 -07:00
LexManos
bad5b1b5d4
Fix new brain hooks not persisting active activities.
2023-07-18 23:50:27 -07:00
Kovak
30f255d76c
Fix breaking overlay flickering on campfires by using vanilla method to calculate block normals. ( #9664 )
2023-07-17 18:10:12 -07:00
LexManos
ebb316a15c
Cleanup usages of static imports and build script so that our build doesn't spam useless error like messages.
...
So that it is easier to see real errors.
Add compatibility checking to standard testing tasks.
2023-07-17 17:26:28 -07:00
LegoMaster3650
e6bb7eecbd
Added Action value to PlayerInteractEvent.LeftClickEvent to expose what action fired the event. #9175
2023-07-17 10:57:10 -07:00
Jonathan Colmenares
c66f70d6c2
Fix parameter names in IForgeDimensionSpecialEffects.adjustLightmapColors to better describe what they are. ( #9656 )
2023-07-17 09:38:05 -07:00
Jonathan Colmenares
26adf4da44
Re-add EntityEvent.Size methods to maintain bincompat
2023-07-17 07:50:18 -07:00
mgaray99
30d0a630d6
Added LivingMakeBrainEvent, to allow a consistent way for modders to manipulate entity Brains. #9292
2023-07-15 12:37:42 -07:00
JustRed23
00ad61b4ae
Add LivingSwapHandItemsEvent
2023-07-15 11:15:57 -07:00
brandon3055
09bc73d5cd
Fixed FluidUtil#tryFillContainer returning invalid result when simulating #9358
2023-07-15 10:51:17 -07:00
Jonathan Colmenares
1ee53c0464
Re-add in-game mod menu ( #9652 )
2023-07-15 10:45:34 -07:00
LexManos
16863c8d3b
Fix Entity eye height for multipart entities.
2023-07-15 10:45:21 -07:00
Random832
150e8281ae
Fix conflicting keybindings not having the correct click count set. #9360
2023-07-15 09:28:47 -07:00
Kovak
4385eb2155
Fix the Emissive Rendering for Experimental Light Pipeline ( #9651 )
2023-07-15 08:07:37 -07:00
RealMangoRage
5c40bef28e
Fixed AdvancementsScreen.java.patch buttons not rendering ( #9649 )
2023-07-14 19:06:17 -07:00
ChampionAsh5357
55aa419100
Properly Handle Fluid Updates while in a Boat #9428
2023-07-14 19:05:27 -07:00
SilverDavid
a4bef82836
New hook in IClientBlockExtensions to handle enabling tinting on breaking particles. #9446
2023-07-14 16:08:24 -07:00
LexManos
b741df5f18
Fix invalid index when ticking itemstacks in a player nventory by adding a new onInventoryTick event. Closes #9453
2023-07-14 15:42:13 -07:00
LexManos
0c81a71308
Make the FireworkShapes enum extensible ( Closes #9486 )
2023-07-14 14:01:32 -07:00
Technici4n
ea7f755a11
Add EmptyEnergyStorage ( #9487 )
2023-07-14 11:40:16 -07:00
Paint_Ninja
d947d35eb1
Support IPv6 address compression for logged IPs
2023-07-14 11:14:56 -07:00
Sara Freimer
5271ef79fe
Make item name rendering and status bar rendering respect additional gui overlays being rendered by mods ( #9648 )
2023-07-14 10:17:43 -07:00
Meldexun
b7131824f0
Fix EyeHeight event being fired twice ( #9647 )
2023-07-14 10:09:48 -07:00
DBotThePony
3e624db4f8
Add PlayerSpawnPhantomsEvent, utilized to block or forcefully allow PhantomSpawner to spawn phantoms ( #9644 )
2023-07-14 07:20:21 -07:00
Nathan
fc7af96bde
Fix creative mode screen not correctly using CreativeModeTab::getTabsImage ( #9627 )
2023-07-14 07:10:49 -07:00
Paint_Ninja
b1965db30b
Add option to advertise dedicated servers to LAN.
2023-07-14 05:58:10 -07:00
LexManos
8df5a80725
Fix entity eye height loop.
2023-07-14 05:57:50 -07:00
ChampionAsh5357
d9043298d3
Particle Description Data Provider.
2023-07-13 19:34:53 -07:00
Meldexun
e91ff9a5a6
Add LivingBreatheEvent and LivingDrownEvent ( #9525 )
2023-07-13 19:19:40 -07:00
Meldexun
77fb08713f
Fix entity size event not being fired, changed it to split eye height and size calculations. ( #9535 )
2023-07-13 19:16:17 -07:00
bconlon
2c965fac90
AlterGroundEvent for modifying block placement performed by AlterGroundDecorator ( #9637 )
2023-07-13 17:29:03 -07:00
JustRed23
2f229c5bb1
Change ProjectileHitEvent to return a result instead of being cancelable. Closes #9642
2023-07-13 17:21:13 -07:00
noeppi_noeppi
54b08d2711
Replace static import with regular one to fix S2S and non-official mappings. ( #9633 )
2023-07-11 11:26:02 -07:00
Su5eD
46f641a502
Add missing null check for TagsProvider#existingFileHelper ( #9638 )
2023-07-11 11:25:39 -07:00
Sara Freimer
6304cb655b
Add GuiGraphics helpers for blitNineSliced and blitRepeating that support specifying a custom texture size ( #9641 )
2023-07-10 22:03:47 +02:00
LexManos
27614b46a6
1.20.1 Recommended Build
2023-07-06 20:27:45 -07:00
LexManos
ca47813bfa
Fix FMLOnly loading. Closes #9609
2023-07-06 12:12:41 -07:00
Paint_Ninja
b15b84fd59
Improve logging for server connections ( #9618 )
2023-07-05 15:01:18 -07:00
cech12
97edac430d
Fix placing fluids into waterlogged blocks with FluidUtil::tryPlaceFluid. To behave more like vanilla MC-127110 ( #9586 )
2023-07-05 15:01:04 -07:00
Gegy
7b833faa46
Expose loaded RegistryAccess through AddReloadListenerEvent ( #9613 )
2023-07-05 15:00:12 -07:00
LexManos
93e4a7c649
Fix GLM applying to entities when killed. Closes #9551
2023-07-05 13:26:16 -07:00
Sara Freimer
ccbc697bad
Add unordered creative tabs after vanilla and perform a second level sorting of tabs by registry name to ensure tabs are ordered the same between game restarts ( #9612 )
2023-07-05 15:55:13 +02:00
cpw
77cd7043c9
Fix Early Loading window FPS snafu where it could spam ( #9619 )
...
unlimited screen updates. Probably a good way to gently toast an ancient laptop.
Signed-off-by: cpw <[email protected] >
2023-07-05 15:46:57 +02:00
Thomas Kain
c0fe1688d8
Make overloads consistent for defineListAllowEmpty in ForgeConfigSpec.Builder ( #9604 )
2023-07-03 17:28:37 -07:00
LexManos
72e2ae1d6f
Moved GameShuttingDownEvent hook to DedicatedServer class. Fixes #9601
2023-07-03 17:25:47 -07:00
LexManos
027f4d3d7b
Fix PitcherCropBlock not calling canSustainPlant, not allowing it to be placed on custom farmland. Close #9611
2023-07-03 17:25:01 -07:00
LexManos
47ed2ad401
Add null check to NetworkHooks.openScreen. Closes #9597
2023-07-03 17:24:26 -07:00
dhyces
b34275988c
Fix ShieldBlockEvent not correctly performing damaged functions when not all damage is blocked. ( #9615 )
2023-07-03 16:56:22 -07:00
LexManos
47a2e137ed
Add IP address to client disconnect message. Closes #9603
2023-07-03 16:54:40 -07:00
LexManos
063546c37d
Fix hotbar items not dimming when sleeping in bed. Closes #9616
2023-07-03 16:54:31 -07:00
LexManos
3733005839
Bump Eventbus to address NullPointerException when classloading things on some threads. Closes #9570
2023-07-03 16:53:15 -07:00
cpw
7d0330eb08
Try and be a bit nicer about handling bad [feature] definitions ( #9606 )
...
* Try and be a bit nicer about handling bad [feature] definitions - they're single square bracket defined and require strings for feature bound values.
* Some more tweaks to the feature system to output useful and well formatted error messages when bounds fail. Requires SPI 7.0.1 and the language string "fml.modloading.feature.missing" has changed.
* Use immutable lists where possible and generally tidy things a bit
2023-06-28 22:27:59 -04:00
Marc Hermans
4c978a510c
[HotFix]: Somehow not caught by CI, but there was an issue in the SpawnUtils to handle.
2023-06-27 15:20:08 +02:00
Sara Freimer
81f123fcab
Remove amount from FluidStack hashCode to fix the equal/hashCode java contract ( #9602 )
2023-06-27 13:57:34 +02:00
Paint_Ninja
a8dce04c1b
Add example usage for configs to the MDK ( #9596 )
...
Demonstrates proper usage of different config value types, validation, transformation/parsing, load/reload handling and direct field access.
2023-06-27 13:57:20 +02:00
Paint_Ninja
fa66faff6d
Demonstrate configureEach in run configs ( #9594 )
2023-06-27 13:57:08 +02:00
Paint_Ninja
18536c76ae
Reduce verbosity of prepareRuns doc in MDK ( #9593 )
2023-06-27 13:56:58 +02:00
Paint_Ninja
ad9b14e59c
Lazily configure MDK tasks, improve IDE support ( #9592 )
2023-06-27 13:56:42 +02:00
Sara Freimer
45e27c62e9
Fix not dropping xp for player sourced explosions and various other cases when xp should drop ( #9588 )
2023-06-27 13:56:28 +02:00
cech12
f1939ef144
add item handler capability to chiseled bookshelf ( #9587 )
2023-06-27 13:56:07 +02:00
Sara Freimer
a43be39137
Fix ignoring maxUpStep method overrides on entities ( #9583 )
2023-06-27 13:55:52 +02:00
Sara Freimer
9450dfd67c
Add missing damage type tag provider modid, existing file helper constructor overload ( #9581 )
2023-06-27 13:55:37 +02:00
Sara Freimer
a3af55f85b
Expose holder lookup registry provider as a helper in RegistriesDatapackGenerator ( #9580 )
2023-06-27 13:55:23 +02:00
Dennis C
9f858ef931
Fix gametest collection causing secondary crash in loading error state ( #9568 )
2023-06-27 13:55:06 +02:00
Sara Freimer
b5f5d1d848
Fix SpriteCoordinateExpander not working with chained methods (MC-263524) ( #9564 )
2023-06-27 13:54:51 +02:00
Sara Freimer
15878af658
Expose EntityRendererProvider.Context to AddLayers event ( #9562 )
2023-06-27 13:54:41 +02:00
Brennan Ward
2d8d6b2a0a
[1.20] Add events for checking spawn conditions (SpawnPlacementCheck and PositionCheck) ( #9469 )
2023-06-27 13:53:00 +02:00
cpw
7a25e83d34
Another tweak to the early display. We start a timer process while we create the window, in case it hangs. Also add a skip version config, to try and help in cases where the driver is stupid. ( #9595 )
2023-06-23 07:58:47 +02:00
Sara Freimer
8768c00f31
Auto generate names for modded loot pools. Fixes #9589 ( #9591 )
2023-06-22 11:56:47 -07:00
cpw
8c003dd965
More tweaks to the mod loading callbacks to make loading bars work better ( #9585 )
2023-06-22 20:36:09 +02:00
Sara Freimer
dadc55cb2d
Reimplement LootPool name patches and hooks ( #9573 )
2023-06-21 13:06:18 -07:00
Sara Freimer
83ab7656c9
Fix experimental lighting pipeline breaking vanilla's emissive rendering. Closes #9552 ( #9582 )
2023-06-21 20:30:36 +02:00
cpw
d26cdf0b55
Update early loading default configs to match standard expectations. ( #9577 )
...
Also allow a global override env variable for darkmode always. "FML_EARLY_WINDOW_DARK"
2023-06-20 14:06:16 -07:00
ChiefArug
e382ed526f
Add proper duplicate mod error message that includes the mod id(s) and mod files. ( #9474 )
2023-06-20 14:05:38 -07:00
Dennis C
9cf1a77fdb
Add missing stack tooltip rendering hooks ( #9533 )
...
Fix automatic tooltip wrapping discarding empty lines used as spacers
2023-06-20 14:05:06 -07:00
agnor99
5318d70c18
Add piston push reaction overrides to Block class ( #9538 )
2023-06-20 14:03:35 -07:00
Dennis C
060889656b
Fix missing calls to level-sensitive block SoundType getter ( #9553 )
2023-06-20 14:02:43 -07:00
Sara Freimer
c43c15932f
Fix forge registries that have wrappers/support tags not being in the HolderLookup Provider that is provided to the GatherDataEvent ( #9566 )
2023-06-20 14:02:20 -07:00
Sara Freimer
4d9df706b0
Make IItemDecorator a functional interface again. Fixes #9563 ( #9574 )
2023-06-20 14:02:11 -07:00
LexManos
af8900a748
Make 1.20.x the main TC branch.
2023-06-20 14:01:26 -07:00
Sara Freimer
439d07e403
Fix custom geometry in parent models not being resolved ( #9572 )
2023-06-20 17:36:22 +02:00
cpw
1ad8d48683
Make the scheduled thread factory setDaemon on it's threads. Should allow things to close properly if something deadly happens early on. ( #9575 )
2023-06-20 15:44:02 +02:00
cpw
031d008826
This is an early display window system for forge. ( #9558 )
2023-06-19 13:01:45 +02:00
cpw
551feaf019
fix the JIJ break by bumping SJH. apologies.
...
Signed-off-by: cpw <[email protected] >
2023-06-15 19:07:29 -04:00
cpw
032639b151
update libs ( #9565 )
...
Signed-off-by: cpw <[email protected] >
2023-06-14 22:30:36 -04:00
ChampionAsh5357
a32a06ce8a
Update Armor Layer Implementation to Match Vanilla ( #9547 )
2023-06-12 19:20:07 -07:00
LexManos
baa3098435
1.20.1 Update
2023-06-12 15:09:50 -07:00
SizableShrimp
1a413eeed2
Fix JAR compatibility checks for 1.20 ( #9556 )
2023-06-11 18:26:34 +02:00
SizableShrimp
497274fd93
[1.20] Add AFTER_LEVEL render level stage ( #9555 )
2023-06-11 12:28:55 +02:00
ChampionAsh5357
2eddcabdb7
Reorder overlay layers to match vanilla ( #9550 )
2023-06-10 12:01:33 +01:00
Dennis C
ce84ba86f0
Re-implement missing level-sensitive block light hook in ChunkAccess ( #9536 )
2023-06-10 09:13:29 +01:00
Dennis C
622c47c075
Fix issues in the deserialization of empty ingredients ( #9537 )
2023-06-09 14:49:13 -07:00
agnor99
7614e024ed
Fix wrong variable passed into EnchantmentClue lookup Fixes #9543 ( #9544 )
2023-06-09 14:48:53 -07:00
Dennis C
a4570cb22f
Fix incorrect depth test state in debug graph rendering Fixes #9534 ( #9539 )
2023-06-09 14:48:09 -07:00
ChampionAsh5357
76349744f7
Fix initCapabilities patch location in ServerLevel Fixes #9526 ( #9531 )
2023-06-09 14:47:38 -07:00
ChampionAsh5357
75d647615e
Use Spinning Effect Intensity instead of Partial Tick for Portal Overlay Fixes #9529 ( #9530 )
2023-06-09 14:47:05 -07:00
Matei M
8482714375
Fix getArmorModelHook patch, Fixex #9523 ( #9528 )
2023-06-09 14:46:26 -07:00
Mgazul
2d8a935695
Fix duplicate Map writes in PlayerList patch. ( #9521 )
2023-06-09 14:45:57 -07:00
LexManos
f6c13682d2
Fix Forge Version including MC version in MDK.
2023-06-09 14:45:07 -07:00
agnor99
18c3ea9625
Fix patch in light propagation ( #9532 )
2023-06-08 21:48:23 +01:00
SizableShrimp
09de4a2dcc
Attempt to fix jar signing
...
Gradle 8 is stupid and doesn't (easily) allow in-place tasks, so a temporary fix has been made in ForgeGradle 6
Signed-off-by: SizableShrimp <[email protected] >
2023-06-07 22:17:25 -05:00
d8c84e2949
Forge 1.20
...
- Creative mode tabs are now a registry; the `BuildContents` event was renamed to `BuildCreativeModeTabContentsEvent` and moved it to its own class
- The pack format is now 15 for both resource packs and data packs
- `ScreenUtils` was deprecated in favor of a `GuiGraphics` extension
- Forge and the MDK were updated to Gradle 8 and FG6
- The Forge common config file was removed (it only contained the deprecated old fields for resource caching, which was removed in 1.19.3)
- Registry dummy entries were removed
- `RemappingVertexPipeline` was fixed to forward the `endVertex()` call
- Forge tool tags were removed in favor of vanilla ones
Co-authored-by: ChampionAsh5357 <[email protected] >
Co-authored-by: coehlrich <[email protected] >
Co-authored-by: Dennis C <[email protected] >
Co-authored-by: Matyrobbrt <[email protected] >
2023-06-07 20:55:09 -05:00
LexManos
658e614dc1
1.19.4 Recommended Build
2023-06-07 12:08:15 -07:00
Apex
9abfcbc90b
Add method to GatherDataEvent to obtain collection of all input paths. ( #9499 )
2023-05-29 13:47:21 -07:00
Dennis C
6ee20899bf
Log error when Sheets is class-loaded before registration is completed ( #9475 )
2023-05-29 13:47:04 -07:00
Dennis C
42115d37d6
[1.19.x] Re-implement RenderTooltipEvent.Color ( #9497 )
...
* Reimplement RenderTooltipEvent.Color
* Formatting, comments, EXC
* Deprecate instead of replacing
2023-05-16 12:24:27 +02:00
Joseph B
8abe9b6b0c
Add API for registering custom world preset editors ( #9436 )
2023-05-14 15:53:34 -05:00
embeddedt
fc91dfd1d1
Remove unneeded extra reload of datapacks on world creation screen ( #9454 )
2023-05-14 15:52:57 -05:00
SizableShrimp
8cd6f2d237
Bump ASM to 9.5
2023-05-14 15:50:07 -05:00
SizableShrimp
f1702495ef
Fix crash when running server from root directory
...
Fixes #9498
2023-05-14 15:26:24 -05:00
Dennis C
2ab2ced589
Fix root transform matrix format, allow using all four root transform formats ( #9496 )
2023-05-12 11:20:01 -07:00
Apex
c8f9e59fef
Add missing AT lines to allow registering custom game rule boolean/integer types ( #9489 )
2023-05-10 09:27:10 -07:00
Brennan Ward and Brennan Ward
9a25527a54
[1.19.x] Fix SaplingGrowTreeEvent#setFeature being ignored in FungusBlock ( #9485 )
...
Co-authored-by: Brennan Ward <[email protected] >
2023-05-05 23:09:13 -05:00
SizableShrimp
ad6d11671e
Restore AccessibilityOnboardingScreen
...
Fixes #9488
2023-05-05 23:07:49 -05:00
Brennan Ward
3c93cd414d
Update documentation on FinalizeSpawn ( #9467 )
2023-05-05 10:26:41 -07:00
DBotThePony
2c243626f6
Fix fluids without sound event causing exception in tryFillContainer and tryEmptyContainer ( #9445 )
2023-05-05 10:26:28 -07:00
Technici4n
ae05036bb3
Make FakePlayerFactory respect the given ServerLevel ( #9479 )
2023-05-05 10:03:55 -07:00
Dennis C
3de22ffba3
Collect and log exceptions occurring in DeferredWorkQueue tasks ( #9449 )
2023-05-04 16:43:34 -07:00
matyrobbrt
e1bf07dece
Fix NamespacedWrapper#wrapAsHolder ( #9450 )
2023-05-04 16:42:02 -07:00
RealMangoRage
0ae63b0b07
Fixes ChatScreen calling .setScreen ( #9443 )
...
Fix test compile failures also.
2023-04-30 22:57:52 +01:00
matyrobbrt
d4f211b815
Determine the Forge version the PR was built against when running PR compat checks ( #9374 )
2023-04-24 10:59:56 -07:00
SizableShrimp
393b28d7bb
Add buildscript test to error on deprecated members that should of been removed. ( #9460 )
2023-04-24 10:59:37 -07:00
sciwhiz12
47c807c0e3
Remove erroneous brace patch in Inventory ( #9462 )
...
Fixes #9459
2023-04-23 13:24:20 +01:00
Dennis C
b398f52a7f
[1.19.4] Move root transform builder to ModelBuilder to allow use in ItemModelBuilder ( #9456 )
2023-04-20 09:27:30 +02:00
SizableShrimp
f2aeeeb1fe
Fix forge grindstone hooks allowing stacks of non-stackable items ( #9457 )
2023-04-20 00:19:35 -07:00
matyrobbrt
dcef406df8
[1.19.4] Fix FMLOnly ( #9415 )
2023-04-18 16:46:04 +01:00
Dennis C
01846c729a
Fix ItemLayerModel erroneously adding particle texture to layer texture list ( #9441 )
2023-04-07 08:16:17 +02:00
LexManos
e6aaaff3f3
Temporary fix for Canceling ProjectileImpactEvents of Piercing ammo.
...
Event needs to be re-worked to have finer control. #9370
2023-04-05 11:16:39 -07:00
Brennan Ward
d4836bc769
Fix dummy air blocks not being marked as air ( #9440 )
2023-04-03 15:04:34 -07:00
matyrobbrt
b5655b0ddc
Add support for splitting the login packet ( #9367 )
...
It contains full copies of data registries and can easily surpass vanilla's limits
2023-03-30 15:59:01 -07:00
Brennan Ward
d75d333e13
Remove Attack Range and Reach Distance and add Block Reach and Entity Reach ( #9361 )
2023-03-29 18:53:41 -07:00
ChampionAsh5357
f5e16aa353
Add default bucket sounds for milk ( #9432 )
2023-03-29 18:48:29 -07:00
LexManos
4e5eecac12
Deprecate Item.onUsingTick, as vanilla provides the same function in Item.onUseTick now. Closes #9342
2023-03-29 18:46:00 -07:00
Brennan Ward
a111073181
Fix ScreenEvent.Init.[Pre/Post] not working correctly ( #9431 )
2023-03-29 18:18:38 -07:00
LexManos
a05f555ab8
Allow FenceGateBlock to be used without a WoodType. Closes #9392
2023-03-29 17:59:51 -07:00
LexManos
df3db236e5
Deprecate duplicate tool tags that vanilla added in 1.19.4
...
We will maintain a seperate 'tools' tag until Mojang adds all relevent tool tags.
Closes #9393
2023-03-29 17:59:50 -07:00
LexManos
71b115c8fe
Fix BlockEvent.Break not using ItemStack enchantment hooks.
2023-03-29 17:59:49 -07:00
LexManos
3e1b01af2c
Move Block.onCatchFire to above block removal to allow usage of BlockEntity data. Closes #9400
2023-03-29 17:59:48 -07:00
Brennan Ward
1ab0685d04
Fix FinalizeSpawn not blocking spawns during worldgen ( #9420 )
2023-03-29 16:10:59 -07:00
LexManos
5c44992d1c
Fixed issue with MutableHashedLinkedMap when removing multiple sequential entries in the middle of the map.
...
Added Unit tests for MutableHashLinkedMap
Added support for removing using the iterator
Added concurrent modification detection to the iterator
Added default constructor with basic hashing strategy.
Closes #9426
2023-03-29 15:49:49 -07:00
TelepathicGrunt
d448ffd539
Loosen access for BucketItem's canBlockContainFluid ( #9421 )
2023-03-28 13:34:10 -07:00
ChampionAsh5357
9f895a79f2
Update and Regenerate Datapacks ( #9419 )
...
Add generation for pack.mcmeta
2023-03-28 13:33:59 -07:00
Paint_Ninja
6e1de81ff5
Restore ability to change message in ClientChatEvent ( #9377 )
2023-03-27 14:35:05 -07:00
sciwhiz12
b493a63fb6
Remove duplicate line in FoodData patch ( #9424 )
...
The line was accidentally duplicated in the 1.19.4 update and patching
process.
Fixes #9422
2023-03-27 12:51:53 -07:00
Joseph B
ae65f5a255
Rename RegisterParticleProviderEvent's register methods to describe what kind of particle providers they register (deprecating old methods to avoid breaking) and minor docs tweaks ( #9388 )
2023-03-25 19:57:39 -07:00
noeppi_noeppi
bb49b9e6dc
Update pack versions ( #9414 )
2023-03-24 13:17:22 -07:00
Brennan Ward
2815e69407
[1.19.4] Revamp and fix spawn events ( #9133 )
2023-03-23 18:29:06 +00:00
Exopandora
b33efc0727
[1.19.4] Replace blitOffset parameter with PoseStack in IItemDecorator ( #9409 )
...
* Replace blitOffset with PoseStack in IItemDecorator
* Circumvent breaking changes
* Fix blitOffset type
2023-03-22 11:11:01 +01:00
Dennis C
434c1ec4f8
Fix JSON model root transforms ( #9410 )
2023-03-22 11:09:41 +01:00
Dennis C
c58d922324
Fix tossed items not being able to be picked up by other players. Closes #9412 ( #9404 )
2023-03-21 19:15:04 -07:00
Dennis C
331374dc7a
Fix infinite BE render bounds failing frustum intersection test. Closes #9321 ( #9407 )
2023-03-21 12:16:49 -07:00
matyrobbrt
c18eb23259
Make ForgeSlider use the new vanilla texture ( #9406 )
2023-03-20 14:16:35 -07:00
J.T. McQuigg
d0e2242043
Add BlockSetType#register to accesstransformer.cfg ( #9386 )
2023-03-20 14:16:18 -07:00
Dennis C
684d36201f
Add option to completely hide a crash-callable depending on a runtime value ( #9372 )
2023-03-20 14:15:59 -07:00
Jason
7b8ca60d32
Add isNewChunk to ChunkEvent.Load ( #9369 )
2023-03-20 14:15:33 -07:00
sciwhiz12
576ff81856
Remove DistExecutor calls in PistonEventTest ( #9348 )
2023-03-20 14:14:21 -07:00
sciwhiz12
73e68c9322
Fix hardcoded precipitation in ClimateSettingsBuilder ( #9402 )
...
This effectively caused all biomes to have precipitation, such as
minecraft:desert.
Fixes #9397
2023-03-20 08:56:10 +01:00
sciwhiz12
3cd758647d
Fix incorrect variable used for swimming check ( #9403 )
...
Because of the incorrect variable, the check to stop sprinting (and stop
swimming) never fired correctly.
1.19.3's `flag5` variable was renamed to `flag7` in 1.19.4; however,
this was not caught during patching because of the fuzzy patcher.
Fixes #9399
2023-03-20 08:44:34 +01:00
sciwhiz12
14bc8d6611
Fix incorrect boolean used for glint effect ( #9401 )
...
The `flag1` variable is ultimately controlled by whether the armor slot
being rendered is for the leggings, which explains this bug where the
leggings always had the enchantment glint but not any other armor piece.
Fixes #9394
2023-03-20 08:02:18 +01:00
Redstone_Dubstep
d552ce5eac
Fixed ModMismatchDisconnectedScreen displaying missing mods wrongly ( #9398 )
2023-03-19 15:51:03 -07:00
Dennis C
f03adc840e
Fix misaligned text render type patch ( #9391 )
2023-03-16 14:44:20 -07:00
LexManos
31e73355c3
Remove thread filter from processing clientside custom payloads. Closes @9390
2023-03-16 11:51:46 -07:00
LexManos
88368dfa1c
Fix LivingEntity patch which caused crash while entities got hurt. Closes #9389
2023-03-16 11:50:11 -07:00
matyrobbrt
7e6c8351c3
Fix wrong parameters in Screen#renderTooltipInternal patch ( #9387 )
2023-03-15 13:05:46 -07:00
LexManos
fb20e4fa90
Fix misaligned patch in LevelRenderer. Closes #9385
2023-03-15 13:04:16 -07:00
Jonathan Coates
94c5699a03
Remove our fix for MC-121048 as it has been fixed by Vanilla ( #9381 )
2023-03-15 11:42:02 -07:00
LexManos
58626d1a22
Fix advancements not loading, bug seems to be fixed by vanilla now. Closes #9384
2023-03-15 11:41:12 -07:00
LexManos
631e72f99d
Fixed patch verifier for cases where patches lowered access levels. Closes #9383
2023-03-15 11:39:42 -07:00
LexManos
3fffc18729
Fix crouching while sprinting stopping the player when step height is modified. Closes #9376
2023-03-14 23:56:29 -07:00
44c689f171
Forge 1.19.4
...
Properly move `ServerStatusPing` to codec
Reimplement custom display contexts
Co-authored-by: Matyrobbrt <[email protected] >
Co-authored-by: coehlrich <[email protected] >
Signed-off-by: SizableShrimp <[email protected] >
2023-03-14 17:22:27 -05:00
coehlrich
1f44339d6e
Fix experimental world warning screen appearing everytime ( #9375 )
2023-03-09 08:26:32 -08:00
KnightMiner
001372bef2
Fix continuing to use items after dropping or when a shield breaks (MC-231097, MC-168573) ( #9344 )
2023-03-08 12:21:04 -08:00
KnightMiner
8f72c143a1
Add onStopUsing hook to IForgeItem ( #9343 )
2023-03-03 11:14:51 -08:00
Joseph B
3c75e1269d
Document RegisterParticleProvidersEvent's APIs ( #9346 )
2023-02-24 13:18:07 -08:00
CreativeMD
121120aee1
Fix incorrect ListTag.getLongArray result (MC-260378) ( #9351 )
2023-02-24 13:16:32 -08:00
Su5eD
62ce55d8d7
Fix missing patch that left TagBuilder#replace unused ( #9354 )
2023-02-24 10:49:37 -08:00
Adneths
183d43f5f8
Add 2 new RenderLevelStageEvent.Stage for After Entities and After Block Entities ( #9259 )
2023-02-18 15:43:10 +01:00
ferriarnus
79dfdb0ace
Cleanup StemBlock Patch ( #9337 )
2023-02-06 14:05:21 -08:00
Dennis C
bb4a0b7dd6
Cleanup ItemProperties patch ( #9332 )
2023-02-06 14:04:04 -08:00
Dennis C
4cddc62be7
Make IForgeIntrinsicHolderTagAppender methods properly chainable ( #9331 )
2023-02-06 14:03:51 -08:00
ChampionAsh5357
914b2fe984
Fix in custom fluids not respecting max height correctly. ( #9319 )
2023-02-06 14:03:38 -08:00
cech12
308d4fa68e
Fix inconsistent vaporization in BucketItem & FluidType ( #9269 )
2023-02-06 13:30:49 -08:00
cpw
50f325c8fe
Fix reloading event firing during server shutdown and add explicit unloading event instead ( #9016 )
2023-02-06 13:30:16 -08:00
Joseph B
57fd0ecb2e
Homogenize and/or holdersets when serializing to prevent serializing to NBT from crashing ( #9048 ) Fixes #9043
2023-02-06 11:48:44 -08:00
matyrobbrt
94af5cc43a
[1.19.x] Fix ForgeSlider not respecting custom height ( #9237 )
2023-02-05 18:58:08 +01:00
Mysterious_Dev
3c19a0309e
Fix stepsound for blocks in the inside_step_sound_blocks tag. ( #9318 )
2023-01-25 13:19:54 -08:00
Minecraftschurli
0eb9d94bf3
Fix missing hanging sign material for modded wood type ( #9303 )
2023-01-23 13:34:22 -08:00
Jonathan Colmenares
4d57a1bec6
Fire TickEvent.LevelTickEvent on ClientLevel tick ( #9299 )
2023-01-23 11:47:00 -08:00
coehlrich
59ab01a559
Add ClientChatReceivedEvent for system messages ( #9284 )
2023-01-10 13:45:04 -08:00
matyrobbrt
5946356f8e
PR Action update ( #9274 )
2023-01-08 21:24:00 +00:00
Minecraftschurli
f0f7b18528
fix HangingSignEditScreen crash when using custom wood types using modid ( #9294 )
2023-01-08 21:21:23 +00:00
LexManos
5311b0bc90
Bump SecureJarHandler version, to help identify invalid mods.
2023-01-06 13:01:59 -08:00
Brennan Ward
43580f5804
[1.19.3] Hotfix missing null check in createUnbakedItemElements ( #9285 )
2023-01-06 19:42:56 +01:00
Curle
b0a68b8c79
Mark 1.19.3 Recommended Build
2023-01-02 03:37:31 +00:00
Brennan Ward
f225d1f3fb
[1.19.3] Allow Item and Elements models to specify static color, sky light, and block light values. ( #9106 )
2022-12-31 10:36:56 +01:00
bconlon
15214a6e9a
Fix StemBlock not checking canSustainPlant for the correct block, it now checks for Melons/Pumpkins instead of the stem itself. ( #9270 )
2022-12-30 11:13:42 -08:00
matyrobbrt
dfce6b62d4
Add github shared actions for automation purposes. ( #9251 )
2022-12-30 11:12:49 -08:00
Mysterious_Dev
0232ad7424
Add translate key for Forge pack.mcmeta description ( #9260 )
2022-12-30 11:12:11 -08:00
Mysterious_Dev
e6ff2e0c24
Fix broken link for update checker docs in mdk ( #9271 )
2022-12-30 11:11:43 -08:00
sciwhiz12
72980d2b03
Remove duplicate updateNeighbourForOutputSignal call Fixes #9169 ( #9234 )
2022-12-30 11:11:23 -08:00
Minecraftschurli
6e3b51d81f
Add helper methods to access the set of loaded sprite locations ( #9223 )
2022-12-30 11:11:02 -08:00
Dennis C
6b1c628326
Disable guiLight3d for generated item models ( #9230 )
2022-12-30 17:59:36 +01:00
matyrobbrt
85f9b1012c
Remove resource caching ( #9254 )
2022-12-27 11:40:06 -08:00
failall
7569de7004
Add TradeWithVillagerEvent ( #9244 )
2022-12-26 13:20:01 -08:00
Mysterious_Dev
5ccde7422c
Update link for Parchment "Getting Started" ( #9243 )
2022-12-26 13:19:44 -08:00
bconlon
ad6bf9428e
Allows DatapackBuiltinEntriesProvider to datagen LevelStems ( #9247 )
2022-12-26 13:19:36 -08:00
noeppi_noeppi
d176bab28e
Add a method to LootContext.Builder that allows changing the queried loot table id ( #9084 )
2022-12-19 15:18:52 -08:00
ChampionAsh5357
58d6f072e4
[1.19.3] Fix Datagen Tests and Providers ( #9212 )
2022-12-19 16:28:19 +00:00
matyrobbrt
cc393818e4
Fix concrete powder not being hydrated by singular water sources ( #9236 )
2022-12-19 16:05:22 +00:00
Girafi
e84098a011
[1.19.3] Fix LootTableLoadEvent not getting fired ( #9239 )
2022-12-19 16:05:08 +00:00
matyrobbrt
f2db3941ea
Allow using custom factories in button builders ( #9238 )
2022-12-19 16:04:41 +00:00
Dennis C
c2bfe12068
Fix logspam when a root resource is requested from DelegatingPackResources, fixes #9197 ( #9227 )
2022-12-19 16:04:27 +00:00
matyrobbrt
d9e3a0081e
[1.19.3] Fix retrieveRegistryLookup attempting to get the registry lookup from a HolderGetter ( #9225 )
2022-12-19 16:03:56 +00:00
Minecraftschurli and sciwhiz12
84d7a0facb
[1.19.3] Add ability to datagen forge specific values in pack.mcmeta ( #9221 )
...
Co-authored-by: sciwhiz12 <[email protected] >
2022-12-16 16:52:54 +00:00
Dennis C
9c66928854
Add block atlas config to register forge:white texture ( #9187 )
2022-12-16 16:48:20 +00:00
bl4ckscor3
4b494451db
Fix ExtendedButton not being highlighted when focused ( #9144 )
2022-12-16 16:46:58 +00:00
matyrobbrt
e9ea4ca169
Separate checkAndFix from the check* tasks. ( #9213 )
2022-12-16 16:44:56 +00:00
Dennis C
c5ca054936
Fix forge resources overriding vanilla ones ( #9222 )
2022-12-16 16:43:46 +00:00
Exopandora
7d2c7c0f91
Fix tooltip customization not working for creative inventory ( #9218 )
2022-12-16 16:42:51 +00:00
sciwhiz12
54b872af69
Fix glowing item frame entity's texture ( #9126 )
...
Fixes #9123
2022-12-16 16:41:45 +00:00
matyrobbrt
ae954bea17
Fix datapack registries not being synced to clients ( #9219 )
2022-12-15 11:53:53 -08:00
Dennis C
ad59985a9b
Fix creatives tabs rendering overlapping tabs if the selected tab isn't on the current page. ( #9214 )
2022-12-15 11:41:29 -08:00
Technici4n
f8fdd43552
Fix SidedInvWrapper not accounting for vanilla stacking special cases in brewing stands and furnaces ( #9189 )
2022-12-15 11:40:25 -08:00
Marc Hermans
b269f7dbfd
Update to the latest JarJar. ( #9217 )
2022-12-15 11:39:37 -08:00
ChampionAsh5357
e688f136dd
Specify NetworkHooks#getEntitySpawningPacket Generic Return Type ( #9220 )
2022-12-15 11:39:29 -08:00
LexManos
81276b341a
Fix using a DeferredRegister on a non-forge wrapped registry. Closes #9199
2022-12-12 12:00:23 -08:00
Dennis C
f050617b47
Add support for custom CreativeModeTab implementations ( #9210 )
2022-12-12 10:23:48 -08:00
eerussianguy
e6c7958456
Simplify tree grower patches ( #9209 )
2022-12-12 10:23:32 -08:00
ChampionAsh5357
4802ceeccc
Replace AdvancementProvider patch with Forge helper ( #9188 )
2022-12-12 10:23:10 -08:00
matyrobbrt
2ea16d89ca
Allow using PackOutputs in Forge-added datagen classes ( #9182 )
2022-12-12 10:22:48 -08:00
J.T. McQuigg
e541201129
Add simpleBlockWithItem for data gens ( #9170 )
2022-12-12 10:22:32 -08:00
Technici4n
09aac3a4d3
Fix running test mods ( #9211 )
2022-12-12 10:22:09 -08:00
Dennis C
dccb1ab3a4
[1.19.3] Fix models nested in custom geometries not resolving parents ( #9200 )
2022-12-11 21:25:14 +01:00
gigaherz
8bf96d8738
Fix OBJ Loader caches not being thread-safe. ( #9204 )
2022-12-11 20:36:17 +01:00
Dennis C
069a94f205
[1.19.3] Add event before baked models are cached by the BlockModelShaper ( #9190 )
2022-12-11 20:35:45 +01:00
sciwhiz12
332ed4ab76
Fix compatibility checker task configuration ( #9202 )
2022-12-11 20:24:47 +01:00
matyrobbrt
030f2dbd38
Fix chat offset ( #9184 )
2022-12-11 16:46:17 +01:00
LexManos
ec3abdea14
Redesign CreativeTab collection event to be a lot more straight forward. ( #9198 )
2022-12-10 15:03:23 -08:00
LexManos
4cf5508e04
Move ICondition patch placement to before MC throws an error.
...
Disable the explicitly erroring test biome modifier.
2022-12-09 19:52:30 -08:00
shartte
d861f647d7
Fix BlockStateProvider not waiting for models before finishing. ( #9196 ) Fixes #9195 :
2022-12-09 12:50:55 -08:00
LexManos
992f793695
Fix tooltips not rendering on screens. Closes #9191
2022-12-09 12:48:59 -08:00
LexManos
69eb940764
Fix merged mod resource pack not returning all resources with the same name when asked. Closes #9194
2022-12-09 12:44:40 -08:00
Marc Hermans
c1f26d544a
Fix searching using the wrong prefix for items or tags. Fixes #9176 Fixes #9179 ( #9177 )
2022-12-08 09:11:18 -08:00
8255d7aed3
Forge 1.19.3
...
Created a CreativeModeTabEvent to register creative mode tabs and populate entries per tab
Moved datapack registries to DataPackRegistryEvent.NewRegistry event instead of tying them to ForgeRegistry
Made it easier for mods to datagen datapack builtin entries with DatapackBuiltinEntriesProvider
Provided access to lookupProvider for datagen
Updated dependencies to match versions used by vanilla and update JarJar to 0.3.18
Added a test mod for the new CreativeModeTabEvent
Throws better error message for Forge registries in tag datagen
Deleted ForgeRegistryTagsProvider
Updated ClientChatReceivedEvent and ServerChatEvent for Mojang changes
Added patches for both sign related methods in ModelLayers
Changed RegisterShadersEvent to use ResourceProvider
Migrated old Mojang math types to JOML
Co-authored-by: Marc Hermans <[email protected] >
Co-authored-by: LexManos <[email protected] >
Co-authored-by: sciwhiz12 <[email protected] >
Co-authored-by: coehlrich <[email protected] >
2022-12-08 01:45:22 -06:00
LexManos
617ecb7ad3
43.2 Recommended Build.
2022-12-07 23:20:28 -08:00
Su5eD
dd8239c255
Allow discovering services from the mods folder that use java's modular definition. ( #9143 )
2022-11-30 14:50:30 -08:00
Brennan Ward
bdddc8c5d4
Make Datapack Registries support ICondition(s) ( #9113 )
2022-11-30 14:45:00 -08:00
Marc Hermans
c1c619a109
Enable additional build types to handle pull request validation. ( #9159 )
2022-11-30 14:08:05 -08:00
sciwhiz12
f7eea35cb9
Check source permission level before selector permission ( #9147 )
...
In some situations, such as execution of a function by an advancement as
part of its reward, a command source stack may have a backing source of
a ServerPlayer which may lack the entity selector permission and have an
explicit permission level that should allow the use of entity selectors,
through CommandSourceStack#withPermission.
We now check if the permission level of the command source stack is
sufficient for entity selectors _before_ checking if the source is a
player and if they have the requisite permission.
This means that an operator permission level of 2 will always override
the Forge entity selector permission.
Fixes #9137
2022-11-30 14:07:18 -08:00
J.T. McQuigg
a2434e1607
Fix fires spreading too/igniting custom portal frames. ( #9142 )
2022-11-30 14:06:22 -08:00
Minecraftschurli
b806ecd0ff
Add supplier to FlowerBlock so it works with custom MobEffects ( #9139 )
2022-11-30 14:04:15 -08:00
KnightMiner
8358b800e9
Fix some logical bugs related to the Grindstone Event ( #9089 )
2022-11-30 14:00:59 -08:00
Néstor Amador
b25a092cf1
Call baked model's getModelData before getRenderTypes ( #9163 )
2022-11-28 17:53:19 +01:00
Jonathan Coates
d812fdd0a3
Make Util.memoize thread-safe ( #9155 )
2022-11-23 09:18:04 +01:00
Néstor Amador
2d3ee8a228
Rendering tweaks and fixes: Part 4 ( #9065 )
2022-11-23 09:17:43 +01:00
matyrobbrt
97a9ca65f1
Fix Transformation loading PoseStack ( #9083 )
2022-11-21 20:49:41 +01:00
Néstor Amador
f043fbbc51
Add simple block appearance API ( #9066 )
2022-11-21 20:48:30 +01:00
SizableShrimp
a19ab3a8d4
Fix invalidated modded packets when on LAN ( #9157 )
2022-11-20 18:34:21 -08:00
Dennis C
bc0517a404
Improve extensibility of DetectorRailBlock and PoweredRailBlock ( #9130 )
2022-11-08 12:18:48 -08:00
Su5eD
dc9c0d7e35
Fix launch handler minecraft classpath locator ( #9120 )
2022-11-08 12:17:48 -08:00
matyrobbrt
1a2207b3b2
Add HitResult to EntityTeleportEvent$EnderPearl ( #9135 )
2022-11-08 12:17:18 -08:00
sciwhiz12
84ab9764e3
Throw aggregate exception for erroneous registry event dispatch ( #9111 )
...
This means that exceptions occurring during the dispatch of the registry
events, such as those from the suppliers of RegistryObjects, properly
cause a crash rather than merely being logged and allowing the game to
reach the main menu.
Fixes #8720
2022-11-08 12:17:00 -08:00
Nexus-Dino
bef68991f0
Add missing semi-colon near the Dist import statement in example mod.
2022-11-08 12:16:49 -08:00
Nexus-Dino
526c13d662
Fix ClientModEvents example not subscribing to client-sided events ( #9097 )
2022-10-21 13:22:57 -07:00
matyrobbrt
67ffb78c23
Use GitHub action to lock issues with the spam label ( #9087 )
2022-10-21 13:22:31 -07:00
sciwhiz12
8f407c3a22
Remove structures slave map to Feature registry ( #9091 )
2022-10-21 13:22:18 -07:00
Dennis C
8980252e16
Improve logging of missing or unsupported dependencies ( #9104 )
2022-10-21 13:21:49 -07:00
DBotThePony
3baee80485
[1.19.x] Fix ValueSpec caching the return value incorrectly ( #9046 )
2022-10-14 17:43:21 +01:00
eerussianguy
ca9599bb4d
[1.19.x] Add event for registering spawn placements, and modifying existing ( #9024 )
2022-10-14 17:39:14 +01:00
eerussianguy
051db7907a
[1.19.x] Add event for items being stacked or swapped in a GUI. ( #9050 )
2022-10-14 17:30:12 +01:00
Magnus Jensen
bdba5ef2d3
[1.19.x] Fix PlayerInteractEvent.EntityInteractSpecific not cancelling on a server ( #9079 )
2022-10-14 17:18:17 +01:00
DBotThePony
838b9c0eda
Fix canceling phantom spawns preventing any further attempts that tick. ( #9041 )
2022-10-13 11:40:56 -07:00
Magnus Jensen
be584c54aa
Rename fluid type milk translation keys ( #9077 )
2022-10-12 12:54:34 -07:00
ChampionAsh5357
1b3640b42d
Fix minecart speed with water ( #9076 )
2022-10-12 12:51:13 -07:00
Sara Freimer
be5dab5801
Add a cancellable event that gets fired when a Totem of Undying is used ( #9069 )
2022-10-12 12:46:08 -07:00
Marc Hermans
aae628cd18
Fix performance issue and logging when resource caching is enabled ( #9029 )
2022-10-12 12:00:25 -07:00
Magnus Jensen
e7bd08649f
Fix NPE when feeding wolves and cats ( #9074 )
2022-10-07 19:55:40 -07:00
Paint_Ninja
e1017a4c7e
Fix logically breaking change to ForgeConfigSpec.Builder#comment where modders could not add a empty line to the start of comments. ( #9061 )
2022-10-03 11:50:32 -07:00
SizableShrimp
6f8ba9d295
Fix ServiceLoader bug
...
Signed-off-by: SizableShrimp <[email protected] >
2022-09-29 22:11:12 -07:00
SizableShrimp
ac94478ae7
Fix ClientChatReceivedEvent for system messages
...
Signed-off-by: SizableShrimp <[email protected] >
2022-09-29 22:11:12 -07:00
DBotThePony
515c6082e0
Make ForgeConfigSpec$Builder.comment able to be called multiple times for the same entry. ( #9056 )
2022-09-27 23:23:59 -07:00
ChampionAsh5357
a753598113
Fix control modifier for mac with KeyMappings using Alt instead of Super ( #9057 )
2022-09-27 11:15:11 -07:00
J.T. McQuigg
bc6c4be4e4
Fix is_desert tag not being applied correctly. ( #9051 )
2022-09-26 11:08:24 -07:00
Andy Dingley
98823a8f07
Fix mob griefing event for SmallFireballs not using owner entity. ( #9038 )
2022-09-21 13:24:25 -07:00
David Dempsey
ecd8f1e54d
Fix minecarts on rails not properly slowing down in water ( #9033 )
2022-09-21 13:20:03 -07:00
LexManos
b0caea8e20
Change codestyle for BookShelves tag. Closes #9027
...
Add IS_CAVE tag Closes #8885
Add IS_DESERT tag Closes #8979
Simplify Mangrove Swamp tags Closes #8980
2022-09-09 11:27:39 -07:00
nikita488
e0477f8776
Allow faces of an "elements" model to have disabled ambient occlusion ( #9019 )
2022-09-08 16:17:44 +01:00
bconlon
94e1e54b53
[1.19.x] Recipe ID-based grouping between modded and vanilla recipes. ( #8876 )
2022-09-08 16:13:07 +01:00
nitro_dynamite18
9ce72331b7
Update fence_gates/wooden ( #8936 )
2022-09-08 16:12:26 +01:00
Jais Djurhuus-Kempel
1c31f42dae
[1.19.x] Added event for growing fungus ( #8981 )
2022-09-08 16:11:59 +01:00
agnor99
0978a94358
Added Bookshelves block tag ( #8991 )
2022-09-08 16:11:39 +01:00
GizmoTheMoonPig
e956a9c9f3
Create a Forge EntityType Tag for Bosses ( #9017 )
2022-09-08 16:10:48 +01:00
Monica S
82026d11a4
Allow mods to specify shader import namespace ( #9021 )
2022-09-08 16:10:31 +01:00
ferriarnus
6d233ac75c
Grindstone Events ( #8934 )
...
One to modify the output, and one to modify the input.
2022-09-08 15:55:43 +01:00
Reece Mackie
73c1934e7e
Fix the serialized names of the enum ( #9014 )
2022-09-04 19:46:54 +01:00
Technici4n
bf1194ec75
Fix tryEmptyContainerAndStow duping fluids with stackable containers ( #9004 )
2022-09-03 21:48:07 +01:00
Ted Senft
22d2740725
Add mod mismatch event ( #8989 )
2022-09-03 21:26:43 +01:00
Minecraftschurli
02f26dc7a1
[1.19.x] add methods with more context to tree growers ( #8956 )
2022-09-03 20:24:00 +01:00
28Pollux28
db14cbb0e0
[1.19.X] Adding more precise events for Advancements ( #8360 )
2022-09-03 20:17:16 +01:00
Luke Bemish and LexManos
a2b35cae92
Default IItemHandler capability for shulker box itemstacks ( #8827 )
...
Co-authored-by: LexManos <[email protected] >
2022-09-03 20:16:25 +01:00
Take Weiland
aab0e4c82e
[1.19] Add hook for items to remain in the hotbar when picking blocks/entities ( #8872 )
2022-09-03 20:12:13 +01:00
Reece Mackie and sciwhiz12
6609708d14
[1.19.x] Block Model Builder Root Transform Support ( #8860 )
...
Co-authored-by: sciwhiz12 <[email protected] >
2022-09-03 20:11:46 +01:00
Budschie
ed198f062c
[1.19.x] Make LivingSetAttackTargetEvent compatible with the Brain/Behavior system. (Port of PR #8918 ) ( #8954 )
2022-09-03 20:11:10 +01:00
thedarkcolour
4e2d656e9d
[1.19.x] Add IForgeBlock#onTreeGrow to replace IForgeBlock#onPlantGrow from 1.16 ( #8999 )
2022-09-03 20:07:09 +01:00
bconlon
2a4230868f
[1.19.x] Moved Player.resetAttackStrengthTicker() to the end of Player.attack() ( #9000 )
2022-09-03 20:06:35 +01:00
Sirttas
cf778b1759
fix misplaced patch in sapling block ( #9005 )
2022-09-03 20:05:37 +01:00
Brennan Ward
1b6daddd40
Fix failed entity interactions consuming the click. ( #9007 )
2022-09-03 20:00:57 +01:00
sciwhiz12
d7b137d144
Fix entity selector permission check to check original source ( #8995 )
...
Permission checks should be against the command source and not the
target entity, as is done in vanilla.
Fixes #8994
2022-08-25 11:42:11 -07:00
한현빈
b5d5855559
Hotfix for 1.19.2 item animation bug ( #8987 )
...
* [HOT FIX]: Fixes #8985 by no-oping for vanilla models instead of throwing error
Signed-off-by: tmvkrpxl0 <[email protected] >
2022-08-20 11:38:24 +02:00
LexManos
c0aa8dd808
Add ability to Auto register capabilities via annotation ( #8972 )
2022-08-17 15:06:35 -07:00
LexManos
4f2f5c02a0
1.19.2 RB
2022-08-17 14:58:14 -07:00
agnor99
7a6843fa4a
Added ItemDecorator API ( #8794 )
2022-08-17 23:39:56 +02:00
한현빈
f0ecf16c6b
[1.19.x] Custom usage animations for items ( #8932 )
2022-08-17 23:08:13 +02:00
Take Weiland
8998fa71b2
Allow registering custom ColorResolvers ( #8880 )
2022-08-17 22:51:05 +02:00
Dennis C
4e677a7558
[1.19] Allow custom outline rendering on EntityRenderers and BlockEntityRenderers ( #8938 )
2022-08-17 00:01:33 +02:00
sciwhiz12
07254b36d7
Redirect checks for entity selector use to a permission ( #8947 )
...
This allows greater flexibility for configuring servers with
operator-like permissions to user groups through the permissions API and
their permissions handler of choice without needing to grant the
vanilla operator permission to any player.
The new permission is "forge:use_entity_selectors", which is granted by
default to players with permission level 2 (GAMEMASTERS) and above.
The hook falls back to checking the permission level if the source of
the command is not a ServerPlayer, such as for command blocks and
functions.
2022-08-16 14:11:54 -07:00
Brennan Ward
a51b8d256d
Allow FakePlayer to report its position ( #8963 )
2022-08-16 14:09:09 -07:00
Sara Freimer
75fcd9448e
Add alternate version of renderEntityInInventory to allow for directly specifying the angles ( #8961 )
2022-08-16 13:57:30 -07:00
eerussianguy
6b45999702
Add cancellable ToastAddEvent ( #8952 )
2022-08-16 13:48:55 -07:00
eerussianguy
a4f52f4057
Modify ScreenEvent.RenderInventoryMobEffects to allow moving the effect stack left or right ( #8951 )
2022-08-16 13:47:57 -07:00
Brennan Ward
b8b3201372
Fix Enchantment#doPostHurt and Enchantment#doPostAttack being called twice for players. Fixes MC-248272 ( #8948 )
2022-08-16 13:40:10 -07:00
LexManos
41deadc1e2
Remove reflective implementation of ICustomPacket. ( #8973 )
...
Make vanilla custom packets able to be sent multiple times. Closes #8969
2022-08-16 13:17:25 -07:00
LexManos
82e8d06e54
Filter name spaces to directories only. Closes #8413
2022-08-14 12:22:38 -07:00
Marc Hermans
51db5f2ff7
Fix a corner case where the UMLB can not extract a version from a library. ( #8967 )
2022-08-14 12:18:22 -07:00
Alex O'Neill
2ec9e515ff
Fix worlds with removed dimension types unable to load. ( #8959 ) Closes #8800
2022-08-14 12:17:22 -07:00
Alex O'Neill
0579572148
Fix issue where unknown chunk generators would cause DFU to fail. ( #8957 )
2022-08-10 23:13:44 -07:00
TheMuso
83f4e6353c
Fix comments and documentation that were missed during the review of #8712 ( #8945 )
2022-08-09 12:49:00 -07:00
Luis
130953e519
Make AnvilUpdateEvent fire even if the second input is empty, which means it fires even if only changing the item name. ( #8905 )
2022-08-09 12:48:46 -07:00
Sirttas
7981093591
Fix LivingEntity#isBlocking to use ToolActions#SHIELD_BLOCK instead of UseAnim#BLOCK ( #8933 )
2022-08-09 12:27:26 -07:00
Joseph B
79112d6208
Add Custom HolderSet Types allowing for logical combining of sets. ( #8928 )
2022-08-09 12:25:12 -07:00
Sara Freimer
a3eb6263f4
Add values to VersionSupportMatrix to support loading mods that restrict versions to 1.19.1 on 1.19.2 ( #8946 )
2022-08-09 12:15:58 -07:00
Redstone_Dubstep
d91bc9c73d
Fix certain particles not updating their bounding box when their position changes ( #8925 )
2022-08-08 15:09:13 +02:00
LexManos
c807665ab9
Update EventBus to address concurrency issue in ModLauncher Factory. Closes #8924
2022-08-07 17:35:15 -07:00
LexManos
7b97c181b9
1.19.2
2022-08-05 16:35:02 -07:00
Brennan Ward
c42b0847d2
Remove calls to getStepHeight in Player#maybeBackOffFromEdge ( #8927 )
2022-08-05 11:35:47 -07:00
Sirttas
f182cb00c1
Add forge tags for tools and armors, these DO NOT replace ToolActions, and are designed just for Recipes. ( #8914 )
2022-08-05 11:32:53 -07:00
J.T. McQuigg
3181b5da23
Add Biomes.BEACH to Tags ( #8892 )
2022-08-05 11:31:32 -07:00
Mysticdrew
983c119477
Let NetworkInstance.isRemotePresent check minecraft:register for channel IDs. ( #8921 )
2022-08-05 11:31:11 -07:00
Sara Freimer
874ff1bba2
Add an event for when the chunk ticket level is updated ( #8909 )
2022-08-05 11:21:14 -07:00
TheMuso
06d9d89f98
Re-add PotentialSpawns event ( #8712 )
2022-08-05 09:29:02 -07:00
Dennis C
c713bad8c3
Fix misplaced patch in ItemEntityRenderer breaking ItemEntityRenderer#shouldBob() ( #8919 )
2022-08-04 22:14:28 -07:00
Marc Hermans
fe19491822
[1.19] [HotFix] Fix the dedicated server not having access to the JiJ filesystems. ( #8931 )
2022-08-03 22:32:32 +01:00
SizableShrimp
c80e8a1aca
Match Mojang's action bar fix for MC-72687 ( #8917 )
2022-07-29 01:09:33 -07:00
SizableShrimp
6845c094ab
Forge 1.19.1
...
Load natives from classpath
Make command argument types a forge registry
Add `EntityMobGriefingEvent` to `Allay#wantsToPickUp`
Overhaul `ServerChatEvent` to use `ChatDecorator` system
Remove `ClientChatEvent#setMessage` for now
Gradle 7.5
Signed-off-by: SizableShrimp <[email protected] >
2022-07-28 00:20:31 -05:00
LexManos
3c1126a7b4
Mark 1.19 RB
2022-07-26 18:49:28 -07:00
Néstor Amador
326e0329b9
Allow faces of an "elements" model to be made emissive ( #8890 )
2022-07-26 15:01:29 -07:00
coehlrich
f9d0daa91c
Fix invalid channel names sent from the server causing the network thread to error. ( #8902 )
2022-07-26 14:55:05 -07:00
LexManos
094200e687
Fix PlayerEvent.BreakSpeed using magic block position to signify invalid position. Closes #8906
2022-07-25 16:20:44 -07:00
Marc Hermans
bb4818630c
Fix cases where URIs would not work properly with JarInJar ( #8900 )
2022-07-23 00:46:45 -07:00
Jonathan Colmenares
7af3155b39
Add new hook to allow modification of lightmap via Dimension special effects ( #8863 )
2022-07-22 12:22:23 -07:00
Marc Hermans
d988b4a811
Fix Forge's packet handling on play messages. ( #8875 )
2022-07-22 12:08:29 -07:00
zml
18f5bdb7ca
Add API for tab list header/footer ( #8803 )
2022-07-21 21:01:21 -07:00
TelepathicGrunt
f41d493552
Allow modded blocks overriding canStickTo prevent sticking to vanilla blocks/other modded blocks ( #8837 )
2022-07-21 13:06:02 -07:00
Néstor Amador
8cd2c9c63f
Multiple tweaks and fixes to the recent changes in the client refactor PR: Part 3 ( #8864 )
...
Fix weighted baked models not respecting children render types
Allow fluid container model to use base texture as particle
Fix inverted behavior in composite model building. Fixes #8871
2022-07-20 15:25:07 -07:00
matyrobbrt
427b335cac
Fix crossbows not firing ArrowLooseEvent ( #8887 )
2022-07-20 14:35:37 -07:00
Emma, Cypress, Rose ⚘
2049096c6f
Add User-Agent header to requests made by the update checker ( #8881 )
...
Format: Java-http-client/<Java version> MinecraftForge/<ForgeVer> <ModId>/<ModVersion>
2022-07-20 10:57:57 -07:00
Marc Hermans
98d4fa6dc2
Output the full path in a crash report so it is easier to find the outer mod when a crash in Jar-In-Jar occurs. ( #8856 )
2022-07-20 10:56:38 -07:00
Take Weiland
5306471aec
Clean up the pick item ("middle mouse click") patches ( #8870 )
2022-07-20 10:56:16 -07:00
Kai
aa8818b049
[1.19.x] Hotfix for test mods while the refactor is ongoing
2022-07-17 14:49:56 +01:00
Caltinor
2d86f17363
add event to SugarCaneBlock ( #8877 )
2022-07-16 02:21:27 +01:00
Brennan Ward
3a36a01913
Fix Global Loot Modifiers not using Dispatch Codec ( #8859 )
2022-07-12 11:19:35 -07:00
Nicholas Smit
47d70a7f31
Allow block render types to be set in datagen ( #8852 )
2022-07-12 11:19:03 -07:00
Sara Freimer
d5b5e6f4db
Fix renderBreakingTexture not using the target's model data ( #8849 )
2022-07-12 17:04:29 +02:00
Néstor Amador
e76d814439
Multiple tweaks and fixes to the recent changes in the client refactor PR: Part 2 ( #8854 )
...
* Add getter for the component names in an unbaked geometry
* Fix render type hint not being copied in BlockGeometryBakingContext
* Ensure BlockRenderDispatches's renderSingleBlock uses the correct buffer
2022-07-12 17:04:03 +02:00
SizableShrimp
b8b40e1f54
[1.19.x] Apply general renames, A SRG is provided for modders. ( #8840 )
...
See https://gist.github.com/SizableShrimp/882a671ff74256d150776da08c89ef72
2022-07-11 18:27:48 -07:00
LexManos
5e8c786406
Fix mob block breaking AI not working correctly when chunk 0,0 is unloaded. Closes #8853
2022-07-11 12:41:06 -07:00
Néstor Amador
5b8224f839
Fix crash when breaking blocks with multipart models and remove caching. Closes #8850
2022-07-11 11:24:21 -07:00
Silver_David
cd621eb081
Fixed CompositeModel.Baked.Builder.build() passing arguments in the wrong order ( #8846 )
2022-07-10 11:11:07 -04:00
Néstor Amador
b1113f0363
Make cutout mipmaps explicitly opt-in for item/entity rendering ( #8845 )
...
* Make cutout mipmaps explicitly opt-in for item/entity rendering
* Default render type domain to "minecraft" in model datagens
2022-07-10 11:10:57 -04:00
Silver_David
daf5933b79
Fixed multipart block models not using the new model driven render type system. ( #8844 )
2022-07-10 11:10:43 -04:00
Marc Hermans
47fd2e8604
Update to the latest JarJar to fix a collision issue where multiple jars could provide an exact match. ( #8847 )
2022-07-10 11:07:55 -04:00
covers1624
05297fd72f
Add FML config to disable DFU optimizations client-side. ( #8842 )
...
* Add client-side command line argument to disable DFU optimizations.
* Switch to using FMLConfig value instead.
2022-07-09 20:01:40 -04:00
CreativeMD
f20cf19f94
[1.19] Fixed broken BufferBuilder.putBulkData(ByteBuffer) added by Forge ( #8819 )
...
* Fixes BufferBuilder.putBulkData(ByteBuffer)
* use nextElementByte
* Fixed merge conflict
2022-07-09 19:55:16 -04:00
Robert Kämpf
061cd3da53
[1.19.x] Fix shulker boxes allowing input of items, that return false for Item#canFitInsideContainerItems, through hoppers. ( #8823 )
...
* Make ShulkerBoxBlockEntity#canPlaceItemThroughFace delegate to Item#canFitInsideContainerItems.
* Switch to using Or and add comment.
* Switch Or to And.
2022-07-09 12:44:33 -04:00
Silver_David
03202a8ab4
[1.19.x] Added RenderLevelStageEvent to replace RenderLevelLastEvent ( #8820 )
...
* Ported RenderLevelStageEvent from 1.18.2
* Updated to fix merge conflicts
2022-07-09 12:36:47 -04:00
Nicholas Smit
8a67be4afd
[1.19.x] Fix door datagenerator ( #8821 )
...
* Fix door datagenerator
Fix datagenerator for door blocks. Successor to #8687 , addresses comments made there about statement complexity.
* Fix extra space around parameter
Fix extra space before comma around a parameter.
2022-07-09 12:21:06 -04:00
Drullkus
4c1ab67f33
Create PieceBeardifierModifier to re-enable piecewise beardifier definitions ( #8798 )
2022-07-09 12:12:55 -04:00
Dennis C
7e06a2105f
Allow blocks to provide a dynamic MaterialColor for display on maps ( #8812 )
2022-07-09 12:10:02 -04:00
Flemmli97 and Flemmli97
4a0c8be742
[1.19.x] BiomeTags Fixes/Improvements ( #8711 )
...
* dimension specific tag fix
* remove forge:is_beach cause vanilla has it already
* remove forge tags for new 1.19 vanilla tags (savanna, beach, overworld, end)
Co-authored-by: Flemmli97 <[email protected] >
2022-07-09 11:59:27 -04:00
Cyborgmas
0c030ee5e1
1.19 - Remove GlobalLootModifierSerializer and move to Codecs ( #8721 )
...
* convert GLM serializer class to codec
* cleanup
* GLM list needs to be sorted
* datagen
* simplify serialization
* fix test mods (oops)
* properly use suppliers for codec as they are registry obj
2022-07-09 11:51:41 -04:00
Random832
1134fac54c
Implement item hooks for potions and enchantments ( #8718 )
...
* Implement item hooks for potions and enchantments
* code style fixes
2022-07-09 11:48:51 -04:00
desht
ac44d72530
Re-apply missing patch to ServerLevel.EntityCallbacks#onTrackingEnd() ( #8828 )
2022-07-09 11:27:33 -04:00
agnor99
12468bd8d2
Double Bar Rendering fixed ( #8806 ) ( #8807 )
...
* Double Bar Rendering fixed (#8806 )
* Added requested changes by sciwhiz12
2022-07-09 11:22:15 -04:00
Néstor Amador
a98eeb9d08
Multiple tweaks and fixes to the recent changes in the client refactor PR ( #8836 )
...
* Add an easy way to get the NamedGuiOverlay from a vanilla overlay
* Fix static member ordering crash in UnitTextureAtlasSprite
* Allow boss bar rendering to be cancelled
* Make fluid container datagen use the new name
2022-07-09 11:20:55 -04:00
Jonathan Colmenares
b558b132cd
Add FogMode to ViewportEvent.RenderFog ( #8825 )
2022-07-09 11:20:40 -04:00
Sara Freimer
c102633566
Provide additional context to the getFieldOfView event ( #8830 )
2022-07-09 11:20:29 -04:00
bdew
cce002ad29
Pass renderType to IForgeBakedModel.useAmbientOcclusion ( #8834 )
2022-07-09 11:20:18 -04:00
noeppi_noeppi
b1ed321438
Load custom ITransformationServices from the classpath in dev ( #8818 )
...
* Add a classpath transformer discoverer to load custom transformation services from the classpath
* Update ClasspathTransformerDiscoverer to 1.18
* Update license year
* Update license header
* Fix the other license headers
* Update ClasspathTransformerDiscoverer to 1.19
2022-07-09 11:05:47 -04:00
Jonathan Coates
c7c2478cb0
Handle modded packets on the network thread ( #8703 )
...
* Handle modded packets on the network thread
- On the server we simply need to remove the call to
ensureRunningOnSameThread.
- On the client side, we now handle the packet at the very start of the
call. We make sure we're running from a network thread to prevent
calling the handling code twice.
While this does mean we no longer call .release(), in practice this
doesn't cause any leaks as ClientboundCustomPayloadPacket releases
for us.
* Clarify behaviour a little in the documentation
* Javadoc formatting
* Add a helper method for handling packets on the main thread
Also rename the network thread one. Should make it clearer the expected
behaviour of the two, and make it clearer there's a potentially breaking
change.
* Add back consumer() methods
Also document EventNetworkChannel, to clarify the thread behaviour
there.
* Add since = "1.19" to deprecated annotations
2022-07-09 11:02:44 -04:00
Marc Hermans
b70d99489b
Cache resource listing calls in resource packs ( #8829 )
...
* Make the resource lookups cached.
* Include configurability and handle patch cleanup.
* Document and comment the cache manager.
* Make thread selection configurable.
* Implement a configurable loading mechanic that falls back to default behaviour when the config is not bound yet.
* Use boolean supplier and fix wildcard import.
* Clean up the VPR since this is more elegant.
* Clean up the VPR since this is more elegant.
* Address review comments.
* Address more review comments.
* Fix formatting on `getSource`
* Address comments by ichtt
* Adapt to pups requests.
* Stupid idea.
* Attempt this again with a copy on write list.
* Fix a concurrency and loading issue.
* Fix #8813
Checks if the paths are valid resource paths.
* Move the new methods on vanilla Patch.
2022-07-09 10:58:11 -04:00
cpw
57f45eaca0
Update SJH and JIJ
2022-07-09 10:42:30 -04:00
Marc Hermans
52fcc4d649
Fix #8833 ( #8835 )
2022-07-09 10:09:27 -04:00
Néstor Amador
959ab9abc9
Fix backwards fabulous check in SimpleBakedModel ( #8832 )
...
Yet another blunder we missed during the review of #8786 .
2022-07-09 10:09:16 -04:00
Néstor Amador
c3a91872fe
Make texture atlas in StandaloneGeometryBakingContext configurable ( #8831 )
2022-07-09 10:08:43 -04:00
Néstor Amador and Dennis C
4d074f0a1e
[1.19.X] Client code cleanup, updates, and other refactors ( #8786 )
...
* Revert "Allow safely registering RenderType predicates at any time (#8685 )"
This reverts commit be7275443f .
* Renderable API refactors
- Rename "render values" to "context"
- Rename SimpleRenderable to CompositeRenderable to better reflect its use
- Remove IMultipartRenderValues since it doesn't have any real use
- Add extensive customization options to BakedModelRenderable
* ClientRegistry and MinecraftForgeClient refactors
- Add sprite loader manager and registration event
- Add spectator shader manager and registration event
- Add client tooltip factory manager and registration event
- Add recipe book manager and registration event
- Add key mapping registration event
- Remove ClientRegistry, as everything has been moved out of it
- Remove registration methods from MinecraftForgeClient, as they have dedicated events now
* Dimension special effects refactors
- Fold handlers into an extension class and remove public mutable fields
- Add dimension special effects manager and registration event
* HUD overlay refactors
- Rename to IGuiOverlay match vanilla (instead of Ingame)
- Add overlay manager and registration event
- Move vanilla overlays to a standalone enum
* Model loader refactors
- Rename IModelLoader to IGeometryLoader
- Add loader manager and registration event
- Fold all model events into one
- Move registration of additionally loaded models to an event
- Remove ForgeModelBakery and related classes as they served no purpose anymore
* Render properties refactors
- Rename all render properties to client extensions and relocate accordingly
- Move lookups to the respective interfaces
* Model data refactors
- Convert model data to a final class backed by an immutable map and document mutability requirements. This addresses several thread-safety issues in the current implementation which could result in race conditions
- Transfer ownership of the data manager to the client level. This addresses several issues that arise when multiple levels are used at once
* GUI and widget refactors
- Move all widgets to the correct package
- Rename GuiUtils and children to match vanilla naming
* New vertex pipeline API
- Move to vanilla's VertexConsumer
- Roll back recent PR making VertexConsumer format-aware. This is the opposite of what vanilla does, and should not be relevant with the updated lighting pipeline
* Lighting pipeline refactors
- Move to dedicated lighting package
- Separate flat and smooth lighters
- Convert from a vertex pipeline transformer to a pure vertex source (input is baked quads)
* Model geometry API refactors
- Rename IModelGeometry to IUnbakedGeometry
- Rename IModelConfiguration to IGeometryBakingContext
- Rename other elements to match vanilla naming
- Remove current changes to ModelState, as they do not belong there. Transforms should be specified through vanilla's system. ModelState is intended to transfer state from the blockstate JSON
- Remove multipart geometries and geometry parts. After some discussion, these should not be exposed. Instead, geometries should be baked with only the necessary parts enabled
* Make render types a first-class citizen in baked models
- Add named render types (block + entity + fabulous entity)
- Add named render type manager + registration event
- Make BakedModel aware of render types and transfer control over which ones are used to it instead of ItemBlockRenderTypes (fallback)
- (additional) Add concatenated list view. A wrapper for multiple lists that iterates through them in order without the cost of merging them. Useful for merging lists of baked quads
* General event refactors
- Several renames to either match vanilla or improve clarity
- Relocate client chat event dispatching out of common code
* Forge model type refactors
- Rename SeparatePerspectiveModel to SeparateTransformsModel
- Rename ItemModelMesherForge to ForgeItemModelShaper
- Rename DynamicBucketModel to DynamicFluidContainerModel
- Prefix all OBJ-related classes with "Obj" and decouple parsing from construction
- Extract ElementsModel from model loader registry
- Add EmptyModel (baked, unbaked and loader)
- Refactor CompositeModel to take over ItemMultiLayerBakedModel
- Remove FluidModel as it's not used and isn't compatible with the new fluid rendering in modern versions
- Move model loader registration to a proper event handler
- Update names of several JSON fields (backwards-compatible)
- Update datagens to match
* Miscellaneous changes and overlapping patches
- Dispatch all new registration events
- Convert ExtendedServerListData to a record
- Add/remove hooks from ForgeHooksClient as necessary
* Update test mods
* Fix VertexConsumerWrapper returning parent instead of itself
* Additional event cleanup pass
As discussed on Discord:
- Remove "@hidden" and "@see <callsite>" javadoc annotations from all client events and replace them with @ApiStatus.Internal annotation
- Make all events that shouldn't be fired directly into abstract classes with protected constructors
- Another styling pass, just in case (caught some missed classes)
* Add proper deprecation javadocs and de-dupe some vertex consumer code
* Replace sets of chunk render types with a faster BitSet-backed collection
This largely addresses potential performance concerns that using a plain HashSet might involve by making lookups and iteration as linear as they can likely be (aside from using a plain byte/int/long for bit storage). Further performance concerns related to the implementation may be addressed separately, as all the implementation details are hidden from the end user
* Requested changes
- Remove MinecraftForgeClient and move members to Minecraft, IForgeMinecraft and StencilManager
- Allow non-default elements to be passed into VertexConsumer and add support to derived classes
- Move array instantiation out of quad processing in lighting pipeline
- Fix flipped fluid container model
- Set default UV1 to the correct values in the remapping pipeline
- Minor documentation changes
* Add/update EXC entries and fix AT comment
* Add test mod as per Orion's request
* Additional requested changes
* Allow custom model types to request the particle texture to be loaded
* Even more requested changes
* Improve generics in ConcatenatedListView and add missing fallbacks
* Fix fluid render types being bound to the fluid and not its holder
* Remove non-contractual nullability in ChunkRenderTypeSet and add isEmpty
Additionally, introduce chunk render type checks in ItemBlockRenderTypes
Co-authored-by: Dennis C <[email protected] >
2022-07-07 18:34:51 -04:00
Paint_Ninja
c2225ab1da
Implement full support for IPv6 ( #8742 )
2022-07-01 15:38:53 -07:00
Dennis C
bb03b1a7d1
Fix certain user-configured options being overwritten incorrectly due to validators. ( #8780 )
2022-06-28 13:23:35 -07:00
Dennis C
be7275443f
Allow safely registering RenderType predicates at any time ( #8685 )
2022-06-27 21:18:53 -07:00
Dennis C
dc1c973684
Fix crash after loading error due to fluid texture gathering and config lookup ( #8802 )
2022-06-27 21:16:54 -07:00
Marc Hermans
06d568408c
Remove the configuration option for handling empty tags in ingredients. ( #8799 )
...
Now empty tags are considered broken in all states.
2022-06-27 21:16:20 -07:00
TelepathicGrunt
2256e88fb4
Fix MC-105317 Structure blocks do not rotate entities correctly when loading ( #8792 )
2022-06-27 21:15:22 -07:00
Jonathan Coates
9b962c8ff0
Fire ChunkWatchEvents after sending packets ( #8747 )
2022-06-27 21:09:23 -07:00
cech12
7656b75992
Add item handler capability to chest boats ( #8787 )
2022-06-27 21:04:42 -07:00
Joseph B
58a5449c2f
Add getter for correct BiomeSpecialEffectsBuilder to BiomeInfo$Builder ( #8781 )
2022-06-27 21:01:01 -07:00
Michael Bunting
702abe0665
Fix BlockToolModificationEvent missing cancelable annotation ( #8778 )
2022-06-27 20:59:47 -07:00
Sara Freimer
2070b77fd4
Fix ticking chunk tickets from forge's chunk manager not causing chunks to fully tick ( #8775 )
2022-06-27 20:58:57 -07:00
Dennis C
fd00822015
Fix default audio device config loading string comparison issue ( #8767 )
2022-06-27 20:54:54 -07:00
dhyces
17565c0ea2
Fix missed vanilla method overrides in ForgeRegistry ( #8766 )
2022-06-27 20:48:11 -07:00
Budschie
22668ad2c2
Add MinecraftServer reference to ServerTickEvent ( #8765 )
2022-06-27 20:45:35 -07:00
Joseph B
0dcc3d700d
Fix TagsProviders for datapack registries not recognizing existing files ( #8761 )
2022-06-27 20:43:50 -07:00
Dennis C
2ab3d9b8a3
Add callback after a BlockState was changed and the neighbors were updated ( #8686 )
2022-06-27 20:21:34 -07:00
Ketok
d578d8f6df
Add biome tag entries for 1.19 biomes ( #8684 )
2022-06-27 20:08:21 -07:00
eerussianguy
fd61016a7e
Make fishing rods use tool actions for relevant logic ( #8681 )
2022-06-27 20:07:51 -07:00
cpw
7f77d24f45
Update BootstrapLauncher to 1.1.1 and remove the forced
...
merge of text2speech since new BSL does it.
Signed-off-by: cpw <[email protected] >
2022-06-20 22:27:08 -04:00
cpw
3ebdcb34d1
Merge text2speech libs together so the natives are part of the jar
...
Signed-off-by: cpw <[email protected] >
2022-06-20 18:19:45 -04:00
King Lemming
05240fecf7
Make Forge ConfigValues implement Supplier. ( #8776 )
2022-06-20 23:07:48 +01:00
cpw
d5860d7cfa
Fix merge derp in AbstractModProvider and logic derp in ModDiscoverer
...
Signed-off-by: cpw <[email protected] >
2022-06-20 16:32:46 -04:00
cpw
7bb97dafda
Add "send to mods in order" method to ModList and use it ( #8759 )
...
* Add "send to mods in order" method to ModList and use it in RegistryEvents and DataGen..
* Also preserve order in runAll
* Do better comparator thanks @pupnewfster
* postEvent as well.
2022-06-20 16:11:33 -04:00
cpw
ca90babc4a
Update SJH to 2.0.2.. ( #8774 )
...
* Update SJH to 2.0.3..
2022-06-20 16:11:13 -04:00
cpw
4b813e4319
Sanity check the version specified in the mod file ( #8749 )
...
* Sanity check the version specified in the mod file to
make sure it's compatible with JPMS standards for
version strings.
Closes #8748
Requires SPI 6
2022-06-20 16:09:19 -04:00
Marc Hermans
fa84c22662
Fix SP-Devtime world loading crash due to missing server configs ( #8757 )
2022-06-17 11:38:41 -07:00
sciwhiz12
2ae640b530
Remove ForgeWorldPreset and related code ( #8756 )
...
Vanilla has a working replacement.
2022-06-17 08:56:12 +01:00
sciwhiz12
4f95a20c5e
Change ConfigValue#get() to throw if called before config loaded ( #8236 )
...
This prevents silent issues where a mod gets the value of the setting
before configs are loaded, which means the default value is always
returned.
As there may be situations where the getting the config setting before
configs are loaded is needed, and it is not preferable to hardcode the
default value, the original behavior is made available through #getRaw.
Implements and closes #7716
* Remove getRaw() method
This is effectively replaced with the expression `spec.isLoaded() ?
configValue.get() : configValue.getDefault()`.
* Remove forceSystemNanoTime config setting
As implemented, it never had any effect as any place where the config
value would be queried happens before the configs are loaded.
2022-06-17 08:31:45 +01:00
sciwhiz12
915d570b17
Fix EnumArgument to use enum names for suggestions ( #8728 )
...
Previously, the suggestions used the string representation of the enum
through Enum#toString, which can differ from the name of the enum as
required by Enum#valueOf, causing invalid suggestions (both in gui and
through the error message).
2022-06-15 14:15:32 -07:00
Marc Hermans
5979636ee5
Jar-In-Jar ( #8715 )
2022-06-15 12:27:47 -07:00
Silverminer007
5acfc6ae3c
[1.19] Fix data-gen output path of custom data-pack registries ( #8724 )
2022-06-15 16:22:00 +01:00
ChampionAsh5357
48341120fb
Fix player dive and surface animations in custom fluids ( #8738 )
2022-06-15 14:02:16 +01:00
ChampionAsh5357
ff45bb4c27
[1.19.x] Affect ItemEntity Motion in Custom Fluids ( #8737 )
2022-06-15 14:01:57 +01:00
KnightMiner
eabba46595
[1.19] Add support for items to add enchantments without setting them in NBT ( #8719 )
2022-06-15 00:52:58 +01:00
Joseph B
683bf99fe4
[1.19.x] Add stock biome modifier types for adding features and spawns ( #8697 )
2022-06-15 00:39:03 +01:00
ChampionAsh5357
2a05c7c01d
[1.19.x] Fluid API Overhaul ( #8695 )
2022-06-14 23:07:51 +01:00
Sara Freimer
e386229b66
Replace StructureSpawnListGatherEvent with StructureModifiers ( #8717 )
2022-06-14 12:05:07 -07:00
Magnus Jensen
59b8ec5625
Use stack sensitive translation key by default for FluidAttributes. ( #8707 )
2022-06-14 10:18:27 -07:00
ferriarnus
50ae5db357
Delete LootItemRandomChanceCondition which added looting bonus enchantment incorrectly. ( #8733 )
2022-06-14 10:17:38 -07:00
cpw
3aa99a1250
Update EventBus to 6.0, ModLauncher to 10.0.1 and BootstrapLauncher to 1.1 ( #8725 )
2022-06-14 10:15:46 -07:00
coehlrich
00c8513129
Replace support bot with support action ( #8700 )
2022-06-13 17:36:16 -07:00
Brennan Ward
9c1404fecc
Fix Reach Distance / Attack Range being clamped at 6.0 ( #8699 )
2022-06-13 17:33:02 +01:00
Joseph B
c11686ab6c
[1.19.x] Fix mods' worldgen data not being loaded when creating new singleplayer worlds ( #8693 )
2022-06-13 17:21:21 +01:00
SizableShrimp
2818984f6c
[1.19.x] Fix experimental confirmation screen ( #8727 )
...
Signed-off-by: SizableShrimp <[email protected] >
2022-06-13 17:20:50 +01:00
TelepathicGrunt
db225ed04a
Move is_mountain to forge's tag instead of vanilla's ( #8726 )
2022-06-13 02:39:04 +01:00
ChampionAsh5357
0ec4c34a34
[1.19.x] Add CommandBuildContext to Register Command Events ( #8716 )
2022-06-12 23:36:25 +01:00
Sara Freimer
597ebc3267
Only rewrite datagen cache when needed ( #8709 )
2022-06-10 20:35:40 -07:00
cpw
e16f54eebe
Implement a simple feature system for Forge ( #8670 )
...
* Implement a simple feature system for Forge. Allows mods to demand certain features are available in the loading system. An example for java_version is provided, but not expected to be used widely. This is more targeted to properties of the display, such as GL version and glsl profile.
Requires https://github.com/MinecraftForge/ForgeSPI/pull/13 to be merged first in ForgeSPI, and the SPI to be updated appropriately in build.gradle files.
* rebase onto 1.19 and add in SPI update
2022-06-09 17:00:39 -04:00
cpw
27480c15fa
displayTest option in mods.toml ( #8656 )
...
* displayTest option in mods.toml
* "MATCH_VERSION" (or none) is existing match version string behaviour
* "IGNORE_SERVER_VERSION" accepts anything and sends special SERVERONLY string
* "IGNORE_ALL_VERSION" accepts anything and sends an empty string
* "NONE" allows the mod to supply their own displaytest using the IExtensionPoint mechanism.
* Update display test with feedback and added the mods.toml discussion in mdk.
2022-06-09 16:39:00 -04:00
cpw
df0dea59f3
Update forgeSPI to v5 ( #8696 )
2022-06-09 15:59:48 -04:00
gigaherz
d7bc564512
Make IVertexConsumers such as the lighting pipeline, be aware of which format they are dealing with. ( #8692 )
...
Also fix Lighting pipeline ignoring the overlay coords from the block renderer.
2022-06-09 21:39:16 +02:00
ferriarnus
e6a73ef36c
Fixed misaligned patch to invalidateCaps in Entity ( #8705 )
2022-06-09 11:41:51 -07:00
SizableShrimp
1ba7c6aecd
Fix readAdditionalLevelSaveData ( #8704 )
2022-06-09 11:40:42 -07:00
AzureDoom
7c5e95222e
Fixes setPos to syncPacketPositionCodec ( #8702 )
2022-06-09 11:40:21 -07:00
SizableShrimp
38df3d2a15
Fix wrong param passed to PlayLevelSoundEvent.AtEntity ( #8688 )
2022-06-09 11:39:35 -07:00
ferriarnus
3beaa817f3
Override initialize in SlotItemHandler, so it uses the itemhandler instead of container ( #8679 )
2022-06-09 11:39:04 -07:00
SizableShrimp
3ebd7ba0ef
Update MDK for 1.19 changes ( #8675 )
2022-06-09 11:37:52 -07:00
LexManos
1ba9c34650
Add helper to RecipeType, and fix eclipse compiler error in test class.
2022-06-09 11:36:52 -07:00
cpw
2f9e726aea
Update modlauncher to latest ( #8691 )
2022-06-08 16:02:50 -07:00
Sara Freimer
ade2b8cc80
Fix getting entity data serializer id crashing due to improper port to new registry system ( #8678 )
2022-06-08 09:14:41 -07:00
Sara Freimer
9b144f4541
Fire registry events in the order vanilla registers to registries ( #8677 )
...
Custom registries are still fired in alphabetical order, after all vanilla registries.
Move forge's data_serializers registry to forge namespace.
2022-06-08 09:08:55 -07:00
cpw
0c35436217
Add method with pre/post wrap to allow setting/clearing mod context. ( #8682 )
...
Fixes ActiveContainer in ModContext not being present in registry events. Closes #8680
2022-06-08 08:38:53 -07:00
SizableShrimp
0e66b7b217
Fix the Curlie oopsie
...
Signed-off-by: SizableShrimp <[email protected] >
2022-06-07 17:08:56 -04:00
4ed9117799
Forge 1.19
...
* Bump pack.mcmeta formats
* 1.19 biome modifiers
* Mark ClientPlayerNetworkEvent.LoggedOutEvent's getters as nullable
* Add docs and package-info to client extension interfaces package
* Move RenderBlockOverlayEvent hooks to ForgeHooksClient
* Add package-infos to client events package
* Rename SoundLoadEvent to SoundEngineLoadEvent
This reduces confusion from consumers which may think the
name SoundLoadEvent refers to an individual sound being loaded rather
than the sound engine.
* Document and change SoundLoadEvent to fire on mod bus
Previously, it fired on both the mod bus and the Forge bus, which is
confusing for consumers.
* Delete SoundSetupEvent
Looking at its original implementation shows that there isn't an
appropriate place in the new sound code to reinsert the event, and the
place of 'sound engine/manager initialization event' is taken already by SoundLoadEvent.
* Perform some cleanup on client events
- Removed nullable annotations from ClientPlayerNetworkEvent
- Renamed #getPartialTicks methods to #getPartialTick, to be consistent
with vanilla's naming of the partial tick
- Cleanup documentation to remove line breaks, use the
spelling 'cancelled' over
'canceled', and improve docs on existing and
new methods.
* Remove EntityEvent.CanUpdate
Closes MinecraftForge/MinecraftForge#6394
* Switch to Jetbrains nullability annotations
* New PlayLevelSoundEvent; replaces old PlaySoundAtEntityEvent
* Remove ForgeWorldPresetScreens
* Remove IForgeRegistryEntry
* Remove use of List<Throwable> in FML's CompletableFutures
* Add docs to mod loading stages, stages, and phases
* Gradle 7.4.2
* Use SLF4J in FMLLoader and other subprojects
* Switch dynamic versions in subprojects to pinned ones
* Switch ForgeRoot and MDK to FG plugin markers
* Configure Forge javadoc task
The task now uses a custom stylesheet with MCForge elements, and
configured to combine the generation from the four FML subprojects
(fmlloader, fmlcore, javafmllanguage, mclanguage) and the Forge project
into the javadoc output.
* Update docs/md files, for 1.19 update and the move away from IRC to Discord.
* Make "Potentially dangerous alternative prefix" a debug warning, not info.
Co-authored-by: Curle <[email protected] >
Co-authored-by: sciwhiz12 <[email protected] >
Signed-off-by: SizableShrimp <[email protected] >
2022-06-07 15:31:26 -05:00
ChampionAsh5357
270e778ac5
[1.18.x] Fix #8530 (Banner Pattern) NPE ( #8666 )
2022-06-07 17:43:17 +01:00
Dennis C
9528fd8bcc
Revert "[1.18.x] Enable the Forge light pipeline by default ( #8629 )" ( #8663 )
2022-06-06 03:31:30 +01:00
Take Weiland
5a75314bb3
Fix eager loading of model loaders during datagen causing NPE ( #8659 )
2022-06-05 20:33:32 +01:00
Autovw
cceb8db74e
[1.18.x] Fix 2 crossbow animations not applying to custom variants ( #8625 )
2022-06-05 16:34:02 +01:00
Redstone_Dubstep and Curle
8e7b08b96d
[1.18.x] Added new Disconnection screen to display better channel/registry mismatch information ( #8402 )
...
Co-authored-by: Curle <[email protected] >
2022-06-05 16:01:17 +01:00
Gegy
194f11069f
[1.18] Avoid exclusive synchronisation in block render type lookups ( #8476 )
2022-06-05 15:56:54 +01:00
sciwhiz12
5ef0d667e0
[1.18] Fix command redirects by replacing Commands#fillUsableCommands ( #8616 )
...
Commands#fillUsableCommands does not handle redirect nodes properly. It
blindly pulls from the cached node map for a redirect node, which may
have no result because the target node of the redirect has not been
visited yet.
CommandHelper#mergeCommandNode is better in this regard, because it
visits the target node of the redirect instead of blindly pulling from
the node map.
Fixes #7551
2022-06-05 15:47:52 +01:00
sciwhiz12
8a1c1d7e53
[1.18] Fix tags command suggestion to include dynamic registries ( #8638 )
...
Manually entering the names of dynamic registries work as expected. The
suggestions for registries didn't include dynamic registries because
they queried the static registries rather than querying all registries
from the server's `RegistryAccess` (which includes both static
registries and dynamic registries).
2022-06-05 15:45:14 +01:00
cpw and Curle
1353c1d9fa
Low code language provider ( #8633 )
...
Signed-off-by: cpw <[email protected] >
Co-authored-by: Curle <[email protected] >
2022-06-05 15:44:46 +01:00
SizableShrimp
70a8663605
[1.18.x] Add checkJarCompatibility task ( #8644 )
...
Signed-off-by: SizableShrimp <[email protected] >
2022-06-05 15:40:26 +01:00
ChampionAsh5357 and Curle
f179eed971
[1.18.x] Fix Banner Patterns not being extensible ( #8530 )
...
Co-authored-by: Curle <[email protected] >
2022-06-05 15:39:29 +01:00
Flemmli97
d4c8708229
1.18.x Port BiomeDictionary over to biome tags ( #8564 )
2022-06-05 15:35:06 +01:00
Dennis C
4008057803
[1.18.x] Enable the Forge light pipeline by default ( #8629 )
2022-06-05 15:28:46 +01:00
997d8e0aa2
[1.18.x] Allow Modders to add custom data-pack registries through RegistryBuilder ( #8630 )
...
Co-authored-by: Silverminer007 <[email protected] >
Co-authored-by: Curle <[email protected] >
2022-06-05 15:27:30 +01:00
Take Weiland
15bd5f0d30
[1.18] Allow custom rarities to directly modify the style ( #8648 )
2022-06-05 15:24:54 +01:00
Take Weiland
ccaa20b006
[1.18] Fix reload listener registration in ModelLoaderRegistry ( #8650 )
2022-06-05 15:24:29 +01:00
Dennis C
c48698f680
Fix wrong position in Level#hasChunk() call in IForgeBlockGetter ( #8654 )
2022-06-05 15:23:49 +01:00
Take Weiland
4285c931e7
Add ItemStack context to Enchantment#getDamageBonus ( #8635 )
2022-06-01 09:19:18 -07:00
Brennan Ward
03c43cf3da
Fix attack cooldown bar showing when out of reach of target. Closes #8639 ( #8640 )
2022-05-31 11:07:22 -07:00
Take Weiland
8d14797416
Improve TagsUpdatedEvent by adding update case information. ( #8636 )
2022-05-31 11:03:55 -07:00
sciwhiz12
e4837f65a3
Deprecate patched-in Style methods for removal, vanilla variants exist. ( #8615 )
2022-05-31 10:38:25 -07:00
sciwhiz12
ee46af66e5
Add pack-type-specific format versions in pack metadata. Fixes #8563 ( #8612 )
2022-05-31 10:36:44 -07:00
SizableShrimp
2bec354317
Catch and aggregate exceptions during NewRegistryEvent ( #8601 )
2022-05-31 10:34:06 -07:00
DaemonUmbra
727c7780b3
Added removeErroringEntities config option ( #8627 )
...
Counterpart to removeErroringBlockEntities
2022-05-23 20:03:03 +01:00
Take Weiland
5410f9b532
Add missing patches for not lowering mipmap level for small textures ( #8622 )
2022-05-23 20:02:51 +01:00
gigaherz
4c09d8d774
Make TransformType enum extensible, includes the possibility to specify a fallback type for cases where models don't specify the transform explicitly. ( #8566 )
...
Makes it possible to add new perspectives.
2022-05-22 17:55:48 +01:00
LexManos
aded6fb847
Fix CheckSAS to actually validate that the SAS line will do something.
...
This removes all method level lines as they are not necessary now.
2022-05-21 13:16:58 -07:00
Brennan Ward
c2ad951336
Add Attack Range attribute and Update Reach Distance ( #8478 )
2022-05-21 16:44:36 +01:00
Alex Thomson
7fb5dfa3e6
Implement PlayerNegotiationEvent ( #8599 )
2022-05-14 17:27:54 +01:00
sciwhiz12
0f8c2fa454
Fire EntityTravelToDimensionEvent in all expected cases ( #8614 )
...
Fixes #8520
2022-05-08 06:12:21 +01:00
sciwhiz12
dfc2aa9c6a
Fix isEdible crash ( #8613 )
...
Fixes #8602
2022-05-08 04:41:30 +01:00
LexManos
8865092bb2
Fix typo in Snow Golem patch causing them to destroy blocks they shouldn't. Closes #8611
2022-05-07 12:24:09 -07:00
Sara Freimer
abc3353375
Re-introduce an attribute for entity step height in a non-breaking way ( #8607 )
2022-05-05 19:11:59 +01:00
ChampionAsh5357
e7a8da4d0b
Revert step height attribute ( #8604 )
2022-05-05 14:07:07 +01:00
SizableShrimp
f938051373
[1.18.x] Fix ContextNbtProvider serializing the wrong name ( #8575 )
2022-05-03 20:27:37 +01:00
Dennis C
9db0d72232
Let BaseRailBlock decide if the calculated RailShape for placement or connection to neighbors is valid ( #8562 )
2022-05-03 19:58:53 +01:00
cech12
9e6e789b73
Fix shears not playing a breakage sound ( #8600 )
2022-05-03 19:17:05 +01:00
Leon Linhart
bc0d7179cc
Update IExtensionPoint javadoc to be correct ( #8568 )
2022-05-03 18:38:28 +01:00
Meldexun
aafa34439a
Fix IDs of Multi-part entities being desynced across client and server. ( #8576 )
2022-05-03 18:29:21 +01:00
Brennan Ward
168a3bc6fc
Expose ICondition$IContext to modded reload listeners. ( #8596 )
2022-05-03 18:25:42 +01:00
Silver_David
2fb8b2eb18
Fix undead causing chunkloading leading to extensive lag ( #8583 )
2022-05-03 18:24:13 +01:00
DaemonUmbra
da82705e86
Accomodate Bukkit-like Servers not sending Command Args ( #8582 )
...
Note to modded server devs:
Please, please, please implement full compatibility with [Brigadier](https://github.com/Mojang/Brigadier ) instead of hacking around it.
2022-05-03 18:21:53 +01:00
Phylogeny
a237a39d52
Restore translation key comments to ForgeConfigSpec ( #8584 )
2022-05-03 18:20:21 +01:00
Meldexun
c042dc5542
Fix entity parts being ignored when collecting entities in an AABB ( #8588 )
...
Previously entity parts are only taken into consideration when the parent entity is in a chunk that intersects with the AABB
2022-05-03 18:17:26 +01:00
KnightMiner
1493d06b5a
Fix EntityInteraction event running twice on client side ( #8598 )
2022-05-03 18:08:47 +01:00
Vincent Lee
9a11201a9e
Introduce an attribute for step height additions ( #8389 )
2022-05-03 18:01:45 +01:00
KnightMiner
c34094ea50
Fix shears passing on a client when interacting with a shearable entity ( #8597 )
...
Caused the offhand item to also interact with the entity, possibly sending a packet to the server causing both hands to interact
2022-05-02 10:46:58 -07:00
Alex Thomson
c531b2b5c7
Allow Exception passed through CommandEvent to propagate ( #8590 )
2022-05-02 10:43:49 -07:00
8ade7bbaeb
Mark 1.18.2 Recommended Build.
...
Co-authored-by: sciwhiz12 <[email protected] >
Co-authored-by: Marc Hermans <[email protected] >
Co-authored-by: Curle <[email protected] >
Co-authored-by: SizableShrimp <[email protected] >
Co-authored-by: David Quintana <[email protected] >
2022-04-18 16:35:06 -07:00
sciwhiz12
6347071976
Add event for hooking into StructuresBecomeConfiguredFix Fixes #8505
...
Pass-through unknown structure IDs with "unknown." prefix
This avoids the fixer throwing an exception due to the unknown
structure, which causes the chunk data to be dropped (and freshly
regenerated later). The deserializer logs and ignores the unknown
structure ID, avoiding full chunk data loss.
2022-04-17 15:12:05 -07:00
Wyn Price
17bd0c4f91
Fix missed patch for loading modded dimensions on Dedicated Server start ( #8555 )
2022-04-17 14:41:31 -07:00
LexManos
bafaf90329
Fix potential concurrency issues with BiomeDictionary. Closes #8266
2022-04-14 11:13:14 -07:00
LexManos
fcb81aa660
Fix debug text being rendered slightly wrong.
2022-04-14 10:58:43 -07:00
LexManos
eb8fe02a5e
Fix intrusive handlers on dummy objects.
2022-04-13 23:21:57 -07:00
sciwhiz12
c1874bb5ab
Amend license header to include contributors and apply to FML subprojects ( #8525 )
...
After internal discussion, it was decided that we need to include
"contributors" to the license header. This avoids claiming that the
Java source files are under the exclusive copyright ownership of Forge
LLC, which excludes contributors that still hold copyright ownership
over their contributions (but is licensed under the LGPLv2.1 as stated
in the Forge CLA).
2022-04-13 20:42:00 -07:00
Robert Kämpf
f0b90dc35d
Add modern implementation of the Slider widget and deprecate the old one ( #8496 )
2022-04-13 19:59:38 +02:00
canitzp
eed24f017f
Implement ItemStack and LivingEntity sensitive method to get the FoodProperties for an Item ( #8477 )
2022-04-13 10:45:08 -07:00
SizableShrimp
7d79f0d581
Add use context and simulate flag to getToolModifiedState, enabled HOE_TILL action. ( #8557 )
2022-04-12 09:43:20 -07:00
sciwhiz12
94ce098056
Remove bad patch for AbstractFurnaceBlockEntity ( #8561 )
...
The patch prevented the entity from being marked as changed when an
item finished smelting.
2022-04-11 15:50:06 +01:00
Sara Freimer
fbaf92105e
Fix issues with custom forge ingredients causing sub ingredients to be prematurely and invalidly cached ( #8550 )
...
Add config option and skip checking for empty ingredients in shapeless recipe deserialization
2022-04-08 15:37:43 -07:00
Minecraftschurli
1e6845669c
Add EnderManAngerEvent to make it possible to prevent endermen getting angry at a player based on more then their helmet. ( #8406 )
2022-04-08 10:14:50 -07:00
LexManos
796cb29904
Fix misaligned patch in BlockEntity.save.
2022-04-07 11:40:08 -07:00
SizableShrimp
42472a8ab8
Expose getHolder() method on RegistryObject, as helper for when absolutely necessary to pass into Vanilla code. ( #8548 )
...
It is recommended you avoid if you can.
2022-04-06 14:13:17 -07:00
Sara Freimer
954db14250
Fix return value of Recipe#isIncomplete being inaccurate for empty tags ( #8549 )
2022-04-04 18:10:41 -07:00
KnightMiner
56976e4d20
Simplfy default behavior of isSimple ( #8543 )
...
isSimple should only return true if the ingredient is any more sensitive then JUST itemA == itemB
It used to take metadata and damage into account, but that was removed in the flattening.
Also prevents fetching tag values too early, as tags are not ready during the ingredient constructor
2022-04-04 18:05:41 -07:00
Sr_endi
c38e0de8f5
Implement IPlantable in BambooBlock ( #8508 )
2022-04-04 18:02:33 -07:00
LexManos
d33f24ff33
Fix compiler error in eclipse, bump MCPConfig for FF/Record fix.
2022-04-04 18:02:20 -07:00
Technici4n
87c4f90fb2
Fix TagEmptyCondition by passing tag context into conditional and recipe deserializers. ( #8546 )
2022-04-02 00:09:20 -07:00
SizableShrimp
1f031ad2c3
Allow using DeferredRegisters for vanilla registries ( #8527 )
...
Catch and aggregate exceptions when applying object holders
2022-04-01 13:49:46 -07:00
sciwhiz12
8f0d3da1e4
Remove cut copper from copper storage blocks tag. Closes #8403 ( #8539 )
2022-03-30 12:57:37 -07:00
ChampionAsh5357
10ca83e90d
Fix brewing stand input placement not auto-splitting stackable potions. ( #8534 )
2022-03-30 12:56:46 -07:00
SizableShrimp
e5d4e5d3ab
Fix lost validation of registry data on singleplayer world load ( #8533 )
...
Fix some leftover 1.18.2 TODOs
2022-03-25 17:52:48 -07:00
Cyborgmas
c7e4e60052
1.18 Allow mod menus to have their own recipebook ( #8028 )
2022-03-24 22:08:17 +00:00
KnightMiner
093acab825
[1.18.x] Add 3 new ingredient types, and make existing ingredients compatible with datagen ( #8517 )
2022-03-24 22:04:32 +00:00
Jonathan Colmenares and noeppi_noeppi
c3bd365baa
[1.18.x] Add the projectile search event. ( #8322 )
...
Co-authored-by: noeppi_noeppi <[email protected] >
2022-03-24 21:52:58 +00:00
Cyborgmas
02fd859d5c
Allow confirm-and-save of the Experimental Settings warning. ( #7275 )
2022-03-24 21:36:03 +00:00
KnightMiner
349e12f939
Add hook for powdered-snow shoes ( #8514 )
2022-03-24 21:17:12 +00:00
Martijn van den Brand
9d3eb9df8f
Add some helper Access Transformers ( #8490 )
2022-03-24 21:14:27 +00:00
sciwhiz12
3c39a36c26
Fix incorrect method used in getStream ( #8532 )
...
The original correct method is getPath, but the patch uses getLocation.
The former is the actual resource path to the sound OGG file, while the
latter is the sound's location.
Fixes #8531
2022-03-24 01:11:17 +00:00
KnightMiner
b0a64ff8ac
[1.18] Make it easier to register custom skull blocks models ( #8351 )
2022-03-23 01:50:50 +01:00
eerussianguy
e1ad29edd0
Rework fog events ( #8492 )
2022-03-23 01:43:39 +01:00
mezz
5ac711839f
Update Forge Auto Renaming Tool to the latest version ( #8515 )
2022-03-22 00:17:49 -07:00
Take Weiland
415cdd0588
Add patches to enable MobEffects with IDs > 255 ( #8380 )
2022-03-21 23:10:33 -07:00
Jonathan Coates
7f23b3b525
Allow sound instances to play custom audio streams ( #8295 )
2022-03-21 22:44:02 -07:00
Joseph Tarbit
de1050e420
Fix NPE caused by canceling onServerChatEvent ( #8516 )
2022-03-17 12:59:20 -07:00
SizableShrimp
ad75cb8644
[1.18.2] Fix tags for custom forge registries. ( #8495 )
...
Tag-enabled registries must now be registered to vanilla's root registry. See RegistryBuilder#hasTags.
Modded tag-enabled registries have to use the format `data/<namespace>/tags/<registrynamespace>/<registryname>/<tag>.json`
This format is to prevent conflicts for registries with the same path but different namespaces
EX: Registry name `examplemod:shoe`, tag name `blue_shoes` would be `data/<namespace>/tags/examplemod/shoe/blue_shoes.json`
RegistryEvent.NewRegistry has been moved and renamed to NewRegistryEvent.
RegistryBuilder#create has been made private. See NewRegistryEvent#create
Created new ITagManager system for looking up Forge tags. See IForgeRegistry#tags.
Add lookup methods for Holders from forge registries. See IForgeRegistry#getHolder.
2022-03-16 13:36:00 -07:00
Sara Freimer
30f3a7dbba
Lower custom item entity replacement from highest to high so mods can cancel it during a specific tick ( #8417 )
2022-03-15 15:09:28 -07:00
BlueAgent
9d74a3520f
Fix MC-176559 related to the Mending enchantment ( #7606 )
2022-03-15 17:45:23 +00:00
Dennis C
57d6f31adb
[1.18.x] Allow blocks to hide faces on a neighboring block ( #8300 )
...
* Allow blocks to hide faces on a neighboring block
* Allow blocks to opt-out of external face hiding
2022-03-13 22:59:59 +01:00
SizableShrimp
9bf227afeb
[1.18.x] Fix FMLOnly in forgedev and userdev ( #8512 )
...
Signed-off-by: SizableShrimp <[email protected] >
2022-03-13 21:48:55 +00:00
Gabriel Harris-Rouquette
72f5b3f84d
Clear local variable table on RuntimeEnumExtender transformation ( #8502 )
2022-03-12 23:08:50 -08:00
Sara Freimer
df3c7ce19a
Pass server resources to reload listener event ( #8493 )
2022-03-06 14:57:14 +00:00
Paint_Ninja
6cb444455d
Use UTF-8 charset for Java compilation ( #8486 )
2022-03-06 14:53:15 +00:00
Andy Dingley
64ded22276
Use wither as griefing entity when it indirectly hurts an entity ( #8431 )
2022-03-06 14:49:53 +00:00
Joseph Tarbit
41c88f6e52
Provide access to the haveTime supplier in WorldTickEvent and ServerTickEvent ( #8470 )
2022-03-06 14:42:58 +00:00
sciwhiz12
cdd91968b4
Fix durability bar not respecting an item's custom max damage ( #8482 )
2022-03-06 14:32:36 +00:00
sciwhiz12
898696d770
Add event for controlling potion indicators size ( #8483 )
...
This event allows forcing the rendering of the potion indicators in the
inventory screen to either compact mode (icons only) or classic mode
(full width with potion effect name).
2022-03-06 14:31:12 +00:00
sciwhiz12
3dcb4a2c9c
Introduce system mods to mod loading ( #8238 )
...
Core game mods are mods which are required to exist in the environment
during mod loading. These may be specially provided mods (for example,
the `minecraft` mod), or mods which are vital to the framework which
FML is connected to (for example, Forge and the `forge` mod).
These core game mods are used as the only existing mods in the mod list
if mod sorting or dependency verification fails. This allows later
steps in the which use resources from these mod files to work correctly
(up to when the error screen is shown and the game exits).
2022-03-06 14:21:00 +00:00
sciwhiz12
c458ff17fd
Add missing module exports arg to server arguments list ( #8500 )
2022-03-06 01:31:53 +00:00
Frostygames0
7009c1aa89
Fixed swim speed attribute ( #8499 )
2022-03-05 15:19:22 +00:00
Dennis C
4311edd4cd
Fix incorrect movement distance calculation ( #8497 )
2022-03-04 03:42:15 +00:00
LexManos
735382be03
Add support to Forge registry wrappers for new Holder system. Closes #8491
...
Fix TagBasedToolTypesTest not generating needed data correctly.
2022-03-02 13:38:02 -08:00
gigaherz
14bca0d757
Fix JNA not working at runtime and causing issues with natives.
2022-03-02 01:14:57 +01:00
425eff39ff
Update to 1.18.2
...
Co-authored-by: sciwhiz12 <[email protected] >
Co-authored-by: Marc Hermans <[email protected] >
Co-authored-by: LexManos <[email protected] >
Co-authored-by: Curle <[email protected] >
Signed-off-by: SizableShrimp <[email protected] >
2022-03-01 14:16:46 -08:00
sciwhiz12
34291c1fb2
1.18.x Omnibus ( #8239 )
2022-03-01 18:59:37 +00:00
ichttt
4011c3fb07
Bump modlauncher and securejarhandler version ( #8489 )
2022-02-28 14:31:10 -08:00
LexManos
104daf8ef0
Update license headers to compact SPDX format.
...
License has not changed, this is just more compact and doesn't include years.
Bump version for RB.
2022-02-28 13:41:23 -08:00
LexManos
d9a04b881a
Remove - from allowed characters in mod ids.
...
The Java Module System does not allow them in module ids.
Closes #8488
2022-02-28 13:23:53 -08:00
gigaherz
ae62362d49
Fix static initializer crash when loading BakedRenderable.
2022-02-28 22:03:31 +01:00
sciwhiz12
2f8c3ea738
Fix regressions for onAddedTo/RemovedFromWorld and related events ( #8434 )
2022-02-28 17:23:19 +00:00
SizableShrimp
f0c2554b1c
[1.18] Integrate the gametest framework with Forge ( #8225 )
...
Signed-off-by: SizableShrimp <[email protected] >
2022-02-25 01:06:32 +00:00
sciwhiz12
bb547a5748
Re-add missing Shulker patch for EntityTeleportEvent ( #8481 )
2022-02-25 00:51:00 +00:00
sciwhiz12
5dd3842b77
Fix entity type in conversion event to Drowned ( #8479 )
2022-02-25 00:49:48 +00:00
Sara Freimer
2ab4685149
Add VanillaGameEvent to allow for globally listening to vanilla's GameEvents ( #8472 )
2022-02-22 15:12:06 -08:00
Sara Freimer
edbc07ed22
Provide damage source context to Item#onDestroyed(ItemEntity) ( #8473 )
2022-02-22 14:38:53 -08:00
Sara Freimer
e225dbc8d1
Add missing shear and elytra game events ( #8471 )
2022-02-22 14:24:14 -08:00
sciwhiz12
117be913da
Fix comment for permission handler config setting ( #8466 )
2022-02-22 14:21:47 -08:00
Brennan Ward
512d4d7271
Apply nullable annotations to LootingLevelEvent ( #8422 )
2022-02-22 14:20:29 -08:00
LexManos
a9237cff75
Fix Mob Spawner logic with CustomSpawnRules. Closes #8398
2022-02-22 14:18:52 -08:00
Take Weiland
bc24487d0e
Fix LivingDropsEvent not having all drops for foxes ( #8387 )
2022-02-15 09:41:06 -08:00
Take Weiland
c3e0b071a2
Add missing Locale parameter to String.format calls, Fixes getArmorResource functionality on some locaales. ( #8463 )
2022-02-15 09:27:10 -08:00
Take Weiland
21787234f4
Allow items to hide parts of their tooltips by default ( #8358 )
2022-02-15 09:23:18 -08:00
Marc Hermans
a9958b19db
Prevent 1.x Branches being treated as Pull Requests. ( #8443 )
2022-02-12 09:28:14 -08:00
Take Weiland
b25d9562f2
Fix RegistryObject not working if created after registry events ( #8383 )
2022-02-08 13:05:38 -08:00
Marc Hermans
2765c0d8d9
Add support for tagging StructureFeatures ( #8408 )
2022-02-08 12:48:57 -08:00
Take Weiland
82a20911cb
Re-added the patch for LivingExperienceDropEvent and enable it for dragons ( #8388 )
2022-02-08 12:39:01 -08:00
Sara Freimer
f19f7e4670
Implement getPickupSound on ForgeFlowingFluid ( #8374 )
2022-02-08 12:24:47 -08:00
Frinn38
e10f5c637e
Add getCodec method in ForgeRegistry ( #8333 )
2022-02-08 12:12:28 -08:00
eerussianguy
4bfe562f14
Fix #8298 (MobBucketItem) and add test mod ( #8313 )
2022-02-08 11:55:25 -08:00
Joseph Tarbit
5e64ef9ecb
Deprecate IForgeAbstractMinecart::getCartItem ( #8283 )
2022-02-08 11:38:25 -08:00
Take Weiland
dda1be91ea
Fix HoeItem patch incorrectly applied during migration. ( #8384 )
2022-02-08 11:28:22 -08:00
Take Weiland
4f4849b60c
Fix issues with client only commands in combination with server only commands not using MC's command system. ( #8452 )
2022-02-08 11:24:55 -08:00
Dipo
3b754fef5e
Fix FoliagePlacerType and TreeDecoratorType registry ( #8394 )
2022-02-04 01:28:55 +00:00
Take Weiland
5e295f2485
Fix PlayerChangeGameModeEvent ( #8441 )
2022-02-04 00:08:41 +00:00
Dennis C
5c9258491f
Fix comparison of custom ParticleRenderTypes leading to broken particle effects. ( #8385 )
2022-01-30 14:26:03 +00:00
LexManos
af87677516
Fix cases where null is potentially sent to Screen events. Closes #8432
2022-01-27 23:38:08 -08:00
mezz
a68c886ea2
Ensure ScreenEvent doesn't accept null screens ( #8296 )
2022-01-27 19:47:58 -08:00
Bagel
b129e385cc
Update cobblestone tags ( #8292 )
2022-01-27 19:39:44 -08:00
Marc Hermans
fdc921923c
Prevent release of custom payload packet buffer on the server side. ( #8181 )
2022-01-27 19:33:45 -08:00
SizableShrimp
476e20ae96
Make MinecraftLocator respect non-MOD FML Mod Types Fixes #8344 ( #8346 )
2022-01-22 10:26:14 -08:00
Joseph B
d63516f2ac
Fix vanilla worlds being marked experimental ( #8415 )
2022-01-22 03:46:44 +00:00
KnightMiner
fd522d38b0
Simplify usage of IItemRenderProperties::getArmorModel ( #8349 )
2022-01-22 00:37:55 +01:00
Take Weiland
5f0d4abf23
Hide mod update notification while screen is still fading in ( #8386 )
2022-01-21 22:38:46 +01:00
LexManos
8e3e8b2120
Revert "Hooks to allow registering and managing custom DFU schemes and types. ( #8242 )"
2022-01-20 15:39:47 -08:00
Marc Hermans
72fd6808d8
Provide NPE protection against out of order init of the TYPES and REF ( #8410 )
2022-01-20 14:58:48 -08:00
Brennan Ward
2c35d04495
Add ShieldBlockEvent ( #8261 )
2022-01-20 13:43:22 -08:00
gigaherz
f704d65d5a
Add renderable API to allow easier rendering of OBJ and other custom models, from Entity and BlockEntity renderers. ( #8259 )
...
This is a redesign of a discarded section of my initial model system rewrite, back in 1.14.
In order to use it with the OBJ loader, you can use OBJLoader.INSTANCE.loadModel to get the OBJModel, and then call OBJModel#bakeRenderable() to get a SimpleRenderable object to render with.
The SimpleRenderable support animation, by providing different transformation matrices for each part in the MultipartTransforms.
Additionally, a BakedRenderable helper exists to turn an arbitrary BakedModel into a renderable.
After trying to get the B3D loader to work, I decided it wasn't worth the trouble and marked it for removal instead.
2022-01-20 13:30:39 -08:00
sciwhiz12
6c6a4817e7
Merge values of defaulted optional tags, Fixes issue where multiple mods declare the same optional tag. ( #8250 )
2022-01-20 12:26:54 -08:00
Girafi
ef3408c1eb
Added new 1.18 biomes to the BiomeDictionary ( #8246 )
2022-01-20 12:21:45 -08:00
Marc Hermans
0ea593c50e
Hooks to allow registering and managing custom DFU schemes and types. ( #8242 )
2022-01-20 12:20:39 -08:00
Take Weiland
643b972e97
Ping data compression ( #8169 )
2022-01-20 11:51:40 -08:00
Joseph B
93ce9e72f7
Expand the LevelStem codec to allow dimension jsons to specify that the dimension's chunk generator should use the overworld/server's seed ( #7955 )
2022-01-20 11:46:08 -08:00
coehlrich
f1bafce275
Add Client Commands ( #7754 )
2022-01-20 11:32:55 -08:00
SuperMartijn642
75408c1a70
Remove references to the now-broken BlockEntity#save(CompoundTag) method ( #8235 )
2022-01-19 19:27:34 +00:00
cpw
00fafb07ce
update McModLauncher libraries to newer versions...
...
Signed-off-by: cpw <[email protected] >
2022-01-17 21:46:45 -05:00
cpw
e49a347aea
add extra keystore properties
...
Signed-off-by: cpw <[email protected] >
2022-01-16 18:29:05 -05:00
cpw
2c8ca313a0
TeamCity change in 'MinecraftForge / MinecraftForge' project: project parameters were changed
2022-01-16 23:26:56 +00:00
cpw
fe7dcdf637
TeamCity change in 'MinecraftForge / MinecraftForge' project: project parameters were changed
2022-01-16 23:26:35 +00:00
cpw
15daa2955d
TeamCity change in 'MinecraftForge / MinecraftForge' project: project parameters were changed
2022-01-16 23:05:42 +00:00
cpw
03af8a53a2
TeamCity change in 'MinecraftForge / MinecraftForge' project: project parameters were changed
2022-01-16 23:05:18 +00:00
cpw
c7e4e4b5b4
TeamCity change in 'MinecraftForge / MinecraftForge' project: project parameters were changed
2022-01-16 23:03:39 +00:00
cpw
d477425f70
TeamCity change in 'MinecraftForge / MinecraftForge' project: project parameters were changed
2022-01-16 23:02:55 +00:00
cpw
a3449f2866
fix crowdin key
...
Signed-off-by: cpw <[email protected] >
2022-01-15 14:46:27 -05:00
cpw
2a1f98aec2
TeamCity change in 'MinecraftForge / MinecraftForge' project: project parameters were changed
2022-01-15 19:43:05 +00:00
cpw
bc9bd40d03
TeamCity change in 'MinecraftForge / MinecraftForge' project: project parameters were changed
2022-01-15 19:42:19 +00:00
cpw
58344b0b15
TeamCity change in 'MinecraftForge / MinecraftForge' project: project parameters were changed
2022-01-15 19:42:08 +00:00
cpw
edcc8b3c97
fix secondary branches builds
...
Signed-off-by: cpw <[email protected] >
2022-01-15 14:21:01 -05:00
OrionDevelopment
d494ba9be4
TeamCity change in 'MinecraftForge / MinecraftForge' project: parameters of 'Build - Secondary Branches' build configuration were updated
2022-01-15 18:58:23 +00:00
OrionDevelopment
b92f56503e
TeamCity change in 'MinecraftForge / MinecraftForge' project: VCS roots of 'Build - Secondary Branches' build configuration were updated
2022-01-15 18:57:37 +00:00
OrionDevelopment
5a9be79785
TeamCity change in 'MinecraftForge / MinecraftForge' project: VCS roots of 'Build - Secondary Branches' build configuration were updated
2022-01-15 18:56:12 +00:00
OrionDevelopment
225c2125c6
TeamCity change in 'MinecraftForge / MinecraftForge' project: VCS roots of 'Build - Secondary Branches' build configuration were updated
2022-01-15 18:55:02 +00:00
OrionDevelopment
e2a932108e
TeamCity change in 'MinecraftForge / MinecraftForge' project: parameters of 'Build - Secondary Branches' build configuration were updated
2022-01-15 18:54:11 +00:00
OrionDevelopment
ec38717702
TeamCity change in 'MinecraftForge / MinecraftForge' project: parameters of 'Build - Secondary Branches' build configuration were updated
2022-01-15 18:50:32 +00:00
OrionDevelopment
3009f5350c
TeamCity change in 'MinecraftForge / MinecraftForge' project: VCS roots of 'Build - Secondary Branches' build configuration were updated
2022-01-15 18:48:59 +00:00
Marc Hermans and cpw
a24dd3c8ee
Remove primary branches from building on secondary branch configuration and publish crowdin data. ( #8397 )
...
* Remove the normalized branch names also from the filter.
* Add the additional publishing arguments to get the crowdin information.
* TeamCity change in 'MinecraftForge / MinecraftForge' project: project parameters were changed
* Fix the configuration.
* Remove the required patch and use the base script.
* Make a note about the reference.
Co-authored-by: cpw <[email protected] >
2022-01-15 12:45:09 -05:00
cpw
3fae26a470
TeamCity change in 'MinecraftForge / MinecraftForge' project: project parameters were changed
2022-01-15 17:20:24 +00:00
Marc Hermans
a44ac01aee
Correct the build configuration to support a setup. ( #8395 )
...
* Add a setup task and publish the correct versions.
* Reconfigure build task and disable the normal build and test cycle on everything but pull requests, run an assemble there.
* Fix the derp in the build configuration.
2022-01-15 11:44:42 -05:00
Marc Hermans
b09f8d0fc8
Enable the TeamCity CI pipeline ( #8368 )
...
* Setup the build.gradle
* Setup the teamcity toolchain.
* Revert the usage of the local build of GU.
* Automatically add it now, it will always exist and is added to maven automatically by GU.
* Implement the branch filter and move the constant for the minimal changelog tag to a constant in the extension.
* Adding the JDK and Gradle version to the build script.
2022-01-15 10:39:09 -05:00
Take Weiland
57a916bf09
Fix and improve Ingredient invalidation ( #8361 )
2022-01-14 15:05:57 +00:00
Alex O'Neill
15d3df2818
Rework world persistence hooks to fix the double registry injection when loading single player worlds. ( #8234 )
2022-01-11 18:00:04 -08:00
SuperMartijn642
63a42bad98
Update tags for new 1.17 and 1.18 content ( #7891 )
2022-01-10 16:15:50 -08:00
Dennis C
28d3c491a0
Fix TerrainParticle rendering black under certain conditions ( #8378 )
2022-01-10 00:55:57 +00:00
cech12
551296813e
Allow modded tools to work on glow lichen ( #8371 )
2022-01-09 21:23:03 +00:00
sciwhiz12
62b99be117
Fix custom climbable blocks not sending a death message ( #8372 )
...
Fixes #8370
2022-01-09 21:18:27 +00:00
Sara Freimer
6683e9e660
Provide access to the blockstate in BucketPickup#getPickupSound for multiply-logged blocks ( #8357 )
2022-01-08 21:20:09 +00:00
Sara Freimer
3b9df7df1b
Fix clients being unable to deserialize tags for custom registries ( #8352 )
2022-01-08 20:47:28 +00:00
Bagel
a9a8d7ed8c
Fix particles going fullbright for a few frames when first spawning ( #8291 )
2022-01-08 20:28:22 +00:00
Take Weiland
80770898c6
Also create parent directories when creating config files ( #8364 )
2022-01-08 18:44:11 +00:00
JTK222
335cb5edc4
Fix crash with PermissionsAPI ( #8330 )
...
Fixes a crash in singleplayer, when the internal server didn't shut down correctly between world loads.
2022-01-02 18:43:07 +00:00
sciwhiz12
7259887176
Re-add missing default spawn lists in features ( #8285 )
...
Fixes #8265
Fixes #8301
2021-12-27 16:23:43 +00:00
JTK222
0320c185b5
Fixed incorrect generic in PermissionAPI ( #8317 )
2021-12-22 13:22:16 +00:00
JTK222 and LexManos
2f5f696b68
Redo of the whole PermissionAPI ( #7780 )
...
Co-authored-by: LexManos <[email protected] >
2021-12-20 18:34:57 +00:00
JTK222
d33e9c8251
Fix misplaced patch in SpreadingSnowyDirtBlock.
...
Fixes #8308 .
2021-12-19 18:28:24 +00:00
Sara Freimer
21c50da8ec
Add RenderArmEvent to make overriding just the arm rendering not require copying nearly as much vanilla code ( #8254 )
2021-12-13 13:58:16 -08:00
Bagel
e2a205d2e7
Add MobEffect tags ( #8231 )
2021-12-13 13:32:04 -08:00
Dennis C
950e7b032a
Log missing or unsupported dependencies ( #8218 )
2021-12-13 11:48:43 -08:00
sciwhiz12
d1a55a147e
Fix datagen test for sounds definitions provider ( #8249 )
2021-12-13 11:32:53 -08:00
Vincent Lee
1fd8b1a4b8
Fix wrong stage being declared in transition to common ( #8267 )
2021-12-13 11:14:02 -08:00
Curle
41ea5b195b
Update to 1.18.1
...
Co-Authored by:
- Curle
_ Orion
2021-12-10 20:00:29 +01:00
Marc Hermans
14e152579b
[CVE-2021-44228]: Update Log4J to fix the security issue inside it. ( #8268 )
2021-12-10 01:23:30 -08:00
Jared
dcf7bb1af2
Fix KeyMappings only checking if they conflict with themselves. ( #8256 )
2021-12-08 00:09:25 +00:00
Dennis C
456a48b12a
Fix ChunkWatchEvent not being fired ( #8253 )
2021-12-05 19:39:59 +00:00
Jonathan Coates
aceb878a64
Call handleUpdateTag for BlockEntities again ( #8237 )
2021-12-04 01:30:13 +00:00
Joseph B
f451e21f39
Fix test worldgen data ( #8248 )
2021-12-03 22:10:09 +00:00
LexManos
c6ac740d31
Allow Forge Registries to return key information for overridden objects. Fixes #8230
2021-12-02 12:15:19 -08:00
Curle
dbf98d3888
Save Chunk capabilities to the chunk, rather than recursively to the capabilities.
2021-12-02 19:16:47 +00:00
gigaherz
1b7bdc3ec6
Fix LevelChunk capability attach crash.
...
Fix client chunks not having capability providers attached.
Add capability attach tests.
2021-12-02 16:24:23 +01:00
gigaherz
d414e31f08
Make HandshakeConsumer public again.
...
Fixes #8241
2021-12-02 15:15:20 +01:00
Curle
b2036e9d23
Complete TODO in ShapedRecipe patch causing logspam related to minecraft:air
2021-12-02 00:43:25 +00:00
Curle
abe4afe152
Add missing biomes back to the BiomeDictionary
2021-12-02 00:43:00 +00:00
Curle
e7ad43c993
Readd Mixin 0.8.5 to fix modules issues.
2021-12-01 22:11:42 +00:00
Curle
7631600b53
Readd PoseStack field to RenderTooltipEvent.
2021-12-01 16:55:29 +00:00
Curle
530a1e8eb0
Fix custom loot serializers using wrong registry names
2021-12-01 01:21:21 +00:00
LexManos
54b2c18fcf
Fix DungeonHooks not returning correct values. Fixes dungeons in world spawning pigs.
2021-11-30 17:14:56 -08:00
LexManos
eb1a9b57c6
Fix dedicated server install. Closes #8226
...
Fix example mod
Fix obf issue with records. Closes #8228
Fix dependencies beingg out of sync from vanilla. Closes #8227
Disable mixin due to module incompatibility.
2021-11-30 16:22:58 -08:00
gigaherz
5b6d54555e
Fix mod resources not loading.
...
Add BreakingItemParticle.java.patch which I forgot to commit during the porting.
2021-11-30 21:44:35 +01:00
40a174310d
Initial port to 1.18
...
Co-authored-by: David Quintana <[email protected] >
Co-authored-by: SizableShrimp <[email protected] >
2021-11-30 17:42:18 +00:00
LexManos
be0a6819ac
Bump version for final RB of 1.17's lifecycle. Move on to 1.18!
2021-11-30 08:54:18 -08:00
LexManos
82a7ee1416
Fix LiquidBlock's fluid field not being redirected to the supplier getFluid. Closes #7922
2021-11-30 08:43:37 -08:00
sciwhiz12
b4feee8046
[1.17.x Omnibus] Fix typos and javadocs across code base ( #8144 )
2021-11-25 13:09:56 -08:00
AterAnimAvis
df8954869a
Fix /forge setdimension command arguments not parsing/suggesting correctly.
2021-11-25 12:27:26 -08:00
uSkizzik
8a552136a2
Fix Spectating Part Entity (MC-46486) ( #8206 )
2021-11-25 12:17:15 -08:00
Paint_Ninja
34ec627457
Use HttpClient for VersionChecker ( #8148 )
2021-11-25 12:14:11 -08:00
Harley O'Connor
28dd76ebbf
Changed control flow of post mouse events to allow listening to events handled by vanilla. ( #8133 )
2021-11-25 12:03:05 -08:00
sciwhiz12
b639bcb5c7
Deprecate durability bar methods in Item extension ( #8214 )
...
To retain compatibility with existing mods, the vanilla methods redirect
to the extension methods for now.
Users should now use and override the vanilla methods as directed in
the javadocs of the now-deprecated methods, as the extension methods
will be removed in the future.
Fixes #8201
2021-11-25 20:09:40 +01:00
sciwhiz12
7538cf5501
Reorder image tooltip component to match vanilla ( #8213 )
...
Fixes #8212
2021-11-25 19:58:55 +01:00
Sekwah
1112819fc8
Fix render pipeline lighting issue with small cubes ( #8158 )
...
This will also allow other mods which need to calculate small normalised vectors to be able to use the default classes without needing to write their own, while not effecting any side effects created by how the base game uses this function.
2021-11-25 11:14:12 +01:00
ChampionAsh5357
cdd38270e9
Fixes infinite loop when dismounting in EntityMountEvent ( #8114 )
2021-11-24 18:03:12 -08:00
ichttt
20e309c339
Fix onChunkUnloaded not gettting called correctly ( #8103 )
2021-11-24 13:53:51 -08:00
Take Weiland
5f87bde00e
Fix death message for tamed animals not having proper cause of death. ( #8196 )
2021-11-23 17:11:03 -08:00
DaemonUmbra
a4e574fa6b
Fix potential issue with BackgroundScanHandler for users with slow disc IO ( #8176 )
2021-11-23 17:05:45 -08:00
TelepathicGrunt
ec7cb00f86
Make WorldEvent.Load run for Overworld before chunk creation like other dimensions ( #8167 )
2021-11-23 17:02:23 -08:00
Robert Kämpf
ebe375dac0
Deprecate net.minecraftforge.common.util.Constants and inner classes to encourage usage of vanilla constants ( #8140 )
2021-11-23 16:47:43 -08:00
SuperMartijn642
4a2572d545
[1.17.x] Change expected type of LootTable fields to arrays ( #8194 )
...
#8184 reverted some LootTable patches, including the types of fields `f_79023_` and `f_79024_`. However, `ForgeLootTableProvider` still expects a list, however the type of the fields is an array now.
This PR changes the expected type in `ForgeLootTableProvider` to an array as well.
2021-11-21 10:26:31 -08:00
MelanX
55db597baa
Apply window resizing to all gui layers ( #8207 )
2021-11-21 13:28:56 +01:00
Minecraftschurli
c24d05173f
[1.17.x] make ScrollPanel better usable by modders ( #8179 )
2021-11-20 16:54:12 +01:00
LexManos
d711982a1c
Update installer to 2.1.+ so we don't have to bump it in the future.
2021-11-12 17:25:37 -08:00
ChampionAsh5357
8a38416e0f
Remove Old LootPool Patches ( #8184 )
2021-11-10 12:17:53 -08:00
ichttt
a784bdb0d0
Remove the remnants of the selective reload listener ( #8072 )
2021-11-09 14:30:45 -08:00
Minecraftschurli
dc9a7f6ad5
Fix the hopefully last issue with GAMELIBRARY loading ( #8162 )
2021-11-09 14:27:17 -08:00
uSkizzik
417798f2eb
Fix part entities not working at all ( #8177 )
2021-11-09 14:16:40 -08:00
Dennis C
394e76eed3
Pass IModelData through IForgeBakedModel#getModelData() before asking the BakedModel for the particle texture ( #8106 )
2021-10-31 12:26:32 +01:00
Dennis C
9e476551be
Fix blocks with flammable material catching fire from lava when they are marked as non-flammable ( #8160 )
2021-10-20 12:15:43 -07:00
Alex O'Neill
1dc421e6a4
Add BiomeDictionary#hasType(String) ( #8157 )
2021-10-20 12:10:13 -07:00
Silver_David
e431bb1caa
Add "forge:enchanting_materials" tag in place of Lapis in the Enchanting Table ( #8149 )
2021-10-20 12:08:53 -07:00
ChampionAsh5357
8bd517ca91
Fix Breaking waterlogged blocks occasionally displays air for a frame Closes #7253 ( #8128 )
2021-10-20 12:01:48 -07:00
Dennis C
69ddf58600
Add accessor to an unmodifiable view of the fullPots map in FlowerPotBlock ( #8108 )
2021-10-20 11:57:33 -07:00
ChampionAsh5357
1e040c9f1f
Fix Behavior With Unknown Items in Recipes ( #8105 )
2021-10-20 11:56:23 -07:00
LexManos
11bdf592c8
Disable jenkins cache system until a functional system is in place.
2021-10-17 16:28:45 -07:00
Take Weiland
f4a827ab01
Fix another crash with new tooltip events ( #8155 )
...
* Fix another crash with new tooltip events
* Add ItemStack context to ghost recipe tooltip events
* Expand Tooltip Event test mod to add a screen to test all tooltip render methods
2021-10-18 00:22:42 +02:00
ChampionAsh5357
827ca83cfd
Add entity source to PotionAddedEvent ( #8147 )
2021-10-14 20:13:18 -07:00
Dipo
e9f8acd191
Add helper methods to generate blockstate and models for button, pressure plate, sign to BlockStateProvider/ModelProvider ( #8139 )
2021-10-14 20:11:20 -07:00
Max Becker
febfd5ab62
Fix Entity#onAddedToWorld not being called for non-player entities server-side ( #8134 )
2021-10-14 20:09:16 -07:00
Alex O'Neill
4ca2a8058f
Add ATs for world generation extensibility, focusing on NoiseBasedChunkGenerator, NoiseSampler, NoiseBasedAquifer, and Beardifier ( #8087 )
2021-10-14 20:07:08 -07:00
Unbekannt1998
4acafcccfd
Make AdvancementProvider extensible by modders ( #8120 )
2021-10-14 20:00:18 -07:00
LexManos
937b719e24
Skip loading jars with neither a manifest, nore a mods.toml.
...
Deprecate helper functions related to ModFile/Metadata.
Mark ModFileFactory as to be removed from our usage.
It may be useful for other loaders, but introduces a weird level of indirection that makes things a pain.
If there are consumers of this API please leave feedback before the next major mc version so we can be sure to provide something useful.
2021-10-13 12:51:16 -07:00
LexManos
2b5bfd923c
Fix mods with both a manifest and a mods.toml have mismatched module names.
2021-10-13 12:19:22 -07:00
Take Weiland
249aaa5806
Fix missing toolTip methods in Screen ( #8154 )
2021-10-13 14:02:31 +02:00
Take Weiland
46f57e6a9a
Fix render tooltip render patch ( #8153 )
2021-10-13 10:06:25 +02:00
LexManos
cfd79130de
Attempt to fix non-mods.toml jar files. Closes #8136 #8146 #8152
...
Make jenkins copy gradle cache to address concurrent build issues.
2021-10-12 18:49:14 -07:00
Take Weiland
6a25c99097
Tooltip event rewrite ( #8038 )
...
Redesigns the tooltip events, and adds a feature where mods can register factories for ClientTooltipComponents, which are used for custom rendering in tooltips. The old events are maintained for binary compatibility.
2021-10-11 20:37:14 +02:00
Dennis C
95be0d87d9
Add ForgeSpawnEggItem to lazily handle EntityTypes ( #8044 )
2021-10-07 23:50:18 -07:00
Dennis C
6125ec3bc8
Reimplement IForgeBlockEntity#onLoad() hook ( #7946 )
2021-10-07 13:31:56 -07:00
gigaherz
9944a8252a
Implement GUI Stacking feature. ( #8130 )
...
You can now use `mc.pushGuiLayer` and `mc.popGuiLayer` to manage the layers.
mc.setScreen behaves such that if called with a non-null screen it replaces the entire stack, and if called with null it closes the entire stack.
2021-10-04 19:15:56 -07:00
gigaherz
fd544dd414
Add ability for people to add custom pack finders (RepositorySources) ( #8121 )
...
Added AddPackFindersEvent which lets you add additional resource/data pack sources to the game.
Added PathResourcePack as a utility to allow easy providing of a subfolder in a mod as a resource pack.
2021-10-04 15:10:05 -07:00
Take Weiland
c00777e6ea
Added EntityEvent.EnteringSection event to replace EnteringChunk event. ( #8078 )
2021-10-04 14:43:07 -07:00
OneLemonyBoi
b2cea78006
Prevent Block/Entity data side leak on integrated servers by copying custom data before writing. #8111
2021-10-04 12:40:58 -07:00
sciwhiz12
79272361f0
Re-implement linear filtering text render types ( #8052 )
...
* Re-implement linear filtering text render types
Implements and closes #7996
2021-10-03 20:05:19 +02:00
percivalalb
fe4be54774
Fix breaking block particles not respecting IModelData ( #8065 )
...
The sprite used for the block particles needs updating after the constructor otherwise it defaults to the texture sprite returned from passing ModelData.INSTANCE to get IForgeBakedModel#getParticleIcon. Calling updateSprite fetches the real IModelData instance for that blockstate/pos and sets the texture to the desired one
2021-10-03 20:03:28 +02:00
Sydney
eecb8cc783
Fix Signs breaking with custom WoodTypes ( #8132 )
2021-10-03 20:00:07 +02:00
LexManos
5e2e404828
Bump SJH version. Closes #8127
...
Attempt addressing loading libraries during dev time, and bump SPI version introducing GAMELIBRARY type. #7976 #7957 #8090
2021-10-01 13:21:00 -07:00
LexManos
96303f6570
Capability rework to get rid of @CapabilityInject and use CapabilityToken as the identifier, deprecated old system for removal in 1.18. ( #8116 )
2021-09-30 22:54:23 -07:00
OneLemonyBoi
166feefc02
Fix pet death message being sent when pet death event is canceled. ( #8110 )
2021-09-27 12:59:06 -07:00
Rikka0_0小六花
cd67762bee
[1.17.x] implements canConnectRedstone(), Redstone dust now defers to the blockstate for determining connectivity ( #8014 )
2021-09-27 12:26:17 -07:00
sciwhiz12
347a0b3c0d
Prevent call to Item#initializeClient when in datagen ( #8097 )
...
When running under data-generation, the Minecraft singleton is unavailable
even though the operating env is under the CLIENT dist. Adding this check
prevents crashes from devs unaware of this, as most uses of
IItemRenderProperties (usually for a custom BEWLR) make use of the
Minecraft singleton and therefore will cause NPEs if not guarded against.
A similar thing happens in MobEffect and Block.
2021-09-24 23:10:34 +02:00
sciwhiz12
be1698bb15
Move ItemStack#forgeInit call earlier to allow earlier capability queries ( #8096 )
2021-09-19 16:35:55 -07:00
sciwhiz12
a3e9d7a397
Remove incorrect FallingBlock patch ( #8092 )
...
The patch accidentally replaces the minimum build height (set by the
dimension via e.g. datapacks) with 0, causing falling blocks placed
below Y level 0 to never fall.
Fixes #8091
2021-09-18 19:42:30 -07:00
sciwhiz12
b2dbe9de51
Fix inverted hooks for PermissionsChangedEvent ( #8089 )
...
Because IEventBus#post returns true on cancellation and the patched-in
hooks inverts the return of the ForgeHooks method, if the player
whose permission level is being changed is online and the event is not
cancelled, the permission change _is_ cancelled.
The fix is inverting the patched-in hooks and the default return value
of the ForgeHooks method, so that the permission change is cancelled
only if the player is online, the event is fired, and the event is cancelled.
Fixes #8088
2021-09-18 14:58:27 -07:00
Marc Hermans
a31adc2823
Add the missing patch for ItemStack for last build. ( #8085 )
2021-09-17 13:26:05 -07:00
Marc Hermans
30a33f5c3e
Support Lazy capabilities on itemstacks, for better ItemStack copy performance. ( #7945 )
2021-09-17 11:23:12 -07:00
gigaherz
b01a217f45
Fix EntityJoinWorldEvent not firing as expected: ( #8033 )
...
- Fix entities loaded from disk not getting the event.
- Fix vehicles with passengers getting the event twice.
2021-09-16 17:11:04 -07:00
sciwhiz12
69136fce19
Re-add patch to release buffer in custom payload packet ( #8042 )
2021-09-16 16:54:25 -07:00
noeppi_noeppi
ee21224fff
Propagate all arguments passed to the server start scripts to the game ( #8060 )
2021-09-16 16:52:55 -07:00
ichttt
804f390064
Remove old Log4j thread cache invalidation ( #8068 )
2021-09-16 16:37:16 -07:00
LexManos
ca2023fa80
Fix pick-block for items that map to multiple blocks. Closes #8080
2021-09-15 12:09:03 -07:00
gigaherz
4e562664f4
Update nashorn to 15.3, which fixes crashing when run on Java 17.
...
Please note that due to https://bugs.mojang.com/browse/MCL-18306 , the vanilla launcher will not let you use Java 17 yet without workarounds.
2021-09-15 01:54:08 +02:00
SizableShrimp
c8d3ad1d1c
Add mixin full release to install list. ( #8076 )
2021-09-11 22:20:40 -07:00
sciwhiz12
b7379953d5
Add new tool action for shield blocking, replacing IForgeItem#isShield ( #8055 )
2021-09-08 13:14:47 -07:00
sciwhiz12
9d7f5dd32a
Add workaround for pairs of ' being stripped ( #8050 )
...
Fixes #7396 , where if a translated string with balanced pairs of single
quote characters passes through ForgeI18n, the quotes are stripped
because of ExtendedMessageFormat. This is most notable in languages
where `'` is used frequently, like Canadian French from the bug report.
Note that unbalanced pairs cause an IllegalArgumentException in
ExtendedMessageFormat, which means the message is not affected.
2021-09-08 11:36:00 -07:00
sciwhiz12
049ed79e7b
Re-add missing patch for IForgeItem#getEquipmentSlot ( #8041 )
2021-09-08 11:20:12 -07:00
Mysticdrew
675bf8bde2
Added PlayerPermissionChangedEvent( #8023 )
2021-09-08 10:39:27 -07:00
DavidQF555
8dc58ad469
Changed Monster Requirement to Mob in RangedBowAttackGoal ( #7960 )
2021-09-08 10:22:28 -07:00
noeppi_noeppi
827c963d7e
Add shebang to run.sh in server files ( #8058 )
2021-09-02 14:23:53 -07:00
LexManos
2ac616b293
Fix incorrect parameter being sent to AbstractContainerScreen#getSlotColor.
2021-09-02 10:45:01 -07:00
sciwhiz12
dcfbc08504
Patch ModSorter to include forge mod in forgeAndMC list ( #8043 )
2021-09-01 07:26:29 -07:00
Sara Freimer
19f470ee8c
Fix GuiUtils#drawContinuousTexturedBox making assumptions about what shader is currently active, and fix buttons and header not showing on LoadingErrorScreen ( #8022 )
2021-08-31 17:51:42 +02:00
iTitus
a96d078a7a
Fix ScrollPanel render calls and usage ( #8012 )
2021-08-31 16:57:08 +02:00
sciwhiz12
b375da6962
Fix all layers of ItemLayerModel being fullbright ( #8039 )
...
Fixes #8007
2021-08-31 11:33:27 +02:00
Cyborgmas
d17f10d80c
Cleanup Tag Loading, this migrates thins to more of a vanilla style. ( #7898 )
2021-08-30 14:58:30 -07:00
cech12
a336e443f7
Add Shears ToolActions ( #7997 )
...
Make shear interactions extend to subclasses
Add Shears actions for beehive harvesting, pumpkin carving and trip wire disarming
2021-08-30 13:42:37 -07:00
SizableShrimp
c5a1c90366
Fix broken fmlonly installer and promote it to page gen ( #8029 )
...
Update gradle wrapper to 7.2
2021-08-27 02:03:40 -07:00
Cyborgmas
95c0aa1e98
Minor resource pack related fixes ( #7884 )
2021-08-23 10:52:17 -07:00
LexManos
559b801cc4
Fix misaligned patch causing monsters to not spawn in nether fortresses correctly.
2021-08-21 18:30:13 -07:00
Take Weiland
aa97ddad8b
Add RegisterCapabilitiesEvent ( #8021 )
2021-08-20 12:38:43 -07:00
Commoble
d612dc3a6d
Move static ITEM_TIER_ORDERING_JSON resourcelocation declaration from anonymous class into outer class to work around eclipse compiler error. ( #8018 )
2021-08-19 14:31:05 -07:00
SizableShrimp
9165d4c3a1
Fix entities not spawning in structures ( #8020 )
...
This affects swamp huts, pillager outposts, ocean monuments, and nether fortresses
2021-08-18 22:44:26 -07:00
Commoble
12d0f96fc2
Add support for forge's "remove" list to tag datagenerators ( #7911 )
2021-08-18 13:49:29 -07:00
Sirttas
bec9d6f534
Add hook to allow items to customize the attack sweep range. ( #7981 )
2021-08-18 13:05:19 -07:00
Jonathan Coates
892c3669e0
Track the active mod within DeferredWorkQueue ( #7973 )
2021-08-18 12:46:33 -07:00
StrikerRocker (Tharik Sherief)
ce13efbac9
Allow to check spawner block entity in events ( #7941 )
2021-08-18 02:15:57 -07:00
Cyborgmas
1018b077dc
Remove neutral mob patches as the bug was fixed upstream. ( #8001 )
2021-08-17 22:02:38 -07:00
malte0811
9746db5129
Ensure that all render targets in a PostChain use the same format ( #7978 )
...
closes #6995
2021-08-15 16:18:34 +02:00
SizableShrimp
c4de1f33ba
Fix update checker to use runtime minecraft version ( #8000 )
2021-08-12 01:44:29 -07:00
vemerion
a8a4623d24
Correct incorrect arguments for render hand event ( #7987 )
2021-08-10 18:53:14 -07:00
David Quintana
10b51f257f
Redesign the tool system to rely on the new vanilla tags. ( #7970 )
...
Changed:
- ToolType is replaced with ToolAction, which can selectively represent which actions are supported by an item.
- Added a canPerformAction method to query ToolActions.
- Renamed canHarvestBlock to isCorrectToolForDrops to match vanilla.
- Added TierSortingRegistry, which can be used to add custom tiers and supports sorting between vanilla or with other mods.
How to use:
For the breaking system there's 2 methods:
- getDestroySpeed decides if an item *can* mine the block fast. Override if you have multiple tags or your item isn't a DiggerItem.
- isCorrectToolForDrops decides if an item will get drops. Returning false will also slow down mining, regardless of getDestroySpeed. Override if you have type-dependant tiers or your item isn't a DiggerItem.
For the tier system mods can just call `TierSortingRegistry.registerTier(tier, "name", List.of(lesser tiers), List.of(better tiers));` to register their tiers.
There's helper methods to query tiers such as TierSortingRegsitry.isCorrectTierForDrops.
The ToolActions solve 2 problems:
1. distinguishing which kind of digger an item can be
2. querying if the item can perform specific secondary actions.
Any item can override `canPerformAction` to customize which actions it performs.
2021-08-10 15:45:08 -07:00
LexManos
52d7df06da
Fixed reference to registryAccess in dimension fix, and marked for removal in next MC version. Closes #7961
2021-08-10 13:10:50 -07:00
LexManos
fcc819584a
Bump BootStrapLauncher, and make sure Capability providers call parent revive.
2021-08-10 00:11:20 -07:00
Sirttas
4721d4c461
Fix custom ingredients not being read correctly over the network. ( #7980 )
2021-08-09 12:09:24 -07:00
Silver_David
dbdc345d4a
Add a OnDatapackSyncEvent, useful as a notification for modders to send extra data to the client ( #7912 )
2021-08-06 10:18:12 -07:00
Choonster TheMage
14c6fc3388
Add access transformer to make Features.Decorators class public ( #7974 )
2021-08-06 09:42:27 -07:00
LexManos
33419ed5b1
Fix NullPointerException in DetercorRailBlock patch.
2021-08-04 01:43:38 -07:00
LexManos
9ec1e24dc5
Remove entity.remove(keepData) functions because Mojang changed entity removal mechanics.
...
If a modder wishes to use the capabilities from a invalid entity. They must manually call reviveCaps/invalidateCaps themselves.
2021-08-04 01:08:04 -07:00
LexManos
06804675be
Add forceSystemNanoTime config option to the client.
...
Normally glfwGetTime is used, but in some cases it may have performance issues.
2021-08-04 01:05:02 -07:00
Johannes Jäger
2f43f9910d
Rename potion registry fields to match the mojang names ( #7939 )
2021-08-02 15:32:14 -07:00
bl4ckscor3
ea9a72af85
Fix patch issue that removed SimpleWaterloggedBlock from BaseRailBlock ( #7937 )
2021-08-02 14:58:06 -07:00
Striker Rocker
9a92363e15
Fix EntityInteractSpecific Event not being fired in server ( #7936 )
2021-08-02 14:34:42 -07:00
ChampionAsh5357
94389d0efd
Add BlockEntityRenderer registering to RegisterRenderers ( #7975 )
2021-08-02 01:00:16 +02:00
DaemonUmbra
9080886c1a
Fix installer issue with spaces in paths. ( #7972 )
2021-07-31 22:02:41 -07:00
Alex O'Neill
13ca55f34d
Remove unused config entries. ( #7954 )
2021-07-30 17:43:45 -07:00
Alex O'Neill
5dbea18e30
Re-add call to Ingredient#invalidateAll() ( #7953 )
2021-07-30 17:42:52 -07:00
DaemonUmbra
30cfd848d8
Remove Generic from ProjectileImpactEvent ( #7959 )
...
Generification of this event was half-done and has been aborted, leaving the generic parameter in place just creates confusion and crashes
2021-07-29 19:10:35 -07:00
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
SizableShrimp
7d4c238165
Fix userdev mod deps on the classpath ( #7919 )
2021-07-27 22:43:36 -07:00
iTitus
0ea9401d90
Fix typo in FluidBlockWrapper ( #7931 )
2021-07-26 15:22:37 -07:00
LexManos
4bdfd8674d
Fix rounding related errors with small entity pathfinding. Closes #7730
2021-07-26 14:24:24 -07:00
eerussianguy
3e9e0a6447
Add modder-friendly way to edit the boat model / texture in custom boats ( #7897 )
2021-07-26 10:54:51 +02:00
Commoble
76da41dd46
Fix EntityRendererEventsTest crashing dedicated server when running forge_test_server in forgedev ( #7930 )
2021-07-25 22:48:28 +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
SuperMartijn642
eeec737188
Pass the 'includeName' flag to the ItemTossEvent ( #7894 )
2021-07-24 16:52:19 +02:00
Cyborgmas
119ac8f4ab
remove old direct GL call ( #7907 )
2021-07-24 16:45:11 +02:00
Cyborgmas
bdf0d9cf22
1.17 Fix InitGuiEvent ( #7906 )
2021-07-24 16:40:51 +02:00
SuperMartijn642
bd58ced0e4
Expose RenderStateShard inner classes ( #7895 )
...
In 1.17, all of the inner classes of `RenderStateShard` (`RenderStateShard.OverlayStateShard`, `RenderStateShard.WriteMaskStateShard`, etc.) have been changed to protected. These classes are needed however to create new `RenderType.CompositeRenderType`'s using `RenderType.CompositeState.CompositeStateBuilder`.
Since these are protected inner classes, their constructors also can't be directly be obtained using `ObfuscationReflectionHelper`.
Currently, any mod using custom `RenderType`'s will have to either:
- add their own access transformer for the inner classes, or
- extend `RenderStateShard` to access `RenderStateShard`'s inner classes, and extend `RenderType` to access `RenderType.CompositeRenderType`
This PR changes the visibility of `RenderStateShard`'s inner classes to public in Forge's `accesstransformer.cfg`.
2021-07-24 16:39:00 +02:00
Cyborgmas
5af6649435
added back attribute patches ( #7886 )
2021-07-24 16:30:21 +02:00
LexManos
695e1fbb94
Bump SecureJarHandler, and fix life cycle event's deferred work being on the incorrect thread/boot classloader.
2021-07-23 17:25:47 -07:00
LexManos
b027a92dd2
Bump SecureJarHandler to fix package meta issue. Closes #7881
...
Fix version.json having duplicate libraries.
2021-07-22 14:52:17 -07: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 <[email protected] >
Co-authored-by: SizableShrimp <[email protected] >
Co-authored-by: cpw <[email protected] >
Co-authored-by: Curle <[email protected] >
Co-authored-by: Unnoen <[email protected] >
Co-authored-by: covers1624 <[email protected] >
Co-authored-by: DaemonUmbra <[email protected] >
Co-authored-by: gigaherz <[email protected] >
Signed-off-by: SizableShrimp <[email protected] >
2021-07-22 19:57:02 +01:00
LexManos
064ae6961b
New 1.16.5 RB.
2021-07-21 18:25:45 -07:00
SizableShrimp
22d609ed6c
ForgeGradle 5.1 and Gradle 7, which allows development on J16. Runtime still targets J8. ( #7877 )
2021-07-21 14:21:09 -07:00
LexManos
315bbb74ff
Work around javac scoping issue.
2021-07-19 21:55:46 -07:00
LexManos
4e4d31b68c
Fix LAN worlds where registry entries have been removed.
2021-07-19 21:15:26 -07:00
William Bradford Larcombe
1a17fa6129
Fix FakePlayers having null connection and add FakePlayer test mod ( #7733 )
2021-07-19 12:54:42 -07:00
AterAnimAvis
ca9df21258
Use '{assets_root}' rather than task output path for userdev config ( #7873 )
...
Signed-off-by: AterAnimAvis <[email protected] >
2021-07-17 18:23:30 +02:00
Silk
93d7fa54fc
Fix missing userdev config for datagen runs ( #7871 )
...
Signed-off-by: TheSilkMiner <[email protected] >
2021-07-17 13:14:38 +02:00
Bailey Hollingsworth
f235d80d9f
Adds a damage float in Lightning Entity and patches Entity to use it. ( #7849 )
2021-07-16 20:12:40 -07:00
Mike Garay
be34dd89a9
Patch several mob classes to let them use modded versions of their ranged weapons ( #7845 )
2021-07-16 20:12:33 -07:00
AwesomeSyd239
6663f23e13
Add Fishing bobber projectile impact event ( #7842 )
2021-07-16 19:41:51 -07:00
OneLemonyBoi
f9f7ef2580
Removes misapplied patch in Entity ( #7841 )
2021-07-16 19:38:56 -07:00
OneLemonyBoi
86352e9c19
Removes misleading Nullable annotation from canCreatureSpawn ( #7840 )
2021-07-16 19:38:06 -07:00
OneLemonyBoi
8c8b31435b
Corrects the assigning of mob kills, Fixes MC-121048 ( #7836 )
2021-07-16 19:37:12 -07:00
OneLemonyBoi
16b3e2780e
Updates MouseHelper to allow for Horizontal Scroll to be recognized as Vertical Scroll ( #7834 )
2021-07-16 19:31:14 -07:00
Take Weiland
1121f18413
Fix entities losing their scoreboard data when they are unloaded ( #7826 )
2021-07-16 19:24:29 -07:00
Take Weiland
96804fb4df
[1.16] Allow blocks other than beds or respawn anchors to act as respawn points ( #7824 )
2021-07-16 19:23:36 -07:00
LexManos
03a6dbb405
Regen patches
2021-07-16 19:12:38 -07:00
Won-Ton
77e8c72589
Add AT entries for DimensionSettings to make them easier for mods to work with ( #7817 )
2021-07-16 18:03:56 -07:00
cech12
043e49a694
New hook to allow Trapdoors be climbable for custom ladders ( #7816 )
2021-07-16 18:01:27 -07:00
King Lemming
5169f1f6fe
Convenience change for potion enumeration - does not change patch size in any meaningful way! ( #7811 )
2021-07-16 17:56:08 -07:00
Mike Garay
2bd83b26aa
Adds knockback attribute to players and updated knockback calculation to PlayerEntity#attack ( #7806 )
2021-07-16 17:52:58 -07:00
Sekwah
e6c1814122
Fix mod menu URL click bounds ( #7804 )
2021-07-16 17:51:11 -07:00
Daniel Houck
7f2892de7e
Fix vanilla rotation/mirroring issues ( #7803 )
...
Patch minecraft to fix MC-227255 and MC-134110, which are block
rotation and mirroring issues. I noticed this from problems with
Structurize, but this probably affects any other mods that allow
rotating or mirroring structures (as well as vanilla structure blocks).
2021-07-16 17:50:29 -07:00
PersonTheCat
439ba462d6
Synchronize ResourcePackList#addPackFinder ( #7799 )
2021-07-16 17:48:10 -07:00
mikewk
7c6ae3e61e
Fixes tryFluidTransfer_Internal to respect the FluidStack drainable when draining fluidSource. ( #7782 )
2021-07-16 17:45:39 -07:00
Take Weiland
f9b894ecbf
Add IRecipeType parameter to burn time hooks ( #7771 )
2021-07-16 17:37:41 -07:00
Andy Dingley
df53db351e
Use MobGriefingEvent for PiglinEntity when determining whether Piglins want to pick up items. ( #7762 )
2021-07-16 17:35:24 -07:00
Andy Dingley
9aa04c8036
[1.16.x] Remove redundant mobgriefing check in SmallFireaballEntity. ( #7761 )
2021-07-16 17:33:59 -07:00
Queekusme
626496cec0
Changed AbstractFurnaceTileEntity's canBurn and burn functions to use IRecipe's 'assemble' instead of 'getResultItem' ( #7756 )
2021-07-16 17:33:02 -07:00
covers1624
022482a3bd
Bypass chunk future chain when processing loads and getChunk called. ( #7697 )
2021-07-16 17:26:45 -07:00
DaemonUmbra
dd228a9ac1
Removed sidedness from PacketBuffer methods. ( #7236 )
...
Affected methods:
* readLongArray (x2)
* readSectionPos
* readString (no-arg variant)
2021-07-16 17:25:11 -07:00
Silk
a6d1646591
Add data generators for sounds.json ( #6982 )
2021-07-16 17:24:16 -07: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
Commoble
d35784eb14
Fix PlayerGameModeEventTest and ForgeWorldTypeTest so they don't crash the dedicated server when running forge_test_server in forgedev ( #7869 )
2021-07-15 16:40:07 -07:00
LexManos
31fb15c88d
Add userdev to run config.
2021-07-13 18:15:54 -07:00
Take Weiland
29f175743b
Add truncation to FMLStatusPing to work around protocol limits ( #7818 )
2021-06-16 19:23:20 -07:00
SizableShrimp
33499db93f
Remove ModelResourceLocation patch for SAS entry ( #7813 )
2021-06-09 09:35:03 -07:00
Take Weiland
84381553a9
Fix jar file path detection if the path contains a "!" ( #7790 )
2021-06-08 13:26:01 -07: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
Take Weiland
aa4f24c915
Fix vanilla packet splitter remote detection and add advancement packet splitting ( #7802 )
2021-06-08 12:47:37 -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
LexManos
b98991dc70
Add debug logging to packet compression encoder.
...
Should make figuring out who is sending large packets easier.
Disable with -Pforge.disablePacketCompressionDebug=true
2021-06-03 10:29:49 -07:00
LexManos
435e65eb18
Removed signature line from mod list screen. #7500
2021-05-23 11:08:45 -07:00
Curle
8211a5048a
Reinstate the MinecartCollisionHandler field to AbstractMinecartEntity ( #7748 ) Closes #7506 .
2021-05-17 13:51:23 -07:00
Curle
167f14f4a1
Fix PlayerEvent.BreakSpeed's pos being nullable. ( #7747 ) Closes #7615 .
2021-05-17 13:46:11 -07:00
Curle
f332642409
Fix OBJ Loader data gen string ( #7746 ) Closes #7616
2021-05-17 13:43:37 -07:00
noeppi_noeppi
77d41023b5
Add an event similar to PlayerEvent.NameFormat but for the name shown in the tab list. ( #7740 )
2021-05-17 13:17:01 -07:00
Curle
da2594289c
Fix filling buckets with fluids without bucket items consuming the fluid ( #7745 ) Closes #7670
2021-05-17 13:10:27 -07:00
David Quintana
6f3da80b5a
Work around crash while loading flatworld with modded structures. ( #7764 )
...
* Work around crash while loading flatworld with modded structures.
* Maybe fix issue with gradle daemon leaking memory and slowing down CI builds.
2021-05-14 00:11:46 +02:00
gigaherz
474b47ea51
Update Forge to Gradle 6.9
2021-05-12 23:33:33 +02:00
Trikzon
b6ce4fb066
Add barrels and barrels/wooden block and item tag ( #7676 )
2021-04-30 10:53:19 -07:00
KnightMiner
1406f2bf1f
Fix shears not properly breaking tripwire (MC-129055) ( #7718 )
2021-04-30 10:52:02 -07:00
JoJoModding
5125775992
Fix Line endings in tooltips not handled properly in multiplayer screen Closes #7738 ( #7739 )
2021-04-30 10:42:15 -07:00
Sydney
929c7b7a0b
Fix cats, phantoms and pillagers saying they're at BlockPos.ZERO during LivingSpawnEvent.CheckSpawn ( #7722 )
2021-04-23 13:27:56 -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
Dennis C
9d0d249eaf
Pass BlockPos to BlockParticleData used for "fall impact" particle ( #7705 )
2021-04-22 22:53:58 -07:00
sciwhiz12
c4b1df1fc7
Check version ranges of optional dependencies when present ( #7710 )
...
If an optional dependency is present, but it does not conform to the version range,
it will now error out in the same fashion as missing required dependencies, instead
of a more cryptic error down the line due to a missing method/class/field/etc.
Implements and closes #7696
2021-04-22 22:52:24 -07:00
Take Weiland
b3f253df61
Fix ClientVisualization crashing on systems without monitors ( #7719 )
2021-04-22 22:45:38 -07:00
atkarimarton
dc099069fa
Fix Furnace Minecarts going faster then vanilla ( #7725 )
2021-04-22 22:29:33 -07:00
AterAnimAvis
e80c785563
Update for Forge's new maven ( #7723 )
2021-04-22 22:28:18 -07:00
cpw
1f9611204f
A bloody quote FFS
...
Signed-off-by: cpw <[email protected] >
2021-04-18 11:35:05 -04:00
cpw
0120f6274d
Update for new maven
...
Signed-off-by: cpw <[email protected] >
2021-04-18 11:28:54 -04:00
cpw
c0e74bc8a8
Fix broken java9hacks for j16 handling..
...
Signed-off-by: cpw <[email protected] >
2021-04-02 14:27:25 -04:00
SizableShrimp
80feb0aeb2
Add generic EntityTeleportEvent ( #7694 )
2021-03-29 18:05:13 -07:00
covers1624
f47429717d
Restore SS version, fixes findFieldInstanceChecks
2021-03-22 16:51:53 +10:30
Take Weiland
0239a736ec
Fix sign textures being stitched onto every texture atlas ( #7690 )
2021-03-17 10:04:07 -07:00
LexManos
5c488c9007
Fix AT order, missed exec line and bump for RB.
2021-03-15 15:06:12 -07:00
Take Weiland
53c039680c
Fix wrong eye height when entity size changes (esp. baby animals) ( #7628 )
2021-03-15 14:08:40 -07:00
Take Weiland
7379e8b9a4
Allow ITeleporter to override the vanilla teleport sound ( #7682 )
2021-03-15 14:02:20 -07:00
SizableShrimp
2a0d9e8dac
Fix datapack exception related to EnumArgument with siblings ( #7686 )
...
Invalid enum constants are now properly thrown as a CommandSyntaxException
2021-03-15 13:20:08 -07:00
kaydogz
aacba8e38e
Add support for custom WoodTypes ( #7623 )
2021-03-15 12:28:45 -07:00
LexManos
f4fd1c2f16
Use JGit instead of GrGit now that jcenter is going away.
...
Update missed mapped name in MDK.
2021-03-15 12:18:51 -07:00
gigaherz
813f3d630d
Bump nashorn wrapper version.
2021-03-13 19:56:17 +01:00
gigaherz
76cea5a7da
Fix yet another copypasta.
2021-03-13 19:56:17 +01:00
diesieben07
e33f794298
Fix incorrectly replaced SRG names
2021-03-13 19:56:14 +01:00
AterAnimAvis
72d05d17a9
Fix potential Deadlock when using custom Item entities. ( #7532 )
...
Be careful when adding Entities during Chunk Load (#7519 )
2021-03-12 10:50:05 -08:00
gigaherz
19f9b309a6
Fix copypasta.
2021-03-12 02:54:10 +01:00
Curle
5b53616a47
Automatically fix some issues with configurations deemed invalid for simple reasons ( #7671 )
2021-03-11 16:11:05 -08:00
gigaherz
5f9e6f3b56
Add coremod that injects bouncer methods to work around name conflicts with official names.
...
Fixes a binary break.
2021-03-11 21:57:47 +01:00
gigaherz
0ad8e2c27f
Bump SpecialSource
2021-03-11 19:29:20 +01: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
David Quintana
a4f7087b92
Introduce a new feature that lets mods know if optional mods and optional network channels are present in the remote.
...
Allow connections from forge versions that don't have the vanilla splitter.
2021-03-10 23:40:59 +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
LexManos
802298d99d
Update to FG4, and Gradle 6.8.
2021-03-09 13:27:46 -08:00
Take Weiland
5363dc5d99
Support splitting vanilla packets that are too large on forge<->forge connections ( #7485 )
...
Currently only for SUpdateRecipesPacket and STagsListPacket that blow up with huge datapacks
2021-03-04 12:14:52 -08:00
Sara Freimer
9602c22083
Fix a few places where the vanilla method was being called instead of the forge one ( #7535 )
...
Cleanup javadocs references slightly, fix a couple spots not using the proper forge hooks, and remove a couple unneeded patches
Update deprecation comment on isAir
2021-03-03 12:50:32 -08:00
FireController#1847
17500032ae
Add Opacity to ForgeHooksClient#renderMainMenu ( #7660 )
2021-03-02 21:28:48 -08:00
Marc Hermans
65bc41281f
Add support for caching of configuration values. ( #7608 )
2021-02-24 18:36:51 -08:00
Kovak
ba15737fe3
Added entity attribute setup and creation events
2021-02-15 18:40:32 -08:00
KnightMiner
58f93263e2
Fix updateItemStackNBT not properly being called ( #7646 )
...
Re-added ItemStack delegate redirect transformer
2021-02-15 17:28:35 -08:00
Sara Freimer
d97f28141c
Fix a few FluidUtil issues that were causing DispenseFluidContainer to not function properly ( #7422 )
2021-02-15 17:08:05 -08:00
ichttt
0340664dbf
Add a way to specify a custom background texture with namespaces in the Creative GUI. ( #7404 )
2021-02-15 16:46:23 -08:00
DaemonUmbra
d2cfda3fb4
Fixed Configs not correcting when hot-loaded from changes on disk ( #7427 )
2021-02-15 16:39:59 -08:00
FledgeShiu
48225e1bea
Reduce default logging markers in the MDK. Modders can re-enable these for better debugging. ( #7432 )
...
Modders PLEASE read your damn log, and fix the errors we point out. Spamming modpacks with stack traces is just lazy programming.
2021-02-15 16:39:02 -08:00
sciwhiz12
37ea725749
Deprecate Forge's setdimension command, vanilla execute command can do this now. ( #7459 )
2021-02-15 16:19:13 -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
Alex O'Neill
b8eca88f75
Allow mods to use additional custom LootParameter when querying existing loot tables ( #7515 )
2021-02-15 14:52:00 -08:00
Sydney
e039531497
Add ForgeHooks.canEntitySpawn to Cat, Phantom, and Patrol spawners. ( #7569 )
2021-02-15 13:40:03 -08:00
Max Becker
9017e24b40
Fix/Replace player visibility event ( #7573 )
2021-02-15 13:25:54 -08:00
AterAnimAvis
75570079ae
Fix: Clear the last error from glfwInit to prevent vanilla from throwing an exception later in the chain when glfw errors. ( #7587 )
2021-02-15 13:16:09 -08:00
seymourimadeit
e2167140db
Fix MC-181464 persisting for modded shields ( #7602 )
2021-02-15 12:56:34 -08:00
malte0811
a89ce2d6f1
FIx race condition in LazyOptional ( #7611 )
2021-02-15 12:11:27 -08:00
Dennis C
007cd42ec6
[1.16.5] Fix shaders breaking almost every overlay that uses textures, fixes #7575 ( #7624 )
2021-02-14 19:11:46 -08:00
TelepathicGrunt
d16a8d6d5d
Disable syncing of Feature and Biome registries ( #7639 )
2021-02-14 19:05:11 -08:00
Drullkus
69321a363e
Add IExtensibleEnum to GrassColorModifier ( #7641 )
2021-02-14 19:04:31 -08:00
Sydney
0e1ee4b1d2
Log stacktraces in NettyPacketEncoder. ( #7654 )
2021-02-14 18:36:09 -08:00
Dennis C
cc1a9be2b4
Lower logging level for datafixer warning to debug ( #7636 )
2021-02-10 11:05:01 -08:00
Sara Freimer
1d7da4c595
Reintroduce forge's chunk manager to allow mods to force chunks with either a block position or entity (UUID) "owner" and have them properly persist between restarts ( #7642 )
2021-02-09 14:19:07 -08:00
Sara Freimer
1ac432c594
Fix two places where querying an object for the new "valid" capability from a capability invalidation listener could cause the object to return the old invalid capability. ( #7643 )
2021-02-09 13:28:02 -08:00
Cyborgmas
276871d5a3
Fix config spec in cases of enum class discrepancies ( #7635 )
2021-02-09 13:21:23 -08:00
Take Weiland
8460227ddf
Fix onBlockAdded being called twice for ItemEntity placing non-TE blocks ( #7607 )
2021-02-09 13:02:08 -08:00
Jon
f450d4025d
Prevent NullPointerException when adding new loot pool. ( #7605 )
2021-02-09 12:59:48 -08:00
brandon3055
93a815957d
Added generic multi part entity API ( #7554 )
2021-02-09 12:53:25 -08:00
Cyborgmas
84b7cdc1cd
Fix IAngerable entities crashing when reading nbt on client ( #7618 )
2021-02-06 19:41:12 -08:00
Silk
83fee0b3d4
[1.16.x] Add loot table ID in Global Loot Modifiers ( #7428 )
2021-02-02 13:32:02 +01:00
Sara Freimer
aeaebf5785
Add a block tag to allow mods to blacklist blocks endermen should not be able to place blocks on top of, similar to how vanilla hardcodes against them being able to place things on bedrock ( #7548 )
2021-01-29 18:02:08 -08: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 <[email protected] >
2021-01-29 18:01:16 -08:00
Sara Freimer
ab949c7cca
Fix existing file tag provider support looking in the wrong folder for custom tag types ( #7576 )
2021-01-29 17:34:54 -08:00
Cyborgmas
7728dde36b
Propery re-encode registries ( #7629 )
2021-01-28 13:07:11 -08:00
Cyborgmas
004ab59e6f
Properly encode registries. ( #7626 )
2021-01-27 17:22:58 -08:00
Cyborgmas
7bfd2b8f34
Inject vanilla dimensions inside worlds missing them ( #7599 )
2021-01-27 16:00:28 -08:00
LexManos
f169c99348
Introduce a new field_to_instanceof transformer to reduce some simple patches.
2021-01-26 16:32:13 -08:00
LexManos
d3d3bdc769
Fix broken build.
2021-01-25 18:52:46 -08:00
Max Becker
0a0f3232ea
Add modded biomes to overworld biome list ( #7360 )
2021-01-25 18:36:46 -08:00
LexManos
50d75a27e1
Fix dynamic registries not getting ids assigned correctly from old worlds in specific unordered value insertions. Closes #7586
2021-01-25 18:17:51 -08:00
KnightMiner
19f8d2a793
Optionally add a milk fluid to the vanilla bucket ( #7294 )
...
Fixes the previous broken code that was supposed to make mod registered milk returned by the vanilla bucket by allowing mods to enable a milk fluid.
2021-01-17 16:05:24 -05:00
LexManos
f173bde812
1.16.5 Initial Update.
2021-01-15 11:33:11 -08:00
LexManos
dd10933ab0
Update Coremods, ASM, and include standalone Nashorn to load on J15.
2021-01-14 15:48:53 -08:00
LexManos
9ffa44f254
Introduce a new field_to_instanceof transformer to reduce some simple patches.
2021-01-14 02:52:52 -08:00
LexManos
d8f41adf39
Update Coremods, ASM, and include standalone Nashorn to load on J15.
2021-01-12 13:22:13 -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
covers1624
2094f99640
Allow Chunk loading Tickets to opt-into forcing chunk ticks. ( #7525 )
2021-01-07 12:13:47 -08:00
malte0811
94f3bdaa69
Fix crash when mods add goals to skeleton horses (MC-206338) ( #7509 )
2021-01-07 12:04:50 -08:00
Take Weiland
7220e9d0b0
Set WM_CLASS and WM_INSTANCE_NAME for early progress window ( #7534 )
2021-01-07 12:03:46 -08:00
Alex O'Neill
020102d87f
Make UnboundedMapCodec more lenient in decoding dimensions. Fixes MC-197860 ( #7527 )
2021-01-05 19:17:24 -08:00
LexManos
f101700969
Fix FML's Config Sync packet not allowing same length filenames in encoder and decoder. Closes #7584
2021-01-05 11:50:05 -08:00
LexManos
c4b148b84b
Prevent NPE and deprecated MissingMappings.getMappings function. Closes #6252
2021-01-05 11:47:00 -08:00
LexManos
b6a9274870
Fix entities not correctly being able to be ridden under water.
2021-01-03 03:02:32 -08:00
Jonathan Coates
830d9699e3
Fix crash when beehive is broken by fake player ( #7566 )
2020-12-28 13:56:44 -08:00
Alex O'Neill
fc68b81b21
Add supplier variant to AbstractBlock.Properties#lootFrom ( #7563 )
2020-12-28 13:42:15 -08:00
Take Weiland
2904772b16
Fix ModFileResourcePack.getAllResourceLocations ignoring resourceNamespace. ( #7562 )
...
Fixes #7405
2020-12-28 13:39:44 -08:00
Take Weiland
e120b57032
Fix missing serializers when deserializing global loot modifiers ( #7561 )
2020-12-28 13:37:32 -08:00
Take Weiland
b86b56260d
Fix VanillaConnectionNetworkFilter sending out invalid entity properties packets without an entity ID ( #7560 )
2020-12-28 13:34:31 -08:00
Richard Freimer
b222b23557
Make shear interactions extend to subclasses ( #7544 )
2020-12-28 13:10:35 -08:00
sciwhiz12
8ec4253068
Add a SoundType subclass that uses suppliers ( #7538 )
2020-12-28 13:09:03 -08:00
sciwhiz12
74ca88b7be
Fix compound ingredient in shapeless recipes ( #7537 ) Fixes #7530
2020-12-28 13:03:48 -08:00
Alex O'Neill
a1119cd77a
Fix potential NPE in ForgeHooks.onItemPlaceIntoWorld when passing in null player. ( #7505 )
2020-12-28 12:18:52 -08:00
mrp-v2
545723dc8c
Fix modded PointOfInterestType's not populating blockstate map when registered ( #7503 )
2020-12-28 12:17:51 -08:00
poopoodice
b64f4780c5
Add new LivingConversionEvent to control mobs turning into other mobs. ( #7386 )
2020-12-28 12:03:11 -08:00
KnightMiner
1c98b29087
Add ItemAttributeModifierEvent ( #7484 )
2020-12-28 11:59:09 -08:00
Brennan Ward
33880331d2
Fix RightClickBlock ALLOW not being implemented ( #7426 )
2020-12-28 11:54:30 -08:00
LexManos
74a43877e4
Quiet down errors related to modders not changing their update urls from the default.
2020-12-26 11:39:14 -08:00
LexManos
7542fbea48
Make mod data packs able to be disabled. It'll break things, but that's on you. Closes #6776
2020-12-26 11:38:45 -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
Richard Freimer
b7fb6484d7
Override invalidateCaps instead of remove for vanilla TE capability invalidation ( #7536 )
...
Properly invalidate patched in vanilla TE caps in invalidateCaps instead of remove so that they get invalidated on chunk unload
2020-12-08 11:54:29 -08:00
Richard Freimer
1a539ffebc
Make TEs invalidate capabilities when the chunk they are in unloads ( #7529 )
...
Fixed LazyOptional potentially notifying invalidation listeners multiple times.
2020-12-05 12:05:32 -08:00
Kevin G
27220a5ad8
Fixed entity navigation to stop entities spinning - MC-94054 ( #7520 )
2020-12-05 11:54:03 -08: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
Alex O'Neill
ccb7345084
Fix forge config option for default world type not applying unless you change the default world type ( #7521 )
2020-11-28 03:56:44 +01: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
IzzelAliz
cd393bbfdc
Fix dimType not encode to registries ( #7513 )
2020-11-24 09:14:10 -08: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
cpw
47e076071b
Fix #6692
...
Thanks @AterAnimAvis for help and suggestions
Signed-off-by: cpw <[email protected] >
2020-11-22 17:00:48 -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
LexManos
949984268d
Bump version for RB.
2020-11-20 12:53:44 -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
Alex O'Neill
56e538e8a9
Fix MC-194811 - Removing structures causes chunk save errors.
2020-11-20 10:23:50 -08:00
Take Weiland
fa46f3dd49
Fix concurrency issue in StartupMessageManager ( #7483 )
2020-11-20 10:17:00 -08:00
Alex O'Neill
6ec5a8f2c1
Fix forge registry types that have private constructors (BlockStateProviderType, BlockPlacerType, FoliagePlacerType, TreeDecoratorType) ( #7482 )
2020-11-20 10:11:15 -08:00
cpw
49b596dda3
Fix problem where the absence of forge and MC in later loading triggered a weird crash.
...
Signed-off-by: cpw <[email protected] >
2020-11-15 11:08:34 -05:00
cpw
0c5ced1bbf
Fix NPE problem when modid is mismatched.
...
Signed-off-by: cpw <[email protected] >
2020-11-13 20:41:20 -05:00
cpw
4a09a2420d
Return the processed modlist data to the upstream system, not the raw unprocessed data. Should resolve the problem
...
that mixin complains about missing info when it's in a "crashed" situation.
Signed-off-by: cpw <[email protected] >
2020-11-13 19:12:43 -05:00
Cyborgmas
0ff8a596fc
Fix dims on servers not loading the first run ( #7445 )
2020-11-11 01:09:35 -08:00
Take Weiland
bca20ace4e
Allow for custom argument types by filtering them on vanilla connections ( #7463 )
2020-11-10 12:24:25 -08:00
Brennan Ward
f3b53001c9
Add Player context to AnvilUpdateEvent ( #7442 )
2020-11-10 12:05:47 -08:00
Jonathan Coates
15bac0eeaa
Don't overwrite PlayerAdvancement's player with a fake one ( #7454 )
...
If a FakePlayer is constructed with the same UUID/GameProfile as a
currently active player, the player object within PlayerAdvancement is
set to the fake player.
As fake players cannot receive advancements (see grantCriterion), this
prevents the actual player from receiving any advancements until they
change dimension/relog.
2020-11-10 11:55:42 -08:00
Curle
1782973a29
Add BannerBlock.forColor to SAS to fix banner.toItem() on servers.
2020-11-10 11:38:20 -08:00
Boy132
9a4a501a95
Call Harvest check event even if the block doesn't require any tool ( #7414 )
2020-11-10 11:36:32 -08:00
LexManos
9bbfbd5479
Use linked collections to stabilize order when adding new registry entries.
2020-11-10 11:24:57 -08:00
Dennis C
8c68731838
Render local player when the renderViewEntity is not the local player ( #7216 )
2020-11-10 11:13:49 -08:00
cpw
0d7f507f4e
Some help in ExtensionPoint regarding DISPLAYTEST. Let's improve those tick rates!
...
Signed-off-by: cpw <[email protected] >
2020-11-07 23:11:45 -05:00
cpw
f78b943bdf
Handle erroring during early mod construction phases, and actually report that into the error UI
...
by doing armslength exception handling and propagation.
Signed-off-by: cpw <[email protected] >
2020-11-07 22:30:19 -05:00
cpw
160f3f88f9
Support backwards loading 1.16.3 mods in 1.16.4, because we are able to do that. Tweak loading a bit to be smarter about dependency errors of various kinds.
...
Signed-off-by: cpw <[email protected] >
2020-11-07 20:48:02 -05: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
cpw
38a5400a8c
Update event bus version (should be 3.0.5)
...
Tweak MDK to automatically populate recommended values for things like forge version, loader version and minecraft version.
Signed-off-by: cpw <[email protected] >
2020-11-06 21:11:26 -05:00
diesieben07
acd18455c2
Workaround for modded attributes on vanilla entities logging warnings on vanilla clients
...
Switch to a handler-based approach per packet class, simplify patch, add some docs
Add license header and docs
Switch to a network handler based approach
Switch to a network handler based approach
revert build gradle change
Simplify Packet patch
Add license header to IForgePacket
Revert ForgeHooks changes
Less hacky and more generic way to filter packets for vanilla connections
_Actually_ Order SAS.
It's early
Order SAS
simplify vanilla connection check
Remove unneeded import change
2020-11-03 18:47:04 -05:00
cpw
5a7facc20f
Fix early sorting bug that meant the file deduping was causing an error, to, well, not cause it, so we can get to an error screen.
...
Signed-off-by: cpw <[email protected] >
2020-11-02 14:57:23 -05:00
LexManos
f54998a6b7
1.16.4 Initial Update
2020-11-02 10:42:45 -08:00
LexManos
7d00d015f3
Fix Biomes not properly copying over ids loaded from the save to the new Dynamic Registry.
2020-11-01 20:30:38 -08: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
cpw
cf3e9d1e0c
actually rollback on error in registry events.
...
Signed-off-by: cpw <[email protected] >
2020-11-01 19:51:56 -05:00
cpw
749c9063af
Fix config parse failure causing crash in building exception message. fixes #7438
...
Signed-off-by: cpw <[email protected] >
2020-11-01 17:09:00 -05:00
Tobias Hotz
1af6632a29
Auto-detect ansi support for log4j2
...
move to fml.loading subpackage
Add license header
2020-11-01 17:03:12 -05:00
cpw
7e79243bca
Return client resources even if no data pack found on server. Closes #6225 (Pull request)
...
Signed-off-by: cpw <[email protected] >
2020-11-01 17:02:56 -05:00
cpw
36f9c804d9
Update modlauncher. fixes #7452
...
Signed-off-by: cpw <[email protected] >
2020-11-01 16:05:02 -05:00
malte0811
06fe9ccda0
Fix (NonNull)Lazy.Concurrent using a global lock ( #7403 )
...
* Fix Lazy.Concurrent using a global lock, thus preventing multiple threads from resolving independent Lazy's at the same time
* Use Lazy with an added null check to implement NonNullLazy
2020-10-29 18:09:20 +01:00
David Quintana
53eedb0f10
Update forge mappings to 20201028-1.16.3 ( #7435 )
2020-10-29 01:11:57 +01:00
Alex O'Neill
6e0e67b14d
Fix breaking changes from the Biome rename PR #7434 ( #7439 )
2020-10-27 09:00:53 -07:00
sciwhiz12
22f7f4649b
Reimplement nametag distance attribute, fix attribute translation keys ( #7387 )
2020-10-26 16:52:36 -07:00
Alex O'Neill
8a77681574
Fix data pack biomes failing to load in SingleBiomeProvider ( #7434 )
2020-10-26 15:06:53 -07:00
cpw
6982c5dd56
Add in proper handling of equals and hashcode for modjar urls. Fixes very slow loading on windows.
...
Signed-off-by: cpw <[email protected] >
2020-10-26 18:00:14 -04:00
cpw
7205c30ece
Force 8.0.5 ML
...
Signed-off-by: cpw <[email protected] >
2020-10-26 08:51:05 -04:00
cpw
80baad974e
Restore FingerprintViolationEvent with appropriate THIS IS F*CKING DEAD DELET WARNINGS.
...
Also, notify in UI if using legacy JDK without capability to read out security data from mod jars.
Signed-off-by: cpw <[email protected] >
2020-10-26 07:31:49 -04:00
cpw
ae160cad12
Add signature reporting for mods, using new signature capture from ModLauncher. Need to figure out
...
how to reflect Minecraft's JAR signatures into here.
Signed-off-by: cpw <[email protected] >
2020-10-25 22:26:16 -04:00
cpw
6ff6277efa
Rollback registries to vanilla state if something happens during loading, so subsequent activities can still run and not generate false reports..
...
Signed-off-by: cpw <[email protected] >
2020-10-25 11:33:43 -04:00
LexManos
74f9ef838a
Fix mcp_snapshot mapping issue causing unneeded patches. Closes #7424
2020-10-20 12:32:19 -07:00
David Quintana
395f89c973
Fix resource leak in the OBJ loader.
2020-10-20 13:24:12 +02:00
SilverDavid
8536521b7b
Fix issue with ITeleporter allowing easier use of vanilla logic. ( #7317 )
2020-10-16 12:09:53 -07:00
Richard Freimer
b1659300e0
Adds tag support for Enchantments, Potions, and TileEntityTypes ( #7379 )
2020-10-15 12:45:25 -07:00
LexManos
93226bbcff
Resuscitate BiomeDictionary using RegistryKeys instead of biome references.
2020-10-15 12:43:18 -07:00
Ocelot
51fa230e7b
Add event for player changing game mode ( #7355 )
2020-10-15 10:15:06 -07:00
cpw
5f292895cb
Fix RCON multipacket responses not actually understanding UTF8.
...
Signed-off-by: cpw <[email protected] >
2020-10-12 14:10:57 -04:00
cpw
9cfe741cea
Fix RCON not sending newlines in output for multiline. Fixes https://bugs.mojang.com/browse/MC-7569 , a very old bug that is really annoying if you use RCON.
...
Signed-off-by: cpw <[email protected] >
2020-10-11 21:48:55 -04:00
ChampionAsh5357
bed38d4253
Fix Texture Presence String ( #7408 )
2020-10-10 09:45:18 -07:00
LexManos
37f226eda5
Fix typo causing potential error in vine growth. Closes #7406
...
Sort missing registry dumps by name, making it easier to read.
2020-10-09 12:56:26 -07:00
David Quintana
59b4affbe7
Fixed conditional advancement loading when using the "advancements" array.
...
Added automatic generation of conditional advancements from the criteria in the conditional recipe entries.
Added advancement name calculation from the recipe ID.
2020-10-09 15:47:32 +02:00
Flanks255
5477a36656
Additions to the mdk build.gradle to accommodate datagens. ( #7398 )
2020-10-08 14:03:41 -07:00
DaemonUmbra
5648336893
Added Basic Class-Level SAS Capability to checkSAS, added Vector4f to SAS ( #7385 )
2020-10-08 14:02:48 -07:00
Richard Freimer
f5b53d5d10
Add hooks to allow modification of structures spawn lists ( #7344 )
2020-10-07 13:04:03 -07:00
Richard Freimer
10448c1ac9
Add back patches to Screen allowing for item tooltips to be auto wrapped again ( #7378 )
...
Only deals with the methods receiving an ItemStack or ITextComponent(s), the methods that take IReorderingProcessor(s) are left alone.
2020-10-06 21:38:27 +02:00
Mumfrey
5243275db2
Bump mixin version to 0.8.2
2020-10-05 15:34:07 +01:00
cpw
3041c2022b
Add in extra debug logging
...
Signed-off-by: cpw <[email protected] >
2020-10-04 17:45:28 -04:00
cpw
09be003d61
Remove redundant call to CrashReport generator - Vanilla is doing a crashreport for itself at startup now.
...
Add a UUID into crashreport that is also logged in all channels at crash report generation time. This will allow to associate crash reports and the logs.
Signed-off-by: cpw <[email protected] >
2020-10-04 16:40:38 -04:00
cpw
3fe5ddd68f
Fix doc README and answer lex's question
...
Signed-off-by: cpw <[email protected] >
2020-10-04 15:50:58 -04:00
cpw
935cb6782d
Modify how ModLoadingStage handles dispatch to Registry Events. Stops the objectholder spam and generally improves performance on larger packs.
...
Signed-off-by: cpw <[email protected] >
2020-10-04 15:50:15 -04:00
DaemonUmbra
9b421b54a7
Added "Bukkit Plugin" to InvalidModIdentifier ( #7384 )
2020-10-02 16:40:06 -07:00
Richard Freimer
6e23030595
Fix vanilla Campfire smoke bug. MC-201374 ( #7381 )
2020-10-02 16:34:17 -07:00
sciwhiz12
78d69db79e
Fix toggleable keybindings still being active while in GUI Fixes #7370 ( #7373 )
2020-10-02 16:28:21 -07:00
Max Becker
9177ac1b2e
Fix modded EntityClassifications not being useable in the codec. ( #7337 )
2020-10-02 15:06:48 -07:00
cech12
248d207dbc
Support effective materials of vanilla AxeItem ( #7351 )
2020-09-28 11:01:59 -07:00
LexManos
03082c361a
Prep new RB.
2020-09-23 23:48:57 -07:00
ichttt
65372e3123
Fix grass disappearing when alwaysSetupTerrainOffThread is true ( #7291 )
2020-09-23 23:43:07 -07:00
Alex O'Neill
0f923fa51f
Accessors for inspecting and removal of biome generation settings. Fixed carvers still being immutable. ( #7339 )
2020-09-23 23:39:25 -07:00
LexManos
d1e3567c6b
Revive BiomeManager and BiomeLayer hooks.
2020-09-23 23:35:40 -07:00
Richard Freimer
af75547d37
Fix a few minor issues with custom tag types and fix OptionalNamedTags ( #7316 )
2020-09-23 20:12:11 -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
Yunus
2a433a5c8c
Updated build badge versions to 1.16.3 in readme ( #7325 )
2020-09-23 14:25:59 -07:00
ichttt
e344fd08a5
Add a better license error screen ( #7350 )
2020-09-23 14:16:36 -07:00
Tyler Hancock
0484f695fb
Fixed container item being consumed in brewing stand. #7307 ( #7314 )
2020-09-22 12:14:08 -07:00
sciwhiz12
e55bd86dff
Fix parse results of CommandEvent being disregarded ( #7303 )
2020-09-22 12:06:01 -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
Alex O'Neill
ac19d1bf2b
Make Biome.Climate and BiomeAmbiance fields accessible ( #7336 )
2020-09-17 17:57:58 -07:00
cpw
e0e0302ece
Use mixin 0.8.1. Should fix problems with mixin not working properly with latest modlauncher.
...
Signed-off-by: cpw <[email protected] >
2020-09-17 16:41:46 -04:00
Sebastian Hartte
6eb3e20abb
Sets the empty/fill sounds for vanilla fluids.
...
Use Fluid's fillSound rather than emptySound when filling buckets.
2020-09-15 22:06:17 +02:00
Cyborgmas
738491c25d
Add MatrixStack-aware alternatives to the methods in GuiUtils ( #7127 )
2020-09-15 21:46:58 +02:00
Justin Wiblin
2686b7a9ab
Fix json biomes not setting registry name correctly for the BiomeLoadingEvent. ( #7329 )
2020-09-15 09:51:45 -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
Yunus
873c490470
Reimplemented drawHoveringText ( #7268 )
2020-09-15 15:22:50 +02:00
LexManos
11e3281b3f
New BiomeLoadingEvent that allows modders to edit biomes as they are being deserialized.
2020-09-14 17:43:01 -07:00
LexManos
ce6c664acd
Bump MCP version for lambda issue.
2020-09-11 08:55:13 -07:00
LexManos
c75eb9e7cf
1.16.3 Update
...
Also included a bunch of warning cleanups.
2020-09-10 12:01:45 -07:00
Redstone_Dubstep
2353cd982a
Fix tile entities being replaced when not needed. ( #7318 )
2020-09-10 11:54:48 -07:00
malte0811
dbcf8bd075
Fix exception when getting rendering box for tile entities with no collision boxes. ( #7301 )
2020-09-10 11:02:06 -07:00
cpw
9f3141ea16
More crash reporting tweaks. Don't crash when trying to show warnings. Also, put the exception name in the error screen on the second line!
...
Signed-off-by: cpw <[email protected] >
2020-09-09 19:04:19 -04:00
Take Weiland
c382527ba2
Fix Minecart speed cap on rail being initialized to 0 ( #7315 )
2020-09-09 10:09:00 -07:00
Richard Freimer
45f8dc5245
Add support for custom tag types ( #7289 )
2020-09-08 19:10:36 -07:00
cpw
43391c009c
More crash report tweaks. Put a button to open the generated crash report on the error screen, tweak formatting of crash report, and add the enhanced stack trace data (transformers et al)
...
Signed-off-by: cpw <[email protected] >
2020-09-08 20:05:45 -04:00
ChampionAsh5357
15733a18e4
New hook for better custom scaffolding movement ( #7261 )
2020-09-08 14:00:09 -07:00
Cyborgmas
f68344cd7c
Fixed crash with zip paths ( #7300 )
2020-09-08 13:47:39 -07:00
mrp-v2
e421ea164c
Fix custom teleporters NPE ( #7296 )
2020-09-08 13:29:07 -07:00
Cyborgmas
178e3d244a
Prevent duplicate wrapper tags from crashing ( #7283 )
2020-09-08 13:25:23 -07:00
Tschipp
bd5e107628
Add partialTicks to RenderNameplateEvent ( #7277 )
2020-09-08 13:24:02 -07:00
NoahBeech
a477671c03
Fixing logic in getCurrentRailPosition to correctly identify the rail… ( #7276 )
2020-09-08 13:23:18 -07:00
Edwin Mindcraft
887bc37209
[1.16.x] Fixes for Bamboo, Enchantments and Conduits, small adjustments to bring some patches closer to the vanilla code. ( #7239 )
2020-09-08 13:03:36 -07:00
sciwhiz12
47f05a4fcd
Bump resource pack version to 6 ( #7299 )
2020-09-08 13:02:28 -07:00
sciwhiz12
47ba5b7a89
Remove dead ForgeHooks.canToolHarvestBlock function. ( #7262 )
2020-09-08 13:01:26 -07:00
ChampionAsh5357
05480843cd
Re-implement DrawHighlightEvent$HighlightEntity Firing ( #7233 )
2020-09-08 12:50:06 -07:00
ichttt
0e1ed8c936
Reimplement FarmlandWaterManager ( #7213 )
2020-09-08 12:25:48 -07:00
Cyborgmas
edf41bda19
Add dataprovider for Global Loot Modifiers ( #6960 )
2020-09-08 12:11:08 -07:00
ichttt
051416b823
Fix crash when dumping crash report for an exception that has a null cause ( #7308 )
2020-09-08 12:00:55 -07:00
cpw
84fe2cbcc4
Tweak crash report dump to visit all the causes up to the top.
...
Signed-off-by: cpw <[email protected] >
2020-09-06 21:29:21 -04:00
cpw
4ff0d246ce
Fix ExplodedDirectoryLocator visiting non-existent paths. Closes #7203
...
Also, bump modlauncher to 7.0.1 to fix resources.
Signed-off-by: cpw <[email protected] >
2020-09-06 19:38:58 -04:00
cpw
9051021474
Fix some potential issues in crash dumping during mod loading
...
Signed-off-by: cpw <[email protected] >
2020-09-06 18:07:53 -04:00
cpw
cc473be332
Park the polling thread for a bit, if we're not the one driving the task list forwards. This allows for the actual driver to work on low cpu count machines.
...
Signed-off-by: cpw <[email protected] >
2020-09-06 17:55:03 -04:00
cpw
b1f73a0760
Use new enumeration mechanism in ModLauncher, to allow getResources to work. This enables serviceloader-in-mods, and other stuff that might need to visit multiple mod jars. Also, tweaked the visitor code slightly, may result in a trivial performance change. Closing #7302 as it's not really relevant any more.
...
Signed-off-by: cpw <[email protected] >
2020-09-06 17:54:05 -04:00
cpw
de03eb6e3c
Fix compiler issue in eclipse properly
...
Signed-off-by: cpw <[email protected] >
2020-09-03 12:09:29 -04:00
sciwhiz12
bef8c2da3d
Fix crash caused by previous commit ( #7298 )
2020-09-03 08:40:40 -04:00
LexManos
3820d1b66f
Dirty casting hacks to fix eclipse compiler inference issue. I'm sorry cpw.
2020-09-02 21:15:16 -07:00
tterrag
7dbae7ea4a
Fix broken ExistingFileHelper import
...
Add licenses to some new files
2020-09-02 23:37:46 -04: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
cpw
5dac065994
Move the "modloading" thread activity onto _our_ worker pool. It turns out that the vanilla worker pool can deadlock during stitching if it's insufficiently large, if modloader "waitForTransition" is also a worker member of that pool.
...
Closes #7293 (to reproduce issue easily, modify Util.func_240979_a_ and change the values in the MathHelper.clamp call). I've verified that 3 and below for "max" cause the problem. (I didn't test a whole range of values, just sufficient to reproduce problem and verify fix). Note that setting it to zero (and using the "direct executor" that's inaccessible in normal operation) works as well with this fix.
Signed-off-by: cpw <[email protected] >
2020-09-01 14:36:02 -04:00
cpw
1d7db95539
Fix missed debugging code. Read the config from the config.
...
Signed-off-by: cpw <[email protected] >
2020-08-31 22:26:53 -04:00
cpw
de24783152
Fix up slight registry change and other 1.16.2 stuffs.
...
Signed-off-by: cpw <[email protected] >
2020-08-31 21:30:53 -04:00
cpw
bfeec0c7bd
Merge branch '1.16.1' into 1.16.x
...
# Conflicts:
# patches/minecraft/net/minecraft/client/Minecraft.java.patch
# patches/minecraft/net/minecraft/item/crafting/Ingredient.java.patch
# src/main/java/net/minecraftforge/fml/client/ClientModLoader.java
# src/main/java/net/minecraftforge/registries/GameData.java
2020-08-31 21:15:56 -04:00
cpw
2e42340dfa
Fix up all the things. Removed SidedProvider because it served no real purpose anymore.
...
Signed-off-by: cpw <[email protected] >
2020-08-31 21:00:44 -04:00
cpw
16b82bb97b
Merge branch '1.16.x' into 1.16.1
...
# Conflicts:
# src/main/java/net/minecraftforge/fml/ModList.java
# src/main/java/net/minecraftforge/fml/client/ClientModLoader.java
2020-08-30 21:44:51 -04:00
cpw
d76ee4edd7
Redo event dispatch, removes a bunch of nonsense, and tries to integrate with the vanilla CF system where possible
...
Signed-off-by: cpw <[email protected] >
2020-08-30 21:39:06 -04:00
ichttt
cf09f3eeb9
Add particle culling ( #6981 )
2020-08-30 16:05:16 -07:00
LexManos
d8eaeabf3c
Wrap vanilla's 'default' biome registry in ForgeRegistry.
...
This should allow registering mod dimensions like in 1.16.1, while the data driven system is fleshed out.
2020-08-26 09:49:41 -07:00
David Quintana
600e68cace
Clarify in the LazyOptional which methods carry the lazyness over to the returned value and which don't. ( #6750 )
...
For consistency, this meant making a few changes:
- Renamed the existing lazy mapping method to lazyMap, to indicate that it doesn't run the mapping immediately.
- Added a new implementation of map(), which returns Optional<T>, and resolves the value in the process.
- Changed filter() to return Optional, since there's no way to filter lazily.
- Added a new method resolve(), which helps convert the custom LazyOptional class into a standard Optional, for use
with library methods that expect Optional<T>.
* Update License headers.
2020-08-25 03:11:28 +02:00
sciwhiz12
625cd746ef
Add user-friendly exceptions when config loading fails ( #7214 )
2020-08-21 14:27:12 -07:00
Max Becker
fc000fe913
Replace EntityHeight event with EntitySize event ( #6858 )
2020-08-21 11:53:37 -07:00
Davide Albiero
e3db429763
[1.16] ForgeEventFactory#canCreateFluidSource reintroduced ( #7181 )
2020-08-21 11:37:43 -07:00
Cyborgmas
e803006360
Cleanup and expand Forge tags ( #7004 )
2020-08-21 11:30:21 -07:00
sciwhiz12
07ffc890e5
Fix modproperties property in mods.toml causing exception ( #7192 )
2020-08-21 11:25:40 -07:00
Philip T
5a20705f05
Log info about server list warning ( #7209 )
...
Make it easier to figure out what mods are missing or have to be marked as client/server side only.
2020-08-21 11:15:44 -07:00
mcenderdragon
aaa1deeef2
Fix ItemStack#isDamageable is not calling Item#isDamagable ( #7221 )
2020-08-21 11:06:38 -07:00
Take Weiland
50197b1fa5
Improve performance and cleanup code for DelegatingResourcePack ( #7228 )
2020-08-21 10:48:48 -07:00
Cyborgmas
797791c2af
Fix small logging issues with loading pack.png for mods ( #7265 )
2020-08-21 10:24:49 -07:00
Take Weiland
c2de232703
Fix config iteration order ( #7230 )
2020-08-21 10:23:20 -07:00
LexManos
9118c3dd24
Cleanup Forge's build script, fix some unneeded patches.
...
Add checkExcscheckAll tasks.
2020-08-21 02:47:04 -07:00
ChampionAsh5357
c6d512afe8
Readding DifficultyChangeEvent hooks ( #7240 )
2020-08-20 21:35:09 -07:00
malte0811
5037adede9
Improve startup time by caching the manifest data for mod jars ( #7256 )
2020-08-20 21:29:02 -07:00
Yunus
a5aca97e31
Removed HarvestDropsEvent ( #7193 )
2020-08-18 22:47:38 -07:00
Cyborgmas
edca0c7293
Remove forge optional tags in favor of Vanilla's new system. ( #7246 )
2020-08-18 22:22:34 -07:00
LexManos
132cc3659d
New method for creating modded tag references, fix connecting to vanilla servers.
2020-08-14 12:04:55 -07:00
LexManos
680c4062f4
Fix creating nether portals.
2020-08-14 12:04:17 -07:00
sean
e1efab0452
Print mod file name on InvalidModFileException ( #7241 )
2020-08-13 19:16:53 -07:00
Yunus
bd428de4fa
Updated MDK and README for 1.16.2 ( #7243 )
2020-08-13 12:22:58 -07:00
Cyborgmas
978b3c7fb1
Fix server connection, misapplied patch ( #7245 )
2020-08-13 12:22:17 -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
Take Weiland
8bad5b1f13
Fix wrong BlockState param passed into canSustainPlant from FarmlandBlock ( #7212 )
2020-08-03 17:19:12 -07:00
sciwhiz12
54b4089afd
Add harvest levels for hoes and new 1.16 blocks for pickaxes Fixes #7187 ( #7189 )
2020-08-03 17:06:36 -07:00
sciwhiz12
493608e1b5
Fix debug world not generating modded blocks ( #6926 )
2020-08-03 17:00:31 -07:00
ChampionAsh5357
0984777c98
New IForgeBlock#getToolModifiedState hook allow better control over tools interacting with blocks. ( #7176 )
2020-08-03 16:49:26 -07:00
Xerousso
97a2b9a448
Added new hook to allow Biomes to control their Edge biomes ( #7000 )
2020-08-03 16:21:13 -07:00
brandon3055
399bc6c9c3
Add support for custom elytra ( #7202 )
2020-08-03 15:55:10 -07:00
Take Weiland
20702456ac
Re-introduce "outdated" notification on Mods button in main menu ( #7123 )
2020-08-03 15:11:06 -07:00
sciwhiz12
b4a6d186de
Fix RenderTickEvent using wrong partial ticks value when game is paused. Fixes #6991 ( #7208 )
2020-08-03 11:53:21 -07:00
tterrag
8f9e52c260
Implement forge IBakedModel methods in vanilla wrapper models
2020-07-29 23:10:40 -04:00
LexManos
e62805f1d7
Fix another case of swallowed errors not shutting down mods.
2020-07-28 16:44:29 -07:00
cpw
ff752ab14b
Revert "Properly shutdown FMLModContainer's event bus when an error in a lifecycle event is detected."
...
This reverts commit 30bad1e2
Signed-off-by: cpw <[email protected] >
2020-07-28 19:17:35 -04:00
cpw
19a38f5cb9
Revert "Shut down all other mod handlers if the loading cycle errors. This prevents other mods from throwing errors and being blamed for initial cause. This is a temporary hack until cpw re-writes the mod event dispatcher."
...
This reverts commit 7592bbe8
Signed-off-by: cpw <[email protected] >
2020-07-28 19:17:29 -04:00
LexManos
7592bbe87e
Shut down all other mod handlers if the loading cycle errors.
...
This prevents other mods from throwing errors and being blamed for initial cause.
This is a temporary hack until cpw re-writes the mod event dispatcher.
2020-07-28 14:39:53 -07:00
LexManos
30bad1e26d
Properly shutdown FMLModContainer's event bus when an error in a lifecycle event is detected.
2020-07-28 12:01:15 -07:00
LexManos
5104824a1b
Enable EventBus type check during ForgeDev, and add IModBusEvent marker to ModelRegistryEvent.
2020-07-28 10:24:52 -07:00
LexManos
4ffcdaa6da
Make license toml entry optional during 1.16.1
...
There are to many existing mods to make this required.
Yes, we are technically before a RB and can do breaking changes. However this is too large.
2020-07-28 00:16:18 -07:00
cpw
95d2b6ae89
Missed one event. NewRegistry needs the marker.
...
Signed-off-by: cpw <[email protected] >
2020-07-27 21:13:53 -04:00
cpw
d21c05b9ea
Update MDK license to default to All rights reserved, and offer a link to chooseyourlicense.com as a place to research appropriate licenses.
...
Note: the license field _is_ backwards compatible and will simply be ignored on older forge versions.
Signed-off-by: cpw <[email protected] >
2020-07-27 21:06:48 -04:00
cpw
97dfcbc52b
Update coremods and spi, include mandatory license field in metadata. Added at top level of mods.toml file.
...
Signed-off-by: cpw <[email protected] >
2020-07-27 20:21:39 -04:00
cpw
532d153d33
Update modlauncher, eventbus, accesstransformers and more to use a newer mechanism for generating ASM.
...
Introduced IModBusEvent as a marker interface for events on the ModBus. Expect exceptions if you use
the modbus for events not listened there.
Signed-off-by: cpw <[email protected] >
2020-07-27 19:40:43 -04:00
Raycoms
849e718a42
Fix rail 180 rotations ( #7177 )
2020-07-27 16:35:15 -07:00
Jamie Mansfield
720966544d
Fire AnimalTameEvent for cats ( #7172 ) Closes #7171
2020-07-27 16:00:14 -07:00
LexManos
7717795f42
Fix Biome generation error.
2020-07-27 15:56:04 -07:00
Paul Becker
daa817bbdf
Fix SleepingTimeCheckEvent not being fired in initial sleep test. ( #7005 )
2020-07-27 14:35:13 -07:00
Yunus
fba168051a
Fix ClimberPathNavigator spinning when width is small. Closes #6993 ( #6997 )
2020-07-27 14:30:16 -07:00
Tschipp
941b9a1d1f
Re-added PlayerEvent.NameFormat ( #6992 )
2020-07-27 14:16:35 -07:00
Xerousso
27798c5804
Fixed modded overworld biomes not spawning [1.16.x] ( #6990 )
2020-07-27 14:10:42 -07:00
Cyclonit
9d84b5df31
Added EntityLeaveWorldEvent ( #6984 )
2020-07-27 14:06:01 -07:00
Amber
00797fdb3a
Re-implement moddable flammabilities ( #6983 )
2020-07-27 14:02:45 -07:00
Yunus
8d617767ad
Updated versions in README and removed flocker.tv mentions ( #6978 )
2020-07-27 13:42:06 -07:00
Take Weiland
c9f9fd01b5
Re-add patch for PlayerSetSpawnEvent ( #6977 )
2020-07-27 13:41:35 -07:00
sciwhiz12
2450693f7d
Fix ChunkDataEvents using different data tags ( #6961 ) Fixes #6957
2020-07-27 13:40:22 -07:00
Joseph Tarbit
cf7784ac4b
Post SoundLoadEvent on mod bus instead of forge bus ( #6955 )
2020-07-27 13:26:51 -07:00
cpw
e3137213e5
Remove startupquery. Currently wasn't functional, and 1.16 has out of band state loading in all cases, so the complex functionality there is no longer needed. Going to research using the Lifecycle indicator from DFU as a proxy/replacement. Probably with some codec FUN.
...
Signed-off-by: cpw <[email protected] >
2020-07-21 21:26:02 -04:00
LexManos
7b43b9f8c0
Run Forge's data generators to sync 1.16 vanilla changes.
2020-07-21 17:34:23 -07:00
cpw
daa85d3c5b
Don't show the early launcher GUI when running data. It's not needed and prevents use on automated builds.
...
Need to investigate why a bunch of tags seem to be being blown away by rerunning on forge.
Signed-off-by: cpw <[email protected] >
2020-07-21 20:12:33 -04:00
cpw
9e8c4c3a58
Add mixin
...
Signed-off-by: cpw <[email protected] >
2020-07-21 19:55:57 -04:00
Cyborgmas
24f3ef5ffe
Load Modded Datapacks in DatapackScreen, before world creation ( #6913 )
2020-07-20 15:56:21 -07:00
tterrag
a3edfd3748
Fix inconsistencies with model/blockstate datagen
2020-07-18 18:34:35 -04:00
Max Becker
96b9a057b7
Filter duplicate mod files from mod file scan data ( #6855 )
2020-07-17 10:35:38 -07:00
LexManos
638d1d31de
Fixed Forge commands. Closes #6973 Closes #6974 Closes #6976
2020-07-16 14:08:13 -07:00
Jared
00013865b0
Added an event for registering commands. closes #6968 ( #6969 )
2020-07-15 12:30:41 -07:00
Tyler Hancock
6722e7a428
Make all functions in Style common. ( #6931 )
2020-07-13 17:15:32 -07:00
seymourimadeit
0f56b4c4ee
Mark Raid.WaveMembers as an extensible enum. ( #6878 )
2020-07-13 15:40:37 -07:00
LexManos
201349f8de
Fix checkPatches task. Closes #6956
...
Fix patched in method using srg name. Closes #6965
Fix capabilities not being collected for ClientWorld. Closes #6966
Fix TagEmptyCondition using client side copy of tags instead of server. Closes #6949
Fix ExtendedButton using narrator text. Closes #6958 , Closes #6959
Fix misaligned patch in RepairContainer. Closes #6950 , Closes #6953
Fix LivingJumpEvent not being fired for players jumping horses. Closes #6929
Remove extra getToughness method in ArmorItem. Closes #6970
Remove GetCollisionBoxesEvent. Closes #6921
2020-07-13 15:17:37 -07:00
Richard Freimer
065ebde57e
Fix race condition with DeferredRegister for custom registries ( #6951 )
2020-07-10 14:08:22 -07:00
sciwhiz12
6b3f2f46fa
Remove hooks into beacon base/payments. Vanilla uses tags now for extensibility. ( #6948 )
2020-07-10 10:49:42 -07:00
Jared
e4ffbeb329
Expose the DataPackRegistries instance to the AddReloadListenerEvent ( #6933 )
2020-07-08 14:24:01 -07:00
sciwhiz12
60ee0bcdb3
Fix canRepair not being set true as default ( #6936 )
...
Closes #6934 and #6935
2020-07-08 14:13:07 -07:00
David Quintana
2a2306d6e1
Fix misaligned patch causing LivingEquipmentChangeEvent to never be posted.
2020-07-08 16:54:47 +02:00
David Quintana
fc3fa13bf3
Fix particles sometimes "losing" the lightmap and drawing fullbright.
2020-07-08 12:01:27 +02:00
Justin
aab8adb884
Add simple patch checker and cleanup patches ( #6851 )
...
* Add simple patch checker and cleanup patches
* Address comments
* move task implementation
* genPatches is now finalized by checkPatches
* the S2S artifacts are automatically removed
* added class and method access checking
2020-07-06 14:30:10 -07:00
Richard Freimer
2ad347b043
Fix the modifier combined name for keybinds displaying two pluses outside of forgedev #6901 ( #6902 )
2020-07-06 14:26:54 -07:00
Richard Freimer
d26e285e09
Fix harvest level and tool type not actually getting set #6906 ( #6922 )
2020-07-06 14:12:36 -07:00
Richard Freimer
91a2b02590
Reimplement ITeleporter Patches ( #6886 )
2020-07-06 13:45:22 -07:00
Mysterious_Dev
a567ddaa10
Add function to add items with the same behavior as the pumpkin for enderman ( #6890 )
2020-07-06 13:34:01 -07:00
Richard Freimer
68e71009f3
Custom Item integration with Piglins ( #6914 )
2020-07-06 13:30:17 -07:00
ichttt
0227bfe9ee
Some dead code cleanup, and re-implement some bed hooks. ( #6903 )
2020-07-06 13:19:53 -07:00
Take Weiland
df57e0a1ba
Fix missing null checks in ForgeIngameGui ( #6907 )
2020-07-06 13:06:31 -07:00
sciwhiz12
68ea1b654c
Fix swap offhand keybind not working in GUIs ( #6920 )
2020-07-06 12:43:05 -07:00
Cyborgmas
ff86201523
New AddReloadListenerEvent that gathers server side data reload handlers. ( #6849 )
2020-07-06 12:41:57 -07:00
David Quintana
8e5138da27
Attempt to use a more compatible method to initialize stencil support.
...
In case the separate attachments don't work for everyone, there's a new setting to choose the combined attachment.
2020-07-03 14:40:21 +02:00
David Quintana
a690a7526a
Fix multi-layer item rendering.
2020-07-03 05:54:46 +02:00
David Quintana
517bbc8b5b
Update copyright year to 2020.
2020-07-02 19:49:11 +02:00
David Quintana
ce3d8b40cf
Model system improvements:
...
- Port some things I did in 1.14 which I couldn't do in 1.15 due to breaking changes.
- Fix multi-layer block models not working (1.16 RenderType doesn't override toString the same way anymore)
- Implement multi-layer item rendering.
- Improve CompositeModel submodel data passing.
2020-07-02 19:16:40 +02:00
Cyborgmas
45152c6073
Pass matrixstack in tooltip render events ( #6885 )
2020-07-02 14:43:41 +02:00
SuperMartijn642
46c9dec421
Include model data in getQuads call ( #6884 )
...
The model data wasn't included when getting quads from specific sides, but was when getting quads for side = null.
2020-07-02 14:43:23 +02:00
tterrag
a0b0e6788d
Fix improper handling of baked lighting in forge light pipeline
...
Closes #6812
2020-07-02 01:53:52 -04:00
pupnewfster
b00c91af3c
Fix FMLServerAboutToStartEvent being fired too late on the integrated server https://github.com/MinecraftForge/MinecraftForge/issues/6859
2020-07-01 21:59:03 -04:00
ichttt
d11a582a25
Fix miss-aligned patch ItemEntity ( #6895 )
2020-07-01 11:14:16 -07:00
MelanX
bf1a0461cb
Add hoe tool type ( #6872 )
2020-06-30 13:17:57 -07:00
ichttt
4aa53dbb00
Fix loading screen color and text ( #6824 )
2020-06-30 13:16:51 -07:00
Curle
a79e4b3722
Allow any armor to have custom knockback resistance ( #6877 )
2020-06-30 13:09:12 -07:00
Take Weiland
d1016f752e
Add senderUUID to ClientChatReceivedEvent ( #6881 )
2020-06-30 12:57:23 -07:00
LexManos
ab29145328
Re-write checkATs function and automate making Items/Blocks public.
2020-06-29 19:33:34 -07:00
cpw
99e7fad655
Reorganize modloading on the dediserver. This removes the DedicatedServer parameter from the FMLDedicatedServerSetupEvent.
...
Code for customizing the server instance should be moved to the ServerAboutToStartEvent or similar, where the server instance
is available.
This reorganization means that mods will load fully before the server is even constructed, or the server properties loaded. We also move the EULA right to the front so we don't have to wait for bootstrap.
This should fix the problems with mods which customize world data and other things.
Signed-off-by: cpw <[email protected] >
2020-06-29 22:09:37 -04:00
Cyborgmas
d5aa0c4a91
Fix datagen resolving tags and exploding. ( #6865 )
2020-06-29 16:39:04 -07:00
Matthew Messinger
20d231bbed
Fix Language.javaLocale parsing ( #6862 )
2020-06-29 16:37:21 -07:00
Take Weiland
5db6f158f8
Fix IItemHandler wrappers for chests not updating both chests ( #6875 )
2020-06-29 15:58:22 -07:00
LexManos
88d02712db
Fix missed patch in PlayerList and EntitySelectioonContext. Closes #6846 Closes #6850
2020-06-29 13:57:10 -07:00
ichttt
7858abe96d
Make Type classes safe to use in concurrent loading ( #6825 )
2020-06-29 13:29:32 -07:00
Richard Freimer
b0e35f358e
Fix access levels being hardcoded to private via patch overriding AT entry ( #6848 )
2020-06-29 13:09:04 -07:00
LexManos
80d2730fec
Fix tag related issues when connecting to a vanilla server.
2020-06-29 12:42:32 -07:00
LexManos
3b64ea6305
Fix Forge's internal handler being registered in wrong place.
...
Fix double call to loader end.
2020-06-28 15:08:03 -07:00
David Quintana
5f1a7326c7
Add a model loader that lets mods specify different models for different perspectives.
...
Allow custom models to reference vanilla item models as child models.
2020-06-28 00:32:50 +02:00
LexManos
af9bb9641b
Fix swim speed being incorrect. Closes #6845
...
Fix BreakSpeedEvent having null position. Closes #6844
Add MatrixStack to BackgroundDrawnEvent. Closes #6843
Fix some patches that should of been ATs. Closes #6839
Add getter to ServerPlayer to access client's language calue if sent. Closes #6829
Some patch cleanup.
2020-06-26 16:55:04 -07:00
LexManos
fc6b38d7f2
Fix blocks being harvested with incorrect tools.
2020-06-26 15:40:05 -07:00
Cyborgmas
4887a5e0e7
fix misapplied patch
...
also sneak in an import patch removal
2020-06-26 18:40:02 -04:00
LexManos
97d4652f5f
Make installer use MCPConfig version to identify MC assets.
2020-06-26 12:52:50 -07:00
cpw
41a6d70aee
Tweak the server startup a bit, make sure methods that can't work because they run before a server exists explode saying so.
...
Also fix other launch profiles.
Signed-off-by: cpw <[email protected] >
2020-06-26 14:27:32 -04:00
LexManos
99917e569c
Fix dedicated server loading by constructing mods before data packs are created.
2020-06-26 09:56:23 -07:00
David Quintana
30227a1e28
Fix create method.
...
Fix test mods not loading correctly.
2020-06-26 17:20:21 +02:00
David Quintana
a1110b92d0
Reintroduce missed patch in EntityClassification.
2020-06-26 16:43:01 +02:00
Cyborgmas
438e3886cc
Include a getter for the matrix stack in OverlayEvent ( #6834 )
2020-06-26 15:55:33 +02:00
Cyborgmas
fa6ca9c275
Fix block render types not being properly applied to item entities ( #6832 )
2020-06-26 15:22:57 +02:00
its_meow
71baebcc93
[1.16.x] Allow GlobalEntityTypeAttributes' EntityType -> AttributeModifierMap to be added to ( #6822 )
...
* Make GlobalEntityTypeAttributes map able to be added to
* Split get patch into two lines
* Favor Forge's map over vanilla
2020-06-26 15:03:56 +02:00
Cyborgmas
e7b5dcb149
Fixed creative screen arrows ( #6827 )
2020-06-26 14:58:48 +02:00
Yunus
29e52e963d
Added call to method for tooltip with FontRenderer ( #6831 )
2020-06-26 14:57:26 +02:00
Curle
3dc8d2b293
Retarget Block.Properties patch to the new AbstractBlock, reintroduce harvestLevel and harvestTool fields ( #6819 )
...
* Retarget Block.Properties patch to the new AbstractBlock, reintroduces the harvestLevel and harvestTool fields.
* Slight adjustment to fix the lootTableSupplier.
2020-06-26 14:35:36 +02:00
Yunus
29be40adec
Fixed sneaking while swimming ( #6817 )
2020-06-26 14:25:32 +02:00
Cyborgmas
272ea75aab
Fixed tooltip rendering issues ( #6815 )
2020-06-26 14:24:58 +02:00
Cyborgmas
cbac95de0f
Fixed villager trades having non-applicable enchants
...
Also added an AT at lex's request
2020-06-25 22:30:44 -04:00
Yunus
87d89fb09a
Updated MDK mods.toml versions ( #6808 )
2020-06-25 18:42:28 -07:00
Dominik Baumann
7bca3684bd
Add missing patch to ScreenShotHelper ( #6809 )
...
Adds the missed patch back
2020-06-25 18:42:17 -07:00
Cyborgmas
6cfc88e707
Fix block drops ( #6810 )
2020-06-25 18:42:11 -07:00
Cyborgmas
8179a504cb
Fix locate command ( #6811 )
2020-06-25 18:42:01 -07:00
LexManos
baf32612db
Rework BlockSnapshot and fix client notifications. Closes #6807
2020-06-25 18:41:38 -07:00
LexManos
9cf9305fd0
Bump MCPConfig version.
2020-06-25 16:24:35 -07:00
cpw
4700973dff
Update to 1.16.1 and fix a couple more patch problems
...
Signed-off-by: cpw <[email protected] >
2020-06-25 18:28:48 -04:00
cpw
648d53ffe1
Fix some patching derps from 1.15 merge
...
Signed-off-by: cpw <[email protected] >
2020-06-25 18:16:38 -04:00
cpw
c7ed9f690e
Clean up legacy cruft
...
Signed-off-by: cpw <[email protected] >
2020-06-25 17:55:54 -04:00
Anthony Anderson
ca2ed1ff7a
Final patching
...
Signed-off-by: cpw <[email protected] >
2020-06-25 17:55:54 -04:00
covers1624
80eb12e59d
Compiling fixes - IN GAME!
2020-06-25 17:55:52 -04:00
tterrag
631230b298
Patching and updates
2020-06-25 17:55:40 -04:00
cpw
6d15febdb3
Setup and import of 1.16 YEET
2020-06-25 17:55:38 -04:00
covers1624
56397043bb
Allow RayTraceContext to be constructed with a null entity. ( #6708 )
2020-06-25 17:54:00 -04:00
Yanny
469527890f
Replace explicit shears reference in vanilla loot tables with tag for modded shears. ( #6765 )
2020-06-25 17:53:58 -04:00
hanetzer
2ffdfb9582
Fix cache file sorting issue on linux ( #6793 )
2020-06-25 17:52:38 -04:00
Cyborgmas
4178885e29
Fire jump event for horses when ridden ( #6802 )
2020-06-25 17:52:36 -04:00
cpw
20f78ac724
Modify how modfiles load slightly, for better decoupling.
...
Signed-off-by: cpw <[email protected] >
2020-06-25 17:51:27 -04:00
Take Weiland
b117722d84
Throw an exception from DeferredRegister when trying to register entries after registry event has fired ( #6789 )
2020-06-25 17:51:27 -04:00
DaemonUmbra
2acf2110ef
Potential userProperties Fix ( #6740 )
2020-06-18 14:24:26 -07:00
Take Weiland
6345f2670c
Add system for dimensions to be marked for deletion ( #6515 )
2020-06-15 09:37:08 -07:00
LexManos
9114bec81d
Fix dedicated server issue in some implementations of Block.getPickBlock. Closes #6566
2020-06-12 17:28:05 -07:00
LexManos
9ac626d2a9
Fire SpecialSpawn event for mobs spawners. Closes #6700
2020-06-12 16:53:01 -07:00
LexManos
457909b6d5
Remove the yellow coloring on hover in ExtendedButton to match vanilla behavior. Closes #6714 Closes #6713
2020-06-12 16:36:58 -07:00
LexManos
07b62b77e6
Fix entity pathing not matching vanilla. Closes #6755
2020-06-12 16:24:27 -07:00
DaemonUmbra
e374f62037
Fixed --server argument crashing the client ( #6754 )
...
Closes #6753
Moving the fadeOutStart setter above the callback invocation prevents re-entry into the block (which would result in an infinite loop and a StackOverflowException) if the callback causes a render tick (which creating a new ConnectionScreen does).
2020-06-12 15:46:52 -07:00
brandon3055
0209daec36
Fixed ItemStack comparison ignoring capabilities when stack nbt is null. ( #6764 )
2020-06-12 15:43:38 -07:00
Vincent Lee
1b89f931eb
Supply matrixstack to IRenderHandler where possible. Closes #6439 ( #6537 )
2020-06-12 15:42:44 -07:00
Take Weiland
a3e4b75c59
Fix StartupQuery not working more than once on the client ( #6699 )
2020-06-12 15:36:00 -07:00
DaemonUmbra
45b90a0d45
Added ProjectileImpactEvent.FireworkRocket ( #6758 )
2020-06-12 15:33:44 -07:00
LexManos
fd9bf64d53
Add custom registry type support to DeferredRegister. ( #6742 )
...
It's still a hard dependency because it requires a class reference.
But there is not a sane way to test registry types without a class reference.
2020-06-12 15:28:43 -07:00
Take Weiland
5dbea9ea8d
Fix "overlayMessage" rendering in ForgeIngameGui being different than vanilla ( #6748 )
2020-06-07 08:47:59 -07:00
David Quintana
28f7b5d885
Implement loader for ItemLayerModel.
...
Add support for specifying which layers are fullbright.
Fix improper generation of model edge. - Thanks to iChun and KnightMiner for the fix suggestions.
2020-06-04 16:04:09 +02:00
LexManos
0c0603dc91
Remove dead test classes.
2020-06-03 17:46:30 -07:00
LexManos
f24991f3bb
Add --flat argument to data generators to not create data in mod specific directores.
...
Useful For Forge's test mods mainly.
Standardized data gen cache file's folder separators.
Added ItemModelProvider to BlockStateProvider for cleaner datagen code.
Added .gitattributes to fix datagen json's line endings correct on windows.
2020-06-03 16:57:07 -07:00
cpw
a39f1cbe1a
Improve the DistExecutor API and introduce some "almost completely" safe mechanisms to handle sided lambdas.
...
In general, use sided lambdas safely by embedding them in a separately loaded class. There's a whole twitch stream
dedicated to investigating this problem. See link in DistExecutor if you're interested.
Signed-off-by: cpw <[email protected] >
2020-05-24 17:40:52 -04:00
tterrag
6fd01a13ee
Fix typo in new registry fields' names
...
Note: this is technically a breaking change. If you for some reason added code referencing these two fields in the last few hours, sorry.
2020-05-23 21:24:30 -04:00
tterrag
6829324f5a
Fix server startup query info not including new text
2020-05-23 16:22:29 -04:00
tterrag
eb9c966095
Improve look of notification GUI, improve StartupQuery API
2020-05-23 16:05:10 -04:00
tterrag
f0bab0fb38
Add forge registries for applicable new registry types
...
Expose constructors for all forge registry entries
Also, remove deprecation on ItemCameraTransforms/TransformType
2020-05-23 13:42:56 -04:00
LexManos
d5cb0935e9
Bump version for new RB.
2020-05-15 12:33:32 -07:00
LexManos
d4f79882f9
Update MCP Mappings.
2020-05-15 12:17:25 -07:00
ichttt
8d3685439e
fix test mod and add warning comment to framebuffer ( #6698 )
2020-05-15 20:25:57 +02:00
LexManos
68cf703435
Fix FireBlock using flammability instead of spread speed when looking for places to spread. Closes #6646
2020-05-15 10:59:57 -07:00
LexManos
bcdd04d549
Fix incorrect argument passed in RenderPipeline potentially causing crash. #6677
2020-05-15 10:53:35 -07:00
Funwayguy
ec7d9d4179
Re-added patch to enable stencil buffer in net.minecraft.client.shader.Framebuffer
...
Add test for the stencil buffer feature. Only tests that it doesn't crash when enabling, for now. - giga
2020-05-15 19:49:55 +02:00
TheSilkMiner
765da1aca8
Allow Music Discs to be created with SoundEvent delegates. ( #6523 )
2020-05-15 10:38:19 -07:00
Edwin Mindcraft
7fa42ca064
Use IProperty#getName when generating blockstate jsons ( #6582 )
...
Close #6520
2020-05-15 13:28:10 -04:00
David Quintana
c23ea1e733
Model system fixes:
...
- Add "origin" key to determine what origin to use. This will default to the existing (broken) behaviour to avoid breaking changes.
- Fix interaction of transforms with variant transforms (transformation ordering).
- Fix OBJ loader ignoring "diffuseLighting" attribute from the json.
This attribute will continue not being used if "ambientToFullbright" is on (default) to avoid breaking changes.
2020-05-15 19:25:26 +02:00
LexManos
0f48e851a3
Fixed typo in registry alias writing causing infinite loop. Closes #6689
2020-05-15 09:38:20 -07:00
LexManos
549007a4a6
Fixed Partivle.onGround not updating correctly due to decompile error. Closes #6595
2020-05-15 09:37:51 -07:00
covers1624
932e7c84b3
Remove duplicate post of ChunkEvent.Load. ( #6697 )
2020-05-15 07:45:37 -07:00
Cyborgmas
999b5df933
Fix LevelChange event not firing after enchanting ( #6693 )
2020-05-14 13:22:12 -07:00
ichttt
29396b6235
Fix server config directory remaining locked when integrated server is shut down. ( #6644 )
2020-05-12 15:11:45 -07:00
Alex Thomson
4ce32c3663
Fix exclusion of coremods not filtering correctly when the mods directory is a symbolic link. ( #6600 )
2020-05-12 15:02:01 -07:00
Jais Djurhuus-Kempel
8084cc5499
Allow Bees to use custom hives. ( #6656 )
2020-05-12 14:29:32 -07:00
Tom Boshoven
988fc97af1
Fixed tile entities persisting when switching between states that don't have TEs without changing the block. ( #6674 )
2020-05-12 14:21:28 -07:00
Jamie Mansfield
5f082045b0
Fixed CropGrowEvents not firing for Bamboo ( #6680 )
2020-05-12 14:18:36 -07:00
Jamie Mansfield
abc98ba56b
Fix vanilla screens escape key not matching done button behavior ( #6682 )
2020-05-12 14:18:03 -07:00
ShetiPhian
e35c5c9ae4
Fixed FluidTank.drain calling onContentsChanged when simulating ( #6684 )
2020-05-12 14:17:17 -07:00
LexManos
926fa5d5a6
Fix infinite loading screen when resources error. Closes #6592 & #6593
2020-05-12 14:08:05 -07:00
covers1624
99d8fa1a6b
Fix IForgeBlock.removedByPlayer not firing on the client. ( #6638 )
2020-05-11 15:28:38 -07:00
cpw
1a317a7306
Update to newer eventbus, with typetools compatibility with jvms up to j14. No guarantees on actual game compatibility however.
...
Signed-off-by: cpw <[email protected] >
2020-05-10 20:34:57 -04:00
Jamie Mansfield
fa01ba3221
Fixed informational /forge commands being repeated to all ops when logging is enabled. Closes #6330
2020-05-06 13:49:15 -07:00
Jamie Mansfield
766019e1fc
Fix ModListScreen escape key not matching done button behavior. Closes #6672
2020-05-06 13:41:43 -07:00
David Quintana
a7e4cdcc49
Patch the bucket logic to not hardcode some checks to WATER. Fixes not being able to place custom fluids into modded fluid-loggable blocks that accept fluids other than water.
2020-05-06 13:30:20 +02:00
David Quintana
6551ccc247
Avoid discarding the bottom 4 bits of the lightmap coords. It turns out vanilla relies on those bits. Fixes some blocks being darker than they should be in certain circumstances.
2020-05-04 01:13:43 +02:00
Jacob Smith
c3e4d303e9
Fix issue with providing a null ItemStack to onPlayerDestroyItem ( #6633 )
2020-05-03 13:48:17 -07:00
Brennan Ward
9e763a8334
Allow overriding of tool level requirements when harvesting a block, via the HarvestCheck event. ( #6632 )
2020-05-03 13:40:34 -07:00
Richard Freimer
035c01e222
Fixed Hoppers not inserting fully into custom contains with slots that can hold more then max stack ( #6631 )
2020-05-03 13:34:26 -07:00
Corey Frenette
1fa88ebd56
Fixed ChunkDataEvent.Save being fired with a null world if chunk isn't fully generated when unloaded. ( #6628 )
2020-05-03 13:27:06 -07:00
Tyler Hancock
4fce4eb10b
Fix vanilla loot table resource leak. ( #6622 )
2020-05-03 13:23:09 -07:00
Tyler Hancock
2e694d3a6d
Change recipe condition log level to debug. ( #6621 )
2020-05-03 13:22:22 -07:00
CAS-ual-TY
e8966a05f5
Fix milk buckets removing potion effects without filters. ( #6609 )
2020-05-03 13:17:43 -07:00
Dion van der Hak
a377727ac4
Added missing localization for swim speed, and reach distance attributes ( #6585 )
2020-05-03 13:13:56 -07:00
Vincent Lee
385fb64ab7
Allow colors of tooltip to be specified in GuiUtils.drawHoveringText tooltip methods ( #6579 )
2020-05-03 13:09:28 -07:00
ichttt
f2216f4e25
Fix config comments referencing disallowed enum values. ( #6542 )
2020-05-03 12:56:47 -07:00
David Quintana
0fc1ea01d1
Remove redundant call to modifyLoot. Closes #6657
2020-04-28 19:22:48 +02:00
tterrag
ea23cd4779
Fix various issues with the loading screen and datagen
...
Fix NPE on datagen startup
Fix early loading GUI hanging and never terminating after datagen
Add loading GUI messages for datagen
2020-04-28 00:00:45 -04:00
Take Weiland
903a400132
Fix BackgroundScanHandler crashing on servers ( #6660 )
2020-04-27 11:06:34 -07:00
cpw
940f3ed731
Remove silly icon override. Squirrels are fun y'all..
...
Signed-off-by: cpw <[email protected] >
2020-04-27 09:55:14 -04:00
tterrag
9d8817b5db
Rename window icon image to avoid conflict, fix not using vanilla icon
2020-04-27 01:09:34 -04:00
tterrag
10204f8d82
Fix VariantList calling deprecated bake method
2020-04-26 23:48:51 -04:00
LexManos
746d702058
Fix resource packs not being sorted properly. Closes #6287
2020-04-26 20:05:56 -07:00
LexManos
3c5728f070
Fix Automatic Event Subscriber not detecting mod id defaults, and fix test mods.
2020-04-26 19:04:37 -07:00
cpw
8c8ef2d9e1
Use forge logo as short term window Icon, fix Buffer cast problems for new JDK stupid.
...
Signed-off-by: cpw <[email protected] >
2020-04-26 21:42:18 -04:00
cpw
6a25490d7f
Handle message display a bit better, try to make the UI tick a bit better.. Still a problem with
...
a modelbake right at the end, happening on the window flip.
Signed-off-by: cpw <[email protected] >
2020-04-26 21:03:43 -04:00
RogueLogix
6a0b16817d
Move ClientVisualization to secondary thread
2020-04-26 16:06:44 -07:00
RogueLogix
677e2104a0
move handOffWindow down near start()
2020-04-26 15:41:53 -07:00
cpw
438c969fef
merge early startup into main window if used. It seems to work well.. Also ticks window on main thread, so mac compatible now.
...
Signed-off-by: cpw <[email protected] >
2020-04-26 18:24:48 -04:00
cpw
4af0bfd661
Update jenkinsfile and gradle for new versions of things..
...
Signed-off-by: cpw <[email protected] >
2020-04-25 17:54:50 -04:00
LexManos
03c2a3d3a8
Fix potential NPEs in RegistryObject.orElseThrow/isPresent/ifPresent Closes #6647
2020-04-24 19:18:57 -07:00
David Quintana
9a6d1c390e
Add tickRate setter to the ForgeFlowingFluid Properties builder.
2020-04-23 14:57:06 +02:00
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 <[email protected] >
2020-04-19 21:36:44 -04:00
LexManos
699a5c3c18
Revert defualt jvm args.
2020-04-15 10:09:49 -07: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
tterrag
a3b1007633
Fix child annotations not inheriting member name, cleanup
2020-04-11 01:57:40 -04:00
tterrag
bdd0af5280
Fix element type of scanned child annotations
2020-04-11 01:19:25 -04:00
Patrick Ocampo
5e554530ac
Fixed PlantType not extending IExtensibleEnum, Closes #6286
2020-04-08 17:17:38 -07:00
valoeghese
713c24d916
Added hook to allow modded Hill Biomes ( #6571 )
2020-04-08 17:12:04 -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
tterrag
25605505d5
Remove SideOnly from WoodType methods
2020-04-04 15:35:41 -04:00
LexManos
0d2a0deef3
Cleanup IForgeTagBuilder code style.
2020-04-01 11:34:36 -07:00
tterrag
b6dc5381ca
Move global loot test data files out of generated folder
2020-03-31 20:15:55 -04: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
19444ffa18
Fix a few issues with BufferBuilder
...
Fix vanilla bug that caused the byte order of the buffer from getNextBuffer to be incorrect
Fix missing modification to nextElementBytes in putBulkData
2020-03-31 19:55: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
dags
f6cb5268a2
Defer writing the server.properties file until after mods have loaded to prevent config loss ( #6545 )
2020-03-27 16:19:34 -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
dd1d8737ad
Fix cycle happening in noteblock even though we're setting the new value as well..
...
Signed-off-by: cpw <[email protected] >
2020-03-20 20:05:23 -04:00
cpw
3e48066021
Add a progress message for atlas textures. Fills a big time gap on bigger packs.
...
Signed-off-by: cpw <[email protected] >
2020-03-20 17:34:46 -04:00
Managarmr
0d16042705
Remove ArrowEntity patch, vanilla fixed MC-107941
2020-03-17 02:41:36 -07:00
LexManos
52b8070692
Fix Forge's tps and gen commands.
2020-03-15 16:27:58 -07:00
LexManos
23541ab175
Update gradle wrapper
...
Update MCPConfig to version that bypasses javac compiler bugs
Fix Global loot test compile errors.
2020-03-15 13:55:03 -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 <[email protected] >
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 <[email protected] >
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
Vincent Lee
1a4955f9fd
Fix missing call to itemstack TER ( #6445 )
2020-02-14 22:43:31 +01:00
Vincent Lee
2c4042c17c
Fix missed modeldata passing in BlockModelRenderer ( #6442 )
2020-02-14 22:33:27 +01:00
Robert Skalko
e95ba8a3dc
Fix NPE when players rejoin the server in a dimension that was deleted ( #6511 )
2020-02-14 12:34:41 -08:00
Rigner
63cb030cba
Fix a wrong RenderState name MC-167447 ( #6501 )
2020-02-14 12:12:52 -08:00
Daniël Goossens
743fc70a7f
Fix client not informing server when it attempts to interact with things, and is canceled by a client side handler.
2020-02-14 12:04:38 -08:00
ewewukek
c14ffa3264
Fix wrong arguments passed to ForgeHooksClient.renderSpecificFirstPersonHand() ( #6496 )
2020-02-14 12:03:08 -08:00
malte0811
3f292d5d42
Fixed ChunkWatchEvent.(Un)Watch not firing correctly ( #6453 )
2020-02-14 12:02:47 -08:00
Unnoen
886e89ccb2
Update version and support data on README. ( #6429 )
2020-02-14 12:02:00 -08:00
Joseph Tarbit
977428e42c
Fixed Food not using effect suppliers, to better support delayed initialization and registry replacements. ( #6411 )
2020-02-14 12:00:40 -08:00
Parker Hawke
1c02312ae6
Fixed displaying item names when only more sensitive version changes ( #6402 )
2020-02-14 11:55:27 -08:00
David Quintana
8fbd84515f
Fix gui_light for forge's item parent models.
2020-02-14 19:03:11 +01: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
LexManos
982ed69776
Fix a small patch misalignment.
2020-02-03 13:21:18 -08:00
Richard Freimer
1f46169e1e
Add FluidStack support to the Forge packet buffer. ( #6353 ) ( #6485 )
2020-02-03 12:46:14 -08:00
Richard Freimer
7bac75f370
Make Minecarts work with modded powered/activator rails. ( #6486 )
...
Re-adds functionality for rails to have different maximum speeds.
2020-02-03 12:45:36 -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
2991e767dd
Remove unintended changes.
2020-02-02 23:05:04 +01: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
Bartosz Skrzypczak
4839d18c73
Fix NullPointerException on java 8u242 in dev environment. ( #6473 )
...
Java 8u242 no longer re-initializes internal sys_paths and usr_paths fields in loadLibrary when they are null, so the value can't be set to null.
2020-01-29 13:55:07 -08:00
Vincent Lee
e539e7ecbb
Fix incorrectly ported patch for restoreBlurMipmap ( #6450 )
2020-01-29 13:13:08 -08:00
Daniël Goossens
1b618fae90
Fix RightClickBlock code differences between client and server implementation ( #6451 )
2020-01-29 13:11:50 -08:00
Yamahari
f12a93fe1e
Defer material getting for ChestTileEntityRenderer into seperate function ( #6465 )
2020-01-29 13:05:12 -08: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
69ae178bf4
Fix incorrect keybinding modifiers patch. Closes #6478
2020-01-29 11:57:10 -08:00
LexManos
d391299340
Fix PlayerChangedDimensionEvent using incorrect from dimension argument in ServerPlayerEntity.teleport. Closes #6457
2020-01-29 11:56:38 -08:00
LexManos
40091678a8
Fix default mod resources loosing it's sort order.
2020-01-29 11:31:31 -08:00
LexManos
2b43aa6301
Fix WakeupEvent patch misalign. Closes #6474
2020-01-29 11:31:02 -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
e6c440a4f7
Fixed parameter name issue in ISTER rename. #6461 ( #6468 )
2020-01-22 13:38:13 -07:00
LexManos
575af22cee
Fix default widget foreground color.
2020-01-22 11:56:05 -08: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
Wyn Price
2d30419a31
Fixed rounding issue with entity navigation fix ( #6455 ) ( #6456 )
2020-01-22 12:24:20 -07:00
Brennan Ward
68ce113c5b
Fixed RenderTypeLookup loosing mappings for registry replacements. ( #6452 )
2020-01-22 12:23:42 -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
tterrag
d5b94aa9c8
Add constructor for FishBucketItem that accepts suppliers
2020-01-09 17:26:11 -05: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
Richard Freimer
ca62702ff9
Add support for custom nether portal frame blocks ( #6389 )
2020-01-07 14:20:37 -08:00
RANKSHANK
0d50b4c39f
InputEvent.RawMouseEvent fix ( #6395 )
2020-01-07 13:19:46 -08:00
DaemonUmbra
c37e44efb6
Fixed Big Mushrooms not generating ( #6390 )
...
Removed vanilla negation from Forge logic that negated the vanilla logic it was replacing
also ran datagen to update the dirt tag to reflect changes that were previously made in the datagen code
2020-01-07 13:15:11 -08:00
tterrag
df04ae11ef
Fix dyes tag containing dye items instead of tags
...
Update generated data
2020-01-05 19:03:49 -05:00
Choonster TheMage
6e8b976089
[1.15.x] Remove unused parameter from ElementBuilder#rotation ( fixes #6321 ) ( #6407 )
2020-01-05 14:29:45 -05:00
tterrag
bc878ddf19
Refactor BlockStateProvider to encapsulate a BlockModelProvider
...
Make most protected methods of data generators public
2020-01-05 14:27:20 -05:00
tterrag
3096608d4a
Fix crash when building BakedQuadBuilder
...
Add javadocs and move sprite to constructor where possible
2020-01-05 13:36:06 -05:00
tterrag
7c99b756f9
Fix incorrect check for missing texture in DynamicBucketModel
2020-01-04 23:50:17 -05:00
tterrag
90035ab084
Remove custom vertex format from BakedQuad
2020-01-04 23:36:56 -05:00
David Quintana
b6c12f5fff
A few more binary-breaking changes, before it's too late:
...
- Move CompositeModel out of its package.
- Move a few inner classes from the OBJ loader.
- Rename the bucket model and fluid model classes to match the naming convention.
- Remove BiomeEvent.* and WorldTypeEvent.InitBiomeGens as they are not currently implemented and they haven't been in the previous version either.
2020-01-04 17:18:28 +01:00
David Quintana
4b9920bcb3
Cherry-pick ca819e09 from the 1.14.x branch. Removes a patch from NativeImage which was invalid.
2020-01-04 17:18:27 +01:00
LexManos
1e053298be
Fix the particle renderer not setting GL state between each type. MC-168672
2020-01-02 19:02:42 -08:00
David Quintana
ca031ca33f
Fix CompositeModel not respecting "display" transforms.
...
Remove leftovers from discarded feature.
2020-01-02 06:21:43 +01:00
David Quintana
ecb56054bc
Allow model jsons to override the material library used by OBJ models.
...
Fix model loader test mod resources.
Update licenses.
2020-01-01 17:15:49 +01:00
tterrag
53747b0cb5
Apply baked-in lightmap data to rendering
...
- Fix ForgeHooksClient.fillNormal injecting data to lightmap
- Fix OBJModel not filling lightmap data
- Fix NewModelLoaderTest blockitem not linking with block
2019-12-30 16:12:14 -05:00
David Quintana
e1b0a8c153
Fix LightUtil.unpack to set the 4th component to 1 when expanding an xyz position into a 4-component vector.
...
Add TRSRTransformer test mod.
Fix signature of the bindTileEntityRenderer method, to account for covariance.
2019-12-29 17:16:27 +01:00
David Quintana
fc189c9aaf
More model/rendering fixes:
...
- Breaking change: Change ClientRegistry.bindTileEntityRenderer to a factory, so mods don't have to manually specify the dispatcher.
- Breaking change: Delete obsolete SimpleModelState (the class was duplicated by mistake, see SimpleModelTransform) and ICustomModelState (part of the old loader API).
- Breaking change: Rename getTextureDependencies to getTextures, for consistency.
- Reinstate the getRenderLayer method, fixed appropriately to return the new RenderType value.
- Fix OBJ loader applying the model transform in the wrong reference frame.
- Fix vanilla bug in TransformationMatrix#func_227986_a_
- Fix QuadTransformer logic.
- Added new method to IModelConfiguration to retrieve the owner IUnbakedModel, needed in order to construct ItemOverrideLists when baking custom models.
- Reintroduce multi-layer model through the new model loader system.
2019-12-29 02:13:58 +01:00
David Quintana
e8ce61d4cd
New batch of Model/rendering fixes:
...
- PerspectiveMapWrapper did not pass IModelData through to the wrapped model.
- CompositeModel did not store the returned textures from getTextureDependencies.
- VertexFormat used COLOR instead of UV to detect UV presence.
- QuadTransformer would crash due to index out of bounds.
- Small cleanup of TransformationHelper
2019-12-24 13:12:38 +01:00
David Quintana
ac61018806
Fix obj models having all faces in the same mesh, breaking material assignments and visibility in the process.
...
Reintroduce lost patch from the model loader, which would cause the custom values to be missing from generated models.
2019-12-20 18:14:09 +01:00
tterrag
18e97a487d
Fix diffuse lighting being baked into models, fixes dark items
2019-12-19 23:13:28 -05:00
David Quintana
c3b1f47754
Fix item quads not using the existing vertex color when applying tint colors.
2019-12-20 04:50:40 +01:00
David Quintana
503d277033
Fix bucket model. Some mask textures were not added to the repository, and the bucket override generation was broken.
...
Fix OBJ loading crash due to a float value being parsed as int.
Fixes 6377
2019-12-20 02:44:27 +01:00
bl4ckscor3
40de19f16e
Fix game crashing when modded entities are present ( #6364 )
2019-12-19 00:56:01 -05:00
ichttt
83ebdcd8f2
Fix warning screen about missing minecraft registry entries ( #6363 )
2019-12-18 21:02:20 -08:00
Richard Freimer
47a1f7529a
Fix capabilities becoming inaccessible on returning from end ( #6368 )
2019-12-18 20:40:36 -08:00
ichttt
747cb0f151
Some code cleanup for 1.15 ( #6362 )
2019-12-18 20:39:41 -08:00
tterrag
30b530836a
Fix MainMenuScreen patch
2019-12-17 21:10:49 -05:00
tterrag
49596dcacc
Mod list GUI detail pass
...
- Make padding consistent on all elements
- Properly horizontally center the "Search" text
- Update and resize forge/mcp logos
- Enable linear filtering on logo rendering by default
- Can be disabled with the "logoBlur" mods.toml property
2019-12-17 20:58:26 -05:00
ichttt
5df687dddc
Fix mod list screen ( #6367 )
2019-12-17 20:03:11 -05:00
David Quintana
599a754b60
Fix items in ground being too small, we were applying perspectives twice.
...
Restore forge patch and fix a tiny mistake in it.
2019-12-18 00:46:29 +01:00
Tobias Hotz
eaac0c17a4
Fix keybinds not loading/saving correctly
2019-12-17 18:30:51 -05:00
tterrag
faaebe7a07
Remove uvlock hook, fixes broken stair/fence/etc models
2019-12-17 17:37:39 -05:00
tterrag
6256ba336e
Update fallback spec version
2019-12-17 17:15:09 -05:00
tterrag
5987d917b8
Update to 1.15.1
2019-12-17 14:37:34 -05:00
David Quintana
738abbb360
Finish converting the code from javax.vecmath to the vanilla vector classes. Forge is now vecmath-free!
2019-12-17 19:14:52 +01:00
tterrag
1558362583
Remove deprecations
2019-12-17 04:50:13 -05:00
tterrag
5b67354e24
Fix incorrect item lighting
2019-12-16 23:46:45 -05:00
tterrag
dec91dec68
Revert fluid change to use Material, fixes server crash
2019-12-16 23:22:13 -05:00
1933d05e36
Update to 1.15
...
Due to the massive rendering changes, certain features, such as emissive item rendering and the forge block rendering/lighting pipeline are currently disabled.
Co-authored-by: David Quintana <[email protected] >
Co-authored-by: tterrag <[email protected] >
Co-authored-by: Unnoen <[email protected] >
2019-12-17 03:38:12 +01:00
King Lemming
9e5ecaaf75
Added a couple of raytraceresult.getType() != MISS checks in places where they were absent. This corrects a couple of vanilla oversights and also greatly reduces Forge bus event spam for arrows and llama spit. ( #6355 )
...
Signed-off-by: King Lemming <[email protected] >
2019-12-15 14:39:41 -08:00
Luke Tonon
3701ec06d0
Restored canRiderInteract boolean in IForgeEntity ( #6347 )
2019-12-10 11:56:07 -08:00
Daniël Goossens
5d0fb2967c
Split DrawBlockHighlightEvent into subevents to make usage clearer, addresses #2190 ( #6269 )
2019-12-10 11:46:01 -08:00
tterrag
5c88451f6f
Allow classpath locator to discover jars via FMLModType attribute
2019-12-05 22:56:05 -05:00
cpw
cfc53c939e
Tidy up some output and also add libraries from the modfile detection into the transforming classloader.
...
Signed-off-by: cpw <[email protected] >
2019-12-05 22:47:39 -05:00
tterrag
3ba78225c3
Fix swapped yaw/pitch in camera setup event
2019-12-02 19:10:59 -05:00
liach
d8e6181058
Restore camera setup render event ( #6335 )
2019-12-02 14:54:46 -08:00
DaemonUmbra
bb4e78da90
Fixed invocation of Vanilla spawn logic ( #6334 )
...
Forge's replacement of the Vanilla logic gets inverted, so the Vanilla logic inside that replacement must be inverted to correct for this.
(Fixes #6332 )
2019-12-02 14:54:00 -08:00
bl4ckscor3
4dd32d6f72
Add item tag 'beacon_payment' for items that can activate a beacon ( #6328 )
2019-12-02 14:52:45 -08:00
Luke Tonon
68b0075fe6
Added FENCES_WOODEN and FENCE_GATES_WOODEN tags as fuels in AbstractFurnaceTileEntity ( #6327 )
2019-12-02 14:36:30 -08:00
Paul Becker
f9686cf098
New SleepFinishedTimeEvent allowing control of world time when waking up. ( #6043 )
2019-12-02 14:08:14 -08:00
tterrag
ca28877fd5
Fix EntityLootTables not calling addTables
2019-11-25 01:49:24 -05:00
tterrag
c18d26c7d8
Make EntityLootTables reusable for modders
2019-11-25 01:03:24 -05:00
nikita488
241db39cea
Fix emissive items not working
2019-11-24 19:08:46 -05:00
cpw
31da9a4878
Fix the hang on startup problem when windows' broken device enumeration
...
causes a huge glfwInit slowdown. Log a message too when this is detected.
See https://github.com/glfw/glfw/issues/1284 , https://stackoverflow.com/questions/10967795/directinput8-enumdevices-sometimes-painfully-slow ,
https://discourse.libsdl.org/t/win-10-initing-joystick-causes-45s-hang-in-sdl-dinput-joystickdetect/23293
Signed-off-by: cpw <[email protected] >
2019-11-23 15:37:56 -05:00
Richard Freimer
0e65f20f22
Add hooks to make it easier to add custom TNT blocks ( #6290 )
2019-11-20 19:19:34 -08:00
DaemonUmbra
d8d70e8b35
Add tags supports_beacon and supports_conduit and modify Beacon and Conduit to use these tags ( #6266 )
2019-11-20 19:15:13 -08:00
bl4ckscor3
5d62261082
Fix RawMouseEvent not being cancelable ( #6310 )
2019-11-12 15:12:25 -08:00
Richard Freimer
a72b774acf
Fix DyeColor referencing incorrect Tag path. Fixes #6301 ( #6303 )
2019-11-12 15:11:43 -08:00
DaemonUmbra
b1042f2c3c
Modify StonecutterContainer to allow shift-click insertion of any block with a valid recipe rather than limiting to blocks in an Immutable List ( #6268 )
2019-11-12 15:10:52 -08:00
tterrag
124c78b926
Fix #6305 lighting optimization using the wrong method
2019-11-07 16:56:54 -05:00
tterrag
7332bf91d5
Add support for modded warm ocean biomes in bonemeal code
2019-11-07 10:39:33 -05:00
tterrag
33307fb1bd
Optimize SectionLightStorage#cancelSectionUpdates loop
2019-11-05 14:55:43 -05:00
Daniël Goossens
1ef8b75cbb
Add LeftClickEvent trigger to onPlayerDamageBlock ( #6046 )
2019-11-05 11:12:02 -08:00
DaemonUmbra
f4a85e5f03
Fixed an NPE caused by missing registries. ( #6292 )
...
Missing registries in this case being registries renamed without proper remapping or created by mods that were removed.
2019-11-05 11:10:32 -08:00
DaemonUmbra
7f8b30aed3
Made the slash optional in fml confirm/cancel. ( #6282 )
2019-11-05 11:10:19 -08:00
LexManos
b8ea220925
Fix registry snapshots not reading aliases correctly. Closes #6298
2019-11-05 11:10:03 -08:00
cpw
1e1644f6d4
A few tweaks to things. Make the mods command a bit better, make the
...
IndexedMessageCodec actually log which network channel it got back packets
on. Also, improve the custom directorymodlocator with actual custom names,
finally, allow up to 99 log rollovers, up from 7 default (this means a
repeatedly crashing server is less likely to roll out the log of the first
crash).
Signed-off-by: cpw <[email protected] >
2019-11-03 12:33:07 -05:00
tterrag
fab4ce894a
Fix BlockStateProvider#horizontalBlock emitting rotations >=360
2019-11-01 17:10:06 -04:00
Camilo
f2f7ab80f6
Added some more biome types to BiomeDictionary ( #6250 )
2019-11-01 11:26:08 -07:00
DaemonUmbra
c044f3b0c4
Replaced getTypes invocation in ensureHasTypes with a direct reference to types, preventing infinite recursion ( #6284 )
...
The direct reference is checked via ternary and reports if the set is empty, this is likely to result in log spam if modders don't assign types to their biomes
2019-11-01 11:24:00 -07:00
tterrag
ebd463e92f
Fix lang generator escaping newlines, add lang generator test
2019-10-30 15:25:03 -04:00
tterrag
69ba974960
Escape control chars and unicode when writing out lang datagen
2019-10-30 15:01:25 -04:00
tterrag
dbee8a24d8
Allow LanguageProvider helpers to accept suppliers of subtypes
2019-10-28 21:23:01 -04:00
tterrag
2373dab982
Expose private helper methods in BlockLootTables to subclasses
2019-10-28 19:28:16 -04:00
Wyn Price
1ebfef5ec9
Fixed vanilla bug in entity navigation to stop entities spinning (MC-94054) ( #6091 )
2019-10-28 14:13:14 -07:00
Paul Becker
ff7a2fe4d6
Reimplement usage of Item#doesSneakBypassUse() ( #6114 )
2019-10-28 13:24:15 -07:00
cpw
862289cf56
Handle logging during shutdown better on the server, by not
...
closing the logfile before the server itself has shutdown.
Signed-off-by: cpw <[email protected] >
2019-10-26 16:55:15 -04:00
cpw
e3068d7db2
Fix NPE in modlauncher when there is no mods dir yet.
...
Signed-off-by: cpw <[email protected] >
2019-10-25 07:27:55 -04:00
DaemonUmbra
29ad7a39de
Fixed NPEs caused by uninitialized lists in ModDirTransformerDiscoverer ( #6277 )
2019-10-24 23:06:27 -07:00
LexManos
3484200f80
Make Loot Table data generators more reusable for modders.
2019-10-24 22:09:08 -07:00
tterrag
acaa470dea
Add Blockstate and Model data providers ( #6241 )
2019-10-24 22:33:24 -04:00
cpw
3bf6c17bb8
Allow pack locators to load from the mods folder.
...
Regular mods are now automatically de-duped based on the version number -
the highest version file of a "root mod id" is now selected automatically.
Signed-off-by: cpw <[email protected] >
2019-10-23 21:30:17 -04:00
AfterRebelion
ca8a418364
Exclude Cobblestone slabs and wall recipes ( #6230 )
2019-10-22 15:31:35 -07:00
Wyn Price
6422310453
Fixed forge rendering pipeline and shape based light occulsion. ( #6178 )
2019-10-22 15:29:27 -07:00
Wyn Price
ebf489be8c
Fix shouldCauseReequipAnimation not affecting anything ( #6256 )
2019-10-22 15:08:06 -04:00
cpw
c8967fa176
Expose the registrationchange event to simple channel (not that anyone should care, but who knows?)
...
Also, Context.getNetworkManager should have been public. Derp.
Signed-off-by: cpw <[email protected] >
2019-10-18 09:32:44 -04:00
cpw
51d08ad8ab
Fix clientside chunk load event spam. Was an offset patch.. Also fire unload on the client side too.
...
Signed-off-by: cpw <[email protected] >
2019-10-18 00:03:09 -04:00
cpw
dc664ba597
Add in an event to expose the standard MC channel stuff to network
...
event channels that care about such things. Mods using simplechannel
don't need to care.
Also, put a sync wrapper around crashreportextender, so it doesn't
die sometimes randomly during startup.
Signed-off-by: cpw <[email protected] >
2019-10-17 20:28:39 -04:00
Daniël Goossens
8e74ba8c24
Fix #6244 RightClickBlock#getUseBlock and #getUseItem being ignored ( #6246 )
2019-10-17 19:13:16 -04:00
David Quintana
ec3e8c2039
Fix vanilla models with parents not loading properly from forge blockstates.
2019-10-16 23:11:23 +02:00
ichttt
6cbd418703
Include a profile icon for the launcher json ( #6222 )
2019-10-15 15:00:03 -07:00
ichttt
6c8342b74e
Fixed loading error/warning screen not showing ( #6218 )
2019-10-15 14:59:41 -07:00
James Mitchell
c345dfb0c6
Fixed MC-162953 bounds checks in NativeImage ( #6216 )
2019-10-15 14:58:16 -07:00
JoJoModding
8adc546d92
Allow mods actually to have their own usable config gui ( #6208 )
2019-10-15 14:56:27 -07:00
iChun
25a9e477cb
Fix error logging in FMLUserdevLaunchProvider.setup ( #6206 )
2019-10-15 14:55:45 -07:00
bl4ckscor3
886de4ee43
Fix shear sound not playing ( #6202 )
2019-10-15 14:55:26 -07:00
ichttt
c98abaaa42
Fix some config checks still using the old fields ( #6193 )
2019-10-15 14:54:47 -07:00
Philipp
a8bd5e7ece
Add onCropsGrow event to KelpTopBlock ( #6171 )
2019-10-15 14:33:07 -07:00
Justin
a328364999
Fix mod info panel rendering incorrectly on some systems with HiDPI displays (pesky macs) ( #6170 )
2019-10-15 14:31:41 -07:00
FireController1847
94cbf72e39
Re-add PlayerGiveXpEvent & PlayerChangeLevelEvent ( #6165 )
2019-10-14 10:37:44 -07:00
Max Becker
8248eb6ea1
Skip background for hidden effect instances ( #6197 )
2019-10-14 10:33:45 -07:00
cpw
408104dbaf
Bump modlauncher version to 4.1
...
Signed-off-by: cpw <[email protected] >
2019-10-13 14:21:24 -04:00
Wyn Price
5978670897
Fixed IModelData not being cleared when tile entity is removed ( #6115 )
2019-10-10 23:07:52 -04:00
Vincent Lee
01d14004a9
Allow modded IParticleRenderTypes to be rendered ( #6221 )
2019-10-10 23:05:16 -04:00
tterrag
940bbc4e91
Better sanity checks in ModelDataManager
2019-10-10 16:02:36 -04:00
Vincent Lee
7070bd0340
Make customClientFactory optional again ( #6191 )
2019-10-10 11:23:27 -07:00
David Quintana
5e9380ab85
Fix forge blockstates and custom model loading ( #6154 )
...
* Reimplement forge blockstates variant through the use of a pseudo-model that handles the model loading, retexturing, custom data, etc. on behalf of the blockstates loader. This model gets injected into the model registry with an autogenerated unique name, to not collide with other model locations.
* Fix model loaders not being properly initialized by calling the reload method from the loader register function. In 1.12, registering a reload listener caused the listener to be called right away from the register method. This is not true anymore.
2019-10-08 00:18:29 +02:00
cpw
9c759294c6
Add a super early GUI for showing pre-game launch messages from FML. NOTE: this cannot show on MAC because MAC can't handle
...
off-thread GUIs in any way shape or form, and we need the main thread to do real work.
Fix forge fading in wrongly.
Signed-off-by: cpw <[email protected] >
2019-10-05 17:03:02 -04:00
David Quintana
b294f4d894
New round of fluid system fixes: ( #6175 )
...
- Fix race condition lazy-initializing flowing fluid block data.
- Fix typo in ItemTextureQuadConverter that prevents certain animated textures from being used in the fluid bucket.
- Fix calls to onContentsChanged in FluidTank.
- Fix FluidUtil.tryEmptyContainer logic when simulating.
- Fix EmptyFluidHandler.fill returning the wrong number.
2019-10-05 19:49:26 +02:00
tterrag
ca980a56bc
Combine all hidden mod resource packs into a single sortable pack
...
Fix mod datapacks sorting under vanilla
2019-10-04 18:36:33 -04:00
cpw
8482293b40
Split server and client side pack locators apart and move them to their
...
respective behavioural components. This should facilitate fixing the
server pack data pack ordering, as well as other new features of mod
resource packs.
Signed-off-by: cpw <[email protected] >
2019-10-04 15:24:15 -04:00
LexManos
dc5a06aab4
Fix dimension types being incorrect when connecting to a non-Forge server. Closes #6203
2019-10-04 10:36:50 -07:00
cpw
35bd69808c
Fix the stupid derp that broke singleplayer dims. Don't send the dim packet
...
to the local client - it is not needed because obviously not. Seems to have
fixed the problem. Probably infinity new bugs by this.
Signed-off-by: cpw <[email protected] >
2019-10-04 07:27:11 -04:00
tterrag
4f12261080
Move OnlyIn patches on DyeColor to SAS file
...
Also fix broken cobblestone stairs recipe
2019-10-04 02:26:54 -04:00
tterrag
fbdfc0f95c
Expose DyeColor#colorValue, remove OnlyIn from all DyeColor methods
2019-10-04 01:40:28 -04:00
cpw
48735c3946
Properly propagate the DimensionType information from server to client
...
at client connection time. This means the client now knows about the
dimensiontype properly and can access the ModDimension information on
the client.
Signed-off-by: cpw <[email protected] >
2019-10-02 21:54:02 -04:00
Ruben Taelman
c985225d0c
Fix FluidTank with empty contents throwing error if drained ( #6196 )
2019-10-01 19:57:05 -07:00
Matthew Messinger
48ff897ed1
Move opening initial screen to after startup and events are enabled ( #6139 )
...
This allows events to be fired for the initial opening of the main menu
Also fixes MC-145102
2019-10-01 19:56:03 -07:00
Wyn Price
9db568d49d
Changed all calls of BlockState#getSoundType to use the sensitive version. ( #6120 )
2019-10-01 19:54:23 -07:00
Draco18s
896e785994
Patch Sweet Berry Bush to have Crop Growth Event Hook ( #6094 )
2019-10-01 19:52:24 -07:00
tterrag
78cdb705d4
Allow structure processors to process entities
2019-09-28 18:18:24 -04:00
cpw
136452840d
Remove forced ANSI terminal - it breaks the Eclipse terminal output.
...
As a result, we can now support coloured log output again, by default.
Regen run configs to get the change (you should do this every update, you
know :D)
Signed-off-by: cpw <[email protected] >
2019-09-28 16:05:50 -04:00
tterrag
b3631b707c
Make patched-in StairsBlock constructor public
...
Also fix supplier generic being too narrow in DeferredRegister#register
2019-09-27 17:56:30 -04:00
cpw
f4bab8b8c1
Integrate modlauncher changes for mixin.
...
Signed-off-by: cpw <[email protected] >
2019-09-27 17:42:24 -04:00
tterrag
2392a4c184
Fix new flower pot ctor not being usable with deferred register
2019-09-25 18:01:43 -04:00
tterrag
476b7056fb
Usability improvements to RegistryObject/DeferredRegister
2019-09-25 18:01:39 -04:00
tterrag
d510978446
Add constructor to StairsBlock that accepts a state supplier
2019-09-24 21:05:23 -04:00
LexManos
583ff81dba
Fix server jar manifest path.
2019-09-23 18:42:54 -07:00
tterrag
01a862db30
Fix sea level not being available on client, move hook to Dimension
2019-09-23 13:08:26 -04:00
tterrag
dfbd61436b
Add template arg to StructureProcessor#process
2019-09-22 23:35:12 -04:00
LexManos
f03745ce45
Fix timezone issue with the installer.
2019-09-23 02:46:43 +00:00
LexManos
48cf910626
Bump binpatcher and jarsplitter versions to address Java differences on older JDKs.
2019-09-22 17:30:29 -07:00
tterrag
0492b25335
Allow modded dimensions to customise World#getSeaLevel
2019-09-22 16:47:56 -04:00
tterrag
6d9cb0a646
Fix jigsaw blocks not mirroring properly
2019-09-22 16:47:44 -04:00
tterrag
571ecafdbc
Fix type bound on GameRegistry.findRegistry being too narrow
2019-09-21 16:19:23 -04:00
tterrag
dee844e232
Add IExtensibleEnum#init, extend FillerBlockType/PlacementBehaviour
2019-09-21 15:57:32 -04:00
cpw
07bcff5067
Tag the deprecation of DeferredWorkQueue. I think this is causing confusion
...
as to scope. Its functionality will be tied to the events in future -
so mods can request the deferred work through methods on the Mod Lifecycle
events directly. The API will be coming soon.
Signed-off-by: cpw <[email protected] >
2019-09-17 21:41:08 -04:00
cpw
7fa3594c04
Fixed the problem where an error would cause the main thread to continue
...
even though there were still parallel threads running. Also, handle exceptions
in the AutomaticEventSubscriber rather than leaking them to the Parallel processor.
Actually closes #6148
Signed-off-by: cpw <[email protected] >
2019-09-17 21:41:08 -04:00
tterrag
6fda1e968d
Make FlowerPotBlock extensible and reusable for mods
...
- Change static lookup map to an instance variable
- Add an instance variable for the "empty pot" for the current block
- Keep one instance of the lookup map between the empty pot and all its full versions
- Convert everything to use delegates
2019-09-17 19:57:58 -04:00
Brennan Ward
af8074cc39
Post tag event directly from reloader thread ( #6164 )
2019-09-17 14:39:36 -07:00
cpw
71a4828809
Some tweaks around the code base. A functional consumer for networking - return a bool from your consumer function, rather than setPacketHandled.
...
Tweak the server modloading behaviour to try and be a bit clearer that a mod errored.
Signed-off-by: cpw <[email protected] >
2019-09-16 20:14:25 -04:00
Brennan Ward
79ce18ac3e
Update furnace fuels to not recreate it's list every query, and update when tags are reloaded. Add Tag update events. ( #6140 )
2019-09-16 14:04:32 -07:00
Nightenom
bb83e11a7c
Maintain default behavior for Item#canPlayerBreakBlockWhileHolding() ( #6128 )
2019-09-16 13:36:43 -07:00
Unnoen
0f888dde49
Update README badges to fix wrong version. ( #6141 )
2019-09-16 13:21:17 -07:00
MrCrayfish
f4215d121c
Reimplemented "MouseEvent" as RawMouseEvent for 1.14.X ( #6144 )
2019-09-16 13:03:10 -07:00
Take Weiland
60eecb98a6
Fix patch for vanilla spawning in WorldEntitySpawner ( #6130 )
2019-09-12 11:10:51 -07:00
LexManos
3cc76a3f60
Fix Entity.getPersistentData function name. Closes #6131
...
Bump spec version for first 1.14.4 RB.
2019-09-12 09:12:30 -07:00
Justin
ffdeeb95b7
Fix ParticleFactoryRegisterEvent not firing ( #6126 )
2019-09-12 09:01:43 -07:00
David Quintana
58335d7bc0
Minor fixes to the fluids ( #6150 )
...
* Fixed vanilla rendering of fluids to take into account the alpha bits of the color, and fix usages accordingly.
* Fixed missing texture derp.
2019-09-12 17:33:19 +02:00
David Quintana
b0c9d7cce9
Some (sadly breaking) improvements to the Fluid API ( #6110 )
...
* Some (sadly breaking) improvements to the API, after feedback and concerns provided by users:
- Moved calculation of the translation key to the FluidAttributes constructor, so that builders can be shared between still & flowing sub-fluids.
- Moved biome-based coloring to a dedicated FluidAttributes.Water variant, which is not used by default.
- Added logic to automatically gather fluid textures into the list of textures to bake.
- Patched BucketItem and FlowingFluidBlock to avoid eager access to the fluid objects.
- Added a ForgeFlowingFluid class, as a more user-friendly way to construct a new FlowingFluid.
2019-09-11 16:00:32 +02:00
LexManos
281ef5a152
Add new DeferredRegistry helper, and change RegistryObject to update when overrides are registered.
2019-09-10 16:02:07 -07:00
LexManos
9183c2fa0d
Delay Block loot table name generation until needed, as calling early will result in an empty name as the block is not registered yet.
2019-09-10 16:00:57 -07:00
LexManos
389751beae
Fix slimes splitting more times then they should. Closes #6138
2019-09-09 15:30:11 -07:00
tterrag
2b4e3bcf54
Fix a couple places not calling forge getLightValue
2019-09-08 23:32:27 -04:00
tterrag
3dce85c49f
Properly fix missing attribute issue, add vanilla bug ID
2019-09-08 02:23:16 -04:00
tterrag
185ce79a68
Fix vanilla typo causing errors when client is missing entity attributes
2019-09-08 02:05:01 -04:00
tterrag
f777aba227
Remove StructureArgument to work around vanilla issue, clean up custom arguments
2019-09-08 02:01:17 -04:00
tterrag
5efa373d7f
Fix SCommandListPacket underflowing buffer when encountering a missing argument type
2019-09-08 01:33:21 -04:00
cpw
b6cd19b4ae
Fix problem with network connections timing out frequently. Turns out
...
there's a race condition - and the extra work forge does causes it to
happen much more frequently than vanilla (though I'm sure it's a vanilla
issue). Closes #6124 , #5767 and probably lots more.
Signed-off-by: cpw <[email protected] >
2019-09-07 18:42:50 -04:00
tterrag
fc5573333d
Make /locate command support modded structures
2019-09-07 01:09:42 -04:00
tterrag
55fe7c470f
Make STRUCTURE_FEATURE registry a slave map of the FEATURE registry
...
Also convert Feature.STRUCTURES to a slave map
2019-09-06 23:42:19 -04:00
LexManos
3ef1d6919c
Fix REGISTER packet encode/decode issues.
...
Changed ForgeConfig values to return the default value if the config is not loaded, and exposed the value objects as a internal config.
2019-09-05 15:38:14 -07:00
LexManos
e1863383ff
Fix naming conflicts with official names.
2019-09-04 22:33:17 -07:00
LexManos
4dc34b7d5b
Fix item used stat not triggering properly on last item in the stack.
2019-09-03 19:58:57 -07:00
LexManos
2c8c022034
Add a bunch of tags from the omnibus.
...
Fix test imports. And update patches for line numbers.
2019-09-03 18:51:09 -07:00
bl4ckscor3
b5b43a5a36
Add spawn reason to spawn events ( #6096 )
2019-09-03 15:15:48 -07:00
Wire Segal
c09fe57031
Add collisionExtendsVertically hook to allow modded blocks that extend collision into the block above similar to fences. ( #6092 )
2019-09-03 14:50:27 -07:00
Daniël Goossens
68524ddde9
Fixed PlayerInteractEvent.LeftClickBlock useItem/useBlock ( #6045 )
2019-09-03 14:41:46 -07:00
Daniël Goossens
55bdd4d937
Readded IForgeItem#getHighlightTip hook. ( #6036 )
2019-09-03 14:30:41 -07:00
mcenderdragon
3f089e3add
Added gravity as attribute to Entities ( #5630 )
2019-09-03 13:20:44 -07:00
ichttt
ddb90a69d3
Fix CME on chunk unload in FarmlandTicketManager ( #5998 )
2019-09-03 12:59:35 -07:00
cpw
bdce8d0494
Add a modfolderfactory. Fix up login payload exposure.
...
Signed-off-by: cpw <[email protected] >
2019-09-01 14:40:39 -04:00
cpw
734a3d76aa
Peel IModLocator into the SPI package and extract a small IModFile
...
interface as well. This allows building external IModLocator
implementations.
Signed-off-by: cpw <[email protected] >
2019-09-01 11:31:09 -04:00
cpw
a4aa85259e
Add in some client only player connectivity events. Closes #5536
...
Signed-off-by: cpw <[email protected] >
2019-08-31 13:55:46 -04:00
cpw
ea1c7a7339
Add in MC REGISTER nonsense. Shut up #5730
...
Tweak network a bit to fix initialization order stupidity. (Constants don't
load classes!)
Signed-off-by: cpw <[email protected] >
2019-08-31 13:55:46 -04:00
Tobias Hotz
185f7344fa
move default log level for debug file to debug instead of trace, and remove millis from console and GUI. Also remove unused config xmls
2019-08-31 13:55:46 -04:00
GirafiStudios
26e4bf92a0
Added getters for FMLPlayMessages.SpawnEntity
2019-08-31 13:55:46 -04:00
cpw
68cb017be1
Move indexFor and biConsumer into FMLHandshakeHandler and expose them publicly, so mods can add additional
...
login messages. Closes #6087
Signed-off-by: cpw <[email protected] >
2019-08-31 13:55:45 -04:00
David Quintana
68ff1afac1
Hookup BlockEvent.FluidPlaceBlockEvent ( #6103 )
2019-08-31 14:15:08 +02:00
cpw
0d448a5e4f
Update libs to 1.0 versions, bump grgit, and fix tag search behaviour that resulted.
...
Signed-off-by: cpw <[email protected] >
2019-08-29 23:39:49 -04:00
David Quintana
d9f6659f2c
Fluid rework derp fixes. ( #6098 )
...
* Fix nulls returning from non-null methods, and null-check of non-nullable values.
* Fix missed computation of the isEmpty flag in FluidStack
* Cleanup getAmount/isEmpty calls.
* Remove redundant suppliers. That info is readily available from the vanilla Fluid / FluidState.
2019-08-29 21:09:42 +02:00
Vincent Lee
bae2ee0420
Minor model system cleanup/documentation ( #6089 )
2019-08-28 21:33:49 -07:00
ichttt
799e864d93
Fix Digging particle sometimes using the wrong block pos to get additional model data ( #6077 )
2019-08-28 21:33:15 -07:00
DaemonUmbra
aa38f62bae
Change fml.modloading.brokenfile.optifine to not imply that Forge is responsible for Forge-Optifine compatibility. ( #6080 )
2019-08-28 21:32:33 -07:00
ichttt
06c3e255b3
Add a config comment that lists the available constants of enums ( #6079 )
2019-08-28 21:28:21 -07:00
bl4ckscor3
d5e20b13b9
Restore PotionShiftEvent ( #6042 )
2019-08-28 21:15:55 -07:00
Daniël Goossens
c83d4d29e4
Added new InputEvent.MouseScrollEvent, fixes #5811 ( #6037 )
2019-08-28 21:13:31 -07:00
Brennan Ward
ee1c06085b
Add Villager Trading Events ( #6016 )
2019-08-28 20:34:07 -07:00
BlakeBr0
336d53b692
Strip side annotations from CropsBlock.getSeedsItem ( #6013 )
2019-08-28 20:14:41 -07:00
Wyn Price
95c58ba75c
Updated constants to 1.14 ( #6012 )
2019-08-28 20:13:47 -07:00
valoeghese
56857cf5e7
Added hook to allow biomes to specify custom river variants. ( #5969 )
2019-08-28 20:12:52 -07:00
Vincent Lee
838998b885
Add particle factory registration event ( #6018 )
2019-08-28 18:42:17 -07:00
David Quintana
a9b3b48273
Make FluidStacks non-nullable, and implement some TODOs.
2019-08-29 03:18:42 +02:00
David Quintana
a788e8a475
Fix license headers so gradlew build is happy.
2019-08-29 03:18:42 +02:00
David Quintana
b7e1cc5f6b
Fluid API rework ( #5983 )
...
- Moved forge fluids into FluidAttributes companion object to the vanilla Fluid. By gigaherz
- Redesigned the Fluid API to be closer to the Items API. By King Lemming
Co-authored-by: King Lemming <[email protected] >
2019-08-29 03:18:41 +02:00
LexManos
e784a7f606
Recipe system cleanup. ( #6014 )
2019-08-29 03:18:41 +02:00
Managarmr
3e9bc3c434
Fix regular arrows giving off particles after a world reload (MC-107941) ( #6061 )
2019-08-28 18:12:47 -07:00
ichttt
dd340b8ef2
Fix coremod not redirecting to the correct method ( #6078 )
2019-08-28 17:49:46 -07:00
LexManos
7deb479676
Fix blocks being placed in adventure mode. Closes #6085
...
Add early error for setting invalid world directory. Closes #6084
Fix PlayerTickEvent not firing when dead, even if player isn't removed from world yet. Closes #6074
Fix PlayerDestroyItemEvent not firing for some cases. Closes #6067
2019-08-28 12:57:25 -07:00
LexManos
1ab40e0b3f
Fix Javac generics breakage.
2019-08-20 15:40:36 -07:00
LexManos
283c3d1664
Prevent worlds from unloading while players are in out-of-world states by tracking all worlds references by every player in the server's player list.
2019-08-20 15:31:08 -07:00
LexManos
5291ea7270
Add Argument serializer for ModIdArgument. EnumArgument can't as vanilla doesn't support extra data.
2019-08-20 15:29:26 -07:00
LexManos
0c1c1b65e1
Sort server.properties while writing.
2019-08-20 15:27:31 -07:00
LexManos
b0787e9f40
Fix chunk load failure when entering End portal Closes #6068
2019-08-19 19:46:00 -07:00
LexManos
dc0eacb80f
Fix Configs not generating correctly on first load Closes #6069
2019-08-19 19:45:32 -07:00
Vincent Lee
8c04651301
Add hook to load custom mrls/rls not attached to a block or item. ( #6010 )
2019-08-15 11:03:57 -07:00
bl4ckscor3
94621fecd1
Cover more cases for RightClickBlock event and restore onItemUseFirst ( #6009 )
2019-08-15 10:34:59 -07:00
kirderf1
5e392e3300
Make DimensionManager.SavedEntry save sky light consistently ( #6019 )
2019-08-15 10:17:28 -07:00
LexManos
88595dd26b
Fix extract inheritance not using proper classpath and update buildscript for FG asm changes.
2019-08-14 16:13:15 -07:00
cpw
4323c6d845
Grrr. Stupid error. Sorry lex: I fixed it.
...
Signed-off-by: cpw <[email protected] >
2019-08-05 08:56:42 -04:00
cpw
81ec8b99ac
Actually reload config when it changes on disk. Closes #5541 and #5959
...
Signed-off-by: cpw <[email protected] >
2019-08-04 22:37:43 -04:00
cpw
1af7b7603d
Move fml's PlayerEvent and TickEvent to forge. Update
...
`import net.minecraftforge.fml.common.gameevent.PlayerEvent;`
to
`import net.minecraftforge.event.entity.player.PlayerEvent;`
and
`import net.minecraftforge.fml.common.gameevent.TickEvent;`
to
`import net.minecraftforge.event.TickEvent;`
Signed-off-by: cpw <[email protected] >
2019-08-04 22:34:14 -04:00
cpw
0fd8fa2211
Bump modlauncher to 3.2.x. Add a sender modid and document IMC. Closes #5746
...
Signed-off-by: cpw <[email protected] >
2019-08-04 22:19:02 -04:00
cpw
5048739b7f
Turned minecraft into a proper Mod, with a "dummy" language provider.
...
Also fixed the "translations" not being available early if an exception occurs
by force loading the forge and MC ones. Closes #5984
Signed-off-by: cpw <[email protected] >
2019-08-04 20:16:01 -04:00
DaemonUmbra
44f3f9e2d0
Fix a crash I caused by misunderstanding formatToString ( #6007 )
2019-08-02 18:48:46 -07:00
LexManos
ed1c55508f
Fix userdev setup by moving SAS concept to FG.
2019-08-02 18:03:27 -07:00
its_meow
50e411b82a
Add piston events ( #5798 )
2019-08-02 14:12:21 -07:00
its_meow
a8a0306f98
Fix AT for EntitySpawnPlacementRegistry.register
2019-08-02 14:06:05 -07:00
desht
19b7d26bc2
Make ParticleManager.IParticleMetaFactory public ( #5926 )
2019-08-02 14:05:32 -07:00
JoJoModding
c7940e70ed
Add button to open mods folder ( #5986 )
2019-08-02 14:00:54 -07:00
DaemonUmbra
58ede2c80a
Change ModLoadingException to display ModID instead of ModInfo instance identifier. ( #5999 )
2019-08-02 13:44:56 -07:00
henkelmax
e83e00520f
Fixed PlayerInteractEvents not working ( #5976 )
2019-08-02 13:44:17 -07:00
Gamebuster
9a50c208f0
Fixed Buttons in the error screen are incorrectly rendered if they are extremely long Closes #5687 ( #5924 )
2019-08-02 13:42:58 -07:00
Gamebuster
7acb380ba8
Fix LazyOptional throwing NPE to consumers when owners null. ( #5772 )
2019-08-02 13:42:13 -07:00
LexManos
48fa2f458c
Make Villager profession unlocalized name use modids when not 'minecraft' Closes #5977
...
Fixed trees able to be generated through water. Closes #6000
Change Block#toString to use getRegistryName instead of getNameForObject Closes #5937
Allow Cooking Recipes to deserialize results with stack sizes. Closes #5960
2019-08-02 13:37:02 -07:00
LexManos
318fc6ffe8
Fixed DimensionType.getRegistryName() returning null Closes #5992
...
Fixed RegisterDimensionEvent not firing for new worlds. Closes #5987
2019-07-31 22:43:46 -07:00
LexManos
b009cedc0c
Introduce new Side Annotation Stripper system to semi-automate the shipment of Sided methods and cleanup patches.
...
New forge:checkSAS task to validate this config file. Closes #5995
2019-07-31 21:15:39 -07:00
ichttt
c6dd475610
Move world unload patch to tick function to prevent duplicate unloading, fix log message in dim manager, fix javadoc for unload method ( #5964 )
2019-07-30 16:39:05 -07:00
bl4ckscor3
61285a098a
fix melon and pumpkin seeds being peaceable on more than just farmland ( #5980 )
2019-07-30 16:35:23 -07:00
Paul Becker
995a8b8d35
Fixed possible ClassCastException with dye-able armor. ( #5985 )
2019-07-30 16:30:12 -07:00
cpw
5d33697cb1
Fix naming for dev launch providers - they're in MCP..
...
Signed-off-by: cpw <[email protected] >
2019-07-29 20:19:50 -04:00
cpw
ae09fc6b6d
Register a config command. Currently one subcommand: showfile, which
...
when passed a modid and a type (CLIENT, COMMON or SERVER) will display
a link in the caller's chat to open that file in the OS file viewer of choice.
Signed-off-by: cpw <[email protected] >
2019-07-28 21:09:15 -04:00
cpw
cd826f7bcf
Load default configs from the defaultconfig directory by default. (Can
...
be overridden in the fml.toml config file if desired).
Will load any type of config tracked file from there - client, common, server
or custom tracked file. This means you can ship defaults for your pack
in a defaultconfig directory. I am thinking about ways to force a specific
config override for an existing config.
Signed-off-by: cpw <[email protected] >
2019-07-28 13:44:18 -04:00
cpw
283ece29e8
Fix vanilla bug that hardcore death doesn't clean up properly, leaving
...
a running server and a broken GUI. Vanilla bug MC-148865
Signed-off-by: cpw <[email protected] >
2019-07-27 12:47:59 -04:00
LexManos
1918148b8e
Fixed network ticking player entity while it is dead. And explicitly prevent overworld from unloading. Closes #5978
2019-07-27 02:35:06 -07:00
cpw
e17714583f
Crash report extended to show ModLauncher FML and Forge data.
...
Signed-off-by: cpw <[email protected] >
2019-07-26 20:02:21 -04:00
cpw
4c05c63a04
Fix potion transformer to look up the right name depending on context.
...
Signed-off-by: cpw <[email protected] >
2019-07-26 00:35:03 -04:00
cpw
0bdc2d04b4
Added a coremod, shush, don't tell Lex.
...
Seriously, this is how to do targeted changes to specific classes.
In this case, adding a fieldtomethod redirect for EffectInstance.potion
to allow substitution.
Signed-off-by: cpw <[email protected] >
2019-07-25 23:02:05 -04:00
LexManos
57d4d60a33
Fix Slimes not splitting on death Closes #5973
2019-07-25 17:59:57 -07:00
LexManos
731e1920d2
Fix @ObjectHolderRegistry not properly detecting vanilla class level references. Closes #5958
2019-07-25 17:59:08 -07:00
LexManos
7411b444d3
Fixed missed patch causing blocks to not dropping EXP and BreakEvent to not fire.
2019-07-24 11:15:23 -07:00
David Quintana
ae3d002ac6
Fix & Improve state comparison when checking vanilla block replacements ( #5922 )
2019-07-22 19:23:20 -07:00
LexManos
1bd70ac5ab
Keep player cap data until they have revived. Closes #5956
2019-07-22 15:45:38 -07:00
cpw
c90b1732e9
Fix objloader registering at wrong time. Closes #5847 . Added test
...
class as suggested in the issue.
Note: most tests are commented out at the present time, pending
rework. Tests that work, work.
Signed-off-by: cpw <[email protected] >
2019-07-20 21:04:00 -04:00
cpw
fcd9582133
Fix datafixer exception catch: Closes #5951
...
Signed-off-by: cpw <[email protected] >
2019-07-20 19:59:08 -04:00
cpw
9d82d822db
Fix error when ModsDiscoverer visits a non existent mods dir.
...
Closes cpw/modlauncher#30
Signed-off-by: cpw <[email protected] >
2019-07-20 19:37:54 -04:00
cpw
186d91c03f
Merge branch 'pull/5948' into 1.14.x
2019-07-20 19:35:26 -04:00
cpw
eec5809097
Realms' removal has removed the need for additional jar transformation.
...
Signed-off-by: cpw <[email protected] >
2019-07-20 19:33:54 -04:00
cpw
4582a29ec1
Make I18N format errors less spammy, also remove single apostrophes from
...
current translations in en_us.json. Other langs may still have problems.
Closes #5952
Signed-off-by: cpw <[email protected] >
2019-07-20 19:14:17 -04:00
JoJoModding
2f83234ccb
Fix spam during startup ( #5957 )
2019-07-20 14:55:21 -07:00
ichttt
bef52c945b
Fix forge 1.14.4 startup in obfed enviroment ( #5955 )
2019-07-20 12:59:23 -07:00
Thomas Aunvik
1de4ad735b
Updated Example Version Range for 1.14.4 ( #5950 )
...
* Updated Example Version Range for 1.14.4
* Also changed loader version and version range
2019-07-20 12:06:06 -04:00
LexManos
00fc29d40d
Fix javac compile issues.
2019-07-19 23:27:31 -07:00
cpw
27afdc8a27
Provisional update to 1.14.4. Missing a lot of playerinteractionmanager patches because everything moved and I'm tired.
...
Fix up immediate problems.
bump to 28.
2019-07-20 00:35:40 -04:00
cpw
eff42f6066
Update mappings to 20190719 in prep for 1.14.4..
...
Signed-off-by: cpw <[email protected] >
2019-07-19 11:55:30 -04:00
Barteks2x
b99453d568
Fix RegistryObject when used with generic registry entry classes
2019-07-19 12:06:16 +02:00
CJ Miller
9f5ce12754
Remove OnlyIn Client Distribution from Effect and EffectType methods. ( #5925 )
2019-07-18 14:15:31 -07:00
LexManos
cb21e95e0b
Change default BrewingRecipe to use an Ingredient for the input instead of ItemStack. Closes #5944
...
Add AT for GameRules.register Closes #5946
Fix Forge Blockstate loader model path is inconsistent with vanilla blockstates Closes #5892
Fix client crashing when opting not to load a world when there's missing blocks Closes #5886
2019-07-18 14:13:20 -07:00
LexManos
e6f032db1b
Fix CheckSpawn event logic for natural spawns.
2019-07-16 22:38:11 -07:00
LexManos
86e9425638
Fixed item breaking particles not capturing current state of the ItemStack. Closes #5934
2019-07-16 16:02:52 -07:00
ewewukek
53ac33a84c
Fix RenderSpecificHandEvent firing with wrong hand stack ( #5927 )
2019-07-16 12:42:33 -07:00
its_meow
5cf2af569f
[1.14.x] Fix text positioning issues caused by scaling loading screen ( #5932 )
2019-07-16 12:41:21 -07:00
LexManos
a46b7cb67a
Fixed PlayerSleepInBedEvent pos is always null Closes #5936
...
Fixed decompile error causing Endless Loop in ModelBackery if model errors exist.
Fixed NPEs related to teleporting players without portals.
2019-07-16 11:52:51 -07:00
LexManos
3d78f30d18
Add simple concurrency protection to Server world list. Closes #5938 and #5739
2019-07-16 09:59:33 -07:00
cpw
ad64d383e1
Update modlauncher to the 3.x series.
...
Signed-off-by: cpw <[email protected] >
2019-07-14 22:48:30 -04:00
tterrag1098
0a7f5ff9fa
Rework GuiModList mod info to use custom scrolling panel impl
2019-07-10 20:13:33 -07:00
LexManos
ce28c5794d
Cleanup Forge's Access Transformer, and add ATs for Block.Properties#noDrop, and AxeItem/PickaxeItem. Closes #5866 and Closes #5921
2019-07-10 17:39:19 -07:00
LexManos
e55c7c889b
Fix race condition in client mouse handler. Closes #5888
2019-07-10 17:35:53 -07:00
LexManos
0633e8218f
Added LootPool.Builder#bonusRolls setter. Closes #5887
2019-07-09 18:21:05 -07:00
LexManos
0fdfe1fd59
Implemented Item.get/setDamage hooks. Closes #5899
2019-07-09 18:03:19 -07:00
LexManos
2cc264645b
Implement Item.isRepairable in Crafting and Grindstone. Closes #5917
2019-07-09 18:02:47 -07:00
LexManos
983e0a93db
Re-implement state.onBlockExploded() Closes #5914
2019-07-09 17:07:09 -07:00
Vincent Lee
d88e4fbf36
Add general damage hook for items. Closes #5502 ( #5670 )
2019-07-08 20:43:02 -07:00
LexManos
f79da3edf7
Fix syntax error in IRenderHandler.
2019-07-08 20:14:41 -07:00
LexManos
8742d74e93
Pass tick counter to custom render handlers ( #5744 )
2019-07-08 19:55:47 -07:00
Cadiboo
ff80ab6a23
Fire Loading event ( #5795 )
2019-07-08 19:49:47 -07:00
Dirk "YouDirk" Lehmann
8c37d642fe
Fix logoFile not working properly ( #5775 )
2019-07-08 19:49:31 -07:00
ichttt
06a30e9f23
Adds some explanatory javadocs and check world in ModelDataManager ( #5762 )
2019-07-08 19:47:18 -07:00
Antoine Lucas
650e7dc16e
Add InputEvent documentation ( #5698 )
2019-07-08 19:47:06 -07:00
ichttt
d41fad51c2
Add IModelData to getParticleTexture ( #5756 )
2019-07-08 19:46:32 -07:00
ichttt
0463949ac3
Fixed BakedModelWrapper not delegating new methods ( #5761 )
2019-07-08 19:45:27 -07:00
Sargun Vohra
5f0fd4b706
Throw exception when a mod returns null from a dispatched capability provider ( #5646 )
2019-07-08 19:45:10 -07:00
Benjamin K
201c368325
Add isServer and isClient methods to LogicalSide ( #5606 )
...
* Add helper methods to LogicalSide.
* Fix backwards docs.
2019-07-08 19:44:35 -07:00
Cadiboo
3fe08f149d
Added documentation to ObfuscationReflectionHelper adn deprecated index based functions. ( #5893 )
2019-07-08 19:44:21 -07:00
LexManos
61bea2bfda
Fixed EntityJoinWorldEvent not being fired when player is added to ServerWorld. #5827
...
Fixed wrong example path for the access transformer in the MDK build.gradle. #5891
Added getters for mouse x/y velocity and if the middle-mouse button is being held down. #5776
Modify issue template for better clarity. #5874
Fixed grindstone not using ItemStack-sensitive getMaxDamage. #5831
Added ParticleManager.registerFactory to Forge's AT. #5896
Fixed NPE in SidedInvWrapper when side was null. #5787
Moved EndermanEntity.setAttackTarget super call to allow LivingSetAttackTargetEvent the ability to override default behavior. #5778
Added field to make "Looking at" debug info maximum distance configurable #5714
2019-07-08 18:42:12 -07:00
DaemonUmbra
f720140481
Disable Config Button when no mods are selected ( #5905 )
...
Closes #5889
2019-07-08 15:56:49 -07:00
Tedstar
66a2d38ab8
Fix MC-258 on mod list screen, enable sorting, minor tweaks. ( #5846 )
2019-07-08 15:50:05 -07:00
DaemonUmbra
bed266f310
Fixed #5895 : Shearing via Displenser drops Shears ( #5906 )
2019-07-08 15:47:34 -07:00
Cloudhunter
719f08ea5e
Fix link applying to whole component in chat if component starts with link ( #5909 )
2019-07-08 15:46:49 -07:00
Suppergerrie2
3992ea5c59
Added harvestLevel and harvestTool setter to the Block.Properties. ( #5916 )
2019-07-08 15:45:53 -07:00
LexManos
a01c1cdc3a
Fix installer realms issue on server.
...
Uptake EventBus changes to fix some potential dead locks.
2019-07-05 13:26:23 -07:00
m00nl1ght-dev
7a8ae9f56b
Fix old entity not being removed on dimension change ( #5833 )
2019-07-04 13:03:45 -07:00
primetoxinz
765efc3c72
Update TextureStitchEvent.Pre to give access to the list of ResourceLocations that will be loaded as textures. ( #5870 )
2019-07-03 12:26:51 -07:00
LexManos
bc23c1ddb2
Add installer processor to deobfuscate Mincraft's Realms library.
...
This task will processes the current realms library from the json, so the installer must be re-ran every time they update it.
2019-07-03 01:08:20 -07:00
David Quintana
87e2fcb4e5
Redirect a method to the recipe book container, to allow modded screens to have a recipe book. ( #5873 )
2019-07-02 13:05:03 -07:00
Take Weiland
478b7e7ccc
Fix WorldEvent.Unload not firing on the client ( fixes #5880 ) ( #5884 )
2019-07-02 12:58:45 -07:00
Take Weiland
0574db134c
Fix TickEvent.PlayerTickEvent firing twice for tick end ( fixes #5878 ) ( #5885 )
2019-07-02 12:57:06 -07:00
LexManos
358211ca66
Fix type cast issues in ForgeConfig values. Closes #5894
...
Added config value set and save functions.
By default mod configs are auto-saved, so you do not need to call save unless you create your own Config object.
2019-07-02 11:54:59 -07:00
cpw
c8e5007913
Remove legacy StartupProgress.
...
Implement properly scalable progress thanks to @gigaherz. Closes #5863 .
Implement API for pushing messages to the startup screen from mods.
Add memory display.
Signed-off-by: cpw <[email protected] >
2019-06-30 23:48:54 -04:00
cpw
943fedb073
Update coremods to newer version, with support for new targets.
...
Signed-off-by: cpw <[email protected] >
2019-06-29 17:05:18 -04:00
LexManos
13ae8e41ee
Fix duplicate WorldEvent.Unload call in client key handler.
...
Add recipe generator to replace vanilla recipes with Forge tags.
2019-06-27 17:23:23 -07:00
LexManos
ac8b196b8c
Fix dimension save data invalid cache being to aggressive.
2019-06-27 10:57:03 -07:00
ある
2c3183bdae
Fix garbled "µs" ( #5818 )
2019-06-26 13:23:47 -07:00
LexManos
53349603e2
Fix fmluserdevdata not being a valid launch target.
2019-06-25 18:16:10 -07:00
LexManos
c284de366b
Split userdev data entry point into it's own provider to fix duplicate mod issue.
2019-06-25 18:03:51 -07:00
tterrag
e81c330694
Fix configs correcting numeric values when the primitive type differs
...
Fix configs with range not clamping the corrected value, and instead
just replacing with the default
Closes #5855
2019-06-25 19:56:31 -04:00
Ben Staddon
790da699dd
Fix item placement losing NBT data in creative mode ( #5757 )
2019-06-25 13:59:10 -07:00
MajorTuvok
7915397377
Add extension to write entry id's to PacketBuffer's ( #5812 )
2019-06-25 13:55:24 -07:00
Someone
b2a5d34679
Add isItemValid check for ItemStackHandler ( #5850 )
2019-06-25 13:50:08 -07:00
Johannes
73bb18e78b
Fix leather armor dye recipe ( #5836 )
2019-06-25 13:48:49 -07:00
Tedstar
9701148819
[1.14.x] Replace dye items in Forge tags. ( #5843 )
2019-06-25 13:44:54 -07:00
Unnoen
f1dbc8b117
Update readme and issue template. ( #5773 )
2019-06-25 13:38:32 -07:00
bl4ckscor3
b8131e6e67
implement Ingredient.getSerializer for custom ingredients ( #5813 )
2019-06-25 10:25:33 -07:00
LexManos
f4598a97f7
Fix vines and scaffolding not being climbable.
...
Fix powered rails not spreading power correctly. Closes : #5854
2019-06-24 20:05:50 -07:00
LexManos
c90d42973d
Fix misaligned ServerWorld initCapabilities patch.
2019-06-24 19:37:02 -07:00
LexManos
ff0bb8c83c
Initial 1.14.3 update.
2019-06-24 19:01:03 -07:00
cpw
e5acea60e6
Fix too many registries being sent from server to client
...
Signed-off-by: cpw <[email protected] >
2019-06-23 19:54:55 -04:00
tterrag
216b536967
Remove OnlyIn on TagCollection#getOwningTags
...
Fixes Block#getTags crashing on servers
2019-06-23 18:36:27 -04:00
cpw
0a819da0e7
Reorganize sided event dispatch slightly. Dispatch model and entityrenderer
...
functions at more appropriate times.
Signed-off-by: cpw <[email protected] >
2019-06-23 16:01:20 -04:00
cpw
bdad2af27b
Tweak for lowercase handling.
...
Signed-off-by: cpw <[email protected] >
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 <[email protected] >
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 <[email protected] >
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 <[email protected] >
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 <[email protected] >
2019-06-22 20:36:07 -04:00
cpw
89baeb3d5d
Fix StartupQuery, and put tests back.
...
Signed-off-by: cpw <[email protected] >
2019-06-22 19:58:10 -04:00
cpw
89006458a2
Fix stupid bug introduced with the refactor..
...
Signed-off-by: cpw <[email protected] >
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 <[email protected] >
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 <[email protected] >
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 <[email protected] >
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 <[email protected] >
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 <[email protected] >
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 <[email protected] >
2019-06-15 21:24:45 -04:00
cpw
37a896fe1b
Add params for the exception message
...
Signed-off-by: cpw <[email protected] >
tweak logging
Signed-off-by: cpw <[email protected] >
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
tterrag
40f2276e88
Add registry flag for syncing
2019-06-09 00:55:42 -04:00
tterrag
35cd89c00c
Fix issues preventing test mods loading
2019-06-09 00:19:29 -04:00
tterrag
892fea3df9
Add forge registry for container types, expose ScreenManager.registerFactory
2019-06-09 00:19:17 -04:00
cpw
2d32929dc5
Don't NPE during construction of ModLoadingException..
...
Signed-off-by: cpw <[email protected] >
2019-06-08 14:30:15 -04:00
LexManos
728b4857c3
Fix misobfed methods due to mapping conflict.
2019-06-08 09:22:03 -07:00
cpw
9fa4641cb0
Update mappings
...
Signed-off-by: cpw <[email protected] >
2019-06-08 10:45:28 -04:00
tterrag
fc04a65a0f
Fix block activation not occurring serverside
...
Missing block of code from the old patch caused it to be skipped
2019-06-08 01:32:53 -04:00
tterrag
a93d7d20ee
Rework model patches/classes for new bake signature
2019-06-08 01:02:29 -04:00
LexManos
b74b72e44c
Fix NamespacedWrapper not delegating a new getter. Fixing data loading spam at world start.
...
Update red/yellow/green tags with new vanilla item names.
Reenabled test source directory in project and made ModelDataTest compile.
2019-06-07 19:34:16 -07:00
cpw
850c73b73f
and userdev
...
Signed-off-by: cpw <[email protected] >
2019-06-07 17:34:25 -04:00
cpw
d736e26e0c
Fix realms class name
...
Signed-off-by: cpw <[email protected] >
2019-06-07 17:32:33 -04:00
cpw
d97f47141e
Fix travis build
...
Signed-off-by: cpw <[email protected] >
2019-06-07 16:57:18 -04:00
LexManos
a7df63e1a1
Update to 1.14.2
2019-06-07 16:50:47 -04:00
LexManos
d3e8804dbf
Include new library in installer json.
...
Change order of versions on main menu, to prevent overlap with default window size.
Fix Forge update not displaying version info.
2019-05-27 19:13:55 -07:00
LexManos
c509cac02b
Fix vanilla structures loosing valid flags, And fix error placement for unsaveable structures.
2019-05-27 13:49:15 -07:00
LexManos
4b5bf760ec
Fix tall grass not dropping seeds. Closes #5675
2019-05-27 13:46:19 -07:00
cpw
c57c6213ea
Enhance crash reports and logging to capture transformers on stack trace elements.
...
Moved log4j2.xml file to the launcher source set, so it loads first in the client.
Signed-off-by: cpw <[email protected] >
2019-05-27 00:00:45 -04:00
tterrag
fb30820e2b
Remove cache eviction for model data, optimize
2019-05-23 21:49:39 -04:00
Philipp
61b612c88a
dimesnion -> dimension typos ( #5684 )
2019-05-21 15:43:45 -04:00
ben-mkiv
d3edc9dcdc
FENCES_NETHER_BRRICK => FENCES_NETHER_BRICK ( #5681 )
2019-05-21 15:43:45 -04:00
Hugman
ba2485b807
GEMS_QUARRTZ -> GEMS_QUARTZ ( #5635 )
2019-05-21 15:43:45 -04:00
Cadiboo
60c6635af5
Small comment typo fixes for ObfuscationReflectionHelper ( #5583 )
2019-05-21 15:43:45 -04:00
James Mitchell
9c5134fb6b
Fix MC-146650 GuiContainer#keyPressed to return the correct key handled boolean ( #5367 )
2019-05-21 11:00:47 -07:00
LexManos
eae0858de6
Fix build script producing duplicated eclipse source folders.
...
Fix not including userdev source in sources jar.
Update license header of files that need it.
Delete patches_old folders. Most are unneeded in 1.13+ as the systems they effected were changed significantly. Any that need to be readdressed can be done as PRs.
2019-05-13 19:11:24 -07:00
Vincent Lee
d7949d5316
Fix caps not being visible on old player during clone event ( #5728 )
2019-05-13 09:57:50 -07:00
LexManos
8c44d6d4cb
Fix vanilla bug in writing structure templates with multiple palettes.
2019-05-12 23:40:54 -07:00
Vincent Lee
049fae5c65
Add support for vanilla recipes having nbt on result ( #5710 ) Fix #5663
2019-05-12 21:44:46 -07:00
tterrag
41f8459a41
Fix modded TEs not being removed on block change
2019-05-12 15:05:33 -04:00
cpw
5cd82f16f2
Fix #5735 by pushing new build. Shutdown Forge eventbus when errors occur. Closes #5711
...
Also, improve logging so warnings, errors and fatals are always shown, regardless of marker.
Signed-off-by: cpw <[email protected] >
2019-05-12 13:07:29 -04:00
OhYea777
444ba7a7d5
Update 'build.gradle' to fix run configs for launching forge
2019-05-12 12:51:18 -04:00
tterrag
dcd5f1d711
Remove patch causing TEs to be removed on state change
2019-05-11 23:30:46 -04:00
tterrag
18ce494cba
Fix default IUnbakedModel bake method using wrong format
2019-05-11 23:22:46 -04:00
tterrag
9e39570d49
Add ModelDataTest to test mods.toml
2019-05-11 23:22:24 -04:00
cpw
6a1337aa92
Updated a couple of libraries. Fixed bug where modid could be in toml but
...
not found during loading, yet game continued to load.
Signed-off-by: cpw <[email protected] >
2019-05-11 20:47:42 -04:00
tterrag
605c4a0adf
Add test mods run configs
2019-05-11 18:58:45 -04:00
tterrag
7c90d9f3e8
Better handle errors from eclipse compiled (non-compiling) bytecode
2019-05-11 18:58:45 -04:00
tterrag
01a0674490
Finish model loader debug mod
2019-05-11 18:58:45 -04:00
tterrag
e482793f69
Comment out test Mod/EventBusSubscriber annotations, fix up ModelLoaderRegistryTest
2019-05-11 18:58:45 -04:00
tterrag
de14670d4d
Fix BakedQuadRetextured calling old BakedQuad ctor
2019-05-11 16:36:16 -04:00
tterrag
9209c3cbfe
Add new system for model data, replacing extended states ( #5564 )
2019-05-09 02:10:38 -04:00
LexManos
a7204b5cd3
Bump ForgeSPI version, and add support for DistCleaner stripping interfaces from classes.
...
Add more detail to VersionChecker log info.
2019-05-06 15:52:12 -07:00
tterrag
616416569b
Add explicit return type checks for extensible enums, fix exc
2019-04-25 19:51:20 -04:00
tterrag
cab1b9716c
Fix EnumRarity, make sure extensible enums have at least one factory candidate
2019-04-25 19:38:03 -04:00
tterrag
bda3f1b7c6
Make EnumRarity extensible
2019-04-25 19:29:19 -04:00
tterrag
416bf9e3bf
Allow loading json constants outside of _constants
2019-04-25 19:22:43 -04:00
tterrag
102e0095a7
Update skipped_commits.md
2019-04-25 18:32:06 -04:00
Ben Staddon
1fcfd54584
Fix some vertex format changes not being handled correctly ( #5368 )
2019-04-25 18:31:17 -04:00
Ben Staddon
441a9c9024
Transform vertex normals as well as positions when generating quads ( #5242 )
2019-04-25 18:29:12 -04:00
Robert WC Seifert
f68fdcf703
Fix for SidedInvWrapper isItemValid using wrong slot ( #5642 )
2019-04-25 18:20:42 -04:00
tterrag
d8137f7bcf
Add comment to vanilla bugfix, update skipped_commits.md
2019-04-25 15:59:08 -04:00
tterrag
42c27b8845
Change default username to 'Dev', add ability to replace '#' with randomized numbers
2019-04-25 15:52:02 -04:00
tterrag
8408539f1c
Fix MC-128441: cross-dimensional teleporting does not work
2019-04-25 15:18:40 -04:00
Ben Staddon
1f0467b864
Add Forge dimension-changing hooks to spectator handling code ( #5212 )
2019-04-25 15:08:15 -04:00
ichttt
1aae18d4bc
Minor performace improvement when building chunks and rendering blocks ( #5286 )
2019-04-24 13:20:19 -04:00
Ben Staddon
45902676fd
Catch json parsing errors from constants/factories files ( #5258 )
2019-04-24 13:12:03 -04:00
Ben Staddon
931105123e
Allow custom DataSerializers to be registered safely ( #5245 )
2019-04-24 13:05:12 -04:00
tterrag
cf35019d07
Further clean up Constants, and add two new BlockFlags
2019-04-24 12:58:09 -04:00
tterrag
c636f6edd6
Remove unnecessary patch
2019-04-24 02:13:17 -04:00
tterrag
58b28569e2
Update skipped_commits.md
2019-04-24 01:34:43 -04:00
Pokechu22
73bb013b25
Fail fast when null is used with setTag instead of crashing in writeEntry ( #5257 )
2019-04-24 01:32:45 -04:00
tterrag
d6da893c0c
Update Constants for 1.13
2019-04-24 01:26:24 -04:00
Wyn Price
47a7d8e2b7
Added more Constants ( #5323 )
2019-04-24 01:25:21 -04:00
Thanh-Phuong
cb0cf2f04f
Add a few events pertaining to villages ( #5302 )
2019-04-24 01:07:02 -04:00
tterrag
a4cf5951ca
Sync up canPlaceTorchOnTop logic with BlockTorch#isValidPosition
2019-04-24 00:59:03 -04:00
tterrag
822dce47cd
Update skipped_commits.md
2019-04-23 21:12:22 -04:00
Tyler Hancock and tterrag
2ea475ad31
Fix special spawn event not firing in many cases. ( #5389 )
...
Co-authored-by: tterrag <[email protected] >
2019-04-23 21:10:37 -04:00
Ben Staddon
eed92ba07c
Only prompt for missing registries on local worlds ( #5348 )
2019-04-23 20:45:48 -04:00
tterrag
a86317efc8
Reimplement ForgeHooks#onPlaceItemIntoWorld and remove old place events
2019-04-23 20:42:08 -04:00
Christopher Krier and tterrag
ca973f053f
Add EntityPlaceEvent ( #5057 )
...
Co-authored-by: tterrag <[email protected] >
2019-04-23 19:58:09 -04:00
Ben Staddon
119e4a6924
Fix small logic error in ItemTextureQuadConverter ( #5463 )
2019-04-23 19:03:43 -04:00
Ben Staddon
aef224221f
Better support for custom bows ( #5209 )
2019-04-23 18:04:19 -04:00
Ben Staddon
18d0f7ba0d
Fix up torch placement logic to handle more vanilla special-casing ( #5426 )
2019-04-23 17:39:50 -04:00
tterrag
dd9077d52d
Update skipped_commits.md
2019-04-23 16:51:11 -04:00
LexManos
01cb2117cc
Written size does not include int bytes.
2019-04-23 16:30:26 -04:00
LexManos
574f890e58
Extend Region files to support >1MB per chunk.
...
If the 'sector count' is 255, ask the compressed data header for the proper length.
2019-04-23 16:27:34 -04:00
tterrag
e70cc4fcae
Simplify custom item rendering by removing GL emissivity hacks
2019-04-23 15:23:12 -04:00
tterrag
d02da21a7a
Support diffuse lighting flag in item rendering
2019-04-23 15:21:01 -04:00
Ben Staddon
817546e4c8
Add a hook to allow continuously using items through stack changes ( #4834 )
2019-04-23 15:12:55 -04:00
tterrag
1a7e05a3da
Update skipped_commits.md
2019-04-23 14:48:47 -04:00
Ben Staddon
f19fed0853
Add redirects to PotionEffect to respect registry replacement ( #5213 )
2019-04-23 14:47:47 -04:00
tterrag
06f67f7696
Add FieldRedirectTransformer updated to new modlauncher API
2019-04-23 14:39:26 -04:00
Ben Staddon
501f1dc8dc
Fix small logic error in emissive item rendering code ( #5320 )
2019-04-23 12:37:32 -04:00
Ben Staddon
8b5a5ecd74
Ensure slave maps are cleaned up when handling registry overrides ( #5250 )
2019-04-23 12:31:55 -04:00
tterrag
cb3ff19801
Remove hack to force enum configs to strings
2019-04-18 22:13:19 -04:00
tterrag
f30d7bc845
Fix #5688 config values are unordered, update Night-Config
2019-04-18 22:13:13 -04:00
ichttt
c0aa4c8517
Cleanup/Implement some todos ( #5660 )
2019-04-17 13:57:32 -07:00
ichttt
e868739675
Readd redirecting of stdout and stderr ( #5678 )
2019-04-16 14:08:08 -07:00
Vincent Lee
991682956d
Fix some typos in spawn dimension patches ( #5669 )
2019-04-15 19:04:24 -07:00
DaemonUmbra
e168d8e593
Remove Vanilla Logging Config ( #5618 )
...
This will re-enable Forge's logging configuration in "production"
2019-04-15 19:00:11 -07:00
Lars Gerrits
273b1b110a
Add GuiContainerEvent.DrawBackground event. ( #5595 )
2019-04-15 18:56:58 -07:00
0uti
bbc92fa51c
[1.13.x] Fire InputEvents ( #5533 )
2019-04-15 18:50:18 -07:00
tterrag
8515b9dd10
Fix compile error in FakePlayer from cherry pick
2019-04-13 21:42:42 -04:00
tterrag
a56f894e39
Update skipped_commits.md
2019-04-13 11:18:54 -04:00
LexManos
592b957b77
Fix potential issues with the Minecraft FakePlayer lingering around after world unloads.
2019-04-13 11:17:27 -04:00
tterrag
65cfef1b2e
Fix potion remove event not always firing, add expiry event
2019-04-13 11:17:00 -04:00
mcenderdragon
914fe91db5
added PotionHooks, closes #3867 , #4375 ( #4614 )
2019-04-13 11:03:58 -04:00
tterrag
0c19ccc11a
Fix EntityDataManager logging level
2019-04-13 10:45:33 -04:00
tterrag
3560e47a77
Fix some typos in cherry-picked commits
2019-04-13 09:47:33 -04:00
tterrag
c33cd678f0
Update skipped_commits.md
2019-04-12 20:18:17 -04:00
ichttt
a67cce2f91
Add a hook for farmland watering ( #4891 )
2019-04-12 20:16:34 -04:00
ichttt
72bc39d831
Add logging for data manager key registration errors ( #5129 )
2019-04-12 20:01:00 -04:00
tterrag
abf010ac48
Fix #5659 setdimension command entity filtering, avoid inverting logic
2019-04-12 19:43:41 -04:00
Ben Staddon and tterrag
2baa05ace9
Improve support for custom block path types ( #5203 )
...
Co-authored-by: tterrag <[email protected] >
2019-04-12 13:47:48 -04:00
Ben Staddon
fa708f93ee
Allow items to control the rate of repair from mending ( #5102 )
2019-04-12 13:26:15 -04:00
tterrag
a0a3f9dbfb
Update skipped_commits.md
2019-04-12 11:15:31 -04:00
Ben Staddon
bda875166a
Improve exception handling from server starting events ( #5226 )
2019-04-12 11:12:15 -04:00
Ben Staddon
e376172312
Improve context provided by potion icon rendering hooks ( #5111 )
2019-04-12 11:05:34 -04:00
MrRiegel
d20b1f271e
Fix an ObjectHolderRef internal error message ( #5214 )
2019-04-12 10:49:26 -04:00
tterrag
67da3182c1
Implement rendering for item models with emissive quads ( #5047 )
2019-04-12 10:45:32 -04:00
Paul Fulham
1280dea111
Fix inaccurate main thread name shown in client log ( #5078 )
2019-04-12 10:23:08 -04:00
Ben Staddon
3920b7aaa3
Fix Baked Item models with transformations ( #5241 )
2019-04-12 10:11:15 -04:00
tterrag
52890edfac
Update skipped_commits.md
2019-04-11 19:31:04 -04:00
Vincent Lee
ed3aea0980
Stop firing LivingSetAttackTargetEvent for setRevengeTarget ( #5217 )
2019-04-11 19:01:52 -04:00
Ben Staddon
3f70fd49ff
Fix missing string parameters in some log messages ( #5210 )
2019-04-11 18:57:37 -04:00
Ben Staddon
7496e3dbdf
Re-add some missing villager profession patches ( #5200 )
...
* Fix zombie villagers only spawning with vanilla professions
* Fix spawning modded villagers that do not have their own building
2019-04-11 18:50:01 -04:00
TheIllusiveC4
7c401e9a35
Fix the bed position given to the SleepingTimeCheck event ( #5107 )
2019-04-11 18:09:01 -04:00
Ben Staddon
a02bec7ebe
Fix some null returns from defaulted registries ( #5235 )
2019-04-11 18:05:26 -04:00
Yanbing Zhao
254c1d1531
Only remove synthetic lambda methods referenced in body of SideOnly methods ( #5127 )
2019-04-11 18:02:34 -04:00
tterrag
971de3e1d0
Update skipped_commits.md
2019-04-11 17:47:13 -04:00
gaudus
7d2c8fa6ef
fixed visual bug with guislider
2019-04-11 17:38:01 -04:00
Ben Staddon
ac210a3201
Make Forge blockstate variants correctly inherit AO setting from vanilla models ( #5190 )
2019-04-11 17:35:01 -04:00
Ben Staddon
a79975b3ea
Make Forge-provided default transforms accessible to custom models
2019-04-11 17:32:31 -04:00
cpw
aa7380acc6
Actually parse the i18n exception message into the super constructor,
...
so the exception has a useful text message, even in crash logs and
on the server.
Signed-off-by: cpw <[email protected] >
2019-04-06 14:22:24 -04:00
cpw
cdbd842494
Refactor to use naming service, and provide an MCP naming service when
...
in userdev. Step 1 to supporting loading SRG mods in userdev.
Signed-off-by: cpw <[email protected] >
2019-04-06 12:10:54 -04:00
Vincent Lee
323fdb014d
Fix respawnevent being fired with old player instead of new. Fixes #5658 ( #5668 )
2019-04-04 19:41:27 -07:00
cpw
3f735b715b
Implement API for mods to control their server status response..
...
Signed-off-by: cpw <[email protected] >
2019-03-31 16:36:49 -04:00
cpw
4ecb04ed9f
Merge branch 'pull/5636' into 1.13.x
2019-03-30 15:03:48 -04:00
cpw
e0361047f7
Fix StartupQuery to run properly on dedicated server.. Closes #5649
...
Signed-off-by: cpw <[email protected] >
2019-03-30 14:46:30 -04:00
tterrag
37016ca77f
Remove remaining deprecations, improve a few patch comments
2019-03-29 16:58:33 -04:00
tterrag
98ef5049f4
Fix BrandingControl caching text through resource reload
2019-03-29 16:29:26 -04:00
tterrag
98a470d813
Add back EntityPlayer patch to return main inventory in IItemHandler
...
Fixes #5638
2019-03-26 01:22:58 -04:00
cpw
944d760855
Fire the ModIdRemappingEvent on the Forge Event bus. Closes #5632
...
Signed-off-by: cpw <[email protected] >
2019-03-25 21:55:34 -04:00
cpw
e0e999da0d
Remove redundant method call in Minecraft patch. Also fix a translation
...
string error (closes #5643 )
Signed-off-by: cpw <[email protected] >
2019-03-25 21:55:33 -04:00
tterrag
2f486f2bdd
Add method to IResourcePack to hide it entirely from the UI ( #5525 )
2019-03-25 17:24:37 -04:00
JoJoDeveloping
7e4101b3ad
Remove game registry comparsion from list ping
...
Signed-off-by: JoJoDeveloping <[email protected] >
2019-03-25 22:22:29 +01:00
cpw
d8d30e1f82
Defer configuration of channel until it is actually available during
...
connection. Closes #5626
Signed-off-by: cpw <[email protected] >
2019-03-25 17:20:44 -04:00
Brennan Ward
36470f69ad
Add class to wrap IItemHandler as IInventory for easier recipe interaction. ( #5522 )
2019-03-25 12:31:54 -07:00
mezz
5fa732d223
Remove uses of java.awt ( #5591 )
...
`java.awt` will statically load itself when `java.awt.Color`, `java.awt.Dimension`, etc are loaded.
This conflicts with lwjgl3 and must be avoided (except for in mojang's server gui).
2019-03-25 12:06:20 -07:00
Vincent Lee
5e7279b0a2
Fix PlayerInteractEvent using Dist when it should be using LogicalSide ( #5611 )
2019-03-25 11:41:08 -07:00
JoJoDeveloping
4764136d47
Re-Add the list ping compatibility checker
...
Signed-off-by: JoJoDeveloping <[email protected] >
2019-03-25 15:15:25 +01:00
tterrag
10a06157aa
Update Night-Config to 3.5.0, improve defineEnum methods
...
Closes #5537
2019-03-23 00:12:48 -04:00
tterrag
d7ba9a50df
Fix loading errors GUI crashing when errors occur during construction
2019-03-22 20:58:10 -04:00
LexManos
18400e8457
Revive CapabilityProvider on entity revive. Madders should NOT need this, as caps are copied via NBT.
2019-03-19 21:21:37 -07:00
LexManos
f5375783c6
Do not invalidate caps when entity is being moved across worlds. Should fix #5500
2019-03-19 14:10:29 -07:00
LexManos
8045e48952
Fix NPE in TileEntityPistonRender when class is created to early.
2019-03-17 22:15:52 -07:00
Ben Staddon
be18bdee88
Fix getDefaultCreatorModId for enchanted books ( #5534 )
2019-03-17 13:51:10 -07:00
tterrag
1e34f331da
Handle null return from ResourcePackInfo.createResourcePack
2019-03-16 01:52:37 -04:00
cpw
d99a55a7d1
Allow login packets to only generate on server based connections
...
Run injectSnapshot on the client thread, wait for result and
disconnect when injectSnapshot fails.
Fix DevServer to load MOD_CLASSES
Fix LaunchTesting to properly load log4j2 markers (don't use a
static variable in that class!)
Signed-off-by: cpw <[email protected] >
2019-03-15 23:22:28 -04:00
tterrag
0141a959eb
Exclude PR builds from discord and changelog
2019-03-14 19:33:50 -04:00
tterrag
d04c849a23
Exclude noci branches from travis
2019-03-14 19:02:08 -04:00
Ben Staddon
329e04b068
Fix being unable to plant nether wart ( #5572 )
2019-03-13 22:37:37 -07:00
LexManos
d0c7a496f7
Fix silk touch not working on Ender Chests.
2019-03-13 15:55:18 -07:00
its_meow
ff6fa31b1d
Fix entity spawn packet pitch (reversed yaw/pitch) ( #5603 )
2019-03-13 12:53:48 -07:00
LexManos
554952e02a
Fix invalid inventory being sent to ItemCraftedEvent Closes #5580
...
Fixed custom ingredient network serialization by removing unneeded mark. Closes #5577
Changed HorseArmorType constructor to not prefix vanilla paths to custom armors. Closes #5574
Fix removeBlock being called with invalid canHarvest value. Closes #5570
2019-03-11 16:40:59 -07:00
ichttt
00845d5252
Add UI for warnings that occurred during loading ( #5530 )
2019-03-11 15:32:37 -07:00
LexManos
7113f4400c
Fix max entity radius not being settable by making it a instance method on world. Closes #5601
...
Fix VoidFluidHandler.INSTANCE not being a instance of VoidFluidHandler. Closes #5602
Remove backwards compat code and make IItemHandler.isItemValid non-default. Closes #5598
2019-03-11 15:04:04 -07:00
cpw
7292b63052
Add way to publish the reobf Jar with the maven-publish
...
task. The standard way does not publish reobfuscated
artifacts.
Signed-off-by: cpw <[email protected] >
2019-03-09 18:43:20 -05:00
cpw
7cfc5c3316
Add in the ability to load modlists from a file.
...
This is simple: <modfile>.list is a newline separated list
of maven-like coordinates for mods to load into the game.
They are searched for in all known maven roots.
Signed-off-by: cpw <[email protected] >
2019-03-09 17:51:37 -05:00
LexManos
1d0c67d67b
Fix rails not being able to be placed on hoppers.
2019-03-08 11:50:41 -08:00
LexManos
47e6b34d2b
DimensionManager.registerDimension now returns the DimensionType instance for convienance.
...
You can still access others in DimensionType.getByName()
Fixed ForgeRegistry rappers not forwarding isEmpty.
2019-03-06 21:01:12 -08:00
LexManos
3003e33074
Refactor Userdev and Forgedev launching.
...
Locating mods on the classpath in dev should solve linked MC sources when debugging.
As well as loading deobfed mods.
Rewrote how arguments are handled in dev, so users can overwrite any defaults we provide.
Added basic Yggdrasil auth support. Passing in --username and --password arguments.
ONLY USE IF NECESSARY. Forge is NOT responsible for your login information.
2019-03-06 20:59:32 -08:00
LexManos
7bd7b059c4
Make userdev parse out the classifier for the Forge jar that is on the classpath.
...
Should fix debugging Minecraft at dev time.
2019-03-06 12:06:49 -08:00
cpw
230d69b772
Tidy up network initialization, and force it to classload early in
...
modloading lifecycle. Closes #5576
Signed-off-by: cpw <[email protected] >
2019-03-04 08:22:46 -05:00
cpw
cbfa572acb
Tweak log4j2 config and allow access to classdump functionality from
...
modlauncher.
Signed-off-by: cpw <[email protected] >
2019-03-02 15:31:35 -05:00
cpw
8f5a2be6fd
Fix #5584 by copying the zipped resource to a temporary directory if
...
paulscode is requesting it. This is so icky.
Signed-off-by: cpw <[email protected] >
2019-03-01 22:07:11 -05:00
cpw
45f5f0904a
Log a message as well, when we crash.
...
Signed-off-by: cpw <[email protected] >
2019-03-01 19:48:25 -05:00
cpw
6db8b3c26d
Try writing a temporary file to disk when a paulscode thread requests
...
a resource, because even zipfilesystems return interruptible file channels.
Signed-off-by: cpw <[email protected] >
2019-03-01 19:46:59 -05:00
cpw
b4ccafe718
Enforce specversion number for forgeSPI so we don't crash with weird errors later.
...
Signed-off-by: cpw <[email protected] >
2019-03-01 19:27:22 -05:00
cpw
3c73dc2d0b
Put both LogicalSides on NetworkDirection:
...
Origination (where it came from) and Reception (where it arrived at).
Signed-off-by: cpw <[email protected] >
2019-02-28 21:39:36 -05:00
LexManos
58494f8878
Rewrite the FML Handshake packet formats to include actually syncing the registry data and introduce the concept of caching it locally.
...
Snapshots are not injected yet due top threading issues.
2019-02-27 23:56:31 -08:00
cpw
cb70702ab5
Handle differing network versions for FML gracefully?
...
Signed-off-by: cpw <[email protected] >
2019-02-28 00:59:27 -05:00
cpw
7f1ea578d6
Fix problem with duplicate mods caused by duplicate classes found during scan.
...
File Scan results are now sets.
Signed-off-by: cpw <[email protected] >
2019-02-27 23:34:23 -05:00
cpw
dd7e7fc122
Try to fix #5573 by peeling the worldclient fetch into a separate handler.
...
Signed-off-by: cpw <[email protected] >
2019-02-27 13:45:51 -05:00
cpw
0bcc60fbe3
Tidy up server launch. The JAR will resolve it's libraries from a relative
...
path. We just need to verify what we need is on the classpath, and
try and handle when it's not, cleanly (by recommending running the
installer).
The manifest now embeds the correct launch arguments to allow FML to
resolve - these were _never_ editable, and belong somewhere out of
the way.
Signed-off-by: cpw <[email protected] >
2019-02-26 10:28:48 -05:00
kashike
7766eed754
Add missing constructors in KeyBinding to match existing vanilla constructors. ( #5480 )
2019-02-25 19:57:11 -08:00
John Hannan
5fa02f53d9
Update MDK Readme to describe new FG3 procedures. ( #5553 )
2019-02-25 18:11:41 -08:00
LexManos
176e331fc4
Fix Custom Entity Data not persisting between world loads. Closes #5562
...
Fix BlockRailState inverting flexibility flag. Closes #5550
Disable Forge's hooks on dispensing Buckets until Fluid system re-write. Closes #5545
Fix modifier only keybinds. Closes #5544
2019-02-25 17:06:37 -08:00
Ben Staddon
d846f23e80
Fix entity shearing logic ( #5566 )
2019-02-25 10:41:37 -08:00
Ben Staddon
af717ad788
Fix droppers not spawning items in world ( #5559 )
2019-02-25 00:47:37 -05:00
cpw
2a4e05c982
Allow vanilla connections properly, and allow mods to decide.
...
Signed-off-by: cpw <[email protected] >
2019-02-24 13:52:26 -05:00
cpw
c219416bb8
Patch DimensionSavedDataManager to not spam FS mkdirs requests for
...
empty files that don't exist yet, and don't contain data. Should
result in a significant performance improvement for those with slower disks.
Signed-off-by: cpw <[email protected] >
2019-02-24 13:03:11 -05:00
cpw
8d1ff45c71
Fix GUI packet dispatch, add additional blockpos helper for common usecase.
...
Signed-off-by: cpw <[email protected] >
2019-02-24 11:51:53 -05:00
cpw
245d0b6282
Fix startup Query to actually display (fixed commit).
...
Signed-off-by: cpw <[email protected] >
2019-02-23 20:42:45 -05:00
cpw
bbdf52e038
Update to 0.10 modlauncher API with performance improvements..
...
Signed-off-by: cpw <[email protected] >
2019-02-23 14:36:05 -05:00
LexManos
237f9dec5a
Hide the webhook address so people don't spam it.
2019-02-22 01:01:09 -08:00
LexManos
d6dc438859
Remove debug leftovers from Jenkinsfile.
2019-02-21 21:30:01 -08:00
LexManos
1469df26db
Delete old OreDictionary file, fix type in NUGGETS_IRON field name, and ping discord from jenkins.
2019-02-21 21:26:45 -08:00
LexManos
b7f6fbcfcb
Merge extra and data jars. As Log4j has issues with it's config being in a different jar then the custom logger.
2019-02-21 04:24:39 -08:00
tterrag
329f26ee20
Add GuiUtils.drawInscribedRect, use in mod list GUI to fix logo rendering
2019-02-19 21:48:34 -05:00
tterrag
57cd8324dc
Fix reference to UnsafeHacks in RuntimeEnumExtender
2019-02-19 19:28:17 -05:00
tterrag
8aafbb9441
Fix double tall plants not being shearable, add IShearable to seagrass
...
Closes #5524
2019-02-19 13:24:22 -05:00
SquidDev
e4c2d0a779
Add back missing ItemColors patch ( #5474 )
2019-02-19 12:46:41 -05:00
mariaum
59a213bdaa
Fix entities being killed in one hit. Closes #5511
...
Fix unloc pattern for tps output
2019-02-19 12:35:32 -05:00
tterrag
4b564b91bf
Fix MinecraftForge.initialize not being called.
...
Fixes UsernameCache and harvest tools
Closes #5529
2019-02-19 12:33:41 -05:00
tterrag
4abfedea68
Make BannerPattern extensible ( #5464 )
2019-02-19 12:14:14 -05:00
Ben Staddon
7d971a3262
Remove EnumFacing internal ID maps from AT file ( #5526 )
2019-02-18 23:16:28 -08:00
Merlin Addams
b4474a4882
Fix GuiEnchantment using wrong value to index enchantClue array ( #5452 )
2019-02-18 20:22:53 -08:00
Ben Staddon
d1ac90bb3e
Fix some minor patch regressions ( #5490 )
2019-02-18 20:21:03 -08:00
Katrina Swales
785d9b8deb
Altered EntityType registry to use a Forge based registry ( #5493 )
2019-02-18 14:19:25 -08:00
Cadiboo
ab92801740
Fix bug with ObfuscationReflectionHelper ( #5509 )
2019-02-18 14:12:07 -08:00
cpw
1d6536a53b
Move unsafehacks to separate JAR built separately..
...
Signed-off-by: cpw <[email protected] >
2019-02-18 15:54:36 -05:00
tterrag
60315d079b
Clean up Entity patches, remove extra method. Closes #5494
2019-02-18 15:52:01 -05:00
tterrag
1a833a9267
Remove now defunct eclipse files from MDK
2019-02-18 15:14:42 -05:00
cpw
70be790b2a
Add a simple network API..
...
Signed-off-by: cpw <[email protected] >
2019-02-18 15:09:03 -05:00
Jack Taylor
2e2c57dbd1
Refactor forge and example run configs based on MinecraftForge/ForgeGradle#546
...
- Updated run config formats based on the refactored setup
- Removed old 'runclient' and 'runserver' JavaExec tasks, replacing them by creating the run configs using the refactored setup.
- Set 'assetIndex' environment variable from FG
- Updated MDK for new run config setup
2019-02-18 14:39:05 -05:00
tterrag
3fa507d6d1
Make SpawnPlacementType extensible, remove from ArmorMaterial
2019-02-18 12:03:02 -05:00
cpw
e47fa70279
Fix connection to vanilla servers. Generate a default mod server config
...
for mods connecting to servers.
Signed-off-by: cpw <[email protected] >
2019-02-17 16:07:47 -05:00
cpw
e248503b0a
Fix TPS string
...
Signed-off-by: cpw <[email protected] >
2019-02-17 15:03:25 -05:00
Vincent Lee
3f2c66dca5
Change openGui to take a Consumer<PacketBuffer>
2019-02-17 20:02:29 +00:00
cpw
bd1769b11f
Fix author and other strings in the mdk mods toml file, update coremods to 0.3.+
...
Signed-off-by: cpw <[email protected] >
2019-02-17 14:08:20 -05:00
Jack Taylor
af98088d04
Fix World crashing on load Fixes #5499 ( #5503 )
2019-02-17 00:15:35 -08:00
cpw
aa076695b9
Actually dispatch handleWorldDataSave. Closes #5492
...
Signed-off-by: cpw <[email protected] >
2019-02-16 17:38:12 -05:00
cpw
869964cb2f
Merge branch 'pull/5483' into 1.13.x
2019-02-16 17:19:27 -05:00
cpw
579c3ecc0e
Fix assetIndexes for 1.13.1
...
Signed-off-by: cpw <[email protected] >
2019-02-16 17:16:34 -05:00
cpw
63b2ad36e1
Fix travis build for 1.13.x branch
...
Signed-off-by: cpw <[email protected] >
2019-02-16 17:00:50 -05:00
cpw
ae01194a5e
Merge branch 'pull/5484' into 1.13.x
2019-02-16 16:59:13 -05:00
gegy1000
3c006c4ca4
Fix lazy ModContainer evaluation skipping thrown loadingExceptions
...
Fix formatting
2019-02-16 16:58:54 -05:00
cpw
738d54ff4c
Fixes #5446 Listening for the same registry event in two different mods fails
...
Tell the mod event bus not to track phasing for events.
Signed-off-by: cpw <[email protected] >
2019-02-16 16:45:05 -05:00
SquidDev
044bb1c395
Add back missing patch for Item.BLOCK_TO_ITEM
2019-02-16 08:14:33 +00:00
cpw
180f16161c
Fix the MDK..
...
Signed-off-by: cpw <[email protected] >
2019-02-15 21:56:54 -05:00
cpw
7f9e8d059b
Fix network syncing of SERVER config. Enable COMMON Config. Fix network
...
login handling.
Signed-off-by: cpw <[email protected] >
2019-02-15 21:45:28 -05:00
cpw
36ccb3bbfe
Fix serverlang loading issue, by frontloading MC and Forge langs,
...
so error messaging works.
Signed-off-by: cpw <[email protected] >
2019-02-15 20:00:41 -05:00
cpw
1e6f3fc893
Use MC VERSION in the dependencies string for the extra jar
...
Signed-off-by: cpw <[email protected] >
2019-02-15 01:11:31 -05:00
cpw
b4d0ee9b3b
Publish to mainline
...
Signed-off-by: cpw <[email protected] >
2019-02-14 23:15:40 -05:00
cpw
3e516e54b2
Remove Forge ChunkLoader - vanilla has a new system. API will follow.
...
Signed-off-by: cpw <[email protected] >
2019-02-14 23:15:40 -05:00
tterrag
3baa00decb
Fix Block$Properties AT for new class name
2019-02-14 23:13:37 -05:00
cpw
09a96670e6
Fix VillagerRegistry
...
Signed-off-by: cpw <[email protected] >
2019-02-14 22:20:59 -05:00
cpw
78455ac3c0
Add the language providers to the main classloader as well, so
...
their resources are available to other classes..
Signed-off-by: cpw <[email protected] >
2019-02-14 21:43:56 -05:00
tterrag
2ec74e5c22
Fix RegistryManager#getRegistry not working for generic registry entries
2019-02-14 18:50:15 -05:00
tterrag
9d56309a05
Fix license headers
2019-02-14 18:49:40 -05:00
tterrag
4139504202
Fix GlowstoneFeature patch name
2019-02-14 18:35:39 -05:00
LexManos
2f547c8c56
Fix javac compile issues.
2019-02-14 15:21:28 -08:00
LexManos
ca72710937
Initial 1.13.2 update. Major thing to note is that Dimensions have been completely revamped.
...
DimensionType is not unique per Dimension. See DimensionManager for more details.
Vanilla now has a chunk loading system, so Forge's will need to be deprecated/adapted.
2019-02-14 15:08:53 -08:00
cpw
9a1688599a
Actually fix byte array behaviour for openGui.
...
Signed-off-by: cpw <[email protected] >
2019-02-14 14:34:39 -05:00
cpw
d6c3df32d6
Fix byte array behaviour for OpenContainer packet
...
Signed-off-by: cpw <[email protected] >
2019-02-13 23:25:48 -05:00
cpw
28c0ffe333
Clean up the mod loading context objects. There is only one ThreadLocal now.
...
**BREAKING CHANGE** FMLModLoadingContext is renamed to FMLJavaModLoadingContext.
LanguageProviders can setup additional contextual data.
Signed-off-by: cpw <[email protected] >
2019-02-13 22:13:59 -05:00
cpw
586c24f9d6
Implement a GUI packet and GUIFACTORY for triggering from the server.
...
Signed-off-by: cpw <[email protected] >
2019-02-13 21:06:39 -05:00
cpw
31c0a70f8e
Merge branch 'pull/5451' into 1.13-pre
...
# Conflicts:
# patches/minecraft/net/minecraft/entity/player/EntityPlayer.java.patch
2019-02-13 18:59:43 -05:00
cpw
64a92530d9
Handle bad formats with an exception. Translators MAKE SURE you watch for this error!
...
Signed-off-by: cpw <[email protected] >
2019-02-13 18:54:43 -05:00
cpw
4441935a4a
Handle invalid JAR files more gracefully. Don't crash.
...
Signed-off-by: cpw <[email protected] >
2019-02-13 18:33:50 -05:00
cpw
f1feac76b3
Fix JKS to be stored as binary
2019-02-11 13:51:13 -05:00
cpw
d9c4446ccc
Enable https to Let's Encrypt endpoints by using an SSL factory with
...
the two extra Let's Encrypt root certs installed into an auxiliary
keystore.
The keystore was generated using standard commands, documented in the
FixSSL class.
The Let's Encrypt certificates are not provided by default in Java 8
prior to update 101.
Signed-off-by: cpw <[email protected] >
2019-02-10 23:41:40 -05:00
cpw
f83500db11
Its 2019. Update licence headers to match.
...
Signed-off-by: cpw <[email protected] >
2019-02-10 17:57:03 -05:00
cpw
fd02d81e73
Fix Terminal Handler and GUI logging on dediserver, hopefully..
...
Signed-off-by: cpw <[email protected] >
2019-02-10 17:51:25 -05:00
cpw
0d379fdd6b
Fix config to use new system properly, without exploding the server.
...
Separates server specific config into the server config file.
Signed-off-by: cpw <[email protected] >
2019-02-10 16:38:14 -05:00
cpw
f6fd800242
Fix up accidental newline removal that broke the console...
...
Signed-off-by: cpw <[email protected] >
2019-02-10 16:31:49 -05:00
cpw
c25214aaf4
Fix #5429 properly, without breaking symlinks on linux..
...
Signed-off-by: cpw <[email protected] >
2019-02-10 15:58:12 -05:00
cpw
c6afb2be3f
Move to using Minecrell's terminal logger directly, for better ANSI control and JLine support.
...
Signed-off-by: cpw <[email protected] >
2019-02-10 14:35:21 -05:00
cpw
13501a8b05
Make a second logger with colour highlighting and control it with a sysproperty:
...
forge.logging.colourconsole.level (defaults to off)..
Signed-off-by: cpw <[email protected] >
2019-02-10 11:45:36 -05:00
cpw
dae5994e9d
Tidy up modcontainer building and discovery..
...
Signed-off-by: cpw <[email protected] >
2019-02-10 11:44:47 -05:00
cpw
b28a418bd9
Use a configuration value for the thread count, make it default to
...
availableProcessors when set to <=0 (default value is -1)
Signed-off-by: cpw <[email protected] >
2019-02-10 11:44:22 -05:00
cpw
64f69cf5c9
Revert "Make sure to create entire path for directory, fixes #5429 "
...
This reverts commit 77dd9eb8
This will completely break symlinks on linux.
Signed-off-by: cpw <[email protected] >
2019-02-10 10:26:21 -05:00
m00nl1ght-dev
8084ca43b9
Port CommandEvent and custom entity selectors to 1.13 ( #5411 )
2019-02-08 17:41:50 -08:00
LexManos
2e5f25d8ae
Finish off most old patches, fix issue for mounted entities.
2019-02-08 17:40:07 -08:00
Vincent Lee
04b0d24678
Patch direct accesses to Entity.type to use getter instead ( #5308 )
2019-02-07 19:11:45 -08:00
Vincent Lee
153e7a1806
Tentatively reintroduce a container-opening system
2019-02-07 20:31:17 -06:00
tterrag
065ebd748a
Add synchronized modifier to runtime enhanced enum methods
2019-02-07 17:01:40 -05:00
tterrag
79c17cb542
Add IExtensibleEnum, fix DimensionType create method
2019-02-07 16:36:30 -05:00
LexManos
9245975955
Change IRenderHandler to an interface Closes #4640
2019-02-07 12:03:13 -08:00
mcenderdragon
6ea19ec8bf
Made functional interface IChunkGeneratorFactory public ( #5395 )
2019-02-06 23:18:47 -08:00
Bartosz Skrzypczak
b527bf8ab3
Fix leaking unclosed InputStream in Scanner.fileVisitor ( #5432 )
2019-02-06 22:57:00 -08:00
LexManos
0b1b3c68fa
Invalidate capabilities that we attach to vanilla entities and TileEntities. Closes #5307
2019-02-06 22:55:17 -08:00
LexManos
d930c8ae8b
'Fix' Specific y-levels in water behaving like you're in air. Closes #5341
2019-02-06 21:43:37 -08:00
LexManos
053c5300ed
Reintroduce ObfuscationReflestionHelper closes #5373
2019-02-06 20:46:21 -08:00
LexManos
e8ae18efda
Fixed Crosshair attack indicator texture issue Closes #5442
...
Add friendlier error message for @Mod annotations with missing mods.toml entry. Closes #5440
Remove Log4J console highlighting. As it doesn't work on many consoles, and prints invalid characters. Closes #5420
2019-02-06 18:18:01 -08:00
Merlin Addams
39965c55ac
Let ItemGroup provide it's own tabs image resource location ( #5330 )
2019-02-06 16:30:43 -08:00
Merlin Addams
f87dca2ad4
Allow GuiContainer and ItemGroup to specify slot hover colors ( #5332 )
2019-02-06 15:29:12 -08:00
Jack Taylor
3e02903d19
Port Minecraft client patch for 'ClientTickEvent' ( #5397 )
2019-02-06 15:14:18 -08:00
Merlin Addams
febae7f8f2
Fix statistics gui crashing when handling input events ( #5435 )
2019-02-06 15:12:15 -08:00
LexManos
71dd5c9f4d
Properly set context classloader in mod loading threads.
2019-02-05 22:42:21 -08:00
LexManos
aa91af865d
Rework server launching at runtime to include needed default arguments and validate libraries exist.
...
Move Forge config loading to manual while config system is in development.
2019-02-04 18:23:58 -08:00
Girafi
9119e395d4
Added 'create'-method for EnumCreatureType ( #5400 )
2019-02-04 11:40:03 -08:00
Merlin Addams
68433924c7
Fix redstone power calculation ( #5433 )
2019-02-04 11:38:54 -08:00
Merlin Addams
87b67cb45a
Fix wrong grass block being used for comparisons ( #5434 )
2019-02-04 11:38:01 -08:00
tterrag
77dd9eb883
Make sure to create entire path for directory, fixes #5429
2019-02-04 12:31:47 -05:00
cpw
e000fd2f8f
Put the FMLModContainer back in it's cage. Delete the ClasspathLocator.
...
Signed-off-by: cpw <[email protected] >
2019-02-01 20:37:04 -05:00
cpw
e4d20a80ed
Use the resource pack directly in the GuiModList, skip the resourcepackinfo.
...
Closes #5418
Signed-off-by: cpw <[email protected] >
2019-02-01 16:55:28 -05:00
LexManos
36866fed10
Fix inventory items not properly being synced to client. Closes ##5421 & #5417
2019-02-01 10:41:48 -08:00
cpw
55691fce4e
Expose the ModFile in the scan data, so languages can read it and make
...
mod construction decisions.
Signed-off-by: cpw <[email protected] >
2019-01-31 23:09:47 -05:00
Justin
d2a3b5bed8
Fix RuntimeEnumExtender creating new enums with incorrect ordinal value ( #5402 )
2019-01-30 12:51:14 -08:00
cpw
6365674a2a
Config watching and config events now actually work!
...
Also fixed small bug with MOD_CLASSES not defaulting to empty string.
Signed-off-by: cpw <[email protected] >
2019-01-29 15:42:56 -05:00
cpw
7a02ccc3a8
ConfigEvents - the beginning.
...
Signed-off-by: cpw <[email protected] >
2019-01-28 22:42:37 -05:00
cpw
2918864248
Merge branch 'pull/5405' into 1.13-pre
2019-01-28 20:50:12 -05:00
cpw
9fbfe2b98e
Fix 5408 by making Paths from the default provider (not inside jars)
...
offer a FileInputStream rather than Files.newInputStream. Fun. Stupid
ancient paulscode.
Signed-off-by: cpw <[email protected] >
2019-01-28 20:37:25 -05:00
LexManos
b40e2cc59e
More old patch work, cleaned up static methods added to ItemStack, and various networking functions.
2019-01-28 16:25:49 -08:00
ichttt
3eac9c536b
Config option implemented
2019-01-27 22:02:58 +01:00
ichttt
ad32b01d85
Reimplement update checker
2019-01-27 21:23:24 +01:00
ichttt
da33233762
Update for ForgeSPI change, revert back to VersionStatus checking
2019-01-27 20:51:35 +01:00
ichttt
c2a7fe4019
Bring back the forge beta warning. Use a check to see if the forge minor version is zero, as ForgeVersion.getStatus() is not implemented
2019-01-27 19:50:59 +01:00
cpw
0067d3edce
Merge branch 'pull/5404' into 1.13-pre
2019-01-27 11:45:08 -05:00
cpw
ebf038231e
Use recommended approach to applying version data to mdk.
...
Signed-off-by: cpw <[email protected] >
2019-01-27 11:42:47 -05:00
cpw
f767b7096c
Fix mdk properties - now the mdk offers default console debug logging
...
with various useful channels for development enabled.
Signed-off-by: cpw <[email protected] >
2019-01-27 11:42:46 -05:00
GoryMoon
161227b1de
Fixed missed OptionalCapabilityInstance to LazyOptional refactors in patches
2019-01-27 14:47:27 +01:00
tterrag
8e43dfa7a6
Refactor OptionalCapabilityInstance to LazyOptional; clean up
...
- Move to util package, rename to LazyOptional
- Clean up existing javadocs, add javadocs to everything missing them
- Add more NonNull functional interfaces, and use them everywhere
- Move orEmpty() to Capability, works better here anyways
2019-01-27 01:41:07 -05:00
cpw
0a11ffb827
More logging tweaks, including some aimed at userdev.
...
`forge.logging.markers=<LIST OF MARKERS>` will enable markers.
Signed-off-by: cpw <[email protected] >
2019-01-27 00:06:57 -05:00
cpw
3c55b46ca0
Big cleanup of logging. Might do some tweaks of the userdev logging, but this should be good for vanilla..
...
Signed-off-by: cpw <[email protected] >
2019-01-26 22:18:28 -05:00
mezz
7d21e5d328
Cherry pick mezz's logging improvements..
...
Signed-off-by: cpw <[email protected] >
2019-01-26 21:09:43 -05:00
cpw
043069dc8a
Update to 0.9.0 of modlauncher..
...
Signed-off-by: cpw <[email protected] >
2019-01-26 17:38:59 -05:00
cpw
ea26434987
Merge branch 'ichttt-fixDuplicateNamespace' into 1.13-pre
2019-01-26 17:37:06 -05:00
ichttt
9ee34f57f5
Fix some of minecraft's resources loading twice, as minecraft is on the list of namespaces as minecraft and as an empty string
2019-01-26 23:23:05 +01:00
cpw
d539dc12a1
Fix modsorter to not crash on soft dependencies that don't exist.
...
Signed-off-by: cpw <[email protected] >
2019-01-26 17:07:17 -05:00
cpw
c578cae676
Fix resource pack info generator - use the first modid as part of the
...
pack prefix.
Signed-off-by: cpw <[email protected] >
2019-01-26 16:56:10 -05:00
cpw
8b74b32909
Make MOD_CLASSES available to the forge development environment as well.
...
Signed-off-by: cpw <[email protected] >
2019-01-26 13:07:30 -05:00
cpw
1d1133123b
Change MOD_CLASSES to support %% separated paths, that are grouped into
...
<prefix>%%<path> sets. Allows for multiple mods to be located in UserDev.
Signed-off-by: cpw <[email protected] >
2019-01-26 12:29:55 -05:00
cpw
0bdafb976e
Fix handing the "minecraft" dependency properly by adding it to the list
...
of mods.
Signed-off-by: cpw <[email protected] >
2019-01-26 11:23:51 -05:00
Vincent Lee
13f9418201
Send head yaw, use setPositionAndRotation
2019-01-26 10:25:20 -05:00
Vincent Lee
a771a3ea06
Add license header
2019-01-26 10:25:20 -05:00
Vincent Lee
39633eef4f
Clean up patch a bit, check for net.minecraft.
2019-01-26 10:25:19 -05:00
Vincent Lee
1f11ac76fa
Readd modded entity spawning/tracking support
2019-01-26 10:25:19 -05:00
mariaum
2e1456517a
Fix first call to ToolType.get always returning null ( #5396 )
2019-01-25 22:40:03 -05:00
tterrag
4db208332e
Fix NPE in ItemGroup concurrency patch
2019-01-25 19:07:37 -05:00
SquidDev
659091c565
A couple of minor improvements and fixes to ForgeConfigSpec ( #5394 )
...
- Use the config file's path instead of the config object in error messages.
- Print the dotted path of each config key instead of the array version (group.item instead of [group item]).
- Fix comments causing a config file to be considered incorrect.
- Pass each list element to the element validator, rather than the whole list.
2019-01-25 13:43:06 -08:00
mezz
c8c54113d0
Add RecipesUpdatedEvent, fired when recipes are downloaded from the server. ( #5303 )
2019-01-25 13:36:42 -08:00
Vincent Lee
69f8e57cea
[1.13] A sweep through deprecations ( #5345 )
2019-01-25 13:29:52 -08:00
ShetiPhian
06a6fac23a
Add a RayTraceResult method to Block that can be can be overridden ( #5354 )
2019-01-25 13:29:07 -08:00
Vincent Lee
fa939a890c
[1.13] Make Caps, TESR, Entity renderers, and keybinds thread safe to call during parallel init ( #5359 )
2019-01-25 13:14:49 -08:00
Adubbz
2c8ab76240
[1.13] Check canSustainPlant for valid ground in BlockBush ( #5362 )
2019-01-25 13:12:34 -08:00
LexManos
7a651b8c1f
Repatch missed hasTileEntity redirects. And cleanup related patches. Closes #5369
2019-01-25 13:11:06 -08:00
Merlin Addams
d04df43b27
Fixed fence and iron bars block placement ( #5372 )
2019-01-25 11:24:56 -08:00
mcenderdragon
d3c9db906f
Make ChunkGeneratorType.Settings accessible for modders ( #5376 )
2019-01-25 11:24:24 -08:00
mcenderdragon
f6e2c5c1f0
Make ItemGroup constructor threadsafe ( #5384 )
2019-01-25 11:23:34 -08:00
mariaum
cc682fd786
Fix item interaction in creative mode. ( #5385 )
2019-01-25 11:21:03 -08:00
mariaum
6643997304
Fix #5365 : Some chat messages lose their formatting ( #5386 )
2019-01-25 11:19:49 -08:00
LexManos
7b867d0069
Fix vanilla trying to load the constants json as an recipe. Closes #5388
...
Force constant names to use namespace of their json file. To prevent conflicts.
2019-01-25 11:18:25 -08:00
Brennan Ward
a15c4dc9b0
Add recipe types for faster runtime iteration. ( #5312 )
2019-01-25 10:22:41 -08:00
tterrag
7c11fe1022
Fix capability attach event not firing with base type
2019-01-24 21:04:50 -05:00
Jack Taylor
66f816971f
Port Minecraft client patch for 'RenderTickEvent' ( #5329 )
2019-01-24 12:27:25 -08:00
SquidDev
98c6d5a5f6
Add back several missing patches for FML events ( #5390 )
2019-01-24 12:27:05 -08:00
tterrag
0b2a98f956
Fix dependents not being loaded into mod sorter
2019-01-23 20:04:57 -05:00
liach
c01b336095
Improves topological sort
...
This can be used for mod sorting, dependencies between registries, etc.
e.g. https://github.com/MinecraftForge/MinecraftForge/pull/4694#issuecomment-412520302
New features:
Now accepts guava graph
Performance improvement: no longer reverse the graph; changed dfs to bfs
Accepets a comparator for secondary order, e.g. natural order, index by map
Now properly reports all cycles in a graph with Tarjan's strongly connected component algorithm
Adds a test to prove the validity of the sort and cycle detection
Modified build.gradle for test source directory and dependencies
Mod loading changes:
Sort mod file info instead of suppliers (we don't have suppliers instances)
Moves cycle error reporting out of topological sort and into mod sorter
Prevent mod file dependencies between mods that share the same file
Signed-off-by: liach <[email protected] >
2019-01-21 03:06:27 +00:00
cpw
040cc4bf16
Expose a couple of mods.toml properties properly. Half-implemented
...
override namespace - still needs to be reviewed and determined how this
might work in detail.
Signed-off-by: cpw <[email protected] >
2019-01-20 21:26:31 -05:00
SquidDev
eefc4d3e84
Use the reply logical side when enqueing work
...
When receiving a packet, NetworkDirection.getLogicalSide details where
the packet was the packet was sent from. Therefore, on a client it'll
be SERVER (and vice virsa), and so the work is queued on the sever
thread, instead of using Minecraft.
2019-01-20 12:31:12 -05:00
ichttt
c3c979f11a
Use minecraft's util class to open files
2019-01-20 12:23:44 -05:00
ichttt
276d0c49c1
Validate mod ids
2019-01-20 12:23:44 -05:00
cpw
7c840dce35
Fix classcast in autoeventsubscriber, also actually make progression
...
work properly. This whole thing is a bit of a gross hack.
Signed-off-by: cpw <[email protected] >
2019-01-20 12:20:27 -05:00
alexbegt
2bee5f7ac6
Fix recipe constants being overridden by a blank map. Closes #5380
2019-01-20 16:03:09 +00:00
cpw
60524f0f3e
Fix case error in AutomaticEventSubscriber
...
Signed-off-by: cpw <[email protected] >
2019-01-20 00:32:11 -05:00
cpw
1170772a4f
Tell travis to skip 1.13 builds - they don't work there.
...
Signed-off-by: cpw <[email protected] >
2019-01-19 23:35:20 -05:00
cpw
f4d2d1a24b
Move Registry Events to the mod event bus.
...
Add infrastructure to allow parallel or synchronous dispatch of
mod events, and pass-through of events to the dispatch system.
Signed-off-by: cpw <[email protected] >
2019-01-19 23:27:27 -05:00
tterrag
ff2e35c243
Greatly improve DeferredWorkQueue API ( #5357 )
2019-01-18 21:10:22 -05:00
tterrag
0d1a2f2af3
Add utilities that RuntimeEnumExtender expects to exist
2019-01-17 13:11:54 -05:00
LexManos
3b029ba031
Re-introduce patch for injecting registry mappings during world loading.
...
And re-introduce registry freezing to ONLY the Register events.
Filter ObjectHolders by registry type and fire between every Register event.
2019-01-16 12:28:13 -08:00
tterrag
cd21f7b927
Implement ConfigValue as a wrapper around ForgeConfigSpec results ( #5361 )
2019-01-15 23:28:40 -05:00
cpw
755eff7415
Fix exploded directory locator to actually scan all paths for a file.
2019-01-15 22:14:23 -05:00
cpw
0d3f28bd52
Update MDK for new naming scheme
2019-01-14 22:43:17 -05:00
cpw
56a3926b86
Fix up event naming, move them to sensible packages and document everything a bit.
2019-01-14 22:43:17 -05:00
Vincent Lee
220bf8730a
[1.13] Expand tag deserializer to add optional values and remove values without overwriting everything. ( #5350 )
2019-01-14 19:23:36 -08:00
mezz
118eac8f39
Fix mod lifecycle event names
2019-01-14 14:00:15 -08:00
cpw
99452a8b45
Update a bunch of libs, rename some of the mod events to more
...
meaningful names.
2019-01-14 00:39:00 -05:00
LexManos
eb42614288
Add list support to ForgeConfigSpec.
...
Fix incorrect Supplier used in ForgeConfigSpec.
Port ForgeChunkManager config to new system.
Delete old Configuration classes. It's finally gone!
2019-01-11 23:01:08 -08:00
tterrag
5238eca241
Add list of so-far skipped 1.12 commits
2019-01-11 18:32:17 -05:00
InsomniaKitten
94af6c7f9d
Add CreativeTabs#getLabelColor
...
Patch skipped, was already applied in https://github.com/MinecraftForge/MinecraftForge/commit/47a11b9a7e35c2a2273b6828bd802f2cb06f5cd7#diff-0ea0358443c2ecf3b8682228736149b3R71
2019-01-11 18:32:17 -05:00
XCompWiz and tterrag
f2b54acd67
Allow providing a BufferedImage for banner render generation ( #5041 )
...
Ported to 1.13 using NativeImage
Co-authored-by: tterrag <[email protected] >
2019-01-11 18:32:17 -05:00
Tim
497bc10d0a
Fix Mesa biome entry tags in the BiomeDictionary ( #5177 )
2019-01-11 18:32:17 -05:00
Ben Staddon
c1bb5cb250
Patch PotionHelper to use registry delegates ( #5142 )
2019-01-11 18:32:17 -05:00
mezz
51910fe83b
Update github stale so issues can be Assigned
2019-01-11 18:32:16 -05:00
tterrag and Gabriel Harris-Rouquette
958bbf6c9a
Fix MC-136995 - Chunk loading and unloading issue with entities placed in exact positions. ( #5160 )
...
This includes three commits from 1.12.x:
https://github.com/MinecraftForge/MinecraftForge/commit/c20a5e8805f64097430cf0722011f20862a8df9c
https://github.com/MinecraftForge/MinecraftForge/commit/93b704b459c6f537d3b1651008c49ce1db2e0ca1
https://github.com/MinecraftForge/MinecraftForge/commit/ee0d43bbde37e258c36de1003436dbe3fcf88077
Scatter gun patches to improve entity tracking and position tracking.
Provided by Aikar through the Paper project, this commit of patches combines the following patches:
https://github.com/PaperMC/Paper/blob/fd1bd5223a461b6d98280bb8f2d67280a30dd24a/Spigot-Server-Patches/0306-Mark-chunk-dirty-anytime-entities-change-to-guarante.patch
https://github.com/PaperMC/Paper/blob/fd1bd5223a461b6d98280bb8f2d67280a30dd24a/Spigot-Server-Patches/0315-Always-process-chunk-registration-after-moving.patch
https://github.com/PaperMC/Paper/blob/fd1bd5223a461b6d98280bb8f2d67280a30dd24a/Spigot-Server-Patches/0335-Ensure-chunks-are-always-loaded-on-hard-position-set.patch
https://github.com/PaperMC/Paper/blob/fd1bd5223a461b6d98280bb8f2d67280a30dd24a/Spigot-Server-Patches/0378-Sync-Player-Position-to-Vehicles.patch
Co-authored-by: Gabriel Harris-Rouquette <[email protected] >
2019-01-11 18:32:16 -05:00
David Quintana
e98951ee65
Fix blockstate id map calculation. ( #5279 )
2019-01-11 14:52:30 -08:00
LexManos
3765d912a5
Move @EventBusSubscriber application to just after construction instead of pre-init.
2019-01-11 12:28:06 -08:00
Vincent Lee
849bc00b46
Make Block.Builder methods accessible. Closes #5310 ( #5313 )
2019-01-11 11:47:51 -08:00
Vincent Lee
f3715c3e2e
Fix exception mismatch for entity types ( #5344 )
2019-01-11 11:47:36 -08:00
Vincent Lee
985a48f02e
Fix datapack walking not working for mod datapacks. Closes #5334 ( #5335 )
2019-01-09 20:59:40 -08:00
Vincent Lee
4e196a445a
Add missing setSeed calls to ForgeBlockModelRenderer ( #5338 )
2019-01-09 20:57:55 -08:00
LexManos
36d2e67b07
Reimplement @ObjectHolder scanning, and expose system for others to add handlers.
...
Fix forgedev and userdev run configs.
Fix issue in log functions assuming String arguments.
2019-01-09 20:57:01 -08:00
LexManos
34568a0a74
Fix reference to IForgeDimension.SleepResult being through Dimension, thus causing a Srg2Source issue.
...
And improper getWorld patch.
2019-01-08 05:52:25 -08:00
LexManos
f7acc73282
Update userdev and runconfigs for ForgeGradle changes.
2019-01-08 00:29:36 -08:00
cpw
60926ad6ea
Fix some translation strings. Will pull a big string update from crowdin too.
2019-01-06 21:02:08 -05:00
cpw
f734e614e4
Fire registry events before preinit and after construct.
2019-01-06 17:19:18 -05:00
cpw
997a15c0f2
Update to 0.4.0 of modlauncher
2019-01-06 16:34:32 -05:00
cpw
1b40618f02
Fix classloading properly. ModLoadingClassLoader doesn't work
...
with the proper delegation model. Abandoned it, in favour of injecting
locators into the Transformer classloader directly.
2019-01-06 16:24:32 -05:00
cpw
58c78560fa
Fix up some stuff with resource packs, so the guilist works properly.
2019-01-05 10:19:47 -05:00
cpw
1d1ec57909
Update mdk with some tweaks for building
2019-01-05 00:14:07 -05:00
cpw
fd9c83b65f
Finish up classloading system. Use ModJARURL to locate resources
...
and enable ModLauncher to use those instead. This allows all mods to load
within the scope of the game classloader, removing weird conflicts and
class discovery problems.
2019-01-04 23:56:10 -05:00
cpw
6baddc7e26
client and server work standalone and in forge dev. Next up userdev.
...
Moved some launchplugin code to the launcher. Moved servermain to
the launcher.
server currently needs cmdline arguments --fml.forgeVersion=24.0.51-1.13-pre --fml.mcVersion=1.13 --fml.mcpVersion=2018.09.12.04.11.00 --fml.forgeGroup=net.minecraftforge.test
2019-01-01 21:35:23 -05:00
cpw
e9580877b4
fix up some discovery code, and make regular runtime _mostly_ work.
...
Still WIP and doesn't quite get to main screen yet.
2019-01-01 16:50:04 -05:00
LexManos
440649bb95
Fix new launcher jar packaging.
...
Run license checker over new code.
2018-12-31 16:48:23 -08:00
cpw
48846bc0ba
separated fmllauncher code from main forge mod code. This enables much
...
stronger classloader separation between the two sides. Forge now
loads as a regular mod.
Still needs a bunch of debugging, but structure looks good and game loads
in forge dev.
2018-12-31 16:34:33 -05:00
cpw
558e1d2fb0
ResourceLocation Utils for doing things..
2018-12-31 16:34:33 -05:00
tterrag
0b26047ea8
Better documentation for IForgeWorldType, TERFast, TERAnimation
...
Also rename AnimationTESR to TileEntityRendererAnimation
2018-12-29 12:18:10 -05:00
tterrag
7f5a57f4af
Fix patch mistake in IForgeWorldType: CUSTOMIZED -> BUFFET
2018-12-29 12:01:41 -05:00
mezz
dc12cda505
Clean progress bar code and fix TextureMap patch ( #5304 )
2018-12-28 18:05:05 -08:00
mezz
b4cf6f7f36
Implement GuiScreen events for mouse and keyboard ( #5297 )
2018-12-23 23:46:42 -08:00
mezz
f2f04407a4
Add the sender to NetworkEvent.Context for server-side event handlers ( #5295 )
2018-12-22 23:24:11 -08:00
tterrag
8a11e3bac4
Port most of the world patches ( #5294 )
2018-12-22 10:31:18 -08:00
LexManos
4879b0611a
Change how Forge itself is located to be loaded similar to a real mod.
...
Fixes Minecraft/Forge annotation data missing.
Fix Capability injection.
2018-12-21 16:07:39 -08:00
tterrag
d11a67499d
FastTESR -> TileEntityRendererFast
2018-12-21 17:53:01 -05:00
tterrag
b3b8c78527
Rendering patches ( #5262 )
2018-12-21 14:45:35 -08:00
mcenderdragon
0bfa76251d
Added JVM argument so lwjgl dll extraction works with unicode os usernames, closes #5282 ( #5283 )
2018-12-20 12:09:34 -08:00
LexManos
a992a4325b
Change getWorld function name to prevent inheritance change in Chunk
2018-12-18 16:11:03 -08:00
David Quintana
c1225f3876
Fix the path handling for mod jar resource packs. ( #5228 )
2018-12-18 12:48:39 -08:00
David Quintana
152836c907
Add raytrace logic to the GuiOverlayDebugForge, so that the debug overlay can show the currently targetted block and liquid. ( #5278 )
2018-12-16 12:47:16 -08:00
David Quintana
e47a4ea514
Fix typo in patch, that was preventing the key assigned to the chat keybind from working while in a searchable tab in the creative GUI. ( #5276 )
2018-12-16 11:04:37 -08:00
David Quintana
52b6da1759
Fix classloading issues in userdev (and possibly also for things like tests within forgedev) ( #5275 )
2018-12-13 15:33:35 -08:00
LexManos
f13465012b
World and TileEntity patch work.
...
TerrtainGen events are removed, 1.13's world gen re-write invalidates them all.
2018-12-13 01:15:53 -08:00
David Quintana
b7b5dd5bea
Create a userdev-specific main, and include it as an injected file in the userdev jar. ( #5231 )
2018-12-11 20:04:23 -08:00
LexManos
7265900c62
More entity patch work. ISpecialArmor deleted.
2018-12-10 22:19:43 -08:00
Jamie Mansfield
7a77298a60
Port some patches to 1.13 ( #5267 )
2018-12-10 12:37:14 -08:00
David Quintana
0177e7558e
Fix vanilla exception mismatch: DataFixerUpper throws IllegalArgumentException but Minecraft tries to catch IllegalStateException instead, causing a hard crash instead of a soft one. ( #5229 )
2018-12-10 12:05:34 -08:00
Liqueur Librazy
719ea50d1a
Use getRawSchemeSpecificPart to preserve escape characters in uri, fix #5236 ( #5237 )
2018-12-10 11:07:50 -08:00
LexManos
bbf1ea41b8
world.gen.feature patches, worldgen should be stable with vanilla. In all places I looked.
2018-12-06 18:09:47 -08:00
LexManos
eb22f42fea
More patch work, our async chunk loading doesn't appear to be viable for 1.13.
2018-12-05 18:08:27 -08:00
LexManos
dd32e74e34
Entity patches progress.
2018-12-05 01:16:33 -08:00
malte0811
e1b4a150c3
Fix race condition causing the FML handshake to hang ( #5222 )
2018-12-04 12:22:01 -08:00
LexManos
76d912c0ba
Include project group in ForgeVersion and determine path to patched jar.
...
While testing we install to net.minecraftforge.test. So don't hardcode it.
2018-12-04 11:55:50 -08:00
LexManos
a3c8e04ee6
Item and NBT patches, IShearable blocks are responsible for setting themselves to air, to allow for setting other states.
2018-12-03 18:04:37 -08:00
LexManos
bf9158172f
Most client patches done except the render pipeline.
...
Someone who has more in depth knowledge of that rendering system will need to do it.
2018-11-28 22:15:05 -08:00
LexManos
b687180e12
Add my 'patches_old' directory, so that people can see my "progress".
...
Once the old folder is done, then patches are done.
Want to know whats still to do? Look in that folder.
Now stop asking.
2018-11-22 13:43:17 -08:00
LexManos
47a11b9a7e
GUI Patches
2018-11-21 21:23:24 -08:00
LexManos
b6ddb0a7cf
More patchwork.
2018-11-19 19:55:46 -08:00
LexManos
acb7acd661
Fix imports, remember to re-run gen patches!
2018-11-16 23:19:04 -08:00
LexManos
7c0d94ce9c
Patch work, most of block classes, and fix eclipse run configs.
2018-11-16 23:15:39 -08:00
LexManos
763b3e806e
Add a a test publish stage to jenkins file for PRs. Should allow for full publish cycle test without actually publishing.
2018-11-15 14:00:18 -08:00
malte0811
b5264cacf0
Fix crash when placing furnaces or brewing stands in 1.13 ( #5225 )
2018-11-15 13:55:18 -08:00
LexManos
f1552ef20d
Fix changelog classifier, and prevent jenkins from running concurrent builds.
...
And remove caching from setup, as it doesn't use the rangemap.
2018-11-15 12:40:30 -08:00
LexManos
de7eeed916
Make Forge group/name dynamic in MDK as well.
2018-11-14 13:42:11 -08:00
LexManos
93eabce1bc
Include changelog in published artifacts.
2018-11-14 13:39:56 -08:00
LexManos
e693dd4923
Fix jenkinsfile version detection and attempt caching rangemap again.
2018-11-13 20:29:42 -08:00
LexManos
7f9acac469
Fix version number not having MC prefix, and build artifacts.
2018-11-13 16:49:03 -08:00
LexManos
506d5b18de
Workaround for gradle issue with jar signing.
2018-11-13 16:32:55 -08:00
LexManos
5110796591
Setup instead of build.
2018-11-12 22:29:46 -08:00
LexManos
eafeba9fed
Change checkout process.
2018-11-12 20:24:14 -08:00
LexManos
b7a1676b15
Disable tests until we re-make them.
2018-11-12 20:21:02 -08:00
LexManos
72b63e7b36
Move cache again, documentation is vague.
2018-11-12 20:18:43 -08:00
LexManos
fe3fcef7a9
Potentially fix cache in Jenkinsfile.
2018-11-12 20:13:59 -08:00
LexManos
714b09ddcb
Fix missing quote.
2018-11-12 20:00:15 -08:00