21w16a
This commit is contained in:
1 parent
cd6827767a
commit
fc87053978
5 files changed
+11
-5
No files matched your search
@@ -12,7 +12,10 @@ import java.util.Random;
|
||||
@Mixin(WitherEntity.class)
|
||||
public class WitherEntity_extremeMixin
|
||||
{
|
||||
@Redirect(method = "method_6878", at = @At(value = "INVOKE", target = "Ljava/util/Random;nextFloat()F"))
|
||||
@Redirect(method = "shootSkullAt(ILnet/minecraft/entity/LivingEntity;)V", at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Ljava/util/Random;nextFloat()F")
|
||||
)
|
||||
private float nextFloatAmplfied(Random random)
|
||||
{
|
||||
if (CarpetSettings.extremeBehaviours) return random.nextFloat()/100;
|
||||
|
||||
Reference in new issue
Block a user