Skip to content

Conversation

@Pelotrio
Copy link
Contributor

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

Pelotrio added 2 commits June 29, 2022 16:43
Took 15 minutes


Took 3 minutes
@Pelotrio
Copy link
Contributor Author

java_i8KFuZjh8f
First boat generation


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