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
Schematic pre = Schematic.builder() | |
.metaValue(Schematic.METADATA_NAME, world.getUniqueId().toString() + "." + chunkX + "." + chunkZ) | |
.palette(BlockPaletteTypes.LOCAL.create()) | |
.volume(chunk) | |
.build(); | |
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
ArrayList<Dialogue> dialogues = new ArrayList<Dialogue>(); | |
dialogues.add(Dialogue.builder() | |
.setName("Gus") | |
.setText("Hello, friend") | |
.build()); | |
dialogues.add(Dialogue.builder() | |
.setName("") | |
.setText("What will you say?") | |
.addChoice(Choice.builder() | |
.setText("Hello, Gus") |
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
package com.hiroku.obliquecore.api.animation; | |
import org.spongepowered.api.effect.particle.ParticleEffect; | |
import org.spongepowered.api.effect.particle.ParticleTypes; | |
import org.spongepowered.api.world.Location; | |
import org.spongepowered.api.world.World; | |
import com.flowpowered.math.vector.Vector3d; | |
public class ExampleAnimation extends AnimationBase |
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
package com.hiroku.tournaments.commands; | |
import org.spongepowered.api.command.CommandException; | |
import org.spongepowered.api.command.CommandResult; | |
import org.spongepowered.api.command.CommandSource; | |
import org.spongepowered.api.command.args.CommandContext; | |
import org.spongepowered.api.command.spec.CommandExecutor; | |
import org.spongepowered.api.command.spec.CommandSpec; | |
import org.spongepowered.api.text.Text; | |
import org.spongepowered.api.text.format.TextColors; |
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
package com.hiroku.tournaments.obj; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.UUID; | |
import org.spongepowered.api.entity.living.player.User; | |
import org.spongepowered.api.text.Text; | |
import org.spongepowered.api.text.format.TextColors; |
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
package com.hiroku.tournaments.rules.player; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.Optional; | |
import java.util.UUID; | |
import org.spongepowered.api.Sponge; | |
import org.spongepowered.api.entity.living.player.Player; | |
import org.spongepowered.api.entity.living.player.User; |