Bagel
e2a205d2e7
Add MobEffect tags ( #8231 )
2021-12-13 13:32:04 -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
Marc Hermans
14e152579b
[CVE-2021-44228]: Update Log4J to fix the security issue inside it. ( #8268 )
2021-12-10 01:23:30 -08: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
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
abe4afe152
Add missing biomes back to the BiomeDictionary
2021-12-02 00:43:00 +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
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
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
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
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
ichttt
a784bdb0d0
Remove the remnants of the selective reload listener ( #8072 )
2021-11-09 14:30:45 -08:00
uSkizzik
417798f2eb
Fix part entities not working at all ( #8177 )
2021-11-09 14:16:40 -08: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
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
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
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
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
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
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
be1698bb15
Move ItemStack#forgeInit call earlier to allow earlier capability queries ( #8096 )
2021-09-19 16:35:55 -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
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
ichttt
804f390064
Remove old Log4j thread cache invalidation ( #8068 )
2021-09-16 16:37:16 -07:00