Commit Graph

2106 Commits

Author SHA1 Message Date
Konstantin Shandurenko
7a7c63afc2 Horses 2021-02-23 06:38:54 +03:00
Konstantin Shandurenko
d2c5d87582 EntityType improvements 2021-02-23 06:02:52 +03:00
Konstantin Shandurenko
3bba4ea704 New Entity AI 2021-02-23 02:28:24 +03:00
Kieran Wallbanks
a3f388a88b Add events for player sneaking and sprinting changes 2021-02-22 16:36:40 +00:00
TheMode
7bd9283e17
Merge pull request #148 from RinesThaix/goals
Switched TargetSelectors result caching from EntityCreature field to local one in GoalSelectors
2021-02-22 15:15:18 +01:00
Konstantin Shandurenko
fbddffec32 Switched TargetSelectors result caching from EntityCreature field to local one in GoalSelectors 2021-02-22 17:08:15 +03:00
TheMode
20a23a4ebc
Merge pull request #147 from RinesThaix/goals
AbstractProjectile and arrows now call EntityAttackEvent, without damaging entities
2021-02-22 14:46:20 +01:00
Konstantin Shandurenko
1053cb33b1 Tiny comment for Projectile#getShooter 2021-02-22 16:42:52 +03:00
Konstantin Shandurenko
bcdd1bb70a AbstractProjectile and arrows now call EntityAttackEvent, without damaging entities 2021-02-22 16:41:39 +03:00
themode
0cef390ff2 Fix null check 2021-02-22 14:06:47 +01:00
TheMode
60385c0887
Merge pull request #141 from MrBretze/master
Fixed somme read for NBT Tag to ItemStack
2021-02-22 14:03:48 +01:00
themode
549eb6b6e1 Fix javadoc 2021-02-22 14:02:33 +01:00
TheMode
71f1e51df3
Merge pull request #146 from RinesThaix/goals
Arrows and RangedAttackGoal
2021-02-22 13:58:43 +01:00
Konstantin Shandurenko
dbd0e472c2 Added power param for projectiles shooting 2021-02-22 15:54:35 +03:00
Konstantin Shandurenko
504e8cafb4 Codestyle formatting and several comments 2021-02-22 15:33:03 +03:00
Konstantin Shandurenko
6e23552d9a Not calculating entity collisions for arrows in first 3 ticks of its life 2021-02-22 14:58:26 +03:00
Konstantin Shandurenko
714e107eb3 Removed @author javadocs 2021-02-22 14:53:04 +03:00
Konstantin Shandurenko
b475a4cd78 Entity collisions for arrows 2021-02-22 14:51:17 +03:00
Konstantin Shandurenko
dbfebc50ec Block collisions for arrows 2021-02-22 14:42:46 +03:00
themode
01d4cd5cf4 Dependency update 2021-02-22 12:14:52 +01:00
themode
b0185aa7e1 Cache command result, increases performance by an order of magnitude 2021-02-22 11:49:28 +01:00
themode
732fa0434a Properly return the command result UNKNOWN 2021-02-22 11:26:16 +01:00
themode
b4508692a5 Fix situation where no command executor is chosen when there is ambiguity. Also fix subcommand default executor not being used as backup 2021-02-22 09:42:48 +01:00
themode
b4d9cecdce Fix build & remove deprecated method 2021-02-22 08:46:30 +01:00
themode
3d585825b2 Use weak references for cached values 2021-02-22 08:43:06 +01:00
themode
04b5a4f166 Use google common cache instead of our own dirty solution 2021-02-22 08:41:38 +01:00
Konstantin Shandurenko
3a251934ec Projectiles shooting 2021-02-22 09:45:19 +03:00
Konstantin Shandurenko
3d14b614ce EntityArrow and EntitySpectralArrow 2021-02-22 09:05:54 +03:00
Konstantin Shandurenko
3c8824c7b0 RangedAttackGoal implementation initial commit 2021-02-22 08:46:37 +03:00
themode
77148338b9 Added Entity#clearEffects 2021-02-22 06:00:49 +01:00
TheMode
1fda2aba6d
Merge pull request #145 from RinesThaix/goalTargetsCaching
Caching entity target found by goal selectors
2021-02-22 05:36:26 +01:00
Konstantin Shandurenko
54da48fd3e Caching entity target found by goal selectors 2021-02-22 07:33:11 +03:00
TheMode
5014cd7ba9
Merge pull request #143 from MrBretze/optifineFix
Added OptifineSupport.isEnabled()
2021-02-22 05:32:54 +01:00
TheMode
d1f7f575e7
Merge pull request #144 from RinesThaix/armorUse
Fixing armor equip with right clicking
2021-02-22 05:31:13 +01:00
Konstantin Shandurenko
e01a92c92c Fixing armor equip with right clicking 2021-02-22 05:17:14 +03:00
themode
85a8396c9d UUID & player name cannot contain space 2021-02-21 17:44:38 +01:00
themode
78e37258ed Improve ArgumentEntity to support entity UUID & pre-check for player name 2021-02-21 17:43:30 +01:00
MrBretzel
f7ec0dbc1f Added OptifineSupport.isEnabled() 2021-02-21 17:25:35 +01:00
ALS
fb6c51204b getAsByte 2021-02-21 16:59:50 +01:00
ALS
12f0190f97 Revert AttributeSlot.parse(String string) 2021-02-21 16:56:06 +01:00
themode
200b244224 Fix JSON string not being displayable using ColoredText, remove unnecessary fields in PlayerListHeaderAndFooterPacket 2021-02-21 16:49:25 +01:00
themode
728107b0fe Added convenient EntityFinder#findFirstEntity 2021-02-21 12:35:04 +01:00
ALS
b842f07c3c Use getAsInt and getAsDouble 2021-02-20 23:54:25 +01:00
ALS
0f9a2b5b4f Fixed a possible null for attributeSlot 2021-02-20 20:39:49 +01:00
ALS
01ff9e2123 Fix failed issue 2021-02-20 19:51:45 +01:00
themode
99be06f571 Revert to check shared command arguments 2021-02-20 19:18:28 +01:00
ALS
ac7ca6f8e4 Fixed somme read for NBT Tag to ItemStack 2021-02-20 17:35:02 +01:00
TheMode
ff3888d972
Merge pull request #140 from MrBretze/patch-1
Adding has(Argument<T> argument) to Arguments.java
2021-02-20 15:45:19 +01:00
MrBretzel
2c45103b2c
Update Arguments.java 2021-02-20 15:43:22 +01:00
MrBretzel
1ad1f06e33
Adding has(Argument<T> argument) to Arguments.java 2021-02-20 15:31:30 +01:00