More mobs
This commit is contained in:
@@ -1,21 +1,5 @@
|
||||
--- a/net/minecraft/world/entity/monster/piglin/Piglin.java
|
||||
+++ b/net/minecraft/world/entity/monster/piglin/Piglin.java
|
||||
@@ -4,15 +_,6 @@
|
||||
import com.mojang.serialization.Dynamic;
|
||||
import java.util.List;
|
||||
import javax.annotation.Nullable;
|
||||
-import net.minecraft.core.BlockPos;
|
||||
-import net.minecraft.nbt.CompoundTag;
|
||||
-import net.minecraft.network.syncher.EntityDataAccessor;
|
||||
-import net.minecraft.network.syncher.EntityDataSerializers;
|
||||
-import net.minecraft.network.syncher.SynchedEntityData;
|
||||
-import net.minecraft.resources.ResourceLocation;
|
||||
-import net.minecraft.server.level.ServerLevel;
|
||||
-import net.minecraft.sounds.SoundEvent;
|
||||
-import net.minecraft.sounds.SoundEvents;
|
||||
import net.minecraft.tags.ItemTags;
|
||||
import net.minecraft.tags.TagKey;
|
||||
import net.minecraft.util.RandomSource;
|
||||
@@ -59,6 +_,25 @@
|
||||
import net.minecraft.world.level.ServerLevelAccessor;
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
@@ -79,7 +63,7 @@
|
||||
}
|
||||
|
||||
@VisibleForDebug
|
||||
@@ -325,7 +_,9 @@
|
||||
@@ -325,11 +_,16 @@
|
||||
@Override
|
||||
protected void finishConversion(ServerLevel serverLevel) {
|
||||
PiglinAi.cancelAdmiring(serverLevel, this);
|
||||
@@ -89,6 +73,13 @@
|
||||
super.finishConversion(serverLevel);
|
||||
}
|
||||
|
||||
+
|
||||
private ItemStack createSpawnWeapon() {
|
||||
+ // Food time for 10 minutes WOOP WOOP
|
||||
+ // Please send help cat started singing
|
||||
return this.random.nextFloat() < 0.5 ? new ItemStack(Items.CROSSBOW) : new ItemStack(Items.GOLDEN_SWORD);
|
||||
}
|
||||
|
||||
@@ -400,7 +_,7 @@
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user