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

Implement FrostWalker #417

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

Conversation

wode490390
Copy link
Contributor

@wode490390 wode490390 commented Oct 9, 2018

Waiting for skylight calculation implementation

@wode490390 wode490390 changed the title Update enchantability Add FrostWalker Oct 28, 2018
@Focusvity
Copy link

Focusvity commented Nov 7, 2018

@wode490390, it's out-of-date. Merge the latest changes.

if (level.getBlockIdAt(coordX, floorY - 1, coordZ) == Block.STILL_WATER && level.getBlockIdAt(coordX, floorY, coordZ) == Block.AIR) {
level.setBlockAt(coordX, floorY - 1, coordZ, Block.FROSTED_ICE);
}
if (enchantment.getId() == Enchantment.ID_FROST_WALKER && this.y >= 1 && this.y < 257) {
Copy link

Choose a reason for hiding this comment

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

there need be y <= 255

@wode490390 wode490390 changed the title Add FrostWalker [Can be merged] Add FrostWalker Jan 13, 2019
@wode490390 wode490390 changed the title [Can be merged] Add FrostWalker Add FrostWalker Jan 20, 2019
@wode490390 wode490390 changed the title Add FrostWalker Implement FrostWalker Feb 26, 2019
@SupremeMortal
Copy link
Member

There doesn't appear to be any way for plugins to stop the ice being placed in restricted areas?

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.

4 participants