Brennan Ward
33880331d2
Fix RightClickBlock ALLOW not being implemented ( #7426 )
2020-12-28 11:54:30 -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
Richard Freimer
45f8dc5245
Add support for custom tag types ( #7289 )
2020-09-08 19:10:36 -07:00
LexManos
fe43088c96
Initial 1.16.2 Update
2020-08-13 00:35:08 -07:00
LexManos
88d02712db
Fix missed patch in PlayerList and EntitySelectioonContext. Closes #6846 Closes #6850
2020-06-29 13:57:10 -07:00
Anthony Anderson
ca2ed1ff7a
Final patching
...
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-06-25 17:55:54 -04:00
covers1624
80eb12e59d
Compiling fixes - IN GAME!
2020-06-25 17:55:52 -04:00
cpw
6d15febdb3
Setup and import of 1.16 YEET
2020-06-25 17:55:38 -04: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
Daniël Goossens
1b618fae90
Fix RightClickBlock code differences between client and server implementation ( #6451 )
2020-01-29 13:11:50 -08:00
LexManos
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 <gigaherz@gmail.com>
Co-authored-by: tterrag <tterrag1098@gmail.com>
Co-authored-by: Unnoen <theunnoen@gmail.com>
2019-12-17 03:38:12 +01:00
Paul Becker
ff7a2fe4d6
Reimplement usage of Item#doesSneakBypassUse() ( #6114 )
2019-10-28 13:24:15 -07:00
Daniël Goossens
8e74ba8c24
Fix #6244 RightClickBlock#getUseBlock and #getUseItem being ignored ( #6246 )
2019-10-17 19:13:16 -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 <cpw+github@weeksfamily.ca>
2019-10-02 21:54:02 -04:00
Daniël Goossens
68524ddde9
Fixed PlayerInteractEvent.LeftClickBlock useItem/useBlock ( #6045 )
2019-09-03 14:41:46 -07: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
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
bl4ckscor3
94621fecd1
Cover more cases for RightClickBlock event and restore onItemUseFirst ( #6009 )
2019-08-15 10:34:59 -07:00
henkelmax
e83e00520f
Fixed PlayerInteractEvents not working ( #5976 )
2019-08-02 13:44:17 -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
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
LexManos
ff0bb8c83c
Initial 1.14.3 update.
2019-06-24 19:01:03 -07: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
LexManos
a7df63e1a1
Update to 1.14.2
2019-06-07 16:50:47 -04:00
Vincent Lee
d7949d5316
Fix caps not being visible on old player during clone event ( #5728 )
2019-05-13 09:57:50 -07:00
Ben Staddon
1f0467b864
Add Forge dimension-changing hooks to spectator handling code ( #5212 )
2019-04-25 15:08:15 -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
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
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
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
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 <cpw+github@weeksfamily.ca>
2019-02-10 16:38:14 -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
SquidDev
98c6d5a5f6
Add back several missing patches for FML events ( #5390 )
2019-01-24 12:27:05 -08:00
tterrag
cd21f7b927
Implement ConfigValue as a wrapper around ForgeConfigSpec results ( #5361 )
2019-01-15 23:28:40 -05: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
cpw
330db1a54d
Patches deleted
2018-09-05 12:58:49 -07:00
Ben Staddon
1171668c25
Allow sending packets to client from ServerConnectionFromClientEvent ( #4991 )
2018-08-16 13:03:32 -07:00
bloodmc
603f4bd7a3
Check use item result before calling onItemUseFirst. ( #5016 )
2018-07-14 14:28:42 -07:00
Vincent Lee
272b337aa3
Fix MC-88179 in a better way that avoids and closes #4824 ( #4830 )
2018-04-02 12:58:15 -07:00
Ben Staddon
fe3478f233
New ITeleporter interface making dimensional teleportation easier. ( #4602 )
2018-04-01 01:55:45 -07:00
Vincent Lee
1d7c04daeb
Add a FML outbound target for all players tracking a point or entity in the world. Closes #3677 ( #4631 )
2018-04-01 01:42:55 -07:00
TheCyberBrick
11e623bf4d
Added chunk instance to ChunkWatchEvent ( #4805 )
2018-04-01 00:07:01 -07:00
Vincent Lee
7a31b10364
Non-player entities now respect WorldProvider.getMovementFactor, closes #4470 ( #4471 )
2017-11-15 13:32:41 -08:00
Vincent Lee
6d946fa088
Move reach distance to an attribute ( #4331 )
2017-10-31 11:16:22 -07:00
Ben Staddon
267cd19291
Fix some chunk data packets being created unnecessarily ( #4414 )
2017-10-02 16:49:07 -07:00
Erlend Åmdal
025495f98b
[1.12] Check both hands for sneak interaction bypass ( #4256 )
2017-10-02 16:28:34 -07:00
Ben Staddon
9a09ff68aa
Remove some deprecated methods and clean up
2017-06-25 22:30:18 -07:00
LexManos
f1cca475ea
Initial patch update to 1.12.
...
Some things to note:
Netty is screwy so currently can't join single player. @cpw
Crafting has been MAJORY reworked. The current GameRegistry functions are nooped, this is IN THE WORKS.
Just need to move the recipe list to a full class registry, and then re implement the in-code recipe registration.
Also, it IS advised that modders move to JSON, because ideally we'll see a S->C recipe syncing system in 1.13
which would allow servers to have custom recipes.
OreDictionary currently 1/2 works, need to write a better algorithm for replacing ingredients.
Please be patient
Rendering:
A lot of functions got a new float parameter, this is similar to partial ticks, needs more research
2017-06-10 22:22:02 -04:00
Ben Staddon
c6f181dcb2
Fixes for PlayerDestroyItemEvent being called with empty itemstacks. ( #3728 )
2017-05-26 13:54:13 -07:00
Vincent Lee
72dd06ca85
Allow result of PlayerInteractEvent to be changed when it's cancelled ( #3744 )
2017-04-07 16:38:56 -07:00