mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-24 22:51:18 -09:00
Update mobnpcspawner.js
This commit is contained in:
parent
bbba5feead
commit
0ca46f67af
@ -23,7 +23,7 @@
|
|||||||
sheep.noGravity = 1;
|
sheep.noGravity = 1;
|
||||||
|
|
||||||
// Make sheep invincible
|
// Make sheep invincible
|
||||||
sheep.setEntityInvulnerable(true);
|
sheep.setEntityInvulnerable(1);
|
||||||
|
|
||||||
// Prevent the sheep from taking any damage
|
// Prevent the sheep from taking any damage
|
||||||
const DamageSourceClass = ModAPI.reflect.getClassById("net.minecraft.util.DamageSource");
|
const DamageSourceClass = ModAPI.reflect.getClassById("net.minecraft.util.DamageSource");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user