File tree 1 file changed +7
-4
lines changed
src/main/java/de/teamlapen/werewolves/entities/werewolf
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 21
21
import net .minecraft .sounds .SoundEvent ;
22
22
import net .minecraft .util .Mth ;
23
23
import net .minecraft .util .RandomSource ;
24
- import net .minecraft .world .entity .EntityType ;
25
- import net .minecraft .world .entity .LivingEntity ;
26
- import net .minecraft .world .entity .MobSpawnType ;
27
- import net .minecraft .world .entity .PathfinderMob ;
24
+ import net .minecraft .world .entity .*;
28
25
import net .minecraft .world .entity .ai .attributes .AttributeSupplier ;
29
26
import net .minecraft .world .entity .ai .attributes .Attributes ;
30
27
import net .minecraft .world .entity .ai .goal .*;
34
31
import net .minecraft .world .entity .player .Player ;
35
32
import net .minecraft .world .level .Level ;
36
33
import net .minecraft .world .level .ServerLevelAccessor ;
34
+ import org .jetbrains .annotations .NotNull ;
37
35
38
36
import javax .annotation .Nonnull ;
39
37
import javax .annotation .Nullable ;
@@ -114,6 +112,11 @@ public int getMaxFollowerCount() {
114
112
return (int ) ((BalanceMobProps .mobProps .ADVANCED_VAMPIRE_MAX_FOLLOWER ) * ((this .getEntityLevel () + 1 ) / (float ) (this .getMaxEntityLevel () + 1 )));
115
113
}
116
114
115
+ @ Override
116
+ protected boolean canRide (@ NotNull Entity pVehicle ) {
117
+ return false ;
118
+ }
119
+
117
120
@ Override
118
121
public int getPortalWaitTime () {
119
122
return 500 ;
You can’t perform that action at this time.
0 commit comments