Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ShulkerRespawner.java #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mateohastie
Copy link

spawn blocks added for future farms

spawn blocks added for future farms
@@ -142,7 +142,7 @@ public void onCreatureSpawn(CreatureSpawnEvent e){ //onEntitySpawn(EntitySpawnEv
if(debug){logDebug("biome=" + entity.getWorld().getEnvironment().toString());}
if(entity.getWorld().getEnvironment() == Environment.THE_END){
if(debug){logDebug("block=" + entity.getLocation().getBlock().getType().toString());}
if(entity.getLocation().subtract(0, 1, 0).getBlock().getType().toString().contains("PURPUR")||entity.getLocation().getBlock().getType().toString().contains("PURPUR")){
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mateohastie

I don't think the new blocks will trigger ever. This code only fires when an enderman tries to spawn in the end. But in the end, none of those blocks are natively found in an orientation where an enderman could spawn on top of them. I think?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true but most of the end cities are destroy or simply using other blocks to expand the platform on the en cities is more for a commodity than anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants