2021-06-11 12:02:28 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Aikar <aikar@aikar.co>
|
|
|
|
Date: Thu, 19 Jul 2018 01:05:00 -0400
|
|
|
|
Subject: [PATCH] Don't change the Entity Random seed for squids
|
|
|
|
|
|
|
|
|
2021-06-12 06:24:50 +00:00
|
|
|
Rebased into the patch to add the shared entity random
|
2021-06-11 12:02:28 +00:00
|
|
|
diff --git a/src/main/java/net/minecraft/world/entity/animal/Squid.java b/src/main/java/net/minecraft/world/entity/animal/Squid.java
|
|
|
|
index 5a7582fd4f8e883d2f08a0227932c17d7576b957..2e5a35565b6b7c4d3f7fdab45095f789c33f8937 100644
|
|
|
|
--- a/src/main/java/net/minecraft/world/entity/animal/Squid.java
|
|
|
|
+++ b/src/main/java/net/minecraft/world/entity/animal/Squid.java
|
|
|
|
@@ -48,7 +48,7 @@ public class Squid extends WaterAnimal {
|
|
|
|
|
|
|
|
public Squid(EntityType<? extends Squid> type, Level world) {
|
|
|
|
super(type, world);
|
|
|
|
- this.random.setSeed((long) this.getId());
|
|
|
|
+ //this.random.setSeed((long) this.getId()); // Paper
|
|
|
|
this.tentacleSpeed = 1.0F / (this.random.nextFloat() + 1.0F) * 0.2F;
|
|
|
|
}
|
|
|
|
|