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

Boat #348

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Boat #348

wants to merge 6 commits into from

Conversation

Pelotrio
Copy link
Contributor

  • Generates a boat in the underworld dimension
  • Boat spawns with enemies and loot
  • Special loot includes the ancient pearl

Took 15 minutes


Took 3 minutes
@Pelotrio
Copy link
Contributor Author

java_i8KFuZjh8f
First boat generation

@@ -20,6 +20,9 @@ public class PacketThriveBlock extends PacketBase {
@Save
public BlockPos pos;

public PacketThriveBlock() {
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

This should not have an empty constructor

PlacementSettings placementsettings = new PlacementSettings();
Rotation rotation = Rotation.values()[rand.nextInt(Rotation.values().length)];
placementsettings.setIgnoreEntities(false).setMirror(Mirror.NONE).setRotation(rotation);
underworld_boat.addBlocksToWorld(world, position, placementsettings);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Use camelCase for all these variables

@Pelotrio
Copy link
Contributor Author

image
image
Boat now spawns with a few enemies and loot chests (the loot itself is wip). Ancient pearl can be found at the end of the boat similar to the elytra.

Took 1 hour 19 minutes
@Pelotrio
Copy link
Contributor Author

java_IFHLPESgSc
Example of current loot table (wip)

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