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
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
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 <cpw+github@weeksfamily.ca>
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
e1863383ff
Fix naming conflicts with official names.
2019-09-04 22:33:17 -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
cpw
a4aa85259e
Add in some client only player connectivity events. Closes #5536
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
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 <cpw+github@weeksfamily.ca>
2019-08-31 13:55:46 -04:00
David Quintana
68ff1afac1
Hookup BlockEvent.FluidPlaceBlockEvent ( #6103 )
2019-08-31 14:15:08 +02: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
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
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
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 <kinglemming@gmail.com>
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
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
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
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
its_meow
50e411b82a
Add piston events ( #5798 )
2019-08-02 14:12:21 -07:00
henkelmax
e83e00520f
Fixed PlayerInteractEvents not working ( #5976 )
2019-08-02 13:44:17 -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
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 <cpw+github@weeksfamily.ca>
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
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
fcd9582133
Fix datafixer exception catch: Closes #5951
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-07-20 19:59:08 -04:00
JoJoModding
2f83234ccb
Fix spam during startup ( #5957 )
2019-07-20 14:55:21 -07: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
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
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
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
8742d74e93
Pass tick counter to custom render handlers ( #5744 )
2019-07-08 19:55:47 -07:00
ichttt
06a30e9f23
Adds some explanatory javadocs and check world in ModelDataManager ( #5762 )
2019-07-08 19:47:18 -07:00
ichttt
d41fad51c2
Add IModelData to getParticleTexture ( #5756 )
2019-07-08 19:46:32 -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
bed266f310
Fixed #5895 : Shearing via Displenser drops Shears ( #5906 )
2019-07-08 15:47:34 -07:00
Suppergerrie2
3992ea5c59
Added harvestLevel and harvestTool setter to the Block.Properties. ( #5916 )
2019-07-08 15:45:53 -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
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
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 <cpw+github@weeksfamily.ca>
2019-06-30 23:48:54 -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
MajorTuvok
7915397377
Add extension to write entry id's to PacketBuffer's ( #5812 )
2019-06-25 13:55:24 -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
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 <cpw+github@weeksfamily.ca>
2019-06-23 16:01:20 -04:00
cpw
448d996a45
First pass of adding text to the loading progress UI. It deliberately uses the very primitive STB
...
generated font, so can only render basic ASCII text, and also only renders pre-defined strings,
as translations aren't available either.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-22 23:39:00 -04:00
cpw
89baeb3d5d
Fix StartupQuery, and put tests back.
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2019-06-22 19:58:10 -04:00
cpw
83a0dc2ef9
Merge remote-tracking branch 'origin/1.14.x' into 1.14.x
2019-06-21 22:42:33 -04:00