Last active
December 29, 2015 06:08
-
-
Save dha-lo-jd/7626415 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<EntityAITaskEntry> entries = Lists.newArrayList(tasks.taskEntries); | |
for (EntityAITaskEntry entry : entries) { | |
tasks.removeTask(entry.action); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void resetTask() { | |
// お食事強制終了(チッ残ねn | |
entity = null; | |
capture = false; | |
theWorld.playSoundAtEntity(theUtility, "random.burp", 1.5F, theWorld.rand.nextFloat() * 0.1F + 0.9F); | |
((EntityLivingChest) theUtility).setOpen(false); | |
// パーティクルを止める | |
theUtility.getDataWatcher().updateObject(30, ""); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment