From 7b67dc77196f6a3eab6982083abcbafe6f9a5d08 Mon Sep 17 00:00:00 2001 From: MiaoWoo Date: Thu, 7 Nov 2019 15:02:05 +0800 Subject: [PATCH] feat: move type def to other package --- packages/bukkit/package.json | 3 +- packages/bukkit/src/index.ts | 2 +- packages/bukkit/src/typings/index.ts | 958 -------- .../src/typings/org.bukkit.Achievement.ts | 51 - packages/bukkit/src/typings/org.bukkit.Art.ts | 58 - .../bukkit/src/typings/org.bukkit.Axis.ts | 12 - .../bukkit/src/typings/org.bukkit.BanEntry.ts | 58 - .../src/typings/org.bukkit.BanList.Type.ts | 13 - .../bukkit/src/typings/org.bukkit.BanList.ts | 30 - .../typings/org.bukkit.BlockChangeDelegate.ts | 23 - .../bukkit/src/typings/org.bukkit.Bukkit.ts | 658 ------ .../src/typings/org.bukkit.ChatColor.ts | 68 - .../bukkit/src/typings/org.bukkit.Chunk.ts | 107 - .../src/typings/org.bukkit.ChunkSnapshot.ts | 60 - .../bukkit/src/typings/org.bukkit.CoalType.ts | 19 - .../bukkit/src/typings/org.bukkit.Color.ts | 83 - .../src/typings/org.bukkit.CropState.ts | 25 - .../src/typings/org.bukkit.Difficulty.ts | 21 - .../bukkit/src/typings/org.bukkit.DyeColor.ts | 61 - .../src/typings/org.bukkit.Effect.Type.ts | 13 - .../bukkit/src/typings/org.bukkit.Effect.ts | 64 - .../src/typings/org.bukkit.EntityEffect.ts | 48 - .../org.bukkit.FireworkEffect.Builder.ts | 60 - .../typings/org.bukkit.FireworkEffect.Type.ts | 16 - .../src/typings/org.bukkit.FireworkEffect.ts | 36 - .../typings/org.bukkit.FluidCollisionMode.ts | 12 - .../bukkit/src/typings/org.bukkit.GameMode.ts | 21 - .../bukkit/src/typings/org.bukkit.GameRule.ts | 49 - .../src/typings/org.bukkit.GrassSpecies.ts | 20 - .../src/typings/org.bukkit.Instrument.ts | 30 - .../bukkit/src/typings/org.bukkit.Keyed.ts | 11 - .../bukkit/src/typings/org.bukkit.Location.ts | 224 -- .../bukkit/src/typings/org.bukkit.Material.ts | 1581 -------------- .../bukkit/src/typings/org.bukkit.Nameable.ts | 25 - .../src/typings/org.bukkit.NamespacedKey.ts | 36 - .../typings/org.bukkit.NetherWartsState.ts | 13 - .../src/typings/org.bukkit.Note.Tone.ts | 41 - .../bukkit/src/typings/org.bukkit.Note.ts | 48 - .../src/typings/org.bukkit.OfflinePlayer.ts | 68 - .../org.bukkit.Particle.DustOptions.ts | 18 - .../bukkit/src/typings/org.bukkit.Particle.ts | 77 - .../src/typings/org.bukkit.PortalType.ts | 12 - .../org.bukkit.Registry.SimpleRegistry.ts | 13 - .../bukkit/src/typings/org.bukkit.Registry.ts | 23 - .../bukkit/src/typings/org.bukkit.Rotation.ts | 25 - .../src/typings/org.bukkit.SandstoneType.ts | 20 - .../bukkit/src/typings/org.bukkit.Server.ts | 653 ------ .../src/typings/org.bukkit.SkullType.ts | 15 - .../bukkit/src/typings/org.bukkit.Sound.ts | 804 ------- .../src/typings/org.bukkit.SoundCategory.ts | 19 - .../src/typings/org.bukkit.Statistic.Type.ts | 15 - .../src/typings/org.bukkit.Statistic.ts | 108 - .../src/typings/org.bukkit.StructureType.ts | 39 - packages/bukkit/src/typings/org.bukkit.Tag.ts | 71 - .../src/typings/org.bukkit.TreeSpecies.ts | 23 - .../bukkit/src/typings/org.bukkit.TreeType.ts | 26 - .../org.bukkit.UndefinedNullability.ts | 12 - .../src/typings/org.bukkit.UnsafeValues.ts | 40 - .../bukkit/src/typings/org.bukkit.Utility.ts | 7 - .../org.bukkit.Warning.WarningState.ts | 24 - .../bukkit/src/typings/org.bukkit.Warning.ts | 16 - .../src/typings/org.bukkit.WeatherType.ts | 11 - .../typings/org.bukkit.World.Environment.ts | 22 - .../bukkit/src/typings/org.bukkit.World.ts | 987 --------- .../src/typings/org.bukkit.WorldBorder.ts | 71 - .../src/typings/org.bukkit.WorldCreator.ts | 123 -- .../src/typings/org.bukkit.WorldType.ts | 24 - .../org.bukkit.advancement.Advancement.ts | 13 - ....bukkit.advancement.AdvancementProgress.ts | 37 - .../org.bukkit.attribute.Attributable.ts | 14 - .../typings/org.bukkit.attribute.Attribute.ts | 23 - .../org.bukkit.attribute.AttributeInstance.ts | 42 - ...t.attribute.AttributeModifier.Operation.ts | 16 - .../org.bukkit.attribute.AttributeModifier.ts | 38 - .../src/typings/org.bukkit.block.Banner.ts | 49 - .../src/typings/org.bukkit.block.Barrel.ts | 9 - .../src/typings/org.bukkit.block.Beacon.ts | 39 - .../src/typings/org.bukkit.block.Bed.ts | 9 - .../src/typings/org.bukkit.block.Bell.ts | 9 - .../src/typings/org.bukkit.block.Biome.ts | 87 - .../typings/org.bukkit.block.BlastFurnace.ts | 9 - .../src/typings/org.bukkit.block.Block.ts | 258 --- .../src/typings/org.bukkit.block.BlockFace.ts | 47 - .../typings/org.bukkit.block.BlockState.ts | 120 - .../typings/org.bukkit.block.BrewingStand.ts | 27 - .../src/typings/org.bukkit.block.Campfire.ts | 32 - .../src/typings/org.bukkit.block.Chest.ts | 22 - .../typings/org.bukkit.block.CommandBlock.ts | 33 - .../typings/org.bukkit.block.Comparator.ts | 9 - .../src/typings/org.bukkit.block.Conduit.ts | 9 - .../src/typings/org.bukkit.block.Container.ts | 28 - .../org.bukkit.block.CreatureSpawner.ts | 133 -- .../org.bukkit.block.DaylightDetector.ts | 9 - .../src/typings/org.bukkit.block.Dispenser.ts | 23 - .../typings/org.bukkit.block.DoubleChest.ts | 18 - .../src/typings/org.bukkit.block.Dropper.ts | 28 - .../org.bukkit.block.EnchantingTable.ts | 9 - .../typings/org.bukkit.block.EndGateway.ts | 47 - .../typings/org.bukkit.block.EnderChest.ts | 9 - .../src/typings/org.bukkit.block.FlowerPot.ts | 19 - .../src/typings/org.bukkit.block.Furnace.ts | 41 - .../src/typings/org.bukkit.block.Hopper.ts | 9 - .../src/typings/org.bukkit.block.Jigsaw.ts | 9 - .../src/typings/org.bukkit.block.Jukebox.ts | 36 - .../src/typings/org.bukkit.block.Lectern.ts | 21 - .../src/typings/org.bukkit.block.Lockable.ts | 22 - .../src/typings/org.bukkit.block.NoteBlock.ts | 46 - .../org.bukkit.block.PistonMoveReaction.ts | 18 - .../typings/org.bukkit.block.ShulkerBox.ts | 13 - .../src/typings/org.bukkit.block.Sign.ts | 42 - .../src/typings/org.bukkit.block.Skull.ts | 52 - .../src/typings/org.bukkit.block.Smoker.ts | 9 - .../src/typings/org.bukkit.block.Structure.ts | 144 -- .../src/typings/org.bukkit.block.TileState.ts | 22 - .../org.bukkit.block.banner.Pattern.ts | 31 - .../org.bukkit.block.banner.PatternType.ts | 63 - .../typings/org.bukkit.block.data.Ageable.ts | 23 - ...org.bukkit.block.data.AnaloguePowerable.ts | 23 - .../org.bukkit.block.data.Attachable.ts | 19 - .../org.bukkit.block.data.Bisected.Half.ts | 17 - .../typings/org.bukkit.block.data.Bisected.ts | 19 - .../org.bukkit.block.data.BlockData.ts | 70 - .../org.bukkit.block.data.Directional.ts | 23 - .../typings/org.bukkit.block.data.Levelled.ts | 23 - .../org.bukkit.block.data.Lightable.ts | 19 - .../org.bukkit.block.data.MultipleFacing.ts | 27 - .../typings/org.bukkit.block.data.Openable.ts | 19 - .../org.bukkit.block.data.Orientable.ts | 23 - .../org.bukkit.block.data.Powerable.ts | 19 - .../org.bukkit.block.data.Rail.Shape.ts | 25 - .../src/typings/org.bukkit.block.data.Rail.ts | 23 - .../org.bukkit.block.data.Rotatable.ts | 19 - .../typings/org.bukkit.block.data.Snowable.ts | 19 - .../org.bukkit.block.data.Waterlogged.ts | 19 - ...rg.bukkit.block.data.type.Bamboo.Leaves.ts | 20 - .../org.bukkit.block.data.type.Bamboo.ts | 21 - .../org.bukkit.block.data.type.Bed.Part.ts | 19 - .../typings/org.bukkit.block.data.type.Bed.ts | 25 - ....bukkit.block.data.type.Bell.Attachment.ts | 21 - .../org.bukkit.block.data.type.Bell.ts | 21 - ...org.bukkit.block.data.type.BrewingStand.ts | 29 - ...org.bukkit.block.data.type.BubbleColumn.ts | 21 - .../org.bukkit.block.data.type.Cake.ts | 25 - .../org.bukkit.block.data.type.Campfire.ts | 21 - .../org.bukkit.block.data.type.Chest.Type.ts | 20 - .../org.bukkit.block.data.type.Chest.ts | 21 - .../org.bukkit.block.data.type.Cocoa.ts | 13 - ...org.bukkit.block.data.type.CommandBlock.ts | 21 - ....bukkit.block.data.type.Comparator.Mode.ts | 19 - .../org.bukkit.block.data.type.Comparator.ts | 21 - ...org.bukkit.block.data.type.CoralWallFan.ts | 13 - ...bukkit.block.data.type.DaylightDetector.ts | 21 - .../org.bukkit.block.data.type.Dispenser.ts | 21 - .../org.bukkit.block.data.type.Door.Hinge.ts | 19 - .../org.bukkit.block.data.type.Door.ts | 21 - ...g.bukkit.block.data.type.EndPortalFrame.ts | 21 - .../org.bukkit.block.data.type.EnderChest.ts | 13 - .../org.bukkit.block.data.type.Farmland.ts | 25 - .../org.bukkit.block.data.type.Fence.ts | 13 - .../org.bukkit.block.data.type.Fire.ts | 13 - .../org.bukkit.block.data.type.Furnace.ts | 13 - .../org.bukkit.block.data.type.Gate.ts | 21 - .../org.bukkit.block.data.type.GlassPane.ts | 13 - .../org.bukkit.block.data.type.Hopper.ts | 21 - .../org.bukkit.block.data.type.Jukebox.ts | 17 - .../org.bukkit.block.data.type.Ladder.ts | 13 - .../org.bukkit.block.data.type.Lantern.ts | 21 - .../org.bukkit.block.data.type.Leaves.ts | 29 - .../org.bukkit.block.data.type.Lectern.ts | 17 - .../org.bukkit.block.data.type.NoteBlock.ts | 29 - .../org.bukkit.block.data.type.Observer.ts | 13 - .../org.bukkit.block.data.type.Piston.ts | 21 - .../org.bukkit.block.data.type.PistonHead.ts | 21 - ...org.bukkit.block.data.type.RedstoneRail.ts | 13 - ...ukkit.block.data.type.RedstoneWallTorch.ts | 13 - ...block.data.type.RedstoneWire.Connection.ts | 20 - ...org.bukkit.block.data.type.RedstoneWire.ts | 25 - .../org.bukkit.block.data.type.Repeater.ts | 37 - .../org.bukkit.block.data.type.Sapling.ts | 25 - .../org.bukkit.block.data.type.Scaffolding.ts | 33 - .../org.bukkit.block.data.type.SeaPickle.ts | 29 - .../org.bukkit.block.data.type.Sign.ts | 13 - .../org.bukkit.block.data.type.Slab.Type.ts | 20 - .../org.bukkit.block.data.type.Slab.ts | 21 - .../org.bukkit.block.data.type.Snow.ts | 29 - ...org.bukkit.block.data.type.Stairs.Shape.ts | 22 - .../org.bukkit.block.data.type.Stairs.ts | 21 - ...kit.block.data.type.StructureBlock.Mode.ts | 21 - ...g.bukkit.block.data.type.StructureBlock.ts | 21 - .../org.bukkit.block.data.type.Switch.Face.ts | 20 - .../org.bukkit.block.data.type.Switch.ts | 21 - .../typings/org.bukkit.block.data.type.TNT.ts | 21 - ...it.block.data.type.TechnicalPiston.Type.ts | 19 - ....bukkit.block.data.type.TechnicalPiston.ts | 21 - .../org.bukkit.block.data.type.TrapDoor.ts | 13 - .../org.bukkit.block.data.type.Tripwire.ts | 21 - ...org.bukkit.block.data.type.TripwireHook.ts | 13 - .../org.bukkit.block.data.type.TurtleEgg.ts | 41 - .../org.bukkit.block.data.type.WallSign.ts | 13 - .../org.bukkit.block.structure.Mirror.ts | 16 - ...ukkit.block.structure.StructureRotation.ts | 17 - .../org.bukkit.block.structure.UsageMode.ts | 17 - .../src/typings/org.bukkit.boss.BarColor.ts | 18 - .../src/typings/org.bukkit.boss.BarFlag.ts | 14 - .../src/typings/org.bukkit.boss.BarStyle.ts | 16 - .../src/typings/org.bukkit.boss.BossBar.ts | 87 - .../typings/org.bukkit.boss.KeyedBossBar.ts | 9 - .../org.bukkit.command.BlockCommandSender.ts | 13 - .../src/typings/org.bukkit.command.Command.ts | 131 -- .../org.bukkit.command.CommandException.ts | 20 - .../org.bukkit.command.CommandExecutor.ts | 16 - .../typings/org.bukkit.command.CommandMap.ts | 71 - .../org.bukkit.command.CommandSender.ts | 25 - ...org.bukkit.command.ConsoleCommandSender.ts | 9 - ...rg.bukkit.command.FormattedCommandAlias.ts | 11 - ...org.bukkit.command.MultipleCommandAlias.ts | 15 - .../org.bukkit.command.PluginCommand.ts | 52 - ....bukkit.command.PluginCommandYamlParser.ts | 11 - ...ukkit.command.PluginIdentifiableCommand.ts | 13 - ...org.bukkit.command.ProxiedCommandSender.ts | 17 - ...kkit.command.RemoteConsoleCommandSender.ts | 9 - .../org.bukkit.command.SimpleCommandMap.ts | 34 - .../org.bukkit.command.TabCompleter.ts | 13 - .../typings/org.bukkit.command.TabExecutor.ts | 9 - ...g.bukkit.command.defaults.BukkitCommand.ts | 13 - ...org.bukkit.command.defaults.HelpCommand.ts | 20 - ....bukkit.command.defaults.PluginsCommand.ts | 14 - ...g.bukkit.command.defaults.ReloadCommand.ts | 14 - ....bukkit.command.defaults.TimingsCommand.ts | 14 - ....bukkit.command.defaults.VersionCommand.ts | 14 - .../org.bukkit.configuration.Configuration.ts | 62 - ...kkit.configuration.ConfigurationOptions.ts | 56 - ...kkit.configuration.ConfigurationSection.ts | 602 ----- ...iguration.InvalidConfigurationException.ts | 29 - ...ukkit.configuration.MemoryConfiguration.ts | 25 - ...onfiguration.MemoryConfigurationOptions.ts | 10 - .../org.bukkit.configuration.MemorySection.ts | 104 - ...it.configuration.file.FileConfiguration.ts | 97 - ...iguration.file.FileConfigurationOptions.ts | 72 - ...it.configuration.file.YamlConfiguration.ts | 37 - ...iguration.file.YamlConfigurationOptions.ts | 25 - ...kkit.configuration.file.YamlConstructor.ts | 12 - ...kkit.configuration.file.YamlRepresenter.ts | 12 - ...serialization.ConfigurationSerializable.ts | 18 - ...erialization.ConfigurationSerialization.ts | 71 - ...n.serialization.DelegateDeserialization.ts | 16 - ...figuration.serialization.SerializableAs.ts | 18 - .../org.bukkit.conversations.BooleanPrompt.ts | 12 - .../org.bukkit.conversations.Conversable.ts | 35 - ...rsations.Conversation.ConversationState.ts | 16 - .../org.bukkit.conversations.Conversation.ts | 96 - ...onversations.ConversationAbandonedEvent.ts | 24 - ...ersations.ConversationAbandonedListener.ts | 13 - ...kit.conversations.ConversationCanceller.ts | 24 - ...ukkit.conversations.ConversationContext.ts | 35 - ...ukkit.conversations.ConversationFactory.ts | 85 - ...bukkit.conversations.ConversationPrefix.ts | 13 - ...sations.ExactMatchConversationCanceller.ts | 16 - ...org.bukkit.conversations.FixedSetPrompt.ts | 22 - ...sations.InactivityConversationCanceller.ts | 25 - ....ManuallyAbandonedConversationCanceller.ts | 13 - .../org.bukkit.conversations.MessagePrompt.ts | 23 - ...it.conversations.NullConversationPrefix.ts | 14 - .../org.bukkit.conversations.NumericPrompt.ts | 28 - ...g.bukkit.conversations.PlayerNamePrompt.ts | 12 - ...versations.PluginNameConversationPrefix.ts | 18 - .../org.bukkit.conversations.Prompt.ts | 25 - .../org.bukkit.conversations.RegexPrompt.ts | 12 - .../org.bukkit.conversations.StringPrompt.ts | 14 - ...g.bukkit.conversations.ValidatingPrompt.ts | 35 - .../org.bukkit.enchantments.Enchantment.ts | 118 - ...rg.bukkit.enchantments.EnchantmentOffer.ts | 36 - ...g.bukkit.enchantments.EnchantmentTarget.ts | 33 - ....bukkit.enchantments.EnchantmentWrapper.ts | 22 - ...ukkit.entity.AbstractArrow.PickupStatus.ts | 16 - .../org.bukkit.entity.AbstractArrow.ts | 70 - .../org.bukkit.entity.AbstractHorse.ts | 71 - .../org.bukkit.entity.AbstractVillager.ts | 17 - .../src/typings/org.bukkit.entity.Ageable.ts | 47 - .../src/typings/org.bukkit.entity.Ambient.ts | 9 - .../typings/org.bukkit.entity.AnimalTamer.ts | 17 - .../src/typings/org.bukkit.entity.Animals.ts | 36 - .../org.bukkit.entity.AreaEffectCloud.ts | 135 -- .../typings/org.bukkit.entity.ArmorStand.ts | 167 -- .../src/typings/org.bukkit.entity.Arrow.ts | 53 - .../src/typings/org.bukkit.entity.Bat.ts | 22 - .../src/typings/org.bukkit.entity.Blaze.ts | 9 - .../src/typings/org.bukkit.entity.Boat.ts | 58 - .../src/typings/org.bukkit.entity.Boss.ts | 13 - .../src/typings/org.bukkit.entity.Cat.Type.ts | 24 - .../src/typings/org.bukkit.entity.Cat.ts | 25 - .../typings/org.bukkit.entity.CaveSpider.ts | 9 - .../typings/org.bukkit.entity.ChestedHorse.ts | 18 - .../src/typings/org.bukkit.entity.Chicken.ts | 9 - .../src/typings/org.bukkit.entity.Cod.ts | 9 - .../org.bukkit.entity.ComplexEntityPart.ts | 13 - .../org.bukkit.entity.ComplexLivingEntity.ts | 13 - .../src/typings/org.bukkit.entity.Cow.ts | 9 - .../src/typings/org.bukkit.entity.Creature.ts | 9 - .../src/typings/org.bukkit.entity.Creeper.ts | 53 - .../typings/org.bukkit.entity.Damageable.ts | 45 - .../src/typings/org.bukkit.entity.Dolphin.ts | 9 - .../src/typings/org.bukkit.entity.Donkey.ts | 9 - .../org.bukkit.entity.DragonFireball.ts | 9 - .../src/typings/org.bukkit.entity.Drowned.ts | 9 - .../src/typings/org.bukkit.entity.Egg.ts | 9 - .../org.bukkit.entity.ElderGuardian.ts | 9 - .../typings/org.bukkit.entity.EnderCrystal.ts | 28 - .../org.bukkit.entity.EnderDragon.Phase.ts | 24 - .../typings/org.bukkit.entity.EnderDragon.ts | 17 - .../org.bukkit.entity.EnderDragonPart.ts | 10 - .../typings/org.bukkit.entity.EnderPearl.ts | 9 - .../typings/org.bukkit.entity.EnderSignal.ts | 42 - .../src/typings/org.bukkit.entity.Enderman.ts | 25 - .../typings/org.bukkit.entity.Endermite.ts | 19 - .../src/typings/org.bukkit.entity.Entity.ts | 330 --- .../typings/org.bukkit.entity.EntityType.ts | 128 -- .../typings/org.bukkit.entity.Evoker.Spell.ts | 19 - .../src/typings/org.bukkit.entity.Evoker.ts | 17 - .../typings/org.bukkit.entity.EvokerFangs.ts | 17 - .../org.bukkit.entity.ExperienceOrb.ts | 17 - .../typings/org.bukkit.entity.Explosive.ts | 25 - .../typings/org.bukkit.entity.FallingBlock.ts | 33 - .../src/typings/org.bukkit.entity.Fireball.ts | 17 - .../src/typings/org.bukkit.entity.Firework.ts | 32 - .../src/typings/org.bukkit.entity.Fish.ts | 9 - .../src/typings/org.bukkit.entity.FishHook.ts | 23 - .../src/typings/org.bukkit.entity.Flying.ts | 9 - .../src/typings/org.bukkit.entity.Fox.Type.ts | 15 - .../src/typings/org.bukkit.entity.Fox.ts | 29 - .../src/typings/org.bukkit.entity.Ghast.ts | 9 - .../src/typings/org.bukkit.entity.Giant.ts | 9 - .../src/typings/org.bukkit.entity.Golem.ts | 9 - .../src/typings/org.bukkit.entity.Guardian.ts | 14 - .../src/typings/org.bukkit.entity.Hanging.ts | 15 - .../typings/org.bukkit.entity.Horse.Color.ts | 20 - .../typings/org.bukkit.entity.Horse.Style.ts | 18 - .../org.bukkit.entity.Horse.Variant.ts | 19 - .../src/typings/org.bukkit.entity.Horse.ts | 42 - .../typings/org.bukkit.entity.HumanEntity.ts | 227 -- .../src/typings/org.bukkit.entity.Husk.ts | 28 - .../src/typings/org.bukkit.entity.Illager.ts | 9 - .../typings/org.bukkit.entity.Illusioner.ts | 9 - .../typings/org.bukkit.entity.IronGolem.ts | 17 - .../src/typings/org.bukkit.entity.Item.ts | 25 - .../typings/org.bukkit.entity.ItemFrame.ts | 29 - .../org.bukkit.entity.LargeFireball.ts | 9 - .../typings/org.bukkit.entity.LeashHitch.ts | 9 - .../org.bukkit.entity.LightningStrike.ts | 13 - .../org.bukkit.entity.LingeringPotion.ts | 9 - .../typings/org.bukkit.entity.LivingEntity.ts | 285 --- .../typings/org.bukkit.entity.Llama.Color.ts | 17 - .../src/typings/org.bukkit.entity.Llama.ts | 29 - .../typings/org.bukkit.entity.LlamaSpit.ts | 9 - .../typings/org.bukkit.entity.MagmaCube.ts | 9 - .../src/typings/org.bukkit.entity.Minecart.ts | 90 - .../src/typings/org.bukkit.entity.Mob.ts | 20 - .../src/typings/org.bukkit.entity.Monster.ts | 9 - .../src/typings/org.bukkit.entity.Mule.ts | 9 - .../org.bukkit.entity.MushroomCow.Variant.ts | 15 - .../typings/org.bukkit.entity.MushroomCow.ts | 17 - .../src/typings/org.bukkit.entity.NPC.ts | 9 - .../typings/org.bukkit.entity.Ocelot.Type.ts | 25 - .../src/typings/org.bukkit.entity.Ocelot.ts | 17 - .../src/typings/org.bukkit.entity.Painting.ts | 21 - .../typings/org.bukkit.entity.Panda.Gene.ts | 25 - .../src/typings/org.bukkit.entity.Panda.ts | 25 - .../org.bukkit.entity.Parrot.Variant.ts | 18 - .../src/typings/org.bukkit.entity.Parrot.ts | 17 - .../src/typings/org.bukkit.entity.Phantom.ts | 11 - .../src/typings/org.bukkit.entity.Pig.ts | 17 - .../typings/org.bukkit.entity.PigZombie.ts | 37 - .../src/typings/org.bukkit.entity.Pillager.ts | 9 - .../src/typings/org.bukkit.entity.Player.ts | 773 ------- .../typings/org.bukkit.entity.PolarBear.ts | 9 - .../src/typings/org.bukkit.entity.Pose.ts | 18 - .../typings/org.bukkit.entity.Projectile.ts | 28 - .../typings/org.bukkit.entity.PufferFish.ts | 17 - .../typings/org.bukkit.entity.Rabbit.Type.ts | 20 - .../src/typings/org.bukkit.entity.Rabbit.ts | 11 - .../src/typings/org.bukkit.entity.Raider.ts | 25 - .../src/typings/org.bukkit.entity.Ravager.ts | 9 - .../src/typings/org.bukkit.entity.Salmon.ts | 9 - .../src/typings/org.bukkit.entity.Sheep.ts | 11 - .../src/typings/org.bukkit.entity.Shulker.ts | 9 - .../org.bukkit.entity.ShulkerBullet.ts | 17 - .../typings/org.bukkit.entity.Silverfish.ts | 9 - .../src/typings/org.bukkit.entity.Sittable.ts | 18 - ...org.bukkit.entity.Skeleton.SkeletonType.ts | 16 - .../src/typings/org.bukkit.entity.Skeleton.ts | 14 - .../org.bukkit.entity.SkeletonHorse.ts | 9 - .../src/typings/org.bukkit.entity.Slime.ts | 11 - .../org.bukkit.entity.SmallFireball.ts | 9 - .../src/typings/org.bukkit.entity.Snowball.ts | 9 - .../src/typings/org.bukkit.entity.Snowman.ts | 20 - .../org.bukkit.entity.SpectralArrow.ts | 18 - .../org.bukkit.entity.Spellcaster.Spell.ts | 19 - .../typings/org.bukkit.entity.Spellcaster.ts | 17 - .../src/typings/org.bukkit.entity.Spider.ts | 9 - .../typings/org.bukkit.entity.SplashPotion.ts | 9 - .../src/typings/org.bukkit.entity.Squid.ts | 9 - .../src/typings/org.bukkit.entity.Stray.ts | 9 - .../typings/org.bukkit.entity.TNTPrimed.ts | 31 - .../src/typings/org.bukkit.entity.Tameable.ts | 36 - .../org.bukkit.entity.ThrownExpBottle.ts | 9 - .../typings/org.bukkit.entity.ThrownPotion.ts | 29 - .../typings/org.bukkit.entity.TippedArrow.ts | 9 - .../typings/org.bukkit.entity.TraderLlama.ts | 9 - .../src/typings/org.bukkit.entity.Trident.ts | 9 - .../org.bukkit.entity.TropicalFish.Pattern.ts | 25 - .../typings/org.bukkit.entity.TropicalFish.ts | 33 - .../src/typings/org.bukkit.entity.Turtle.ts | 9 - .../src/typings/org.bukkit.entity.Vehicle.ts | 17 - .../src/typings/org.bukkit.entity.Vex.ts | 19 - .../org.bukkit.entity.Villager.Profession.ts | 29 - .../org.bukkit.entity.Villager.Type.ts | 21 - .../src/typings/org.bukkit.entity.Villager.ts | 57 - .../typings/org.bukkit.entity.Vindicator.ts | 9 - .../org.bukkit.entity.WanderingTrader.ts | 9 - .../src/typings/org.bukkit.entity.WaterMob.ts | 9 - .../src/typings/org.bukkit.entity.Witch.ts | 9 - .../src/typings/org.bukkit.entity.Wither.ts | 9 - .../org.bukkit.entity.WitherSkeleton.ts | 9 - .../typings/org.bukkit.entity.WitherSkull.ts | 17 - .../src/typings/org.bukkit.entity.Wolf.ts | 27 - .../src/typings/org.bukkit.entity.Zombie.ts | 43 - .../typings/org.bukkit.entity.ZombieHorse.ts | 9 - .../org.bukkit.entity.ZombieVillager.ts | 46 - .../org.bukkit.entity.memory.MemoryKey.ts | 29 - ....bukkit.entity.minecart.CommandMinecart.ts | 29 - ...ukkit.entity.minecart.ExplosiveMinecart.ts | 11 - ...g.bukkit.entity.minecart.HopperMinecart.ts | 20 - ....bukkit.entity.minecart.PoweredMinecart.ts | 11 - ...bukkit.entity.minecart.RideableMinecart.ts | 11 - ....bukkit.entity.minecart.SpawnerMinecart.ts | 11 - ....bukkit.entity.minecart.StorageMinecart.ts | 11 - .../typings/org.bukkit.event.Cancellable.ts | 19 - .../typings/org.bukkit.event.Event.Result.ts | 16 - .../src/typings/org.bukkit.event.Event.ts | 47 - .../org.bukkit.event.EventException.ts | 29 - .../typings/org.bukkit.event.EventHandler.ts | 30 - .../typings/org.bukkit.event.EventPriority.ts | 18 - .../typings/org.bukkit.event.HandlerList.ts | 70 - .../src/typings/org.bukkit.event.Listener.ts | 9 - .../typings/org.bukkit.event.block.Action.ts | 18 - .../org.bukkit.event.block.BlockBreakEvent.ts | 26 - .../org.bukkit.event.block.BlockBurnEvent.ts | 21 - ...g.bukkit.event.block.BlockCanBuildEvent.ts | 42 - .../org.bukkit.event.block.BlockCookEvent.ts | 28 - ...org.bukkit.event.block.BlockDamageEvent.ts | 32 - ...kit.event.block.BlockDispenseArmorEvent.ts | 16 - ...g.bukkit.event.block.BlockDispenseEvent.ts | 37 - ...g.bukkit.event.block.BlockDropItemEvent.ts | 31 - .../org.bukkit.event.block.BlockEvent.ts | 17 - .../org.bukkit.event.block.BlockExpEvent.ts | 23 - ...rg.bukkit.event.block.BlockExplodeEvent.ts | 29 - .../org.bukkit.event.block.BlockFadeEvent.ts | 21 - ....bukkit.event.block.BlockFertilizeEvent.ts | 24 - .../org.bukkit.event.block.BlockFormEvent.ts | 14 - ...org.bukkit.event.block.BlockFromToEvent.ts | 28 - .../org.bukkit.event.block.BlockGrowEvent.ts | 20 - ...vent.block.BlockIgniteEvent.IgniteCause.ts | 22 - ...org.bukkit.event.block.BlockIgniteEvent.ts | 34 - ...bukkit.event.block.BlockMultiPlaceEvent.ts | 18 - ...rg.bukkit.event.block.BlockPhysicsEvent.ts | 26 - ...org.bukkit.event.block.BlockPistonEvent.ts | 22 - ...kkit.event.block.BlockPistonExtendEvent.ts | 24 - ...kit.event.block.BlockPistonRetractEvent.ts | 24 - .../org.bukkit.event.block.BlockPlaceEvent.ts | 62 - ...g.bukkit.event.block.BlockRedstoneEvent.ts | 26 - ...ukkit.event.block.BlockShearEntityEvent.ts | 24 - ...org.bukkit.event.block.BlockSpreadEvent.ts | 18 - ...k.CauldronLevelChangeEvent.ChangeReason.ts | 24 - ...it.event.block.CauldronLevelChangeEvent.ts | 24 - ...bukkit.event.block.EntityBlockFormEvent.ts | 16 - ...ukkit.event.block.FluidLevelChangeEvent.ts | 25 - ...org.bukkit.event.block.LeavesDecayEvent.ts | 16 - ....bukkit.event.block.MoistureChangeEvent.ts | 20 - .../org.bukkit.event.block.NotePlayEvent.ts | 32 - .../org.bukkit.event.block.SignChangeEvent.ts | 32 - ...rg.bukkit.event.block.SpongeAbsorbEvent.ts | 23 - ...kkit.event.enchantment.EnchantItemEvent.ts | 46 - ...ent.enchantment.PrepareItemEnchantEvent.ts | 43 - ....event.entity.AreaEffectCloudApplyEvent.ts | 26 - ...bukkit.event.entity.BatToggleSleepEvent.ts | 20 - ...t.entity.CreatureSpawnEvent.SpawnReason.ts | 45 - ....bukkit.event.entity.CreatureSpawnEvent.ts | 17 - ...ent.entity.CreeperPowerEvent.PowerCause.ts | 18 - ...g.bukkit.event.entity.CreeperPowerEvent.ts | 26 - ...vent.entity.EnderDragonChangePhaseEvent.ts | 30 - ...ukkit.event.entity.EntityAirChangeEvent.ts | 24 - ...ukkit.event.entity.EntityBreakDoorEvent.ts | 13 - ...rg.bukkit.event.entity.EntityBreedEvent.ts | 42 - ...kit.event.entity.EntityChangeBlockEvent.ts | 28 - ....event.entity.EntityCombustByBlockEvent.ts | 18 - ...event.entity.EntityCombustByEntityEvent.ts | 16 - ....bukkit.event.entity.EntityCombustEvent.ts | 24 - ...it.event.entity.EntityCreatePortalEvent.ts | 25 - ...t.event.entity.EntityDamageByBlockEvent.ts | 17 - ....event.entity.EntityDamageByEntityEvent.ts | 17 - ...nt.entity.EntityDamageEvent.DamageCause.ts | 43 - ...entity.EntityDamageEvent.DamageModifier.ts | 22 - ...g.bukkit.event.entity.EntityDamageEvent.ts | 59 - ...rg.bukkit.event.entity.EntityDeathEvent.ts | 34 - ...bukkit.event.entity.EntityDropItemEvent.ts | 20 - .../org.bukkit.event.entity.EntityEvent.ts | 21 - ....bukkit.event.entity.EntityExplodeEvent.ts | 36 - ...bukkit.event.entity.EntityInteractEvent.ts | 21 - ...kkit.event.entity.EntityPickupItemEvent.ts | 25 - ...rg.bukkit.event.entity.EntityPlaceEvent.ts | 28 - ...kit.event.entity.EntityPortalEnterEvent.ts | 18 - ...g.bukkit.event.entity.EntityPortalEvent.ts | 14 - ...kkit.event.entity.EntityPortalExitEvent.ts | 28 - ...kkit.event.entity.EntityPoseChangeEvent.ts | 18 - ...t.entity.EntityPotionEffectEvent.Action.ts | 19 - ...nt.entity.EntityPotionEffectEvent.Cause.ts | 36 - ...it.event.entity.EntityPotionEffectEvent.ts | 46 - ...ty.EntityRegainHealthEvent.RegainReason.ts | 24 - ...it.event.entity.EntityRegainHealthEvent.ts | 28 - ...ukkit.event.entity.EntityResurrectEvent.ts | 17 - ...bukkit.event.entity.EntityShootBowEvent.ts | 33 - ...rg.bukkit.event.entity.EntitySpawnEvent.ts | 20 - ...org.bukkit.event.entity.EntityTameEvent.ts | 21 - ...t.entity.EntityTargetEvent.TargetReason.ts | 32 - ...g.bukkit.event.entity.EntityTargetEvent.ts | 38 - ...nt.entity.EntityTargetLivingEntityEvent.ts | 22 - ...bukkit.event.entity.EntityTeleportEvent.ts | 32 - ...kit.event.entity.EntityToggleGlideEvent.ts | 17 - ...kkit.event.entity.EntityToggleSwimEvent.ts | 17 - ...ty.EntityTransformEvent.TransformReason.ts | 21 - ...ukkit.event.entity.EntityTransformEvent.ts | 29 - ...entity.EntityUnleashEvent.UnleashReason.ts | 19 - ....bukkit.event.entity.EntityUnleashEvent.ts | 18 - .../org.bukkit.event.entity.ExpBottleEvent.ts | 37 - ...bukkit.event.entity.ExplosionPrimeEvent.ts | 33 - ...ukkit.event.entity.FireworkExplodeEvent.ts | 22 - ...ukkit.event.entity.FoodLevelChangeEvent.ts | 34 - .../org.bukkit.event.entity.HorseJumpEvent.ts | 44 - ...rg.bukkit.event.entity.ItemDespawnEvent.ts | 21 - .../org.bukkit.event.entity.ItemMergeEvent.ts | 21 - .../org.bukkit.event.entity.ItemSpawnEvent.ts | 14 - ...event.entity.LingeringPotionSplashEvent.ts | 21 - .../org.bukkit.event.entity.PigZapEvent.ts | 26 - ...bukkit.event.entity.PigZombieAngerEvent.ts | 29 - ...rg.bukkit.event.entity.PlayerDeathEvent.ts | 81 - ...kit.event.entity.PlayerLeashEntityEvent.ts | 28 - ...g.bukkit.event.entity.PotionSplashEvent.ts | 34 - ....bukkit.event.entity.ProjectileHitEvent.ts | 32 - ...kkit.event.entity.ProjectileLaunchEvent.ts | 15 - ...g.bukkit.event.entity.SheepDyeWoolEvent.ts | 25 - ...ukkit.event.entity.SheepRegrowWoolEvent.ts | 17 - ...org.bukkit.event.entity.SlimeSplitEvent.ts | 25 - ....event.entity.VillagerAcquireTradeEvent.ts | 25 - ....VillagerCareerChangeEvent.ChangeReason.ts | 17 - ....event.entity.VillagerCareerChangeEvent.ts | 29 - ...vent.entity.VillagerReplenishTradeEvent.ts | 34 - ...event.hanging.HangingBreakByEntityEvent.ts | 18 - ...t.hanging.HangingBreakEvent.RemoveCause.ts | 20 - ....bukkit.event.hanging.HangingBreakEvent.ts | 20 - .../org.bukkit.event.hanging.HangingEvent.ts | 17 - ....bukkit.event.hanging.HangingPlaceEvent.ts | 28 - .../org.bukkit.event.inventory.BrewEvent.ts | 24 - ...t.event.inventory.BrewingStandFuelEvent.ts | 38 - .../org.bukkit.event.inventory.ClickType.ts | 49 - ...g.bukkit.event.inventory.CraftItemEvent.ts | 15 - .../org.bukkit.event.inventory.DragType.ts | 15 - ...bukkit.event.inventory.FurnaceBurnEvent.ts | 36 - ...kit.event.inventory.FurnaceExtractEvent.ts | 24 - ...ukkit.event.inventory.FurnaceSmeltEvent.ts | 12 - ....bukkit.event.inventory.InventoryAction.ts | 32 - ...kit.event.inventory.InventoryClickEvent.ts | 84 - ...kit.event.inventory.InventoryCloseEvent.ts | 18 - ....event.inventory.InventoryCreativeEvent.ts | 14 - ...kkit.event.inventory.InventoryDragEvent.ts | 52 - ...g.bukkit.event.inventory.InventoryEvent.ts | 28 - ....event.inventory.InventoryInteractEvent.ts | 44 - ....event.inventory.InventoryMoveItemEvent.ts | 40 - ...kkit.event.inventory.InventoryOpenEvent.ts | 34 - ...vent.inventory.InventoryPickupItemEvent.ts | 24 - ....event.inventory.InventoryType.SlotType.ts | 22 - ...rg.bukkit.event.inventory.InventoryType.ts | 44 - ...ukkit.event.inventory.PrepareAnvilEvent.ts | 20 - ...t.event.inventory.PrepareItemCraftEvent.ts | 26 - ...bukkit.event.inventory.TradeSelectEvent.ts | 23 - ...ukkit.event.player.AsyncPlayerChatEvent.ts | 54 - ....player.AsyncPlayerPreLoginEvent.Result.ts | 20 - ...t.event.player.AsyncPlayerPreLoginEvent.ts | 64 - ...nt.player.PlayerAchievementAwardedEvent.ts | 20 - ...event.player.PlayerAdvancementDoneEvent.ts | 18 - ...ukkit.event.player.PlayerAnimationEvent.ts | 23 - ...bukkit.event.player.PlayerAnimationType.ts | 14 - ....player.PlayerArmorStandManipulateEvent.ts | 37 - ...ayer.PlayerBedEnterEvent.BedEnterResult.ts | 21 - ...bukkit.event.player.PlayerBedEnterEvent.ts | 62 - ...bukkit.event.player.PlayerBedLeaveEvent.ts | 40 - ...kit.event.player.PlayerBucketEmptyEvent.ts | 15 - ...g.bukkit.event.player.PlayerBucketEvent.ts | 39 - ...kkit.event.player.PlayerBucketFillEvent.ts | 15 - ...event.player.PlayerChangedMainHandEvent.ts | 19 - ...it.event.player.PlayerChangedWorldEvent.ts | 18 - ....bukkit.event.player.PlayerChannelEvent.ts | 15 - ...org.bukkit.event.player.PlayerChatEvent.ts | 42 - ...event.player.PlayerChatTabCompleteEvent.ts | 29 - ...ent.player.PlayerCommandPreprocessEvent.ts | 46 - ...kit.event.player.PlayerCommandSendEvent.ts | 21 - ...bukkit.event.player.PlayerDropItemEvent.ts | 20 - ...bukkit.event.player.PlayerEditBookEvent.ts | 53 - ...bukkit.event.player.PlayerEggThrowEvent.ts | 52 - .../org.bukkit.event.player.PlayerEvent.ts | 17 - ...ukkit.event.player.PlayerExpChangeEvent.ts | 22 - ...kkit.event.player.PlayerFishEvent.State.ts | 22 - ...org.bukkit.event.player.PlayerFishEvent.ts | 45 - ....event.player.PlayerGameModeChangeEvent.ts | 20 - ...vent.player.PlayerInteractAtEntityEvent.ts | 16 - ....event.player.PlayerInteractEntityEvent.ts | 26 - ...bukkit.event.player.PlayerInteractEvent.ts | 87 - ...ukkit.event.player.PlayerItemBreakEvent.ts | 18 - ...kit.event.player.PlayerItemConsumeEvent.ts | 26 - ...kkit.event.player.PlayerItemDamageEvent.ts | 25 - ...bukkit.event.player.PlayerItemHeldEvent.ts | 24 - ...bukkit.event.player.PlayerItemMendEvent.ts | 36 - ...org.bukkit.event.player.PlayerJoinEvent.ts | 22 - ...org.bukkit.event.player.PlayerKickEvent.ts | 32 - ...kit.event.player.PlayerLevelChangeEvent.ts | 22 - ...it.event.player.PlayerLocaleChangeEvent.ts | 15 - ...it.event.player.PlayerLoginEvent.Result.ts | 20 - ...rg.bukkit.event.player.PlayerLoginEvent.ts | 58 - ...org.bukkit.event.player.PlayerMoveEvent.ts | 48 - ...kit.event.player.PlayerPickupArrowEvent.ts | 16 - ...kkit.event.player.PlayerPickupItemEvent.ts | 24 - ...g.bukkit.event.player.PlayerPortalEvent.ts | 15 - ...event.player.PlayerPreLoginEvent.Result.ts | 20 - ...bukkit.event.player.PlayerPreLoginEvent.ts | 52 - ...org.bukkit.event.player.PlayerQuitEvent.ts | 22 - ....event.player.PlayerRecipeDiscoverEvent.ts | 20 - ...event.player.PlayerRegisterChannelEvent.ts | 12 - ...er.PlayerResourcePackStatusEvent.Status.ts | 19 - ...nt.player.PlayerResourcePackStatusEvent.ts | 18 - ....bukkit.event.player.PlayerRespawnEvent.ts | 26 - ....bukkit.event.player.PlayerRiptideEvent.ts | 18 - ...kit.event.player.PlayerShearEntityEvent.ts | 20 - ...nt.player.PlayerStatisticIncrementEvent.ts | 41 - ...t.event.player.PlayerSwapHandItemsEvent.ts | 32 - ...event.player.PlayerTakeLecternBookEvent.ts | 24 - ...layer.PlayerTeleportEvent.TeleportCause.ts | 24 - ...bukkit.event.player.PlayerTeleportEvent.ts | 19 - ...it.event.player.PlayerToggleFlightEvent.ts | 20 - ...kit.event.player.PlayerToggleSneakEvent.ts | 20 - ...it.event.player.PlayerToggleSprintEvent.ts | 20 - ...t.event.player.PlayerUnleashEntityEvent.ts | 18 - ...ent.player.PlayerUnregisterChannelEvent.ts | 12 - ...bukkit.event.player.PlayerVelocityEvent.ts | 24 - ...kkit.event.server.BroadcastMessageEvent.ts | 37 - ....bukkit.event.server.MapInitializeEvent.ts | 18 - ....bukkit.event.server.PluginDisableEvent.ts | 14 - ...g.bukkit.event.server.PluginEnableEvent.ts | 14 - .../org.bukkit.event.server.PluginEvent.ts | 16 - ...t.event.server.RemoteServerCommandEvent.ts | 14 - ....bukkit.event.server.ServerCommandEvent.ts | 29 - .../org.bukkit.event.server.ServerEvent.ts | 13 - ...bukkit.event.server.ServerListPingEvent.ts | 57 - ...t.event.server.ServerLoadEvent.LoadType.ts | 17 - ...org.bukkit.event.server.ServerLoadEvent.ts | 21 - .../org.bukkit.event.server.ServiceEvent.ts | 13 - ...ukkit.event.server.ServiceRegisterEvent.ts | 14 - ...kit.event.server.ServiceUnregisterEvent.ts | 14 - ...rg.bukkit.event.server.TabCompleteEvent.ts | 33 - ...vent.vehicle.VehicleBlockCollisionEvent.ts | 18 - ...kit.event.vehicle.VehicleCollisionEvent.ts | 12 - ...bukkit.event.vehicle.VehicleCreateEvent.ts | 16 - ...bukkit.event.vehicle.VehicleDamageEvent.ts | 28 - ...ukkit.event.vehicle.VehicleDestroyEvent.ts | 20 - ....bukkit.event.vehicle.VehicleEnterEvent.ts | 20 - ...ent.vehicle.VehicleEntityCollisionEvent.ts | 21 - .../org.bukkit.event.vehicle.VehicleEvent.ts | 17 - ...g.bukkit.event.vehicle.VehicleExitEvent.ts | 20 - ...g.bukkit.event.vehicle.VehicleMoveEvent.ts | 22 - ...bukkit.event.vehicle.VehicleUpdateEvent.ts | 14 - ...vent.weather.LightningStrikeEvent.Cause.ts | 20 - ...kkit.event.weather.LightningStrikeEvent.ts | 25 - ...bukkit.event.weather.ThunderChangeEvent.ts | 20 - ...bukkit.event.weather.WeatherChangeEvent.ts | 20 - .../org.bukkit.event.weather.WeatherEvent.ts | 17 - .../org.bukkit.event.world.ChunkEvent.ts | 17 - .../org.bukkit.event.world.ChunkLoadEvent.ts | 20 - ...g.bukkit.event.world.ChunkPopulateEvent.ts | 14 - ...org.bukkit.event.world.ChunkUnloadEvent.ts | 23 - ...nt.world.PortalCreateEvent.CreateReason.ts | 18 - ...rg.bukkit.event.world.PortalCreateEvent.ts | 29 - ...org.bukkit.event.world.SpawnChangeEvent.ts | 18 - ...g.bukkit.event.world.StructureGrowEvent.ts | 37 - .../org.bukkit.event.world.WorldEvent.ts | 16 - .../org.bukkit.event.world.WorldInitEvent.ts | 14 - .../org.bukkit.event.world.WorldLoadEvent.ts | 14 - .../org.bukkit.event.world.WorldSaveEvent.ts | 14 - ...org.bukkit.event.world.WorldUnloadEvent.ts | 16 - .../org.bukkit.generator.BlockPopulator.ts | 20 - ...kkit.generator.ChunkGenerator.BiomeGrid.ts | 19 - ...kkit.generator.ChunkGenerator.ChunkData.ts | 69 - .../org.bukkit.generator.ChunkGenerator.ts | 50 - ...org.bukkit.help.GenericCommandHelpTopic.ts | 12 - .../src/typings/org.bukkit.help.HelpMap.ts | 45 - .../src/typings/org.bukkit.help.HelpTopic.ts | 62 - ...HelpTopicComparator.TopicNameComparator.ts | 12 - .../org.bukkit.help.HelpTopicComparator.ts | 12 - .../org.bukkit.help.HelpTopicFactory.ts | 14 - .../typings/org.bukkit.help.IndexHelpTopic.ts | 31 - ...bukkit.inventory.AbstractHorseInventory.ts | 17 - .../org.bukkit.inventory.AnvilInventory.ts | 36 - .../org.bukkit.inventory.BeaconInventory.ts | 17 - .../org.bukkit.inventory.BlastingRecipe.ts | 11 - ...g.bukkit.inventory.BlockInventoryHolder.ts | 13 - .../org.bukkit.inventory.BrewerInventory.ts | 27 - .../org.bukkit.inventory.CampfireRecipe.ts | 11 - ...g.bukkit.inventory.CartographyInventory.ts | 9 - .../org.bukkit.inventory.CookingRecipe.ts | 64 - .../org.bukkit.inventory.CraftingInventory.ts | 29 - ...g.bukkit.inventory.DoubleChestInventory.ts | 18 - ...rg.bukkit.inventory.EnchantingInventory.ts | 25 - .../org.bukkit.inventory.EntityEquipment.ts | 189 -- .../org.bukkit.inventory.EquipmentSlot.ts | 17 - .../org.bukkit.inventory.FurnaceInventory.ts | 34 - .../org.bukkit.inventory.FurnaceRecipe.ts | 32 - ...rg.bukkit.inventory.GrindstoneInventory.ts | 9 - .../org.bukkit.inventory.HorseInventory.ts | 17 - .../typings/org.bukkit.inventory.Inventory.ts | 215 -- .../org.bukkit.inventory.InventoryHolder.ts | 13 - ...bukkit.inventory.InventoryView.Property.ts | 35 - .../org.bukkit.inventory.InventoryView.ts | 94 - .../org.bukkit.inventory.ItemFactory.ts | 70 - .../typings/org.bukkit.inventory.ItemFlag.ts | 17 - .../typings/org.bukkit.inventory.ItemStack.ts | 142 -- .../org.bukkit.inventory.LecternInventory.ts | 10 - .../org.bukkit.inventory.LlamaInventory.ts | 17 - .../org.bukkit.inventory.LoomInventory.ts | 9 - .../typings/org.bukkit.inventory.MainHand.ts | 13 - .../typings/org.bukkit.inventory.Merchant.ts | 41 - .../org.bukkit.inventory.MerchantInventory.ts | 27 - .../org.bukkit.inventory.MerchantRecipe.ts | 60 - .../org.bukkit.inventory.PlayerInventory.ts | 121 -- .../typings/org.bukkit.inventory.Recipe.ts | 13 - ...kkit.inventory.RecipeChoice.ExactChoice.ts | 21 - ...t.inventory.RecipeChoice.MaterialChoice.ts | 26 - .../org.bukkit.inventory.RecipeChoice.ts | 15 - .../org.bukkit.inventory.ShapedRecipe.ts | 62 - .../org.bukkit.inventory.ShapelessRecipe.ts | 101 - .../org.bukkit.inventory.SmokingRecipe.ts | 11 - ...g.bukkit.inventory.StonecutterInventory.ts | 9 - ...org.bukkit.inventory.StonecuttingRecipe.ts | 48 - .../org.bukkit.inventory.meta.BannerMeta.ts | 49 - ...org.bukkit.inventory.meta.BlockDataMeta.ts | 26 - ...rg.bukkit.inventory.meta.BlockStateMeta.ts | 27 - ...kkit.inventory.meta.BookMeta.Generation.ts | 19 - .../org.bukkit.inventory.meta.BookMeta.ts | 102 - .../org.bukkit.inventory.meta.CrossbowMeta.ts | 28 - .../org.bukkit.inventory.meta.Damageable.ts | 24 - ...t.inventory.meta.EnchantmentStorageMeta.ts | 41 - ...ukkit.inventory.meta.FireworkEffectMeta.ts | 24 - .../org.bukkit.inventory.meta.FireworkMeta.ts | 53 - .../org.bukkit.inventory.meta.ItemMeta.ts | 210 -- ...bukkit.inventory.meta.KnowledgeBookMeta.ts | 29 - ....bukkit.inventory.meta.LeatherArmorMeta.ts | 21 - .../org.bukkit.inventory.meta.MapMeta.ts | 88 - .../org.bukkit.inventory.meta.PotionMeta.ts | 71 - .../org.bukkit.inventory.meta.Repairable.ts | 24 - .../org.bukkit.inventory.meta.SkullMeta.ts | 35 - .../org.bukkit.inventory.meta.SpawnEggMeta.ts | 20 - ...t.inventory.meta.TropicalFishBucketMeta.ts | 59 - ...entory.meta.tags.CustomItemTagContainer.ts | 52 - ...ventory.meta.tags.ItemTagAdapterContext.ts | 17 - ....meta.tags.ItemTagType.PrimitiveTagType.ts | 19 - ....bukkit.inventory.meta.tags.ItemTagType.ts | 41 - .../org.bukkit.loot.LootContext.Builder.ts | 42 - .../typings/org.bukkit.loot.LootContext.ts | 38 - .../src/typings/org.bukkit.loot.LootTable.ts | 17 - .../src/typings/org.bukkit.loot.LootTables.ts | 153 -- .../src/typings/org.bukkit.loot.Lootable.ts | 33 - .../src/typings/org.bukkit.map.MapCanvas.ts | 46 - .../typings/org.bukkit.map.MapCursor.Type.ts | 42 - .../src/typings/org.bukkit.map.MapCursor.ts | 81 - .../org.bukkit.map.MapCursorCollection.ts | 42 - .../org.bukkit.map.MapFont.CharacterSprite.ts | 24 - .../src/typings/org.bukkit.map.MapFont.ts | 32 - .../src/typings/org.bukkit.map.MapPalette.ts | 45 - .../src/typings/org.bukkit.map.MapRenderer.ts | 31 - .../typings/org.bukkit.map.MapView.Scale.ts | 26 - .../src/typings/org.bukkit.map.MapView.ts | 95 - .../typings/org.bukkit.map.MinecraftFont.ts | 14 - .../typings/org.bukkit.material.Attachable.ts | 13 - .../src/typings/org.bukkit.material.Banner.ts | 18 - .../src/typings/org.bukkit.material.Bed.ts | 38 - .../src/typings/org.bukkit.material.Button.ts | 31 - .../src/typings/org.bukkit.material.Cake.ts | 30 - .../typings/org.bukkit.material.Cauldron.ts | 22 - .../src/typings/org.bukkit.material.Chest.ts | 17 - .../src/typings/org.bukkit.material.Coal.ts | 23 - ...kkit.material.CocoaPlant.CocoaPlantSize.ts | 16 - .../typings/org.bukkit.material.CocoaPlant.ts | 26 - .../typings/org.bukkit.material.Colorable.ts | 23 - .../typings/org.bukkit.material.Command.ts | 23 - .../typings/org.bukkit.material.Comparator.ts | 56 - .../src/typings/org.bukkit.material.Crops.ts | 46 - .../org.bukkit.material.DetectorRail.ts | 15 - .../src/typings/org.bukkit.material.Diode.ts | 58 - .../org.bukkit.material.Directional.ts | 17 - ...rg.bukkit.material.DirectionalContainer.ts | 15 - .../typings/org.bukkit.material.Dispenser.ts | 16 - .../src/typings/org.bukkit.material.Door.ts | 79 - .../src/typings/org.bukkit.material.Dye.ts | 23 - .../typings/org.bukkit.material.EnderChest.ts | 17 - .../org.bukkit.material.ExtendedRails.ts | 15 - .../typings/org.bukkit.material.FlowerPot.ts | 25 - .../typings/org.bukkit.material.Furnace.ts | 17 - ...org.bukkit.material.FurnaceAndDispenser.ts | 12 - .../src/typings/org.bukkit.material.Gate.ts | 18 - .../src/typings/org.bukkit.material.Hopper.ts | 49 - .../src/typings/org.bukkit.material.Ladder.ts | 21 - .../src/typings/org.bukkit.material.Leaves.ts | 57 - .../src/typings/org.bukkit.material.Lever.ts | 31 - .../typings/org.bukkit.material.LongGrass.ts | 23 - .../org.bukkit.material.MaterialData.ts | 35 - .../org.bukkit.material.MonsterEggs.ts | 14 - .../typings/org.bukkit.material.Mushroom.ts | 52 - .../org.bukkit.material.NetherWarts.ts | 23 - .../typings/org.bukkit.material.Observer.ts | 18 - .../typings/org.bukkit.material.Openable.ts | 17 - .../org.bukkit.material.PistonBaseMaterial.ts | 26 - ...bukkit.material.PistonExtensionMaterial.ts | 23 - .../org.bukkit.material.PoweredRail.ts | 18 - .../org.bukkit.material.PressurePlate.ts | 15 - .../org.bukkit.material.PressureSensor.ts | 10 - .../typings/org.bukkit.material.Pumpkin.ts | 21 - .../src/typings/org.bukkit.material.Rails.ts | 31 - .../typings/org.bukkit.material.Redstone.ts | 14 - .../org.bukkit.material.RedstoneTorch.ts | 19 - .../org.bukkit.material.RedstoneWire.ts | 19 - .../typings/org.bukkit.material.Sandstone.ts | 23 - .../typings/org.bukkit.material.Sapling.ts | 46 - .../src/typings/org.bukkit.material.Sign.ts | 27 - ...t.material.SimpleAttachableMaterialData.ts | 15 - .../src/typings/org.bukkit.material.Skull.ts | 20 - .../org.bukkit.material.SmoothBrick.ts | 14 - .../typings/org.bukkit.material.SpawnEgg.ts | 23 - .../src/typings/org.bukkit.material.Stairs.ts | 28 - .../src/typings/org.bukkit.material.Step.ts | 25 - .../org.bukkit.material.TexturedMaterial.ts | 34 - .../src/typings/org.bukkit.material.Torch.ts | 18 - .../typings/org.bukkit.material.TrapDoor.ts | 26 - .../src/typings/org.bukkit.material.Tree.ts | 48 - .../typings/org.bukkit.material.Tripwire.ts | 29 - .../org.bukkit.material.TripwireHook.ts | 33 - .../src/typings/org.bukkit.material.Vine.ts | 30 - .../src/typings/org.bukkit.material.Wood.ts | 38 - .../typings/org.bukkit.material.WoodenStep.ts | 35 - .../src/typings/org.bukkit.material.Wool.ts | 23 - ...kit.material.types.MushroomBlockTexture.ts | 42 - .../org.bukkit.metadata.FixedMetadataValue.ts | 15 - ...etadata.LazyMetadataValue.CacheStrategy.ts | 16 - .../org.bukkit.metadata.LazyMetadataValue.ts | 25 - ...it.metadata.MetadataConversionException.ts | 9 - ...it.metadata.MetadataEvaluationException.ts | 9 - .../org.bukkit.metadata.MetadataStore.ts | 32 - .../org.bukkit.metadata.MetadataStoreBase.ts | 55 - .../org.bukkit.metadata.MetadataValue.ts | 54 - ...rg.bukkit.metadata.MetadataValueAdapter.ts | 20 - .../org.bukkit.metadata.Metadatable.ts | 28 - .../org.bukkit.permissions.Permissible.ts | 68 - .../org.bukkit.permissions.PermissibleBase.ts | 24 - .../org.bukkit.permissions.Permission.ts | 121 -- ...bukkit.permissions.PermissionAttachment.ts | 62 - ...it.permissions.PermissionAttachmentInfo.ts | 27 - ...rg.bukkit.permissions.PermissionDefault.ts | 25 - ...t.permissions.PermissionRemovedExecutor.ts | 14 - .../org.bukkit.permissions.ServerOperator.ts | 17 - ...ersistence.PersistentDataAdapterContext.ts | 13 - ...kit.persistence.PersistentDataContainer.ts | 61 - ...bukkit.persistence.PersistentDataHolder.ts | 16 - ...entDataType.PrimitivePersistentDataType.ts | 15 - ...g.bukkit.persistence.PersistentDataType.ts | 37 - .../org.bukkit.plugin.AuthorNagException.ts | 14 - .../org.bukkit.plugin.EventExecutor.ts | 10 - ...kit.plugin.IllegalPluginAccessException.ts | 19 - ...kkit.plugin.InvalidDescriptionException.ts | 27 - ...rg.bukkit.plugin.InvalidPluginException.ts | 27 - .../src/typings/org.bukkit.plugin.Plugin.ts | 107 - ...org.bukkit.plugin.PluginAwareness.Flags.ts | 14 - .../org.bukkit.plugin.PluginAwareness.ts | 9 - .../typings/org.bukkit.plugin.PluginBase.ts | 13 - ...org.bukkit.plugin.PluginDescriptionFile.ts | 533 ----- .../org.bukkit.plugin.PluginLoadOrder.ts | 13 - .../typings/org.bukkit.plugin.PluginLoader.ts | 39 - .../typings/org.bukkit.plugin.PluginLogger.ts | 14 - .../org.bukkit.plugin.PluginManager.ts | 166 -- .../org.bukkit.plugin.RegisteredListener.ts | 30 - ...bukkit.plugin.RegisteredServiceProvider.ts | 15 - .../org.bukkit.plugin.ServicePriority.ts | 16 - .../org.bukkit.plugin.ServicesManager.ts | 55 - .../org.bukkit.plugin.SimplePluginManager.ts | 78 - ...org.bukkit.plugin.SimpleServicesManager.ts | 54 - ...g.bukkit.plugin.TimedRegisteredListener.ts | 38 - ...ukkit.plugin.UnknownDependencyException.ts | 27 - .../org.bukkit.plugin.java.JavaPlugin.ts | 96 - ...org.bukkit.plugin.java.JavaPluginLoader.ts | 21 - ...n.messaging.ChannelNameTooLongException.ts | 13 - ...messaging.ChannelNotRegisteredException.ts | 13 - ...ugin.messaging.MessageTooLargeException.ts | 15 - .../org.bukkit.plugin.messaging.Messenger.ts | 112 - ...plugin.messaging.PluginChannelDirection.ts | 15 - ....plugin.messaging.PluginMessageListener.ts | 16 - ...aging.PluginMessageListenerRegistration.ts | 30 - ...plugin.messaging.PluginMessageRecipient.ts | 25 - ...ugin.messaging.ReservedChannelException.ts | 13 - ...kkit.plugin.messaging.StandardMessenger.ts | 44 - .../src/typings/org.bukkit.potion.Potion.ts | 109 - .../typings/org.bukkit.potion.PotionBrewer.ts | 24 - .../typings/org.bukkit.potion.PotionData.ts | 32 - .../typings/org.bukkit.potion.PotionEffect.ts | 60 - .../org.bukkit.potion.PotionEffectType.ts | 93 - ...g.bukkit.potion.PotionEffectTypeWrapper.ts | 18 - .../typings/org.bukkit.potion.PotionType.ts | 47 - ...ukkit.projectiles.BlockProjectileSource.ts | 13 - ...org.bukkit.projectiles.ProjectileSource.ts | 18 - .../org.bukkit.scheduler.BukkitRunnable.ts | 58 - .../org.bukkit.scheduler.BukkitScheduler.ts | 185 -- .../org.bukkit.scheduler.BukkitTask.ts | 29 - .../org.bukkit.scheduler.BukkitWorker.ts | 21 - .../org.bukkit.scoreboard.Criterias.ts | 13 - .../org.bukkit.scoreboard.DisplaySlot.ts | 14 - ...org.bukkit.scoreboard.NameTagVisibility.ts | 15 - .../org.bukkit.scoreboard.Objective.ts | 62 - .../org.bukkit.scoreboard.RenderType.ts | 13 - .../typings/org.bukkit.scoreboard.Score.ts | 37 - .../org.bukkit.scoreboard.Scoreboard.ts | 86 - ...org.bukkit.scoreboard.ScoreboardManager.ts | 22 - .../org.bukkit.scoreboard.Team.Option.ts | 16 - ...org.bukkit.scoreboard.Team.OptionStatus.ts | 17 - .../src/typings/org.bukkit.scoreboard.Team.ts | 133 -- .../typings/org.bukkit.util.BlockIterator.ts | 54 - .../typings/org.bukkit.util.BlockVector.ts | 42 - .../typings/org.bukkit.util.BoundingBox.ts | 287 --- .../org.bukkit.util.CachedServerIcon.ts | 9 - .../org.bukkit.util.ChatPaginator.ChatPage.ts | 15 - .../typings/org.bukkit.util.ChatPaginator.ts | 29 - .../src/typings/org.bukkit.util.Consumer.ts | 13 - .../src/typings/org.bukkit.util.EulerAngle.ts | 54 - .../src/typings/org.bukkit.util.FileUtil.ts | 14 - .../org.bukkit.util.NumberConversions.ts | 23 - .../typings/org.bukkit.util.RayTraceResult.ts | 48 - .../src/typings/org.bukkit.util.StringUtil.ts | 21 - .../src/typings/org.bukkit.util.Vector.ts | 318 --- ....bukkit.util.io.BukkitObjectInputStream.ts | 20 - ...bukkit.util.io.BukkitObjectOutputStream.ts | 20 - .../org.bukkit.util.noise.NoiseGenerator.ts | 61 - .../org.bukkit.util.noise.OctaveGenerator.ts | 81 - ....bukkit.util.noise.PerlinNoiseGenerator.ts | 59 - ...bukkit.util.noise.PerlinOctaveGenerator.ts | 23 - ...bukkit.util.noise.SimplexNoiseGenerator.ts | 66 - ...ukkit.util.noise.SimplexOctaveGenerator.ts | 32 - ...t.util.permissions.BroadcastPermissions.ts | 12 - ...kit.util.permissions.CommandPermissions.ts | 12 - ...kit.util.permissions.DefaultPermissions.ts | 21 - packages/sponge/package.json | 3 +- packages/sponge/src/index.ts | 4 +- packages/sponge/src/typings/index.ts | 1927 ----------------- .../org.spongepowered.api.CatalogType.ts | 28 - .../org.spongepowered.api.CatalogTypes.ts | 257 --- .../src/typings/org.spongepowered.api.Game.ts | 129 -- ....spongepowered.api.GameDictionary.Entry.ts | 42 - .../org.spongepowered.api.GameDictionary.ts | 27 - .../org.spongepowered.api.GameRegistry.ts | 206 -- .../org.spongepowered.api.GameState.ts | 37 - .../org.spongepowered.api.MinecraftVersion.ts | 30 - .../typings/org.spongepowered.api.Nameable.ts | 14 - ...rg.spongepowered.api.Platform.Component.ts | 21 - .../org.spongepowered.api.Platform.Type.ts | 36 - .../typings/org.spongepowered.api.Platform.ts | 56 - .../typings/org.spongepowered.api.Server.ts | 281 --- .../typings/org.spongepowered.api.Sponge.ts | 123 -- ...red.api.advancement.Advancement.Builder.ts | 43 - ...ongepowered.api.advancement.Advancement.ts | 53 - ...red.api.advancement.AdvancementProgress.ts | 48 - ...api.advancement.AdvancementTree.Builder.ts | 40 - ...powered.api.advancement.AdvancementTree.ts | 26 - ...powered.api.advancement.AdvancementType.ts | 16 - ...owered.api.advancement.AdvancementTypes.ts | 17 - ...red.api.advancement.DisplayInfo.Builder.ts | 73 - ...ongepowered.api.advancement.DisplayInfo.ts | 56 - ...ngepowered.api.advancement.Progressable.ts | 34 - ...pongepowered.api.advancement.TreeLayout.ts | 29 - ...wered.api.advancement.TreeLayoutElement.ts | 31 - ...iteria.AdvancementCriterion.BaseBuilder.ts | 32 - ...t.criteria.AdvancementCriterion.Builder.ts | 15 - ...vancement.criteria.AdvancementCriterion.ts | 69 - ...d.api.advancement.criteria.AndCriterion.ts | 31 - ....advancement.criteria.CriterionProgress.ts | 18 - ....advancement.criteria.OperatorCriterion.ts | 38 - ...ed.api.advancement.criteria.OrCriterion.ts | 31 - ...teria.ScoreAdvancementCriterion.Builder.ts | 21 - ...ment.criteria.ScoreAdvancementCriterion.ts | 24 - ...ncement.criteria.ScoreCriterionProgress.ts | 45 - ...riteria.trigger.FilteredTrigger.Builder.ts | 32 - ...cement.criteria.trigger.FilteredTrigger.ts | 30 - ...gger.FilteredTriggerConfiguration.Empty.ts | 18 - ...ia.trigger.FilteredTriggerConfiguration.ts | 15 - ...cement.criteria.trigger.Trigger.Builder.ts | 89 - ...pi.advancement.criteria.trigger.Trigger.ts | 44 - ...i.advancement.criteria.trigger.Triggers.ts | 69 - .../org.spongepowered.api.asset.Asset.ts | 86 - .../org.spongepowered.api.asset.AssetId.ts | 16 - ...rg.spongepowered.api.asset.AssetManager.ts | 25 - ...powered.api.block.BlockSnapshot.Builder.ts | 48 - ...g.spongepowered.api.block.BlockSnapshot.ts | 82 - ...spongepowered.api.block.BlockSoundGroup.ts | 46 - ...ngepowered.api.block.BlockState.Builder.ts | 22 - ...red.api.block.BlockState.MatcherBuilder.ts | 39 - ...wered.api.block.BlockState.StateMatcher.ts | 36 - .../org.spongepowered.api.block.BlockState.ts | 104 - .../org.spongepowered.api.block.BlockType.ts | 65 - .../org.spongepowered.api.block.BlockTypes.ts | 519 ----- ...epowered.api.block.ScheduledBlockUpdate.ts | 31 - ...ongepowered.api.block.tileentity.Banner.ts | 29 - ....spongepowered.api.block.tileentity.Bed.ts | 28 - ...wered.api.block.tileentity.CommandBlock.ts | 18 - ...powered.api.block.tileentity.Comparator.ts | 13 - ...d.api.block.tileentity.DaylightDetector.ts | 13 - ...d.api.block.tileentity.EnchantmentTable.ts | 13 - ...powered.api.block.tileentity.EndGateway.ts | 19 - ...epowered.api.block.tileentity.EndPortal.ts | 13 - ...powered.api.block.tileentity.EnderChest.ts | 13 - ...epowered.api.block.tileentity.FlowerPot.ts | 13 - ...ngepowered.api.block.tileentity.Jukebox.ts | 34 - ...powered.api.block.tileentity.MobSpawner.ts | 92 - ...spongepowered.api.block.tileentity.Note.ts | 29 - ...ongepowered.api.block.tileentity.Piston.ts | 13 - ...spongepowered.api.block.tileentity.Sign.ts | 24 - ...pongepowered.api.block.tileentity.Skull.ts | 24 - ...epowered.api.block.tileentity.Structure.ts | 19 - ...powered.api.block.tileentity.TileEntity.ts | 56 - ....tileentity.TileEntityArchetype.Builder.ts | 43 - ...pi.block.tileentity.TileEntityArchetype.ts | 45 - ...red.api.block.tileentity.TileEntityType.ts | 18 - ...ed.api.block.tileentity.TileEntityTypes.ts | 61 - ...red.api.block.tileentity.carrier.Beacon.ts | 38 - ...i.block.tileentity.carrier.BrewingStand.ts | 21 - ...ered.api.block.tileentity.carrier.Chest.ts | 28 - ....api.block.tileentity.carrier.Dispenser.ts | 15 - ...ed.api.block.tileentity.carrier.Dropper.ts | 15 - ...ed.api.block.tileentity.carrier.Furnace.ts | 49 - ...red.api.block.tileentity.carrier.Hopper.ts | 23 - ...api.block.tileentity.carrier.ShulkerBox.ts | 27 - ...ck.tileentity.carrier.TileEntityCarrier.ts | 17 - ...pongepowered.api.block.trait.BlockTrait.ts | 43 - ...ngepowered.api.block.trait.BooleanTrait.ts | 13 - ...gepowered.api.block.trait.BooleanTraits.ts | 281 --- ...spongepowered.api.block.trait.EnumTrait.ts | 13 - ...pongepowered.api.block.trait.EnumTraits.ts | 333 --- ...ngepowered.api.block.trait.IntegerTrait.ts | 13 - ...gepowered.api.block.trait.IntegerTraits.ts | 75 - .../org.spongepowered.api.boss.BossBar.ts | 82 - ...org.spongepowered.api.boss.BossBarColor.ts | 11 - ...rg.spongepowered.api.boss.BossBarColors.ts | 25 - ...g.spongepowered.api.boss.BossBarOverlay.ts | 11 - ....spongepowered.api.boss.BossBarOverlays.ts | 21 - ...epowered.api.boss.ServerBossBar.Builder.ts | 59 - ...rg.spongepowered.api.boss.ServerBossBar.ts | 65 - ...ongepowered.api.command.CommandCallable.ts | 59 - ...ngepowered.api.command.CommandException.ts | 35 - ...pongepowered.api.command.CommandManager.ts | 86 - ...pongepowered.api.command.CommandMapping.ts | 31 - ...ed.api.command.CommandMessageFormatting.ts | 34 - ...ed.api.command.CommandNotFoundException.ts | 24 - ....api.command.CommandPermissionException.ts | 23 - ...wered.api.command.CommandResult.Builder.ts | 44 - ...spongepowered.api.command.CommandResult.ts | 84 - ...spongepowered.api.command.CommandSource.ts | 23 - ...red.api.command.ImmutableCommandMapping.ts | 27 - ....api.command.InvocationCommandException.ts | 15 - ...d.args.ArgumentParseException.WithUsage.ts | 21 - ...api.command.args.ArgumentParseException.ts | 40 - ...ommand.args.ChildCommandElementExecutor.ts | 43 - ...d.api.command.args.CommandArgs.Snapshot.ts | 19 - ...ngepowered.api.command.args.CommandArgs.ts | 116 - ...pi.command.args.CommandContext.Snapshot.ts | 15 - ...powered.api.command.args.CommandContext.ts | 103 - ...powered.api.command.args.CommandElement.ts | 55 - ...d.api.command.args.CommandFlags.Builder.ts | 85 - ...d.args.CommandFlags.UnknownFlagBehavior.ts | 27 - ...gepowered.api.command.args.CommandFlags.ts | 22 - ...wered.api.command.args.GenericArguments.ts | 632 ------ ...mand.args.PatternMatchingCommandElement.ts | 36 - ...api.command.args.SelectorCommandElement.ts | 18 - ...api.command.args.parsing.InputTokenizer.ts | 44 - ...ered.api.command.args.parsing.SingleArg.ts | 40 - ...ed.api.command.dispatcher.Disambiguator.ts | 19 - ...wered.api.command.dispatcher.Dispatcher.ts | 68 - ...api.command.dispatcher.SimpleDispatcher.ts | 114 - ...d.api.command.source.CommandBlockSource.ts | 47 - ...owered.api.command.source.ConsoleSource.ts | 13 - ...epowered.api.command.source.ProxySource.ts | 18 - ...gepowered.api.command.source.RconSource.ts | 23 - ...powered.api.command.source.RemoteSource.ts | 18 - ...gepowered.api.command.source.SignSource.ts | 18 - ...owered.api.command.spec.CommandExecutor.ts | 18 - ...ed.api.command.spec.CommandSpec.Builder.ts | 95 - ...ngepowered.api.command.spec.CommandSpec.ts | 84 - .../org.spongepowered.api.config.ConfigDir.ts | 17 - ....spongepowered.api.config.ConfigManager.ts | 30 - ...org.spongepowered.api.config.ConfigRoot.ts | 36 - ....spongepowered.api.config.DefaultConfig.ts | 16 - .../org.spongepowered.api.data.Archetype.ts | 21 - ...api.data.DataAlreadyRegisteredException.ts | 44 - ...rg.spongepowered.api.data.DataContainer.ts | 30 - ...rg.spongepowered.api.data.DataException.ts | 27 - .../org.spongepowered.api.data.DataHolder.ts | 33 - .../org.spongepowered.api.data.DataManager.ts | 122 -- .../org.spongepowered.api.data.DataQuery.ts | 95 - ...wered.api.data.DataRegistration.Builder.ts | 112 - ...spongepowered.api.data.DataRegistration.ts | 54 - ....data.DataRegistrationNotFoundException.ts | 62 - ...spongepowered.api.data.DataSerializable.ts | 27 - ....api.data.DataTransactionResult.Builder.ts | 102 - ...red.api.data.DataTransactionResult.Type.ts | 27 - ...epowered.api.data.DataTransactionResult.ts | 164 -- ...ngepowered.api.data.DataView.SafetyMode.ts | 23 - .../org.spongepowered.api.data.DataView.ts | 391 ---- ...gepowered.api.data.ImmutableDataBuilder.ts | 42 - ...ngepowered.api.data.ImmutableDataHolder.ts | 17 - ...pongepowered.api.data.LocatableSnapshot.ts | 35 - ...ngepowered.api.data.MemoryDataContainer.ts | 32 - ...g.spongepowered.api.data.MemoryDataView.ts | 111 - ...pongepowered.api.data.Property.Operator.ts | 54 - .../org.spongepowered.api.data.Property.ts | 45 - .../org.spongepowered.api.data.Queries.ts | 85 - .../org.spongepowered.api.data.Transaction.ts | 88 - ....spongepowered.api.data.key.Key.Builder.ts | 48 - .../org.spongepowered.api.data.key.Key.ts | 47 - ...g.spongepowered.api.data.key.KeyFactory.ts | 49 - .../org.spongepowered.api.data.key.Keys.ts | 539 ----- ...ed.api.data.manipulator.DataManipulator.ts | 103 - ...data.manipulator.DataManipulatorBuilder.ts | 30 - ...ta.manipulator.ImmutableDataManipulator.ts | 40 - ...pulator.ImmutableDataManipulatorBuilder.ts | 38 - ...ta.manipulator.catalog.CatalogBlockData.ts | 103 - ...a.manipulator.catalog.CatalogEntityData.ts | 149 -- ...ata.manipulator.catalog.CatalogItemData.ts | 63 - ...nipulator.catalog.CatalogTileEntityData.ts | 43 - ...ipulator.immutable.ImmutableColoredData.ts | 20 - ...ipulator.immutable.ImmutableCommandData.ts | 44 - ...ator.immutable.ImmutableDisplayNameData.ts | 21 - ...ipulator.immutable.ImmutableDyeableData.ts | 15 - ...r.immutable.ImmutableFireworkEffectData.ts | 22 - ...r.immutable.ImmutableFireworkRocketData.ts | 25 - ...manipulator.immutable.ImmutableListData.ts | 36 - ...nipulator.immutable.ImmutableMappedData.ts | 40 - ...lator.immutable.ImmutableMobSpawnerData.ts | 80 - ...tor.immutable.ImmutablePotionEffectData.ts | 20 - ...lator.immutable.ImmutablePotionTypeData.ts | 20 - ....immutable.ImmutableRepresentedItemData.ts | 21 - ...mmutable.ImmutableRepresentedPlayerData.ts | 21 - ...lator.immutable.ImmutableRotationalData.ts | 15 - ...anipulator.immutable.ImmutableSkullData.ts | 15 - ...immutable.ImmutableTargetedLocationData.ts | 20 - ...ipulator.immutable.ImmutableVariantData.ts | 20 - ....manipulator.immutable.ImmutableWetData.ts | 20 - ...r.immutable.block.ImmutableAttachedData.ts | 22 - ...lator.immutable.block.ImmutableAxisData.ts | 22 - ...mmutable.block.ImmutableBigMushroomData.ts | 17 - ...ator.immutable.block.ImmutableBrickData.ts | 17 - ...immutable.block.ImmutableComparatorData.ts | 17 - ...e.block.ImmutableConnectedDirectionData.ts | 47 - ....immutable.block.ImmutableDecayableData.ts | 23 - ....immutable.block.ImmutableDelayableData.ts | 22 - ...mmutable.block.ImmutableDirectionalData.ts | 23 - ...lator.immutable.block.ImmutableDirtData.ts | 17 - ...r.immutable.block.ImmutableDisarmedData.ts | 22 - ...table.block.ImmutableDisguisedBlockData.ts | 17 - ...mmutable.block.ImmutableDoublePlantData.ts | 17 - ...lator.immutable.block.ImmutableDropData.ts | 22 - ...r.immutable.block.ImmutableExtendedData.ts | 22 - ...tor.immutable.block.ImmutableFilledData.ts | 22 - ...immutable.block.ImmutableFluidLevelData.ts | 22 - ...tor.immutable.block.ImmutableGrowthData.ts | 22 - ...ator.immutable.block.ImmutableHingeData.ts | 17 - ...tor.immutable.block.ImmutableInWallData.ts | 22 - ...or.immutable.block.ImmutableLayeredData.ts | 22 - ...or.immutable.block.ImmutableLogAxisData.ts | 17 - ...r.immutable.block.ImmutableMoistureData.ts | 22 - ...r.immutable.block.ImmutableOccupiedData.ts | 22 - ...lator.immutable.block.ImmutableOpenData.ts | 22 - ...tor.immutable.block.ImmutablePistonData.ts | 17 - ...ator.immutable.block.ImmutablePlantData.ts | 17 - ...or.immutable.block.ImmutablePortionData.ts | 17 - ...or.immutable.block.ImmutablePoweredData.ts | 22 - ...immutable.block.ImmutablePrismarineData.ts | 17 - ...tor.immutable.block.ImmutableQuartzData.ts | 17 - ...utable.block.ImmutableRailDirectionData.ts | 17 - ...able.block.ImmutableRedstonePoweredData.ts | 23 - ...lator.immutable.block.ImmutableSandData.ts | 17 - ....immutable.block.ImmutableSandstoneData.ts | 17 - ...r.immutable.block.ImmutableSeamlessData.ts | 22 - ...ator.immutable.block.ImmutableShrubData.ts | 17 - ...lator.immutable.block.ImmutableSlabData.ts | 17 - ...tor.immutable.block.ImmutableSnowedData.ts | 22 - ...immutable.block.ImmutableStairShapeData.ts | 17 - ...ator.immutable.block.ImmutableStoneData.ts | 17 - ...lator.immutable.block.ImmutableTreeData.ts | 17 - ...lator.immutable.block.ImmutableWallData.ts | 17 - ...table.block.ImmutableWireAttachmentData.ts | 47 - ...ble.common.AbstractImmutableBooleanData.ts | 22 - ....AbstractImmutableBoundedComparableData.ts | 34 - ....immutable.common.AbstractImmutableData.ts | 57 - ...utable.common.AbstractImmutableListData.ts | 26 - ...able.common.AbstractImmutableMappedData.ts | 28 - ...mmon.AbstractImmutableSingleCatalogData.ts | 26 - ...able.common.AbstractImmutableSingleData.ts | 44 - ....common.AbstractImmutableSingleEnumData.ts | 28 - ...mmutable.entity.ImmutableAbsorptionData.ts | 22 - ...utable.entity.ImmutableAccelerationData.ts | 23 - ...mmutable.entity.ImmutableActiveItemData.ts | 24 - ...ble.entity.ImmutableAffectsSpawningData.ts | 22 - ...r.immutable.entity.ImmutableAgeableData.ts | 28 - ...tor.immutable.entity.ImmutableAgentData.ts | 22 - ...mmutable.entity.ImmutableAggressiveData.ts | 22 - ...immutable.entity.ImmutableAngerableData.ts | 22 - ...ble.entity.ImmutableAreaEffectCloudData.ts | 85 - ...mmutable.entity.ImmutableArmorStandData.ts | 40 - ...lator.immutable.entity.ImmutableArtData.ts | 17 - ....entity.ImmutableBodyPartRotationalData.ts | 59 - ...immutable.entity.ImmutableBreathingData.ts | 30 - ...immutable.entity.ImmutableBreedableData.ts | 22 - ...or.immutable.entity.ImmutableCareerData.ts | 22 - ...r.immutable.entity.ImmutableChargedData.ts | 22 - ...mutable.entity.ImmutableCriticalHitData.ts | 22 - ...e.entity.ImmutableCustomNameVisibleData.ts | 22 - ...mmutable.entity.ImmutableDamageableData.ts | 32 - ....immutable.entity.ImmutableDamagingData.ts | 31 - ...utable.entity.ImmutableDespawnDelayData.ts | 28 - ...table.entity.ImmutableDisabledSlotsData.ts | 27 - ...utable.entity.ImmutableDominantHandData.ts | 23 - ...utable.entity.ImmutableElytraFlyingData.ts | 22 - ...or.immutable.entity.ImmutableExpOrbData.ts | 22 - ...le.entity.ImmutableExperienceHolderData.ts | 46 - ...immutable.entity.ImmutableExpirableData.ts | 23 - ...ble.entity.ImmutableExplosionRadiusData.ts | 25 - ...utable.entity.ImmutableFallDistanceData.ts | 22 - ...utable.entity.ImmutableFallingBlockData.ts | 57 - ...immutable.entity.ImmutableFlammableData.ts | 22 - ...table.entity.ImmutableFlyingAbilityData.ts | 22 - ...or.immutable.entity.ImmutableFlyingData.ts | 22 - ...ator.immutable.entity.ImmutableFoodData.ts | 44 - ...ator.immutable.entity.ImmutableFuseData.ts | 31 - ....immutable.entity.ImmutableGameModeData.ts | 17 - ...r.immutable.entity.ImmutableGlowingData.ts | 22 - ...r.immutable.entity.ImmutableGravityData.ts | 23 - ....immutable.entity.ImmutableGriefingData.ts | 22 - ...or.immutable.entity.ImmutableHealthData.ts | 35 - ...table.entity.ImmutableHealthScalingData.ts | 27 - ...tor.immutable.entity.ImmutableHorseData.ts | 27 - ...mmutable.entity.ImmutableIgniteableData.ts | 29 - ...utable.entity.ImmutableInvisibilityData.ts | 46 - ...ble.entity.ImmutableInvulnerabilityData.ts | 32 - ...or.immutable.entity.ImmutableJohnnyData.ts | 23 - ...ator.immutable.entity.ImmutableJoinData.ts | 29 - ...immutable.entity.ImmutableKnockbackData.ts | 22 - ...tor.immutable.entity.ImmutableLeashData.ts | 22 - ...table.entity.ImmutableMinecartBlockData.ts | 29 - ...table.entity.ImmutableMovementSpeedData.ts | 27 - ...or.immutable.entity.ImmutableOcelotData.ts | 17 - ...or.immutable.entity.ImmutableParrotData.ts | 17 - ...immutable.entity.ImmutablePassengerData.ts | 23 - ...mmutable.entity.ImmutablePersistingData.ts | 23 - ...mutable.entity.ImmutablePickupDelayData.ts | 28 - ...mmutable.entity.ImmutablePickupRuleData.ts | 17 - ...immutable.entity.ImmutablePigSaddleData.ts | 22 - ...table.entity.ImmutablePlayerCreatedData.ts | 23 - ...r.immutable.entity.ImmutablePlayingData.ts | 22 - ...or.immutable.entity.ImmutableRabbitData.ts | 17 - ...mutable.entity.ImmutableRespawnLocation.ts | 32 - ...immutable.entity.ImmutableScreamingData.ts | 22 - ...mmutable.entity.ImmutableShatteringData.ts | 23 - ...r.immutable.entity.ImmutableShearedData.ts | 22 - ...or.immutable.entity.ImmutableSilentData.ts | 22 - ...r.immutable.entity.ImmutableSittingData.ts | 22 - ...ator.immutable.entity.ImmutableSizeData.ts | 32 - ...ator.immutable.entity.ImmutableSkinData.ts | 23 - ....immutable.entity.ImmutableSleepingData.ts | 29 - ...tor.immutable.entity.ImmutableSlimeData.ts | 22 - ....immutable.entity.ImmutableSneakingData.ts | 22 - ...or.immutable.entity.ImmutableSprintData.ts | 22 - ...immutable.entity.ImmutableStatisticData.ts | 17 - ...mutable.entity.ImmutableStuckArrowsData.ts | 22 - ....immutable.entity.ImmutableTameableData.ts | 23 - ...able.entity.ImmutableTargetedEntityData.ts | 22 - ...mmutable.entity.ImmutableTradeOfferData.ts | 23 - ...r.immutable.entity.ImmutableVehicleData.ts | 29 - ....immutable.entity.ImmutableVelocityData.ts | 23 - ...ator.immutable.item.ImmutableAuthorData.ts | 22 - ...r.immutable.item.ImmutableBlockItemData.ts | 23 - ...r.immutable.item.ImmutableBreakableData.ts | 23 - ...ulator.immutable.item.ImmutableCoalData.ts | 17 - ....immutable.item.ImmutableCookedFishData.ts | 17 - ....immutable.item.ImmutableDurabilityData.ts | 31 - ...immutable.item.ImmutableEnchantmentData.ts | 23 - ...ulator.immutable.item.ImmutableFishData.ts | 17 - ....immutable.item.ImmutableGenerationData.ts | 23 - ...immutable.item.ImmutableGoldenAppleData.ts | 17 - ...ulator.immutable.item.ImmutableHideData.ts | 47 - ...mutable.item.ImmutableInventoryItemData.ts | 17 - ...ulator.immutable.item.ImmutableLoreData.ts | 22 - ...tor.immutable.item.ImmutableMapItemData.ts | 17 - ...lator.immutable.item.ImmutablePagedData.ts | 22 - ...r.immutable.item.ImmutablePlaceableData.ts | 23 - ....immutable.item.ImmutablePlainPagedData.ts | 22 - ...r.immutable.item.ImmutableSpawnableData.ts | 17 - ...ble.item.ImmutableStoredEnchantmentData.ts | 23 - ...mmutable.tileentity.ImmutableBannerData.ts | 28 - ...mmutable.tileentity.ImmutableBeaconData.ts | 35 - ...r.immutable.tileentity.ImmutableBedData.ts | 22 - ...le.tileentity.ImmutableBrewingStandData.ts | 23 - ...utable.tileentity.ImmutableCooldownData.ts | 22 - ...able.tileentity.ImmutableEndGatewayData.ts | 40 - ...mutable.tileentity.ImmutableFurnaceData.ts | 46 - ...utable.tileentity.ImmutableLockableData.ts | 22 - ....immutable.tileentity.ImmutableNoteData.ts | 22 - ....immutable.tileentity.ImmutableSignData.ts | 23 - ...table.tileentity.ImmutableStructureData.ts | 67 - ...pi.data.manipulator.mutable.ColoredData.ts | 20 - ...pi.data.manipulator.mutable.CommandData.ts | 44 - ...ata.manipulator.mutable.DisplayNameData.ts | 21 - ...pi.data.manipulator.mutable.DyeableData.ts | 15 - ....manipulator.mutable.FireworkEffectData.ts | 22 - ....manipulator.mutable.FireworkRocketData.ts | 25 - ...d.api.data.manipulator.mutable.ListData.ts | 88 - ...api.data.manipulator.mutable.MappedData.ts | 56 - ...data.manipulator.mutable.MobSpawnerData.ts | 81 - ...ta.manipulator.mutable.PotionEffectData.ts | 20 - ...data.manipulator.mutable.PotionTypeData.ts | 20 - ...manipulator.mutable.RepresentedItemData.ts | 21 - ...nipulator.mutable.RepresentedPlayerData.ts | 21 - ...data.manipulator.mutable.RotationalData.ts | 15 - ....api.data.manipulator.mutable.SkullData.ts | 15 - ...anipulator.mutable.TargetedLocationData.ts | 20 - ...pi.data.manipulator.mutable.VariantData.ts | 20 - ...ed.api.data.manipulator.mutable.WetData.ts | 20 - ....manipulator.mutable.block.AttachedData.ts | 22 - ...data.manipulator.mutable.block.AxisData.ts | 17 - ...nipulator.mutable.block.BigMushroomData.ts | 17 - ...ata.manipulator.mutable.block.BrickData.ts | 17 - ...anipulator.mutable.block.ComparatorData.ts | 17 - ...or.mutable.block.ConnectedDirectionData.ts | 47 - ...manipulator.mutable.block.DecayableData.ts | 23 - ...manipulator.mutable.block.DelayableData.ts | 22 - ...nipulator.mutable.block.DirectionalData.ts | 22 - ...data.manipulator.mutable.block.DirtData.ts | 17 - ....manipulator.mutable.block.DisarmedData.ts | 22 - ...ulator.mutable.block.DisguisedBlockData.ts | 17 - ...nipulator.mutable.block.DoublePlantData.ts | 17 - ...data.manipulator.mutable.block.DropData.ts | 22 - ....manipulator.mutable.block.ExtendedData.ts | 22 - ...ta.manipulator.mutable.block.FilledData.ts | 22 - ...anipulator.mutable.block.FluidLevelData.ts | 22 - ...ta.manipulator.mutable.block.GrowthData.ts | 22 - ...ata.manipulator.mutable.block.HingeData.ts | 17 - ...ta.manipulator.mutable.block.InWallData.ts | 22 - ...a.manipulator.mutable.block.LayeredData.ts | 22 - ...a.manipulator.mutable.block.LogAxisData.ts | 17 - ....manipulator.mutable.block.MoistureData.ts | 22 - ....manipulator.mutable.block.OccupiedData.ts | 22 - ...data.manipulator.mutable.block.OpenData.ts | 22 - ...ta.manipulator.mutable.block.PistonData.ts | 17 - ...ata.manipulator.mutable.block.PlantData.ts | 17 - ...a.manipulator.mutable.block.PortionData.ts | 17 - ...a.manipulator.mutable.block.PoweredData.ts | 22 - ...anipulator.mutable.block.PrismarineData.ts | 17 - ...ta.manipulator.mutable.block.QuartzData.ts | 17 - ...pulator.mutable.block.RailDirectionData.ts | 17 - ...lator.mutable.block.RedstonePoweredData.ts | 23 - ...data.manipulator.mutable.block.SandData.ts | 17 - ...manipulator.mutable.block.SandstoneData.ts | 17 - ....manipulator.mutable.block.SeamlessData.ts | 22 - ...ata.manipulator.mutable.block.ShrubData.ts | 17 - ...data.manipulator.mutable.block.SlabData.ts | 17 - ...ta.manipulator.mutable.block.SnowedData.ts | 22 - ...anipulator.mutable.block.StairShapeData.ts | 17 - ...ata.manipulator.mutable.block.StoneData.ts | 17 - ...data.manipulator.mutable.block.TreeData.ts | 17 - ...data.manipulator.mutable.block.WallData.ts | 17 - ...ulator.mutable.block.WireAttachmentData.ts | 47 - ...ator.mutable.common.AbstractBooleanData.ts | 24 - ...le.common.AbstractBoundedComparableData.ts | 38 - ...manipulator.mutable.common.AbstractData.ts | 72 - ...ipulator.mutable.common.AbstractIntData.ts | 18 - ...pulator.mutable.common.AbstractListData.ts | 40 - ...lator.mutable.common.AbstractMappedData.ts | 34 - ...utable.common.AbstractSingleCatalogData.ts | 26 - ...lator.mutable.common.AbstractSingleData.ts | 58 - ...r.mutable.common.AbstractSingleEnumData.ts | 26 - ...nipulator.mutable.entity.AbsorptionData.ts | 22 - ...pulator.mutable.entity.AccelerationData.ts | 23 - ...nipulator.mutable.entity.ActiveItemData.ts | 24 - ...ator.mutable.entity.AffectsSpawningData.ts | 26 - ....manipulator.mutable.entity.AgeableData.ts | 28 - ...ta.manipulator.mutable.entity.AgentData.ts | 22 - ...nipulator.mutable.entity.AggressiveData.ts | 22 - ...anipulator.mutable.entity.AngerableData.ts | 22 - ...ator.mutable.entity.AreaEffectCloudData.ts | 91 - ...nipulator.mutable.entity.ArmorStandData.ts | 40 - ...data.manipulator.mutable.entity.ArtData.ts | 17 - ...r.mutable.entity.BodyPartRotationalData.ts | 53 - ...anipulator.mutable.entity.BreathingData.ts | 30 - ...anipulator.mutable.entity.BreedableData.ts | 22 - ...a.manipulator.mutable.entity.CareerData.ts | 17 - ....manipulator.mutable.entity.ChargedData.ts | 22 - ...ipulator.mutable.entity.CriticalHitData.ts | 22 - ...or.mutable.entity.CustomNameVisibleData.ts | 22 - ...nipulator.mutable.entity.DamageableData.ts | 32 - ...manipulator.mutable.entity.DamagingData.ts | 32 - ...pulator.mutable.entity.DespawnDelayData.ts | 28 - ...ulator.mutable.entity.DisabledSlotsData.ts | 27 - ...pulator.mutable.entity.DominantHandData.ts | 23 - ...pulator.mutable.entity.ElytraFlyingData.ts | 22 - ...a.manipulator.mutable.entity.ExpOrbData.ts | 22 - ...tor.mutable.entity.ExperienceHolderData.ts | 46 - ...anipulator.mutable.entity.ExpirableData.ts | 23 - ...ator.mutable.entity.ExplosionRadiusData.ts | 25 - ...pulator.mutable.entity.FallDistanceData.ts | 22 - ...pulator.mutable.entity.FallingBlockData.ts | 56 - ...anipulator.mutable.entity.FlammableData.ts | 22 - ...ulator.mutable.entity.FlyingAbilityData.ts | 22 - ...a.manipulator.mutable.entity.FlyingData.ts | 22 - ...ata.manipulator.mutable.entity.FoodData.ts | 44 - ...ata.manipulator.mutable.entity.FuseData.ts | 34 - ...manipulator.mutable.entity.GameModeData.ts | 17 - ....manipulator.mutable.entity.GlowingData.ts | 22 - ....manipulator.mutable.entity.GravityData.ts | 23 - ...manipulator.mutable.entity.GriefingData.ts | 22 - ...a.manipulator.mutable.entity.HealthData.ts | 35 - ...ulator.mutable.entity.HealthScalingData.ts | 27 - ...ta.manipulator.mutable.entity.HorseData.ts | 27 - ...nipulator.mutable.entity.IgniteableData.ts | 29 - ...pulator.mutable.entity.InvisibilityData.ts | 50 - ...ator.mutable.entity.InvulnerabilityData.ts | 32 - ...a.manipulator.mutable.entity.JohnnyData.ts | 23 - ...ata.manipulator.mutable.entity.JoinData.ts | 29 - ...anipulator.mutable.entity.KnockbackData.ts | 22 - ...ta.manipulator.mutable.entity.LeashData.ts | 22 - ...ulator.mutable.entity.MinecartBlockData.ts | 29 - ...ulator.mutable.entity.MovementSpeedData.ts | 27 - ...a.manipulator.mutable.entity.OcelotData.ts | 17 - ...a.manipulator.mutable.entity.ParrotData.ts | 17 - ...anipulator.mutable.entity.PassengerData.ts | 23 - ...nipulator.mutable.entity.PersistingData.ts | 23 - ...ipulator.mutable.entity.PickupDelayData.ts | 28 - ...nipulator.mutable.entity.PickupRuleData.ts | 17 - ...anipulator.mutable.entity.PigSaddleData.ts | 22 - ...ulator.mutable.entity.PlayerCreatedData.ts | 23 - ....manipulator.mutable.entity.PlayingData.ts | 22 - ...a.manipulator.mutable.entity.RabbitData.ts | 17 - ...ator.mutable.entity.RespawnLocationData.ts | 32 - ...anipulator.mutable.entity.ScreamingData.ts | 22 - ...nipulator.mutable.entity.ShatteringData.ts | 23 - ....manipulator.mutable.entity.ShearedData.ts | 22 - ...a.manipulator.mutable.entity.SilentData.ts | 22 - ....manipulator.mutable.entity.SittingData.ts | 22 - ...ata.manipulator.mutable.entity.SizeData.ts | 32 - ...ata.manipulator.mutable.entity.SkinData.ts | 23 - ...manipulator.mutable.entity.SleepingData.ts | 24 - ...ta.manipulator.mutable.entity.SlimeData.ts | 22 - ...manipulator.mutable.entity.SneakingData.ts | 22 - ...a.manipulator.mutable.entity.SprintData.ts | 22 - ...anipulator.mutable.entity.StatisticData.ts | 17 - ...ipulator.mutable.entity.StuckArrowsData.ts | 22 - ...manipulator.mutable.entity.TameableData.ts | 23 - ...lator.mutable.entity.TargetedEntityData.ts | 22 - ...nipulator.mutable.entity.TradeOfferData.ts | 23 - ....manipulator.mutable.entity.VehicleData.ts | 29 - ...manipulator.mutable.entity.VelocityData.ts | 23 - ...ata.manipulator.mutable.item.AuthorData.ts | 22 - ....manipulator.mutable.item.BlockItemData.ts | 23 - ....manipulator.mutable.item.BreakableData.ts | 23 - ....data.manipulator.mutable.item.CoalData.ts | 17 - ...manipulator.mutable.item.CookedFishData.ts | 17 - ...manipulator.mutable.item.DurabilityData.ts | 31 - ...anipulator.mutable.item.EnchantmentData.ts | 22 - ....data.manipulator.mutable.item.FishData.ts | 17 - ...manipulator.mutable.item.GenerationData.ts | 23 - ...anipulator.mutable.item.GoldenAppleData.ts | 17 - ....data.manipulator.mutable.item.HideData.ts | 47 - ...ipulator.mutable.item.InventoryItemData.ts | 17 - ....data.manipulator.mutable.item.LoreData.ts | 22 - ...ta.manipulator.mutable.item.MapItemData.ts | 17 - ...data.manipulator.mutable.item.PagedData.ts | 22 - ....manipulator.mutable.item.PlaceableData.ts | 23 - ...manipulator.mutable.item.PlainPagedData.ts | 22 - ....manipulator.mutable.item.SpawnableData.ts | 17 - ...ator.mutable.item.StoredEnchantmentData.ts | 23 - ...nipulator.mutable.tileentity.BannerData.ts | 28 - ...nipulator.mutable.tileentity.BeaconData.ts | 35 - ....manipulator.mutable.tileentity.BedData.ts | 22 - ...tor.mutable.tileentity.BrewingStandData.ts | 23 - ...pulator.mutable.tileentity.CooldownData.ts | 22 - ...lator.mutable.tileentity.EndGatewayData.ts | 39 - ...ipulator.mutable.tileentity.FurnaceData.ts | 49 - ...pulator.mutable.tileentity.LockableData.ts | 22 - ...manipulator.mutable.tileentity.NoteData.ts | 22 - ...manipulator.mutable.tileentity.SignData.ts | 23 - ...ulator.mutable.tileentity.StructureData.ts | 67 - ...ngepowered.api.data.merge.MergeFunction.ts | 55 - ...ered.api.data.meta.PatternLayer.Builder.ts | 33 - ...pongepowered.api.data.meta.PatternLayer.ts | 29 - ...pi.data.persistence.AbstractDataBuilder.ts | 24 - ...owered.api.data.persistence.DataBuilder.ts | 25 - ...api.data.persistence.DataContentUpdater.ts | 13 - ...powered.api.data.persistence.DataFormat.ts | 25 - ...owered.api.data.persistence.DataFormats.ts | 19 - ...red.api.data.persistence.DataTranslator.ts | 36 - ...ed.api.data.persistence.DataTranslators.ts | 63 - ...i.data.persistence.InvalidDataException.ts | 31 - ....persistence.InvalidDataFormatException.ts | 31 - ...d.api.data.persistence.StringDataFormat.ts | 37 - ...ered.api.data.property.AbstractProperty.ts | 69 - ...wered.api.data.property.BooleanProperty.ts | 29 - ...roperty.DirectionRelativePropertyHolder.ts | 19 - ....api.data.property.DisplacementProperty.ts | 25 - ...owered.api.data.property.DoubleProperty.ts | 29 - ...gepowered.api.data.property.IntProperty.ts | 29 - ...ata.property.LocationBasePropertyHolder.ts | 83 - ...owered.api.data.property.PropertyHolder.ts | 32 - ...ered.api.data.property.PropertyRegistry.ts | 27 - ...powered.api.data.property.PropertyStore.ts | 46 - ....property.block.BlastResistanceProperty.ts | 23 - ....data.property.block.CollectiveProperty.ts | 16 - ...i.data.property.block.FlammableProperty.ts | 25 - ...rty.block.FullBlockSelectionBoxProperty.ts | 25 - ....property.block.GravityAffectedProperty.ts | 24 - ....property.block.GroundLuminanceProperty.ts | 29 - ...pi.data.property.block.HardnessProperty.ts | 23 - ...pi.data.property.block.HeldItemProperty.ts | 26 - ...roperty.block.IndirectlyPoweredProperty.ts | 23 - ....data.property.block.InstrumentProperty.ts | 22 - ...ta.property.block.LightEmissionProperty.ts | 29 - ...ta.property.block.MatterProperty.Matter.ts | 27 - ....api.data.property.block.MatterProperty.ts | 27 - ...pi.data.property.block.PassableProperty.ts | 23 - ...api.data.property.block.PoweredProperty.ts | 23 - ...data.property.block.ReplaceableProperty.ts | 27 - ...ata.property.block.SkyLuminanceProperty.ts | 29 - ...i.data.property.block.SolidCubeProperty.ts | 23 - ...roperty.block.StatisticsTrackedProperty.ts | 28 - ...a.property.block.SurrogateBlockProperty.ts | 23 - ...data.property.block.TemperatureProperty.ts | 23 - ...data.property.block.UnbreakableProperty.ts | 26 - ...ta.property.entity.DominantHandProperty.ts | 28 - ....data.property.entity.EyeHeightProperty.ts | 25 - ...ata.property.entity.EyeLocationProperty.ts | 28 - ....property.item.ApplicableEffectProperty.ts | 25 - ...pi.data.property.item.ArmorTypeProperty.ts | 28 - ....data.property.item.BurningFuelProperty.ts | 25 - ....property.item.DamageAbsorptionProperty.ts | 30 - ...i.data.property.item.EfficiencyProperty.ts | 29 - ...pi.data.property.item.EquipmentProperty.ts | 29 - ...a.property.item.FoodRestorationProperty.ts | 27 - ...i.data.property.item.HarvestingProperty.ts | 25 - ...d.api.data.property.item.RecordProperty.ts | 21 - ...i.data.property.item.SaturationProperty.ts | 23 - ...pi.data.property.item.SmeltableProperty.ts | 27 - ...api.data.property.item.ToolTypeProperty.ts | 29 - ...api.data.property.item.UseLimitProperty.ts | 27 - ...g.spongepowered.api.data.type.ArmorType.ts | 19 - ....spongepowered.api.data.type.ArmorTypes.ts | 23 - .../org.spongepowered.api.data.type.Art.ts | 23 - .../org.spongepowered.api.data.type.Arts.ts | 65 - ...owered.api.data.type.BannerPatternShape.ts | 13 - ...wered.api.data.type.BannerPatternShapes.ts | 91 - ...gepowered.api.data.type.BigMushroomType.ts | 13 - ...epowered.api.data.type.BigMushroomTypes.ts | 39 - ...rg.spongepowered.api.data.type.BodyPart.ts | 13 - ...g.spongepowered.api.data.type.BodyParts.ts | 25 - ...g.spongepowered.api.data.type.BrickType.ts | 13 - ....spongepowered.api.data.type.BrickTypes.ts | 21 - .../org.spongepowered.api.data.type.Career.ts | 19 - ...org.spongepowered.api.data.type.Careers.ts | 37 - ...rg.spongepowered.api.data.type.CoalType.ts | 13 - ...g.spongepowered.api.data.type.CoalTypes.ts | 17 - ...ngepowered.api.data.type.ComparatorType.ts | 13 - ...gepowered.api.data.type.ComparatorTypes.ts | 17 - ....spongepowered.api.data.type.CookedFish.ts | 18 - ...pongepowered.api.data.type.CookedFishes.ts | 17 - ...rg.spongepowered.api.data.type.DirtType.ts | 13 - ...g.spongepowered.api.data.type.DirtTypes.ts | 19 - ...owered.api.data.type.DisguisedBlockType.ts | 13 - ...wered.api.data.type.DisguisedBlockTypes.ts | 25 - ...gepowered.api.data.type.DoublePlantType.ts | 13 - ...epowered.api.data.type.DoublePlantTypes.ts | 25 - ...rg.spongepowered.api.data.type.DyeColor.ts | 18 - ...g.spongepowered.api.data.type.DyeColors.ts | 45 - .../org.spongepowered.api.data.type.Fish.ts | 18 - .../org.spongepowered.api.data.type.Fishes.ts | 21 - ...spongepowered.api.data.type.GoldenApple.ts | 13 - ...pongepowered.api.data.type.GoldenApples.ts | 17 - ...ngepowered.api.data.type.HandPreference.ts | 13 - ...gepowered.api.data.type.HandPreferences.ts | 17 - ...rg.spongepowered.api.data.type.HandType.ts | 13 - ...g.spongepowered.api.data.type.HandTypes.ts | 17 - .../org.spongepowered.api.data.type.Hinge.ts | 13 - .../org.spongepowered.api.data.type.Hinges.ts | 17 - ....spongepowered.api.data.type.HorseColor.ts | 13 - ...spongepowered.api.data.type.HorseColors.ts | 27 - ....spongepowered.api.data.type.HorseStyle.ts | 13 - ...spongepowered.api.data.type.HorseStyles.ts | 23 - ...ngepowered.api.data.type.InstrumentType.ts | 19 - ...gepowered.api.data.type.InstrumentTypes.ts | 33 - ...pongepowered.api.data.type.LlamaVariant.ts | 13 - ...ongepowered.api.data.type.LlamaVariants.ts | 21 - ...org.spongepowered.api.data.type.LogAxes.ts | 21 - ...org.spongepowered.api.data.type.LogAxis.ts | 13 - ...g.spongepowered.api.data.type.NotePitch.ts | 13 - ...spongepowered.api.data.type.NotePitches.ts | 63 - ....spongepowered.api.data.type.OcelotType.ts | 13 - ...spongepowered.api.data.type.OcelotTypes.ts | 21 - ...ongepowered.api.data.type.ParrotVariant.ts | 13 - ...ngepowered.api.data.type.ParrotVariants.ts | 23 - ....spongepowered.api.data.type.PickupRule.ts | 13 - ...spongepowered.api.data.type.PickupRules.ts | 19 - ....spongepowered.api.data.type.PistonType.ts | 13 - ...spongepowered.api.data.type.PistonTypes.ts | 17 - ...g.spongepowered.api.data.type.PlantType.ts | 13 - ....spongepowered.api.data.type.PlantTypes.ts | 33 - ...spongepowered.api.data.type.PortionType.ts | 13 - ...pongepowered.api.data.type.PortionTypes.ts | 17 - ...ngepowered.api.data.type.PrismarineType.ts | 13 - ...gepowered.api.data.type.PrismarineTypes.ts | 19 - ....spongepowered.api.data.type.Profession.ts | 18 - ...spongepowered.api.data.type.Professions.ts | 23 - ....spongepowered.api.data.type.QuartzType.ts | 13 - ...spongepowered.api.data.type.QuartzTypes.ts | 23 - ....spongepowered.api.data.type.RabbitType.ts | 13 - ...spongepowered.api.data.type.RabbitTypes.ts | 27 - ...ongepowered.api.data.type.RailDirection.ts | 13 - ...ngepowered.api.data.type.RailDirections.ts | 33 - ...rg.spongepowered.api.data.type.SandType.ts | 13 - ...g.spongepowered.api.data.type.SandTypes.ts | 17 - ...ongepowered.api.data.type.SandstoneType.ts | 13 - ...ngepowered.api.data.type.SandstoneTypes.ts | 19 - ...g.spongepowered.api.data.type.ShrubType.ts | 13 - ....spongepowered.api.data.type.ShrubTypes.ts | 19 - ...rg.spongepowered.api.data.type.SkinPart.ts | 13 - ...g.spongepowered.api.data.type.SkinParts.ts | 27 - ...g.spongepowered.api.data.type.SkullType.ts | 13 - ....spongepowered.api.data.type.SkullTypes.ts | 25 - ...rg.spongepowered.api.data.type.SlabType.ts | 13 - ...g.spongepowered.api.data.type.SlabTypes.ts | 31 - ....spongepowered.api.data.type.StairShape.ts | 13 - ...spongepowered.api.data.type.StairShapes.ts | 23 - ...g.spongepowered.api.data.type.StoneType.ts | 13 - ....spongepowered.api.data.type.StoneTypes.ts | 27 - ...ongepowered.api.data.type.StructureMode.ts | 13 - ...ngepowered.api.data.type.StructureModes.ts | 21 - ...rg.spongepowered.api.data.type.ToolType.ts | 13 - ...g.spongepowered.api.data.type.ToolTypes.ts | 23 - ...rg.spongepowered.api.data.type.TreeType.ts | 13 - ...g.spongepowered.api.data.type.TreeTypes.ts | 25 - ...rg.spongepowered.api.data.type.WallType.ts | 13 - ...g.spongepowered.api.data.type.WallTypes.ts | 17 - ...owered.api.data.type.WireAttachmentType.ts | 13 - ...wered.api.data.type.WireAttachmentTypes.ts | 19 - ....spongepowered.api.data.value.BaseValue.ts | 45 - ...ongepowered.api.data.value.BoundedValue.ts | 36 - ...gepowered.api.data.value.ValueContainer.ts | 83 - ....value.ValueFactory.BoundedValueBuilder.ts | 56 - ...ongepowered.api.data.value.ValueFactory.ts | 82 - ...a.value.immutable.ImmutableBoundedValue.ts | 19 - ...alue.immutable.ImmutableCollectionValue.ts | 84 - ...data.value.immutable.ImmutableListValue.ts | 55 - ....data.value.immutable.ImmutableMapValue.ts | 87 - ....value.immutable.ImmutableOptionalValue.ts | 35 - ...lue.immutable.ImmutablePatternListValue.ts | 59 - ....data.value.immutable.ImmutableSetValue.ts | 15 - ...api.data.value.immutable.ImmutableValue.ts | 39 - ...ata.value.immutable.ImmutableValueStore.ts | 158 -- ...utable.ImmutableWeightedCollectionValue.ts | 21 - ....api.data.value.mutable.CollectionValue.ts | 92 - ....data.value.mutable.CompositeValueStore.ts | 261 --- ...owered.api.data.value.mutable.ListValue.ts | 54 - ...powered.api.data.value.mutable.MapValue.ts | 82 - ....data.value.mutable.MutableBoundedValue.ts | 19 - ...ed.api.data.value.mutable.OptionalValue.ts | 34 - ...api.data.value.mutable.PatternListValue.ts | 54 - ...powered.api.data.value.mutable.SetValue.ts | 15 - ...ngepowered.api.data.value.mutable.Value.ts | 41 - ...a.value.mutable.WeightedCollectionValue.ts | 21 - .../org.spongepowered.api.effect.Viewer.ts | 149 -- ....effect.particle.ParticleEffect.Builder.ts | 52 - ...ered.api.effect.particle.ParticleEffect.ts | 40 - ...ered.api.effect.particle.ParticleOption.ts | 18 - ...red.api.effect.particle.ParticleOptions.ts | 37 - ...owered.api.effect.particle.ParticleType.ts | 28 - ...wered.api.effect.particle.ParticleTypes.ts | 121 -- ....api.effect.potion.PotionEffect.Builder.ts | 50 - ...epowered.api.effect.potion.PotionEffect.ts | 53 - ...ered.api.effect.potion.PotionEffectType.ts | 24 - ...red.api.effect.potion.PotionEffectTypes.ts | 67 - ...owered.api.effect.sound.PitchModulation.ts | 93 - ...owered.api.effect.sound.SoundCategories.ts | 33 - ...epowered.api.effect.sound.SoundCategory.ts | 13 - ...ered.api.effect.sound.SoundType.Builder.ts | 22 - ...pongepowered.api.effect.sound.SoundType.ts | 24 - ...ongepowered.api.effect.sound.SoundTypes.ts | 1111 ---------- ...ered.api.effect.sound.record.RecordType.ts | 21 - ...red.api.effect.sound.record.RecordTypes.ts | 39 - ...pongepowered.api.entity.AreaEffectCloud.ts | 83 - ...spongepowered.api.entity.ArmorEquipable.ts | 81 - ...g.spongepowered.api.entity.EnderCrystal.ts | 11 - .../org.spongepowered.api.entity.Entity.ts | 293 --- ...ered.api.entity.EntityArchetype.Builder.ts | 52 - ...pongepowered.api.entity.EntityArchetype.ts | 40 - ...wered.api.entity.EntitySnapshot.Builder.ts | 36 - ...spongepowered.api.entity.EntitySnapshot.ts | 51 - ...org.spongepowered.api.entity.EntityType.ts | 16 - ...rg.spongepowered.api.entity.EntityTypes.ts | 191 -- .../org.spongepowered.api.entity.Equipable.ts | 37 - ....spongepowered.api.entity.ExperienceOrb.ts | 22 - ...g.spongepowered.api.entity.FallingBlock.ts | 54 - .../org.spongepowered.api.entity.Item.ts | 28 - ....spongepowered.api.entity.ShulkerBullet.ts | 23 - .../org.spongepowered.api.entity.Tamer.ts | 16 - .../org.spongepowered.api.entity.Transform.ts | 205 -- .../org.spongepowered.api.entity.ai.Goal.ts | 55 - ...rg.spongepowered.api.entity.ai.GoalType.ts | 18 - ...g.spongepowered.api.entity.ai.GoalTypes.ts | 17 - ...spongepowered.api.entity.ai.task.AITask.ts | 66 - ...owered.api.entity.ai.task.AITaskBuilder.ts | 20 - ...gepowered.api.entity.ai.task.AITaskType.ts | 20 - ...epowered.api.entity.ai.task.AITaskTypes.ts | 25 - ...wered.api.entity.ai.task.AbstractAITask.ts | 64 - ....ai.task.builtin.LookIdleAITask.Builder.ts | 19 - ...i.entity.ai.task.builtin.LookIdleAITask.ts | 22 - ....ai.task.builtin.SwimmingAITask.Builder.ts | 21 - ...i.entity.ai.task.builtin.SwimmingAITask.ts | 39 - ...task.builtin.WatchClosestAITask.Builder.ts | 25 - ...tity.ai.task.builtin.WatchClosestAITask.ts | 56 - ...tin.creature.AttackLivingAITask.Builder.ts | 34 - ...ask.builtin.creature.AttackLivingAITask.ts | 54 - ...ltin.creature.AvoidEntityAITask.Builder.ts | 47 - ...task.builtin.creature.AvoidEntityAITask.ts | 78 - ...iltin.creature.RangeAgentAITask.Builder.ts | 27 - ....task.builtin.creature.RangeAgentAITask.ts | 60 - ...k.builtin.creature.WanderAITask.Builder.ts | 25 - ...y.ai.task.builtin.creature.WanderAITask.ts | 48 - ....horse.RunAroundLikeCrazyAITask.Builder.ts | 25 - ...creature.horse.RunAroundLikeCrazyAITask.ts | 39 - ...ndNearestAttackableTargetAITask.Builder.ts | 29 - ...arget.FindNearestAttackableTargetAITask.ts | 60 - ...in.creature.target.TargetAITask.Builder.ts | 29 - ...sk.builtin.creature.target.TargetAITask.ts | 49 - ...epowered.api.entity.explosive.Explosive.ts | 31 - ...red.api.entity.explosive.FusedExplosive.ts | 34 - ...epowered.api.entity.explosive.PrimedTNT.ts | 18 - ...pongepowered.api.entity.hanging.Hanging.ts | 24 - ...ngepowered.api.entity.hanging.ItemFrame.ts | 13 - ...gepowered.api.entity.hanging.LeashHitch.ts | 21 - ...ongepowered.api.entity.hanging.Painting.ts | 23 - ....spongepowered.api.entity.living.Aerial.ts | 13 - ...spongepowered.api.entity.living.Ageable.ts | 35 - ...g.spongepowered.api.entity.living.Agent.ts | 40 - ...spongepowered.api.entity.living.Ambient.ts | 13 - ...spongepowered.api.entity.living.Aquatic.ts | 13 - ...ngepowered.api.entity.living.ArmorStand.ts | 58 - ...org.spongepowered.api.entity.living.Bat.ts | 13 - ...pongepowered.api.entity.living.Creature.ts | 13 - ...spongepowered.api.entity.living.Hostile.ts | 13 - ...g.spongepowered.api.entity.living.Human.ts | 13 - ...pongepowered.api.entity.living.Humanoid.ts | 45 - ....spongepowered.api.entity.living.Living.ts | 78 - ....spongepowered.api.entity.living.Ranger.ts | 13 - ...g.spongepowered.api.entity.living.Squid.ts | 13 - ...pongepowered.api.entity.living.Villager.ts | 31 - ...powered.api.entity.living.animal.Animal.ts | 15 - ...owered.api.entity.living.animal.Chicken.ts | 15 - ...ngepowered.api.entity.living.animal.Cow.ts | 15 - ...powered.api.entity.living.animal.Donkey.ts | 15 - ...epowered.api.entity.living.animal.Horse.ts | 15 - ...epowered.api.entity.living.animal.Llama.ts | 26 - ...ered.api.entity.living.animal.Mooshroom.ts | 15 - ...gepowered.api.entity.living.animal.Mule.ts | 15 - ...powered.api.entity.living.animal.Ocelot.ts | 27 - ...powered.api.entity.living.animal.Parrot.ts | 27 - ...ngepowered.api.entity.living.animal.Pig.ts | 25 - ...ered.api.entity.living.animal.PolarBear.ts | 15 - ...powered.api.entity.living.animal.Rabbit.ts | 26 - ....api.entity.living.animal.RideableHorse.ts | 30 - ...epowered.api.entity.living.animal.Sheep.ts | 27 - ....api.entity.living.animal.SkeletonHorse.ts | 15 - ...gepowered.api.entity.living.animal.Wolf.ts | 37 - ...ed.api.entity.living.animal.ZombieHorse.ts | 15 - ...api.entity.living.complex.ComplexLiving.ts | 20 - ...entity.living.complex.ComplexLivingPart.ts | 20 - ...d.api.entity.living.complex.EnderDragon.ts | 35 - ...i.entity.living.complex.EnderDragonPart.ts | 17 - ...g.complex.dragon.phase.EnderDragonPhase.ts | 29 - ...ex.dragon.phase.EnderDragonPhaseManager.ts | 29 - ...mplex.dragon.phase.EnderDragonPhaseType.ts | 19 - ...plex.dragon.phase.EnderDragonPhaseTypes.ts | 41 - ...gepowered.api.entity.living.golem.Golem.ts | 15 - ...wered.api.entity.living.golem.IronGolem.ts | 21 - ...powered.api.entity.living.golem.Shulker.ts | 43 - ...wered.api.entity.living.golem.SnowGolem.ts | 15 - ...powered.api.entity.living.monster.Blaze.ts | 21 - ...epowered.api.entity.living.monster.Boss.ts | 15 - ...ed.api.entity.living.monster.CaveSpider.ts | 15 - ...wered.api.entity.living.monster.Creeper.ts | 22 - ...ered.api.entity.living.monster.Enderman.ts | 15 - ...red.api.entity.living.monster.Endermite.ts | 26 - ...owered.api.entity.living.monster.Evoker.ts | 15 - ...powered.api.entity.living.monster.Ghast.ts | 15 - ...powered.api.entity.living.monster.Giant.ts | 15 - ...ered.api.entity.living.monster.Guardian.ts | 26 - ...epowered.api.entity.living.monster.Husk.ts | 15 - ...ed.api.entity.living.monster.Illusioner.ts | 15 - ...red.api.entity.living.monster.MagmaCube.ts | 15 - ...wered.api.entity.living.monster.Monster.ts | 15 - ...ed.api.entity.living.monster.Silverfish.ts | 15 - ...ered.api.entity.living.monster.Skeleton.ts | 15 - ...powered.api.entity.living.monster.Slime.ts | 26 - ...owered.api.entity.living.monster.Spider.ts | 20 - ...powered.api.entity.living.monster.Stray.ts | 15 - ...gepowered.api.entity.living.monster.Vex.ts | 15 - ...ed.api.entity.living.monster.Vindicator.ts | 22 - ...api.entity.living.monster.WhiteSkeleton.ts | 15 - ...powered.api.entity.living.monster.Witch.ts | 15 - ...owered.api.entity.living.monster.Wither.ts | 33 - ...pi.entity.living.monster.WitherSkeleton.ts | 15 - ...owered.api.entity.living.monster.Zombie.ts | 15 - ....api.entity.living.monster.ZombiePigman.ts | 26 - ...pi.entity.living.monster.ZombieVillager.ts | 15 - ...pi.entity.living.player.CooldownTracker.ts | 47 - ...powered.api.entity.living.player.Player.ts | 228 -- ...gepowered.api.entity.living.player.User.ts | 79 - ....entity.living.player.gamemode.GameMode.ts | 17 - ...entity.living.player.gamemode.GameModes.ts | 27 - ...ed.api.entity.living.player.tab.TabList.ts | 76 - ....living.player.tab.TabListEntry.Builder.ts | 49 - ...i.entity.living.player.tab.TabListEntry.ts | 100 - ...pi.entity.projectile.DamagingProjectile.ts | 35 - ...spongepowered.api.entity.projectile.Egg.ts | 13 - ...owered.api.entity.projectile.EnderPearl.ts | 13 - ...ty.projectile.EntityTargetingProjectile.ts | 24 - ...owered.api.entity.projectile.EyeOfEnder.ts | 24 - ...epowered.api.entity.projectile.Firework.ts | 25 - ...epowered.api.entity.projectile.FishHook.ts | 27 - ...powered.api.entity.projectile.LlamaSpit.ts | 13 - ...owered.api.entity.projectile.Projectile.ts | 27 - ...pi.entity.projectile.ProjectileLauncher.ts | 13 - ...epowered.api.entity.projectile.Snowball.ts | 13 - ...d.api.entity.projectile.ThrownExpBottle.ts | 13 - ...ered.api.entity.projectile.ThrownPotion.ts | 24 - ...wered.api.entity.projectile.arrow.Arrow.ts | 27 - ...i.entity.projectile.arrow.SpectralArrow.ts | 15 - ...api.entity.projectile.arrow.TippedArrow.ts | 15 - ...ity.projectile.explosive.DragonFireball.ts | 15 - ...entity.projectile.explosive.WitherSkull.ts | 15 - ....projectile.explosive.fireball.Fireball.ts | 19 - ...ectile.explosive.fireball.LargeFireball.ts | 17 - ...ectile.explosive.fireball.SmallFireball.ts | 17 - ...projectile.source.BlockProjectileSource.ts | 25 - ...tity.projectile.source.ProjectileSource.ts | 27 - ...ojectile.source.UnknownProjectileSource.ts | 19 - ...g.spongepowered.api.entity.vehicle.Boat.ts | 60 - ...i.entity.vehicle.minecart.ChestMinecart.ts | 15 - ...y.vehicle.minecart.CommandBlockMinecart.ts | 15 - ...tity.vehicle.minecart.ContainerMinecart.ts | 17 - ...entity.vehicle.minecart.FurnaceMinecart.ts | 29 - ....entity.vehicle.minecart.HopperMinecart.ts | 22 - ...ed.api.entity.vehicle.minecart.Minecart.ts | 71 - ...ity.vehicle.minecart.MobSpawnerMinecart.ts | 20 - ...ntity.vehicle.minecart.RideableMinecart.ts | 15 - ...api.entity.vehicle.minecart.TNTMinecart.ts | 15 - ...ngepowered.api.entity.weather.Lightning.ts | 13 - ...owered.api.entity.weather.WeatherEffect.ts | 34 - ...org.spongepowered.api.event.Cancellable.ts | 21 - ....api.event.CauseStackManager.StackFrame.ts | 49 - ...ongepowered.api.event.CauseStackManager.ts | 81 - .../org.spongepowered.api.event.Event.ts | 32 - ...g.spongepowered.api.event.EventListener.ts | 16 - ...rg.spongepowered.api.event.EventManager.ts | 92 - ...rg.spongepowered.api.event.GenericEvent.ts | 17 - .../org.spongepowered.api.event.Listener.ts | 24 - .../org.spongepowered.api.event.Order.ts | 33 - ...powered.api.event.TristateResult.Result.ts | 23 - ....spongepowered.api.event.TristateResult.ts | 35 - ...ed.api.event.action.CollideEvent.Impact.ts | 20 - ...gepowered.api.event.action.CollideEvent.ts | 13 - ...pi.event.action.FishingEvent.HookEntity.ts | 15 - ...red.api.event.action.FishingEvent.Start.ts | 15 - ...ered.api.event.action.FishingEvent.Stop.ts | 27 - ...gepowered.api.event.action.FishingEvent.ts | 18 - ...epowered.api.event.action.InteractEvent.ts | 19 - ...ed.api.event.action.LightningEvent.Post.ts | 15 - ...red.api.event.action.LightningEvent.Pre.ts | 15 - ....api.event.action.LightningEvent.Strike.ts | 15 - ...powered.api.event.action.LightningEvent.ts | 13 - ...d.api.event.action.SleepingEvent.Finish.ts | 15 - ...red.api.event.action.SleepingEvent.Post.ts | 38 - ...ered.api.event.action.SleepingEvent.Pre.ts | 15 - ...red.api.event.action.SleepingEvent.Tick.ts | 15 - ...epowered.api.event.action.SleepingEvent.ts | 18 - ...vent.advancement.AdvancementEvent.Grant.ts | 21 - ...ent.advancement.AdvancementEvent.Revoke.ts | 15 - ....api.event.advancement.AdvancementEvent.ts | 18 - ...ent.AdvancementTreeEvent.GenerateLayout.ts | 20 - ....event.advancement.AdvancementTreeEvent.ts | 18 - ....event.advancement.CriterionEvent.Grant.ts | 21 - ...event.advancement.CriterionEvent.Revoke.ts | 15 - ...advancement.CriterionEvent.Score.Change.ts | 27 - ....advancement.CriterionEvent.Score.Grant.ts | 17 - ...advancement.CriterionEvent.Score.Revoke.ts | 17 - ....event.advancement.CriterionEvent.Score.ts | 17 - ...vent.advancement.CriterionEvent.Trigger.ts | 31 - ...ed.api.event.advancement.CriterionEvent.ts | 18 - ....api.event.block.ChangeBlockEvent.Break.ts | 15 - ....api.event.block.ChangeBlockEvent.Decay.ts | 15 - ...d.api.event.block.ChangeBlockEvent.Grow.ts | 15 - ...api.event.block.ChangeBlockEvent.Modify.ts | 15 - ....api.event.block.ChangeBlockEvent.Place.ts | 15 - ...d.api.event.block.ChangeBlockEvent.Post.ts | 15 - ...ed.api.event.block.ChangeBlockEvent.Pre.ts | 26 - ...owered.api.event.block.ChangeBlockEvent.ts | 36 - ...pi.event.block.CollideBlockEvent.Impact.ts | 15 - ...wered.api.event.block.CollideBlockEvent.ts | 29 - ...ock.InteractBlockEvent.Primary.MainHand.ts | 17 - ...lock.InteractBlockEvent.Primary.OffHand.ts | 17 - ....event.block.InteractBlockEvent.Primary.ts | 15 - ...k.InteractBlockEvent.Secondary.MainHand.ts | 17 - ...ck.InteractBlockEvent.Secondary.OffHand.ts | 17 - ...vent.block.InteractBlockEvent.Secondary.ts | 68 - ...ered.api.event.block.InteractBlockEvent.ts | 19 - ...pi.event.block.NotifyNeighborBlockEvent.ts | 37 - ...owered.api.event.block.TargetBlockEvent.ts | 18 - ...d.api.event.block.TickBlockEvent.Random.ts | 15 - ...pi.event.block.TickBlockEvent.Scheduled.ts | 15 - ...epowered.api.event.block.TickBlockEvent.ts | 13 - ...nt.block.tileentity.BrewingEvent.Finish.ts | 23 - ...block.tileentity.BrewingEvent.Interrupt.ts | 23 - ...ent.block.tileentity.BrewingEvent.Start.ts | 17 - ...vent.block.tileentity.BrewingEvent.Tick.ts | 17 - ...api.event.block.tileentity.BrewingEvent.ts | 22 - ....event.block.tileentity.ChangeSignEvent.ts | 30 - ...block.tileentity.SmeltEvent.ConsumeFuel.ts | 17 - ...vent.block.tileentity.SmeltEvent.Finish.ts | 23 - ...t.block.tileentity.SmeltEvent.Interrupt.ts | 23 - ...event.block.tileentity.SmeltEvent.Start.ts | 17 - ....event.block.tileentity.SmeltEvent.Tick.ts | 17 - ...d.api.event.block.tileentity.SmeltEvent.ts | 22 - ....block.tileentity.TargetTileEntityEvent.ts | 20 - ...gepowered.api.event.cause.Cause.Builder.ts | 39 - ...org.spongepowered.api.event.cause.Cause.ts | 127 -- ...ed.api.event.cause.EventContext.Builder.ts | 29 - ...ngepowered.api.event.cause.EventContext.ts | 62 - ...api.event.cause.EventContextKey.Builder.ts | 27 - ...powered.api.event.cause.EventContextKey.ts | 23 - ...owered.api.event.cause.EventContextKeys.ts | 91 - ...api.event.cause.entity.ModifierFunction.ts | 25 - ...vent.cause.entity.damage.DamageFunction.ts | 52 - ...se.entity.damage.DamageModifier.Builder.ts | 44 - ...vent.cause.entity.damage.DamageModifier.ts | 44 - ....cause.entity.damage.DamageModifierType.ts | 17 - ...cause.entity.damage.DamageModifierTypes.ts | 47 - ...pi.event.cause.entity.damage.DamageType.ts | 17 - ...i.event.cause.entity.damage.DamageTypes.ts | 47 - ...damage.source.BlockDamageSource.Builder.ts | 31 - ....entity.damage.source.BlockDamageSource.ts | 35 - ...tity.damage.source.DamageSource.Builder.ts | 21 - ...source.DamageSource.DamageSourceBuilder.ts | 87 - ...cause.entity.damage.source.DamageSource.ts | 74 - ...ause.entity.damage.source.DamageSources.ts | 41 - ...amage.source.EntityDamageSource.Builder.ts | 21 - ...yDamageSource.EntityDamageSourceBuilder.ts | 26 - ...entity.damage.source.EntityDamageSource.ts | 29 - ...source.FallingBlockDamageSource.Builder.ts | 26 - ....damage.source.FallingBlockDamageSource.ts | 32 - ...irectEntityDamageSource.AbstractBuilder.ts | 26 - ...urce.IndirectEntityDamageSource.Builder.ts | 21 - ...amage.source.IndirectEntityDamageSource.ts | 31 - ...mage.source.common.AbstractDamageSource.ts | 38 - ...urce.common.AbstractDamageSourceBuilder.ts | 48 - ...ource.AbstractEntityDamageSourceBuilder.ts | 30 - ...ource.common.AbstractEntityDamageSource.ts | 40 - ...stractIndirectEntityDamageSourceBuilder.ts | 34 - ...mmon.AbstractIndirectEntityDamageSource.ts | 42 - ...vent.cause.entity.dismount.DismountType.ts | 17 - ...ent.cause.entity.dismount.DismountTypes.ts | 23 - ...i.event.cause.entity.health.HealingType.ts | 17 - ....event.cause.entity.health.HealingTypes.ts | 27 - ...vent.cause.entity.health.HealthFunction.ts | 52 - ...se.entity.health.HealthModifier.Builder.ts | 45 - ...vent.cause.entity.health.HealthModifier.ts | 32 - ....cause.entity.health.HealthModifierType.ts | 17 - ...cause.entity.health.HealthModifierTypes.ts | 31 - ...ealth.source.BlockHealingSource.Builder.ts | 25 - ...entity.health.source.BlockHealingSource.ts | 34 - ...alth.source.EntityHealingSource.Builder.ts | 21 - ...ealingSource.EntityHealingSourceBuilder.ts | 23 - ...ntity.health.source.EntityHealingSource.ts | 29 - ...ity.health.source.HealingSource.Builder.ts | 21 - ...urce.HealingSource.HealingSourceBuilder.ts | 40 - ...ause.entity.health.source.HealingSource.ts | 41 - ...use.entity.health.source.HealingSources.ts | 25 - ...rce.IndirectEntityHealingSource.Builder.ts | 21 - ...urce.IndirectEntityHealingSourceBuilder.ts | 26 - ...alth.source.IndirectEntityHealingSource.ts | 29 - ...urce.common.AbstractEntityHealingSource.ts | 27 - ...mmon.AbstractEntityHealingSourceBuilder.ts | 28 - ...lth.source.common.AbstractHealingSource.ts | 28 - ...rce.common.AbstractHealingSourceBuilder.ts | 36 - ...mon.AbstractIndirectEntityHealingSource.ts | 22 - ....api.event.cause.entity.spawn.SpawnType.ts | 17 - ...api.event.cause.entity.spawn.SpawnTypes.ts | 53 - ...vent.cause.entity.teleport.TeleportType.ts | 17 - ...ent.cause.entity.teleport.TeleportTypes.ts | 27 - ...ered.api.event.command.SendCommandEvent.ts | 51 - ...api.event.command.TabCompleteEvent.Chat.ts | 15 - ....event.command.TabCompleteEvent.Command.ts | 29 - ...ered.api.event.command.TabCompleteEvent.ts | 56 - ....data.ChangeDataHolderEvent.ValueChange.ts | 38 - ...ed.api.event.data.ChangeDataHolderEvent.ts | 18 - ...i.event.economy.EconomyTransactionEvent.ts | 18 - ...ered.api.event.entity.AffectEntityEvent.ts | 45 - ...ered.api.event.entity.AttackEntityEvent.ts | 159 -- ...api.event.entity.BreedEntityEvent.Breed.ts | 20 - ....event.entity.BreedEntityEvent.FindMate.ts | 20 - ...ent.entity.BreedEntityEvent.ReadyToMate.ts | 17 - ...wered.api.event.entity.BreedEntityEvent.ts | 13 - ...entity.ChangeEntityEquipmentEvent.Break.ts | 15 - ...angeEntityEquipmentEvent.TargetHumanoid.ts | 15 - ...ChangeEntityEquipmentEvent.TargetLiving.ts | 15 - ...ChangeEntityEquipmentEvent.TargetPlayer.ts | 15 - ...event.entity.ChangeEntityEquipmentEvent.ts | 34 - ...vent.entity.ChangeEntityExperienceEvent.ts | 46 - ...ty.ChangeEntityPotionEffectEvent.Expire.ts | 15 - ...tity.ChangeEntityPotionEffectEvent.Gain.ts | 25 - ...ty.ChangeEntityPotionEffectEvent.Remove.ts | 15 - ...nt.entity.ChangeEntityPotionEffectEvent.ts | 23 - ....event.entity.CollideEntityEvent.Impact.ts | 15 - ...red.api.event.entity.CollideEntityEvent.ts | 13 - ....event.entity.ConstructEntityEvent.Post.ts | 15 - ...i.event.entity.ConstructEntityEvent.Pre.ts | 15 - ...d.api.event.entity.ConstructEntityEvent.ts | 24 - ...ered.api.event.entity.DamageEntityEvent.ts | 128 -- ....event.entity.DestructEntityEvent.Death.ts | 29 - ...ed.api.event.entity.DestructEntityEvent.ts | 13 - ...ent.entity.ExpireEntityEvent.TargetItem.ts | 15 - ...ered.api.event.entity.ExpireEntityEvent.ts | 13 - ...ntity.HarvestEntityEvent.TargetHumanoid.ts | 15 - ....entity.HarvestEntityEvent.TargetLiving.ts | 15 - ....entity.HarvestEntityEvent.TargetPlayer.ts | 45 - ...red.api.event.entity.HarvestEntityEvent.ts | 13 - ...owered.api.event.entity.HealEntityEvent.ts | 106 - ...ered.api.event.entity.IgniteEntityEvent.ts | 28 - ...ty.InteractEntityEvent.Primary.MainHand.ts | 17 - ...ity.InteractEntityEvent.Primary.OffHand.ts | 17 - ...vent.entity.InteractEntityEvent.Primary.ts | 15 - ....InteractEntityEvent.Secondary.MainHand.ts | 17 - ...y.InteractEntityEvent.Secondary.OffHand.ts | 17 - ...nt.entity.InteractEntityEvent.Secondary.ts | 15 - ...ed.api.event.entity.InteractEntityEvent.ts | 13 - ...wered.api.event.entity.LeashEntityEvent.ts | 13 - ...i.event.entity.MoveEntityEvent.Position.ts | 15 - ....entity.MoveEntityEvent.Teleport.Portal.ts | 64 - ...i.event.entity.MoveEntityEvent.Teleport.ts | 34 - ...owered.api.event.entity.MoveEntityEvent.ts | 28 - ...i.event.entity.RideEntityEvent.Dismount.ts | 20 - ....api.event.entity.RideEntityEvent.Mount.ts | 15 - ...owered.api.event.entity.RideEntityEvent.ts | 13 - ...ered.api.event.entity.RotateEntityEvent.ts | 28 - ...event.entity.SpawnEntityEvent.ChunkLoad.ts | 15 - ...pi.event.entity.SpawnEntityEvent.Custom.ts | 15 - ...i.event.entity.SpawnEntityEvent.Spawner.ts | 15 - ...wered.api.event.entity.SpawnEntityEvent.ts | 13 - ...owered.api.event.entity.TameEntityEvent.ts | 15 - ...ered.api.event.entity.TargetEntityEvent.ts | 18 - ...red.api.event.entity.UnleashEntityEvent.ts | 13 - ...red.api.event.entity.ai.AITaskEvent.Add.ts | 29 - ....api.event.entity.ai.AITaskEvent.Remove.ts | 17 - ...powered.api.event.entity.ai.AITaskEvent.ts | 31 - ...ed.api.event.entity.ai.SetAITargetEvent.ts | 27 - ...ity.explosive.DefuseExplosiveEvent.Post.ts | 17 - ...tity.explosive.DefuseExplosiveEvent.Pre.ts | 17 - ...t.entity.explosive.DefuseExplosiveEvent.ts | 15 - ...entity.explosive.DetonateExplosiveEvent.ts | 27 - ...tity.explosive.PrimeExplosiveEvent.Post.ts | 17 - ...ntity.explosive.PrimeExplosiveEvent.Pre.ts | 17 - ...nt.entity.explosive.PrimeExplosiveEvent.ts | 15 - ...t.entity.explosive.TargetExplosiveEvent.ts | 17 - ...ity.explosive.TargetFusedExplosiveEvent.ts | 17 - ...pi.event.entity.item.ItemMergeItemEvent.ts | 20 - ...d.api.event.entity.item.TargetItemEvent.ts | 17 - ...pi.event.entity.living.TargetAgentEvent.ts | 17 - ...i.event.entity.living.TargetLivingEvent.ts | 17 - ...entity.living.humanoid.AnimateHandEvent.ts | 22 - ...manoid.ChangeGameModeEvent.TargetPlayer.ts | 19 - ...ity.living.humanoid.ChangeGameModeEvent.ts | 32 - ....humanoid.ChangeLevelEvent.TargetPlayer.ts | 19 - ...entity.living.humanoid.ChangeLevelEvent.ts | 34 - ...ntity.living.humanoid.HandInteractEvent.ts | 22 - ...ity.living.humanoid.TargetHumanoidEvent.ts | 22 - ...iving.humanoid.player.CooldownEvent.End.ts | 21 - ...iving.humanoid.player.CooldownEvent.Set.ts | 41 - ...ty.living.humanoid.player.CooldownEvent.ts | 24 - ....living.humanoid.player.KickPlayerEvent.ts | 19 - ....player.PlayerChangeClientSettingsEvent.ts | 45 - ...ourcePackStatusEvent.ResourcePackStatus.ts | 38 - ...humanoid.player.ResourcePackStatusEvent.ts | 34 - ...ving.humanoid.player.RespawnPlayerEvent.ts | 50 - ...iving.humanoid.player.TargetPlayerEvent.ts | 24 - ...entity.projectile.LaunchProjectileEvent.ts | 15 - ...entity.projectile.TargetProjectileEvent.ts | 17 - ...g.spongepowered.api.event.filter.Getter.ts | 18 - ...ngepowered.api.event.filter.IsCancelled.ts | 19 - ...ngepowered.api.event.filter.cause.After.ts | 37 - ...pongepowered.api.event.filter.cause.All.ts | 20 - ...gepowered.api.event.filter.cause.Before.ts | 37 - ...red.api.event.filter.cause.ContextValue.ts | 37 - ...ngepowered.api.event.filter.cause.First.ts | 32 - ...ongepowered.api.event.filter.cause.Last.ts | 32 - ...ongepowered.api.event.filter.cause.Root.ts | 32 - ...spongepowered.api.event.filter.data.Has.ts | 27 - ...epowered.api.event.filter.data.Supports.ts | 27 - ...gepowered.api.event.filter.type.Exclude.ts | 20 - ...gepowered.api.event.filter.type.Include.ts | 20 - ...i.event.game.GameRegistryEvent.Register.ts | 31 - ...owered.api.event.game.GameRegistryEvent.ts | 13 - ...epowered.api.event.game.GameReloadEvent.ts | 13 - ....game.state.GameAboutToStartServerEvent.ts | 17 - ....event.game.state.GameConstructionEvent.ts | 17 - ...vent.game.state.GameInitializationEvent.ts | 17 - ....event.game.state.GameLoadCompleteEvent.ts | 17 - ....game.state.GamePostInitializationEvent.ts | 17 - ...t.game.state.GamePreInitializationEvent.ts | 17 - ...event.game.state.GameStartedServerEvent.ts | 17 - ...vent.game.state.GameStartingServerEvent.ts | 17 - ...red.api.event.game.state.GameStateEvent.ts | 20 - ...d.api.event.game.state.GameStoppedEvent.ts | 17 - ...event.game.state.GameStoppedServerEvent.ts | 17 - ....api.event.game.state.GameStoppingEvent.ts | 17 - ...vent.game.state.GameStoppingServerEvent.ts | 17 - ...ered.api.event.impl.AbstractAITaskEvent.ts | 16 - ...pi.event.impl.AbstractAffectEntityEvent.ts | 20 - ...pi.event.impl.AbstractAttackEntityEvent.ts | 48 - ...impl.AbstractChangeEntityEquipmentEvent.ts | 22 - ...pi.event.impl.AbstractDamageEntityEvent.ts | 50 - ...ngepowered.api.event.impl.AbstractEvent.ts | 25 - ....impl.AbstractGameRegistryRegisterEvent.ts | 16 - ....api.event.impl.AbstractHealEntityEvent.ts | 42 - ...red.api.event.impl.AbstractMessageEvent.ts | 20 - ...ed.api.event.impl.AbstractModifierEvent.ts | 37 - ...api.event.impl.AbstractSpawnEntityEvent.ts | 16 - ...api.event.impl.AbstractValueChangeEvent.ts | 22 - ...ent.item.inventory.AffectItemStackEvent.ts | 33 - ...pi.event.item.inventory.AffectSlotEvent.ts | 19 - ...nventory.ChangeInventoryEvent.Equipment.ts | 17 - ...tem.inventory.ChangeInventoryEvent.Held.ts | 27 - ...ventory.ChangeInventoryEvent.Pickup.Pre.ts | 44 - ...m.inventory.ChangeInventoryEvent.Pickup.ts | 17 - ...inventory.ChangeInventoryEvent.SwapHand.ts | 17 - ...tory.ChangeInventoryEvent.Transfer.Post.ts | 19 - ...ntory.ChangeInventoryEvent.Transfer.Pre.ts | 29 - ...inventory.ChangeInventoryEvent.Transfer.ts | 22 - ...ent.item.inventory.ChangeInventoryEvent.ts | 15 - ....inventory.ClickInventoryEvent.Creative.ts | 17 - ...em.inventory.ClickInventoryEvent.Double.ts | 17 - ...ventory.ClickInventoryEvent.Drag.Middle.ts | 19 - ...entory.ClickInventoryEvent.Drag.Primary.ts | 19 - ...tory.ClickInventoryEvent.Drag.Secondary.ts | 19 - ...item.inventory.ClickInventoryEvent.Drag.ts | 17 - ...inventory.ClickInventoryEvent.Drop.Full.ts | 19 - ...ickInventoryEvent.Drop.Outside.Creative.ts | 21 - ...lickInventoryEvent.Drop.Outside.Primary.ts | 21 - ...ckInventoryEvent.Drop.Outside.Secondary.ts | 21 - ...entory.ClickInventoryEvent.Drop.Outside.ts | 19 - ...ventory.ClickInventoryEvent.Drop.Single.ts | 19 - ...item.inventory.ClickInventoryEvent.Drop.ts | 17 - ...em.inventory.ClickInventoryEvent.Middle.ts | 17 - ...ventory.ClickInventoryEvent.NumberPress.ts | 19 - ...m.inventory.ClickInventoryEvent.Primary.ts | 17 - ...nventory.ClickInventoryEvent.Recipe.All.ts | 19 - ...ntory.ClickInventoryEvent.Recipe.Single.ts | 19 - ...em.inventory.ClickInventoryEvent.Recipe.ts | 22 - ...inventory.ClickInventoryEvent.Secondary.ts | 17 - ...ntory.ClickInventoryEvent.Shift.Primary.ts | 19 - ...ory.ClickInventoryEvent.Shift.Secondary.ts | 19 - ...tem.inventory.ClickInventoryEvent.Shift.ts | 17 - ...vent.item.inventory.ClickInventoryEvent.ts | 21 - ...ent.item.inventory.CraftItemEvent.Craft.ts | 27 - ...t.item.inventory.CraftItemEvent.Preview.ts | 23 - ...api.event.item.inventory.CraftItemEvent.ts | 26 - ...vent.item.inventory.DropItemEvent.Close.ts | 17 - ...ent.item.inventory.DropItemEvent.Custom.ts | 17 - ...t.item.inventory.DropItemEvent.Destruct.ts | 17 - ...t.item.inventory.DropItemEvent.Dispense.ts | 17 - ....event.item.inventory.DropItemEvent.Pre.ts | 28 - ....api.event.item.inventory.DropItemEvent.ts | 15 - ...y.EnchantItemEvent.CalculateEnchantment.ts | 49 - ...hantItemEvent.CalculateLevelRequirement.ts | 45 - ...nt.item.inventory.EnchantItemEvent.Post.ts | 22 - ...i.event.item.inventory.EnchantItemEvent.ts | 25 - ....inventory.InteractInventoryEvent.Close.ts | 17 - ...m.inventory.InteractInventoryEvent.Open.ts | 17 - ...t.item.inventory.InteractInventoryEvent.ts | 20 - ...tory.InteractItemEvent.Primary.MainHand.ts | 19 - ...ntory.InteractItemEvent.Primary.OffHand.ts | 19 - ...tem.inventory.InteractItemEvent.Primary.ts | 17 - ...ry.InteractItemEvent.Secondary.MainHand.ts | 19 - ...ory.InteractItemEvent.Secondary.OffHand.ts | 19 - ...m.inventory.InteractItemEvent.Secondary.ts | 17 - ....event.item.inventory.InteractItemEvent.ts | 20 - ...ent.item.inventory.TargetContainerEvent.ts | 17 - ...ent.item.inventory.TargetInventoryEvent.ts | 20 - ...i.event.item.inventory.UpdateAnvilEvent.ts | 40 - ...item.inventory.UseItemStackEvent.Finish.ts | 17 - ...tem.inventory.UseItemStackEvent.Replace.ts | 23 - ....item.inventory.UseItemStackEvent.Reset.ts | 17 - ....item.inventory.UseItemStackEvent.Start.ts | 17 - ...t.item.inventory.UseItemStackEvent.Stop.ts | 17 - ...t.item.inventory.UseItemStackEvent.Tick.ts | 17 - ....event.item.inventory.UseItemStackEvent.ts | 35 - ....event.message.MessageChannelEvent.Chat.ts | 24 - ...d.api.event.message.MessageChannelEvent.ts | 32 - ...message.MessageEvent.DefaultBodyApplier.ts | 16 - ...ssage.MessageEvent.DefaultHeaderApplier.ts | 16 - ...t.message.MessageEvent.MessageFormatter.ts | 54 - ...epowered.api.event.message.MessageEvent.ts | 68 - ...ngepowered.api.event.network.BanIpEvent.ts | 18 - ...twork.ChannelRegistrationEvent.Register.ts | 15 - ...ork.ChannelRegistrationEvent.Unregister.ts | 15 - ....event.network.ChannelRegistrationEvent.ts | 18 - ...vent.network.ClientConnectionEvent.Auth.ts | 25 - ...etwork.ClientConnectionEvent.Disconnect.ts | 15 - ...vent.network.ClientConnectionEvent.Join.ts | 15 - ...ent.network.ClientConnectionEvent.Login.ts | 40 - ...api.event.network.ClientConnectionEvent.ts | 13 - ...powered.api.event.network.PardonIpEvent.ts | 18 - ...etwork.rcon.RconConnectionEvent.Connect.ts | 17 - ...ork.rcon.RconConnectionEvent.Disconnect.ts | 17 - ....network.rcon.RconConnectionEvent.Login.ts | 17 - ....event.network.rcon.RconConnectionEvent.ts | 20 - ....ClientPingServerEvent.Response.Players.ts | 34 - ...t.server.ClientPingServerEvent.Response.ts | 38 - ....api.event.server.ClientPingServerEvent.ts | 23 - ...ent.server.query.QueryServerEvent.Basic.ts | 114 - ...vent.server.query.QueryServerEvent.Full.ts | 62 - ...api.event.server.query.QueryServerEvent.ts | 15 - ...vent.service.ChangeServiceProviderEvent.ts | 43 - ...api.event.sound.PlaySoundEvent.AtEntity.ts | 17 - ...pi.event.sound.PlaySoundEvent.Broadcast.ts | 15 - ...event.sound.PlaySoundEvent.Record.Start.ts | 17 - ....event.sound.PlaySoundEvent.Record.Stop.ts | 17 - ...d.api.event.sound.PlaySoundEvent.Record.ts | 25 - ...epowered.api.event.sound.PlaySoundEvent.ts | 38 - ...istic.ChangeStatisticEvent.TargetPlayer.ts | 15 - ...pi.event.statistic.ChangeStatisticEvent.ts | 33 - ...pi.event.user.BanUserEvent.TargetPlayer.ts | 15 - ...ongepowered.api.event.user.BanUserEvent.ts | 18 - ...event.user.PardonUserEvent.TargetPlayer.ts | 17 - ...epowered.api.event.user.PardonUserEvent.ts | 18 - ...epowered.api.event.user.TargetUserEvent.ts | 18 - ...rld.ChangeWorldBorderEvent.TargetPlayer.ts | 15 - ...orld.ChangeWorldBorderEvent.TargetWorld.ts | 15 - ....api.event.world.ChangeWorldBorderEvent.ts | 28 - ...pi.event.world.ChangeWorldGameRuleEvent.ts | 28 - ...api.event.world.ChangeWorldWeatherEvent.ts | 48 - ...world.ChunkPreGenerationEvent.Cancelled.ts | 15 - ....world.ChunkPreGenerationEvent.Complete.ts | 15 - ...vent.world.ChunkPreGenerationEvent.Post.ts | 31 - ...event.world.ChunkPreGenerationEvent.Pre.ts | 30 - ...api.event.world.ChunkPreGenerationEvent.ts | 19 - ...ed.api.event.world.ConstructPortalEvent.ts | 18 - ...ent.world.ConstructWorldPropertiesEvent.ts | 23 - ...api.event.world.ExplosionEvent.Detonate.ts | 22 - ...red.api.event.world.ExplosionEvent.Post.ts | 15 - ...ered.api.event.world.ExplosionEvent.Pre.ts | 22 - ...epowered.api.event.world.ExplosionEvent.ts | 18 - ...api.event.world.GenerateChunkEvent.Post.ts | 15 - ....api.event.world.GenerateChunkEvent.Pre.ts | 15 - ...ered.api.event.world.GenerateChunkEvent.ts | 13 - ...epowered.api.event.world.LoadWorldEvent.ts | 13 - ...red.api.event.world.SaveWorldEvent.Post.ts | 15 - ...ered.api.event.world.SaveWorldEvent.Pre.ts | 15 - ...epowered.api.event.world.SaveWorldEvent.ts | 13 - ...owered.api.event.world.TargetWorldEvent.ts | 18 - ...owered.api.event.world.UnloadWorldEvent.ts | 13 - ....api.event.world.chunk.ForcedChunkEvent.ts | 25 - ...ed.api.event.world.chunk.LoadChunkEvent.ts | 15 - ...world.chunk.PopulateChunkEvent.Populate.ts | 22 - ...ent.world.chunk.PopulateChunkEvent.Post.ts | 23 - ...vent.world.chunk.PopulateChunkEvent.Pre.ts | 22 - ...pi.event.world.chunk.PopulateChunkEvent.ts | 15 - ....api.event.world.chunk.TargetChunkEvent.ts | 20 - ...pi.event.world.chunk.UnforcedChunkEvent.ts | 25 - ....api.event.world.chunk.UnloadChunkEvent.ts | 15 - ...ered.api.extra.fluid.FluidStack.Builder.ts | 45 - ...pongepowered.api.extra.fluid.FluidStack.ts | 44 - ....extra.fluid.FluidStackSnapshot.Builder.ts | 24 - ...ered.api.extra.fluid.FluidStackSnapshot.ts | 36 - ...spongepowered.api.extra.fluid.FluidType.ts | 19 - ...pongepowered.api.extra.fluid.FluidTypes.ts | 17 - ...ulator.immutable.ImmutableFluidItemData.ts | 24 - ...ulator.immutable.ImmutableFluidTankData.ts | 32 - ....data.manipulator.mutable.FluidItemData.ts | 24 - ....data.manipulator.mutable.FluidTankData.ts | 32 - ....data.property.FluidTemperatureProperty.ts | 26 - ...id.data.property.FluidViscosityProperty.ts | 26 - ...difier.empty.VoidWorldGeneratorModifier.ts | 22 - ...odifier.skylands.SkylandsBiomeGenerator.ts | 18 - ...odifier.skylands.SkylandsGrassPopulator.ts | 21 - ...r.skylands.SkylandsGroundCoverPopulator.ts | 18 - ...ifier.skylands.SkylandsTerrainGenerator.ts | 25 - ...skylands.SkylandsWorldGeneratorModifier.ts | 22 - ...powered.api.item.FireworkEffect.Builder.ts | 78 - ...g.spongepowered.api.item.FireworkEffect.ts | 47 - ...rg.spongepowered.api.item.FireworkShape.ts | 11 - ...g.spongepowered.api.item.FireworkShapes.ts | 21 - .../org.spongepowered.api.item.ItemType.ts | 48 - .../org.spongepowered.api.item.ItemTypes.ts | 835 ------- ...pi.item.enchantment.Enchantment.Builder.ts | 37 - ...chantment.Enchantment.RandomListBuilder.ts | 52 - ...owered.api.item.enchantment.Enchantment.ts | 36 - ...ed.api.item.enchantment.EnchantmentType.ts | 73 - ...d.api.item.enchantment.EnchantmentTypes.ts | 73 - ...ngepowered.api.item.inventory.AnvilCost.ts | 33 - ...powered.api.item.inventory.BlockCarrier.ts | 26 - ...pongepowered.api.item.inventory.Carrier.ts | 18 - ...ngepowered.api.item.inventory.Container.ts | 42 - ...wered.api.item.inventory.EmptyInventory.ts | 13 - ...ed.api.item.inventory.Inventory.Builder.ts | 57 - ...ngepowered.api.item.inventory.Inventory.ts | 384 ---- ...em.inventory.InventoryArchetype.Builder.ts | 45 - ...d.api.item.inventory.InventoryArchetype.ts | 43 - ....api.item.inventory.InventoryArchetypes.ts | 66 - ...ed.api.item.inventory.InventoryProperty.ts | 13 - ...ventory.InventoryTransformation.Builder.ts | 25 - ....item.inventory.InventoryTransformation.ts | 25 - ...item.inventory.InventoryTransformations.ts | 22 - ...ed.api.item.inventory.ItemStack.Builder.ts | 99 - ...ngepowered.api.item.inventory.ItemStack.ts | 89 - ...em.inventory.ItemStackBuilderPopulators.ts | 270 --- ...api.item.inventory.ItemStackComparators.ts | 31 - ...em.inventory.ItemStackGenerator.Builder.ts | 37 - ...d.api.item.inventory.ItemStackGenerator.ts | 18 - ...ed.api.item.inventory.ItemStackSnapshot.ts | 53 - ...ed.api.item.inventory.MultiBlockCarrier.ts | 31 - ...d.api.item.inventory.SingleBlockCarrier.ts | 13 - ...ngepowered.api.item.inventory.Slot.Type.ts | 21 - ...g.spongepowered.api.item.inventory.Slot.ts | 35 - ...nventory.crafting.CraftingGridInventory.ts | 20 - ...em.inventory.crafting.CraftingInventory.ts | 30 - ....item.inventory.crafting.CraftingOutput.ts | 15 - ...owered.api.item.inventory.entity.Hotbar.ts | 25 - ...em.inventory.entity.MainPlayerInventory.ts | 25 - ...i.item.inventory.entity.PlayerInventory.ts | 15 - ...api.item.inventory.entity.UserInventory.ts | 40 - ....inventory.equipment.EquipmentInventory.ts | 83 - ....item.inventory.equipment.EquipmentType.ts | 15 - ...item.inventory.equipment.EquipmentTypes.ts | 35 - ...m.inventory.equipment.HeldEquipmentType.ts | 15 - ...m.inventory.equipment.WornEquipmentType.ts | 15 - ...tory.property.AbstractInventoryProperty.ts | 74 - ...pi.item.inventory.property.AcceptsItems.ts | 44 - ...i.item.inventory.property.ArmorSlotType.ts | 42 - ...em.inventory.property.EquipmentSlotType.ts | 44 - ...wered.api.item.inventory.property.GuiId.ts | 15 - ...i.item.inventory.property.GuiIdProperty.ts | 21 - ...ered.api.item.inventory.property.GuiIds.ts | 40 - ...pi.item.inventory.property.Identifiable.ts | 29 - ...api.item.inventory.property.IntProperty.ts | 67 - ...em.inventory.property.InventoryCapacity.ts | 29 - ...m.inventory.property.InventoryDimension.ts | 87 - ....item.inventory.property.InventoryTitle.ts | 28 - ...em.inventory.property.MappedIntProperty.ts | 66 - ...d.api.item.inventory.property.SlotIndex.ts | 63 - ...red.api.item.inventory.property.SlotPos.ts | 87 - ...ed.api.item.inventory.property.SlotSide.ts | 43 - ....item.inventory.property.StringProperty.ts | 68 - ...api.item.inventory.query.QueryOperation.ts | 21 - ...item.inventory.query.QueryOperationType.ts | 20 - ...tem.inventory.query.QueryOperationTypes.ts | 31 - ...d.api.item.inventory.slot.EquipmentSlot.ts | 22 - ...d.api.item.inventory.slot.FilteringSlot.ts | 29 - ...owered.api.item.inventory.slot.FuelSlot.ts | 15 - ...wered.api.item.inventory.slot.InputSlot.ts | 15 - ...ered.api.item.inventory.slot.OutputSlot.ts | 15 - ...wered.api.item.inventory.slot.SidedSlot.ts | 33 - ...tion.InventoryTransactionResult.Builder.ts | 43 - ...saction.InventoryTransactionResult.Type.ts | 31 - ....transaction.InventoryTransactionResult.ts | 49 - ...m.inventory.transaction.SlotTransaction.ts | 34 - ...pi.item.inventory.type.CarriedInventory.ts | 21 - ...d.api.item.inventory.type.GridInventory.ts | 72 - ...ed.api.item.inventory.type.Interactable.ts | 20 - ...red.api.item.inventory.type.Inventory2D.ts | 47 - ...api.item.inventory.type.InventoryColumn.ts | 15 - ...ed.api.item.inventory.type.InventoryRow.ts | 15 - ...pi.item.inventory.type.OrderedInventory.ts | 45 - ...item.inventory.type.PersistentInventory.ts | 21 - ...item.inventory.type.TileEntityInventory.ts | 20 - ...pongepowered.api.item.merchant.Merchant.ts | 31 - ...ed.api.item.merchant.TradeOffer.Builder.ts | 66 - ...ngepowered.api.item.merchant.TradeOffer.ts | 74 - ...em.merchant.TradeOfferGenerator.Builder.ts | 58 - ...d.api.item.merchant.TradeOfferGenerator.ts | 20 - ...api.item.merchant.TradeOfferListMutator.ts | 20 - ...ered.api.item.merchant.VillagerRegistry.ts | 75 - ...pongepowered.api.item.potion.PotionType.ts | 15 - ...ongepowered.api.item.potion.PotionTypes.ts | 85 - ...rg.spongepowered.api.item.recipe.Recipe.ts | 19 - ...epowered.api.item.recipe.RecipeRegistry.ts | 23 - ...api.item.recipe.crafting.CraftingRecipe.ts | 68 - ....recipe.crafting.CraftingRecipeRegistry.ts | 27 - ...pi.item.recipe.crafting.CraftingRecipes.ts | 901 -------- ...api.item.recipe.crafting.CraftingResult.ts | 44 - ...item.recipe.crafting.Ingredient.Builder.ts | 78 - ...red.api.item.recipe.crafting.Ingredient.ts | 51 - ...tingRecipe.Builder.AisleStep.ResultStep.ts | 21 - ....ShapedCraftingRecipe.Builder.AisleStep.ts | 31 - ...ng.ShapedCraftingRecipe.Builder.EndStep.ts | 35 - ...ShapedCraftingRecipe.Builder.ResultStep.ts | 31 - ...ftingRecipe.Builder.RowsStep.ResultStep.ts | 21 - ...g.ShapedCraftingRecipe.Builder.RowsStep.ts | 30 - ...e.crafting.ShapedCraftingRecipe.Builder.ts | 34 - ...em.recipe.crafting.ShapedCraftingRecipe.ts | 36 - ...ShapelessCraftingRecipe.Builder.EndStep.ts | 35 - ...pelessCraftingRecipe.Builder.ResultStep.ts | 31 - ...rafting.ShapelessCraftingRecipe.Builder.ts | 23 - ...recipe.crafting.ShapelessCraftingRecipe.ts | 25 - ...smelting.SmeltingRecipe.Builder.EndStep.ts | 34 - ...lting.SmeltingRecipe.Builder.ResultStep.ts | 31 - ....recipe.smelting.SmeltingRecipe.Builder.ts | 47 - ...api.item.recipe.smelting.SmeltingRecipe.ts | 48 - ....recipe.smelting.SmeltingRecipeRegistry.ts | 26 - ...api.item.recipe.smelting.SmeltingResult.ts | 42 - ...rk.ChannelBinding.IndexedMessageChannel.ts | 65 - ...i.network.ChannelBinding.RawDataChannel.ts | 48 - ...pongepowered.api.network.ChannelBinding.ts | 26 - ...rg.spongepowered.api.network.ChannelBuf.ts | 555 ----- ...org.spongepowered.api.network.ChannelId.ts | 16 - ...ngepowered.api.network.ChannelRegistrar.ts | 64 - ...pi.network.ChannelRegistrationException.ts | 29 - .../org.spongepowered.api.network.Message.ts | 21 - ...pongepowered.api.network.MessageHandler.ts | 16 - ...ngepowered.api.network.PlayerConnection.ts | 21 - ...ongepowered.api.network.RawDataListener.ts | 16 - ...ngepowered.api.network.RemoteConnection.ts | 24 - ...pongepowered.api.network.status.Favicon.ts | 18 - ...powered.api.network.status.StatusClient.ts | 28 - ...i.network.status.StatusResponse.Players.ts | 31 - ...wered.api.network.status.StatusResponse.ts | 35 - ...org.spongepowered.api.plugin.Dependency.ts | 40 - .../org.spongepowered.api.plugin.Plugin.ts | 51 - ...pongepowered.api.plugin.PluginContainer.ts | 74 - ....spongepowered.api.plugin.PluginManager.ts | 36 - ...g.spongepowered.api.profile.GameProfile.ts | 63 - ...ngepowered.api.profile.GameProfileCache.ts | 146 -- ...epowered.api.profile.GameProfileManager.ts | 117 - ...ed.api.profile.ProfileNotFoundException.ts | 30 - ...ed.api.profile.property.ProfileProperty.ts | 47 - ...egistry.AdditionalCatalogRegistryModule.ts | 17 - ...registry.AlternateCatalogRegistryModule.ts | 17 - ...ered.api.registry.CatalogRegistryModule.ts | 24 - ...y.CatalogTypeAlreadyRegisteredException.ts | 21 - ...egistry.ExtraClassCatalogRegistryModule.ts | 21 - ...ngepowered.api.registry.FactoryRegistry.ts | 27 - ...epowered.api.registry.RegistrationPhase.ts | 25 - ...epowered.api.registry.RegistryException.ts | 28 - ...ongepowered.api.registry.RegistryModule.ts | 20 - ...egistryModuleAlreadyRegisteredException.ts | 24 - ...pi.registry.util.AdditionalRegistration.ts | 19 - ...registry.util.CustomCatalogRegistration.ts | 13 - ...d.api.registry.util.DelayedRegistration.ts | 19 - ....api.registry.util.OverrideRegistration.ts | 18 - ...istry.util.PluginProvidedRegistryModule.ts | 13 - ...wered.api.registry.util.RegisterCatalog.ts | 24 - ...pi.registry.util.RegistrationDependency.ts | 26 - ...gepowered.api.resourcepack.ResourcePack.ts | 38 - ...ed.api.resourcepack.ResourcePackFactory.ts | 22 - ...epowered.api.resourcepack.ResourcePacks.ts | 24 - ...ered.api.scheduler.AsynchronousExecutor.ts | 11 - ...g.spongepowered.api.scheduler.Scheduler.ts | 60 - ...uler.SpongeExecutorService.SpongeFuture.ts | 19 - ...red.api.scheduler.SpongeExecutorService.ts | 19 - ...wered.api.scheduler.SynchronousExecutor.ts | 11 - ...pongepowered.api.scheduler.Task.Builder.ts | 91 - .../org.spongepowered.api.scheduler.Task.ts | 54 - ...ngepowered.api.scoreboard.CollisionRule.ts | 11 - ...gepowered.api.scoreboard.CollisionRules.ts | 19 - .../org.spongepowered.api.scoreboard.Score.ts | 32 - ...wered.api.scoreboard.Scoreboard.Builder.ts | 30 - ...spongepowered.api.scoreboard.Scoreboard.ts | 100 - ...ongepowered.api.scoreboard.Team.Builder.ts | 92 - .../org.spongepowered.api.scoreboard.Team.ts | 163 -- ...spongepowered.api.scoreboard.TeamMember.ts | 17 - ...ongepowered.api.scoreboard.Visibilities.ts | 19 - ...spongepowered.api.scoreboard.Visibility.ts | 11 - ...wered.api.scoreboard.critieria.Criteria.ts | 25 - ...ered.api.scoreboard.critieria.Criterion.ts | 18 - ...reboard.displayslot.DisplaySlot.Builder.ts | 25 - ....api.scoreboard.displayslot.DisplaySlot.ts | 18 - ...api.scoreboard.displayslot.DisplaySlots.ts | 19 - ....scoreboard.objective.Objective.Builder.ts | 40 - ...ered.api.scoreboard.objective.Objective.ts | 90 - ...ective.displaymode.ObjectiveDisplayMode.ts | 15 - ...ctive.displaymode.ObjectiveDisplayModes.ts | 19 - ...owered.api.service.ProviderRegistration.ts | 27 - ...wered.api.service.ProvisioningException.ts | 35 - ...pongepowered.api.service.ServiceManager.ts | 45 - ...owered.api.service.SimpleServiceManager.ts | 23 - ...pongepowered.api.service.ban.BanService.ts | 75 - ...ongepowered.api.service.context.Context.ts | 59 - ...d.api.service.context.ContextCalculator.ts | 41 - ...wered.api.service.context.ContextSource.ts | 19 - ...epowered.api.service.context.Contextual.ts | 42 - ...d.api.service.context.ContextualService.ts | 20 - ...ngepowered.api.service.economy.Currency.ts | 56 - ...ered.api.service.economy.EconomyService.ts | 59 - ...red.api.service.economy.account.Account.ts | 190 -- ...i.service.economy.account.UniqueAccount.ts | 15 - ....service.economy.account.VirtualAccount.ts | 15 - ....service.economy.transaction.ResultType.ts | 29 - ...e.economy.transaction.TransactionResult.ts | 46 - ...ice.economy.transaction.TransactionType.ts | 15 - ...ce.economy.transaction.TransactionTypes.ts | 21 - ...vice.economy.transaction.TransferResult.ts | 22 - ...rvice.pagination.PaginationList.Builder.ts | 81 - ...d.api.service.pagination.PaginationList.ts | 81 - ...pi.service.pagination.PaginationService.ts | 18 - ...pi.service.permission.MemorySubjectData.ts | 57 - ...powered.api.service.permission.NodeTree.ts | 46 - ...ermission.PermissionDescription.Builder.ts | 49 - ...ervice.permission.PermissionDescription.ts | 103 - ...pi.service.permission.PermissionService.ts | 141 -- ...epowered.api.service.permission.Subject.ts | 146 -- ...pi.service.permission.SubjectCollection.ts | 189 -- ...ered.api.service.permission.SubjectData.ts | 117 - ...api.service.permission.SubjectReference.ts | 31 - ...ngepowered.api.service.rcon.RconService.ts | 26 - ...pongepowered.api.service.sql.SqlService.ts | 39 - ...red.api.service.user.UserStorageService.ts | 70 - ....api.service.whitelist.WhitelistService.ts | 34 - ...ngepowered.api.statistic.BlockStatistic.ts | 16 - ...gepowered.api.statistic.EntityStatistic.ts | 16 - ...ongepowered.api.statistic.ItemStatistic.ts | 16 - ...g.spongepowered.api.statistic.Statistic.ts | 27 - ...ongepowered.api.statistic.StatisticType.ts | 11 - ...ngepowered.api.statistic.StatisticTypes.ts | 29 - ....spongepowered.api.statistic.Statistics.ts | 109 - ...spongepowered.api.text.BookView.Builder.ts | 91 - .../org.spongepowered.api.text.BookView.ts | 41 - ...ngepowered.api.text.LiteralText.Builder.ts | 67 - .../org.spongepowered.api.text.LiteralText.ts | 22 - ...pongepowered.api.text.ScoreText.Builder.ts | 77 - .../org.spongepowered.api.text.ScoreText.ts | 27 - ...gepowered.api.text.SelectorText.Builder.ts | 67 - ...org.spongepowered.api.text.SelectorText.ts | 22 - ...org.spongepowered.api.text.Text.Builder.ts | 184 -- .../org.spongepowered.api.text.Text.ts | 311 --- .../org.spongepowered.api.text.TextElement.ts | 16 - ...pongepowered.api.text.TextRepresentable.ts | 22 - ...wered.api.text.TextTemplate.Arg.Builder.ts | 58 - ...spongepowered.api.text.TextTemplate.Arg.ts | 55 - ...org.spongepowered.api.text.TextTemplate.ts | 112 - ....api.text.TextTemplateArgumentException.ts | 15 - ...wered.api.text.TranslatableText.Builder.ts | 77 - ...spongepowered.api.text.TranslatableText.ts | 28 - ....api.text.action.ClickAction.ChangePage.ts | 15 - ...text.action.ClickAction.ExecuteCallback.ts | 15 - ...red.api.text.action.ClickAction.OpenUrl.ts | 15 - ....api.text.action.ClickAction.RunCommand.ts | 15 - ....text.action.ClickAction.SuggestCommand.ts | 15 - ...ongepowered.api.text.action.ClickAction.ts | 15 - ....text.action.HoverAction.ShowEntity.Ref.ts | 54 - ....api.text.action.HoverAction.ShowEntity.ts | 15 - ...ed.api.text.action.HoverAction.ShowItem.ts | 15 - ...ed.api.text.action.HoverAction.ShowText.ts | 15 - ...ongepowered.api.text.action.HoverAction.ts | 15 - ...text.action.ShiftClickAction.InsertText.ts | 15 - ...owered.api.text.action.ShiftClickAction.ts | 15 - ...pongepowered.api.text.action.TextAction.ts | 30 - ...ongepowered.api.text.action.TextActions.ts | 86 - ...t.channel.AbstractMutableMessageChannel.ts | 37 - ...pi.text.channel.ChatTypeMessageReceiver.ts | 50 - ...powered.api.text.channel.MessageChannel.ts | 101 - ...owered.api.text.channel.MessageReceiver.ts | 62 - ....api.text.channel.MutableMessageChannel.ts | 30 - ...ext.channel.impl.DelegateMessageChannel.ts | 26 - ...nnel.impl.DelegateMutableMessageChannel.ts | 25 - ...hannel.impl.SimpleMutableMessageChannel.ts | 24 - ...ext.channel.type.CombinedMessageChannel.ts | 31 - ...i.text.channel.type.FixedMessageChannel.ts | 29 - ...t.channel.type.PermissionMessageChannel.ts | 30 - ...i.text.channel.type.WorldMessageChannel.ts | 22 - ...rg.spongepowered.api.text.chat.ChatType.ts | 13 - ...g.spongepowered.api.text.chat.ChatTypes.ts | 19 - ...epowered.api.text.chat.ChatVisibilities.ts | 19 - ...ngepowered.api.text.chat.ChatVisibility.ts | 18 - ...spongepowered.api.text.format.TextColor.ts | 20 - ...pongepowered.api.text.format.TextColors.ts | 49 - ...pongepowered.api.text.format.TextFormat.ts | 79 - ...epowered.api.text.format.TextStyle.Base.ts | 21 - ...spongepowered.api.text.format.TextStyle.ts | 118 - ...pongepowered.api.text.format.TextStyles.ts | 39 - ...d.api.text.selector.Argument.Invertible.ts | 28 - ...pongepowered.api.text.selector.Argument.ts | 54 - ....api.text.selector.ArgumentHolder.Limit.ts | 25 - ...pi.text.selector.ArgumentHolder.Vector3.ts | 33 - ...owered.api.text.selector.ArgumentHolder.ts | 24 - ...i.text.selector.ArgumentType.Invertible.ts | 15 - ...epowered.api.text.selector.ArgumentType.ts | 28 - ...powered.api.text.selector.ArgumentTypes.ts | 59 - ...ered.api.text.selector.Selector.Builder.ts | 58 - ...pongepowered.api.text.selector.Selector.ts | 134 -- ...wered.api.text.selector.SelectorFactory.ts | 78 - ...epowered.api.text.selector.SelectorType.ts | 13 - ...powered.api.text.selector.SelectorTypes.ts | 23 - ...api.text.serializer.BookViewDataBuilder.ts | 24 - ...serializer.FormattingCodeTextSerializer.ts | 38 - ....api.text.serializer.SafeTextSerializer.ts | 17 - ...pi.text.serializer.TextConfigSerializer.ts | 24 - ...t.serializer.TextFormatConfigSerializer.ts | 18 - ....api.text.serializer.TextParseException.ts | 30 - ...ered.api.text.serializer.TextSerializer.ts | 40 - ...i.text.serializer.TextSerializerFactory.ts | 19 - ...red.api.text.serializer.TextSerializers.ts | 27 - ...serializer.TextTemplateConfigSerializer.ts | 18 - ...ngepowered.api.text.title.Title.Builder.ts | 128 -- .../org.spongepowered.api.text.title.Title.ts | 126 -- ...ansform.DynamicPartitionedTextFormatter.ts | 51 - ...transform.FixedPartitionedTextFormatter.ts | 57 - ...text.transform.PartitionedTextFormatter.ts | 13 - ....api.text.transform.SimpleTextFormatter.ts | 52 - ...ext.transform.SimpleTextTemplateApplier.ts | 35 - ...owered.api.text.transform.TextFormatter.ts | 165 -- ....api.text.transform.TextTemplateApplier.ts | 40 - ...d.api.text.translation.FixedTranslation.ts | 23 - ...t.translation.ResourceBundleTranslation.ts | 24 - ...wered.api.text.translation.Translatable.ts | 18 - ...owered.api.text.translation.Translation.ts | 38 - ...red.api.text.translation.locale.Locales.ts | 172 -- ...pi.text.translation.locale.NamedLocales.ts | 167 -- .../org.spongepowered.api.util.AABB.ts | 114 - .../org.spongepowered.api.util.Axis.ts | 57 - ...rg.spongepowered.api.util.AxisDirection.ts | 30 - ...g.spongepowered.api.util.CatalogBuilder.ts | 35 - .../org.spongepowered.api.util.Coerce.ts | 152 -- ....spongepowered.api.util.CollectionUtils.ts | 25 - ...rg.spongepowered.api.util.Color.Builder.ts | 20 - .../org.spongepowered.api.util.Color.ts | 162 -- .../org.spongepowered.api.util.Cycleable.ts | 17 - ...ongepowered.api.util.Direction.Division.ts | 25 - .../org.spongepowered.api.util.Direction.ts | 147 -- ...ongepowered.api.util.DiscreteTransform2.ts | 203 -- ...ongepowered.api.util.DiscreteTransform3.ts | 228 -- .../org.spongepowered.api.util.Functional.ts | 68 - ....spongepowered.api.util.GuavaCollectors.ts | 21 - ...org.spongepowered.api.util.Identifiable.ts | 16 - ....spongepowered.api.util.InformativeMain.ts | 18 - .../org.spongepowered.api.util.OptBool.ts | 33 - ....spongepowered.api.util.PEBKACException.ts | 28 - ...d.api.util.PositionOutOfBoundsException.ts | 23 - ...pongepowered.api.util.RelativePositions.ts | 25 - ...pongepowered.api.util.ResettableBuilder.ts | 23 - ...owered.api.util.RespawnLocation.Builder.ts | 58 - ....spongepowered.api.util.RespawnLocation.ts | 49 - ...red.api.util.SpongeApiTranslationHelper.ts | 16 - ...ngepowered.api.util.StartsWithPredicate.ts | 17 - ...gepowered.api.util.TextMessageException.ts | 38 - .../org.spongepowered.api.util.Tristate.ts | 41 - .../org.spongepowered.api.util.Tuple.ts | 37 - .../org.spongepowered.api.util.TypeTokens.ts | 385 ---- .../org.spongepowered.api.util.Updater.ts | 30 - ...powered.api.util.annotation.CatalogedBy.ts | 23 - ...ed.api.util.annotation.NonnullByDefault.ts | 13 - ...nnotation.eventgen.AbsoluteSortPosition.ts | 20 - ....util.annotation.eventgen.FactoryMethod.ts | 15 - ...notation.eventgen.GenerateFactoryMethod.ts | 15 - ....util.annotation.eventgen.ImplementedBy.ts | 28 - ...il.annotation.eventgen.PropertySettings.ts | 30 - ...til.annotation.eventgen.TransformResult.ts | 24 - ....util.annotation.eventgen.TransformWith.ts | 23 - ...d.api.util.annotation.eventgen.UseField.ts | 25 - ....spongepowered.api.util.ban.Ban.Builder.ts | 66 - .../org.spongepowered.api.util.ban.Ban.Ip.ts | 20 - ....spongepowered.api.util.ban.Ban.Profile.ts | 20 - .../org.spongepowered.api.util.ban.Ban.ts | 75 - .../org.spongepowered.api.util.ban.BanType.ts | 18 - ...org.spongepowered.api.util.ban.BanTypes.ts | 17 - ....util.blockray.BlockRay.BlockRayBuilder.ts | 95 - ...pongepowered.api.util.blockray.BlockRay.ts | 72 - ...gepowered.api.util.blockray.BlockRayHit.ts | 99 - ...gepowered.api.util.file.CopyFileVisitor.ts | 24 - ...powered.api.util.file.DeleteFileVisitor.ts | 20 - ...red.api.util.file.ForwardingFileVisitor.ts | 22 - ...nerator.GeneratorUtils.LocalClassLoader.ts | 24 - ...wered.api.util.generator.GeneratorUtils.ts | 30 - ...til.generator.dummy.DummyClassGenerator.ts | 21 - ...rator.dummy.DummyClassGeneratorProvider.ts | 26 - ...til.generator.dummy.DummyObjectProvider.ts | 26 - ...ed.api.util.metric.MetricsConfigManager.ts | 53 - ...pongepowered.api.util.rotation.Rotation.ts | 18 - ...ongepowered.api.util.rotation.Rotations.ts | 29 - ...gepowered.api.util.weighted.ChanceTable.ts | 29 - ...gepowered.api.util.weighted.EmptyObject.ts | 27 - ...ongepowered.api.util.weighted.LootTable.ts | 53 - ...ered.api.util.weighted.NestedTableEntry.ts | 29 - ...red.api.util.weighted.RandomObjectTable.ts | 100 - ...dedVariableAmount.WrappedVariableAmount.ts | 28 - ....api.util.weighted.SeededVariableAmount.ts | 37 - ...ngepowered.api.util.weighted.TableEntry.ts | 22 - ...util.weighted.UnmodifiableWeightedTable.ts | 88 - ...weighted.VariableAmount.BaseAndAddition.ts | 27 - ...weighted.VariableAmount.BaseAndVariance.ts | 27 - ....api.util.weighted.VariableAmount.Fixed.ts | 27 - ....weighted.VariableAmount.OptionalAmount.ts | 27 - ...owered.api.util.weighted.VariableAmount.ts | 111 - ...owered.api.util.weighted.WeightedObject.ts | 29 - ...til.weighted.WeightedSerializableObject.ts | 26 - ...powered.api.util.weighted.WeightedTable.ts | 59 - ...spongepowered.api.world.BlockChangeFlag.ts | 94 - ...pongepowered.api.world.BlockChangeFlags.ts | 29 - .../org.spongepowered.api.world.Chunk.ts | 98 - ...ered.api.world.ChunkPreGenerate.Builder.ts | 67 - ...pongepowered.api.world.ChunkPreGenerate.ts | 50 - ...gepowered.api.world.ChunkRegenerateFlag.ts | 63 - ...epowered.api.world.ChunkRegenerateFlags.ts | 19 - .../org.spongepowered.api.world.ChunkState.ts | 23 - ...d.api.world.ChunkTicketManager.Callback.ts | 27 - ....ChunkTicketManager.EntityLoadingTicket.ts | 25 - ....world.ChunkTicketManager.LoadingTicket.ts | 96 - ...orld.ChunkTicketManager.OrderedCallback.ts | 22 - ...TicketManager.PlayerEntityLoadingTicket.ts | 13 - ....ChunkTicketManager.PlayerLoadingTicket.ts | 18 - ...hunkTicketManager.PlayerOrderedCallback.ts | 21 - ...ngepowered.api.world.ChunkTicketManager.ts | 78 - .../org.spongepowered.api.world.Dimension.ts | 53 - ...g.spongepowered.api.world.DimensionType.ts | 16 - ....spongepowered.api.world.DimensionTypes.ts | 17 - ...g.spongepowered.api.world.GeneratorType.ts | 22 - ....spongepowered.api.world.GeneratorTypes.ts | 27 - .../org.spongepowered.api.world.Locatable.ts | 21 - ...owered.api.world.LocatableBlock.Builder.ts | 49 - ....spongepowered.api.world.LocatableBlock.ts | 26 - .../org.spongepowered.api.world.Location.ts | 387 ---- ...org.spongepowered.api.world.PortalAgent.ts | 62 - ...spongepowered.api.world.PortalAgentType.ts | 16 - ...pongepowered.api.world.PortalAgentTypes.ts | 13 - ...powered.api.world.SerializationBehavior.ts | 11 - ...owered.api.world.SerializationBehaviors.ts | 22 - ....spongepowered.api.world.TeleportHelper.ts | 75 - .../org.spongepowered.api.world.World.ts | 266 --- ...owered.api.world.WorldArchetype.Builder.ts | 133 -- ....spongepowered.api.world.WorldArchetype.ts | 117 - ...spongepowered.api.world.WorldArchetypes.ts | 21 - ...gepowered.api.world.WorldBorder.Builder.ts | 54 - ...org.spongepowered.api.world.WorldBorder.ts | 142 -- ...d.biome.BiomeGenerationSettings.Builder.ts | 60 - ...api.world.biome.BiomeGenerationSettings.ts | 78 - ...spongepowered.api.world.biome.BiomeType.ts | 28 - ...pongepowered.api.world.biome.BiomeTypes.ts | 137 -- ...owered.api.world.biome.GroundCoverLayer.ts | 73 - ...pi.world.biome.VirtualBiomeType.Builder.ts | 47 - ...owered.api.world.biome.VirtualBiomeType.ts | 23 - ...wered.api.world.difficulty.Difficulties.ts | 21 - ...powered.api.world.difficulty.Difficulty.ts | 13 - ...d.api.world.explosion.Explosion.Builder.ts | 55 - ...gepowered.api.world.explosion.Explosion.ts | 48 - ...owered.api.world.extent.ArchetypeVolume.ts | 46 - ...ngepowered.api.world.extent.BiomeVolume.ts | 105 - ...ngepowered.api.world.extent.BlockVolume.ts | 119 - ...i.world.extent.EntityUniverse.EntityHit.ts | 46 - ...powered.api.world.extent.EntityUniverse.ts | 187 -- ...g.spongepowered.api.world.extent.Extent.ts | 283 --- ...ed.api.world.extent.ExtentBufferFactory.ts | 111 - ...d.api.world.extent.ImmutableBiomeVolume.ts | 37 - ...d.api.world.extent.ImmutableBlockVolume.ts | 37 - ...red.api.world.extent.InteractableVolume.ts | 99 - ...orld.extent.LocationCompositeValueStore.ts | 442 ---- ...red.api.world.extent.MutableBiomeVolume.ts | 45 - ...red.api.world.extent.MutableBlockVolume.ts | 57 - ...ngepowered.api.world.extent.StorageType.ts | 21 - ...wered.api.world.extent.TileEntityVolume.ts | 45 - ...pi.world.extent.UnmodifiableBiomeVolume.ts | 37 - ...pi.world.extent.UnmodifiableBlockVolume.ts | 37 - ...i.world.extent.worker.BiomeVolumeWorker.ts | 45 - ...i.world.extent.worker.BlockVolumeWorker.ts | 46 - ....extent.worker.MutableBiomeVolumeWorker.ts | 38 - ....extent.worker.MutableBlockVolumeWorker.ts | 38 - ...tent.worker.procedure.BiomeVolumeFiller.ts | 22 - ...tent.worker.procedure.BiomeVolumeMapper.ts | 23 - ...tent.worker.procedure.BiomeVolumeMerger.ts | 23 - ...ent.worker.procedure.BiomeVolumeReducer.ts | 23 - ...ent.worker.procedure.BiomeVolumeVisitor.ts | 22 - ...tent.worker.procedure.BlockVolumeFiller.ts | 22 - ...tent.worker.procedure.BlockVolumeMapper.ts | 23 - ...tent.worker.procedure.BlockVolumeMerger.ts | 23 - ...ent.worker.procedure.BlockVolumeReducer.ts | 23 - ...ent.worker.procedure.BlockVolumeVisitor.ts | 22 - ...red.api.world.gamerule.DefaultGameRules.ts | 62 - ...ngepowered.api.world.gen.BiomeGenerator.ts | 23 - ...wered.api.world.gen.GenerationPopulator.ts | 19 - ...g.spongepowered.api.world.gen.Populator.ts | 41 - ...gepowered.api.world.gen.PopulatorObject.ts | 24 - ...epowered.api.world.gen.PopulatorObjects.ts | 47 - ...ongepowered.api.world.gen.PopulatorType.ts | 13 - ...ngepowered.api.world.gen.PopulatorTypes.ts | 69 - ...ngepowered.api.world.gen.WorldGenerator.ts | 71 - ...ed.api.world.gen.WorldGeneratorModifier.ts | 28 - ...d.api.world.gen.WorldGeneratorModifiers.ts | 17 - ...world.gen.populator.BigMushroom.Builder.ts | 57 - ...red.api.world.gen.populator.BigMushroom.ts | 72 - ...i.world.gen.populator.BlockBlob.Builder.ts | 51 - ...wered.api.world.gen.populator.BlockBlob.ts | 62 - ....api.world.gen.populator.Cactus.Builder.ts | 49 - ...epowered.api.world.gen.populator.Cactus.ts | 56 - ...orld.gen.populator.ChorusFlower.Builder.ts | 30 - ...ed.api.world.gen.populator.ChorusFlower.ts | 35 - ...pi.world.gen.populator.DeadBush.Builder.ts | 35 - ...owered.api.world.gen.populator.DeadBush.ts | 38 - ....world.gen.populator.DesertWell.Builder.ts | 33 - ...ered.api.world.gen.populator.DesertWell.ts | 40 - ...world.gen.populator.DoublePlant.Builder.ts | 56 - ...red.api.world.gen.populator.DoublePlant.ts | 67 - ...api.world.gen.populator.Dungeon.Builder.ts | 61 - ...powered.api.world.gen.populator.Dungeon.ts | 77 - ...i.world.gen.populator.EndIsland.Builder.ts | 55 - ...wered.api.world.gen.populator.EndIsland.ts | 75 - ....api.world.gen.populator.Flower.Builder.ts | 58 - ...epowered.api.world.gen.populator.Flower.ts | 69 - ....api.world.gen.populator.Forest.Builder.ts | 51 - ...epowered.api.world.gen.populator.Forest.ts | 64 - ....api.world.gen.populator.Fossil.Builder.ts | 28 - ...epowered.api.world.gen.populator.Fossil.ts | 30 - ...i.world.gen.populator.Glowstone.Builder.ts | 62 - ...wered.api.world.gen.populator.Glowstone.ts | 81 - ...api.world.gen.populator.IcePath.Builder.ts | 45 - ...powered.api.world.gen.populator.IcePath.ts | 53 - ...pi.world.gen.populator.IceSpike.Builder.ts | 58 - ...owered.api.world.gen.populator.IceSpike.ts | 75 - ...ed.api.world.gen.populator.Lake.Builder.ts | 38 - ...ngepowered.api.world.gen.populator.Lake.ts | 50 - ...d.api.world.gen.populator.Melon.Builder.ts | 33 - ...gepowered.api.world.gen.populator.Melon.ts | 38 - ...pi.world.gen.populator.Mushroom.Builder.ts | 57 - ...owered.api.world.gen.populator.Mushroom.ts | 74 - ....world.gen.populator.NetherFire.Builder.ts | 47 - ...ered.api.world.gen.populator.NetherFire.ts | 56 - ...red.api.world.gen.populator.Ore.Builder.ts | 63 - ...ongepowered.api.world.gen.populator.Ore.ts | 86 - ...api.world.gen.populator.Pumpkin.Builder.ts | 40 - ...powered.api.world.gen.populator.Pumpkin.ts | 48 - ...world.gen.populator.RandomBlock.Builder.ts | 53 - ...red.api.world.gen.populator.RandomBlock.ts | 70 - ...orld.gen.populator.RandomObject.Builder.ts | 55 - ...ed.api.world.gen.populator.RandomObject.ts | 77 - ...ed.api.world.gen.populator.Reed.Builder.ts | 40 - ...ngepowered.api.world.gen.populator.Reed.ts | 48 - ...pi.world.gen.populator.SeaFloor.Builder.ts | 67 - ...owered.api.world.gen.populator.SeaFloor.ts | 91 - ...d.api.world.gen.populator.Shrub.Builder.ts | 51 - ...gepowered.api.world.gen.populator.Shrub.ts | 62 - ...ed.api.world.gen.populator.Vine.Builder.ts | 33 - ...ngepowered.api.world.gen.populator.Vine.ts | 38 - ...i.world.gen.populator.WaterLily.Builder.ts | 35 - ...wered.api.world.gen.populator.WaterLily.ts | 38 - ...owered.api.world.gen.type.BiomeTreeType.ts | 44 - ...wered.api.world.gen.type.BiomeTreeTypes.ts | 33 - ...powered.api.world.gen.type.MushroomType.ts | 27 - ...owered.api.world.gen.type.MushroomTypes.ts | 19 - ...owered.api.world.schematic.BlockPalette.ts | 53 - ...ed.api.world.schematic.BlockPaletteType.ts | 20 - ...d.api.world.schematic.BlockPaletteTypes.ts | 17 - ...ongepowered.api.world.schematic.Palette.ts | 52 - ...powered.api.world.schematic.PaletteType.ts | 15 - ...owered.api.world.schematic.PaletteTypes.ts | 22 - ...d.api.world.schematic.Schematic.Builder.ts | 92 - ...gepowered.api.world.schematic.Schematic.ts | 60 - ...wered.api.world.storage.ChunkDataStream.ts | 39 - ...gepowered.api.world.storage.ChunkLayout.ts | 172 -- ...wered.api.world.storage.WorldProperties.ts | 431 ---- ...epowered.api.world.storage.WorldStorage.ts | 52 - ...api.world.teleport.TeleportHelperFilter.ts | 58 - ...pi.world.teleport.TeleportHelperFilters.ts | 23 - ...spongepowered.api.world.weather.Weather.ts | 13 - ...wered.api.world.weather.WeatherUniverse.ts | 38 - ...pongepowered.api.world.weather.Weathers.ts | 19 - 2891 files changed, 7 insertions(+), 113345 deletions(-) delete mode 100644 packages/bukkit/src/typings/index.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Achievement.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Art.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Axis.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.BanEntry.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.BanList.Type.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.BanList.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.BlockChangeDelegate.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Bukkit.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.ChatColor.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Chunk.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.ChunkSnapshot.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.CoalType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Color.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.CropState.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Difficulty.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.DyeColor.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Effect.Type.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Effect.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.EntityEffect.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.FireworkEffect.Builder.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.FireworkEffect.Type.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.FireworkEffect.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.FluidCollisionMode.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.GameMode.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.GameRule.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.GrassSpecies.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Instrument.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Keyed.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Location.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Material.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Nameable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.NamespacedKey.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.NetherWartsState.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Note.Tone.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Note.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.OfflinePlayer.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Particle.DustOptions.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Particle.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.PortalType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Registry.SimpleRegistry.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Registry.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Rotation.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.SandstoneType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Server.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.SkullType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Sound.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.SoundCategory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Statistic.Type.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Statistic.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.StructureType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Tag.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.TreeSpecies.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.TreeType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.UndefinedNullability.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.UnsafeValues.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Utility.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Warning.WarningState.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.Warning.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.WeatherType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.World.Environment.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.World.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.WorldBorder.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.WorldCreator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.WorldType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.advancement.Advancement.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.advancement.AdvancementProgress.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.attribute.Attributable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.attribute.Attribute.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.attribute.AttributeInstance.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.attribute.AttributeModifier.Operation.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.attribute.AttributeModifier.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Banner.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Barrel.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Beacon.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Bed.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Bell.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Biome.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.BlastFurnace.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Block.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.BlockFace.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.BlockState.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.BrewingStand.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Campfire.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Chest.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.CommandBlock.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Comparator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Conduit.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Container.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.CreatureSpawner.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.DaylightDetector.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Dispenser.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.DoubleChest.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Dropper.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.EnchantingTable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.EndGateway.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.EnderChest.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.FlowerPot.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Furnace.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Hopper.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Jigsaw.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Jukebox.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Lectern.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Lockable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.NoteBlock.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.PistonMoveReaction.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.ShulkerBox.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Sign.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Skull.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Smoker.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.Structure.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.TileState.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.banner.Pattern.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.banner.PatternType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Ageable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.AnaloguePowerable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Attachable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Bisected.Half.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Bisected.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.BlockData.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Directional.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Levelled.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Lightable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.MultipleFacing.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Openable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Orientable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Powerable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Rail.Shape.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Rail.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Rotatable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Snowable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.Waterlogged.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Bamboo.Leaves.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Bamboo.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Bed.Part.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Bed.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Bell.Attachment.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Bell.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.BrewingStand.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.BubbleColumn.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Cake.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Campfire.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Chest.Type.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Chest.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Cocoa.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.CommandBlock.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Comparator.Mode.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Comparator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.CoralWallFan.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.DaylightDetector.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Dispenser.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Door.Hinge.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Door.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.EndPortalFrame.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.EnderChest.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Farmland.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Fence.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Fire.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Furnace.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Gate.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.GlassPane.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Hopper.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Jukebox.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Ladder.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Lantern.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Leaves.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Lectern.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.NoteBlock.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Observer.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Piston.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.PistonHead.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneRail.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneWallTorch.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneWire.Connection.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneWire.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Repeater.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Sapling.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Scaffolding.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.SeaPickle.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Sign.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Slab.Type.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Slab.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Snow.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Stairs.Shape.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Stairs.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.StructureBlock.Mode.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.StructureBlock.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Switch.Face.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Switch.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.TNT.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.TechnicalPiston.Type.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.TechnicalPiston.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.TrapDoor.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.Tripwire.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.TripwireHook.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.TurtleEgg.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.data.type.WallSign.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.structure.Mirror.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.structure.StructureRotation.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.block.structure.UsageMode.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.boss.BarColor.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.boss.BarFlag.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.boss.BarStyle.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.boss.BossBar.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.boss.KeyedBossBar.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.BlockCommandSender.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.Command.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.CommandException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.CommandExecutor.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.CommandMap.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.CommandSender.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.ConsoleCommandSender.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.FormattedCommandAlias.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.MultipleCommandAlias.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.PluginCommand.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.PluginCommandYamlParser.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.PluginIdentifiableCommand.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.ProxiedCommandSender.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.RemoteConsoleCommandSender.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.SimpleCommandMap.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.TabCompleter.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.TabExecutor.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.defaults.BukkitCommand.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.defaults.HelpCommand.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.defaults.PluginsCommand.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.defaults.ReloadCommand.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.defaults.TimingsCommand.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.command.defaults.VersionCommand.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.Configuration.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.ConfigurationOptions.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.ConfigurationSection.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.InvalidConfigurationException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.MemoryConfiguration.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.MemoryConfigurationOptions.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.MemorySection.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.file.FileConfiguration.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.file.FileConfigurationOptions.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.file.YamlConfiguration.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.file.YamlConfigurationOptions.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.file.YamlConstructor.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.file.YamlRepresenter.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.serialization.ConfigurationSerializable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.serialization.ConfigurationSerialization.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.serialization.DelegateDeserialization.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.configuration.serialization.SerializableAs.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.BooleanPrompt.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.Conversable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.Conversation.ConversationState.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.Conversation.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.ConversationAbandonedEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.ConversationAbandonedListener.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.ConversationCanceller.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.ConversationContext.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.ConversationFactory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.ConversationPrefix.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.ExactMatchConversationCanceller.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.FixedSetPrompt.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.InactivityConversationCanceller.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.ManuallyAbandonedConversationCanceller.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.MessagePrompt.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.NullConversationPrefix.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.NumericPrompt.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.PlayerNamePrompt.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.PluginNameConversationPrefix.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.Prompt.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.RegexPrompt.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.StringPrompt.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.conversations.ValidatingPrompt.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.enchantments.Enchantment.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.enchantments.EnchantmentOffer.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.enchantments.EnchantmentTarget.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.enchantments.EnchantmentWrapper.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.AbstractArrow.PickupStatus.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.AbstractArrow.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.AbstractHorse.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.AbstractVillager.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Ageable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Ambient.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.AnimalTamer.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Animals.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.AreaEffectCloud.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.ArmorStand.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Arrow.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Bat.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Blaze.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Boat.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Boss.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Cat.Type.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Cat.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.CaveSpider.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.ChestedHorse.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Chicken.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Cod.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.ComplexEntityPart.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.ComplexLivingEntity.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Cow.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Creature.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Creeper.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Damageable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Dolphin.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Donkey.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.DragonFireball.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Drowned.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Egg.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.ElderGuardian.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.EnderCrystal.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.EnderDragon.Phase.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.EnderDragon.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.EnderDragonPart.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.EnderPearl.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.EnderSignal.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Enderman.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Endermite.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Entity.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.EntityType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Evoker.Spell.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Evoker.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.EvokerFangs.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.ExperienceOrb.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Explosive.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.FallingBlock.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Fireball.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Firework.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Fish.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.FishHook.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Flying.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Fox.Type.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Fox.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Ghast.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Giant.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Golem.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Guardian.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Hanging.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Horse.Color.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Horse.Style.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Horse.Variant.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Horse.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.HumanEntity.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Husk.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Illager.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Illusioner.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.IronGolem.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Item.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.ItemFrame.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.LargeFireball.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.LeashHitch.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.LightningStrike.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.LingeringPotion.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.LivingEntity.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Llama.Color.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Llama.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.LlamaSpit.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.MagmaCube.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Minecart.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Mob.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Monster.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Mule.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.MushroomCow.Variant.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.MushroomCow.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.NPC.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Ocelot.Type.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Ocelot.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Painting.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Panda.Gene.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Panda.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Parrot.Variant.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Parrot.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Phantom.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Pig.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.PigZombie.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Pillager.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Player.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.PolarBear.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Pose.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Projectile.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.PufferFish.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Rabbit.Type.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Rabbit.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Raider.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Ravager.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Salmon.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Sheep.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Shulker.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.ShulkerBullet.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Silverfish.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Sittable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Skeleton.SkeletonType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Skeleton.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.SkeletonHorse.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Slime.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.SmallFireball.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Snowball.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Snowman.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.SpectralArrow.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Spellcaster.Spell.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Spellcaster.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Spider.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.SplashPotion.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Squid.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Stray.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.TNTPrimed.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Tameable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.ThrownExpBottle.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.ThrownPotion.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.TippedArrow.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.TraderLlama.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Trident.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.TropicalFish.Pattern.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.TropicalFish.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Turtle.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Vehicle.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Vex.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Villager.Profession.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Villager.Type.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Villager.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Vindicator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.WanderingTrader.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.WaterMob.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Witch.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Wither.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.WitherSkeleton.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.WitherSkull.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Wolf.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.Zombie.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.ZombieHorse.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.ZombieVillager.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.memory.MemoryKey.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.minecart.CommandMinecart.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.minecart.ExplosiveMinecart.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.minecart.HopperMinecart.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.minecart.PoweredMinecart.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.minecart.RideableMinecart.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.minecart.SpawnerMinecart.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.entity.minecart.StorageMinecart.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.Cancellable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.Event.Result.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.Event.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.EventException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.EventHandler.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.EventPriority.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.HandlerList.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.Listener.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.Action.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockBreakEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockBurnEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockCanBuildEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockCookEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockDamageEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockDispenseArmorEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockDispenseEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockDropItemEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockExpEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockExplodeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockFadeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockFertilizeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockFormEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockFromToEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockGrowEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockIgniteEvent.IgniteCause.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockIgniteEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockMultiPlaceEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockPhysicsEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockPistonEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockPistonExtendEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockPistonRetractEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockPlaceEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockRedstoneEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockShearEntityEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.BlockSpreadEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.CauldronLevelChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.EntityBlockFormEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.FluidLevelChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.LeavesDecayEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.MoistureChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.NotePlayEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.SignChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.block.SpongeAbsorbEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.enchantment.EnchantItemEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.enchantment.PrepareItemEnchantEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.AreaEffectCloudApplyEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.BatToggleSleepEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.CreatureSpawnEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.CreeperPowerEvent.PowerCause.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.CreeperPowerEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EnderDragonChangePhaseEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityAirChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityBreakDoorEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityBreedEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityChangeBlockEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityCombustByBlockEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityCombustByEntityEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityCombustEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityCreatePortalEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageByBlockEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageByEntityEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageEvent.DamageCause.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageEvent.DamageModifier.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityDeathEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityDropItemEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityExplodeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityInteractEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityPickupItemEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityPlaceEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityPortalEnterEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityPortalEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityPortalExitEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityPoseChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityPotionEffectEvent.Action.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityPotionEffectEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityRegainHealthEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityResurrectEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityShootBowEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntitySpawnEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityTameEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityTargetEvent.TargetReason.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityTargetEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityTargetLivingEntityEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityTeleportEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityToggleGlideEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityToggleSwimEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityTransformEvent.TransformReason.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityTransformEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityUnleashEvent.UnleashReason.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.EntityUnleashEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.ExpBottleEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.ExplosionPrimeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.FireworkExplodeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.FoodLevelChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.HorseJumpEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.ItemDespawnEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.ItemMergeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.ItemSpawnEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.LingeringPotionSplashEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.PigZapEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.PigZombieAngerEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.PlayerDeathEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.PlayerLeashEntityEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.PotionSplashEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.ProjectileHitEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.ProjectileLaunchEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.SheepDyeWoolEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.SheepRegrowWoolEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.SlimeSplitEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.VillagerAcquireTradeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.VillagerCareerChangeEvent.ChangeReason.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.VillagerCareerChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.entity.VillagerReplenishTradeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.hanging.HangingBreakByEntityEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.hanging.HangingBreakEvent.RemoveCause.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.hanging.HangingBreakEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.hanging.HangingEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.hanging.HangingPlaceEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.BrewEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.BrewingStandFuelEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.ClickType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.CraftItemEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.DragType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.FurnaceBurnEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.FurnaceExtractEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.FurnaceSmeltEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryAction.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryClickEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryCloseEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryCreativeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryDragEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryInteractEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryMoveItemEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryOpenEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryPickupItemEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryType.SlotType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.PrepareAnvilEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.PrepareItemCraftEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.inventory.TradeSelectEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.AsyncPlayerChatEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.AsyncPlayerPreLoginEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerAchievementAwardedEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerAdvancementDoneEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerAnimationEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerAnimationType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerArmorStandManipulateEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerBedEnterEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerBedLeaveEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerBucketEmptyEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerBucketEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerBucketFillEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerChangedMainHandEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerChangedWorldEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerChannelEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerChatEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerChatTabCompleteEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerCommandPreprocessEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerCommandSendEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerDropItemEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerEditBookEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerEggThrowEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerExpChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerFishEvent.State.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerFishEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerGameModeChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerInteractAtEntityEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerInteractEntityEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerInteractEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemBreakEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemConsumeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemDamageEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemHeldEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemMendEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerJoinEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerKickEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerLevelChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerLocaleChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerLoginEvent.Result.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerLoginEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerMoveEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerPickupArrowEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerPickupItemEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerPortalEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerPreLoginEvent.Result.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerPreLoginEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerQuitEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerRecipeDiscoverEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerRegisterChannelEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerResourcePackStatusEvent.Status.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerResourcePackStatusEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerRespawnEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerRiptideEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerShearEntityEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerStatisticIncrementEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerSwapHandItemsEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerTakeLecternBookEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerTeleportEvent.TeleportCause.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerTeleportEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerToggleFlightEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerToggleSneakEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerToggleSprintEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerUnleashEntityEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerUnregisterChannelEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.player.PlayerVelocityEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.BroadcastMessageEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.MapInitializeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.PluginDisableEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.PluginEnableEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.PluginEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.RemoteServerCommandEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.ServerCommandEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.ServerEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.ServerListPingEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.ServerLoadEvent.LoadType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.ServerLoadEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.ServiceEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.ServiceRegisterEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.ServiceUnregisterEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.server.TabCompleteEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleBlockCollisionEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleCollisionEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleCreateEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleDamageEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleDestroyEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleEnterEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleEntityCollisionEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleExitEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleMoveEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleUpdateEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.weather.LightningStrikeEvent.Cause.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.weather.LightningStrikeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.weather.ThunderChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.weather.WeatherChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.weather.WeatherEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.world.ChunkEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.world.ChunkLoadEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.world.ChunkPopulateEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.world.ChunkUnloadEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.world.PortalCreateEvent.CreateReason.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.world.PortalCreateEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.world.SpawnChangeEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.world.StructureGrowEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.world.WorldEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.world.WorldInitEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.world.WorldLoadEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.world.WorldSaveEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.event.world.WorldUnloadEvent.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.generator.BlockPopulator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.generator.ChunkGenerator.BiomeGrid.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.generator.ChunkGenerator.ChunkData.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.generator.ChunkGenerator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.help.GenericCommandHelpTopic.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.help.HelpMap.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.help.HelpTopic.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.help.HelpTopicComparator.TopicNameComparator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.help.HelpTopicComparator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.help.HelpTopicFactory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.help.IndexHelpTopic.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.AbstractHorseInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.AnvilInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.BeaconInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.BlastingRecipe.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.BlockInventoryHolder.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.BrewerInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.CampfireRecipe.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.CartographyInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.CookingRecipe.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.CraftingInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.DoubleChestInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.EnchantingInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.EntityEquipment.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.EquipmentSlot.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.FurnaceInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.FurnaceRecipe.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.GrindstoneInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.HorseInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.Inventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.InventoryHolder.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.InventoryView.Property.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.InventoryView.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.ItemFactory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.ItemFlag.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.ItemStack.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.LecternInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.LlamaInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.LoomInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.MainHand.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.Merchant.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.MerchantInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.MerchantRecipe.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.PlayerInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.Recipe.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.RecipeChoice.ExactChoice.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.RecipeChoice.MaterialChoice.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.RecipeChoice.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.ShapedRecipe.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.ShapelessRecipe.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.SmokingRecipe.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.StonecutterInventory.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.StonecuttingRecipe.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.BannerMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.BlockDataMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.BlockStateMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.BookMeta.Generation.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.BookMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.CrossbowMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.Damageable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.EnchantmentStorageMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.FireworkEffectMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.FireworkMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.ItemMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.KnowledgeBookMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.LeatherArmorMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.MapMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.PotionMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.Repairable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.SkullMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.SpawnEggMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.TropicalFishBucketMeta.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.CustomItemTagContainer.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.ItemTagAdapterContext.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.ItemTagType.PrimitiveTagType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.ItemTagType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.loot.LootContext.Builder.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.loot.LootContext.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.loot.LootTable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.loot.LootTables.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.loot.Lootable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.map.MapCanvas.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.map.MapCursor.Type.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.map.MapCursor.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.map.MapCursorCollection.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.map.MapFont.CharacterSprite.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.map.MapFont.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.map.MapPalette.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.map.MapRenderer.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.map.MapView.Scale.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.map.MapView.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.map.MinecraftFont.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Attachable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Banner.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Bed.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Button.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Cake.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Cauldron.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Chest.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Coal.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.CocoaPlant.CocoaPlantSize.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.CocoaPlant.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Colorable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Command.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Comparator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Crops.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.DetectorRail.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Diode.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Directional.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.DirectionalContainer.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Dispenser.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Door.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Dye.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.EnderChest.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.ExtendedRails.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.FlowerPot.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Furnace.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.FurnaceAndDispenser.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Gate.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Hopper.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Ladder.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Leaves.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Lever.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.LongGrass.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.MaterialData.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.MonsterEggs.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Mushroom.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.NetherWarts.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Observer.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Openable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.PistonBaseMaterial.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.PistonExtensionMaterial.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.PoweredRail.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.PressurePlate.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.PressureSensor.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Pumpkin.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Rails.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Redstone.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.RedstoneTorch.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.RedstoneWire.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Sandstone.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Sapling.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Sign.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.SimpleAttachableMaterialData.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Skull.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.SmoothBrick.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.SpawnEgg.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Stairs.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Step.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.TexturedMaterial.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Torch.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.TrapDoor.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Tree.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Tripwire.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.TripwireHook.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Vine.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Wood.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.WoodenStep.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.Wool.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.material.types.MushroomBlockTexture.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.metadata.FixedMetadataValue.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.metadata.LazyMetadataValue.CacheStrategy.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.metadata.LazyMetadataValue.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.metadata.MetadataConversionException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.metadata.MetadataEvaluationException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.metadata.MetadataStore.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.metadata.MetadataStoreBase.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.metadata.MetadataValue.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.metadata.MetadataValueAdapter.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.metadata.Metadatable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.permissions.Permissible.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.permissions.PermissibleBase.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.permissions.Permission.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.permissions.PermissionAttachment.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.permissions.PermissionAttachmentInfo.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.permissions.PermissionDefault.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.permissions.PermissionRemovedExecutor.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.permissions.ServerOperator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataAdapterContext.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataContainer.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataHolder.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataType.PrimitivePersistentDataType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.AuthorNagException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.EventExecutor.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.IllegalPluginAccessException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.InvalidDescriptionException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.InvalidPluginException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.Plugin.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.PluginAwareness.Flags.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.PluginAwareness.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.PluginBase.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.PluginDescriptionFile.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.PluginLoadOrder.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.PluginLoader.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.PluginLogger.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.PluginManager.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.RegisteredListener.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.RegisteredServiceProvider.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.ServicePriority.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.ServicesManager.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.SimplePluginManager.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.SimpleServicesManager.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.TimedRegisteredListener.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.UnknownDependencyException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.java.JavaPlugin.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.java.JavaPluginLoader.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.messaging.ChannelNameTooLongException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.messaging.ChannelNotRegisteredException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.messaging.MessageTooLargeException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.messaging.Messenger.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginChannelDirection.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginMessageListener.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginMessageListenerRegistration.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginMessageRecipient.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.messaging.ReservedChannelException.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.plugin.messaging.StandardMessenger.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.potion.Potion.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.potion.PotionBrewer.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.potion.PotionData.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.potion.PotionEffect.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.potion.PotionEffectType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.potion.PotionEffectTypeWrapper.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.potion.PotionType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.projectiles.BlockProjectileSource.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.projectiles.ProjectileSource.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scheduler.BukkitRunnable.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scheduler.BukkitScheduler.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scheduler.BukkitTask.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scheduler.BukkitWorker.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scoreboard.Criterias.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scoreboard.DisplaySlot.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scoreboard.NameTagVisibility.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scoreboard.Objective.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scoreboard.RenderType.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scoreboard.Score.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scoreboard.Scoreboard.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scoreboard.ScoreboardManager.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scoreboard.Team.Option.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scoreboard.Team.OptionStatus.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.scoreboard.Team.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.BlockIterator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.BlockVector.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.BoundingBox.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.CachedServerIcon.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.ChatPaginator.ChatPage.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.ChatPaginator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.Consumer.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.EulerAngle.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.FileUtil.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.NumberConversions.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.RayTraceResult.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.StringUtil.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.Vector.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.io.BukkitObjectInputStream.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.io.BukkitObjectOutputStream.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.noise.NoiseGenerator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.noise.OctaveGenerator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.noise.PerlinNoiseGenerator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.noise.PerlinOctaveGenerator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.noise.SimplexNoiseGenerator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.noise.SimplexOctaveGenerator.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.permissions.BroadcastPermissions.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.permissions.CommandPermissions.ts delete mode 100644 packages/bukkit/src/typings/org.bukkit.util.permissions.DefaultPermissions.ts delete mode 100644 packages/sponge/src/typings/index.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.CatalogType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.CatalogTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.Game.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.GameDictionary.Entry.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.GameDictionary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.GameRegistry.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.GameState.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.MinecraftVersion.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.Nameable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.Platform.Component.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.Platform.Type.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.Platform.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.Server.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.Sponge.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.Advancement.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.Advancement.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementProgress.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementTree.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementTree.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.DisplayInfo.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.DisplayInfo.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.Progressable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.TreeLayout.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.TreeLayoutElement.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AdvancementCriterion.BaseBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AdvancementCriterion.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AdvancementCriterion.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AndCriterion.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.CriterionProgress.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.OperatorCriterion.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.OrCriterion.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.ScoreCriterionProgress.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTriggerConfiguration.Empty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTriggerConfiguration.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.Trigger.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.Triggers.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.asset.Asset.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.asset.AssetId.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.asset.AssetManager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.BlockSnapshot.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.BlockSnapshot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.BlockSoundGroup.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.BlockState.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.BlockState.MatcherBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.BlockState.StateMatcher.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.BlockState.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.BlockType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.BlockTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.ScheduledBlockUpdate.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Banner.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Bed.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.CommandBlock.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Comparator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.DaylightDetector.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EnchantmentTable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EndGateway.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EndPortal.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EnderChest.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.FlowerPot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Jukebox.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.MobSpawner.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Note.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Piston.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Sign.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Skull.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Structure.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntity.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityArchetype.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Beacon.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.BrewingStand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Chest.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Dispenser.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Dropper.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Furnace.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Hopper.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.ShulkerBox.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.trait.BlockTrait.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.trait.BooleanTrait.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.trait.BooleanTraits.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.trait.EnumTrait.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.trait.EnumTraits.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.trait.IntegerTrait.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.block.trait.IntegerTraits.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.boss.BossBar.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.boss.BossBarColor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.boss.BossBarColors.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.boss.BossBarOverlay.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.boss.BossBarOverlays.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.boss.ServerBossBar.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.boss.ServerBossBar.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.CommandCallable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.CommandException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.CommandManager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.CommandMapping.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.CommandMessageFormatting.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.CommandNotFoundException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.CommandPermissionException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.CommandResult.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.CommandResult.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.CommandSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.ImmutableCommandMapping.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.InvocationCommandException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.ArgumentParseException.WithUsage.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.ArgumentParseException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.ChildCommandElementExecutor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.CommandArgs.Snapshot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.CommandArgs.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.CommandContext.Snapshot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.CommandContext.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.CommandElement.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.CommandFlags.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.CommandFlags.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.GenericArguments.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.PatternMatchingCommandElement.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.SelectorCommandElement.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.parsing.InputTokenizer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.args.parsing.SingleArg.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.dispatcher.Disambiguator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.dispatcher.Dispatcher.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.dispatcher.SimpleDispatcher.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.source.CommandBlockSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.source.ConsoleSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.source.ProxySource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.source.RconSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.source.RemoteSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.source.SignSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.spec.CommandExecutor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.spec.CommandSpec.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.command.spec.CommandSpec.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.config.ConfigDir.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.config.ConfigManager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.config.ConfigRoot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.config.DefaultConfig.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.Archetype.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataAlreadyRegisteredException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataContainer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataHolder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataManager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataQuery.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataRegistration.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataRegistration.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataRegistrationNotFoundException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataSerializable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataTransactionResult.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataTransactionResult.Type.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataTransactionResult.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataView.SafetyMode.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.DataView.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.ImmutableDataBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.ImmutableDataHolder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.LocatableSnapshot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.MemoryDataContainer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.MemoryDataView.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.Property.Operator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.Property.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.Queries.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.Transaction.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.key.Key.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.key.Key.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.key.KeyFactory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.key.Keys.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.DataManipulator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.DataManipulatorBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.ImmutableDataManipulator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.ImmutableDataManipulatorBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogBlockData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogEntityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogItemData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogTileEntityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableDisplayNameData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableDyeableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableFireworkEffectData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableFireworkRocketData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableListData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableMappedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableMobSpawnerData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutablePotionTypeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableRepresentedItemData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableRepresentedPlayerData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableRotationalData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableSkullData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableTargetedLocationData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableWetData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableAttachedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableAxisData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableBigMushroomData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableBrickData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableComparatorData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableConnectedDirectionData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDecayableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDelayableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDirectionalData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDirtData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDisarmedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDisguisedBlockData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDoublePlantData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDropData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableExtendedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableFilledData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableFluidLevelData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableGrowthData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableHingeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableInWallData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableLayeredData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableLogAxisData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableMoistureData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableOccupiedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableOpenData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePistonData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePlantData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePortionData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePoweredData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePrismarineData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableQuartzData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableRailDirectionData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableRedstonePoweredData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSandData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSandstoneData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSeamlessData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableShrubData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSlabData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSnowedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableStairShapeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableStoneData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableTreeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableWallData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableWireAttachmentData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableBooleanData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableBoundedComparableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableListData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableMappedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleCatalogData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleEnumData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAbsorptionData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAccelerationData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableActiveItemData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAffectsSpawningData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAgeableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAgentData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAggressiveData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAngerableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAreaEffectCloudData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableArmorStandData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableArtData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableBodyPartRotationalData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableBreathingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableBreedableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableCareerData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableChargedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableCriticalHitData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableCustomNameVisibleData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDamageableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDamagingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDespawnDelayData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDisabledSlotsData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDominantHandData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableElytraFlyingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExpOrbData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExperienceHolderData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExpirableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExplosionRadiusData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFallDistanceData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFallingBlockData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFlammableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFlyingAbilityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFlyingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFoodData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFuseData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGameModeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGlowingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGravityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGriefingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableHealthData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableHealthScalingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableHorseData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableIgniteableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableInvisibilityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableInvulnerabilityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableJohnnyData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableJoinData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableKnockbackData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableLeashData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableMinecartBlockData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableMovementSpeedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableOcelotData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableParrotData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePassengerData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePersistingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePickupDelayData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePickupRuleData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePigSaddleData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePlayerCreatedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePlayingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableRabbitData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableRespawnLocation.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableScreamingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableShatteringData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableShearedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSilentData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSittingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSizeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSkinData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSleepingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSlimeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSneakingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSprintData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableStatisticData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableStuckArrowsData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTameableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTargetedEntityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTradeOfferData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVehicleData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVelocityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableAuthorData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableBlockItemData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableCoalData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableCookedFishData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableDurabilityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableEnchantmentData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableFishData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableGenerationData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableGoldenAppleData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableHideData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableInventoryItemData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableLoreData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableMapItemData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutablePagedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlaceableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlainPagedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableSpawnableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableStoredEnchantmentData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBannerData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBeaconData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBrewingStandData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableCooldownData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableEndGatewayData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableFurnaceData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableLockableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableNoteData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableSignData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableStructureData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.ColoredData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.CommandData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.DisplayNameData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.DyeableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.FireworkEffectData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.FireworkRocketData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.ListData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.MappedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.MobSpawnerData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.PotionEffectData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.PotionTypeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.RepresentedItemData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.RepresentedPlayerData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.RotationalData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.SkullData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.TargetedLocationData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.VariantData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.WetData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.AttachedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.AxisData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.BigMushroomData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.BrickData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ComparatorData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ConnectedDirectionData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DecayableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DelayableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DirectionalData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DirtData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DisarmedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DisguisedBlockData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DoublePlantData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DropData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ExtendedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.FilledData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.FluidLevelData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.GrowthData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.HingeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.InWallData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.LayeredData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.LogAxisData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.MoistureData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.OccupiedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.OpenData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PistonData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PlantData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PortionData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PoweredData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PrismarineData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.QuartzData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.RailDirectionData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.RedstonePoweredData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SandData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SandstoneData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SeamlessData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ShrubData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SlabData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SnowedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.StairShapeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.StoneData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.TreeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.WallData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.WireAttachmentData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractBooleanData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractBoundedComparableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractIntData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractListData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractMappedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleCatalogData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleEnumData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AbsorptionData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AccelerationData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ActiveItemData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AffectsSpawningData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AgeableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AgentData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AggressiveData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AngerableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AreaEffectCloudData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ArmorStandData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ArtData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.BodyPartRotationalData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.BreathingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.BreedableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.CareerData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ChargedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.CriticalHitData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.CustomNameVisibleData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DamageableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DamagingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DespawnDelayData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DisabledSlotsData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DominantHandData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ElytraFlyingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExpOrbData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExperienceHolderData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExpirableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExplosionRadiusData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FallDistanceData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FallingBlockData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FlammableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FlyingAbilityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FlyingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FoodData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FuseData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GameModeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GlowingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GravityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GriefingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.HealthData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.HealthScalingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.HorseData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.IgniteableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.InvisibilityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.InvulnerabilityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.JohnnyData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.JoinData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.KnockbackData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.LeashData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.MinecartBlockData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.MovementSpeedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.OcelotData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ParrotData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PassengerData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PersistingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PickupDelayData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PickupRuleData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PigSaddleData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PlayerCreatedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PlayingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.RabbitData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.RespawnLocationData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ScreamingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ShatteringData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ShearedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SilentData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SittingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SizeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SkinData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SleepingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SlimeData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SneakingData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SprintData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.StatisticData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.StuckArrowsData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.TameableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.TargetedEntityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.TradeOfferData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.VehicleData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.VelocityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.AuthorData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.BlockItemData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.BreakableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.CoalData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.CookedFishData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.DurabilityData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.EnchantmentData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.FishData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.GenerationData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.GoldenAppleData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.HideData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.InventoryItemData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.LoreData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.MapItemData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.PagedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.PlaceableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.PlainPagedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.SpawnableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.StoredEnchantmentData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BannerData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BeaconData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BedData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BrewingStandData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.CooldownData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.EndGatewayData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.FurnaceData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.LockableData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.NoteData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.SignData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.StructureData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.merge.MergeFunction.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.meta.PatternLayer.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.meta.PatternLayer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.persistence.AbstractDataBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataContentUpdater.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataFormat.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataFormats.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataTranslator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataTranslators.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.persistence.InvalidDataException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.persistence.InvalidDataFormatException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.persistence.StringDataFormat.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.AbstractProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.BooleanProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.DirectionRelativePropertyHolder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.DisplacementProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.DoubleProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.IntProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.LocationBasePropertyHolder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.PropertyHolder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.PropertyRegistry.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.PropertyStore.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.BlastResistanceProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.CollectiveProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.FlammableProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.FullBlockSelectionBoxProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.GravityAffectedProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.GroundLuminanceProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.HardnessProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.HeldItemProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.IndirectlyPoweredProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.InstrumentProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.LightEmissionProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.MatterProperty.Matter.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.MatterProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.PassableProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.PoweredProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.ReplaceableProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.SkyLuminanceProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.SolidCubeProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.StatisticsTrackedProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.SurrogateBlockProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.TemperatureProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.block.UnbreakableProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.entity.DominantHandProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.entity.EyeHeightProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.entity.EyeLocationProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.item.ApplicableEffectProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.item.ArmorTypeProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.item.BurningFuelProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.item.DamageAbsorptionProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.item.EfficiencyProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.item.EquipmentProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.item.FoodRestorationProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.item.HarvestingProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.item.RecordProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.item.SaturationProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.item.SmeltableProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.item.ToolTypeProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.property.item.UseLimitProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.ArmorType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.ArmorTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.Art.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.Arts.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.BannerPatternShape.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.BannerPatternShapes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.BigMushroomType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.BigMushroomTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.BodyPart.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.BodyParts.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.BrickType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.BrickTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.Career.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.Careers.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.CoalType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.CoalTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.ComparatorType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.ComparatorTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.CookedFish.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.CookedFishes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.DirtType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.DirtTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.DisguisedBlockType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.DisguisedBlockTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.DoublePlantType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.DoublePlantTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.DyeColor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.DyeColors.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.Fish.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.Fishes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.GoldenApple.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.GoldenApples.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.HandPreference.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.HandPreferences.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.HandType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.HandTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.Hinge.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.Hinges.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.HorseColor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.HorseColors.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.HorseStyle.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.HorseStyles.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.InstrumentType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.InstrumentTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.LlamaVariant.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.LlamaVariants.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.LogAxes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.LogAxis.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.NotePitch.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.NotePitches.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.OcelotType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.OcelotTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.ParrotVariant.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.ParrotVariants.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.PickupRule.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.PickupRules.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.PistonType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.PistonTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.PlantType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.PlantTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.PortionType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.PortionTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.PrismarineType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.PrismarineTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.Profession.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.Professions.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.QuartzType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.QuartzTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.RabbitType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.RabbitTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.RailDirection.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.RailDirections.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.SandType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.SandTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.SandstoneType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.SandstoneTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.ShrubType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.ShrubTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.SkinPart.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.SkinParts.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.SkullType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.SkullTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.SlabType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.SlabTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.StairShape.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.StairShapes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.StoneType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.StoneTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.StructureMode.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.StructureModes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.ToolType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.ToolTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.TreeType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.TreeTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.WallType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.WallTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.WireAttachmentType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.type.WireAttachmentTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.BaseValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.BoundedValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.ValueContainer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.ValueFactory.BoundedValueBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.ValueFactory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableBoundedValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableCollectionValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableListValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableMapValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableOptionalValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutablePatternListValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableSetValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableValueStore.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableWeightedCollectionValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.CollectionValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.CompositeValueStore.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.ListValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.MapValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.MutableBoundedValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.OptionalValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.PatternListValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.SetValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.Value.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.WeightedCollectionValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.Viewer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleEffect.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleEffect.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleOption.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleOptions.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffect.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffect.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffectType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffectTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.sound.PitchModulation.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundCategories.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundCategory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundType.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.sound.record.RecordType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.effect.sound.record.RecordTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.AreaEffectCloud.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ArmorEquipable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.EnderCrystal.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.Entity.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.EntityArchetype.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.EntityArchetype.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.EntitySnapshot.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.EntitySnapshot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.EntityType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.EntityTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.Equipable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ExperienceOrb.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.FallingBlock.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.Item.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ShulkerBullet.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.Tamer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.Transform.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.Goal.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.GoalType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.GoalTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITask.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITaskBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITaskType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITaskTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AbstractAITask.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.LookIdleAITask.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.LookIdleAITask.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.SwimmingAITask.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.SwimmingAITask.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AttackLivingAITask.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AttackLivingAITask.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.WanderAITask.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.WanderAITask.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.horse.RunAroundLikeCrazyAITask.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.horse.RunAroundLikeCrazyAITask.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.explosive.Explosive.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.explosive.FusedExplosive.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.explosive.PrimedTNT.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.hanging.Hanging.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.hanging.ItemFrame.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.hanging.LeashHitch.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.hanging.Painting.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Aerial.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Ageable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Agent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Ambient.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Aquatic.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.ArmorStand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Bat.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Creature.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Hostile.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Human.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Humanoid.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Living.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Ranger.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Squid.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.Villager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Animal.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Chicken.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Cow.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Donkey.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Horse.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Llama.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Mooshroom.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Mule.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Ocelot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Parrot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Pig.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.PolarBear.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Rabbit.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.RideableHorse.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Sheep.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.SkeletonHorse.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Wolf.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.ZombieHorse.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.ComplexLiving.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.ComplexLivingPart.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.EnderDragon.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.EnderDragonPart.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhase.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseManager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.Golem.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.IronGolem.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.Shulker.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.SnowGolem.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Blaze.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Boss.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.CaveSpider.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Creeper.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Enderman.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Endermite.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Evoker.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Ghast.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Giant.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Guardian.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Husk.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Illusioner.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.MagmaCube.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Monster.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Silverfish.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Skeleton.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Slime.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Spider.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Stray.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Vex.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Vindicator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.WhiteSkeleton.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Witch.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Wither.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.WitherSkeleton.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Zombie.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.ZombiePigman.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.ZombieVillager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.player.CooldownTracker.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.player.Player.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.player.User.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.player.gamemode.GameMode.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.player.gamemode.GameModes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.player.tab.TabList.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.player.tab.TabListEntry.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.living.player.tab.TabListEntry.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.DamagingProjectile.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Egg.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.EnderPearl.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.EntityTargetingProjectile.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.EyeOfEnder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Firework.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.FishHook.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.LlamaSpit.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Projectile.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.ProjectileLauncher.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Snowball.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.ThrownExpBottle.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.ThrownPotion.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.arrow.Arrow.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.arrow.SpectralArrow.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.arrow.TippedArrow.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.DragonFireball.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.WitherSkull.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.fireball.Fireball.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.fireball.LargeFireball.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.fireball.SmallFireball.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.source.BlockProjectileSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.source.ProjectileSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.projectile.source.UnknownProjectileSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.Boat.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.ChestMinecart.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.CommandBlockMinecart.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.ContainerMinecart.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.FurnaceMinecart.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.HopperMinecart.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.Minecart.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.MobSpawnerMinecart.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.RideableMinecart.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.TNTMinecart.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.weather.Lightning.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.entity.weather.WeatherEffect.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.Cancellable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.CauseStackManager.StackFrame.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.CauseStackManager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.Event.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.EventListener.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.EventManager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.GenericEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.Listener.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.Order.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.TristateResult.Result.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.TristateResult.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.CollideEvent.Impact.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.CollideEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.HookEntity.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.Start.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.Stop.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.InteractEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.Post.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.Strike.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Finish.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Post.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Tick.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementEvent.Grant.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementEvent.Revoke.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementTreeEvent.GenerateLayout.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementTreeEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Grant.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Revoke.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.Change.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.Grant.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.Revoke.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Trigger.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Break.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Decay.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Grow.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Modify.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Place.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Post.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.CollideBlockEvent.Impact.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.CollideBlockEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Primary.MainHand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Primary.OffHand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Primary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Secondary.MainHand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Secondary.OffHand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Secondary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.NotifyNeighborBlockEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.TargetBlockEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.TickBlockEvent.Random.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.TickBlockEvent.Scheduled.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.TickBlockEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Finish.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Interrupt.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Start.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Tick.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.ChangeSignEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.ConsumeFuel.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Finish.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Interrupt.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Start.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Tick.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.TargetTileEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.Cause.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.Cause.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContext.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContext.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContextKey.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContextKey.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContextKeys.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.ModifierFunction.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageFunction.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifier.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifierType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifierTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSource.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSources.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.EntityDamageSourceBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.FallingBlockDamageSource.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.FallingBlockDamageSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.AbstractBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractDamageSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractDamageSourceBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractEntityDamageSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractIndirectEntityDamageSource.AbstractIndirectEntityDamageSourceBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractIndirectEntityDamageSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.dismount.DismountType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.dismount.DismountTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealingType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealingTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthFunction.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifier.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifierType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifierTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.BlockHealingSource.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.BlockHealingSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.EntityHealingSourceBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSource.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSources.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.IndirectEntityHealingSourceBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractEntityHealingSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractEntityHealingSourceBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractHealingSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractHealingSourceBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractIndirectEntityHealingSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.spawn.SpawnType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.spawn.SpawnTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.teleport.TeleportType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.teleport.TeleportTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.command.SendCommandEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.command.TabCompleteEvent.Chat.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.command.TabCompleteEvent.Command.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.command.TabCompleteEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.data.ChangeDataHolderEvent.ValueChange.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.data.ChangeDataHolderEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.economy.EconomyTransactionEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.AffectEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.AttackEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.Breed.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.FindMate.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.ReadyToMate.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.Break.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetHumanoid.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetLiving.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetPlayer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityExperienceEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.Expire.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.Gain.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.Remove.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.CollideEntityEvent.Impact.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.CollideEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ConstructEntityEvent.Post.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ConstructEntityEvent.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ConstructEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.DamageEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.DestructEntityEvent.Death.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.DestructEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ExpireEntityEvent.TargetItem.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ExpireEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.TargetHumanoid.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.TargetLiving.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.TargetPlayer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.HealEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.IgniteEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Primary.MainHand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Primary.OffHand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Primary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Secondary.MainHand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Secondary.OffHand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Secondary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.LeashEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.Position.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.Teleport.Portal.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.Teleport.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.RideEntityEvent.Dismount.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.RideEntityEvent.Mount.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.RideEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.RotateEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.ChunkLoad.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.Custom.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.Spawner.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.TameEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.TargetEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.UnleashEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.AITaskEvent.Add.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.AITaskEvent.Remove.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.AITaskEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.SetAITargetEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent.Post.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DetonateExplosiveEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent.Post.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.TargetExplosiveEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.TargetFusedExplosiveEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.item.ItemMergeItemEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.item.TargetItemEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.TargetAgentEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.TargetLivingEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.AnimateHandEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeGameModeEvent.TargetPlayer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeGameModeEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeLevelEvent.TargetPlayer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeLevelEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.HandInteractEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.TargetHumanoidEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent.End.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent.Set.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.KickPlayerEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.PlayerChangeClientSettingsEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ResourcePackStatus.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.RespawnPlayerEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.projectile.LaunchProjectileEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.entity.projectile.TargetProjectileEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.filter.Getter.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.filter.IsCancelled.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.After.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.All.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.Before.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.ContextValue.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.First.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.Last.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.Root.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.filter.data.Has.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.filter.data.Supports.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.filter.type.Exclude.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.filter.type.Include.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.GameRegistryEvent.Register.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.GameRegistryEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.GameReloadEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameAboutToStartServerEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameConstructionEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameInitializationEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameLoadCompleteEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.state.GamePostInitializationEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.state.GamePreInitializationEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStartedServerEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStartingServerEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStateEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppedEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppedServerEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppingEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppingServerEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractAITaskEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractAffectEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractAttackEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractChangeEntityEquipmentEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractDamageEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractGameRegistryRegisterEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractHealEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractMessageEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractModifierEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractSpawnEntityEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractValueChangeEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.AffectItemStackEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.AffectSlotEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Equipment.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Held.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Pickup.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Pickup.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.SwapHand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Transfer.Post.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Transfer.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Transfer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Creative.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Double.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.Middle.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.Primary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.Secondary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Full.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.Creative.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.Primary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.Secondary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Single.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Middle.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.NumberPress.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Primary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe.All.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe.Single.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Secondary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift.Primary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift.Secondary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.CraftItemEvent.Craft.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.CraftItemEvent.Preview.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.CraftItemEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Close.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Custom.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Destruct.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Dispense.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.CalculateEnchantment.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.CalculateLevelRequirement.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.Post.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractInventoryEvent.Close.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractInventoryEvent.Open.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractInventoryEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary.MainHand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary.OffHand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary.MainHand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary.OffHand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.TargetContainerEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.TargetInventoryEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UpdateAnvilEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Finish.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Replace.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Reset.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Start.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Stop.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Tick.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.message.MessageChannelEvent.Chat.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.message.MessageChannelEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.DefaultBodyApplier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.DefaultHeaderApplier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.MessageFormatter.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.BanIpEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.ChannelRegistrationEvent.Register.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.ChannelRegistrationEvent.Unregister.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.ChannelRegistrationEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Auth.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Disconnect.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Join.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Login.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.PardonIpEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.Connect.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.Disconnect.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.Login.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.server.ClientPingServerEvent.Response.Players.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.server.ClientPingServerEvent.Response.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.server.ClientPingServerEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.server.query.QueryServerEvent.Basic.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.server.query.QueryServerEvent.Full.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.server.query.QueryServerEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.service.ChangeServiceProviderEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.AtEntity.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Broadcast.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Record.Start.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Record.Stop.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Record.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.statistic.ChangeStatisticEvent.TargetPlayer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.statistic.ChangeStatisticEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.user.BanUserEvent.TargetPlayer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.user.BanUserEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.user.PardonUserEvent.TargetPlayer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.user.PardonUserEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.user.TargetUserEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldBorderEvent.TargetPlayer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldBorderEvent.TargetWorld.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldBorderEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldGameRuleEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldWeatherEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Cancelled.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Complete.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Post.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ConstructPortalEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ConstructWorldPropertiesEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.Detonate.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.Post.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.GenerateChunkEvent.Post.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.GenerateChunkEvent.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.GenerateChunkEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.LoadWorldEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.SaveWorldEvent.Post.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.SaveWorldEvent.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.SaveWorldEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.TargetWorldEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.UnloadWorldEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.ForcedChunkEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.LoadChunkEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.Populate.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.Post.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.Pre.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.TargetChunkEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.UnforcedChunkEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.UnloadChunkEvent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStack.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStack.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStackSnapshot.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStackSnapshot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.immutable.ImmutableFluidItemData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.immutable.ImmutableFluidTankData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.mutable.FluidItemData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.mutable.FluidTankData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.property.FluidTemperatureProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.property.FluidViscosityProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.modifier.empty.VoidWorldGeneratorModifier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsBiomeGenerator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsGrassPopulator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsGroundCoverPopulator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsTerrainGenerator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsWorldGeneratorModifier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.FireworkEffect.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.FireworkEffect.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.FireworkShape.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.FireworkShapes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.ItemType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.ItemTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.enchantment.Enchantment.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.enchantment.Enchantment.RandomListBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.enchantment.Enchantment.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.enchantment.EnchantmentType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.enchantment.EnchantmentTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.AnvilCost.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.BlockCarrier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.Carrier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.Container.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.EmptyInventory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.Inventory.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.Inventory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryArchetype.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryArchetype.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryArchetypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryTransformation.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryTransformation.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryTransformations.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStack.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStack.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackBuilderPopulators.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackComparators.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackGenerator.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackGenerator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackSnapshot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.MultiBlockCarrier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.SingleBlockCarrier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.Slot.Type.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.Slot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.crafting.CraftingGridInventory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.crafting.CraftingInventory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.crafting.CraftingOutput.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.Hotbar.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.MainPlayerInventory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.PlayerInventory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.UserInventory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.EquipmentInventory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.EquipmentType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.EquipmentTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.HeldEquipmentType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.WornEquipmentType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.AbstractInventoryProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.AcceptsItems.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.ArmorSlotType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.EquipmentSlotType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.GuiId.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.GuiIdProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.GuiIds.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.Identifiable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.IntProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.InventoryCapacity.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.InventoryDimension.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.InventoryTitle.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.MappedIntProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.SlotIndex.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.SlotPos.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.SlotSide.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.StringProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.query.QueryOperation.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.query.QueryOperationType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.query.QueryOperationTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.EquipmentSlot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.FilteringSlot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.FuelSlot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.InputSlot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.OutputSlot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.SidedSlot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Type.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.SlotTransaction.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.CarriedInventory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.GridInventory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.Interactable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.Inventory2D.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.InventoryColumn.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.InventoryRow.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.OrderedInventory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.PersistentInventory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.TileEntityInventory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.merchant.Merchant.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOffer.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOffer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOfferGenerator.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOfferGenerator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOfferListMutator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.merchant.VillagerRegistry.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.potion.PotionType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.potion.PotionTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.Recipe.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.RecipeRegistry.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingRecipe.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingRecipeRegistry.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingRecipes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingResult.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.Ingredient.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.Ingredient.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.AisleStep.ResultStep.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.AisleStep.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.EndStep.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.ResultStep.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.RowsStep.ResultStep.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.RowsStep.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.EndStep.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.ResultStep.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.EndStep.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.ResultStep.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipeRegistry.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingResult.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.ChannelBinding.IndexedMessageChannel.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.ChannelBinding.RawDataChannel.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.ChannelBinding.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.ChannelBuf.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.ChannelId.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.ChannelRegistrar.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.ChannelRegistrationException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.Message.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.MessageHandler.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.PlayerConnection.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.RawDataListener.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.RemoteConnection.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.status.Favicon.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.status.StatusClient.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.status.StatusResponse.Players.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.network.status.StatusResponse.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.plugin.Dependency.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.plugin.Plugin.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.plugin.PluginContainer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.plugin.PluginManager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.profile.GameProfile.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.profile.GameProfileCache.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.profile.GameProfileManager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.profile.ProfileNotFoundException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.profile.property.ProfileProperty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.AdditionalCatalogRegistryModule.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.AlternateCatalogRegistryModule.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.CatalogRegistryModule.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.CatalogTypeAlreadyRegisteredException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.ExtraClassCatalogRegistryModule.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.FactoryRegistry.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.RegistrationPhase.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.RegistryException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.RegistryModule.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.RegistryModuleAlreadyRegisteredException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.util.AdditionalRegistration.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.util.CustomCatalogRegistration.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.util.DelayedRegistration.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.util.OverrideRegistration.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.util.PluginProvidedRegistryModule.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.util.RegisterCatalog.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.registry.util.RegistrationDependency.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.resourcepack.ResourcePack.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.resourcepack.ResourcePackFactory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.resourcepack.ResourcePacks.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scheduler.AsynchronousExecutor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scheduler.Scheduler.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scheduler.SpongeExecutorService.SpongeFuture.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scheduler.SpongeExecutorService.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scheduler.SynchronousExecutor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scheduler.Task.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scheduler.Task.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.CollisionRule.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.CollisionRules.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.Score.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.Scoreboard.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.Scoreboard.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.Team.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.Team.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.TeamMember.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.Visibilities.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.Visibility.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.critieria.Criteria.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.critieria.Criterion.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.displayslot.DisplaySlot.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.displayslot.DisplaySlot.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.displayslot.DisplaySlots.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.Objective.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.Objective.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayMode.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayModes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.ProviderRegistration.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.ProvisioningException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.ServiceManager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.SimpleServiceManager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.ban.BanService.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.context.Context.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.context.ContextCalculator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.context.ContextSource.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.context.Contextual.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.context.ContextualService.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.economy.Currency.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.economy.EconomyService.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.economy.account.Account.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.economy.account.UniqueAccount.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.economy.account.VirtualAccount.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.ResultType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransactionResult.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransactionType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransactionTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransferResult.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.pagination.PaginationList.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.pagination.PaginationList.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.pagination.PaginationService.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.permission.MemorySubjectData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.permission.NodeTree.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.permission.PermissionDescription.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.permission.PermissionDescription.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.permission.PermissionService.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.permission.Subject.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.permission.SubjectCollection.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.permission.SubjectData.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.permission.SubjectReference.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.rcon.RconService.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.sql.SqlService.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.user.UserStorageService.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.service.whitelist.WhitelistService.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.statistic.BlockStatistic.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.statistic.EntityStatistic.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.statistic.ItemStatistic.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.statistic.Statistic.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.statistic.StatisticType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.statistic.StatisticTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.statistic.Statistics.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.BookView.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.BookView.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.LiteralText.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.LiteralText.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.ScoreText.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.ScoreText.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.SelectorText.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.SelectorText.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.Text.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.Text.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.TextElement.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.TextRepresentable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.TextTemplate.Arg.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.TextTemplate.Arg.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.TextTemplate.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.TextTemplateArgumentException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.TranslatableText.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.TranslatableText.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.ChangePage.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.ExecuteCallback.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.OpenUrl.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.RunCommand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.SuggestCommand.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowEntity.Ref.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowEntity.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowItem.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowText.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.ShiftClickAction.InsertText.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.ShiftClickAction.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.TextAction.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.action.TextActions.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.channel.AbstractMutableMessageChannel.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.channel.ChatTypeMessageReceiver.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.channel.MessageChannel.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.channel.MessageReceiver.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.channel.MutableMessageChannel.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.channel.impl.DelegateMessageChannel.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.channel.impl.DelegateMutableMessageChannel.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.channel.impl.SimpleMutableMessageChannel.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.channel.type.CombinedMessageChannel.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.channel.type.FixedMessageChannel.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.channel.type.PermissionMessageChannel.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.channel.type.WorldMessageChannel.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatVisibilities.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatVisibility.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.format.TextColor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.format.TextColors.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.format.TextFormat.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.format.TextStyle.Base.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.format.TextStyle.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.format.TextStyles.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.selector.Argument.Invertible.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.selector.Argument.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentHolder.Limit.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentHolder.Vector3.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentHolder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentType.Invertible.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.selector.Selector.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.selector.Selector.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.selector.SelectorFactory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.selector.SelectorType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.selector.SelectorTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.serializer.BookViewDataBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.serializer.FormattingCodeTextSerializer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.serializer.SafeTextSerializer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextConfigSerializer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextFormatConfigSerializer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextParseException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextSerializer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextSerializerFactory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextSerializers.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextTemplateConfigSerializer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.title.Title.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.title.Title.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.transform.DynamicPartitionedTextFormatter.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.transform.FixedPartitionedTextFormatter.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.transform.PartitionedTextFormatter.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.transform.SimpleTextFormatter.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.transform.SimpleTextTemplateApplier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.transform.TextFormatter.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.transform.TextTemplateApplier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.translation.FixedTranslation.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.translation.ResourceBundleTranslation.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.translation.Translatable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.translation.Translation.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.translation.locale.Locales.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.text.translation.locale.NamedLocales.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.AABB.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.Axis.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.AxisDirection.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.CatalogBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.Coerce.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.CollectionUtils.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.Color.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.Color.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.Cycleable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.Direction.Division.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.Direction.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.DiscreteTransform2.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.DiscreteTransform3.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.Functional.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.GuavaCollectors.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.Identifiable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.InformativeMain.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.OptBool.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.PEBKACException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.PositionOutOfBoundsException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.RelativePositions.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.ResettableBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.RespawnLocation.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.RespawnLocation.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.SpongeApiTranslationHelper.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.StartsWithPredicate.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.TextMessageException.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.Tristate.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.Tuple.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.TypeTokens.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.Updater.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.annotation.CatalogedBy.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.annotation.NonnullByDefault.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.AbsoluteSortPosition.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.FactoryMethod.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.GenerateFactoryMethod.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.ImplementedBy.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.PropertySettings.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.TransformResult.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.TransformWith.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.UseField.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.Ip.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.Profile.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.ban.BanType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.ban.BanTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.blockray.BlockRay.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.blockray.BlockRayHit.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.file.CopyFileVisitor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.file.DeleteFileVisitor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.file.ForwardingFileVisitor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.generator.GeneratorUtils.LocalClassLoader.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.generator.GeneratorUtils.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.generator.dummy.DummyClassGenerator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.generator.dummy.DummyClassGeneratorProvider.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.generator.dummy.DummyObjectProvider.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.metric.MetricsConfigManager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.rotation.Rotation.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.rotation.Rotations.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.ChanceTable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.EmptyObject.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.LootTable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.NestedTableEntry.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.RandomObjectTable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.SeededVariableAmount.WrappedVariableAmount.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.SeededVariableAmount.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.TableEntry.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.UnmodifiableWeightedTable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.BaseAndAddition.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.BaseAndVariance.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.Fixed.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.OptionalAmount.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.WeightedObject.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.WeightedSerializableObject.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.util.weighted.WeightedTable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.BlockChangeFlag.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.BlockChangeFlags.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.Chunk.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.ChunkPreGenerate.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.ChunkPreGenerate.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.ChunkRegenerateFlag.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.ChunkRegenerateFlags.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.ChunkState.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.Callback.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.EntityLoadingTicket.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.LoadingTicket.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.OrderedCallback.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.PlayerEntityLoadingTicket.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.PlayerLoadingTicket.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.PlayerOrderedCallback.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.Dimension.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.DimensionType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.DimensionTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.GeneratorType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.GeneratorTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.Locatable.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.LocatableBlock.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.LocatableBlock.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.Location.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.PortalAgent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.PortalAgentType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.PortalAgentTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.SerializationBehavior.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.SerializationBehaviors.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.TeleportHelper.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.World.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.WorldArchetype.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.WorldArchetype.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.WorldArchetypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.WorldBorder.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.WorldBorder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeGenerationSettings.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeGenerationSettings.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.biome.GroundCoverLayer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.biome.VirtualBiomeType.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.biome.VirtualBiomeType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.difficulty.Difficulties.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.difficulty.Difficulty.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.explosion.Explosion.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.explosion.Explosion.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.ArchetypeVolume.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.BiomeVolume.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.BlockVolume.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.EntityUniverse.EntityHit.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.EntityUniverse.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.Extent.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.ExtentBufferFactory.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.ImmutableBiomeVolume.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.ImmutableBlockVolume.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.InteractableVolume.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.LocationCompositeValueStore.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.MutableBiomeVolume.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.MutableBlockVolume.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.StorageType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.TileEntityVolume.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.UnmodifiableBiomeVolume.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.UnmodifiableBlockVolume.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.BiomeVolumeWorker.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.BlockVolumeWorker.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.MutableBiomeVolumeWorker.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.MutableBlockVolumeWorker.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeFiller.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeMapper.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeMerger.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeReducer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeVisitor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeFiller.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeMapper.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeMerger.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeReducer.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeVisitor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gamerule.DefaultGameRules.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.BiomeGenerator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.GenerationPopulator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.Populator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorObject.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorObjects.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.WorldGenerator.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.WorldGeneratorModifier.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.WorldGeneratorModifiers.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BigMushroom.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BigMushroom.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BlockBlob.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BlockBlob.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Cactus.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Cactus.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.ChorusFlower.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.ChorusFlower.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DeadBush.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DeadBush.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DesertWell.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DesertWell.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DoublePlant.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DoublePlant.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Dungeon.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Dungeon.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.EndIsland.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.EndIsland.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Flower.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Flower.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Forest.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Forest.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Fossil.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Fossil.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Glowstone.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Glowstone.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IcePath.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IcePath.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IceSpike.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IceSpike.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Lake.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Lake.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Melon.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Melon.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Mushroom.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Mushroom.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.NetherFire.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.NetherFire.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Ore.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Ore.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Pumpkin.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Pumpkin.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomBlock.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomBlock.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomObject.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomObject.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Reed.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Reed.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.SeaFloor.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.SeaFloor.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Shrub.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Shrub.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Vine.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Vine.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.WaterLily.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.WaterLily.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.type.BiomeTreeType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.type.BiomeTreeTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.type.MushroomType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.gen.type.MushroomTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.schematic.BlockPalette.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.schematic.BlockPaletteType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.schematic.BlockPaletteTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.schematic.Palette.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.schematic.PaletteType.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.schematic.PaletteTypes.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.schematic.Schematic.Builder.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.schematic.Schematic.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.storage.ChunkDataStream.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.storage.ChunkLayout.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.storage.WorldProperties.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.storage.WorldStorage.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.teleport.TeleportHelperFilter.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.teleport.TeleportHelperFilters.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.weather.Weather.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.weather.WeatherUniverse.ts delete mode 100644 packages/sponge/src/typings/org.spongepowered.api.world.weather.Weathers.ts diff --git a/packages/bukkit/package.json b/packages/bukkit/package.json index 8b362ed1..56f92b3e 100644 --- a/packages/bukkit/package.json +++ b/packages/bukkit/package.json @@ -29,6 +29,7 @@ "dependencies": { "@ms/api": "^0.1.1", "@ms/common": "^0.1.0", - "@ms/container": "^0.1.0" + "@ms/container": "^0.1.0", + "@ms/types": "^0.1.1" } } diff --git a/packages/bukkit/src/index.ts b/packages/bukkit/src/index.ts index 84f29f25..75e0e8fe 100644 --- a/packages/bukkit/src/index.ts +++ b/packages/bukkit/src/index.ts @@ -1,4 +1,4 @@ -/// +/// import { server, plugin, command, event, task } from '@ms/api' import { DefaultContainer as container } from '@ms/container' diff --git a/packages/bukkit/src/typings/index.ts b/packages/bukkit/src/typings/index.ts deleted file mode 100644 index 9d413ff4..00000000 --- a/packages/bukkit/src/typings/index.ts +++ /dev/null @@ -1,958 +0,0 @@ -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// diff --git a/packages/bukkit/src/typings/org.bukkit.Achievement.ts b/packages/bukkit/src/typings/org.bukkit.Achievement.ts deleted file mode 100644 index c7ada65b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Achievement.ts +++ /dev/null @@ -1,51 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Achievement { - public static OPEN_INVENTORY: org.bukkit.Achievement; - public static MINE_WOOD: org.bukkit.Achievement; - public static BUILD_WORKBENCH: org.bukkit.Achievement; - public static BUILD_PICKAXE: org.bukkit.Achievement; - public static BUILD_FURNACE: org.bukkit.Achievement; - public static ACQUIRE_IRON: org.bukkit.Achievement; - public static BUILD_HOE: org.bukkit.Achievement; - public static MAKE_BREAD: org.bukkit.Achievement; - public static BAKE_CAKE: org.bukkit.Achievement; - public static BUILD_BETTER_PICKAXE: org.bukkit.Achievement; - public static COOK_FISH: org.bukkit.Achievement; - public static ON_A_RAIL: org.bukkit.Achievement; - public static BUILD_SWORD: org.bukkit.Achievement; - public static KILL_ENEMY: org.bukkit.Achievement; - public static KILL_COW: org.bukkit.Achievement; - public static FLY_PIG: org.bukkit.Achievement; - public static SNIPE_SKELETON: org.bukkit.Achievement; - public static GET_DIAMONDS: org.bukkit.Achievement; - public static NETHER_PORTAL: org.bukkit.Achievement; - public static GHAST_RETURN: org.bukkit.Achievement; - public static GET_BLAZE_ROD: org.bukkit.Achievement; - public static BREW_POTION: org.bukkit.Achievement; - public static END_PORTAL: org.bukkit.Achievement; - public static THE_END: org.bukkit.Achievement; - public static ENCHANTMENTS: org.bukkit.Achievement; - public static OVERKILL: org.bukkit.Achievement; - public static BOOKCASE: org.bukkit.Achievement; - public static EXPLORE_ALL_BIOMES: org.bukkit.Achievement; - public static SPAWN_WITHER: org.bukkit.Achievement; - public static KILL_WITHER: org.bukkit.Achievement; - public static FULL_BEACON: org.bukkit.Achievement; - public static BREED_COW: org.bukkit.Achievement; - public static DIAMONDS_TO_YOU: org.bukkit.Achievement; - public static OVERPOWERED: org.bukkit.Achievement; - public static values(): org.bukkit.Achievement[]; - public static valueOf(name: string): org.bukkit.Achievement; - /** - * Returns whether or not this achievement has a parent achievement. - */ - public hasParent(): boolean; - /** - * Returns the parent achievement of this achievement, or null if none. - */ - public getParent(): org.bukkit.Achievement; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Art.ts b/packages/bukkit/src/typings/org.bukkit.Art.ts deleted file mode 100644 index dc1c5100..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Art.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Art implements org.bukkit.Keyed { - public static KEBAB: org.bukkit.Art; - public static AZTEC: org.bukkit.Art; - public static ALBAN: org.bukkit.Art; - public static AZTEC2: org.bukkit.Art; - public static BOMB: org.bukkit.Art; - public static PLANT: org.bukkit.Art; - public static WASTELAND: org.bukkit.Art; - public static POOL: org.bukkit.Art; - public static COURBET: org.bukkit.Art; - public static SEA: org.bukkit.Art; - public static SUNSET: org.bukkit.Art; - public static CREEBET: org.bukkit.Art; - public static WANDERER: org.bukkit.Art; - public static GRAHAM: org.bukkit.Art; - public static MATCH: org.bukkit.Art; - public static BUST: org.bukkit.Art; - public static STAGE: org.bukkit.Art; - public static VOID: org.bukkit.Art; - public static SKULL_AND_ROSES: org.bukkit.Art; - public static WITHER: org.bukkit.Art; - public static FIGHTERS: org.bukkit.Art; - public static POINTER: org.bukkit.Art; - public static PIGSCENE: org.bukkit.Art; - public static BURNING_SKULL: org.bukkit.Art; - public static SKELETON: org.bukkit.Art; - public static DONKEY_KONG: org.bukkit.Art; - public static values(): org.bukkit.Art[]; - public static valueOf(name: string): org.bukkit.Art; - /** - * Gets the width of the painting, in blocks - */ - public getBlockWidth(): number; - /** - * Gets the height of the painting, in blocks - */ - public getBlockHeight(): number; - /** - * Get the ID of this painting. - */ - public getId(): number; - public getKey(): org.bukkit.NamespacedKey; - /** - * Get a painting by its numeric ID - */ - public static getById(id: number): org.bukkit.Art; - /** - * Get a painting by its unique name - *

- * This ignores underscores and capitalization - */ - public static getByName(name: string): org.bukkit.Art; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Axis.ts b/packages/bukkit/src/typings/org.bukkit.Axis.ts deleted file mode 100644 index b9332c64..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Axis.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Axis { - public static X: org.bukkit.Axis; - public static Y: org.bukkit.Axis; - public static Z: org.bukkit.Axis; - public static values(): org.bukkit.Axis[]; - public static valueOf(name: string): org.bukkit.Axis; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.BanEntry.ts b/packages/bukkit/src/typings/org.bukkit.BanEntry.ts deleted file mode 100644 index abe7633d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.BanEntry.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface BanEntry { - /** - * Gets the target involved. This may be in the form of an IP or a player - * name. - */ - getTarget(): string; - /** - * Gets the date this ban entry was created. - */ - getCreated(): any /*java.util.Date*/; - /** - * Sets the date this ban entry was created. - */ - setCreated(created: any /*java.util.Date*/): void; - /** - * Gets the source of this ban. - *

- * Note: A source is considered any String, although this is generally a - * player name. - */ - getSource(): string; - /** - * Sets the source of this ban. - *

- * Note: A source is considered any String, although this is generally a - * player name. - */ - setSource(source: string): void; - /** - * Gets the date this ban expires on, or null for no defined end date. - */ - getExpiration(): any /*java.util.Date*/; - /** - * Sets the date this ban expires on. Null values are considered - * "infinite" bans. - */ - setExpiration(expiration: any /*java.util.Date*/): void; - /** - * Gets the reason for this ban. - */ - getReason(): string; - /** - * Sets the reason for this ban. Reasons must not be null. - */ - setReason(reason: string): void; - /** - * Saves the ban entry, overwriting any previous data in the ban list. - *

- * Saving the ban entry of an unbanned player will cause the player to be - * banned once again. - */ - save(): void; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.BanList.Type.ts b/packages/bukkit/src/typings/org.bukkit.BanList.Type.ts deleted file mode 100644 index 8d508846..00000000 --- a/packages/bukkit/src/typings/org.bukkit.BanList.Type.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace BanList { - // @ts-ignore - class Type { - public static NAME: org.bukkit.BanList.Type; - public static IP: org.bukkit.BanList.Type; - public static values(): org.bukkit.BanList.Type[]; - public static valueOf(name: string): org.bukkit.BanList.Type; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.BanList.ts b/packages/bukkit/src/typings/org.bukkit.BanList.ts deleted file mode 100644 index bedd04f5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.BanList.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface BanList { - /** - * Gets a {@link BanEntry} by target. - */ - getBanEntry(target: string): org.bukkit.BanEntry; - /** - * Adds a ban to the this list. If a previous ban exists, this will - * update the previous entry. - */ - addBan(target: string, reason: string, expires: any /*java.util.Date*/, source: string): org.bukkit.BanEntry; - /** - * Gets a set containing every {@link BanEntry} in this list. - */ - getBanEntries(): any[] /*java.util.Set*/; - /** - * Gets if a {@link BanEntry} exists for the target, indicating an active - * ban status. - */ - isBanned(target: string): boolean; - /** - * Removes the specified target from this list, therefore indicating a - * "not banned" status. - */ - pardon(target: string): void; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.BlockChangeDelegate.ts b/packages/bukkit/src/typings/org.bukkit.BlockChangeDelegate.ts deleted file mode 100644 index 0c8f824e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.BlockChangeDelegate.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface BlockChangeDelegate { - /** - * Set a block data at the specified coordinates. - */ - setBlockData(x: number, y: number, z: number, blockData: org.bukkit.block.data.BlockData): boolean; - /** - * Get the block data at the location. - */ - getBlockData(x: number, y: number, z: number): org.bukkit.block.data.BlockData; - /** - * Gets the height of the world. - */ - getHeight(): number; - /** - * Checks if the specified block is empty (air) or not. - */ - isEmpty(x: number, y: number, z: number): boolean; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Bukkit.ts b/packages/bukkit/src/typings/org.bukkit.Bukkit.ts deleted file mode 100644 index b4dbe3c9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Bukkit.ts +++ /dev/null @@ -1,658 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Bukkit { - /** - * Gets the current {@link Server} singleton - */ - public static getServer(): org.bukkit.Server; - /** - * Attempts to set the {@link Server} singleton. - *

- * This cannot be done if the Server is already set. - */ - public static setServer(server: org.bukkit.Server): void; - /** - * Gets the name of this server implementation. - */ - public static getName(): string; - /** - * Gets the version string of this server implementation. - */ - public static getVersion(): string; - /** - * Gets the Bukkit version that this server is running. - */ - public static getBukkitVersion(): string; - /** - * Gets a view of all currently logged in players. This {@linkplain - * Collections#unmodifiableCollection(Collection) view} is a reused - * object, making some operations like {@link Collection#size()} - * zero-allocation. - *

- * The collection is a view backed by the internal representation, such - * that, changes to the internal state of the server will be reflected - * immediately. However, the reuse of the returned collection (identity) - * is not strictly guaranteed for future or all implementations. Casting - * the collection, or relying on interface implementations (like {@link - * Serializable} or {@link List}), is deprecated. - *

- * Iteration behavior is undefined outside of self-contained main-thread - * uses. Normal and immediate iterator use without consequences that - * affect the collection are fully supported. The effects following - * (non-exhaustive) {@link Entity#teleport(Location) teleportation}, - * {@link Player#setHealth(double) death}, and {@link Player#kickPlayer( - * String) kicking} are undefined. Any use of this collection from - * asynchronous threads is unsafe. - *

- * For safe consequential iteration or mimicking the old array behavior, - * using {@link Collection#toArray(Object[])} is recommended. For making - * snapshots, {@link ImmutableList#copyOf(Collection)} is recommended. - */ - public static getOnlinePlayers(): any[] /*java.util.Collection*/; - /** - * Get the maximum amount of players which can login to this server. - */ - public static getMaxPlayers(): number; - /** - * Get the game port that the server runs on. - */ - public static getPort(): number; - /** - * Get the view distance from this server. - */ - public static getViewDistance(): number; - /** - * Get the IP that this server is bound to, or empty string if not - * specified. - */ - public static getIp(): string; - /** - * Get world type (level-type setting) for default world. - */ - public static getWorldType(): string; - /** - * Get generate-structures setting. - */ - public static getGenerateStructures(): boolean; - /** - * Gets whether this server allows the End or not. - */ - public static getAllowEnd(): boolean; - /** - * Gets whether this server allows the Nether or not. - */ - public static getAllowNether(): boolean; - /** - * Gets whether this server has a whitelist or not. - */ - public static hasWhitelist(): boolean; - /** - * Sets if the server is whitelisted. - */ - public static setWhitelist(value: boolean): void; - /** - * Gets a list of whitelisted players. - */ - public static getWhitelistedPlayers(): any[] /*java.util.Set*/; - /** - * Reloads the whitelist from disk. - */ - public static reloadWhitelist(): void; - /** - * Broadcast a message to all players. - *

- * This is the same as calling {@link #broadcast(java.lang.String, - * java.lang.String)} to {@link Server#BROADCAST_CHANNEL_USERS} - */ - public static broadcastMessage(message: string): number; - /** - * Gets the name of the update folder. The update folder is used to safely - * update plugins at the right moment on a plugin load. - *

- * The update folder name is relative to the plugins folder. - */ - public static getUpdateFolder(): string; - /** - * Gets the update folder. The update folder is used to safely update - * plugins at the right moment on a plugin load. - */ - public static getUpdateFolderFile(): any; - /** - * Gets the value of the connection throttle setting. - */ - public static getConnectionThrottle(): number; - /** - * Gets default ticks per animal spawns value. - *

- * Example Usage: - *

    - *
  • A value of 1 will mean the server will attempt to spawn monsters - * every tick. - *
  • A value of 400 will mean the server will attempt to spawn monsters - * every 400th tick. - *
  • A value below 0 will be reset back to Minecraft's default. - *
- *

- * Note: If set to 0, animal spawning will be disabled. We - * recommend using spawn-animals to control this instead. - *

- * Minecraft default: 400. - */ - public static getTicksPerAnimalSpawns(): number; - /** - * Gets the default ticks per monster spawns value. - *

- * Example Usage: - *

    - *
  • A value of 1 will mean the server will attempt to spawn monsters - * every tick. - *
  • A value of 400 will mean the server will attempt to spawn monsters - * every 400th tick. - *
  • A value below 0 will be reset back to Minecraft's default. - *
- *

- * Note: If set to 0, monsters spawning will be disabled. We - * recommend using spawn-monsters to control this instead. - *

- * Minecraft default: 1. - */ - public static getTicksPerMonsterSpawns(): number; - /** - * Gets a player object by the given username. - *

- * This method may not return objects for offline players. - */ - public static getPlayer(name: string): org.bukkit.entity.Player; - /** - * Gets the player with the exact given name, case insensitive. - */ - public static getPlayerExact(name: string): org.bukkit.entity.Player; - /** - * Attempts to match any players with the given name, and returns a list - * of all possibly matches. - *

- * This list is not sorted in any particular order. If an exact match is - * found, the returned list will only contain a single result. - */ - public static matchPlayer(name: string): any[] /*java.util.List*/; - /** - * Gets the player with the given UUID. - */ - public static getPlayer(id: any): org.bukkit.entity.Player; - /** - * Gets the plugin manager for interfacing with plugins. - */ - public static getPluginManager(): org.bukkit.plugin.PluginManager; - /** - * Gets the scheduler for managing scheduled events. - */ - public static getScheduler(): org.bukkit.scheduler.BukkitScheduler; - /** - * Gets a services manager. - */ - public static getServicesManager(): org.bukkit.plugin.ServicesManager; - /** - * Gets a list of all worlds on this server. - */ - public static getWorlds(): any[] /*java.util.List*/; - /** - * Creates or loads a world with the given name using the specified - * options. - *

- * If the world is already loaded, it will just return the equivalent of - * getWorld(creator.name()). - */ - public static createWorld(creator: org.bukkit.WorldCreator): org.bukkit.World; - /** - * Unloads a world with the given name. - */ - public static unloadWorld(name: string, save: boolean): boolean; - /** - * Unloads the given world. - */ - public static unloadWorld(world: org.bukkit.World, save: boolean): boolean; - /** - * Gets the world with the given name. - */ - public static getWorld(name: string): org.bukkit.World; - /** - * Gets the world from the given Unique ID. - */ - public static getWorld(uid: any): org.bukkit.World; - /** - * Gets the map from the given item ID. - */ - public static getMap(id: number): org.bukkit.map.MapView; - /** - * Create a new map with an automatically assigned ID. - */ - public static createMap(world: org.bukkit.World): org.bukkit.map.MapView; - /** - * Create a new explorer map targeting the closest nearby structure of a - * given {@link StructureType}. - *
- * This method uses implementation default values for radius and - * findUnexplored (usually 100, true). - */ - public static createExplorerMap(world: org.bukkit.World, location: org.bukkit.Location, structureType: org.bukkit.StructureType): org.bukkit.inventory.ItemStack; - /** - * Create a new explorer map targeting the closest nearby structure of a - * given {@link StructureType}. - *
- * This method uses implementation default values for radius and - * findUnexplored (usually 100, true). - */ - public static createExplorerMap(world: org.bukkit.World, location: org.bukkit.Location, structureType: org.bukkit.StructureType, radius: number, findUnexplored: boolean): org.bukkit.inventory.ItemStack; - /** - * Reloads the server, refreshing settings and plugin information. - */ - public static reload(): void; - /** - * Reload only the Minecraft data for the server. This includes custom - * advancements and loot tables. - */ - public static reloadData(): void; - /** - * Returns the primary logger associated with this server instance. - */ - public static getLogger(): any; - /** - * Gets a {@link PluginCommand} with the given name or alias. - */ - public static getPluginCommand(name: string): org.bukkit.command.PluginCommand; - /** - * Writes loaded players to disk. - */ - public static savePlayers(): void; - /** - * Dispatches a command on this server, and executes it if found. - */ - public static dispatchCommand(sender: org.bukkit.command.CommandSender, commandLine: string): boolean; - /** - * Adds a recipe to the crafting manager. - */ - public static addRecipe(recipe: org.bukkit.inventory.Recipe): boolean; - /** - * Get a list of all recipes for a given item. The stack size is ignored - * in comparisons. If the durability is -1, it will match any data value. - */ - public static getRecipesFor(result: org.bukkit.inventory.ItemStack): any[] /*java.util.List*/; - /** - * Get an iterator through the list of crafting recipes. - */ - public static recipeIterator(): any; - /** - * Clears the list of crafting recipes. - */ - public static clearRecipes(): void; - /** - * Resets the list of crafting recipes to the default. - */ - public static resetRecipes(): void; - /** - * Gets a list of command aliases defined in the server properties. - */ - public static getCommandAliases(): Map /*java.util.Map*/; - /** - * Gets the radius, in blocks, around each worlds spawn point to protect. - */ - public static getSpawnRadius(): number; - /** - * Sets the radius, in blocks, around each worlds spawn point to protect. - */ - public static setSpawnRadius(value: number): void; - /** - * Gets whether the Server is in online mode or not. - */ - public static getOnlineMode(): boolean; - /** - * Gets whether this server allows flying or not. - */ - public static getAllowFlight(): boolean; - /** - * Gets whether the server is in hardcore mode or not. - */ - public static isHardcore(): boolean; - /** - * Shutdowns the server, stopping everything. - */ - public static shutdown(): void; - /** - * Broadcasts the specified message to every user with the given - * permission name. - */ - public static broadcast(message: string, permission: string): number; - /** - * Gets the player by the given name, regardless if they are offline or - * online. - *

- * This method may involve a blocking web request to get the UUID for the - * given name. - *

- * This will return an object even if the player does not exist. To this - * method, all players will exist. - */ - public static getOfflinePlayer(name: string): org.bukkit.OfflinePlayer; - /** - * Gets the player by the given UUID, regardless if they are offline or - * online. - *

- * This will return an object even if the player does not exist. To this - * method, all players will exist. - */ - public static getOfflinePlayer(id: any): org.bukkit.OfflinePlayer; - /** - * Gets a set containing all current IPs that are banned. - */ - public static getIPBans(): any[] /*java.util.Set*/; - /** - * Bans the specified address from the server. - */ - public static banIP(address: string): void; - /** - * Unbans the specified address from the server. - */ - public static unbanIP(address: string): void; - /** - * Gets a set containing all banned players. - */ - public static getBannedPlayers(): any[] /*java.util.Set*/; - /** - * Gets a ban list for the supplied type. - *

- * Bans by name are no longer supported and this method will return - * null when trying to request them. The replacement is bans by UUID. - */ - public static getBanList(type: org.bukkit.BanList.Type): org.bukkit.BanList; - /** - * Gets a set containing all player operators. - */ - public static getOperators(): any[] /*java.util.Set*/; - /** - * Gets the default {@link GameMode} for new players. - */ - public static getDefaultGameMode(): org.bukkit.GameMode; - /** - * Sets the default {@link GameMode} for new players. - */ - public static setDefaultGameMode(mode: org.bukkit.GameMode): void; - /** - * Gets a {@link ConsoleCommandSender} that may be used as an input source - * for this server. - */ - public static getConsoleSender(): org.bukkit.command.ConsoleCommandSender; - /** - * Gets the folder that contains all of the various {@link World}s. - */ - public static getWorldContainer(): any; - /** - * Gets every player that has ever played on this server. - */ - public static getOfflinePlayers(): org.bukkit.OfflinePlayer[]; - /** - * Gets the {@link Messenger} responsible for this server. - */ - public static getMessenger(): org.bukkit.plugin.messaging.Messenger; - /** - * Gets the {@link HelpMap} providing help topics for this server. - */ - public static getHelpMap(): org.bukkit.help.HelpMap; - /** - * Creates an empty inventory with the specified type. If the type - * is {@link InventoryType#CHEST}, the new inventory has a size of 27; - * otherwise the new inventory has the normal size for its type. - *
- * {@link InventoryType#WORKBENCH} will not process crafting recipes if - * created with this method. Use - * {@link Player#openWorkbench(Location, boolean)} instead. - *
- * {@link InventoryType#ENCHANTING} will not process {@link ItemStack}s - * for possible enchanting results. Use - * {@link Player#openEnchanting(Location, boolean)} instead. - */ - public static createInventory(owner: org.bukkit.inventory.InventoryHolder, type: org.bukkit.event.inventory.InventoryType): org.bukkit.inventory.Inventory; - /** - * Creates an empty inventory with the specified type and title. If the type - * is {@link InventoryType#CHEST}, the new inventory has a size of 27; - * otherwise the new inventory has the normal size for its type.
- * It should be noted that some inventory types do not support titles and - * may not render with said titles on the Minecraft client. - *
- * {@link InventoryType#WORKBENCH} will not process crafting recipes if - * created with this method. Use - * {@link Player#openWorkbench(Location, boolean)} instead. - *
- * {@link InventoryType#ENCHANTING} will not process {@link ItemStack}s - * for possible enchanting results. Use - * {@link Player#openEnchanting(Location, boolean)} instead. - */ - public static createInventory(owner: org.bukkit.inventory.InventoryHolder, type: org.bukkit.event.inventory.InventoryType, title: string): org.bukkit.inventory.Inventory; - /** - * Creates an empty inventory of type {@link InventoryType#CHEST} with the - * specified size. - */ - public static createInventory(owner: org.bukkit.inventory.InventoryHolder, size: number): org.bukkit.inventory.Inventory; - /** - * Creates an empty inventory of type {@link InventoryType#CHEST} with the - * specified size and title. - */ - public static createInventory(owner: org.bukkit.inventory.InventoryHolder, size: number, title: string): org.bukkit.inventory.Inventory; - /** - * Creates an empty merchant. - */ - public static createMerchant(title: string): org.bukkit.inventory.Merchant; - /** - * Gets user-specified limit for number of monsters that can spawn in a - * chunk. - */ - public static getMonsterSpawnLimit(): number; - /** - * Gets user-specified limit for number of animals that can spawn in a - * chunk. - */ - public static getAnimalSpawnLimit(): number; - /** - * Gets user-specified limit for number of water animals that can spawn in - * a chunk. - */ - public static getWaterAnimalSpawnLimit(): number; - /** - * Gets user-specified limit for number of ambient mobs that can spawn in - * a chunk. - */ - public static getAmbientSpawnLimit(): number; - /** - * Checks the current thread against the expected primary thread for the - * server. - *

- * Note: this method should not be used to indicate the current - * synchronized state of the runtime. A current thread matching the main - * thread indicates that it is synchronized, but a mismatch does not - * preclude the same assumption. - */ - public static isPrimaryThread(): boolean; - /** - * Gets the message that is displayed on the server list. - */ - public static getMotd(): string; - /** - * Gets the default message that is displayed when the server is stopped. - */ - public static getShutdownMessage(): string; - /** - * Gets the current warning state for the server. - */ - public static getWarningState(): org.bukkit.Warning.WarningState; - /** - * Gets the instance of the item factory (for {@link ItemMeta}). - */ - public static getItemFactory(): org.bukkit.inventory.ItemFactory; - /** - * Gets the instance of the scoreboard manager. - *

- * This will only exist after the first world has loaded. - */ - public static getScoreboardManager(): org.bukkit.scoreboard.ScoreboardManager; - /** - * Gets an instance of the server's default server-icon. - */ - public static getServerIcon(): org.bukkit.util.CachedServerIcon; - /** - * Loads an image from a file, and returns a cached image for the specific - * server-icon. - *

- * Size and type are implementation defined. An incompatible file is - * guaranteed to throw an implementation-defined {@link Exception}. - */ - public static loadServerIcon(file: any): org.bukkit.util.CachedServerIcon; - /** - * Creates a cached server-icon for the specific image. - *

- * Size and type are implementation defined. An incompatible file is - * guaranteed to throw an implementation-defined {@link Exception}. - */ - public static loadServerIcon(image: any): org.bukkit.util.CachedServerIcon; - /** - * Set the idle kick timeout. Any players idle for the specified amount of - * time will be automatically kicked. - *

- * A value of 0 will disable the idle kick timeout. - */ - public static setIdleTimeout(threshold: number): void; - /** - * Gets the idle kick timeout. - */ - public static getIdleTimeout(): number; - /** - * Create a ChunkData for use in a generator. - * See {@link ChunkGenerator#generateChunkData(org.bukkit.World, java.util.Random, int, int, org.bukkit.generator.ChunkGenerator.BiomeGrid)} - */ - public static createChunkData(world: org.bukkit.World): org.bukkit.generator.ChunkGenerator.ChunkData; - /** - * Creates a boss bar instance to display to players. The progress - * defaults to 1.0 - */ - public static createBossBar(title: string, color: org.bukkit.boss.BarColor, style: org.bukkit.boss.BarStyle, flags: org.bukkit.boss.BarFlag): org.bukkit.boss.BossBar; - /** - * Creates a boss bar instance to display to players. The progress defaults - * to 1.0. - *
- * This instance is added to the persistent storage of the server and will - * be editable by commands and restored after restart. - */ - public static createBossBar(key: org.bukkit.NamespacedKey, title: string, color: org.bukkit.boss.BarColor, style: org.bukkit.boss.BarStyle, flags: org.bukkit.boss.BarFlag): org.bukkit.boss.KeyedBossBar; - /** - * Gets an unmodifiable iterator through all persistent bossbars. - *

    - *
  • not bound to a {@link org.bukkit.entity.Boss}
  • - *
  • - * not created using - * {@link #createBossBar(String, BarColor, BarStyle, BarFlag...)} - *
  • - *
- * e.g. bossbars created using the bossbar command - */ - public static getBossBars(): any; - /** - * Gets the {@link KeyedBossBar} specified by this key. - *
    - *
  • not bound to a {@link org.bukkit.entity.Boss}
  • - *
  • - * not created using - * {@link #createBossBar(String, BarColor, BarStyle, BarFlag...)} - *
  • - *
- * e.g. bossbars created using the bossbar command - */ - public static getBossBar(key: org.bukkit.NamespacedKey): org.bukkit.boss.KeyedBossBar; - /** - * Removes a {@link KeyedBossBar} specified by this key. - *
    - *
  • not bound to a {@link org.bukkit.entity.Boss}
  • - *
  • - * not created using - * {@link #createBossBar(String, BarColor, BarStyle, BarFlag...)} - *
  • - *
- * e.g. bossbars created using the bossbar command - */ - public static removeBossBar(key: org.bukkit.NamespacedKey): boolean; - /** - * Gets an entity on the server by its UUID - */ - public static getEntity(uuid: any): org.bukkit.entity.Entity; - /** - * Get the advancement specified by this key. - */ - public static getAdvancement(key: org.bukkit.NamespacedKey): org.bukkit.advancement.Advancement; - /** - * Get an iterator through all advancements. Advancements cannot be removed - * from this iterator, - */ - public static advancementIterator(): any; - /** - * Creates a new {@link BlockData} instance for the specified Material, with - * all properties initialized to unspecified defaults. - */ - public static createBlockData(material: org.bukkit.Material): org.bukkit.block.data.BlockData; - /** - * Creates a new {@link BlockData} instance for the specified Material, with - * all properties initialized to unspecified defaults. - */ - public static createBlockData(material: org.bukkit.Material, consumer: any): org.bukkit.block.data.BlockData; - /** - * Creates a new {@link BlockData} instance with material and properties - * parsed from provided data. - */ - public static createBlockData(data: string): org.bukkit.block.data.BlockData; - /** - * Creates a new {@link BlockData} instance for the specified Material, with - * all properties initialized to unspecified defaults, except for those - * provided in data. - */ - public static createBlockData(material: org.bukkit.Material, data: string): org.bukkit.block.data.BlockData; - /** - * Gets a tag which has already been defined within the server. Plugins are - * suggested to use the concrete tags in {@link Tag} rather than this method - * which makes no guarantees about which tags are available, and may also be - * less performant due to lack of caching. - *
- * Tags will be searched for in an implementation specific manner, but a - * path consisting of namespace/tags/registry/key is expected. - *
- * Server implementations are allowed to handle only the registries - * indicated in {@link Tag}. - */ - public static getTag(registry: string, tag: org.bukkit.NamespacedKey, clazz: any): org.bukkit.Tag; - /** - * Gets a all tags which have been defined within the server. - *
- * Server implementations are allowed to handle only the registries - * indicated in {@link Tag}. - *
- * No guarantees are made about the mutability of the returned iterator. - */ - public static getTags(registry: string, clazz: any): any; - /** - * Gets the specified {@link LootTable}. - */ - public static getLootTable(key: org.bukkit.NamespacedKey): org.bukkit.loot.LootTable; - /** - * Selects entities using the given Vanilla selector. - *
- * No guarantees are made about the selector format, other than they match - * the Vanilla format for the active Minecraft version. - *
- * Usually a selector will start with '@', unless selecting a Player in - * which case it may simply be the Player's name or UUID. - *
- * Note that in Vanilla, elevated permissions are usually required to use - * '@' selectors, but this method should not check such permissions from the - * sender. - */ - public static selectEntities(sender: org.bukkit.command.CommandSender, selector: string): any[] /*java.util.List*/; - public static getUnsafe(): org.bukkit.UnsafeValues; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.ChatColor.ts b/packages/bukkit/src/typings/org.bukkit.ChatColor.ts deleted file mode 100644 index 3237a2ef..00000000 --- a/packages/bukkit/src/typings/org.bukkit.ChatColor.ts +++ /dev/null @@ -1,68 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class ChatColor { - public static BLACK: org.bukkit.ChatColor; - public static DARK_BLUE: org.bukkit.ChatColor; - public static DARK_GREEN: org.bukkit.ChatColor; - public static DARK_AQUA: org.bukkit.ChatColor; - public static DARK_RED: org.bukkit.ChatColor; - public static DARK_PURPLE: org.bukkit.ChatColor; - public static GOLD: org.bukkit.ChatColor; - public static GRAY: org.bukkit.ChatColor; - public static DARK_GRAY: org.bukkit.ChatColor; - public static BLUE: org.bukkit.ChatColor; - public static GREEN: org.bukkit.ChatColor; - public static AQUA: org.bukkit.ChatColor; - public static RED: org.bukkit.ChatColor; - public static LIGHT_PURPLE: org.bukkit.ChatColor; - public static YELLOW: org.bukkit.ChatColor; - public static WHITE: org.bukkit.ChatColor; - public static MAGIC: org.bukkit.ChatColor; - public static BOLD: org.bukkit.ChatColor; - public static STRIKETHROUGH: org.bukkit.ChatColor; - public static UNDERLINE: org.bukkit.ChatColor; - public static ITALIC: org.bukkit.ChatColor; - public static RESET: org.bukkit.ChatColor; - public static COLOR_CHAR: string; - public static values(): org.bukkit.ChatColor[]; - public static valueOf(name: string): org.bukkit.ChatColor; - /** - * Gets the char value associated with this color - */ - public getChar(): string; - public toString(): string; - /** - * Checks if this code is a format code as opposed to a color code. - */ - public isFormat(): boolean; - /** - * Checks if this code is a color code as opposed to a format code. - */ - public isColor(): boolean; - /** - * Gets the color represented by the specified color code - */ - public static getByChar(code: string): org.bukkit.ChatColor; - /** - * Gets the color represented by the specified color code - */ - public static getByChar(code: string): org.bukkit.ChatColor; - /** - * Strips the given message of all color codes - */ - public static stripColor(input: string): string; - /** - * Translates a string using an alternate color code character into a - * string that uses the internal ChatColor.COLOR_CODE color code - * character. The alternate color code character will only be replaced if - * it is immediately followed by 0-9, A-F, a-f, K-O, k-o, R or r. - */ - public static translateAlternateColorCodes(altColorChar: string, textToTranslate: string): string; - /** - * Gets the ChatColors used at the end of the given input string. - */ - public static getLastColors(input: string): string; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Chunk.ts b/packages/bukkit/src/typings/org.bukkit.Chunk.ts deleted file mode 100644 index e6168ec6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Chunk.ts +++ /dev/null @@ -1,107 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface Chunk { - /** - * Gets the X-coordinate of this chunk - */ - getX(): number; - /** - * Gets the Z-coordinate of this chunk - */ - getZ(): number; - /** - * Gets the world containing this chunk - */ - getWorld(): org.bukkit.World; - /** - * Gets a block from this chunk - */ - getBlock(x: number, y: number, z: number): org.bukkit.block.Block; - /** - * Capture thread-safe read-only snapshot of chunk data - */ - getChunkSnapshot(): org.bukkit.ChunkSnapshot; - /** - * Capture thread-safe read-only snapshot of chunk data - */ - getChunkSnapshot(includeMaxblocky: boolean, includeBiome: boolean, includeBiomeTempRain: boolean): org.bukkit.ChunkSnapshot; - /** - * Get a list of all entities in the chunk. - */ - getEntities(): org.bukkit.entity.Entity[]; - /** - * Get a list of all tile entities in the chunk. - */ - getTileEntities(): org.bukkit.block.BlockState[]; - /** - * Checks if the chunk is loaded. - */ - isLoaded(): boolean; - /** - * Loads the chunk. - */ - load(generate: boolean): boolean; - /** - * Loads the chunk. - */ - load(): boolean; - /** - * Unloads and optionally saves the Chunk - */ - unload(save: boolean): boolean; - /** - * Unloads and optionally saves the Chunk - */ - unload(): boolean; - /** - * Checks if this chunk can spawn slimes without being a swamp biome. - */ - isSlimeChunk(): boolean; - /** - * Gets whether the chunk at the specified chunk coordinates is force - * loaded. - *

- * A force loaded chunk will not be unloaded due to lack of player activity. - */ - isForceLoaded(): boolean; - /** - * Sets whether the chunk at the specified chunk coordinates is force - * loaded. - *

- * A force loaded chunk will not be unloaded due to lack of player activity. - */ - setForceLoaded(forced: boolean): void; - /** - * Adds a plugin ticket for this chunk, loading this chunk if it is not - * already loaded. - *

- * A plugin ticket will prevent a chunk from unloading until it is - * explicitly removed. A plugin instance may only have one ticket per chunk, - * but each chunk can have multiple plugin tickets. - *

- */ - addPluginChunkTicket(plugin: org.bukkit.plugin.Plugin): boolean; - /** - * Removes the specified plugin's ticket for this chunk - *

- * A plugin ticket will prevent a chunk from unloading until it is - * explicitly removed. A plugin instance may only have one ticket per chunk, - * but each chunk can have multiple plugin tickets. - *

- */ - removePluginChunkTicket(plugin: org.bukkit.plugin.Plugin): boolean; - /** - * Retrieves a collection specifying which plugins have tickets for this - * chunk. This collection is not updated when plugin tickets are added or - * removed to this chunk. - *

- * A plugin ticket will prevent a chunk from unloading until it is - * explicitly removed. A plugin instance may only have one ticket per chunk, - * but each chunk can have multiple plugin tickets. - *

- */ - getPluginChunkTickets(): any[] /*java.util.Collection*/; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.ChunkSnapshot.ts b/packages/bukkit/src/typings/org.bukkit.ChunkSnapshot.ts deleted file mode 100644 index 46dd80a2..00000000 --- a/packages/bukkit/src/typings/org.bukkit.ChunkSnapshot.ts +++ /dev/null @@ -1,60 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface ChunkSnapshot { - /** - * Gets the X-coordinate of this chunk - */ - getX(): number; - /** - * Gets the Z-coordinate of this chunk - */ - getZ(): number; - /** - * Gets name of the world containing this chunk - */ - getWorldName(): string; - /** - * Get block type for block at corresponding coordinate in the chunk - */ - getBlockType(x: number, y: number, z: number): org.bukkit.Material; - /** - * Get block data for block at corresponding coordinate in the chunk - */ - getBlockData(x: number, y: number, z: number): org.bukkit.block.data.BlockData; - /** - * Get block data for block at corresponding coordinate in the chunk - */ - getData(x: number, y: number, z: number): number; - /** - * Get sky light level for block at corresponding coordinate in the chunk - */ - getBlockSkyLight(x: number, y: number, z: number): number; - /** - * Get light level emitted by block at corresponding coordinate in the - * chunk - */ - getBlockEmittedLight(x: number, y: number, z: number): number; - /** - * Gets the highest non-air coordinate at the given coordinates - */ - getHighestBlockYAt(x: number, z: number): number; - /** - * Get biome at given coordinates - */ - getBiome(x: number, z: number): org.bukkit.block.Biome; - /** - * Get raw biome temperature (0.0-1.0) at given coordinate - */ - getRawBiomeTemperature(x: number, z: number): number; - /** - * Get world full time when chunk snapshot was captured - */ - getCaptureFullTime(): number; - /** - * Test if section is empty - */ - isSectionEmpty(sy: number): boolean; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.CoalType.ts b/packages/bukkit/src/typings/org.bukkit.CoalType.ts deleted file mode 100644 index 9be4bc00..00000000 --- a/packages/bukkit/src/typings/org.bukkit.CoalType.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class CoalType { - public static COAL: org.bukkit.CoalType; - public static CHARCOAL: org.bukkit.CoalType; - public static values(): org.bukkit.CoalType[]; - public static valueOf(name: string): org.bukkit.CoalType; - /** - * Gets the associated data value representing this type of coal - */ - public getData(): number; - /** - * Gets the type of coal with the given data value - */ - public static getByData(data: number): org.bukkit.CoalType; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Color.ts b/packages/bukkit/src/typings/org.bukkit.Color.ts deleted file mode 100644 index e03b6153..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Color.ts +++ /dev/null @@ -1,83 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Color implements org.bukkit.configuration.serialization.ConfigurationSerializable { - public static WHITE: org.bukkit.Color; - public static SILVER: org.bukkit.Color; - public static GRAY: org.bukkit.Color; - public static BLACK: org.bukkit.Color; - public static RED: org.bukkit.Color; - public static MAROON: org.bukkit.Color; - public static YELLOW: org.bukkit.Color; - public static OLIVE: org.bukkit.Color; - public static LIME: org.bukkit.Color; - public static GREEN: org.bukkit.Color; - public static AQUA: org.bukkit.Color; - public static TEAL: org.bukkit.Color; - public static BLUE: org.bukkit.Color; - public static NAVY: org.bukkit.Color; - public static FUCHSIA: org.bukkit.Color; - public static PURPLE: org.bukkit.Color; - public static ORANGE: org.bukkit.Color; - /** - * Creates a new Color object from a red, green, and blue - */ - public static fromRGB(red: number, green: number, blue: number): org.bukkit.Color; - /** - * Creates a new Color object from a blue, green, and red - */ - public static fromBGR(blue: number, green: number, red: number): org.bukkit.Color; - /** - * Creates a new color object from an integer that contains the red, - * green, and blue bytes in the lowest order 24 bits. - */ - public static fromRGB(rgb: number): org.bukkit.Color; - /** - * Creates a new color object from an integer that contains the blue, - * green, and red bytes in the lowest order 24 bits. - */ - public static fromBGR(bgr: number): org.bukkit.Color; - /** - * Gets the red component - */ - public getRed(): number; - /** - * Creates a new Color object with specified component - */ - public setRed(red: number): org.bukkit.Color; - /** - * Gets the green component - */ - public getGreen(): number; - /** - * Creates a new Color object with specified component - */ - public setGreen(green: number): org.bukkit.Color; - /** - * Gets the blue component - */ - public getBlue(): number; - /** - * Creates a new Color object with specified component - */ - public setBlue(blue: number): org.bukkit.Color; - public asRGB(): number; - public asBGR(): number; - /** - * Creates a new color with its RGB components changed as if it was dyed - * with the colors passed in, replicating vanilla workbench dyeing - */ - public mixDyes(colors: org.bukkit.DyeColor): org.bukkit.Color; - /** - * Creates a new color with its RGB components changed as if it was dyed - * with the colors passed in, replicating vanilla workbench dyeing - */ - public mixColors(colors: org.bukkit.Color): org.bukkit.Color; - public equals(o: any): boolean; - public hashCode(): number; - public serialize(): Map /*java.util.Map*/; - public static deserialize(map: Map /*java.util.Map*/): org.bukkit.Color; - public toString(): string; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.CropState.ts b/packages/bukkit/src/typings/org.bukkit.CropState.ts deleted file mode 100644 index 6016d933..00000000 --- a/packages/bukkit/src/typings/org.bukkit.CropState.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class CropState { - public static SEEDED: org.bukkit.CropState; - public static GERMINATED: org.bukkit.CropState; - public static VERY_SMALL: org.bukkit.CropState; - public static SMALL: org.bukkit.CropState; - public static MEDIUM: org.bukkit.CropState; - public static TALL: org.bukkit.CropState; - public static VERY_TALL: org.bukkit.CropState; - public static RIPE: org.bukkit.CropState; - public static values(): org.bukkit.CropState[]; - public static valueOf(name: string): org.bukkit.CropState; - /** - * Gets the associated data value representing this growth state - */ - public getData(): number; - /** - * Gets the CropState with the given data value - */ - public static getByData(data: number): org.bukkit.CropState; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Difficulty.ts b/packages/bukkit/src/typings/org.bukkit.Difficulty.ts deleted file mode 100644 index 6396bdbe..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Difficulty.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Difficulty { - public static PEACEFUL: org.bukkit.Difficulty; - public static EASY: org.bukkit.Difficulty; - public static NORMAL: org.bukkit.Difficulty; - public static HARD: org.bukkit.Difficulty; - public static values(): org.bukkit.Difficulty[]; - public static valueOf(name: string): org.bukkit.Difficulty; - /** - * Gets the difficulty value associated with this Difficulty. - */ - public getValue(): number; - /** - * Gets the Difficulty represented by the specified value - */ - public static getByValue(value: number): org.bukkit.Difficulty; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.DyeColor.ts b/packages/bukkit/src/typings/org.bukkit.DyeColor.ts deleted file mode 100644 index a1c8cd8f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.DyeColor.ts +++ /dev/null @@ -1,61 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class DyeColor { - public static WHITE: org.bukkit.DyeColor; - public static ORANGE: org.bukkit.DyeColor; - public static MAGENTA: org.bukkit.DyeColor; - public static LIGHT_BLUE: org.bukkit.DyeColor; - public static YELLOW: org.bukkit.DyeColor; - public static LIME: org.bukkit.DyeColor; - public static PINK: org.bukkit.DyeColor; - public static GRAY: org.bukkit.DyeColor; - public static LIGHT_GRAY: org.bukkit.DyeColor; - public static CYAN: org.bukkit.DyeColor; - public static PURPLE: org.bukkit.DyeColor; - public static BLUE: org.bukkit.DyeColor; - public static BROWN: org.bukkit.DyeColor; - public static GREEN: org.bukkit.DyeColor; - public static RED: org.bukkit.DyeColor; - public static BLACK: org.bukkit.DyeColor; - public static values(): org.bukkit.DyeColor[]; - public static valueOf(name: string): org.bukkit.DyeColor; - /** - * Gets the associated wool data value representing this color. - */ - public getWoolData(): number; - /** - * Gets the associated dye data value representing this color. - */ - public getDyeData(): number; - /** - * Gets the color that this dye represents. - */ - public getColor(): org.bukkit.Color; - /** - * Gets the firework color that this dye represents. - */ - public getFireworkColor(): org.bukkit.Color; - /** - * Gets the DyeColor with the given wool data value. - */ - public static getByWoolData(data: number): org.bukkit.DyeColor; - /** - * Gets the DyeColor with the given dye data value. - */ - public static getByDyeData(data: number): org.bukkit.DyeColor; - /** - * Gets the DyeColor with the given color value. - */ - public static getByColor(color: org.bukkit.Color): org.bukkit.DyeColor; - /** - * Gets the DyeColor with the given firework color value. - */ - public static getByFireworkColor(color: org.bukkit.Color): org.bukkit.DyeColor; - /** - * Gets the DyeColor for the given name, possibly doing legacy transformations. - */ - public static legacyValueOf(name: string): org.bukkit.DyeColor; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Effect.Type.ts b/packages/bukkit/src/typings/org.bukkit.Effect.Type.ts deleted file mode 100644 index b5648a68..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Effect.Type.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace Effect { - // @ts-ignore - class Type { - public static SOUND: org.bukkit.Effect.Type; - public static VISUAL: org.bukkit.Effect.Type; - public static values(): org.bukkit.Effect.Type[]; - public static valueOf(name: string): org.bukkit.Effect.Type; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Effect.ts b/packages/bukkit/src/typings/org.bukkit.Effect.ts deleted file mode 100644 index c11aeed0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Effect.ts +++ /dev/null @@ -1,64 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Effect { - public static CLICK2: org.bukkit.Effect; - public static CLICK1: org.bukkit.Effect; - public static BOW_FIRE: org.bukkit.Effect; - public static DOOR_TOGGLE: org.bukkit.Effect; - public static IRON_DOOR_TOGGLE: org.bukkit.Effect; - public static TRAPDOOR_TOGGLE: org.bukkit.Effect; - public static IRON_TRAPDOOR_TOGGLE: org.bukkit.Effect; - public static FENCE_GATE_TOGGLE: org.bukkit.Effect; - public static DOOR_CLOSE: org.bukkit.Effect; - public static IRON_DOOR_CLOSE: org.bukkit.Effect; - public static TRAPDOOR_CLOSE: org.bukkit.Effect; - public static IRON_TRAPDOOR_CLOSE: org.bukkit.Effect; - public static FENCE_GATE_CLOSE: org.bukkit.Effect; - public static EXTINGUISH: org.bukkit.Effect; - public static RECORD_PLAY: org.bukkit.Effect; - public static GHAST_SHRIEK: org.bukkit.Effect; - public static GHAST_SHOOT: org.bukkit.Effect; - public static BLAZE_SHOOT: org.bukkit.Effect; - public static ZOMBIE_CHEW_WOODEN_DOOR: org.bukkit.Effect; - public static ZOMBIE_CHEW_IRON_DOOR: org.bukkit.Effect; - public static ZOMBIE_DESTROY_DOOR: org.bukkit.Effect; - public static SMOKE: org.bukkit.Effect; - public static STEP_SOUND: org.bukkit.Effect; - public static POTION_BREAK: org.bukkit.Effect; - public static ENDER_SIGNAL: org.bukkit.Effect; - public static MOBSPAWNER_FLAMES: org.bukkit.Effect; - public static BREWING_STAND_BREW: org.bukkit.Effect; - public static CHORUS_FLOWER_GROW: org.bukkit.Effect; - public static CHORUS_FLOWER_DEATH: org.bukkit.Effect; - public static PORTAL_TRAVEL: org.bukkit.Effect; - public static ENDEREYE_LAUNCH: org.bukkit.Effect; - public static FIREWORK_SHOOT: org.bukkit.Effect; - public static VILLAGER_PLANT_GROW: org.bukkit.Effect; - public static DRAGON_BREATH: org.bukkit.Effect; - public static ANVIL_BREAK: org.bukkit.Effect; - public static ANVIL_USE: org.bukkit.Effect; - public static ANVIL_LAND: org.bukkit.Effect; - public static ENDERDRAGON_SHOOT: org.bukkit.Effect; - public static WITHER_BREAK_BLOCK: org.bukkit.Effect; - public static WITHER_SHOOT: org.bukkit.Effect; - public static ZOMBIE_INFECT: org.bukkit.Effect; - public static ZOMBIE_CONVERTED_VILLAGER: org.bukkit.Effect; - public static BAT_TAKEOFF: org.bukkit.Effect; - public static END_GATEWAY_SPAWN: org.bukkit.Effect; - public static ENDERDRAGON_GROWL: org.bukkit.Effect; - public static values(): org.bukkit.Effect[]; - public static valueOf(name: string): org.bukkit.Effect; - /** - * Gets the ID for this effect. - */ - public getId(): number; - public getType(): org.bukkit.Effect.Type; - public getData(): any; - /** - * Gets the Effect associated with the given ID. - */ - public static getById(id: number): org.bukkit.Effect; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.EntityEffect.ts b/packages/bukkit/src/typings/org.bukkit.EntityEffect.ts deleted file mode 100644 index fe074925..00000000 --- a/packages/bukkit/src/typings/org.bukkit.EntityEffect.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class EntityEffect { - public static ARROW_PARTICLES: org.bukkit.EntityEffect; - public static RABBIT_JUMP: org.bukkit.EntityEffect; - public static HURT: org.bukkit.EntityEffect; - public static DEATH: org.bukkit.EntityEffect; - public static WOLF_SMOKE: org.bukkit.EntityEffect; - public static WOLF_HEARTS: org.bukkit.EntityEffect; - public static WOLF_SHAKE: org.bukkit.EntityEffect; - public static SHEEP_EAT: org.bukkit.EntityEffect; - public static IRON_GOLEM_ROSE: org.bukkit.EntityEffect; - public static VILLAGER_HEART: org.bukkit.EntityEffect; - public static VILLAGER_ANGRY: org.bukkit.EntityEffect; - public static VILLAGER_HAPPY: org.bukkit.EntityEffect; - public static WITCH_MAGIC: org.bukkit.EntityEffect; - public static ZOMBIE_TRANSFORM: org.bukkit.EntityEffect; - public static FIREWORK_EXPLODE: org.bukkit.EntityEffect; - public static LOVE_HEARTS: org.bukkit.EntityEffect; - public static SQUID_ROTATE: org.bukkit.EntityEffect; - public static ENTITY_POOF: org.bukkit.EntityEffect; - public static GUARDIAN_TARGET: org.bukkit.EntityEffect; - public static SHIELD_BLOCK: org.bukkit.EntityEffect; - public static SHIELD_BREAK: org.bukkit.EntityEffect; - public static ARMOR_STAND_HIT: org.bukkit.EntityEffect; - public static THORNS_HURT: org.bukkit.EntityEffect; - public static IRON_GOLEM_SHEATH: org.bukkit.EntityEffect; - public static TOTEM_RESURRECT: org.bukkit.EntityEffect; - public static HURT_DROWN: org.bukkit.EntityEffect; - public static HURT_EXPLOSION: org.bukkit.EntityEffect; - public static values(): org.bukkit.EntityEffect[]; - public static valueOf(name: string): org.bukkit.EntityEffect; - /** - * Gets the data value of this EntityEffect - */ - public getData(): number; - /** - * Gets entity superclass which this affect is applicable to. - */ - public getApplicable(): any; - /** - * Gets the EntityEffect with the given data value - */ - public static getByData(data: number): org.bukkit.EntityEffect; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.FireworkEffect.Builder.ts b/packages/bukkit/src/typings/org.bukkit.FireworkEffect.Builder.ts deleted file mode 100644 index 5c550d58..00000000 --- a/packages/bukkit/src/typings/org.bukkit.FireworkEffect.Builder.ts +++ /dev/null @@ -1,60 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace FireworkEffect { - // @ts-ignore - class Builder { - /** - * Specify the type of the firework effect. - */ - public with(type: org.bukkit.FireworkEffect.Type): org.bukkit.FireworkEffect.Builder; - /** - * Add a flicker to the firework effect. - */ - public withFlicker(): org.bukkit.FireworkEffect.Builder; - /** - * Set whether the firework effect should flicker. - */ - public flicker(flicker: boolean): org.bukkit.FireworkEffect.Builder; - /** - * Add a trail to the firework effect. - */ - public withTrail(): org.bukkit.FireworkEffect.Builder; - /** - * Set whether the firework effect should have a trail. - */ - public trail(trail: boolean): org.bukkit.FireworkEffect.Builder; - /** - * Add a primary color to the firework effect. - */ - public withColor(color: org.bukkit.Color): org.bukkit.FireworkEffect.Builder; - /** - * Add several primary colors to the firework effect. - */ - public withColor(colors: org.bukkit.Color): org.bukkit.FireworkEffect.Builder; - /** - * Add several primary colors to the firework effect. - */ - public withColor(colors: any): org.bukkit.FireworkEffect.Builder; - /** - * Add a fade color to the firework effect. - */ - public withFade(color: org.bukkit.Color): org.bukkit.FireworkEffect.Builder; - /** - * Add several fade colors to the firework effect. - */ - public withFade(colors: org.bukkit.Color): org.bukkit.FireworkEffect.Builder; - /** - * Add several fade colors to the firework effect. - */ - public withFade(colors: any): org.bukkit.FireworkEffect.Builder; - /** - * Create a {@link FireworkEffect} from the current contents of this - * builder. - *

- * To successfully build, you must have specified at least one color. - */ - public build(): org.bukkit.FireworkEffect; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.FireworkEffect.Type.ts b/packages/bukkit/src/typings/org.bukkit.FireworkEffect.Type.ts deleted file mode 100644 index 7d87e0c5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.FireworkEffect.Type.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace FireworkEffect { - // @ts-ignore - class Type { - public static BALL: org.bukkit.FireworkEffect.Type; - public static BALL_LARGE: org.bukkit.FireworkEffect.Type; - public static STAR: org.bukkit.FireworkEffect.Type; - public static BURST: org.bukkit.FireworkEffect.Type; - public static CREEPER: org.bukkit.FireworkEffect.Type; - public static values(): org.bukkit.FireworkEffect.Type[]; - public static valueOf(name: string): org.bukkit.FireworkEffect.Type; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.FireworkEffect.ts b/packages/bukkit/src/typings/org.bukkit.FireworkEffect.ts deleted file mode 100644 index c8bf9369..00000000 --- a/packages/bukkit/src/typings/org.bukkit.FireworkEffect.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class FireworkEffect implements org.bukkit.configuration.serialization.ConfigurationSerializable { - /** - * Construct a firework effect. - */ - public static builder(): org.bukkit.FireworkEffect.Builder; - /** - * Get whether the firework effect flickers. - */ - public hasFlicker(): boolean; - /** - * Get whether the firework effect has a trail. - */ - public hasTrail(): boolean; - /** - * Get the primary colors of the firework effect. - */ - public getColors(): any[] /*java.util.List*/; - /** - * Get the fade colors of the firework effect. - */ - public getFadeColors(): any[] /*java.util.List*/; - /** - * Get the type of the firework effect. - */ - public getType(): org.bukkit.FireworkEffect.Type; - public static deserialize(map: Map /*java.util.Map*/): org.bukkit.configuration.serialization.ConfigurationSerializable; - public serialize(): Map /*java.util.Map*/; - public toString(): string; - public hashCode(): number; - public equals(obj: any): boolean; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.FluidCollisionMode.ts b/packages/bukkit/src/typings/org.bukkit.FluidCollisionMode.ts deleted file mode 100644 index 5b858ac8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.FluidCollisionMode.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class FluidCollisionMode { - public static NEVER: org.bukkit.FluidCollisionMode; - public static SOURCE_ONLY: org.bukkit.FluidCollisionMode; - public static ALWAYS: org.bukkit.FluidCollisionMode; - public static values(): org.bukkit.FluidCollisionMode[]; - public static valueOf(name: string): org.bukkit.FluidCollisionMode; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.GameMode.ts b/packages/bukkit/src/typings/org.bukkit.GameMode.ts deleted file mode 100644 index 48c07893..00000000 --- a/packages/bukkit/src/typings/org.bukkit.GameMode.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class GameMode { - public static CREATIVE: org.bukkit.GameMode; - public static SURVIVAL: org.bukkit.GameMode; - public static ADVENTURE: org.bukkit.GameMode; - public static SPECTATOR: org.bukkit.GameMode; - public static values(): org.bukkit.GameMode[]; - public static valueOf(name: string): org.bukkit.GameMode; - /** - * Gets the mode value associated with this GameMode - */ - public getValue(): number; - /** - * Gets the GameMode represented by the specified value - */ - public static getByValue(value: number): org.bukkit.GameMode; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.GameRule.ts b/packages/bukkit/src/typings/org.bukkit.GameRule.ts deleted file mode 100644 index 2aed0399..00000000 --- a/packages/bukkit/src/typings/org.bukkit.GameRule.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class GameRule { - public static ANNOUNCE_ADVANCEMENTS: org.bukkit.GameRule; - public static COMMAND_BLOCK_OUTPUT: org.bukkit.GameRule; - public static DISABLE_ELYTRA_MOVEMENT_CHECK: org.bukkit.GameRule; - public static DO_DAYLIGHT_CYCLE: org.bukkit.GameRule; - public static DO_ENTITY_DROPS: org.bukkit.GameRule; - public static DO_FIRE_TICK: org.bukkit.GameRule; - public static DO_LIMITED_CRAFTING: org.bukkit.GameRule; - public static DO_MOB_LOOT: org.bukkit.GameRule; - public static DO_MOB_SPAWNING: org.bukkit.GameRule; - public static DO_TILE_DROPS: org.bukkit.GameRule; - public static DO_WEATHER_CYCLE: org.bukkit.GameRule; - public static KEEP_INVENTORY: org.bukkit.GameRule; - public static LOG_ADMIN_COMMANDS: org.bukkit.GameRule; - public static MOB_GRIEFING: org.bukkit.GameRule; - public static NATURAL_REGENERATION: org.bukkit.GameRule; - public static REDUCED_DEBUG_INFO: org.bukkit.GameRule; - public static SEND_COMMAND_FEEDBACK: org.bukkit.GameRule; - public static SHOW_DEATH_MESSAGES: org.bukkit.GameRule; - public static SPECTATORS_GENERATE_CHUNKS: org.bukkit.GameRule; - public static DISABLE_RAIDS: org.bukkit.GameRule; - public static RANDOM_TICK_SPEED: org.bukkit.GameRule; - public static SPAWN_RADIUS: org.bukkit.GameRule; - public static MAX_ENTITY_CRAMMING: org.bukkit.GameRule; - public static MAX_COMMAND_CHAIN_LENGTH: org.bukkit.GameRule; - /** - * Get the name of this GameRule. - */ - public getName(): string; - /** - * Get the type of this rule. - */ - public getType(): any; - public equals(obj: any): boolean; - public toString(): string; - /** - * Get a {@link GameRule} by its name. - */ - public static getByName(rule: string): org.bukkit.GameRule; - /** - * Get an immutable collection of {@link GameRule}s. - */ - public static values(): org.bukkit.GameRule[]; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.GrassSpecies.ts b/packages/bukkit/src/typings/org.bukkit.GrassSpecies.ts deleted file mode 100644 index 59259292..00000000 --- a/packages/bukkit/src/typings/org.bukkit.GrassSpecies.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class GrassSpecies { - public static DEAD: org.bukkit.GrassSpecies; - public static NORMAL: org.bukkit.GrassSpecies; - public static FERN_LIKE: org.bukkit.GrassSpecies; - public static values(): org.bukkit.GrassSpecies[]; - public static valueOf(name: string): org.bukkit.GrassSpecies; - /** - * Gets the associated data value representing this species - */ - public getData(): number; - /** - * Gets the GrassSpecies with the given data value - */ - public static getByData(data: number): org.bukkit.GrassSpecies; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Instrument.ts b/packages/bukkit/src/typings/org.bukkit.Instrument.ts deleted file mode 100644 index bb2746e2..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Instrument.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Instrument { - public static PIANO: org.bukkit.Instrument; - public static BASS_DRUM: org.bukkit.Instrument; - public static SNARE_DRUM: org.bukkit.Instrument; - public static STICKS: org.bukkit.Instrument; - public static BASS_GUITAR: org.bukkit.Instrument; - public static FLUTE: org.bukkit.Instrument; - public static BELL: org.bukkit.Instrument; - public static GUITAR: org.bukkit.Instrument; - public static CHIME: org.bukkit.Instrument; - public static XYLOPHONE: org.bukkit.Instrument; - public static IRON_XYLOPHONE: org.bukkit.Instrument; - public static COW_BELL: org.bukkit.Instrument; - public static DIDGERIDOO: org.bukkit.Instrument; - public static BIT: org.bukkit.Instrument; - public static BANJO: org.bukkit.Instrument; - public static PLING: org.bukkit.Instrument; - public static values(): org.bukkit.Instrument[]; - public static valueOf(name: string): org.bukkit.Instrument; - public getType(): number; - /** - * Get an instrument by its type ID. - */ - public static getByType(type: number): org.bukkit.Instrument; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Keyed.ts b/packages/bukkit/src/typings/org.bukkit.Keyed.ts deleted file mode 100644 index edb11918..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Keyed.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface Keyed { - /** - * Return the namespaced identifier for this object. - */ - getKey(): org.bukkit.NamespacedKey; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Location.ts b/packages/bukkit/src/typings/org.bukkit.Location.ts deleted file mode 100644 index 6aba07f1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Location.ts +++ /dev/null @@ -1,224 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Location implements org.bukkit.configuration.serialization.ConfigurationSerializable { - /** - * Constructs a new Location with the given coordinates - */ - constructor(world: org.bukkit.World, x: number, y: number, z: number) - /** - * Constructs a new Location with the given coordinates and direction - */ - constructor(world: org.bukkit.World, x: number, y: number, z: number, yaw: number, pitch: number) - /** - * Sets the world that this location resides in - */ - public setWorld(world: org.bukkit.World): void; - /** - * Checks if world in this location is present and loaded. - */ - public isWorldLoaded(): boolean; - /** - * Gets the world that this location resides in - */ - public getWorld(): org.bukkit.World; - /** - * Gets the chunk at the represented location - */ - public getChunk(): org.bukkit.Chunk; - /** - * Gets the block at the represented location - */ - public getBlock(): org.bukkit.block.Block; - /** - * Sets the x-coordinate of this location - */ - public setX(x: number): void; - /** - * Gets the x-coordinate of this location - */ - public getX(): number; - /** - * Gets the floored value of the X component, indicating the block that - * this location is contained with. - */ - public getBlockX(): number; - /** - * Sets the y-coordinate of this location - */ - public setY(y: number): void; - /** - * Gets the y-coordinate of this location - */ - public getY(): number; - /** - * Gets the floored value of the Y component, indicating the block that - * this location is contained with. - */ - public getBlockY(): number; - /** - * Sets the z-coordinate of this location - */ - public setZ(z: number): void; - /** - * Gets the z-coordinate of this location - */ - public getZ(): number; - /** - * Gets the floored value of the Z component, indicating the block that - * this location is contained with. - */ - public getBlockZ(): number; - /** - * Sets the yaw of this location, measured in degrees. - *

    - *
  • A yaw of 0 or 360 represents the positive z direction. - *
  • A yaw of 180 represents the negative z direction. - *
  • A yaw of 90 represents the negative x direction. - *
  • A yaw of 270 represents the positive x direction. - *
- * Increasing yaw values are the equivalent of turning to your - * right-facing, increasing the scale of the next respective axis, and - * decreasing the scale of the previous axis. - */ - public setYaw(yaw: number): void; - /** - * Gets the yaw of this location, measured in degrees. - *
    - *
  • A yaw of 0 or 360 represents the positive z direction. - *
  • A yaw of 180 represents the negative z direction. - *
  • A yaw of 90 represents the negative x direction. - *
  • A yaw of 270 represents the positive x direction. - *
- * Increasing yaw values are the equivalent of turning to your - * right-facing, increasing the scale of the next respective axis, and - * decreasing the scale of the previous axis. - */ - public getYaw(): number; - /** - * Sets the pitch of this location, measured in degrees. - *
    - *
  • A pitch of 0 represents level forward facing. - *
  • A pitch of 90 represents downward facing, or negative y - * direction. - *
  • A pitch of -90 represents upward facing, or positive y direction. - *
- * Increasing pitch values the equivalent of looking down. - */ - public setPitch(pitch: number): void; - /** - * Gets the pitch of this location, measured in degrees. - *
    - *
  • A pitch of 0 represents level forward facing. - *
  • A pitch of 90 represents downward facing, or negative y - * direction. - *
  • A pitch of -90 represents upward facing, or positive y direction. - *
- * Increasing pitch values the equivalent of looking down. - */ - public getPitch(): number; - /** - * Gets a unit-vector pointing in the direction that this Location is - * facing. - */ - public getDirection(): org.bukkit.util.Vector; - /** - * Sets the {@link #getYaw() yaw} and {@link #getPitch() pitch} to point - * in the direction of the vector. - */ - public setDirection(vector: org.bukkit.util.Vector): org.bukkit.Location; - /** - * Adds the location by another. - */ - public add(vec: org.bukkit.Location): org.bukkit.Location; - /** - * Adds the location by a vector. - */ - public add(vec: org.bukkit.util.Vector): org.bukkit.Location; - /** - * Adds the location by another. Not world-aware. - */ - public add(x: number, y: number, z: number): org.bukkit.Location; - /** - * Subtracts the location by another. - */ - public subtract(vec: org.bukkit.Location): org.bukkit.Location; - /** - * Subtracts the location by a vector. - */ - public subtract(vec: org.bukkit.util.Vector): org.bukkit.Location; - /** - * Subtracts the location by another. Not world-aware and - * orientation independent. - */ - public subtract(x: number, y: number, z: number): org.bukkit.Location; - /** - * Gets the magnitude of the location, defined as sqrt(x^2+y^2+z^2). The - * value of this method is not cached and uses a costly square-root - * function, so do not repeatedly call this method to get the location's - * magnitude. NaN will be returned if the inner result of the sqrt() - * function overflows, which will be caused if the length is too long. Not - * world-aware and orientation independent. - */ - public length(): number; - /** - * Gets the magnitude of the location squared. Not world-aware and - * orientation independent. - */ - public lengthSquared(): number; - /** - * Get the distance between this location and another. The value of this - * method is not cached and uses a costly square-root function, so do not - * repeatedly call this method to get the location's magnitude. NaN will - * be returned if the inner result of the sqrt() function overflows, which - * will be caused if the distance is too long. - */ - public distance(o: org.bukkit.Location): number; - /** - * Get the squared distance between this location and another. - */ - public distanceSquared(o: org.bukkit.Location): number; - /** - * Performs scalar multiplication, multiplying all components with a - * scalar. Not world-aware. - */ - public multiply(m: number): org.bukkit.Location; - /** - * Zero this location's components. Not world-aware. - */ - public zero(): org.bukkit.Location; - public equals(obj: any): boolean; - public hashCode(): number; - public toString(): string; - /** - * Constructs a new {@link Vector} based on this Location - */ - public toVector(): org.bukkit.util.Vector; - public clone(): org.bukkit.Location; - /** - * Check if each component of this Location is finite. - */ - public checkFinite(): void; - /** - * Safely converts a double (location coordinate) to an int (block - * coordinate) - */ - public static locToBlock(loc: number): number; - public serialize(): Map /*java.util.Map*/; - /** - * Required method for deserialization - */ - public static deserialize(args: Map /*java.util.Map*/): org.bukkit.Location; - /** - * Normalizes the given yaw angle to a value between +/-180 - * degrees. - */ - public static normalizeYaw(yaw: number): number; - /** - * Normalizes the given pitch angle to a value between +/-90 - * degrees. - */ - public static normalizePitch(pitch: number): number; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Material.ts b/packages/bukkit/src/typings/org.bukkit.Material.ts deleted file mode 100644 index a642fecf..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Material.ts +++ /dev/null @@ -1,1581 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Material implements org.bukkit.Keyed { - public static ACACIA_BOAT: org.bukkit.Material; - public static ACACIA_BUTTON: org.bukkit.Material; - public static ACACIA_DOOR: org.bukkit.Material; - public static ACACIA_FENCE: org.bukkit.Material; - public static ACACIA_FENCE_GATE: org.bukkit.Material; - public static ACACIA_LEAVES: org.bukkit.Material; - public static ACACIA_LOG: org.bukkit.Material; - public static ACACIA_PLANKS: org.bukkit.Material; - public static ACACIA_PRESSURE_PLATE: org.bukkit.Material; - public static ACACIA_SAPLING: org.bukkit.Material; - public static ACACIA_SIGN: org.bukkit.Material; - public static ACACIA_SLAB: org.bukkit.Material; - public static ACACIA_STAIRS: org.bukkit.Material; - public static ACACIA_TRAPDOOR: org.bukkit.Material; - public static ACACIA_WALL_SIGN: org.bukkit.Material; - public static ACACIA_WOOD: org.bukkit.Material; - public static ACTIVATOR_RAIL: org.bukkit.Material; - public static AIR: org.bukkit.Material; - public static ALLIUM: org.bukkit.Material; - public static ANDESITE: org.bukkit.Material; - public static ANDESITE_SLAB: org.bukkit.Material; - public static ANDESITE_STAIRS: org.bukkit.Material; - public static ANDESITE_WALL: org.bukkit.Material; - public static ANVIL: org.bukkit.Material; - public static APPLE: org.bukkit.Material; - public static ARMOR_STAND: org.bukkit.Material; - public static ARROW: org.bukkit.Material; - public static ATTACHED_MELON_STEM: org.bukkit.Material; - public static ATTACHED_PUMPKIN_STEM: org.bukkit.Material; - public static AZURE_BLUET: org.bukkit.Material; - public static BAKED_POTATO: org.bukkit.Material; - public static BAMBOO: org.bukkit.Material; - public static BAMBOO_SAPLING: org.bukkit.Material; - public static BARREL: org.bukkit.Material; - public static BARRIER: org.bukkit.Material; - public static BAT_SPAWN_EGG: org.bukkit.Material; - public static BEACON: org.bukkit.Material; - public static BEDROCK: org.bukkit.Material; - public static BEEF: org.bukkit.Material; - public static BEETROOT: org.bukkit.Material; - public static BEETROOTS: org.bukkit.Material; - public static BEETROOT_SEEDS: org.bukkit.Material; - public static BEETROOT_SOUP: org.bukkit.Material; - public static BELL: org.bukkit.Material; - public static BIRCH_BOAT: org.bukkit.Material; - public static BIRCH_BUTTON: org.bukkit.Material; - public static BIRCH_DOOR: org.bukkit.Material; - public static BIRCH_FENCE: org.bukkit.Material; - public static BIRCH_FENCE_GATE: org.bukkit.Material; - public static BIRCH_LEAVES: org.bukkit.Material; - public static BIRCH_LOG: org.bukkit.Material; - public static BIRCH_PLANKS: org.bukkit.Material; - public static BIRCH_PRESSURE_PLATE: org.bukkit.Material; - public static BIRCH_SAPLING: org.bukkit.Material; - public static BIRCH_SIGN: org.bukkit.Material; - public static BIRCH_SLAB: org.bukkit.Material; - public static BIRCH_STAIRS: org.bukkit.Material; - public static BIRCH_TRAPDOOR: org.bukkit.Material; - public static BIRCH_WALL_SIGN: org.bukkit.Material; - public static BIRCH_WOOD: org.bukkit.Material; - public static BLACK_BANNER: org.bukkit.Material; - public static BLACK_BED: org.bukkit.Material; - public static BLACK_CARPET: org.bukkit.Material; - public static BLACK_CONCRETE: org.bukkit.Material; - public static BLACK_CONCRETE_POWDER: org.bukkit.Material; - public static BLACK_DYE: org.bukkit.Material; - public static BLACK_GLAZED_TERRACOTTA: org.bukkit.Material; - public static BLACK_SHULKER_BOX: org.bukkit.Material; - public static BLACK_STAINED_GLASS: org.bukkit.Material; - public static BLACK_STAINED_GLASS_PANE: org.bukkit.Material; - public static BLACK_TERRACOTTA: org.bukkit.Material; - public static BLACK_WALL_BANNER: org.bukkit.Material; - public static BLACK_WOOL: org.bukkit.Material; - public static BLAST_FURNACE: org.bukkit.Material; - public static BLAZE_POWDER: org.bukkit.Material; - public static BLAZE_ROD: org.bukkit.Material; - public static BLAZE_SPAWN_EGG: org.bukkit.Material; - public static BLUE_BANNER: org.bukkit.Material; - public static BLUE_BED: org.bukkit.Material; - public static BLUE_CARPET: org.bukkit.Material; - public static BLUE_CONCRETE: org.bukkit.Material; - public static BLUE_CONCRETE_POWDER: org.bukkit.Material; - public static BLUE_DYE: org.bukkit.Material; - public static BLUE_GLAZED_TERRACOTTA: org.bukkit.Material; - public static BLUE_ICE: org.bukkit.Material; - public static BLUE_ORCHID: org.bukkit.Material; - public static BLUE_SHULKER_BOX: org.bukkit.Material; - public static BLUE_STAINED_GLASS: org.bukkit.Material; - public static BLUE_STAINED_GLASS_PANE: org.bukkit.Material; - public static BLUE_TERRACOTTA: org.bukkit.Material; - public static BLUE_WALL_BANNER: org.bukkit.Material; - public static BLUE_WOOL: org.bukkit.Material; - public static BONE: org.bukkit.Material; - public static BONE_BLOCK: org.bukkit.Material; - public static BONE_MEAL: org.bukkit.Material; - public static BOOK: org.bukkit.Material; - public static BOOKSHELF: org.bukkit.Material; - public static BOW: org.bukkit.Material; - public static BOWL: org.bukkit.Material; - public static BRAIN_CORAL: org.bukkit.Material; - public static BRAIN_CORAL_BLOCK: org.bukkit.Material; - public static BRAIN_CORAL_FAN: org.bukkit.Material; - public static BRAIN_CORAL_WALL_FAN: org.bukkit.Material; - public static BREAD: org.bukkit.Material; - public static BREWING_STAND: org.bukkit.Material; - public static BRICK: org.bukkit.Material; - public static BRICKS: org.bukkit.Material; - public static BRICK_SLAB: org.bukkit.Material; - public static BRICK_STAIRS: org.bukkit.Material; - public static BRICK_WALL: org.bukkit.Material; - public static BROWN_BANNER: org.bukkit.Material; - public static BROWN_BED: org.bukkit.Material; - public static BROWN_CARPET: org.bukkit.Material; - public static BROWN_CONCRETE: org.bukkit.Material; - public static BROWN_CONCRETE_POWDER: org.bukkit.Material; - public static BROWN_DYE: org.bukkit.Material; - public static BROWN_GLAZED_TERRACOTTA: org.bukkit.Material; - public static BROWN_MUSHROOM: org.bukkit.Material; - public static BROWN_MUSHROOM_BLOCK: org.bukkit.Material; - public static BROWN_SHULKER_BOX: org.bukkit.Material; - public static BROWN_STAINED_GLASS: org.bukkit.Material; - public static BROWN_STAINED_GLASS_PANE: org.bukkit.Material; - public static BROWN_TERRACOTTA: org.bukkit.Material; - public static BROWN_WALL_BANNER: org.bukkit.Material; - public static BROWN_WOOL: org.bukkit.Material; - public static BUBBLE_COLUMN: org.bukkit.Material; - public static BUBBLE_CORAL: org.bukkit.Material; - public static BUBBLE_CORAL_BLOCK: org.bukkit.Material; - public static BUBBLE_CORAL_FAN: org.bukkit.Material; - public static BUBBLE_CORAL_WALL_FAN: org.bukkit.Material; - public static BUCKET: org.bukkit.Material; - public static CACTUS: org.bukkit.Material; - public static CAKE: org.bukkit.Material; - public static CAMPFIRE: org.bukkit.Material; - public static CARROT: org.bukkit.Material; - public static CARROTS: org.bukkit.Material; - public static CARROT_ON_A_STICK: org.bukkit.Material; - public static CARTOGRAPHY_TABLE: org.bukkit.Material; - public static CARVED_PUMPKIN: org.bukkit.Material; - public static CAT_SPAWN_EGG: org.bukkit.Material; - public static CAULDRON: org.bukkit.Material; - public static CAVE_AIR: org.bukkit.Material; - public static CAVE_SPIDER_SPAWN_EGG: org.bukkit.Material; - public static CHAINMAIL_BOOTS: org.bukkit.Material; - public static CHAINMAIL_CHESTPLATE: org.bukkit.Material; - public static CHAINMAIL_HELMET: org.bukkit.Material; - public static CHAINMAIL_LEGGINGS: org.bukkit.Material; - public static CHAIN_COMMAND_BLOCK: org.bukkit.Material; - public static CHARCOAL: org.bukkit.Material; - public static CHEST: org.bukkit.Material; - public static CHEST_MINECART: org.bukkit.Material; - public static CHICKEN: org.bukkit.Material; - public static CHICKEN_SPAWN_EGG: org.bukkit.Material; - public static CHIPPED_ANVIL: org.bukkit.Material; - public static CHISELED_QUARTZ_BLOCK: org.bukkit.Material; - public static CHISELED_RED_SANDSTONE: org.bukkit.Material; - public static CHISELED_SANDSTONE: org.bukkit.Material; - public static CHISELED_STONE_BRICKS: org.bukkit.Material; - public static CHORUS_FLOWER: org.bukkit.Material; - public static CHORUS_FRUIT: org.bukkit.Material; - public static CHORUS_PLANT: org.bukkit.Material; - public static CLAY: org.bukkit.Material; - public static CLAY_BALL: org.bukkit.Material; - public static CLOCK: org.bukkit.Material; - public static COAL: org.bukkit.Material; - public static COAL_BLOCK: org.bukkit.Material; - public static COAL_ORE: org.bukkit.Material; - public static COARSE_DIRT: org.bukkit.Material; - public static COBBLESTONE: org.bukkit.Material; - public static COBBLESTONE_SLAB: org.bukkit.Material; - public static COBBLESTONE_STAIRS: org.bukkit.Material; - public static COBBLESTONE_WALL: org.bukkit.Material; - public static COBWEB: org.bukkit.Material; - public static COCOA: org.bukkit.Material; - public static COCOA_BEANS: org.bukkit.Material; - public static COD: org.bukkit.Material; - public static COD_BUCKET: org.bukkit.Material; - public static COD_SPAWN_EGG: org.bukkit.Material; - public static COMMAND_BLOCK: org.bukkit.Material; - public static COMMAND_BLOCK_MINECART: org.bukkit.Material; - public static COMPARATOR: org.bukkit.Material; - public static COMPASS: org.bukkit.Material; - public static COMPOSTER: org.bukkit.Material; - public static CONDUIT: org.bukkit.Material; - public static COOKED_BEEF: org.bukkit.Material; - public static COOKED_CHICKEN: org.bukkit.Material; - public static COOKED_COD: org.bukkit.Material; - public static COOKED_MUTTON: org.bukkit.Material; - public static COOKED_PORKCHOP: org.bukkit.Material; - public static COOKED_RABBIT: org.bukkit.Material; - public static COOKED_SALMON: org.bukkit.Material; - public static COOKIE: org.bukkit.Material; - public static CORNFLOWER: org.bukkit.Material; - public static COW_SPAWN_EGG: org.bukkit.Material; - public static CRACKED_STONE_BRICKS: org.bukkit.Material; - public static CRAFTING_TABLE: org.bukkit.Material; - public static CREEPER_BANNER_PATTERN: org.bukkit.Material; - public static CREEPER_HEAD: org.bukkit.Material; - public static CREEPER_SPAWN_EGG: org.bukkit.Material; - public static CREEPER_WALL_HEAD: org.bukkit.Material; - public static CROSSBOW: org.bukkit.Material; - public static CUT_RED_SANDSTONE: org.bukkit.Material; - public static CUT_RED_SANDSTONE_SLAB: org.bukkit.Material; - public static CUT_SANDSTONE: org.bukkit.Material; - public static CUT_SANDSTONE_SLAB: org.bukkit.Material; - public static CYAN_BANNER: org.bukkit.Material; - public static CYAN_BED: org.bukkit.Material; - public static CYAN_CARPET: org.bukkit.Material; - public static CYAN_CONCRETE: org.bukkit.Material; - public static CYAN_CONCRETE_POWDER: org.bukkit.Material; - public static CYAN_DYE: org.bukkit.Material; - public static CYAN_GLAZED_TERRACOTTA: org.bukkit.Material; - public static CYAN_SHULKER_BOX: org.bukkit.Material; - public static CYAN_STAINED_GLASS: org.bukkit.Material; - public static CYAN_STAINED_GLASS_PANE: org.bukkit.Material; - public static CYAN_TERRACOTTA: org.bukkit.Material; - public static CYAN_WALL_BANNER: org.bukkit.Material; - public static CYAN_WOOL: org.bukkit.Material; - public static DAMAGED_ANVIL: org.bukkit.Material; - public static DANDELION: org.bukkit.Material; - public static DARK_OAK_BOAT: org.bukkit.Material; - public static DARK_OAK_BUTTON: org.bukkit.Material; - public static DARK_OAK_DOOR: org.bukkit.Material; - public static DARK_OAK_FENCE: org.bukkit.Material; - public static DARK_OAK_FENCE_GATE: org.bukkit.Material; - public static DARK_OAK_LEAVES: org.bukkit.Material; - public static DARK_OAK_LOG: org.bukkit.Material; - public static DARK_OAK_PLANKS: org.bukkit.Material; - public static DARK_OAK_PRESSURE_PLATE: org.bukkit.Material; - public static DARK_OAK_SAPLING: org.bukkit.Material; - public static DARK_OAK_SIGN: org.bukkit.Material; - public static DARK_OAK_SLAB: org.bukkit.Material; - public static DARK_OAK_STAIRS: org.bukkit.Material; - public static DARK_OAK_TRAPDOOR: org.bukkit.Material; - public static DARK_OAK_WALL_SIGN: org.bukkit.Material; - public static DARK_OAK_WOOD: org.bukkit.Material; - public static DARK_PRISMARINE: org.bukkit.Material; - public static DARK_PRISMARINE_SLAB: org.bukkit.Material; - public static DARK_PRISMARINE_STAIRS: org.bukkit.Material; - public static DAYLIGHT_DETECTOR: org.bukkit.Material; - public static DEAD_BRAIN_CORAL: org.bukkit.Material; - public static DEAD_BRAIN_CORAL_BLOCK: org.bukkit.Material; - public static DEAD_BRAIN_CORAL_FAN: org.bukkit.Material; - public static DEAD_BRAIN_CORAL_WALL_FAN: org.bukkit.Material; - public static DEAD_BUBBLE_CORAL: org.bukkit.Material; - public static DEAD_BUBBLE_CORAL_BLOCK: org.bukkit.Material; - public static DEAD_BUBBLE_CORAL_FAN: org.bukkit.Material; - public static DEAD_BUBBLE_CORAL_WALL_FAN: org.bukkit.Material; - public static DEAD_BUSH: org.bukkit.Material; - public static DEAD_FIRE_CORAL: org.bukkit.Material; - public static DEAD_FIRE_CORAL_BLOCK: org.bukkit.Material; - public static DEAD_FIRE_CORAL_FAN: org.bukkit.Material; - public static DEAD_FIRE_CORAL_WALL_FAN: org.bukkit.Material; - public static DEAD_HORN_CORAL: org.bukkit.Material; - public static DEAD_HORN_CORAL_BLOCK: org.bukkit.Material; - public static DEAD_HORN_CORAL_FAN: org.bukkit.Material; - public static DEAD_HORN_CORAL_WALL_FAN: org.bukkit.Material; - public static DEAD_TUBE_CORAL: org.bukkit.Material; - public static DEAD_TUBE_CORAL_BLOCK: org.bukkit.Material; - public static DEAD_TUBE_CORAL_FAN: org.bukkit.Material; - public static DEAD_TUBE_CORAL_WALL_FAN: org.bukkit.Material; - public static DEBUG_STICK: org.bukkit.Material; - public static DETECTOR_RAIL: org.bukkit.Material; - public static DIAMOND: org.bukkit.Material; - public static DIAMOND_AXE: org.bukkit.Material; - public static DIAMOND_BLOCK: org.bukkit.Material; - public static DIAMOND_BOOTS: org.bukkit.Material; - public static DIAMOND_CHESTPLATE: org.bukkit.Material; - public static DIAMOND_HELMET: org.bukkit.Material; - public static DIAMOND_HOE: org.bukkit.Material; - public static DIAMOND_HORSE_ARMOR: org.bukkit.Material; - public static DIAMOND_LEGGINGS: org.bukkit.Material; - public static DIAMOND_ORE: org.bukkit.Material; - public static DIAMOND_PICKAXE: org.bukkit.Material; - public static DIAMOND_SHOVEL: org.bukkit.Material; - public static DIAMOND_SWORD: org.bukkit.Material; - public static DIORITE: org.bukkit.Material; - public static DIORITE_SLAB: org.bukkit.Material; - public static DIORITE_STAIRS: org.bukkit.Material; - public static DIORITE_WALL: org.bukkit.Material; - public static DIRT: org.bukkit.Material; - public static DISPENSER: org.bukkit.Material; - public static DOLPHIN_SPAWN_EGG: org.bukkit.Material; - public static DONKEY_SPAWN_EGG: org.bukkit.Material; - public static DRAGON_BREATH: org.bukkit.Material; - public static DRAGON_EGG: org.bukkit.Material; - public static DRAGON_HEAD: org.bukkit.Material; - public static DRAGON_WALL_HEAD: org.bukkit.Material; - public static DRIED_KELP: org.bukkit.Material; - public static DRIED_KELP_BLOCK: org.bukkit.Material; - public static DROPPER: org.bukkit.Material; - public static DROWNED_SPAWN_EGG: org.bukkit.Material; - public static EGG: org.bukkit.Material; - public static ELDER_GUARDIAN_SPAWN_EGG: org.bukkit.Material; - public static ELYTRA: org.bukkit.Material; - public static EMERALD: org.bukkit.Material; - public static EMERALD_BLOCK: org.bukkit.Material; - public static EMERALD_ORE: org.bukkit.Material; - public static ENCHANTED_BOOK: org.bukkit.Material; - public static ENCHANTED_GOLDEN_APPLE: org.bukkit.Material; - public static ENCHANTING_TABLE: org.bukkit.Material; - public static ENDERMAN_SPAWN_EGG: org.bukkit.Material; - public static ENDERMITE_SPAWN_EGG: org.bukkit.Material; - public static ENDER_CHEST: org.bukkit.Material; - public static ENDER_EYE: org.bukkit.Material; - public static ENDER_PEARL: org.bukkit.Material; - public static END_CRYSTAL: org.bukkit.Material; - public static END_GATEWAY: org.bukkit.Material; - public static END_PORTAL: org.bukkit.Material; - public static END_PORTAL_FRAME: org.bukkit.Material; - public static END_ROD: org.bukkit.Material; - public static END_STONE: org.bukkit.Material; - public static END_STONE_BRICKS: org.bukkit.Material; - public static END_STONE_BRICK_SLAB: org.bukkit.Material; - public static END_STONE_BRICK_STAIRS: org.bukkit.Material; - public static END_STONE_BRICK_WALL: org.bukkit.Material; - public static EVOKER_SPAWN_EGG: org.bukkit.Material; - public static EXPERIENCE_BOTTLE: org.bukkit.Material; - public static FARMLAND: org.bukkit.Material; - public static FEATHER: org.bukkit.Material; - public static FERMENTED_SPIDER_EYE: org.bukkit.Material; - public static FERN: org.bukkit.Material; - public static FILLED_MAP: org.bukkit.Material; - public static FIRE: org.bukkit.Material; - public static FIREWORK_ROCKET: org.bukkit.Material; - public static FIREWORK_STAR: org.bukkit.Material; - public static FIRE_CHARGE: org.bukkit.Material; - public static FIRE_CORAL: org.bukkit.Material; - public static FIRE_CORAL_BLOCK: org.bukkit.Material; - public static FIRE_CORAL_FAN: org.bukkit.Material; - public static FIRE_CORAL_WALL_FAN: org.bukkit.Material; - public static FISHING_ROD: org.bukkit.Material; - public static FLETCHING_TABLE: org.bukkit.Material; - public static FLINT: org.bukkit.Material; - public static FLINT_AND_STEEL: org.bukkit.Material; - public static FLOWER_BANNER_PATTERN: org.bukkit.Material; - public static FLOWER_POT: org.bukkit.Material; - public static FOX_SPAWN_EGG: org.bukkit.Material; - public static FROSTED_ICE: org.bukkit.Material; - public static FURNACE: org.bukkit.Material; - public static FURNACE_MINECART: org.bukkit.Material; - public static GHAST_SPAWN_EGG: org.bukkit.Material; - public static GHAST_TEAR: org.bukkit.Material; - public static GLASS: org.bukkit.Material; - public static GLASS_BOTTLE: org.bukkit.Material; - public static GLASS_PANE: org.bukkit.Material; - public static GLISTERING_MELON_SLICE: org.bukkit.Material; - public static GLOBE_BANNER_PATTERN: org.bukkit.Material; - public static GLOWSTONE: org.bukkit.Material; - public static GLOWSTONE_DUST: org.bukkit.Material; - public static GOLDEN_APPLE: org.bukkit.Material; - public static GOLDEN_AXE: org.bukkit.Material; - public static GOLDEN_BOOTS: org.bukkit.Material; - public static GOLDEN_CARROT: org.bukkit.Material; - public static GOLDEN_CHESTPLATE: org.bukkit.Material; - public static GOLDEN_HELMET: org.bukkit.Material; - public static GOLDEN_HOE: org.bukkit.Material; - public static GOLDEN_HORSE_ARMOR: org.bukkit.Material; - public static GOLDEN_LEGGINGS: org.bukkit.Material; - public static GOLDEN_PICKAXE: org.bukkit.Material; - public static GOLDEN_SHOVEL: org.bukkit.Material; - public static GOLDEN_SWORD: org.bukkit.Material; - public static GOLD_BLOCK: org.bukkit.Material; - public static GOLD_INGOT: org.bukkit.Material; - public static GOLD_NUGGET: org.bukkit.Material; - public static GOLD_ORE: org.bukkit.Material; - public static GRANITE: org.bukkit.Material; - public static GRANITE_SLAB: org.bukkit.Material; - public static GRANITE_STAIRS: org.bukkit.Material; - public static GRANITE_WALL: org.bukkit.Material; - public static GRASS: org.bukkit.Material; - public static GRASS_BLOCK: org.bukkit.Material; - public static GRASS_PATH: org.bukkit.Material; - public static GRAVEL: org.bukkit.Material; - public static GRAY_BANNER: org.bukkit.Material; - public static GRAY_BED: org.bukkit.Material; - public static GRAY_CARPET: org.bukkit.Material; - public static GRAY_CONCRETE: org.bukkit.Material; - public static GRAY_CONCRETE_POWDER: org.bukkit.Material; - public static GRAY_DYE: org.bukkit.Material; - public static GRAY_GLAZED_TERRACOTTA: org.bukkit.Material; - public static GRAY_SHULKER_BOX: org.bukkit.Material; - public static GRAY_STAINED_GLASS: org.bukkit.Material; - public static GRAY_STAINED_GLASS_PANE: org.bukkit.Material; - public static GRAY_TERRACOTTA: org.bukkit.Material; - public static GRAY_WALL_BANNER: org.bukkit.Material; - public static GRAY_WOOL: org.bukkit.Material; - public static GREEN_BANNER: org.bukkit.Material; - public static GREEN_BED: org.bukkit.Material; - public static GREEN_CARPET: org.bukkit.Material; - public static GREEN_CONCRETE: org.bukkit.Material; - public static GREEN_CONCRETE_POWDER: org.bukkit.Material; - public static GREEN_DYE: org.bukkit.Material; - public static GREEN_GLAZED_TERRACOTTA: org.bukkit.Material; - public static GREEN_SHULKER_BOX: org.bukkit.Material; - public static GREEN_STAINED_GLASS: org.bukkit.Material; - public static GREEN_STAINED_GLASS_PANE: org.bukkit.Material; - public static GREEN_TERRACOTTA: org.bukkit.Material; - public static GREEN_WALL_BANNER: org.bukkit.Material; - public static GREEN_WOOL: org.bukkit.Material; - public static GRINDSTONE: org.bukkit.Material; - public static GUARDIAN_SPAWN_EGG: org.bukkit.Material; - public static GUNPOWDER: org.bukkit.Material; - public static HAY_BLOCK: org.bukkit.Material; - public static HEART_OF_THE_SEA: org.bukkit.Material; - public static HEAVY_WEIGHTED_PRESSURE_PLATE: org.bukkit.Material; - public static HOPPER: org.bukkit.Material; - public static HOPPER_MINECART: org.bukkit.Material; - public static HORN_CORAL: org.bukkit.Material; - public static HORN_CORAL_BLOCK: org.bukkit.Material; - public static HORN_CORAL_FAN: org.bukkit.Material; - public static HORN_CORAL_WALL_FAN: org.bukkit.Material; - public static HORSE_SPAWN_EGG: org.bukkit.Material; - public static HUSK_SPAWN_EGG: org.bukkit.Material; - public static ICE: org.bukkit.Material; - public static INFESTED_CHISELED_STONE_BRICKS: org.bukkit.Material; - public static INFESTED_COBBLESTONE: org.bukkit.Material; - public static INFESTED_CRACKED_STONE_BRICKS: org.bukkit.Material; - public static INFESTED_MOSSY_STONE_BRICKS: org.bukkit.Material; - public static INFESTED_STONE: org.bukkit.Material; - public static INFESTED_STONE_BRICKS: org.bukkit.Material; - public static INK_SAC: org.bukkit.Material; - public static IRON_AXE: org.bukkit.Material; - public static IRON_BARS: org.bukkit.Material; - public static IRON_BLOCK: org.bukkit.Material; - public static IRON_BOOTS: org.bukkit.Material; - public static IRON_CHESTPLATE: org.bukkit.Material; - public static IRON_DOOR: org.bukkit.Material; - public static IRON_HELMET: org.bukkit.Material; - public static IRON_HOE: org.bukkit.Material; - public static IRON_HORSE_ARMOR: org.bukkit.Material; - public static IRON_INGOT: org.bukkit.Material; - public static IRON_LEGGINGS: org.bukkit.Material; - public static IRON_NUGGET: org.bukkit.Material; - public static IRON_ORE: org.bukkit.Material; - public static IRON_PICKAXE: org.bukkit.Material; - public static IRON_SHOVEL: org.bukkit.Material; - public static IRON_SWORD: org.bukkit.Material; - public static IRON_TRAPDOOR: org.bukkit.Material; - public static ITEM_FRAME: org.bukkit.Material; - public static JACK_O_LANTERN: org.bukkit.Material; - public static JIGSAW: org.bukkit.Material; - public static JUKEBOX: org.bukkit.Material; - public static JUNGLE_BOAT: org.bukkit.Material; - public static JUNGLE_BUTTON: org.bukkit.Material; - public static JUNGLE_DOOR: org.bukkit.Material; - public static JUNGLE_FENCE: org.bukkit.Material; - public static JUNGLE_FENCE_GATE: org.bukkit.Material; - public static JUNGLE_LEAVES: org.bukkit.Material; - public static JUNGLE_LOG: org.bukkit.Material; - public static JUNGLE_PLANKS: org.bukkit.Material; - public static JUNGLE_PRESSURE_PLATE: org.bukkit.Material; - public static JUNGLE_SAPLING: org.bukkit.Material; - public static JUNGLE_SIGN: org.bukkit.Material; - public static JUNGLE_SLAB: org.bukkit.Material; - public static JUNGLE_STAIRS: org.bukkit.Material; - public static JUNGLE_TRAPDOOR: org.bukkit.Material; - public static JUNGLE_WALL_SIGN: org.bukkit.Material; - public static JUNGLE_WOOD: org.bukkit.Material; - public static KELP: org.bukkit.Material; - public static KELP_PLANT: org.bukkit.Material; - public static KNOWLEDGE_BOOK: org.bukkit.Material; - public static LADDER: org.bukkit.Material; - public static LANTERN: org.bukkit.Material; - public static LAPIS_BLOCK: org.bukkit.Material; - public static LAPIS_LAZULI: org.bukkit.Material; - public static LAPIS_ORE: org.bukkit.Material; - public static LARGE_FERN: org.bukkit.Material; - public static LAVA: org.bukkit.Material; - public static LAVA_BUCKET: org.bukkit.Material; - public static LEAD: org.bukkit.Material; - public static LEATHER: org.bukkit.Material; - public static LEATHER_BOOTS: org.bukkit.Material; - public static LEATHER_CHESTPLATE: org.bukkit.Material; - public static LEATHER_HELMET: org.bukkit.Material; - public static LEATHER_HORSE_ARMOR: org.bukkit.Material; - public static LEATHER_LEGGINGS: org.bukkit.Material; - public static LECTERN: org.bukkit.Material; - public static LEVER: org.bukkit.Material; - public static LIGHT_BLUE_BANNER: org.bukkit.Material; - public static LIGHT_BLUE_BED: org.bukkit.Material; - public static LIGHT_BLUE_CARPET: org.bukkit.Material; - public static LIGHT_BLUE_CONCRETE: org.bukkit.Material; - public static LIGHT_BLUE_CONCRETE_POWDER: org.bukkit.Material; - public static LIGHT_BLUE_DYE: org.bukkit.Material; - public static LIGHT_BLUE_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LIGHT_BLUE_SHULKER_BOX: org.bukkit.Material; - public static LIGHT_BLUE_STAINED_GLASS: org.bukkit.Material; - public static LIGHT_BLUE_STAINED_GLASS_PANE: org.bukkit.Material; - public static LIGHT_BLUE_TERRACOTTA: org.bukkit.Material; - public static LIGHT_BLUE_WALL_BANNER: org.bukkit.Material; - public static LIGHT_BLUE_WOOL: org.bukkit.Material; - public static LIGHT_GRAY_BANNER: org.bukkit.Material; - public static LIGHT_GRAY_BED: org.bukkit.Material; - public static LIGHT_GRAY_CARPET: org.bukkit.Material; - public static LIGHT_GRAY_CONCRETE: org.bukkit.Material; - public static LIGHT_GRAY_CONCRETE_POWDER: org.bukkit.Material; - public static LIGHT_GRAY_DYE: org.bukkit.Material; - public static LIGHT_GRAY_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LIGHT_GRAY_SHULKER_BOX: org.bukkit.Material; - public static LIGHT_GRAY_STAINED_GLASS: org.bukkit.Material; - public static LIGHT_GRAY_STAINED_GLASS_PANE: org.bukkit.Material; - public static LIGHT_GRAY_TERRACOTTA: org.bukkit.Material; - public static LIGHT_GRAY_WALL_BANNER: org.bukkit.Material; - public static LIGHT_GRAY_WOOL: org.bukkit.Material; - public static LIGHT_WEIGHTED_PRESSURE_PLATE: org.bukkit.Material; - public static LILAC: org.bukkit.Material; - public static LILY_OF_THE_VALLEY: org.bukkit.Material; - public static LILY_PAD: org.bukkit.Material; - public static LIME_BANNER: org.bukkit.Material; - public static LIME_BED: org.bukkit.Material; - public static LIME_CARPET: org.bukkit.Material; - public static LIME_CONCRETE: org.bukkit.Material; - public static LIME_CONCRETE_POWDER: org.bukkit.Material; - public static LIME_DYE: org.bukkit.Material; - public static LIME_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LIME_SHULKER_BOX: org.bukkit.Material; - public static LIME_STAINED_GLASS: org.bukkit.Material; - public static LIME_STAINED_GLASS_PANE: org.bukkit.Material; - public static LIME_TERRACOTTA: org.bukkit.Material; - public static LIME_WALL_BANNER: org.bukkit.Material; - public static LIME_WOOL: org.bukkit.Material; - public static LINGERING_POTION: org.bukkit.Material; - public static LLAMA_SPAWN_EGG: org.bukkit.Material; - public static LOOM: org.bukkit.Material; - public static MAGENTA_BANNER: org.bukkit.Material; - public static MAGENTA_BED: org.bukkit.Material; - public static MAGENTA_CARPET: org.bukkit.Material; - public static MAGENTA_CONCRETE: org.bukkit.Material; - public static MAGENTA_CONCRETE_POWDER: org.bukkit.Material; - public static MAGENTA_DYE: org.bukkit.Material; - public static MAGENTA_GLAZED_TERRACOTTA: org.bukkit.Material; - public static MAGENTA_SHULKER_BOX: org.bukkit.Material; - public static MAGENTA_STAINED_GLASS: org.bukkit.Material; - public static MAGENTA_STAINED_GLASS_PANE: org.bukkit.Material; - public static MAGENTA_TERRACOTTA: org.bukkit.Material; - public static MAGENTA_WALL_BANNER: org.bukkit.Material; - public static MAGENTA_WOOL: org.bukkit.Material; - public static MAGMA_BLOCK: org.bukkit.Material; - public static MAGMA_CREAM: org.bukkit.Material; - public static MAGMA_CUBE_SPAWN_EGG: org.bukkit.Material; - public static MAP: org.bukkit.Material; - public static MELON: org.bukkit.Material; - public static MELON_SEEDS: org.bukkit.Material; - public static MELON_SLICE: org.bukkit.Material; - public static MELON_STEM: org.bukkit.Material; - public static MILK_BUCKET: org.bukkit.Material; - public static MINECART: org.bukkit.Material; - public static MOJANG_BANNER_PATTERN: org.bukkit.Material; - public static MOOSHROOM_SPAWN_EGG: org.bukkit.Material; - public static MOSSY_COBBLESTONE: org.bukkit.Material; - public static MOSSY_COBBLESTONE_SLAB: org.bukkit.Material; - public static MOSSY_COBBLESTONE_STAIRS: org.bukkit.Material; - public static MOSSY_COBBLESTONE_WALL: org.bukkit.Material; - public static MOSSY_STONE_BRICKS: org.bukkit.Material; - public static MOSSY_STONE_BRICK_SLAB: org.bukkit.Material; - public static MOSSY_STONE_BRICK_STAIRS: org.bukkit.Material; - public static MOSSY_STONE_BRICK_WALL: org.bukkit.Material; - public static MOVING_PISTON: org.bukkit.Material; - public static MULE_SPAWN_EGG: org.bukkit.Material; - public static MUSHROOM_STEM: org.bukkit.Material; - public static MUSHROOM_STEW: org.bukkit.Material; - public static MUSIC_DISC_11: org.bukkit.Material; - public static MUSIC_DISC_13: org.bukkit.Material; - public static MUSIC_DISC_BLOCKS: org.bukkit.Material; - public static MUSIC_DISC_CAT: org.bukkit.Material; - public static MUSIC_DISC_CHIRP: org.bukkit.Material; - public static MUSIC_DISC_FAR: org.bukkit.Material; - public static MUSIC_DISC_MALL: org.bukkit.Material; - public static MUSIC_DISC_MELLOHI: org.bukkit.Material; - public static MUSIC_DISC_STAL: org.bukkit.Material; - public static MUSIC_DISC_STRAD: org.bukkit.Material; - public static MUSIC_DISC_WAIT: org.bukkit.Material; - public static MUSIC_DISC_WARD: org.bukkit.Material; - public static MUTTON: org.bukkit.Material; - public static MYCELIUM: org.bukkit.Material; - public static NAME_TAG: org.bukkit.Material; - public static NAUTILUS_SHELL: org.bukkit.Material; - public static NETHERRACK: org.bukkit.Material; - public static NETHER_BRICK: org.bukkit.Material; - public static NETHER_BRICKS: org.bukkit.Material; - public static NETHER_BRICK_FENCE: org.bukkit.Material; - public static NETHER_BRICK_SLAB: org.bukkit.Material; - public static NETHER_BRICK_STAIRS: org.bukkit.Material; - public static NETHER_BRICK_WALL: org.bukkit.Material; - public static NETHER_PORTAL: org.bukkit.Material; - public static NETHER_QUARTZ_ORE: org.bukkit.Material; - public static NETHER_STAR: org.bukkit.Material; - public static NETHER_WART: org.bukkit.Material; - public static NETHER_WART_BLOCK: org.bukkit.Material; - public static NOTE_BLOCK: org.bukkit.Material; - public static OAK_BOAT: org.bukkit.Material; - public static OAK_BUTTON: org.bukkit.Material; - public static OAK_DOOR: org.bukkit.Material; - public static OAK_FENCE: org.bukkit.Material; - public static OAK_FENCE_GATE: org.bukkit.Material; - public static OAK_LEAVES: org.bukkit.Material; - public static OAK_LOG: org.bukkit.Material; - public static OAK_PLANKS: org.bukkit.Material; - public static OAK_PRESSURE_PLATE: org.bukkit.Material; - public static OAK_SAPLING: org.bukkit.Material; - public static OAK_SIGN: org.bukkit.Material; - public static OAK_SLAB: org.bukkit.Material; - public static OAK_STAIRS: org.bukkit.Material; - public static OAK_TRAPDOOR: org.bukkit.Material; - public static OAK_WALL_SIGN: org.bukkit.Material; - public static OAK_WOOD: org.bukkit.Material; - public static OBSERVER: org.bukkit.Material; - public static OBSIDIAN: org.bukkit.Material; - public static OCELOT_SPAWN_EGG: org.bukkit.Material; - public static ORANGE_BANNER: org.bukkit.Material; - public static ORANGE_BED: org.bukkit.Material; - public static ORANGE_CARPET: org.bukkit.Material; - public static ORANGE_CONCRETE: org.bukkit.Material; - public static ORANGE_CONCRETE_POWDER: org.bukkit.Material; - public static ORANGE_DYE: org.bukkit.Material; - public static ORANGE_GLAZED_TERRACOTTA: org.bukkit.Material; - public static ORANGE_SHULKER_BOX: org.bukkit.Material; - public static ORANGE_STAINED_GLASS: org.bukkit.Material; - public static ORANGE_STAINED_GLASS_PANE: org.bukkit.Material; - public static ORANGE_TERRACOTTA: org.bukkit.Material; - public static ORANGE_TULIP: org.bukkit.Material; - public static ORANGE_WALL_BANNER: org.bukkit.Material; - public static ORANGE_WOOL: org.bukkit.Material; - public static OXEYE_DAISY: org.bukkit.Material; - public static PACKED_ICE: org.bukkit.Material; - public static PAINTING: org.bukkit.Material; - public static PANDA_SPAWN_EGG: org.bukkit.Material; - public static PAPER: org.bukkit.Material; - public static PARROT_SPAWN_EGG: org.bukkit.Material; - public static PEONY: org.bukkit.Material; - public static PETRIFIED_OAK_SLAB: org.bukkit.Material; - public static PHANTOM_MEMBRANE: org.bukkit.Material; - public static PHANTOM_SPAWN_EGG: org.bukkit.Material; - public static PIG_SPAWN_EGG: org.bukkit.Material; - public static PILLAGER_SPAWN_EGG: org.bukkit.Material; - public static PINK_BANNER: org.bukkit.Material; - public static PINK_BED: org.bukkit.Material; - public static PINK_CARPET: org.bukkit.Material; - public static PINK_CONCRETE: org.bukkit.Material; - public static PINK_CONCRETE_POWDER: org.bukkit.Material; - public static PINK_DYE: org.bukkit.Material; - public static PINK_GLAZED_TERRACOTTA: org.bukkit.Material; - public static PINK_SHULKER_BOX: org.bukkit.Material; - public static PINK_STAINED_GLASS: org.bukkit.Material; - public static PINK_STAINED_GLASS_PANE: org.bukkit.Material; - public static PINK_TERRACOTTA: org.bukkit.Material; - public static PINK_TULIP: org.bukkit.Material; - public static PINK_WALL_BANNER: org.bukkit.Material; - public static PINK_WOOL: org.bukkit.Material; - public static PISTON: org.bukkit.Material; - public static PISTON_HEAD: org.bukkit.Material; - public static PLAYER_HEAD: org.bukkit.Material; - public static PLAYER_WALL_HEAD: org.bukkit.Material; - public static PODZOL: org.bukkit.Material; - public static POISONOUS_POTATO: org.bukkit.Material; - public static POLAR_BEAR_SPAWN_EGG: org.bukkit.Material; - public static POLISHED_ANDESITE: org.bukkit.Material; - public static POLISHED_ANDESITE_SLAB: org.bukkit.Material; - public static POLISHED_ANDESITE_STAIRS: org.bukkit.Material; - public static POLISHED_DIORITE: org.bukkit.Material; - public static POLISHED_DIORITE_SLAB: org.bukkit.Material; - public static POLISHED_DIORITE_STAIRS: org.bukkit.Material; - public static POLISHED_GRANITE: org.bukkit.Material; - public static POLISHED_GRANITE_SLAB: org.bukkit.Material; - public static POLISHED_GRANITE_STAIRS: org.bukkit.Material; - public static POPPED_CHORUS_FRUIT: org.bukkit.Material; - public static POPPY: org.bukkit.Material; - public static PORKCHOP: org.bukkit.Material; - public static POTATO: org.bukkit.Material; - public static POTATOES: org.bukkit.Material; - public static POTION: org.bukkit.Material; - public static POTTED_ACACIA_SAPLING: org.bukkit.Material; - public static POTTED_ALLIUM: org.bukkit.Material; - public static POTTED_AZURE_BLUET: org.bukkit.Material; - public static POTTED_BAMBOO: org.bukkit.Material; - public static POTTED_BIRCH_SAPLING: org.bukkit.Material; - public static POTTED_BLUE_ORCHID: org.bukkit.Material; - public static POTTED_BROWN_MUSHROOM: org.bukkit.Material; - public static POTTED_CACTUS: org.bukkit.Material; - public static POTTED_CORNFLOWER: org.bukkit.Material; - public static POTTED_DANDELION: org.bukkit.Material; - public static POTTED_DARK_OAK_SAPLING: org.bukkit.Material; - public static POTTED_DEAD_BUSH: org.bukkit.Material; - public static POTTED_FERN: org.bukkit.Material; - public static POTTED_JUNGLE_SAPLING: org.bukkit.Material; - public static POTTED_LILY_OF_THE_VALLEY: org.bukkit.Material; - public static POTTED_OAK_SAPLING: org.bukkit.Material; - public static POTTED_ORANGE_TULIP: org.bukkit.Material; - public static POTTED_OXEYE_DAISY: org.bukkit.Material; - public static POTTED_PINK_TULIP: org.bukkit.Material; - public static POTTED_POPPY: org.bukkit.Material; - public static POTTED_RED_MUSHROOM: org.bukkit.Material; - public static POTTED_RED_TULIP: org.bukkit.Material; - public static POTTED_SPRUCE_SAPLING: org.bukkit.Material; - public static POTTED_WHITE_TULIP: org.bukkit.Material; - public static POTTED_WITHER_ROSE: org.bukkit.Material; - public static POWERED_RAIL: org.bukkit.Material; - public static PRISMARINE: org.bukkit.Material; - public static PRISMARINE_BRICKS: org.bukkit.Material; - public static PRISMARINE_BRICK_SLAB: org.bukkit.Material; - public static PRISMARINE_BRICK_STAIRS: org.bukkit.Material; - public static PRISMARINE_CRYSTALS: org.bukkit.Material; - public static PRISMARINE_SHARD: org.bukkit.Material; - public static PRISMARINE_SLAB: org.bukkit.Material; - public static PRISMARINE_STAIRS: org.bukkit.Material; - public static PRISMARINE_WALL: org.bukkit.Material; - public static PUFFERFISH: org.bukkit.Material; - public static PUFFERFISH_BUCKET: org.bukkit.Material; - public static PUFFERFISH_SPAWN_EGG: org.bukkit.Material; - public static PUMPKIN: org.bukkit.Material; - public static PUMPKIN_PIE: org.bukkit.Material; - public static PUMPKIN_SEEDS: org.bukkit.Material; - public static PUMPKIN_STEM: org.bukkit.Material; - public static PURPLE_BANNER: org.bukkit.Material; - public static PURPLE_BED: org.bukkit.Material; - public static PURPLE_CARPET: org.bukkit.Material; - public static PURPLE_CONCRETE: org.bukkit.Material; - public static PURPLE_CONCRETE_POWDER: org.bukkit.Material; - public static PURPLE_DYE: org.bukkit.Material; - public static PURPLE_GLAZED_TERRACOTTA: org.bukkit.Material; - public static PURPLE_SHULKER_BOX: org.bukkit.Material; - public static PURPLE_STAINED_GLASS: org.bukkit.Material; - public static PURPLE_STAINED_GLASS_PANE: org.bukkit.Material; - public static PURPLE_TERRACOTTA: org.bukkit.Material; - public static PURPLE_WALL_BANNER: org.bukkit.Material; - public static PURPLE_WOOL: org.bukkit.Material; - public static PURPUR_BLOCK: org.bukkit.Material; - public static PURPUR_PILLAR: org.bukkit.Material; - public static PURPUR_SLAB: org.bukkit.Material; - public static PURPUR_STAIRS: org.bukkit.Material; - public static QUARTZ: org.bukkit.Material; - public static QUARTZ_BLOCK: org.bukkit.Material; - public static QUARTZ_PILLAR: org.bukkit.Material; - public static QUARTZ_SLAB: org.bukkit.Material; - public static QUARTZ_STAIRS: org.bukkit.Material; - public static RABBIT: org.bukkit.Material; - public static RABBIT_FOOT: org.bukkit.Material; - public static RABBIT_HIDE: org.bukkit.Material; - public static RABBIT_SPAWN_EGG: org.bukkit.Material; - public static RABBIT_STEW: org.bukkit.Material; - public static RAIL: org.bukkit.Material; - public static RAVAGER_SPAWN_EGG: org.bukkit.Material; - public static REDSTONE: org.bukkit.Material; - public static REDSTONE_BLOCK: org.bukkit.Material; - public static REDSTONE_LAMP: org.bukkit.Material; - public static REDSTONE_ORE: org.bukkit.Material; - public static REDSTONE_TORCH: org.bukkit.Material; - public static REDSTONE_WALL_TORCH: org.bukkit.Material; - public static REDSTONE_WIRE: org.bukkit.Material; - public static RED_BANNER: org.bukkit.Material; - public static RED_BED: org.bukkit.Material; - public static RED_CARPET: org.bukkit.Material; - public static RED_CONCRETE: org.bukkit.Material; - public static RED_CONCRETE_POWDER: org.bukkit.Material; - public static RED_DYE: org.bukkit.Material; - public static RED_GLAZED_TERRACOTTA: org.bukkit.Material; - public static RED_MUSHROOM: org.bukkit.Material; - public static RED_MUSHROOM_BLOCK: org.bukkit.Material; - public static RED_NETHER_BRICKS: org.bukkit.Material; - public static RED_NETHER_BRICK_SLAB: org.bukkit.Material; - public static RED_NETHER_BRICK_STAIRS: org.bukkit.Material; - public static RED_NETHER_BRICK_WALL: org.bukkit.Material; - public static RED_SAND: org.bukkit.Material; - public static RED_SANDSTONE: org.bukkit.Material; - public static RED_SANDSTONE_SLAB: org.bukkit.Material; - public static RED_SANDSTONE_STAIRS: org.bukkit.Material; - public static RED_SANDSTONE_WALL: org.bukkit.Material; - public static RED_SHULKER_BOX: org.bukkit.Material; - public static RED_STAINED_GLASS: org.bukkit.Material; - public static RED_STAINED_GLASS_PANE: org.bukkit.Material; - public static RED_TERRACOTTA: org.bukkit.Material; - public static RED_TULIP: org.bukkit.Material; - public static RED_WALL_BANNER: org.bukkit.Material; - public static RED_WOOL: org.bukkit.Material; - public static REPEATER: org.bukkit.Material; - public static REPEATING_COMMAND_BLOCK: org.bukkit.Material; - public static ROSE_BUSH: org.bukkit.Material; - public static ROTTEN_FLESH: org.bukkit.Material; - public static SADDLE: org.bukkit.Material; - public static SALMON: org.bukkit.Material; - public static SALMON_BUCKET: org.bukkit.Material; - public static SALMON_SPAWN_EGG: org.bukkit.Material; - public static SAND: org.bukkit.Material; - public static SANDSTONE: org.bukkit.Material; - public static SANDSTONE_SLAB: org.bukkit.Material; - public static SANDSTONE_STAIRS: org.bukkit.Material; - public static SANDSTONE_WALL: org.bukkit.Material; - public static SCAFFOLDING: org.bukkit.Material; - public static SCUTE: org.bukkit.Material; - public static SEAGRASS: org.bukkit.Material; - public static SEA_LANTERN: org.bukkit.Material; - public static SEA_PICKLE: org.bukkit.Material; - public static SHEARS: org.bukkit.Material; - public static SHEEP_SPAWN_EGG: org.bukkit.Material; - public static SHIELD: org.bukkit.Material; - public static SHULKER_BOX: org.bukkit.Material; - public static SHULKER_SHELL: org.bukkit.Material; - public static SHULKER_SPAWN_EGG: org.bukkit.Material; - public static SILVERFISH_SPAWN_EGG: org.bukkit.Material; - public static SKELETON_HORSE_SPAWN_EGG: org.bukkit.Material; - public static SKELETON_SKULL: org.bukkit.Material; - public static SKELETON_SPAWN_EGG: org.bukkit.Material; - public static SKELETON_WALL_SKULL: org.bukkit.Material; - public static SKULL_BANNER_PATTERN: org.bukkit.Material; - public static SLIME_BALL: org.bukkit.Material; - public static SLIME_BLOCK: org.bukkit.Material; - public static SLIME_SPAWN_EGG: org.bukkit.Material; - public static SMITHING_TABLE: org.bukkit.Material; - public static SMOKER: org.bukkit.Material; - public static SMOOTH_QUARTZ: org.bukkit.Material; - public static SMOOTH_QUARTZ_SLAB: org.bukkit.Material; - public static SMOOTH_QUARTZ_STAIRS: org.bukkit.Material; - public static SMOOTH_RED_SANDSTONE: org.bukkit.Material; - public static SMOOTH_RED_SANDSTONE_SLAB: org.bukkit.Material; - public static SMOOTH_RED_SANDSTONE_STAIRS: org.bukkit.Material; - public static SMOOTH_SANDSTONE: org.bukkit.Material; - public static SMOOTH_SANDSTONE_SLAB: org.bukkit.Material; - public static SMOOTH_SANDSTONE_STAIRS: org.bukkit.Material; - public static SMOOTH_STONE: org.bukkit.Material; - public static SMOOTH_STONE_SLAB: org.bukkit.Material; - public static SNOW: org.bukkit.Material; - public static SNOWBALL: org.bukkit.Material; - public static SNOW_BLOCK: org.bukkit.Material; - public static SOUL_SAND: org.bukkit.Material; - public static SPAWNER: org.bukkit.Material; - public static SPECTRAL_ARROW: org.bukkit.Material; - public static SPIDER_EYE: org.bukkit.Material; - public static SPIDER_SPAWN_EGG: org.bukkit.Material; - public static SPLASH_POTION: org.bukkit.Material; - public static SPONGE: org.bukkit.Material; - public static SPRUCE_BOAT: org.bukkit.Material; - public static SPRUCE_BUTTON: org.bukkit.Material; - public static SPRUCE_DOOR: org.bukkit.Material; - public static SPRUCE_FENCE: org.bukkit.Material; - public static SPRUCE_FENCE_GATE: org.bukkit.Material; - public static SPRUCE_LEAVES: org.bukkit.Material; - public static SPRUCE_LOG: org.bukkit.Material; - public static SPRUCE_PLANKS: org.bukkit.Material; - public static SPRUCE_PRESSURE_PLATE: org.bukkit.Material; - public static SPRUCE_SAPLING: org.bukkit.Material; - public static SPRUCE_SIGN: org.bukkit.Material; - public static SPRUCE_SLAB: org.bukkit.Material; - public static SPRUCE_STAIRS: org.bukkit.Material; - public static SPRUCE_TRAPDOOR: org.bukkit.Material; - public static SPRUCE_WALL_SIGN: org.bukkit.Material; - public static SPRUCE_WOOD: org.bukkit.Material; - public static SQUID_SPAWN_EGG: org.bukkit.Material; - public static STICK: org.bukkit.Material; - public static STICKY_PISTON: org.bukkit.Material; - public static STONE: org.bukkit.Material; - public static STONECUTTER: org.bukkit.Material; - public static STONE_AXE: org.bukkit.Material; - public static STONE_BRICKS: org.bukkit.Material; - public static STONE_BRICK_SLAB: org.bukkit.Material; - public static STONE_BRICK_STAIRS: org.bukkit.Material; - public static STONE_BRICK_WALL: org.bukkit.Material; - public static STONE_BUTTON: org.bukkit.Material; - public static STONE_HOE: org.bukkit.Material; - public static STONE_PICKAXE: org.bukkit.Material; - public static STONE_PRESSURE_PLATE: org.bukkit.Material; - public static STONE_SHOVEL: org.bukkit.Material; - public static STONE_SLAB: org.bukkit.Material; - public static STONE_STAIRS: org.bukkit.Material; - public static STONE_SWORD: org.bukkit.Material; - public static STRAY_SPAWN_EGG: org.bukkit.Material; - public static STRING: org.bukkit.Material; - public static STRIPPED_ACACIA_LOG: org.bukkit.Material; - public static STRIPPED_ACACIA_WOOD: org.bukkit.Material; - public static STRIPPED_BIRCH_LOG: org.bukkit.Material; - public static STRIPPED_BIRCH_WOOD: org.bukkit.Material; - public static STRIPPED_DARK_OAK_LOG: org.bukkit.Material; - public static STRIPPED_DARK_OAK_WOOD: org.bukkit.Material; - public static STRIPPED_JUNGLE_LOG: org.bukkit.Material; - public static STRIPPED_JUNGLE_WOOD: org.bukkit.Material; - public static STRIPPED_OAK_LOG: org.bukkit.Material; - public static STRIPPED_OAK_WOOD: org.bukkit.Material; - public static STRIPPED_SPRUCE_LOG: org.bukkit.Material; - public static STRIPPED_SPRUCE_WOOD: org.bukkit.Material; - public static STRUCTURE_BLOCK: org.bukkit.Material; - public static STRUCTURE_VOID: org.bukkit.Material; - public static SUGAR: org.bukkit.Material; - public static SUGAR_CANE: org.bukkit.Material; - public static SUNFLOWER: org.bukkit.Material; - public static SUSPICIOUS_STEW: org.bukkit.Material; - public static SWEET_BERRIES: org.bukkit.Material; - public static SWEET_BERRY_BUSH: org.bukkit.Material; - public static TALL_GRASS: org.bukkit.Material; - public static TALL_SEAGRASS: org.bukkit.Material; - public static TERRACOTTA: org.bukkit.Material; - public static TIPPED_ARROW: org.bukkit.Material; - public static TNT: org.bukkit.Material; - public static TNT_MINECART: org.bukkit.Material; - public static TORCH: org.bukkit.Material; - public static TOTEM_OF_UNDYING: org.bukkit.Material; - public static TRADER_LLAMA_SPAWN_EGG: org.bukkit.Material; - public static TRAPPED_CHEST: org.bukkit.Material; - public static TRIDENT: org.bukkit.Material; - public static TRIPWIRE: org.bukkit.Material; - public static TRIPWIRE_HOOK: org.bukkit.Material; - public static TROPICAL_FISH: org.bukkit.Material; - public static TROPICAL_FISH_BUCKET: org.bukkit.Material; - public static TROPICAL_FISH_SPAWN_EGG: org.bukkit.Material; - public static TUBE_CORAL: org.bukkit.Material; - public static TUBE_CORAL_BLOCK: org.bukkit.Material; - public static TUBE_CORAL_FAN: org.bukkit.Material; - public static TUBE_CORAL_WALL_FAN: org.bukkit.Material; - public static TURTLE_EGG: org.bukkit.Material; - public static TURTLE_HELMET: org.bukkit.Material; - public static TURTLE_SPAWN_EGG: org.bukkit.Material; - public static VEX_SPAWN_EGG: org.bukkit.Material; - public static VILLAGER_SPAWN_EGG: org.bukkit.Material; - public static VINDICATOR_SPAWN_EGG: org.bukkit.Material; - public static VINE: org.bukkit.Material; - public static VOID_AIR: org.bukkit.Material; - public static WALL_TORCH: org.bukkit.Material; - public static WANDERING_TRADER_SPAWN_EGG: org.bukkit.Material; - public static WATER: org.bukkit.Material; - public static WATER_BUCKET: org.bukkit.Material; - public static WET_SPONGE: org.bukkit.Material; - public static WHEAT: org.bukkit.Material; - public static WHEAT_SEEDS: org.bukkit.Material; - public static WHITE_BANNER: org.bukkit.Material; - public static WHITE_BED: org.bukkit.Material; - public static WHITE_CARPET: org.bukkit.Material; - public static WHITE_CONCRETE: org.bukkit.Material; - public static WHITE_CONCRETE_POWDER: org.bukkit.Material; - public static WHITE_DYE: org.bukkit.Material; - public static WHITE_GLAZED_TERRACOTTA: org.bukkit.Material; - public static WHITE_SHULKER_BOX: org.bukkit.Material; - public static WHITE_STAINED_GLASS: org.bukkit.Material; - public static WHITE_STAINED_GLASS_PANE: org.bukkit.Material; - public static WHITE_TERRACOTTA: org.bukkit.Material; - public static WHITE_TULIP: org.bukkit.Material; - public static WHITE_WALL_BANNER: org.bukkit.Material; - public static WHITE_WOOL: org.bukkit.Material; - public static WITCH_SPAWN_EGG: org.bukkit.Material; - public static WITHER_ROSE: org.bukkit.Material; - public static WITHER_SKELETON_SKULL: org.bukkit.Material; - public static WITHER_SKELETON_SPAWN_EGG: org.bukkit.Material; - public static WITHER_SKELETON_WALL_SKULL: org.bukkit.Material; - public static WOLF_SPAWN_EGG: org.bukkit.Material; - public static WOODEN_AXE: org.bukkit.Material; - public static WOODEN_HOE: org.bukkit.Material; - public static WOODEN_PICKAXE: org.bukkit.Material; - public static WOODEN_SHOVEL: org.bukkit.Material; - public static WOODEN_SWORD: org.bukkit.Material; - public static WRITABLE_BOOK: org.bukkit.Material; - public static WRITTEN_BOOK: org.bukkit.Material; - public static YELLOW_BANNER: org.bukkit.Material; - public static YELLOW_BED: org.bukkit.Material; - public static YELLOW_CARPET: org.bukkit.Material; - public static YELLOW_CONCRETE: org.bukkit.Material; - public static YELLOW_CONCRETE_POWDER: org.bukkit.Material; - public static YELLOW_DYE: org.bukkit.Material; - public static YELLOW_GLAZED_TERRACOTTA: org.bukkit.Material; - public static YELLOW_SHULKER_BOX: org.bukkit.Material; - public static YELLOW_STAINED_GLASS: org.bukkit.Material; - public static YELLOW_STAINED_GLASS_PANE: org.bukkit.Material; - public static YELLOW_TERRACOTTA: org.bukkit.Material; - public static YELLOW_WALL_BANNER: org.bukkit.Material; - public static YELLOW_WOOL: org.bukkit.Material; - public static ZOMBIE_HEAD: org.bukkit.Material; - public static ZOMBIE_HORSE_SPAWN_EGG: org.bukkit.Material; - public static ZOMBIE_PIGMAN_SPAWN_EGG: org.bukkit.Material; - public static ZOMBIE_SPAWN_EGG: org.bukkit.Material; - public static ZOMBIE_VILLAGER_SPAWN_EGG: org.bukkit.Material; - public static ZOMBIE_WALL_HEAD: org.bukkit.Material; - public static LEGACY_AIR: org.bukkit.Material; - public static LEGACY_STONE: org.bukkit.Material; - public static LEGACY_GRASS: org.bukkit.Material; - public static LEGACY_DIRT: org.bukkit.Material; - public static LEGACY_COBBLESTONE: org.bukkit.Material; - public static LEGACY_WOOD: org.bukkit.Material; - public static LEGACY_SAPLING: org.bukkit.Material; - public static LEGACY_BEDROCK: org.bukkit.Material; - public static LEGACY_WATER: org.bukkit.Material; - public static LEGACY_STATIONARY_WATER: org.bukkit.Material; - public static LEGACY_LAVA: org.bukkit.Material; - public static LEGACY_STATIONARY_LAVA: org.bukkit.Material; - public static LEGACY_SAND: org.bukkit.Material; - public static LEGACY_GRAVEL: org.bukkit.Material; - public static LEGACY_GOLD_ORE: org.bukkit.Material; - public static LEGACY_IRON_ORE: org.bukkit.Material; - public static LEGACY_COAL_ORE: org.bukkit.Material; - public static LEGACY_LOG: org.bukkit.Material; - public static LEGACY_LEAVES: org.bukkit.Material; - public static LEGACY_SPONGE: org.bukkit.Material; - public static LEGACY_GLASS: org.bukkit.Material; - public static LEGACY_LAPIS_ORE: org.bukkit.Material; - public static LEGACY_LAPIS_BLOCK: org.bukkit.Material; - public static LEGACY_DISPENSER: org.bukkit.Material; - public static LEGACY_SANDSTONE: org.bukkit.Material; - public static LEGACY_NOTE_BLOCK: org.bukkit.Material; - public static LEGACY_BED_BLOCK: org.bukkit.Material; - public static LEGACY_POWERED_RAIL: org.bukkit.Material; - public static LEGACY_DETECTOR_RAIL: org.bukkit.Material; - public static LEGACY_PISTON_STICKY_BASE: org.bukkit.Material; - public static LEGACY_WEB: org.bukkit.Material; - public static LEGACY_LONG_GRASS: org.bukkit.Material; - public static LEGACY_DEAD_BUSH: org.bukkit.Material; - public static LEGACY_PISTON_BASE: org.bukkit.Material; - public static LEGACY_PISTON_EXTENSION: org.bukkit.Material; - public static LEGACY_WOOL: org.bukkit.Material; - public static LEGACY_PISTON_MOVING_PIECE: org.bukkit.Material; - public static LEGACY_YELLOW_FLOWER: org.bukkit.Material; - public static LEGACY_RED_ROSE: org.bukkit.Material; - public static LEGACY_BROWN_MUSHROOM: org.bukkit.Material; - public static LEGACY_RED_MUSHROOM: org.bukkit.Material; - public static LEGACY_GOLD_BLOCK: org.bukkit.Material; - public static LEGACY_IRON_BLOCK: org.bukkit.Material; - public static LEGACY_DOUBLE_STEP: org.bukkit.Material; - public static LEGACY_STEP: org.bukkit.Material; - public static LEGACY_BRICK: org.bukkit.Material; - public static LEGACY_TNT: org.bukkit.Material; - public static LEGACY_BOOKSHELF: org.bukkit.Material; - public static LEGACY_MOSSY_COBBLESTONE: org.bukkit.Material; - public static LEGACY_OBSIDIAN: org.bukkit.Material; - public static LEGACY_TORCH: org.bukkit.Material; - public static LEGACY_FIRE: org.bukkit.Material; - public static LEGACY_MOB_SPAWNER: org.bukkit.Material; - public static LEGACY_WOOD_STAIRS: org.bukkit.Material; - public static LEGACY_CHEST: org.bukkit.Material; - public static LEGACY_REDSTONE_WIRE: org.bukkit.Material; - public static LEGACY_DIAMOND_ORE: org.bukkit.Material; - public static LEGACY_DIAMOND_BLOCK: org.bukkit.Material; - public static LEGACY_WORKBENCH: org.bukkit.Material; - public static LEGACY_CROPS: org.bukkit.Material; - public static LEGACY_SOIL: org.bukkit.Material; - public static LEGACY_FURNACE: org.bukkit.Material; - public static LEGACY_BURNING_FURNACE: org.bukkit.Material; - public static LEGACY_SIGN_POST: org.bukkit.Material; - public static LEGACY_WOODEN_DOOR: org.bukkit.Material; - public static LEGACY_LADDER: org.bukkit.Material; - public static LEGACY_RAILS: org.bukkit.Material; - public static LEGACY_COBBLESTONE_STAIRS: org.bukkit.Material; - public static LEGACY_WALL_SIGN: org.bukkit.Material; - public static LEGACY_LEVER: org.bukkit.Material; - public static LEGACY_STONE_PLATE: org.bukkit.Material; - public static LEGACY_IRON_DOOR_BLOCK: org.bukkit.Material; - public static LEGACY_WOOD_PLATE: org.bukkit.Material; - public static LEGACY_REDSTONE_ORE: org.bukkit.Material; - public static LEGACY_GLOWING_REDSTONE_ORE: org.bukkit.Material; - public static LEGACY_REDSTONE_TORCH_OFF: org.bukkit.Material; - public static LEGACY_REDSTONE_TORCH_ON: org.bukkit.Material; - public static LEGACY_STONE_BUTTON: org.bukkit.Material; - public static LEGACY_SNOW: org.bukkit.Material; - public static LEGACY_ICE: org.bukkit.Material; - public static LEGACY_SNOW_BLOCK: org.bukkit.Material; - public static LEGACY_CACTUS: org.bukkit.Material; - public static LEGACY_CLAY: org.bukkit.Material; - public static LEGACY_SUGAR_CANE_BLOCK: org.bukkit.Material; - public static LEGACY_JUKEBOX: org.bukkit.Material; - public static LEGACY_FENCE: org.bukkit.Material; - public static LEGACY_PUMPKIN: org.bukkit.Material; - public static LEGACY_NETHERRACK: org.bukkit.Material; - public static LEGACY_SOUL_SAND: org.bukkit.Material; - public static LEGACY_GLOWSTONE: org.bukkit.Material; - public static LEGACY_PORTAL: org.bukkit.Material; - public static LEGACY_JACK_O_LANTERN: org.bukkit.Material; - public static LEGACY_CAKE_BLOCK: org.bukkit.Material; - public static LEGACY_DIODE_BLOCK_OFF: org.bukkit.Material; - public static LEGACY_DIODE_BLOCK_ON: org.bukkit.Material; - public static LEGACY_STAINED_GLASS: org.bukkit.Material; - public static LEGACY_TRAP_DOOR: org.bukkit.Material; - public static LEGACY_MONSTER_EGGS: org.bukkit.Material; - public static LEGACY_SMOOTH_BRICK: org.bukkit.Material; - public static LEGACY_HUGE_MUSHROOM_1: org.bukkit.Material; - public static LEGACY_HUGE_MUSHROOM_2: org.bukkit.Material; - public static LEGACY_IRON_FENCE: org.bukkit.Material; - public static LEGACY_THIN_GLASS: org.bukkit.Material; - public static LEGACY_MELON_BLOCK: org.bukkit.Material; - public static LEGACY_PUMPKIN_STEM: org.bukkit.Material; - public static LEGACY_MELON_STEM: org.bukkit.Material; - public static LEGACY_VINE: org.bukkit.Material; - public static LEGACY_FENCE_GATE: org.bukkit.Material; - public static LEGACY_BRICK_STAIRS: org.bukkit.Material; - public static LEGACY_SMOOTH_STAIRS: org.bukkit.Material; - public static LEGACY_MYCEL: org.bukkit.Material; - public static LEGACY_WATER_LILY: org.bukkit.Material; - public static LEGACY_NETHER_BRICK: org.bukkit.Material; - public static LEGACY_NETHER_FENCE: org.bukkit.Material; - public static LEGACY_NETHER_BRICK_STAIRS: org.bukkit.Material; - public static LEGACY_NETHER_WARTS: org.bukkit.Material; - public static LEGACY_ENCHANTMENT_TABLE: org.bukkit.Material; - public static LEGACY_BREWING_STAND: org.bukkit.Material; - public static LEGACY_CAULDRON: org.bukkit.Material; - public static LEGACY_ENDER_PORTAL: org.bukkit.Material; - public static LEGACY_ENDER_PORTAL_FRAME: org.bukkit.Material; - public static LEGACY_ENDER_STONE: org.bukkit.Material; - public static LEGACY_DRAGON_EGG: org.bukkit.Material; - public static LEGACY_REDSTONE_LAMP_OFF: org.bukkit.Material; - public static LEGACY_REDSTONE_LAMP_ON: org.bukkit.Material; - public static LEGACY_WOOD_DOUBLE_STEP: org.bukkit.Material; - public static LEGACY_WOOD_STEP: org.bukkit.Material; - public static LEGACY_COCOA: org.bukkit.Material; - public static LEGACY_SANDSTONE_STAIRS: org.bukkit.Material; - public static LEGACY_EMERALD_ORE: org.bukkit.Material; - public static LEGACY_ENDER_CHEST: org.bukkit.Material; - public static LEGACY_TRIPWIRE_HOOK: org.bukkit.Material; - public static LEGACY_TRIPWIRE: org.bukkit.Material; - public static LEGACY_EMERALD_BLOCK: org.bukkit.Material; - public static LEGACY_SPRUCE_WOOD_STAIRS: org.bukkit.Material; - public static LEGACY_BIRCH_WOOD_STAIRS: org.bukkit.Material; - public static LEGACY_JUNGLE_WOOD_STAIRS: org.bukkit.Material; - public static LEGACY_COMMAND: org.bukkit.Material; - public static LEGACY_BEACON: org.bukkit.Material; - public static LEGACY_COBBLE_WALL: org.bukkit.Material; - public static LEGACY_FLOWER_POT: org.bukkit.Material; - public static LEGACY_CARROT: org.bukkit.Material; - public static LEGACY_POTATO: org.bukkit.Material; - public static LEGACY_WOOD_BUTTON: org.bukkit.Material; - public static LEGACY_SKULL: org.bukkit.Material; - public static LEGACY_ANVIL: org.bukkit.Material; - public static LEGACY_TRAPPED_CHEST: org.bukkit.Material; - public static LEGACY_GOLD_PLATE: org.bukkit.Material; - public static LEGACY_IRON_PLATE: org.bukkit.Material; - public static LEGACY_REDSTONE_COMPARATOR_OFF: org.bukkit.Material; - public static LEGACY_REDSTONE_COMPARATOR_ON: org.bukkit.Material; - public static LEGACY_DAYLIGHT_DETECTOR: org.bukkit.Material; - public static LEGACY_REDSTONE_BLOCK: org.bukkit.Material; - public static LEGACY_QUARTZ_ORE: org.bukkit.Material; - public static LEGACY_HOPPER: org.bukkit.Material; - public static LEGACY_QUARTZ_BLOCK: org.bukkit.Material; - public static LEGACY_QUARTZ_STAIRS: org.bukkit.Material; - public static LEGACY_ACTIVATOR_RAIL: org.bukkit.Material; - public static LEGACY_DROPPER: org.bukkit.Material; - public static LEGACY_STAINED_CLAY: org.bukkit.Material; - public static LEGACY_STAINED_GLASS_PANE: org.bukkit.Material; - public static LEGACY_LEAVES_2: org.bukkit.Material; - public static LEGACY_LOG_2: org.bukkit.Material; - public static LEGACY_ACACIA_STAIRS: org.bukkit.Material; - public static LEGACY_DARK_OAK_STAIRS: org.bukkit.Material; - public static LEGACY_SLIME_BLOCK: org.bukkit.Material; - public static LEGACY_BARRIER: org.bukkit.Material; - public static LEGACY_IRON_TRAPDOOR: org.bukkit.Material; - public static LEGACY_PRISMARINE: org.bukkit.Material; - public static LEGACY_SEA_LANTERN: org.bukkit.Material; - public static LEGACY_HAY_BLOCK: org.bukkit.Material; - public static LEGACY_CARPET: org.bukkit.Material; - public static LEGACY_HARD_CLAY: org.bukkit.Material; - public static LEGACY_COAL_BLOCK: org.bukkit.Material; - public static LEGACY_PACKED_ICE: org.bukkit.Material; - public static LEGACY_DOUBLE_PLANT: org.bukkit.Material; - public static LEGACY_STANDING_BANNER: org.bukkit.Material; - public static LEGACY_WALL_BANNER: org.bukkit.Material; - public static LEGACY_DAYLIGHT_DETECTOR_INVERTED: org.bukkit.Material; - public static LEGACY_RED_SANDSTONE: org.bukkit.Material; - public static LEGACY_RED_SANDSTONE_STAIRS: org.bukkit.Material; - public static LEGACY_DOUBLE_STONE_SLAB2: org.bukkit.Material; - public static LEGACY_STONE_SLAB2: org.bukkit.Material; - public static LEGACY_SPRUCE_FENCE_GATE: org.bukkit.Material; - public static LEGACY_BIRCH_FENCE_GATE: org.bukkit.Material; - public static LEGACY_JUNGLE_FENCE_GATE: org.bukkit.Material; - public static LEGACY_DARK_OAK_FENCE_GATE: org.bukkit.Material; - public static LEGACY_ACACIA_FENCE_GATE: org.bukkit.Material; - public static LEGACY_SPRUCE_FENCE: org.bukkit.Material; - public static LEGACY_BIRCH_FENCE: org.bukkit.Material; - public static LEGACY_JUNGLE_FENCE: org.bukkit.Material; - public static LEGACY_DARK_OAK_FENCE: org.bukkit.Material; - public static LEGACY_ACACIA_FENCE: org.bukkit.Material; - public static LEGACY_SPRUCE_DOOR: org.bukkit.Material; - public static LEGACY_BIRCH_DOOR: org.bukkit.Material; - public static LEGACY_JUNGLE_DOOR: org.bukkit.Material; - public static LEGACY_ACACIA_DOOR: org.bukkit.Material; - public static LEGACY_DARK_OAK_DOOR: org.bukkit.Material; - public static LEGACY_END_ROD: org.bukkit.Material; - public static LEGACY_CHORUS_PLANT: org.bukkit.Material; - public static LEGACY_CHORUS_FLOWER: org.bukkit.Material; - public static LEGACY_PURPUR_BLOCK: org.bukkit.Material; - public static LEGACY_PURPUR_PILLAR: org.bukkit.Material; - public static LEGACY_PURPUR_STAIRS: org.bukkit.Material; - public static LEGACY_PURPUR_DOUBLE_SLAB: org.bukkit.Material; - public static LEGACY_PURPUR_SLAB: org.bukkit.Material; - public static LEGACY_END_BRICKS: org.bukkit.Material; - public static LEGACY_BEETROOT_BLOCK: org.bukkit.Material; - public static LEGACY_GRASS_PATH: org.bukkit.Material; - public static LEGACY_END_GATEWAY: org.bukkit.Material; - public static LEGACY_COMMAND_REPEATING: org.bukkit.Material; - public static LEGACY_COMMAND_CHAIN: org.bukkit.Material; - public static LEGACY_FROSTED_ICE: org.bukkit.Material; - public static LEGACY_MAGMA: org.bukkit.Material; - public static LEGACY_NETHER_WART_BLOCK: org.bukkit.Material; - public static LEGACY_RED_NETHER_BRICK: org.bukkit.Material; - public static LEGACY_BONE_BLOCK: org.bukkit.Material; - public static LEGACY_STRUCTURE_VOID: org.bukkit.Material; - public static LEGACY_OBSERVER: org.bukkit.Material; - public static LEGACY_WHITE_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_ORANGE_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_MAGENTA_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_LIGHT_BLUE_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_YELLOW_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_LIME_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_PINK_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_GRAY_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_SILVER_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_CYAN_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_PURPLE_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_BLUE_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_BROWN_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_GREEN_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_RED_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_BLACK_SHULKER_BOX: org.bukkit.Material; - public static LEGACY_WHITE_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_ORANGE_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_MAGENTA_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_LIGHT_BLUE_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_YELLOW_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_LIME_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_PINK_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_GRAY_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_SILVER_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_CYAN_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_PURPLE_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_BLUE_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_BROWN_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_GREEN_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_RED_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_BLACK_GLAZED_TERRACOTTA: org.bukkit.Material; - public static LEGACY_CONCRETE: org.bukkit.Material; - public static LEGACY_CONCRETE_POWDER: org.bukkit.Material; - public static LEGACY_STRUCTURE_BLOCK: org.bukkit.Material; - public static LEGACY_IRON_SPADE: org.bukkit.Material; - public static LEGACY_IRON_PICKAXE: org.bukkit.Material; - public static LEGACY_IRON_AXE: org.bukkit.Material; - public static LEGACY_FLINT_AND_STEEL: org.bukkit.Material; - public static LEGACY_APPLE: org.bukkit.Material; - public static LEGACY_BOW: org.bukkit.Material; - public static LEGACY_ARROW: org.bukkit.Material; - public static LEGACY_COAL: org.bukkit.Material; - public static LEGACY_DIAMOND: org.bukkit.Material; - public static LEGACY_IRON_INGOT: org.bukkit.Material; - public static LEGACY_GOLD_INGOT: org.bukkit.Material; - public static LEGACY_IRON_SWORD: org.bukkit.Material; - public static LEGACY_WOOD_SWORD: org.bukkit.Material; - public static LEGACY_WOOD_SPADE: org.bukkit.Material; - public static LEGACY_WOOD_PICKAXE: org.bukkit.Material; - public static LEGACY_WOOD_AXE: org.bukkit.Material; - public static LEGACY_STONE_SWORD: org.bukkit.Material; - public static LEGACY_STONE_SPADE: org.bukkit.Material; - public static LEGACY_STONE_PICKAXE: org.bukkit.Material; - public static LEGACY_STONE_AXE: org.bukkit.Material; - public static LEGACY_DIAMOND_SWORD: org.bukkit.Material; - public static LEGACY_DIAMOND_SPADE: org.bukkit.Material; - public static LEGACY_DIAMOND_PICKAXE: org.bukkit.Material; - public static LEGACY_DIAMOND_AXE: org.bukkit.Material; - public static LEGACY_STICK: org.bukkit.Material; - public static LEGACY_BOWL: org.bukkit.Material; - public static LEGACY_MUSHROOM_SOUP: org.bukkit.Material; - public static LEGACY_GOLD_SWORD: org.bukkit.Material; - public static LEGACY_GOLD_SPADE: org.bukkit.Material; - public static LEGACY_GOLD_PICKAXE: org.bukkit.Material; - public static LEGACY_GOLD_AXE: org.bukkit.Material; - public static LEGACY_STRING: org.bukkit.Material; - public static LEGACY_FEATHER: org.bukkit.Material; - public static LEGACY_SULPHUR: org.bukkit.Material; - public static LEGACY_WOOD_HOE: org.bukkit.Material; - public static LEGACY_STONE_HOE: org.bukkit.Material; - public static LEGACY_IRON_HOE: org.bukkit.Material; - public static LEGACY_DIAMOND_HOE: org.bukkit.Material; - public static LEGACY_GOLD_HOE: org.bukkit.Material; - public static LEGACY_SEEDS: org.bukkit.Material; - public static LEGACY_WHEAT: org.bukkit.Material; - public static LEGACY_BREAD: org.bukkit.Material; - public static LEGACY_LEATHER_HELMET: org.bukkit.Material; - public static LEGACY_LEATHER_CHESTPLATE: org.bukkit.Material; - public static LEGACY_LEATHER_LEGGINGS: org.bukkit.Material; - public static LEGACY_LEATHER_BOOTS: org.bukkit.Material; - public static LEGACY_CHAINMAIL_HELMET: org.bukkit.Material; - public static LEGACY_CHAINMAIL_CHESTPLATE: org.bukkit.Material; - public static LEGACY_CHAINMAIL_LEGGINGS: org.bukkit.Material; - public static LEGACY_CHAINMAIL_BOOTS: org.bukkit.Material; - public static LEGACY_IRON_HELMET: org.bukkit.Material; - public static LEGACY_IRON_CHESTPLATE: org.bukkit.Material; - public static LEGACY_IRON_LEGGINGS: org.bukkit.Material; - public static LEGACY_IRON_BOOTS: org.bukkit.Material; - public static LEGACY_DIAMOND_HELMET: org.bukkit.Material; - public static LEGACY_DIAMOND_CHESTPLATE: org.bukkit.Material; - public static LEGACY_DIAMOND_LEGGINGS: org.bukkit.Material; - public static LEGACY_DIAMOND_BOOTS: org.bukkit.Material; - public static LEGACY_GOLD_HELMET: org.bukkit.Material; - public static LEGACY_GOLD_CHESTPLATE: org.bukkit.Material; - public static LEGACY_GOLD_LEGGINGS: org.bukkit.Material; - public static LEGACY_GOLD_BOOTS: org.bukkit.Material; - public static LEGACY_FLINT: org.bukkit.Material; - public static LEGACY_PORK: org.bukkit.Material; - public static LEGACY_GRILLED_PORK: org.bukkit.Material; - public static LEGACY_PAINTING: org.bukkit.Material; - public static LEGACY_GOLDEN_APPLE: org.bukkit.Material; - public static LEGACY_SIGN: org.bukkit.Material; - public static LEGACY_WOOD_DOOR: org.bukkit.Material; - public static LEGACY_BUCKET: org.bukkit.Material; - public static LEGACY_WATER_BUCKET: org.bukkit.Material; - public static LEGACY_LAVA_BUCKET: org.bukkit.Material; - public static LEGACY_MINECART: org.bukkit.Material; - public static LEGACY_SADDLE: org.bukkit.Material; - public static LEGACY_IRON_DOOR: org.bukkit.Material; - public static LEGACY_REDSTONE: org.bukkit.Material; - public static LEGACY_SNOW_BALL: org.bukkit.Material; - public static LEGACY_BOAT: org.bukkit.Material; - public static LEGACY_LEATHER: org.bukkit.Material; - public static LEGACY_MILK_BUCKET: org.bukkit.Material; - public static LEGACY_CLAY_BRICK: org.bukkit.Material; - public static LEGACY_CLAY_BALL: org.bukkit.Material; - public static LEGACY_SUGAR_CANE: org.bukkit.Material; - public static LEGACY_PAPER: org.bukkit.Material; - public static LEGACY_BOOK: org.bukkit.Material; - public static LEGACY_SLIME_BALL: org.bukkit.Material; - public static LEGACY_STORAGE_MINECART: org.bukkit.Material; - public static LEGACY_POWERED_MINECART: org.bukkit.Material; - public static LEGACY_EGG: org.bukkit.Material; - public static LEGACY_COMPASS: org.bukkit.Material; - public static LEGACY_FISHING_ROD: org.bukkit.Material; - public static LEGACY_WATCH: org.bukkit.Material; - public static LEGACY_GLOWSTONE_DUST: org.bukkit.Material; - public static LEGACY_RAW_FISH: org.bukkit.Material; - public static LEGACY_COOKED_FISH: org.bukkit.Material; - public static LEGACY_INK_SACK: org.bukkit.Material; - public static LEGACY_BONE: org.bukkit.Material; - public static LEGACY_SUGAR: org.bukkit.Material; - public static LEGACY_CAKE: org.bukkit.Material; - public static LEGACY_BED: org.bukkit.Material; - public static LEGACY_DIODE: org.bukkit.Material; - public static LEGACY_COOKIE: org.bukkit.Material; - public static LEGACY_MAP: org.bukkit.Material; - public static LEGACY_SHEARS: org.bukkit.Material; - public static LEGACY_MELON: org.bukkit.Material; - public static LEGACY_PUMPKIN_SEEDS: org.bukkit.Material; - public static LEGACY_MELON_SEEDS: org.bukkit.Material; - public static LEGACY_RAW_BEEF: org.bukkit.Material; - public static LEGACY_COOKED_BEEF: org.bukkit.Material; - public static LEGACY_RAW_CHICKEN: org.bukkit.Material; - public static LEGACY_COOKED_CHICKEN: org.bukkit.Material; - public static LEGACY_ROTTEN_FLESH: org.bukkit.Material; - public static LEGACY_ENDER_PEARL: org.bukkit.Material; - public static LEGACY_BLAZE_ROD: org.bukkit.Material; - public static LEGACY_GHAST_TEAR: org.bukkit.Material; - public static LEGACY_GOLD_NUGGET: org.bukkit.Material; - public static LEGACY_NETHER_STALK: org.bukkit.Material; - public static LEGACY_POTION: org.bukkit.Material; - public static LEGACY_GLASS_BOTTLE: org.bukkit.Material; - public static LEGACY_SPIDER_EYE: org.bukkit.Material; - public static LEGACY_FERMENTED_SPIDER_EYE: org.bukkit.Material; - public static LEGACY_BLAZE_POWDER: org.bukkit.Material; - public static LEGACY_MAGMA_CREAM: org.bukkit.Material; - public static LEGACY_BREWING_STAND_ITEM: org.bukkit.Material; - public static LEGACY_CAULDRON_ITEM: org.bukkit.Material; - public static LEGACY_EYE_OF_ENDER: org.bukkit.Material; - public static LEGACY_SPECKLED_MELON: org.bukkit.Material; - public static LEGACY_MONSTER_EGG: org.bukkit.Material; - public static LEGACY_EXP_BOTTLE: org.bukkit.Material; - public static LEGACY_FIREBALL: org.bukkit.Material; - public static LEGACY_BOOK_AND_QUILL: org.bukkit.Material; - public static LEGACY_WRITTEN_BOOK: org.bukkit.Material; - public static LEGACY_EMERALD: org.bukkit.Material; - public static LEGACY_ITEM_FRAME: org.bukkit.Material; - public static LEGACY_FLOWER_POT_ITEM: org.bukkit.Material; - public static LEGACY_CARROT_ITEM: org.bukkit.Material; - public static LEGACY_POTATO_ITEM: org.bukkit.Material; - public static LEGACY_BAKED_POTATO: org.bukkit.Material; - public static LEGACY_POISONOUS_POTATO: org.bukkit.Material; - public static LEGACY_EMPTY_MAP: org.bukkit.Material; - public static LEGACY_GOLDEN_CARROT: org.bukkit.Material; - public static LEGACY_SKULL_ITEM: org.bukkit.Material; - public static LEGACY_CARROT_STICK: org.bukkit.Material; - public static LEGACY_NETHER_STAR: org.bukkit.Material; - public static LEGACY_PUMPKIN_PIE: org.bukkit.Material; - public static LEGACY_FIREWORK: org.bukkit.Material; - public static LEGACY_FIREWORK_CHARGE: org.bukkit.Material; - public static LEGACY_ENCHANTED_BOOK: org.bukkit.Material; - public static LEGACY_REDSTONE_COMPARATOR: org.bukkit.Material; - public static LEGACY_NETHER_BRICK_ITEM: org.bukkit.Material; - public static LEGACY_QUARTZ: org.bukkit.Material; - public static LEGACY_EXPLOSIVE_MINECART: org.bukkit.Material; - public static LEGACY_HOPPER_MINECART: org.bukkit.Material; - public static LEGACY_PRISMARINE_SHARD: org.bukkit.Material; - public static LEGACY_PRISMARINE_CRYSTALS: org.bukkit.Material; - public static LEGACY_RABBIT: org.bukkit.Material; - public static LEGACY_COOKED_RABBIT: org.bukkit.Material; - public static LEGACY_RABBIT_STEW: org.bukkit.Material; - public static LEGACY_RABBIT_FOOT: org.bukkit.Material; - public static LEGACY_RABBIT_HIDE: org.bukkit.Material; - public static LEGACY_ARMOR_STAND: org.bukkit.Material; - public static LEGACY_IRON_BARDING: org.bukkit.Material; - public static LEGACY_GOLD_BARDING: org.bukkit.Material; - public static LEGACY_DIAMOND_BARDING: org.bukkit.Material; - public static LEGACY_LEASH: org.bukkit.Material; - public static LEGACY_NAME_TAG: org.bukkit.Material; - public static LEGACY_COMMAND_MINECART: org.bukkit.Material; - public static LEGACY_MUTTON: org.bukkit.Material; - public static LEGACY_COOKED_MUTTON: org.bukkit.Material; - public static LEGACY_BANNER: org.bukkit.Material; - public static LEGACY_END_CRYSTAL: org.bukkit.Material; - public static LEGACY_SPRUCE_DOOR_ITEM: org.bukkit.Material; - public static LEGACY_BIRCH_DOOR_ITEM: org.bukkit.Material; - public static LEGACY_JUNGLE_DOOR_ITEM: org.bukkit.Material; - public static LEGACY_ACACIA_DOOR_ITEM: org.bukkit.Material; - public static LEGACY_DARK_OAK_DOOR_ITEM: org.bukkit.Material; - public static LEGACY_CHORUS_FRUIT: org.bukkit.Material; - public static LEGACY_CHORUS_FRUIT_POPPED: org.bukkit.Material; - public static LEGACY_BEETROOT: org.bukkit.Material; - public static LEGACY_BEETROOT_SEEDS: org.bukkit.Material; - public static LEGACY_BEETROOT_SOUP: org.bukkit.Material; - public static LEGACY_DRAGONS_BREATH: org.bukkit.Material; - public static LEGACY_SPLASH_POTION: org.bukkit.Material; - public static LEGACY_SPECTRAL_ARROW: org.bukkit.Material; - public static LEGACY_TIPPED_ARROW: org.bukkit.Material; - public static LEGACY_LINGERING_POTION: org.bukkit.Material; - public static LEGACY_SHIELD: org.bukkit.Material; - public static LEGACY_ELYTRA: org.bukkit.Material; - public static LEGACY_BOAT_SPRUCE: org.bukkit.Material; - public static LEGACY_BOAT_BIRCH: org.bukkit.Material; - public static LEGACY_BOAT_JUNGLE: org.bukkit.Material; - public static LEGACY_BOAT_ACACIA: org.bukkit.Material; - public static LEGACY_BOAT_DARK_OAK: org.bukkit.Material; - public static LEGACY_TOTEM: org.bukkit.Material; - public static LEGACY_SHULKER_SHELL: org.bukkit.Material; - public static LEGACY_IRON_NUGGET: org.bukkit.Material; - public static LEGACY_KNOWLEDGE_BOOK: org.bukkit.Material; - public static LEGACY_GOLD_RECORD: org.bukkit.Material; - public static LEGACY_GREEN_RECORD: org.bukkit.Material; - public static LEGACY_RECORD_3: org.bukkit.Material; - public static LEGACY_RECORD_4: org.bukkit.Material; - public static LEGACY_RECORD_5: org.bukkit.Material; - public static LEGACY_RECORD_6: org.bukkit.Material; - public static LEGACY_RECORD_7: org.bukkit.Material; - public static LEGACY_RECORD_8: org.bukkit.Material; - public static LEGACY_RECORD_9: org.bukkit.Material; - public static LEGACY_RECORD_10: org.bukkit.Material; - public static LEGACY_RECORD_11: org.bukkit.Material; - public static LEGACY_RECORD_12: org.bukkit.Material; - public static LEGACY_PREFIX: string; - public data: any; - public static values(): org.bukkit.Material[]; - public static valueOf(name: string): org.bukkit.Material; - /** - * Do not use for any reason. - */ - public getId(): number; - /** - * Do not use for any reason. - */ - public isLegacy(): boolean; - public getKey(): org.bukkit.NamespacedKey; - /** - * Gets the maximum amount of this material that can be held in a stack - */ - public getMaxStackSize(): number; - /** - * Gets the maximum durability of this material - */ - public getMaxDurability(): number; - /** - * Creates a new {@link BlockData} instance for this Material, with all - * properties initialized to unspecified defaults. - */ - public createBlockData(): org.bukkit.block.data.BlockData; - /** - * Creates a new {@link BlockData} instance for this Material, with - * all properties initialized to unspecified defaults. - */ - public createBlockData(consumer: any): org.bukkit.block.data.BlockData; - /** - * Creates a new {@link BlockData} instance for this Material, with all - * properties initialized to unspecified defaults, except for those provided - * in data. - */ - public createBlockData(data: string): org.bukkit.block.data.BlockData; - /** - * Gets the MaterialData class associated with this Material - */ - public getData(): any; - /** - * Constructs a new MaterialData relevant for this Material, with the - * given initial data - */ - public getNewData(raw: number): org.bukkit.material.MaterialData; - /** - * Checks if this Material is a placable block - */ - public isBlock(): boolean; - /** - * Checks if this Material is edible. - */ - public isEdible(): boolean; - /** - * Attempts to get the Material with the given name. - *

- * This is a normal lookup, names must be the precise name they are given - * in the enum. - */ - public static getMaterial(name: string): org.bukkit.Material; - /** - * Attempts to get the Material with the given name. - *

- * This is a normal lookup, names must be the precise name they are given - * in the enum. - */ - public static getMaterial(name: string, legacyName: boolean): org.bukkit.Material; - /** - * Attempts to match the Material with the given name. - *

- * This is a match lookup; names will be stripped of the "minecraft:" - * namespace, converted to uppercase, then stripped of special characters in - * an attempt to format it like the enum. - */ - public static matchMaterial(name: string): org.bukkit.Material; - /** - * Attempts to match the Material with the given name. - *

- * This is a match lookup; names will be stripped of the "minecraft:" - * namespace, converted to uppercase, then stripped of special characters in - * an attempt to format it like the enum. - */ - public static matchMaterial(name: string, legacyName: boolean): org.bukkit.Material; - public isRecord(): boolean; - /** - * Check if the material is a block and solid (can be built upon) - */ - public isSolid(): boolean; - /** - * Check if the material is a block and does not block any light - */ - public isTransparent(): boolean; - /** - * Check if the material is a block and can catch fire - */ - public isFlammable(): boolean; - /** - * Check if the material is a block and can burn away - */ - public isBurnable(): boolean; - /** - * Checks if this Material can be used as fuel in a Furnace - */ - public isFuel(): boolean; - /** - * Check if the material is a block and completely blocks vision - */ - public isOccluding(): boolean; - public hasGravity(): boolean; - /** - * Checks if this Material is an obtainable item. - */ - public isItem(): boolean; - /** - * Checks if this Material can be interacted with. - * Interactable materials include those with functionality when they are - * interacted with by a player such as chests, furnaces, etc. - * Some blocks such as piston heads and stairs are considered interactable - * though may not perform any additional functionality. - * Note that the interactability of some materials may be dependant on their - * state as well. This method will return true if there is at least one - * state in which additional interact handling is performed for the - * material. - */ - public isInteractable(): boolean; - /** - * Obtains the block's hardness level (also known as "strength"). - *
- * This number is used to calculate the time required to break each block. - *
- * Only available when {@link #isBlock()} is true. - */ - public getHardness(): number; - /** - * Obtains the blast resistance value (also known as block "durability"). - *
- * This value is used in explosions to calculate whether a block should be - * broken or not. - *
- * Only available when {@link #isBlock()} is true. - */ - public getBlastResistance(): number; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Nameable.ts b/packages/bukkit/src/typings/org.bukkit.Nameable.ts deleted file mode 100644 index a0c25b75..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Nameable.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface Nameable { - /** - * Gets the custom name on a mob or block. If there is no name this method - * will return null. - *

- * This value has no effect on players, they will always use their real - * name. - */ - getCustomName(): string; - /** - * Sets a custom name on a mob or block. This name will be used in death - * messages and can be sent to the client as a nameplate over the mob. - *

- * Setting the name to null or an empty string will clear it. - *

- * This value has no effect on players, they will always use their real - * name. - */ - setCustomName(name: string): void; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.NamespacedKey.ts b/packages/bukkit/src/typings/org.bukkit.NamespacedKey.ts deleted file mode 100644 index 44b6c855..00000000 --- a/packages/bukkit/src/typings/org.bukkit.NamespacedKey.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class NamespacedKey { - /** - * Create a key in a specific namespace. - */ - constructor(namespace: string, key: string) - /** - * Create a key in the plugin's namespace. - *

- * Namespaces may only contain lowercase alphanumeric characters, periods, - * underscores, and hyphens. - *

- * Keys may only contain lowercase alphanumeric characters, periods, - * underscores, hyphens, and forward slashes. - */ - constructor(plugin: org.bukkit.plugin.Plugin, key: string) - public static MINECRAFT: string; - public static BUKKIT: string; - public getNamespace(): string; - public getKey(): string; - public hashCode(): number; - public equals(obj: any): boolean; - public toString(): string; - /** - * Return a new random key in the {@link #BUKKIT} namespace. - */ - public static randomKey(): org.bukkit.NamespacedKey; - /** - * Get a key in the Minecraft namespace. - */ - public static minecraft(key: string): org.bukkit.NamespacedKey; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.NetherWartsState.ts b/packages/bukkit/src/typings/org.bukkit.NetherWartsState.ts deleted file mode 100644 index bd662a0c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.NetherWartsState.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class NetherWartsState { - public static SEEDED: org.bukkit.NetherWartsState; - public static STAGE_ONE: org.bukkit.NetherWartsState; - public static STAGE_TWO: org.bukkit.NetherWartsState; - public static RIPE: org.bukkit.NetherWartsState; - public static values(): org.bukkit.NetherWartsState[]; - public static valueOf(name: string): org.bukkit.NetherWartsState; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Note.Tone.ts b/packages/bukkit/src/typings/org.bukkit.Note.Tone.ts deleted file mode 100644 index b24f3b9f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Note.Tone.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace Note { - // @ts-ignore - class Tone { - public static G: org.bukkit.Note.Tone; - public static A: org.bukkit.Note.Tone; - public static B: org.bukkit.Note.Tone; - public static C: org.bukkit.Note.Tone; - public static D: org.bukkit.Note.Tone; - public static E: org.bukkit.Note.Tone; - public static F: org.bukkit.Note.Tone; - public static TONES_COUNT: number; - public static values(): org.bukkit.Note.Tone[]; - public static valueOf(name: string): org.bukkit.Note.Tone; - /** - * Returns the not sharped id of this tone. - */ - public getId(): number; - /** - * Returns the id of this tone. These method allows to return the - * sharped id of the tone. If the tone couldn't be sharped it always - * return the not sharped id of this tone. - */ - public getId(sharped: boolean): number; - /** - * Returns if this tone could be sharped. - */ - public isSharpable(): boolean; - /** - * Returns if this tone id is the sharped id of the tone. - */ - public isSharped(id: number): boolean; - /** - * Returns the tone to id. Also returning the semitones. - */ - public static getById(id: number): org.bukkit.Note.Tone; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Note.ts b/packages/bukkit/src/typings/org.bukkit.Note.ts deleted file mode 100644 index af6be76a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Note.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Note { - /** - * Creates a new note. - */ - constructor(note: number) - /** - * Creates a new note. - */ - constructor(octave: number, tone: org.bukkit.Note.Tone, sharped: boolean) - /** - * Creates a new note for a flat tone, such as A-flat. - */ - public static flat(octave: number, tone: org.bukkit.Note.Tone): org.bukkit.Note; - /** - * Creates a new note for a sharp tone, such as A-sharp. - */ - public static sharp(octave: number, tone: org.bukkit.Note.Tone): org.bukkit.Note; - /** - * Creates a new note for a natural tone, such as A-natural. - */ - public static natural(octave: number, tone: org.bukkit.Note.Tone): org.bukkit.Note; - public sharped(): org.bukkit.Note; - public flattened(): org.bukkit.Note; - /** - * Returns the internal id of this note. - */ - public getId(): number; - /** - * Returns the octave of this note. - */ - public getOctave(): number; - /** - * Returns the tone of this note. - */ - public getTone(): org.bukkit.Note.Tone; - /** - * Returns if this note is sharped. - */ - public isSharped(): boolean; - public hashCode(): number; - public equals(obj: any): boolean; - public toString(): string; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.OfflinePlayer.ts b/packages/bukkit/src/typings/org.bukkit.OfflinePlayer.ts deleted file mode 100644 index 1ed9b031..00000000 --- a/packages/bukkit/src/typings/org.bukkit.OfflinePlayer.ts +++ /dev/null @@ -1,68 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface OfflinePlayer extends org.bukkit.permissions.ServerOperator, org.bukkit.entity.AnimalTamer, org.bukkit.configuration.serialization.ConfigurationSerializable { - /** - * Checks if this player is currently online - */ - isOnline(): boolean; - /** - * Returns the name of this player - *

- * Names are no longer unique past a single game session. For persistent storage - * it is recommended that you use {@link #getUniqueId()} instead. - */ - getName(): string; - /** - * Returns the UUID of this player - */ - getUniqueId(): any; - /** - * Checks if this player is banned or not - */ - isBanned(): boolean; - /** - * Checks if this player is whitelisted or not - */ - isWhitelisted(): boolean; - /** - * Sets if this player is whitelisted or not - */ - setWhitelisted(value: boolean): void; - /** - * Gets a {@link Player} object that this represents, if there is one - *

- * If the player is online, this will return that player. Otherwise, - * it will return null. - */ - getPlayer(): org.bukkit.entity.Player; - /** - * Gets the first date and time that this player was witnessed on this - * server. - *

- * If the player has never played before, this will return 0. Otherwise, - * it will be the amount of milliseconds since midnight, January 1, 1970 - * UTC. - */ - getFirstPlayed(): number; - /** - * Gets the last date and time that this player was witnessed on this - * server. - *

- * If the player has never played before, this will return 0. Otherwise, - * it will be the amount of milliseconds since midnight, January 1, 1970 - * UTC. - */ - getLastPlayed(): number; - /** - * Checks if this player has played on this server before. - */ - hasPlayedBefore(): boolean; - /** - * Gets the Location where the player will spawn at their bed, null if - * they have not slept in one or their current bed spawn is invalid. - */ - getBedSpawnLocation(): org.bukkit.Location; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Particle.DustOptions.ts b/packages/bukkit/src/typings/org.bukkit.Particle.DustOptions.ts deleted file mode 100644 index cd57e45c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Particle.DustOptions.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace Particle { - // @ts-ignore - class DustOptions { - constructor(color: org.bukkit.Color, size: number) - /** - * The color of the particles to be displayed. - */ - public getColor(): org.bukkit.Color; - /** - * Relative size of the particle. - */ - public getSize(): number; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Particle.ts b/packages/bukkit/src/typings/org.bukkit.Particle.ts deleted file mode 100644 index 5e0cd6e9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Particle.ts +++ /dev/null @@ -1,77 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Particle { - public static EXPLOSION_NORMAL: org.bukkit.Particle; - public static EXPLOSION_LARGE: org.bukkit.Particle; - public static EXPLOSION_HUGE: org.bukkit.Particle; - public static FIREWORKS_SPARK: org.bukkit.Particle; - public static WATER_BUBBLE: org.bukkit.Particle; - public static WATER_SPLASH: org.bukkit.Particle; - public static WATER_WAKE: org.bukkit.Particle; - public static SUSPENDED: org.bukkit.Particle; - public static SUSPENDED_DEPTH: org.bukkit.Particle; - public static CRIT: org.bukkit.Particle; - public static CRIT_MAGIC: org.bukkit.Particle; - public static SMOKE_NORMAL: org.bukkit.Particle; - public static SMOKE_LARGE: org.bukkit.Particle; - public static SPELL: org.bukkit.Particle; - public static SPELL_INSTANT: org.bukkit.Particle; - public static SPELL_MOB: org.bukkit.Particle; - public static SPELL_MOB_AMBIENT: org.bukkit.Particle; - public static SPELL_WITCH: org.bukkit.Particle; - public static DRIP_WATER: org.bukkit.Particle; - public static DRIP_LAVA: org.bukkit.Particle; - public static VILLAGER_ANGRY: org.bukkit.Particle; - public static VILLAGER_HAPPY: org.bukkit.Particle; - public static TOWN_AURA: org.bukkit.Particle; - public static NOTE: org.bukkit.Particle; - public static PORTAL: org.bukkit.Particle; - public static ENCHANTMENT_TABLE: org.bukkit.Particle; - public static FLAME: org.bukkit.Particle; - public static LAVA: org.bukkit.Particle; - public static CLOUD: org.bukkit.Particle; - public static REDSTONE: org.bukkit.Particle; - public static SNOWBALL: org.bukkit.Particle; - public static SNOW_SHOVEL: org.bukkit.Particle; - public static SLIME: org.bukkit.Particle; - public static HEART: org.bukkit.Particle; - public static BARRIER: org.bukkit.Particle; - public static ITEM_CRACK: org.bukkit.Particle; - public static BLOCK_CRACK: org.bukkit.Particle; - public static BLOCK_DUST: org.bukkit.Particle; - public static WATER_DROP: org.bukkit.Particle; - public static MOB_APPEARANCE: org.bukkit.Particle; - public static DRAGON_BREATH: org.bukkit.Particle; - public static END_ROD: org.bukkit.Particle; - public static DAMAGE_INDICATOR: org.bukkit.Particle; - public static SWEEP_ATTACK: org.bukkit.Particle; - public static FALLING_DUST: org.bukkit.Particle; - public static TOTEM: org.bukkit.Particle; - public static SPIT: org.bukkit.Particle; - public static SQUID_INK: org.bukkit.Particle; - public static BUBBLE_POP: org.bukkit.Particle; - public static CURRENT_DOWN: org.bukkit.Particle; - public static BUBBLE_COLUMN_UP: org.bukkit.Particle; - public static NAUTILUS: org.bukkit.Particle; - public static DOLPHIN: org.bukkit.Particle; - public static SNEEZE: org.bukkit.Particle; - public static CAMPFIRE_COSY_SMOKE: org.bukkit.Particle; - public static CAMPFIRE_SIGNAL_SMOKE: org.bukkit.Particle; - public static COMPOSTER: org.bukkit.Particle; - public static FLASH: org.bukkit.Particle; - public static FALLING_LAVA: org.bukkit.Particle; - public static LANDING_LAVA: org.bukkit.Particle; - public static FALLING_WATER: org.bukkit.Particle; - public static LEGACY_BLOCK_CRACK: org.bukkit.Particle; - public static LEGACY_BLOCK_DUST: org.bukkit.Particle; - public static LEGACY_FALLING_DUST: org.bukkit.Particle; - public static values(): org.bukkit.Particle[]; - public static valueOf(name: string): org.bukkit.Particle; - /** - * Returns the required data type for the particle - */ - public getDataType(): any; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.PortalType.ts b/packages/bukkit/src/typings/org.bukkit.PortalType.ts deleted file mode 100644 index e5907a90..00000000 --- a/packages/bukkit/src/typings/org.bukkit.PortalType.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class PortalType { - public static NETHER: org.bukkit.PortalType; - public static ENDER: org.bukkit.PortalType; - public static CUSTOM: org.bukkit.PortalType; - public static values(): org.bukkit.PortalType[]; - public static valueOf(name: string): org.bukkit.PortalType; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Registry.SimpleRegistry.ts b/packages/bukkit/src/typings/org.bukkit.Registry.SimpleRegistry.ts deleted file mode 100644 index 511df1dc..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Registry.SimpleRegistry.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace Registry { - // @ts-ignore - class SimpleRegistry implements org.bukkit.Registry { - constructor(type: any) - constructor(type: any, predicate: any) - public get(key: org.bukkit.NamespacedKey): any; - public iterator(): any; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Registry.ts b/packages/bukkit/src/typings/org.bukkit.Registry.ts deleted file mode 100644 index d509418d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Registry.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface Registry { - ADVANCEMENT: org.bukkit.Registry; - ART: org.bukkit.Registry; - BIOME: org.bukkit.Registry; - BOSS_BARS: org.bukkit.Registry; - ENCHANTMENT: org.bukkit.Registry; - ENTITY_TYPE: org.bukkit.Registry; - LOOT_TABLES: org.bukkit.Registry; - MATERIAL: org.bukkit.Registry; - STATISTIC: org.bukkit.Registry; - VILLAGER_PROFESSION: org.bukkit.Registry; - VILLAGER_TYPE: org.bukkit.Registry; - MEMORY_MODULE_TYPE: org.bukkit.Registry; - /** - * Get the object by its key. - */ - get(key: org.bukkit.NamespacedKey): org.bukkit.Keyed; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Rotation.ts b/packages/bukkit/src/typings/org.bukkit.Rotation.ts deleted file mode 100644 index dfa46e1d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Rotation.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Rotation { - public static NONE: org.bukkit.Rotation; - public static CLOCKWISE_45: org.bukkit.Rotation; - public static CLOCKWISE: org.bukkit.Rotation; - public static CLOCKWISE_135: org.bukkit.Rotation; - public static FLIPPED: org.bukkit.Rotation; - public static FLIPPED_45: org.bukkit.Rotation; - public static COUNTER_CLOCKWISE: org.bukkit.Rotation; - public static COUNTER_CLOCKWISE_45: org.bukkit.Rotation; - public static values(): org.bukkit.Rotation[]; - public static valueOf(name: string): org.bukkit.Rotation; - /** - * Rotate clockwise by 90 degrees. - */ - public rotateClockwise(): org.bukkit.Rotation; - /** - * Rotate counter-clockwise by 90 degrees. - */ - public rotateCounterClockwise(): org.bukkit.Rotation; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.SandstoneType.ts b/packages/bukkit/src/typings/org.bukkit.SandstoneType.ts deleted file mode 100644 index 2635dae5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.SandstoneType.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class SandstoneType { - public static CRACKED: org.bukkit.SandstoneType; - public static GLYPHED: org.bukkit.SandstoneType; - public static SMOOTH: org.bukkit.SandstoneType; - public static values(): org.bukkit.SandstoneType[]; - public static valueOf(name: string): org.bukkit.SandstoneType; - /** - * Gets the associated data value representing this type of sandstone - */ - public getData(): number; - /** - * Gets the type of sandstone with the given data value - */ - public static getByData(data: number): org.bukkit.SandstoneType; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Server.ts b/packages/bukkit/src/typings/org.bukkit.Server.ts deleted file mode 100644 index 20ec6d28..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Server.ts +++ /dev/null @@ -1,653 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface Server extends org.bukkit.plugin.messaging.PluginMessageRecipient { - BROADCAST_CHANNEL_ADMINISTRATIVE: string; - BROADCAST_CHANNEL_USERS: string; - /** - * Gets the name of this server implementation. - */ - getName(): string; - /** - * Gets the version string of this server implementation. - */ - getVersion(): string; - /** - * Gets the Bukkit version that this server is running. - */ - getBukkitVersion(): string; - /** - * Gets a view of all currently logged in players. This {@linkplain - * Collections#unmodifiableCollection(Collection) view} is a reused - * object, making some operations like {@link Collection#size()} - * zero-allocation. - *

- * The collection is a view backed by the internal representation, such - * that, changes to the internal state of the server will be reflected - * immediately. However, the reuse of the returned collection (identity) - * is not strictly guaranteed for future or all implementations. Casting - * the collection, or relying on interface implementations (like {@link - * Serializable} or {@link List}), is deprecated. - *

- * Iteration behavior is undefined outside of self-contained main-thread - * uses. Normal and immediate iterator use without consequences that - * affect the collection are fully supported. The effects following - * (non-exhaustive) {@link Entity#teleport(Location) teleportation}, - * {@link Player#setHealth(double) death}, and {@link Player#kickPlayer( - * String) kicking} are undefined. Any use of this collection from - * asynchronous threads is unsafe. - *

- * For safe consequential iteration or mimicking the old array behavior, - * using {@link Collection#toArray(Object[])} is recommended. For making - * snapshots, {@link ImmutableList#copyOf(Collection)} is recommended. - */ - getOnlinePlayers(): any[] /*java.util.Collection*/; - /** - * Get the maximum amount of players which can login to this server. - */ - getMaxPlayers(): number; - /** - * Get the game port that the server runs on. - */ - getPort(): number; - /** - * Get the view distance from this server. - */ - getViewDistance(): number; - /** - * Get the IP that this server is bound to, or empty string if not - * specified. - */ - getIp(): string; - /** - * Get world type (level-type setting) for default world. - */ - getWorldType(): string; - /** - * Get generate-structures setting. - */ - getGenerateStructures(): boolean; - /** - * Gets whether this server allows the End or not. - */ - getAllowEnd(): boolean; - /** - * Gets whether this server allows the Nether or not. - */ - getAllowNether(): boolean; - /** - * Gets whether this server has a whitelist or not. - */ - hasWhitelist(): boolean; - /** - * Sets if the server is whitelisted. - */ - setWhitelist(value: boolean): void; - /** - * Gets a list of whitelisted players. - */ - getWhitelistedPlayers(): any[] /*java.util.Set*/; - /** - * Reloads the whitelist from disk. - */ - reloadWhitelist(): void; - /** - * Broadcast a message to all players. - *

- * This is the same as calling {@link #broadcast(java.lang.String, - * java.lang.String)} to {@link #BROADCAST_CHANNEL_USERS} - */ - broadcastMessage(message: string): number; - /** - * Gets the name of the update folder. The update folder is used to safely - * update plugins at the right moment on a plugin load. - *

- * The update folder name is relative to the plugins folder. - */ - getUpdateFolder(): string; - /** - * Gets the update folder. The update folder is used to safely update - * plugins at the right moment on a plugin load. - */ - getUpdateFolderFile(): any; - /** - * Gets the value of the connection throttle setting. - */ - getConnectionThrottle(): number; - /** - * Gets default ticks per animal spawns value. - *

- * Example Usage: - *

    - *
  • A value of 1 will mean the server will attempt to spawn monsters - * every tick. - *
  • A value of 400 will mean the server will attempt to spawn monsters - * every 400th tick. - *
  • A value below 0 will be reset back to Minecraft's default. - *
- *

- * Note: If set to 0, animal spawning will be disabled. We - * recommend using spawn-animals to control this instead. - *

- * Minecraft default: 400. - */ - getTicksPerAnimalSpawns(): number; - /** - * Gets the default ticks per monster spawns value. - *

- * Example Usage: - *

    - *
  • A value of 1 will mean the server will attempt to spawn monsters - * every tick. - *
  • A value of 400 will mean the server will attempt to spawn monsters - * every 400th tick. - *
  • A value below 0 will be reset back to Minecraft's default. - *
- *

- * Note: If set to 0, monsters spawning will be disabled. We - * recommend using spawn-monsters to control this instead. - *

- * Minecraft default: 1. - */ - getTicksPerMonsterSpawns(): number; - /** - * Gets a player object by the given username. - *

- * This method may not return objects for offline players. - */ - getPlayer(name: string): org.bukkit.entity.Player; - /** - * Gets the player with the exact given name, case insensitive. - */ - getPlayerExact(name: string): org.bukkit.entity.Player; - /** - * Attempts to match any players with the given name, and returns a list - * of all possibly matches. - *

- * This list is not sorted in any particular order. If an exact match is - * found, the returned list will only contain a single result. - */ - matchPlayer(name: string): any[] /*java.util.List*/; - /** - * Gets the player with the given UUID. - */ - getPlayer(id: any): org.bukkit.entity.Player; - /** - * Gets the plugin manager for interfacing with plugins. - */ - getPluginManager(): org.bukkit.plugin.PluginManager; - /** - * Gets the scheduler for managing scheduled events. - */ - getScheduler(): org.bukkit.scheduler.BukkitScheduler; - /** - * Gets a services manager. - */ - getServicesManager(): org.bukkit.plugin.ServicesManager; - /** - * Gets a list of all worlds on this server. - */ - getWorlds(): any[] /*java.util.List*/; - /** - * Creates or loads a world with the given name using the specified - * options. - *

- * If the world is already loaded, it will just return the equivalent of - * getWorld(creator.name()). - */ - createWorld(creator: org.bukkit.WorldCreator): org.bukkit.World; - /** - * Unloads a world with the given name. - */ - unloadWorld(name: string, save: boolean): boolean; - /** - * Unloads the given world. - */ - unloadWorld(world: org.bukkit.World, save: boolean): boolean; - /** - * Gets the world with the given name. - */ - getWorld(name: string): org.bukkit.World; - /** - * Gets the world from the given Unique ID. - */ - getWorld(uid: any): org.bukkit.World; - /** - * Gets the map from the given item ID. - */ - getMap(id: number): org.bukkit.map.MapView; - /** - * Create a new map with an automatically assigned ID. - */ - createMap(world: org.bukkit.World): org.bukkit.map.MapView; - /** - * Create a new explorer map targeting the closest nearby structure of a - * given {@link StructureType}. - *
- * This method uses implementation default values for radius and - * findUnexplored (usually 100, true). - */ - createExplorerMap(world: org.bukkit.World, location: org.bukkit.Location, structureType: org.bukkit.StructureType): org.bukkit.inventory.ItemStack; - /** - * Create a new explorer map targeting the closest nearby structure of a - * given {@link StructureType}. - *
- * This method uses implementation default values for radius and - * findUnexplored (usually 100, true). - */ - createExplorerMap(world: org.bukkit.World, location: org.bukkit.Location, structureType: org.bukkit.StructureType, radius: number, findUnexplored: boolean): org.bukkit.inventory.ItemStack; - /** - * Reloads the server, refreshing settings and plugin information. - */ - reload(): void; - /** - * Reload only the Minecraft data for the server. This includes custom - * advancements and loot tables. - */ - reloadData(): void; - /** - * Returns the primary logger associated with this server instance. - */ - getLogger(): any; - /** - * Gets a {@link PluginCommand} with the given name or alias. - */ - getPluginCommand(name: string): org.bukkit.command.PluginCommand; - /** - * Writes loaded players to disk. - */ - savePlayers(): void; - /** - * Dispatches a command on this server, and executes it if found. - */ - dispatchCommand(sender: org.bukkit.command.CommandSender, commandLine: string): boolean; - /** - * Adds a recipe to the crafting manager. - */ - addRecipe(recipe: org.bukkit.inventory.Recipe): boolean; - /** - * Get a list of all recipes for a given item. The stack size is ignored - * in comparisons. If the durability is -1, it will match any data value. - */ - getRecipesFor(result: org.bukkit.inventory.ItemStack): any[] /*java.util.List*/; - /** - * Get an iterator through the list of crafting recipes. - */ - recipeIterator(): any; - /** - * Clears the list of crafting recipes. - */ - clearRecipes(): void; - /** - * Resets the list of crafting recipes to the default. - */ - resetRecipes(): void; - /** - * Gets a list of command aliases defined in the server properties. - */ - getCommandAliases(): Map /*java.util.Map*/; - /** - * Gets the radius, in blocks, around each worlds spawn point to protect. - */ - getSpawnRadius(): number; - /** - * Sets the radius, in blocks, around each worlds spawn point to protect. - */ - setSpawnRadius(value: number): void; - /** - * Gets whether the Server is in online mode or not. - */ - getOnlineMode(): boolean; - /** - * Gets whether this server allows flying or not. - */ - getAllowFlight(): boolean; - /** - * Gets whether the server is in hardcore mode or not. - */ - isHardcore(): boolean; - /** - * Shutdowns the server, stopping everything. - */ - shutdown(): void; - /** - * Broadcasts the specified message to every user with the given - * permission name. - */ - broadcast(message: string, permission: string): number; - /** - * Gets the player by the given name, regardless if they are offline or - * online. - *

- * This method may involve a blocking web request to get the UUID for the - * given name. - *

- * This will return an object even if the player does not exist. To this - * method, all players will exist. - */ - getOfflinePlayer(name: string): org.bukkit.OfflinePlayer; - /** - * Gets the player by the given UUID, regardless if they are offline or - * online. - *

- * This will return an object even if the player does not exist. To this - * method, all players will exist. - */ - getOfflinePlayer(id: any): org.bukkit.OfflinePlayer; - /** - * Gets a set containing all current IPs that are banned. - */ - getIPBans(): any[] /*java.util.Set*/; - /** - * Bans the specified address from the server. - */ - banIP(address: string): void; - /** - * Unbans the specified address from the server. - */ - unbanIP(address: string): void; - /** - * Gets a set containing all banned players. - */ - getBannedPlayers(): any[] /*java.util.Set*/; - /** - * Gets a ban list for the supplied type. - *

- * Bans by name are no longer supported and this method will return - * null when trying to request them. The replacement is bans by UUID. - */ - getBanList(type: org.bukkit.BanList.Type): org.bukkit.BanList; - /** - * Gets a set containing all player operators. - */ - getOperators(): any[] /*java.util.Set*/; - /** - * Gets the default {@link GameMode} for new players. - */ - getDefaultGameMode(): org.bukkit.GameMode; - /** - * Sets the default {@link GameMode} for new players. - */ - setDefaultGameMode(mode: org.bukkit.GameMode): void; - /** - * Gets a {@link ConsoleCommandSender} that may be used as an input source - * for this server. - */ - getConsoleSender(): org.bukkit.command.ConsoleCommandSender; - /** - * Gets the folder that contains all of the various {@link World}s. - */ - getWorldContainer(): any; - /** - * Gets every player that has ever played on this server. - */ - getOfflinePlayers(): org.bukkit.OfflinePlayer[]; - /** - * Gets the {@link Messenger} responsible for this server. - */ - getMessenger(): org.bukkit.plugin.messaging.Messenger; - /** - * Gets the {@link HelpMap} providing help topics for this server. - */ - getHelpMap(): org.bukkit.help.HelpMap; - /** - * Creates an empty inventory with the specified type. If the type - * is {@link InventoryType#CHEST}, the new inventory has a size of 27; - * otherwise the new inventory has the normal size for its type. - *
- * {@link InventoryType#WORKBENCH} will not process crafting recipes if - * created with this method. Use - * {@link Player#openWorkbench(Location, boolean)} instead. - *
- * {@link InventoryType#ENCHANTING} will not process {@link ItemStack}s - * for possible enchanting results. Use - * {@link Player#openEnchanting(Location, boolean)} instead. - */ - createInventory(owner: org.bukkit.inventory.InventoryHolder, type: org.bukkit.event.inventory.InventoryType): org.bukkit.inventory.Inventory; - /** - * Creates an empty inventory with the specified type and title. If the type - * is {@link InventoryType#CHEST}, the new inventory has a size of 27; - * otherwise the new inventory has the normal size for its type.
- * It should be noted that some inventory types do not support titles and - * may not render with said titles on the Minecraft client. - *
- * {@link InventoryType#WORKBENCH} will not process crafting recipes if - * created with this method. Use - * {@link Player#openWorkbench(Location, boolean)} instead. - *
- * {@link InventoryType#ENCHANTING} will not process {@link ItemStack}s - * for possible enchanting results. Use - * {@link Player#openEnchanting(Location, boolean)} instead. - */ - createInventory(owner: org.bukkit.inventory.InventoryHolder, type: org.bukkit.event.inventory.InventoryType, title: string): org.bukkit.inventory.Inventory; - /** - * Creates an empty inventory of type {@link InventoryType#CHEST} with the - * specified size. - */ - createInventory(owner: org.bukkit.inventory.InventoryHolder, size: number): org.bukkit.inventory.Inventory; - /** - * Creates an empty inventory of type {@link InventoryType#CHEST} with the - * specified size and title. - */ - createInventory(owner: org.bukkit.inventory.InventoryHolder, size: number, title: string): org.bukkit.inventory.Inventory; - /** - * Creates an empty merchant. - */ - createMerchant(title: string): org.bukkit.inventory.Merchant; - /** - * Gets user-specified limit for number of monsters that can spawn in a - * chunk. - */ - getMonsterSpawnLimit(): number; - /** - * Gets user-specified limit for number of animals that can spawn in a - * chunk. - */ - getAnimalSpawnLimit(): number; - /** - * Gets user-specified limit for number of water animals that can spawn in - * a chunk. - */ - getWaterAnimalSpawnLimit(): number; - /** - * Gets user-specified limit for number of ambient mobs that can spawn in - * a chunk. - */ - getAmbientSpawnLimit(): number; - /** - * Checks the current thread against the expected primary thread for the - * server. - *

- * Note: this method should not be used to indicate the current - * synchronized state of the runtime. A current thread matching the main - * thread indicates that it is synchronized, but a mismatch does not - * preclude the same assumption. - */ - isPrimaryThread(): boolean; - /** - * Gets the message that is displayed on the server list. - */ - getMotd(): string; - /** - * Gets the default message that is displayed when the server is stopped. - */ - getShutdownMessage(): string; - /** - * Gets the current warning state for the server. - */ - getWarningState(): org.bukkit.Warning.WarningState; - /** - * Gets the instance of the item factory (for {@link ItemMeta}). - */ - getItemFactory(): org.bukkit.inventory.ItemFactory; - /** - * Gets the instance of the scoreboard manager. - *

- * This will only exist after the first world has loaded. - */ - getScoreboardManager(): org.bukkit.scoreboard.ScoreboardManager; - /** - * Gets an instance of the server's default server-icon. - */ - getServerIcon(): org.bukkit.util.CachedServerIcon; - /** - * Loads an image from a file, and returns a cached image for the specific - * server-icon. - *

- * Size and type are implementation defined. An incompatible file is - * guaranteed to throw an implementation-defined {@link Exception}. - */ - loadServerIcon(file: any): org.bukkit.util.CachedServerIcon; - /** - * Creates a cached server-icon for the specific image. - *

- * Size and type are implementation defined. An incompatible file is - * guaranteed to throw an implementation-defined {@link Exception}. - */ - loadServerIcon(image: any): org.bukkit.util.CachedServerIcon; - /** - * Set the idle kick timeout. Any players idle for the specified amount of - * time will be automatically kicked. - *

- * A value of 0 will disable the idle kick timeout. - */ - setIdleTimeout(threshold: number): void; - /** - * Gets the idle kick timeout. - */ - getIdleTimeout(): number; - /** - * Create a ChunkData for use in a generator. - * See {@link ChunkGenerator#generateChunkData(org.bukkit.World, java.util.Random, int, int, org.bukkit.generator.ChunkGenerator.BiomeGrid)} - */ - createChunkData(world: org.bukkit.World): org.bukkit.generator.ChunkGenerator.ChunkData; - /** - * Creates a boss bar instance to display to players. The progress - * defaults to 1.0 - */ - createBossBar(title: string, color: org.bukkit.boss.BarColor, style: org.bukkit.boss.BarStyle, flags: org.bukkit.boss.BarFlag): org.bukkit.boss.BossBar; - /** - * Creates a boss bar instance to display to players. The progress defaults - * to 1.0. - *
- * This instance is added to the persistent storage of the server and will - * be editable by commands and restored after restart. - */ - createBossBar(key: org.bukkit.NamespacedKey, title: string, color: org.bukkit.boss.BarColor, style: org.bukkit.boss.BarStyle, flags: org.bukkit.boss.BarFlag): org.bukkit.boss.KeyedBossBar; - /** - * Gets an unmodifiable iterator through all persistent bossbars. - *

    - *
  • not bound to a {@link org.bukkit.entity.Boss}
  • - *
  • - * not created using - * {@link #createBossBar(String, BarColor, BarStyle, BarFlag...)} - *
  • - *
- * e.g. bossbars created using the bossbar command - */ - getBossBars(): any; - /** - * Gets the {@link KeyedBossBar} specified by this key. - *
    - *
  • not bound to a {@link org.bukkit.entity.Boss}
  • - *
  • - * not created using - * {@link #createBossBar(String, BarColor, BarStyle, BarFlag...)} - *
  • - *
- * e.g. bossbars created using the bossbar command - */ - getBossBar(key: org.bukkit.NamespacedKey): org.bukkit.boss.KeyedBossBar; - /** - * Removes a {@link KeyedBossBar} specified by this key. - *
    - *
  • not bound to a {@link org.bukkit.entity.Boss}
  • - *
  • - * not created using - * {@link #createBossBar(String, BarColor, BarStyle, BarFlag...)} - *
  • - *
- * e.g. bossbars created using the bossbar command - */ - removeBossBar(key: org.bukkit.NamespacedKey): boolean; - /** - * Gets an entity on the server by its UUID - */ - getEntity(uuid: any): org.bukkit.entity.Entity; - /** - * Get the advancement specified by this key. - */ - getAdvancement(key: org.bukkit.NamespacedKey): org.bukkit.advancement.Advancement; - /** - * Get an iterator through all advancements. Advancements cannot be removed - * from this iterator, - */ - advancementIterator(): any; - /** - * Creates a new {@link BlockData} instance for the specified Material, with - * all properties initialized to unspecified defaults. - */ - createBlockData(material: org.bukkit.Material): org.bukkit.block.data.BlockData; - /** - * Creates a new {@link BlockData} instance for the specified Material, with - * all properties initialized to unspecified defaults. - */ - createBlockData(material: org.bukkit.Material, consumer: any): org.bukkit.block.data.BlockData; - /** - * Creates a new {@link BlockData} instance with material and properties - * parsed from provided data. - */ - createBlockData(data: string): org.bukkit.block.data.BlockData; - /** - * Creates a new {@link BlockData} instance for the specified Material, with - * all properties initialized to unspecified defaults, except for those - * provided in data. - *
- * If material is specified, then the data string must not also - * contain the material. - */ - createBlockData(material: org.bukkit.Material, data: string): org.bukkit.block.data.BlockData; - /** - * Gets a tag which has already been defined within the server. Plugins are - * suggested to use the concrete tags in {@link Tag} rather than this method - * which makes no guarantees about which tags are available, and may also be - * less performant due to lack of caching. - *
- * Tags will be searched for in an implementation specific manner, but a - * path consisting of namespace/tags/registry/key is expected. - *
- * Server implementations are allowed to handle only the registries - * indicated in {@link Tag}. - */ - getTag(registry: string, tag: org.bukkit.NamespacedKey, clazz: any): org.bukkit.Tag; - /** - * Gets a all tags which have been defined within the server. - *
- * Server implementations are allowed to handle only the registries - * indicated in {@link Tag}. - *
- * No guarantees are made about the mutability of the returned iterator. - */ - getTags(registry: string, clazz: any): any; - /** - * Gets the specified {@link LootTable}. - */ - getLootTable(key: org.bukkit.NamespacedKey): org.bukkit.loot.LootTable; - /** - * Selects entities using the given Vanilla selector. - *
- * No guarantees are made about the selector format, other than they match - * the Vanilla format for the active Minecraft version. - *
- * Usually a selector will start with '@', unless selecting a Player in - * which case it may simply be the Player's name or UUID. - *
- * Note that in Vanilla, elevated permissions are usually required to use - * '@' selectors, but this method should not check such permissions from the - * sender. - */ - selectEntities(sender: org.bukkit.command.CommandSender, selector: string): any[] /*java.util.List*/; - getUnsafe(): org.bukkit.UnsafeValues; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.SkullType.ts b/packages/bukkit/src/typings/org.bukkit.SkullType.ts deleted file mode 100644 index 1746bb99..00000000 --- a/packages/bukkit/src/typings/org.bukkit.SkullType.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class SkullType { - public static SKELETON: org.bukkit.SkullType; - public static WITHER: org.bukkit.SkullType; - public static ZOMBIE: org.bukkit.SkullType; - public static PLAYER: org.bukkit.SkullType; - public static CREEPER: org.bukkit.SkullType; - public static DRAGON: org.bukkit.SkullType; - public static values(): org.bukkit.SkullType[]; - public static valueOf(name: string): org.bukkit.SkullType; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Sound.ts b/packages/bukkit/src/typings/org.bukkit.Sound.ts deleted file mode 100644 index 7bc49fa7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Sound.ts +++ /dev/null @@ -1,804 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Sound { - public static AMBIENT_CAVE: any; - public static AMBIENT_UNDERWATER_ENTER: any; - public static AMBIENT_UNDERWATER_EXIT: any; - public static AMBIENT_UNDERWATER_LOOP: any; - public static AMBIENT_UNDERWATER_LOOP_ADDITIONS: any; - public static AMBIENT_UNDERWATER_LOOP_ADDITIONS_RARE: any; - public static AMBIENT_UNDERWATER_LOOP_ADDITIONS_ULTRA_RARE: any; - public static BLOCK_ANVIL_BREAK: any; - public static BLOCK_ANVIL_DESTROY: any; - public static BLOCK_ANVIL_FALL: any; - public static BLOCK_ANVIL_HIT: any; - public static BLOCK_ANVIL_LAND: any; - public static BLOCK_ANVIL_PLACE: any; - public static BLOCK_ANVIL_STEP: any; - public static BLOCK_ANVIL_USE: any; - public static BLOCK_BAMBOO_BREAK: any; - public static BLOCK_BAMBOO_FALL: any; - public static BLOCK_BAMBOO_HIT: any; - public static BLOCK_BAMBOO_PLACE: any; - public static BLOCK_BAMBOO_SAPLING_BREAK: any; - public static BLOCK_BAMBOO_SAPLING_HIT: any; - public static BLOCK_BAMBOO_SAPLING_PLACE: any; - public static BLOCK_BAMBOO_STEP: any; - public static BLOCK_BARREL_CLOSE: any; - public static BLOCK_BARREL_OPEN: any; - public static BLOCK_BEACON_ACTIVATE: any; - public static BLOCK_BEACON_AMBIENT: any; - public static BLOCK_BEACON_DEACTIVATE: any; - public static BLOCK_BEACON_POWER_SELECT: any; - public static BLOCK_BELL_RESONATE: any; - public static BLOCK_BELL_USE: any; - public static BLOCK_BLASTFURNACE_FIRE_CRACKLE: any; - public static BLOCK_BREWING_STAND_BREW: any; - public static BLOCK_BUBBLE_COLUMN_BUBBLE_POP: any; - public static BLOCK_BUBBLE_COLUMN_UPWARDS_AMBIENT: any; - public static BLOCK_BUBBLE_COLUMN_UPWARDS_INSIDE: any; - public static BLOCK_BUBBLE_COLUMN_WHIRLPOOL_AMBIENT: any; - public static BLOCK_BUBBLE_COLUMN_WHIRLPOOL_INSIDE: any; - public static BLOCK_CAMPFIRE_CRACKLE: any; - public static BLOCK_CHEST_CLOSE: any; - public static BLOCK_CHEST_LOCKED: any; - public static BLOCK_CHEST_OPEN: any; - public static BLOCK_CHORUS_FLOWER_DEATH: any; - public static BLOCK_CHORUS_FLOWER_GROW: any; - public static BLOCK_COMPARATOR_CLICK: any; - public static BLOCK_COMPOSTER_EMPTY: any; - public static BLOCK_COMPOSTER_FILL: any; - public static BLOCK_COMPOSTER_FILL_SUCCESS: any; - public static BLOCK_COMPOSTER_READY: any; - public static BLOCK_CONDUIT_ACTIVATE: any; - public static BLOCK_CONDUIT_AMBIENT: any; - public static BLOCK_CONDUIT_AMBIENT_SHORT: any; - public static BLOCK_CONDUIT_ATTACK_TARGET: any; - public static BLOCK_CONDUIT_DEACTIVATE: any; - public static BLOCK_CORAL_BLOCK_BREAK: any; - public static BLOCK_CORAL_BLOCK_FALL: any; - public static BLOCK_CORAL_BLOCK_HIT: any; - public static BLOCK_CORAL_BLOCK_PLACE: any; - public static BLOCK_CORAL_BLOCK_STEP: any; - public static BLOCK_CROP_BREAK: any; - public static BLOCK_DISPENSER_DISPENSE: any; - public static BLOCK_DISPENSER_FAIL: any; - public static BLOCK_DISPENSER_LAUNCH: any; - public static BLOCK_ENCHANTMENT_TABLE_USE: any; - public static BLOCK_ENDER_CHEST_CLOSE: any; - public static BLOCK_ENDER_CHEST_OPEN: any; - public static BLOCK_END_GATEWAY_SPAWN: any; - public static BLOCK_END_PORTAL_FRAME_FILL: any; - public static BLOCK_END_PORTAL_SPAWN: any; - public static BLOCK_FENCE_GATE_CLOSE: any; - public static BLOCK_FENCE_GATE_OPEN: any; - public static BLOCK_FIRE_AMBIENT: any; - public static BLOCK_FIRE_EXTINGUISH: any; - public static BLOCK_FURNACE_FIRE_CRACKLE: any; - public static BLOCK_GLASS_BREAK: any; - public static BLOCK_GLASS_FALL: any; - public static BLOCK_GLASS_HIT: any; - public static BLOCK_GLASS_PLACE: any; - public static BLOCK_GLASS_STEP: any; - public static BLOCK_GRASS_BREAK: any; - public static BLOCK_GRASS_FALL: any; - public static BLOCK_GRASS_HIT: any; - public static BLOCK_GRASS_PLACE: any; - public static BLOCK_GRASS_STEP: any; - public static BLOCK_GRAVEL_BREAK: any; - public static BLOCK_GRAVEL_FALL: any; - public static BLOCK_GRAVEL_HIT: any; - public static BLOCK_GRAVEL_PLACE: any; - public static BLOCK_GRAVEL_STEP: any; - public static BLOCK_GRINDSTONE_USE: any; - public static BLOCK_IRON_DOOR_CLOSE: any; - public static BLOCK_IRON_DOOR_OPEN: any; - public static BLOCK_IRON_TRAPDOOR_CLOSE: any; - public static BLOCK_IRON_TRAPDOOR_OPEN: any; - public static BLOCK_LADDER_BREAK: any; - public static BLOCK_LADDER_FALL: any; - public static BLOCK_LADDER_HIT: any; - public static BLOCK_LADDER_PLACE: any; - public static BLOCK_LADDER_STEP: any; - public static BLOCK_LANTERN_BREAK: any; - public static BLOCK_LANTERN_FALL: any; - public static BLOCK_LANTERN_HIT: any; - public static BLOCK_LANTERN_PLACE: any; - public static BLOCK_LANTERN_STEP: any; - public static BLOCK_LAVA_AMBIENT: any; - public static BLOCK_LAVA_EXTINGUISH: any; - public static BLOCK_LAVA_POP: any; - public static BLOCK_LEVER_CLICK: any; - public static BLOCK_LILY_PAD_PLACE: any; - public static BLOCK_METAL_BREAK: any; - public static BLOCK_METAL_FALL: any; - public static BLOCK_METAL_HIT: any; - public static BLOCK_METAL_PLACE: any; - public static BLOCK_METAL_PRESSURE_PLATE_CLICK_OFF: any; - public static BLOCK_METAL_PRESSURE_PLATE_CLICK_ON: any; - public static BLOCK_METAL_STEP: any; - public static BLOCK_NETHER_WART_BREAK: any; - public static BLOCK_NOTE_BLOCK_BANJO: any; - public static BLOCK_NOTE_BLOCK_BASEDRUM: any; - public static BLOCK_NOTE_BLOCK_BASS: any; - public static BLOCK_NOTE_BLOCK_BELL: any; - public static BLOCK_NOTE_BLOCK_BIT: any; - public static BLOCK_NOTE_BLOCK_CHIME: any; - public static BLOCK_NOTE_BLOCK_COW_BELL: any; - public static BLOCK_NOTE_BLOCK_DIDGERIDOO: any; - public static BLOCK_NOTE_BLOCK_FLUTE: any; - public static BLOCK_NOTE_BLOCK_GUITAR: any; - public static BLOCK_NOTE_BLOCK_HARP: any; - public static BLOCK_NOTE_BLOCK_HAT: any; - public static BLOCK_NOTE_BLOCK_IRON_XYLOPHONE: any; - public static BLOCK_NOTE_BLOCK_PLING: any; - public static BLOCK_NOTE_BLOCK_SNARE: any; - public static BLOCK_NOTE_BLOCK_XYLOPHONE: any; - public static BLOCK_PISTON_CONTRACT: any; - public static BLOCK_PISTON_EXTEND: any; - public static BLOCK_PORTAL_AMBIENT: any; - public static BLOCK_PORTAL_TRAVEL: any; - public static BLOCK_PORTAL_TRIGGER: any; - public static BLOCK_PUMPKIN_CARVE: any; - public static BLOCK_REDSTONE_TORCH_BURNOUT: any; - public static BLOCK_SAND_BREAK: any; - public static BLOCK_SAND_FALL: any; - public static BLOCK_SAND_HIT: any; - public static BLOCK_SAND_PLACE: any; - public static BLOCK_SAND_STEP: any; - public static BLOCK_SCAFFOLDING_BREAK: any; - public static BLOCK_SCAFFOLDING_FALL: any; - public static BLOCK_SCAFFOLDING_HIT: any; - public static BLOCK_SCAFFOLDING_PLACE: any; - public static BLOCK_SCAFFOLDING_STEP: any; - public static BLOCK_SHULKER_BOX_CLOSE: any; - public static BLOCK_SHULKER_BOX_OPEN: any; - public static BLOCK_SLIME_BLOCK_BREAK: any; - public static BLOCK_SLIME_BLOCK_FALL: any; - public static BLOCK_SLIME_BLOCK_HIT: any; - public static BLOCK_SLIME_BLOCK_PLACE: any; - public static BLOCK_SLIME_BLOCK_STEP: any; - public static BLOCK_SMOKER_SMOKE: any; - public static BLOCK_SNOW_BREAK: any; - public static BLOCK_SNOW_FALL: any; - public static BLOCK_SNOW_HIT: any; - public static BLOCK_SNOW_PLACE: any; - public static BLOCK_SNOW_STEP: any; - public static BLOCK_STONE_BREAK: any; - public static BLOCK_STONE_BUTTON_CLICK_OFF: any; - public static BLOCK_STONE_BUTTON_CLICK_ON: any; - public static BLOCK_STONE_FALL: any; - public static BLOCK_STONE_HIT: any; - public static BLOCK_STONE_PLACE: any; - public static BLOCK_STONE_PRESSURE_PLATE_CLICK_OFF: any; - public static BLOCK_STONE_PRESSURE_PLATE_CLICK_ON: any; - public static BLOCK_STONE_STEP: any; - public static BLOCK_SWEET_BERRY_BUSH_BREAK: any; - public static BLOCK_SWEET_BERRY_BUSH_PLACE: any; - public static BLOCK_TRIPWIRE_ATTACH: any; - public static BLOCK_TRIPWIRE_CLICK_OFF: any; - public static BLOCK_TRIPWIRE_CLICK_ON: any; - public static BLOCK_TRIPWIRE_DETACH: any; - public static BLOCK_WATER_AMBIENT: any; - public static BLOCK_WET_GRASS_BREAK: any; - public static BLOCK_WET_GRASS_FALL: any; - public static BLOCK_WET_GRASS_HIT: any; - public static BLOCK_WET_GRASS_PLACE: any; - public static BLOCK_WET_GRASS_STEP: any; - public static BLOCK_WOODEN_BUTTON_CLICK_OFF: any; - public static BLOCK_WOODEN_BUTTON_CLICK_ON: any; - public static BLOCK_WOODEN_DOOR_CLOSE: any; - public static BLOCK_WOODEN_DOOR_OPEN: any; - public static BLOCK_WOODEN_PRESSURE_PLATE_CLICK_OFF: any; - public static BLOCK_WOODEN_PRESSURE_PLATE_CLICK_ON: any; - public static BLOCK_WOODEN_TRAPDOOR_CLOSE: any; - public static BLOCK_WOODEN_TRAPDOOR_OPEN: any; - public static BLOCK_WOOD_BREAK: any; - public static BLOCK_WOOD_FALL: any; - public static BLOCK_WOOD_HIT: any; - public static BLOCK_WOOD_PLACE: any; - public static BLOCK_WOOD_STEP: any; - public static BLOCK_WOOL_BREAK: any; - public static BLOCK_WOOL_FALL: any; - public static BLOCK_WOOL_HIT: any; - public static BLOCK_WOOL_PLACE: any; - public static BLOCK_WOOL_STEP: any; - public static ENCHANT_THORNS_HIT: any; - public static ENTITY_ARMOR_STAND_BREAK: any; - public static ENTITY_ARMOR_STAND_FALL: any; - public static ENTITY_ARMOR_STAND_HIT: any; - public static ENTITY_ARMOR_STAND_PLACE: any; - public static ENTITY_ARROW_HIT: any; - public static ENTITY_ARROW_HIT_PLAYER: any; - public static ENTITY_ARROW_SHOOT: any; - public static ENTITY_BAT_AMBIENT: any; - public static ENTITY_BAT_DEATH: any; - public static ENTITY_BAT_HURT: any; - public static ENTITY_BAT_LOOP: any; - public static ENTITY_BAT_TAKEOFF: any; - public static ENTITY_BLAZE_AMBIENT: any; - public static ENTITY_BLAZE_BURN: any; - public static ENTITY_BLAZE_DEATH: any; - public static ENTITY_BLAZE_HURT: any; - public static ENTITY_BLAZE_SHOOT: any; - public static ENTITY_BOAT_PADDLE_LAND: any; - public static ENTITY_BOAT_PADDLE_WATER: any; - public static ENTITY_CAT_AMBIENT: any; - public static ENTITY_CAT_BEG_FOR_FOOD: any; - public static ENTITY_CAT_DEATH: any; - public static ENTITY_CAT_EAT: any; - public static ENTITY_CAT_HISS: any; - public static ENTITY_CAT_HURT: any; - public static ENTITY_CAT_PURR: any; - public static ENTITY_CAT_PURREOW: any; - public static ENTITY_CAT_STRAY_AMBIENT: any; - public static ENTITY_CHICKEN_AMBIENT: any; - public static ENTITY_CHICKEN_DEATH: any; - public static ENTITY_CHICKEN_EGG: any; - public static ENTITY_CHICKEN_HURT: any; - public static ENTITY_CHICKEN_STEP: any; - public static ENTITY_COD_AMBIENT: any; - public static ENTITY_COD_DEATH: any; - public static ENTITY_COD_FLOP: any; - public static ENTITY_COD_HURT: any; - public static ENTITY_COW_AMBIENT: any; - public static ENTITY_COW_DEATH: any; - public static ENTITY_COW_HURT: any; - public static ENTITY_COW_MILK: any; - public static ENTITY_COW_STEP: any; - public static ENTITY_CREEPER_DEATH: any; - public static ENTITY_CREEPER_HURT: any; - public static ENTITY_CREEPER_PRIMED: any; - public static ENTITY_DOLPHIN_AMBIENT: any; - public static ENTITY_DOLPHIN_AMBIENT_WATER: any; - public static ENTITY_DOLPHIN_ATTACK: any; - public static ENTITY_DOLPHIN_DEATH: any; - public static ENTITY_DOLPHIN_EAT: any; - public static ENTITY_DOLPHIN_HURT: any; - public static ENTITY_DOLPHIN_JUMP: any; - public static ENTITY_DOLPHIN_PLAY: any; - public static ENTITY_DOLPHIN_SPLASH: any; - public static ENTITY_DOLPHIN_SWIM: any; - public static ENTITY_DONKEY_AMBIENT: any; - public static ENTITY_DONKEY_ANGRY: any; - public static ENTITY_DONKEY_CHEST: any; - public static ENTITY_DONKEY_DEATH: any; - public static ENTITY_DONKEY_HURT: any; - public static ENTITY_DRAGON_FIREBALL_EXPLODE: any; - public static ENTITY_DROWNED_AMBIENT: any; - public static ENTITY_DROWNED_AMBIENT_WATER: any; - public static ENTITY_DROWNED_DEATH: any; - public static ENTITY_DROWNED_DEATH_WATER: any; - public static ENTITY_DROWNED_HURT: any; - public static ENTITY_DROWNED_HURT_WATER: any; - public static ENTITY_DROWNED_SHOOT: any; - public static ENTITY_DROWNED_STEP: any; - public static ENTITY_DROWNED_SWIM: any; - public static ENTITY_EGG_THROW: any; - public static ENTITY_ELDER_GUARDIAN_AMBIENT: any; - public static ENTITY_ELDER_GUARDIAN_AMBIENT_LAND: any; - public static ENTITY_ELDER_GUARDIAN_CURSE: any; - public static ENTITY_ELDER_GUARDIAN_DEATH: any; - public static ENTITY_ELDER_GUARDIAN_DEATH_LAND: any; - public static ENTITY_ELDER_GUARDIAN_FLOP: any; - public static ENTITY_ELDER_GUARDIAN_HURT: any; - public static ENTITY_ELDER_GUARDIAN_HURT_LAND: any; - public static ENTITY_ENDERMAN_AMBIENT: any; - public static ENTITY_ENDERMAN_DEATH: any; - public static ENTITY_ENDERMAN_HURT: any; - public static ENTITY_ENDERMAN_SCREAM: any; - public static ENTITY_ENDERMAN_STARE: any; - public static ENTITY_ENDERMAN_TELEPORT: any; - public static ENTITY_ENDERMITE_AMBIENT: any; - public static ENTITY_ENDERMITE_DEATH: any; - public static ENTITY_ENDERMITE_HURT: any; - public static ENTITY_ENDERMITE_STEP: any; - public static ENTITY_ENDER_DRAGON_AMBIENT: any; - public static ENTITY_ENDER_DRAGON_DEATH: any; - public static ENTITY_ENDER_DRAGON_FLAP: any; - public static ENTITY_ENDER_DRAGON_GROWL: any; - public static ENTITY_ENDER_DRAGON_HURT: any; - public static ENTITY_ENDER_DRAGON_SHOOT: any; - public static ENTITY_ENDER_EYE_DEATH: any; - public static ENTITY_ENDER_EYE_LAUNCH: any; - public static ENTITY_ENDER_PEARL_THROW: any; - public static ENTITY_EVOKER_AMBIENT: any; - public static ENTITY_EVOKER_CAST_SPELL: any; - public static ENTITY_EVOKER_CELEBRATE: any; - public static ENTITY_EVOKER_DEATH: any; - public static ENTITY_EVOKER_FANGS_ATTACK: any; - public static ENTITY_EVOKER_HURT: any; - public static ENTITY_EVOKER_PREPARE_ATTACK: any; - public static ENTITY_EVOKER_PREPARE_SUMMON: any; - public static ENTITY_EVOKER_PREPARE_WOLOLO: any; - public static ENTITY_EXPERIENCE_BOTTLE_THROW: any; - public static ENTITY_EXPERIENCE_ORB_PICKUP: any; - public static ENTITY_FIREWORK_ROCKET_BLAST: any; - public static ENTITY_FIREWORK_ROCKET_BLAST_FAR: any; - public static ENTITY_FIREWORK_ROCKET_LARGE_BLAST: any; - public static ENTITY_FIREWORK_ROCKET_LARGE_BLAST_FAR: any; - public static ENTITY_FIREWORK_ROCKET_LAUNCH: any; - public static ENTITY_FIREWORK_ROCKET_SHOOT: any; - public static ENTITY_FIREWORK_ROCKET_TWINKLE: any; - public static ENTITY_FIREWORK_ROCKET_TWINKLE_FAR: any; - public static ENTITY_FISHING_BOBBER_RETRIEVE: any; - public static ENTITY_FISHING_BOBBER_SPLASH: any; - public static ENTITY_FISHING_BOBBER_THROW: any; - public static ENTITY_FISH_SWIM: any; - public static ENTITY_FOX_AGGRO: any; - public static ENTITY_FOX_AMBIENT: any; - public static ENTITY_FOX_BITE: any; - public static ENTITY_FOX_DEATH: any; - public static ENTITY_FOX_EAT: any; - public static ENTITY_FOX_HURT: any; - public static ENTITY_FOX_SCREECH: any; - public static ENTITY_FOX_SLEEP: any; - public static ENTITY_FOX_SNIFF: any; - public static ENTITY_FOX_SPIT: any; - public static ENTITY_GENERIC_BIG_FALL: any; - public static ENTITY_GENERIC_BURN: any; - public static ENTITY_GENERIC_DEATH: any; - public static ENTITY_GENERIC_DRINK: any; - public static ENTITY_GENERIC_EAT: any; - public static ENTITY_GENERIC_EXPLODE: any; - public static ENTITY_GENERIC_EXTINGUISH_FIRE: any; - public static ENTITY_GENERIC_HURT: any; - public static ENTITY_GENERIC_SMALL_FALL: any; - public static ENTITY_GENERIC_SPLASH: any; - public static ENTITY_GENERIC_SWIM: any; - public static ENTITY_GHAST_AMBIENT: any; - public static ENTITY_GHAST_DEATH: any; - public static ENTITY_GHAST_HURT: any; - public static ENTITY_GHAST_SCREAM: any; - public static ENTITY_GHAST_SHOOT: any; - public static ENTITY_GHAST_WARN: any; - public static ENTITY_GUARDIAN_AMBIENT: any; - public static ENTITY_GUARDIAN_AMBIENT_LAND: any; - public static ENTITY_GUARDIAN_ATTACK: any; - public static ENTITY_GUARDIAN_DEATH: any; - public static ENTITY_GUARDIAN_DEATH_LAND: any; - public static ENTITY_GUARDIAN_FLOP: any; - public static ENTITY_GUARDIAN_HURT: any; - public static ENTITY_GUARDIAN_HURT_LAND: any; - public static ENTITY_HORSE_AMBIENT: any; - public static ENTITY_HORSE_ANGRY: any; - public static ENTITY_HORSE_ARMOR: any; - public static ENTITY_HORSE_BREATHE: any; - public static ENTITY_HORSE_DEATH: any; - public static ENTITY_HORSE_EAT: any; - public static ENTITY_HORSE_GALLOP: any; - public static ENTITY_HORSE_HURT: any; - public static ENTITY_HORSE_JUMP: any; - public static ENTITY_HORSE_LAND: any; - public static ENTITY_HORSE_SADDLE: any; - public static ENTITY_HORSE_STEP: any; - public static ENTITY_HORSE_STEP_WOOD: any; - public static ENTITY_HOSTILE_BIG_FALL: any; - public static ENTITY_HOSTILE_DEATH: any; - public static ENTITY_HOSTILE_HURT: any; - public static ENTITY_HOSTILE_SMALL_FALL: any; - public static ENTITY_HOSTILE_SPLASH: any; - public static ENTITY_HOSTILE_SWIM: any; - public static ENTITY_HUSK_AMBIENT: any; - public static ENTITY_HUSK_CONVERTED_TO_ZOMBIE: any; - public static ENTITY_HUSK_DEATH: any; - public static ENTITY_HUSK_HURT: any; - public static ENTITY_HUSK_STEP: any; - public static ENTITY_ILLUSIONER_AMBIENT: any; - public static ENTITY_ILLUSIONER_CAST_SPELL: any; - public static ENTITY_ILLUSIONER_DEATH: any; - public static ENTITY_ILLUSIONER_HURT: any; - public static ENTITY_ILLUSIONER_MIRROR_MOVE: any; - public static ENTITY_ILLUSIONER_PREPARE_BLINDNESS: any; - public static ENTITY_ILLUSIONER_PREPARE_MIRROR: any; - public static ENTITY_IRON_GOLEM_ATTACK: any; - public static ENTITY_IRON_GOLEM_DEATH: any; - public static ENTITY_IRON_GOLEM_HURT: any; - public static ENTITY_IRON_GOLEM_STEP: any; - public static ENTITY_ITEM_BREAK: any; - public static ENTITY_ITEM_FRAME_ADD_ITEM: any; - public static ENTITY_ITEM_FRAME_BREAK: any; - public static ENTITY_ITEM_FRAME_PLACE: any; - public static ENTITY_ITEM_FRAME_REMOVE_ITEM: any; - public static ENTITY_ITEM_FRAME_ROTATE_ITEM: any; - public static ENTITY_ITEM_PICKUP: any; - public static ENTITY_LEASH_KNOT_BREAK: any; - public static ENTITY_LEASH_KNOT_PLACE: any; - public static ENTITY_LIGHTNING_BOLT_IMPACT: any; - public static ENTITY_LIGHTNING_BOLT_THUNDER: any; - public static ENTITY_LINGERING_POTION_THROW: any; - public static ENTITY_LLAMA_AMBIENT: any; - public static ENTITY_LLAMA_ANGRY: any; - public static ENTITY_LLAMA_CHEST: any; - public static ENTITY_LLAMA_DEATH: any; - public static ENTITY_LLAMA_EAT: any; - public static ENTITY_LLAMA_HURT: any; - public static ENTITY_LLAMA_SPIT: any; - public static ENTITY_LLAMA_STEP: any; - public static ENTITY_LLAMA_SWAG: any; - public static ENTITY_MAGMA_CUBE_DEATH: any; - public static ENTITY_MAGMA_CUBE_DEATH_SMALL: any; - public static ENTITY_MAGMA_CUBE_HURT: any; - public static ENTITY_MAGMA_CUBE_HURT_SMALL: any; - public static ENTITY_MAGMA_CUBE_JUMP: any; - public static ENTITY_MAGMA_CUBE_SQUISH: any; - public static ENTITY_MAGMA_CUBE_SQUISH_SMALL: any; - public static ENTITY_MINECART_INSIDE: any; - public static ENTITY_MINECART_RIDING: any; - public static ENTITY_MOOSHROOM_CONVERT: any; - public static ENTITY_MOOSHROOM_EAT: any; - public static ENTITY_MOOSHROOM_MILK: any; - public static ENTITY_MOOSHROOM_SHEAR: any; - public static ENTITY_MOOSHROOM_SUSPICIOUS_MILK: any; - public static ENTITY_MULE_AMBIENT: any; - public static ENTITY_MULE_CHEST: any; - public static ENTITY_MULE_DEATH: any; - public static ENTITY_MULE_HURT: any; - public static ENTITY_OCELOT_AMBIENT: any; - public static ENTITY_OCELOT_DEATH: any; - public static ENTITY_OCELOT_HURT: any; - public static ENTITY_PAINTING_BREAK: any; - public static ENTITY_PAINTING_PLACE: any; - public static ENTITY_PANDA_AGGRESSIVE_AMBIENT: any; - public static ENTITY_PANDA_AMBIENT: any; - public static ENTITY_PANDA_BITE: any; - public static ENTITY_PANDA_CANT_BREED: any; - public static ENTITY_PANDA_DEATH: any; - public static ENTITY_PANDA_EAT: any; - public static ENTITY_PANDA_HURT: any; - public static ENTITY_PANDA_PRE_SNEEZE: any; - public static ENTITY_PANDA_SNEEZE: any; - public static ENTITY_PANDA_STEP: any; - public static ENTITY_PANDA_WORRIED_AMBIENT: any; - public static ENTITY_PARROT_AMBIENT: any; - public static ENTITY_PARROT_DEATH: any; - public static ENTITY_PARROT_EAT: any; - public static ENTITY_PARROT_FLY: any; - public static ENTITY_PARROT_HURT: any; - public static ENTITY_PARROT_IMITATE_BLAZE: any; - public static ENTITY_PARROT_IMITATE_CREEPER: any; - public static ENTITY_PARROT_IMITATE_DROWNED: any; - public static ENTITY_PARROT_IMITATE_ELDER_GUARDIAN: any; - public static ENTITY_PARROT_IMITATE_ENDERMAN: any; - public static ENTITY_PARROT_IMITATE_ENDERMITE: any; - public static ENTITY_PARROT_IMITATE_ENDER_DRAGON: any; - public static ENTITY_PARROT_IMITATE_EVOKER: any; - public static ENTITY_PARROT_IMITATE_GHAST: any; - public static ENTITY_PARROT_IMITATE_GUARDIAN: any; - public static ENTITY_PARROT_IMITATE_HUSK: any; - public static ENTITY_PARROT_IMITATE_ILLUSIONER: any; - public static ENTITY_PARROT_IMITATE_MAGMA_CUBE: any; - public static ENTITY_PARROT_IMITATE_PANDA: any; - public static ENTITY_PARROT_IMITATE_PHANTOM: any; - public static ENTITY_PARROT_IMITATE_PILLAGER: any; - public static ENTITY_PARROT_IMITATE_POLAR_BEAR: any; - public static ENTITY_PARROT_IMITATE_RAVAGER: any; - public static ENTITY_PARROT_IMITATE_SHULKER: any; - public static ENTITY_PARROT_IMITATE_SILVERFISH: any; - public static ENTITY_PARROT_IMITATE_SKELETON: any; - public static ENTITY_PARROT_IMITATE_SLIME: any; - public static ENTITY_PARROT_IMITATE_SPIDER: any; - public static ENTITY_PARROT_IMITATE_STRAY: any; - public static ENTITY_PARROT_IMITATE_VEX: any; - public static ENTITY_PARROT_IMITATE_VINDICATOR: any; - public static ENTITY_PARROT_IMITATE_WITCH: any; - public static ENTITY_PARROT_IMITATE_WITHER: any; - public static ENTITY_PARROT_IMITATE_WITHER_SKELETON: any; - public static ENTITY_PARROT_IMITATE_WOLF: any; - public static ENTITY_PARROT_IMITATE_ZOMBIE: any; - public static ENTITY_PARROT_IMITATE_ZOMBIE_PIGMAN: any; - public static ENTITY_PARROT_IMITATE_ZOMBIE_VILLAGER: any; - public static ENTITY_PARROT_STEP: any; - public static ENTITY_PHANTOM_AMBIENT: any; - public static ENTITY_PHANTOM_BITE: any; - public static ENTITY_PHANTOM_DEATH: any; - public static ENTITY_PHANTOM_FLAP: any; - public static ENTITY_PHANTOM_HURT: any; - public static ENTITY_PHANTOM_SWOOP: any; - public static ENTITY_PIG_AMBIENT: any; - public static ENTITY_PIG_DEATH: any; - public static ENTITY_PIG_HURT: any; - public static ENTITY_PIG_SADDLE: any; - public static ENTITY_PIG_STEP: any; - public static ENTITY_PILLAGER_AMBIENT: any; - public static ENTITY_PILLAGER_CELEBRATE: any; - public static ENTITY_PILLAGER_DEATH: any; - public static ENTITY_PILLAGER_HURT: any; - public static ENTITY_PLAYER_ATTACK_CRIT: any; - public static ENTITY_PLAYER_ATTACK_KNOCKBACK: any; - public static ENTITY_PLAYER_ATTACK_NODAMAGE: any; - public static ENTITY_PLAYER_ATTACK_STRONG: any; - public static ENTITY_PLAYER_ATTACK_SWEEP: any; - public static ENTITY_PLAYER_ATTACK_WEAK: any; - public static ENTITY_PLAYER_BIG_FALL: any; - public static ENTITY_PLAYER_BREATH: any; - public static ENTITY_PLAYER_BURP: any; - public static ENTITY_PLAYER_DEATH: any; - public static ENTITY_PLAYER_HURT: any; - public static ENTITY_PLAYER_HURT_DROWN: any; - public static ENTITY_PLAYER_HURT_ON_FIRE: any; - public static ENTITY_PLAYER_HURT_SWEET_BERRY_BUSH: any; - public static ENTITY_PLAYER_LEVELUP: any; - public static ENTITY_PLAYER_SMALL_FALL: any; - public static ENTITY_PLAYER_SPLASH: any; - public static ENTITY_PLAYER_SPLASH_HIGH_SPEED: any; - public static ENTITY_PLAYER_SWIM: any; - public static ENTITY_POLAR_BEAR_AMBIENT: any; - public static ENTITY_POLAR_BEAR_AMBIENT_BABY: any; - public static ENTITY_POLAR_BEAR_DEATH: any; - public static ENTITY_POLAR_BEAR_HURT: any; - public static ENTITY_POLAR_BEAR_STEP: any; - public static ENTITY_POLAR_BEAR_WARNING: any; - public static ENTITY_PUFFER_FISH_AMBIENT: any; - public static ENTITY_PUFFER_FISH_BLOW_OUT: any; - public static ENTITY_PUFFER_FISH_BLOW_UP: any; - public static ENTITY_PUFFER_FISH_DEATH: any; - public static ENTITY_PUFFER_FISH_FLOP: any; - public static ENTITY_PUFFER_FISH_HURT: any; - public static ENTITY_PUFFER_FISH_STING: any; - public static ENTITY_RABBIT_AMBIENT: any; - public static ENTITY_RABBIT_ATTACK: any; - public static ENTITY_RABBIT_DEATH: any; - public static ENTITY_RABBIT_HURT: any; - public static ENTITY_RABBIT_JUMP: any; - public static ENTITY_RAVAGER_AMBIENT: any; - public static ENTITY_RAVAGER_ATTACK: any; - public static ENTITY_RAVAGER_CELEBRATE: any; - public static ENTITY_RAVAGER_DEATH: any; - public static ENTITY_RAVAGER_HURT: any; - public static ENTITY_RAVAGER_ROAR: any; - public static ENTITY_RAVAGER_STEP: any; - public static ENTITY_RAVAGER_STUNNED: any; - public static ENTITY_SALMON_AMBIENT: any; - public static ENTITY_SALMON_DEATH: any; - public static ENTITY_SALMON_FLOP: any; - public static ENTITY_SALMON_HURT: any; - public static ENTITY_SHEEP_AMBIENT: any; - public static ENTITY_SHEEP_DEATH: any; - public static ENTITY_SHEEP_HURT: any; - public static ENTITY_SHEEP_SHEAR: any; - public static ENTITY_SHEEP_STEP: any; - public static ENTITY_SHULKER_AMBIENT: any; - public static ENTITY_SHULKER_BULLET_HIT: any; - public static ENTITY_SHULKER_BULLET_HURT: any; - public static ENTITY_SHULKER_CLOSE: any; - public static ENTITY_SHULKER_DEATH: any; - public static ENTITY_SHULKER_HURT: any; - public static ENTITY_SHULKER_HURT_CLOSED: any; - public static ENTITY_SHULKER_OPEN: any; - public static ENTITY_SHULKER_SHOOT: any; - public static ENTITY_SHULKER_TELEPORT: any; - public static ENTITY_SILVERFISH_AMBIENT: any; - public static ENTITY_SILVERFISH_DEATH: any; - public static ENTITY_SILVERFISH_HURT: any; - public static ENTITY_SILVERFISH_STEP: any; - public static ENTITY_SKELETON_AMBIENT: any; - public static ENTITY_SKELETON_DEATH: any; - public static ENTITY_SKELETON_HORSE_AMBIENT: any; - public static ENTITY_SKELETON_HORSE_AMBIENT_WATER: any; - public static ENTITY_SKELETON_HORSE_DEATH: any; - public static ENTITY_SKELETON_HORSE_GALLOP_WATER: any; - public static ENTITY_SKELETON_HORSE_HURT: any; - public static ENTITY_SKELETON_HORSE_JUMP_WATER: any; - public static ENTITY_SKELETON_HORSE_STEP_WATER: any; - public static ENTITY_SKELETON_HORSE_SWIM: any; - public static ENTITY_SKELETON_HURT: any; - public static ENTITY_SKELETON_SHOOT: any; - public static ENTITY_SKELETON_STEP: any; - public static ENTITY_SLIME_ATTACK: any; - public static ENTITY_SLIME_DEATH: any; - public static ENTITY_SLIME_DEATH_SMALL: any; - public static ENTITY_SLIME_HURT: any; - public static ENTITY_SLIME_HURT_SMALL: any; - public static ENTITY_SLIME_JUMP: any; - public static ENTITY_SLIME_JUMP_SMALL: any; - public static ENTITY_SLIME_SQUISH: any; - public static ENTITY_SLIME_SQUISH_SMALL: any; - public static ENTITY_SNOWBALL_THROW: any; - public static ENTITY_SNOW_GOLEM_AMBIENT: any; - public static ENTITY_SNOW_GOLEM_DEATH: any; - public static ENTITY_SNOW_GOLEM_HURT: any; - public static ENTITY_SNOW_GOLEM_SHOOT: any; - public static ENTITY_SPIDER_AMBIENT: any; - public static ENTITY_SPIDER_DEATH: any; - public static ENTITY_SPIDER_HURT: any; - public static ENTITY_SPIDER_STEP: any; - public static ENTITY_SPLASH_POTION_BREAK: any; - public static ENTITY_SPLASH_POTION_THROW: any; - public static ENTITY_SQUID_AMBIENT: any; - public static ENTITY_SQUID_DEATH: any; - public static ENTITY_SQUID_HURT: any; - public static ENTITY_SQUID_SQUIRT: any; - public static ENTITY_STRAY_AMBIENT: any; - public static ENTITY_STRAY_DEATH: any; - public static ENTITY_STRAY_HURT: any; - public static ENTITY_STRAY_STEP: any; - public static ENTITY_TNT_PRIMED: any; - public static ENTITY_TROPICAL_FISH_AMBIENT: any; - public static ENTITY_TROPICAL_FISH_DEATH: any; - public static ENTITY_TROPICAL_FISH_FLOP: any; - public static ENTITY_TROPICAL_FISH_HURT: any; - public static ENTITY_TURTLE_AMBIENT_LAND: any; - public static ENTITY_TURTLE_DEATH: any; - public static ENTITY_TURTLE_DEATH_BABY: any; - public static ENTITY_TURTLE_EGG_BREAK: any; - public static ENTITY_TURTLE_EGG_CRACK: any; - public static ENTITY_TURTLE_EGG_HATCH: any; - public static ENTITY_TURTLE_HURT: any; - public static ENTITY_TURTLE_HURT_BABY: any; - public static ENTITY_TURTLE_LAY_EGG: any; - public static ENTITY_TURTLE_SHAMBLE: any; - public static ENTITY_TURTLE_SHAMBLE_BABY: any; - public static ENTITY_TURTLE_SWIM: any; - public static ENTITY_VEX_AMBIENT: any; - public static ENTITY_VEX_CHARGE: any; - public static ENTITY_VEX_DEATH: any; - public static ENTITY_VEX_HURT: any; - public static ENTITY_VILLAGER_AMBIENT: any; - public static ENTITY_VILLAGER_CELEBRATE: any; - public static ENTITY_VILLAGER_DEATH: any; - public static ENTITY_VILLAGER_HURT: any; - public static ENTITY_VILLAGER_NO: any; - public static ENTITY_VILLAGER_TRADE: any; - public static ENTITY_VILLAGER_WORK_ARMORER: any; - public static ENTITY_VILLAGER_WORK_BUTCHER: any; - public static ENTITY_VILLAGER_WORK_CARTOGRAPHER: any; - public static ENTITY_VILLAGER_WORK_CLERIC: any; - public static ENTITY_VILLAGER_WORK_FARMER: any; - public static ENTITY_VILLAGER_WORK_FISHERMAN: any; - public static ENTITY_VILLAGER_WORK_FLETCHER: any; - public static ENTITY_VILLAGER_WORK_LEATHERWORKER: any; - public static ENTITY_VILLAGER_WORK_LIBRARIAN: any; - public static ENTITY_VILLAGER_WORK_MASON: any; - public static ENTITY_VILLAGER_WORK_SHEPHERD: any; - public static ENTITY_VILLAGER_WORK_TOOLSMITH: any; - public static ENTITY_VILLAGER_WORK_WEAPONSMITH: any; - public static ENTITY_VILLAGER_YES: any; - public static ENTITY_VINDICATOR_AMBIENT: any; - public static ENTITY_VINDICATOR_CELEBRATE: any; - public static ENTITY_VINDICATOR_DEATH: any; - public static ENTITY_VINDICATOR_HURT: any; - public static ENTITY_WANDERING_TRADER_AMBIENT: any; - public static ENTITY_WANDERING_TRADER_DEATH: any; - public static ENTITY_WANDERING_TRADER_DISAPPEARED: any; - public static ENTITY_WANDERING_TRADER_DRINK_MILK: any; - public static ENTITY_WANDERING_TRADER_DRINK_POTION: any; - public static ENTITY_WANDERING_TRADER_HURT: any; - public static ENTITY_WANDERING_TRADER_NO: any; - public static ENTITY_WANDERING_TRADER_REAPPEARED: any; - public static ENTITY_WANDERING_TRADER_TRADE: any; - public static ENTITY_WANDERING_TRADER_YES: any; - public static ENTITY_WITCH_AMBIENT: any; - public static ENTITY_WITCH_CELEBRATE: any; - public static ENTITY_WITCH_DEATH: any; - public static ENTITY_WITCH_DRINK: any; - public static ENTITY_WITCH_HURT: any; - public static ENTITY_WITCH_THROW: any; - public static ENTITY_WITHER_AMBIENT: any; - public static ENTITY_WITHER_BREAK_BLOCK: any; - public static ENTITY_WITHER_DEATH: any; - public static ENTITY_WITHER_HURT: any; - public static ENTITY_WITHER_SHOOT: any; - public static ENTITY_WITHER_SKELETON_AMBIENT: any; - public static ENTITY_WITHER_SKELETON_DEATH: any; - public static ENTITY_WITHER_SKELETON_HURT: any; - public static ENTITY_WITHER_SKELETON_STEP: any; - public static ENTITY_WITHER_SPAWN: any; - public static ENTITY_WOLF_AMBIENT: any; - public static ENTITY_WOLF_DEATH: any; - public static ENTITY_WOLF_GROWL: any; - public static ENTITY_WOLF_HOWL: any; - public static ENTITY_WOLF_HURT: any; - public static ENTITY_WOLF_PANT: any; - public static ENTITY_WOLF_SHAKE: any; - public static ENTITY_WOLF_STEP: any; - public static ENTITY_WOLF_WHINE: any; - public static ENTITY_ZOMBIE_AMBIENT: any; - public static ENTITY_ZOMBIE_ATTACK_IRON_DOOR: any; - public static ENTITY_ZOMBIE_ATTACK_WOODEN_DOOR: any; - public static ENTITY_ZOMBIE_BREAK_WOODEN_DOOR: any; - public static ENTITY_ZOMBIE_CONVERTED_TO_DROWNED: any; - public static ENTITY_ZOMBIE_DEATH: any; - public static ENTITY_ZOMBIE_DESTROY_EGG: any; - public static ENTITY_ZOMBIE_HORSE_AMBIENT: any; - public static ENTITY_ZOMBIE_HORSE_DEATH: any; - public static ENTITY_ZOMBIE_HORSE_HURT: any; - public static ENTITY_ZOMBIE_HURT: any; - public static ENTITY_ZOMBIE_INFECT: any; - public static ENTITY_ZOMBIE_PIGMAN_AMBIENT: any; - public static ENTITY_ZOMBIE_PIGMAN_ANGRY: any; - public static ENTITY_ZOMBIE_PIGMAN_DEATH: any; - public static ENTITY_ZOMBIE_PIGMAN_HURT: any; - public static ENTITY_ZOMBIE_STEP: any; - public static ENTITY_ZOMBIE_VILLAGER_AMBIENT: any; - public static ENTITY_ZOMBIE_VILLAGER_CONVERTED: any; - public static ENTITY_ZOMBIE_VILLAGER_CURE: any; - public static ENTITY_ZOMBIE_VILLAGER_DEATH: any; - public static ENTITY_ZOMBIE_VILLAGER_HURT: any; - public static ENTITY_ZOMBIE_VILLAGER_STEP: any; - public static EVENT_RAID_HORN: any; - public static ITEM_ARMOR_EQUIP_CHAIN: any; - public static ITEM_ARMOR_EQUIP_DIAMOND: any; - public static ITEM_ARMOR_EQUIP_ELYTRA: any; - public static ITEM_ARMOR_EQUIP_GENERIC: any; - public static ITEM_ARMOR_EQUIP_GOLD: any; - public static ITEM_ARMOR_EQUIP_IRON: any; - public static ITEM_ARMOR_EQUIP_LEATHER: any; - public static ITEM_ARMOR_EQUIP_TURTLE: any; - public static ITEM_AXE_STRIP: any; - public static ITEM_BOOK_PAGE_TURN: any; - public static ITEM_BOOK_PUT: any; - public static ITEM_BOTTLE_EMPTY: any; - public static ITEM_BOTTLE_FILL: any; - public static ITEM_BOTTLE_FILL_DRAGONBREATH: any; - public static ITEM_BUCKET_EMPTY: any; - public static ITEM_BUCKET_EMPTY_FISH: any; - public static ITEM_BUCKET_EMPTY_LAVA: any; - public static ITEM_BUCKET_FILL: any; - public static ITEM_BUCKET_FILL_FISH: any; - public static ITEM_BUCKET_FILL_LAVA: any; - public static ITEM_CHORUS_FRUIT_TELEPORT: any; - public static ITEM_CROP_PLANT: any; - public static ITEM_CROSSBOW_HIT: any; - public static ITEM_CROSSBOW_LOADING_END: any; - public static ITEM_CROSSBOW_LOADING_MIDDLE: any; - public static ITEM_CROSSBOW_LOADING_START: any; - public static ITEM_CROSSBOW_QUICK_CHARGE_1: any; - public static ITEM_CROSSBOW_QUICK_CHARGE_2: any; - public static ITEM_CROSSBOW_QUICK_CHARGE_3: any; - public static ITEM_CROSSBOW_SHOOT: any; - public static ITEM_ELYTRA_FLYING: any; - public static ITEM_FIRECHARGE_USE: any; - public static ITEM_FLINTANDSTEEL_USE: any; - public static ITEM_HOE_TILL: any; - public static ITEM_NETHER_WART_PLANT: any; - public static ITEM_SHIELD_BLOCK: any; - public static ITEM_SHIELD_BREAK: any; - public static ITEM_SHOVEL_FLATTEN: any; - public static ITEM_SWEET_BERRIES_PICK_FROM_BUSH: any; - public static ITEM_TOTEM_USE: any; - public static ITEM_TRIDENT_HIT: any; - public static ITEM_TRIDENT_HIT_GROUND: any; - public static ITEM_TRIDENT_RETURN: any; - public static ITEM_TRIDENT_RIPTIDE_1: any; - public static ITEM_TRIDENT_RIPTIDE_2: any; - public static ITEM_TRIDENT_RIPTIDE_3: any; - public static ITEM_TRIDENT_THROW: any; - public static ITEM_TRIDENT_THUNDER: any; - public static MUSIC_CREATIVE: any; - public static MUSIC_CREDITS: any; - public static MUSIC_DISC_11: any; - public static MUSIC_DISC_13: any; - public static MUSIC_DISC_BLOCKS: any; - public static MUSIC_DISC_CAT: any; - public static MUSIC_DISC_CHIRP: any; - public static MUSIC_DISC_FAR: any; - public static MUSIC_DISC_MALL: any; - public static MUSIC_DISC_MELLOHI: any; - public static MUSIC_DISC_STAL: any; - public static MUSIC_DISC_STRAD: any; - public static MUSIC_DISC_WAIT: any; - public static MUSIC_DISC_WARD: any; - public static MUSIC_DRAGON: any; - public static MUSIC_END: any; - public static MUSIC_GAME: any; - public static MUSIC_MENU: any; - public static MUSIC_NETHER: any; - public static MUSIC_UNDER_WATER: any; - public static UI_BUTTON_CLICK: any; - public static UI_CARTOGRAPHY_TABLE_TAKE_RESULT: any; - public static UI_LOOM_SELECT_PATTERN: any; - public static UI_LOOM_TAKE_RESULT: any; - public static UI_STONECUTTER_SELECT_RECIPE: any; - public static UI_STONECUTTER_TAKE_RESULT: any; - public static UI_TOAST_CHALLENGE_COMPLETE: any; - public static UI_TOAST_IN: any; - public static UI_TOAST_OUT: any; - public static WEATHER_RAIN: any; - public static WEATHER_RAIN_ABOVE: any; - public static values(): any; - public static valueOf(name: any): any; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.SoundCategory.ts b/packages/bukkit/src/typings/org.bukkit.SoundCategory.ts deleted file mode 100644 index a94a3ac3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.SoundCategory.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class SoundCategory { - public static MASTER: org.bukkit.SoundCategory; - public static MUSIC: org.bukkit.SoundCategory; - public static RECORDS: org.bukkit.SoundCategory; - public static WEATHER: org.bukkit.SoundCategory; - public static BLOCKS: org.bukkit.SoundCategory; - public static HOSTILE: org.bukkit.SoundCategory; - public static NEUTRAL: org.bukkit.SoundCategory; - public static PLAYERS: org.bukkit.SoundCategory; - public static AMBIENT: org.bukkit.SoundCategory; - public static VOICE: org.bukkit.SoundCategory; - public static values(): org.bukkit.SoundCategory[]; - public static valueOf(name: string): org.bukkit.SoundCategory; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Statistic.Type.ts b/packages/bukkit/src/typings/org.bukkit.Statistic.Type.ts deleted file mode 100644 index 5247806a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Statistic.Type.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace Statistic { - // @ts-ignore - class Type { - public static UNTYPED: org.bukkit.Statistic.Type; - public static ITEM: org.bukkit.Statistic.Type; - public static BLOCK: org.bukkit.Statistic.Type; - public static ENTITY: org.bukkit.Statistic.Type; - public static values(): org.bukkit.Statistic.Type[]; - public static valueOf(name: string): org.bukkit.Statistic.Type; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Statistic.ts b/packages/bukkit/src/typings/org.bukkit.Statistic.ts deleted file mode 100644 index 8d65357d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Statistic.ts +++ /dev/null @@ -1,108 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class Statistic implements org.bukkit.Keyed { - public static DAMAGE_DEALT: org.bukkit.Statistic; - public static DAMAGE_TAKEN: org.bukkit.Statistic; - public static DEATHS: org.bukkit.Statistic; - public static MOB_KILLS: org.bukkit.Statistic; - public static PLAYER_KILLS: org.bukkit.Statistic; - public static FISH_CAUGHT: org.bukkit.Statistic; - public static ANIMALS_BRED: org.bukkit.Statistic; - public static LEAVE_GAME: org.bukkit.Statistic; - public static JUMP: org.bukkit.Statistic; - public static DROP_COUNT: org.bukkit.Statistic; - public static DROP: org.bukkit.Statistic; - public static PICKUP: org.bukkit.Statistic; - public static PLAY_ONE_MINUTE: org.bukkit.Statistic; - public static WALK_ONE_CM: org.bukkit.Statistic; - public static WALK_ON_WATER_ONE_CM: org.bukkit.Statistic; - public static FALL_ONE_CM: org.bukkit.Statistic; - public static SNEAK_TIME: org.bukkit.Statistic; - public static CLIMB_ONE_CM: org.bukkit.Statistic; - public static FLY_ONE_CM: org.bukkit.Statistic; - public static WALK_UNDER_WATER_ONE_CM: org.bukkit.Statistic; - public static MINECART_ONE_CM: org.bukkit.Statistic; - public static BOAT_ONE_CM: org.bukkit.Statistic; - public static PIG_ONE_CM: org.bukkit.Statistic; - public static HORSE_ONE_CM: org.bukkit.Statistic; - public static SPRINT_ONE_CM: org.bukkit.Statistic; - public static CROUCH_ONE_CM: org.bukkit.Statistic; - public static AVIATE_ONE_CM: org.bukkit.Statistic; - public static MINE_BLOCK: org.bukkit.Statistic; - public static USE_ITEM: org.bukkit.Statistic; - public static BREAK_ITEM: org.bukkit.Statistic; - public static CRAFT_ITEM: org.bukkit.Statistic; - public static KILL_ENTITY: org.bukkit.Statistic; - public static ENTITY_KILLED_BY: org.bukkit.Statistic; - public static TIME_SINCE_DEATH: org.bukkit.Statistic; - public static TALKED_TO_VILLAGER: org.bukkit.Statistic; - public static TRADED_WITH_VILLAGER: org.bukkit.Statistic; - public static CAKE_SLICES_EATEN: org.bukkit.Statistic; - public static CAULDRON_FILLED: org.bukkit.Statistic; - public static CAULDRON_USED: org.bukkit.Statistic; - public static ARMOR_CLEANED: org.bukkit.Statistic; - public static BANNER_CLEANED: org.bukkit.Statistic; - public static BREWINGSTAND_INTERACTION: org.bukkit.Statistic; - public static BEACON_INTERACTION: org.bukkit.Statistic; - public static DROPPER_INSPECTED: org.bukkit.Statistic; - public static HOPPER_INSPECTED: org.bukkit.Statistic; - public static DISPENSER_INSPECTED: org.bukkit.Statistic; - public static NOTEBLOCK_PLAYED: org.bukkit.Statistic; - public static NOTEBLOCK_TUNED: org.bukkit.Statistic; - public static FLOWER_POTTED: org.bukkit.Statistic; - public static TRAPPED_CHEST_TRIGGERED: org.bukkit.Statistic; - public static ENDERCHEST_OPENED: org.bukkit.Statistic; - public static ITEM_ENCHANTED: org.bukkit.Statistic; - public static RECORD_PLAYED: org.bukkit.Statistic; - public static FURNACE_INTERACTION: org.bukkit.Statistic; - public static CRAFTING_TABLE_INTERACTION: org.bukkit.Statistic; - public static CHEST_OPENED: org.bukkit.Statistic; - public static SLEEP_IN_BED: org.bukkit.Statistic; - public static SHULKER_BOX_OPENED: org.bukkit.Statistic; - public static TIME_SINCE_REST: org.bukkit.Statistic; - public static SWIM_ONE_CM: org.bukkit.Statistic; - public static DAMAGE_DEALT_ABSORBED: org.bukkit.Statistic; - public static DAMAGE_DEALT_RESISTED: org.bukkit.Statistic; - public static DAMAGE_BLOCKED_BY_SHIELD: org.bukkit.Statistic; - public static DAMAGE_ABSORBED: org.bukkit.Statistic; - public static DAMAGE_RESISTED: org.bukkit.Statistic; - public static CLEAN_SHULKER_BOX: org.bukkit.Statistic; - public static OPEN_BARREL: org.bukkit.Statistic; - public static INTERACT_WITH_BLAST_FURNACE: org.bukkit.Statistic; - public static INTERACT_WITH_SMOKER: org.bukkit.Statistic; - public static INTERACT_WITH_LECTERN: org.bukkit.Statistic; - public static INTERACT_WITH_CAMPFIRE: org.bukkit.Statistic; - public static INTERACT_WITH_CARTOGRAPHY_TABLE: org.bukkit.Statistic; - public static INTERACT_WITH_LOOM: org.bukkit.Statistic; - public static INTERACT_WITH_STONECUTTER: org.bukkit.Statistic; - public static BELL_RING: org.bukkit.Statistic; - public static RAID_TRIGGER: org.bukkit.Statistic; - public static RAID_WIN: org.bukkit.Statistic; - public static values(): org.bukkit.Statistic[]; - public static valueOf(name: string): org.bukkit.Statistic; - /** - * Gets the type of this statistic. - */ - public getType(): org.bukkit.Statistic.Type; - /** - * Checks if this is a substatistic. - *

- * A substatistic exists en masse for each block, item, or entitytype, depending on - * {@link #getType()}. - *

- * This is a redundant method and equivalent to checking - * getType() != Type.UNTYPED - */ - public isSubstatistic(): boolean; - /** - * Checks if this is a substatistic dealing with blocks. - *

- * This is a redundant method and equivalent to checking - * getType() == Type.BLOCK - */ - public isBlock(): boolean; - public getKey(): org.bukkit.NamespacedKey; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.StructureType.ts b/packages/bukkit/src/typings/org.bukkit.StructureType.ts deleted file mode 100644 index 837fc9b8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.StructureType.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class StructureType { - public static MINESHAFT: org.bukkit.StructureType; - public static VILLAGE: org.bukkit.StructureType; - public static NETHER_FORTRESS: org.bukkit.StructureType; - public static STRONGHOLD: org.bukkit.StructureType; - public static JUNGLE_PYRAMID: org.bukkit.StructureType; - public static OCEAN_RUIN: org.bukkit.StructureType; - public static DESERT_PYRAMID: org.bukkit.StructureType; - public static IGLOO: org.bukkit.StructureType; - public static SWAMP_HUT: org.bukkit.StructureType; - public static OCEAN_MONUMENT: org.bukkit.StructureType; - public static END_CITY: org.bukkit.StructureType; - public static WOODLAND_MANSION: org.bukkit.StructureType; - public static BURIED_TREASURE: org.bukkit.StructureType; - public static SHIPWRECK: org.bukkit.StructureType; - public static PILLAGER_OUTPOST: org.bukkit.StructureType; - /** - * Get the name of this structure. This is case-sensitive when used in - * commands. - */ - public getName(): string; - /** - * Get the {@link org.bukkit.map.MapCursor.Type} that this structure can use on maps. If - * this is null, this structure will not appear on explorer maps. - */ - public getMapIcon(): org.bukkit.map.MapCursor.Type; - public equals(other: any): boolean; - public hashCode(): number; - public toString(): string; - /** - * Get all registered {@link StructureType}s. - */ - public static getStructureTypes(): Map /*java.util.Map*/; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Tag.ts b/packages/bukkit/src/typings/org.bukkit.Tag.ts deleted file mode 100644 index 636c2287..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Tag.ts +++ /dev/null @@ -1,71 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface Tag extends org.bukkit.Keyed { - REGISTRY_BLOCKS: string; - WOOL: org.bukkit.Tag; - PLANKS: org.bukkit.Tag; - STONE_BRICKS: org.bukkit.Tag; - WOODEN_BUTTONS: org.bukkit.Tag; - BUTTONS: org.bukkit.Tag; - CARPETS: org.bukkit.Tag; - WOODEN_DOORS: org.bukkit.Tag; - WOODEN_STAIRS: org.bukkit.Tag; - WOODEN_SLABS: org.bukkit.Tag; - WOODEN_FENCES: org.bukkit.Tag; - WOODEN_PRESSURE_PLATES: org.bukkit.Tag; - WOODEN_TRAPDOORS: org.bukkit.Tag; - DOORS: org.bukkit.Tag; - SAPLINGS: org.bukkit.Tag; - LOGS: org.bukkit.Tag; - DARK_OAK_LOGS: org.bukkit.Tag; - OAK_LOGS: org.bukkit.Tag; - BIRCH_LOGS: org.bukkit.Tag; - ACACIA_LOGS: org.bukkit.Tag; - JUNGLE_LOGS: org.bukkit.Tag; - SPRUCE_LOGS: org.bukkit.Tag; - BANNERS: org.bukkit.Tag; - SAND: org.bukkit.Tag; - STAIRS: org.bukkit.Tag; - SLABS: org.bukkit.Tag; - WALLS: org.bukkit.Tag; - ANVIL: org.bukkit.Tag; - RAILS: org.bukkit.Tag; - LEAVES: org.bukkit.Tag; - TRAPDOORS: org.bukkit.Tag; - FLOWER_POTS: org.bukkit.Tag; - SMALL_FLOWERS: org.bukkit.Tag; - BEDS: org.bukkit.Tag; - FENCES: org.bukkit.Tag; - ENDERMAN_HOLDABLE: org.bukkit.Tag; - ICE: org.bukkit.Tag; - VALID_SPAWN: org.bukkit.Tag; - IMPERMEABLE: org.bukkit.Tag; - UNDERWATER_BONEMEALS: org.bukkit.Tag; - CORAL_BLOCKS: org.bukkit.Tag; - WALL_CORALS: org.bukkit.Tag; - CORAL_PLANTS: org.bukkit.Tag; - CORALS: org.bukkit.Tag; - BAMBOO_PLANTABLE_ON: org.bukkit.Tag; - DIRT_LIKE: org.bukkit.Tag; - STANDING_SIGNS: org.bukkit.Tag; - WALL_SIGNS: org.bukkit.Tag; - SIGNS: org.bukkit.Tag; - REGISTRY_ITEMS: string; - ITEMS_BANNERS: org.bukkit.Tag; - ITEMS_BOATS: org.bukkit.Tag; - ITEMS_FISHES: org.bukkit.Tag; - ITEMS_MUSIC_DISCS: org.bukkit.Tag; - ITEMS_COALS: org.bukkit.Tag; - ITEMS_ARROWS: org.bukkit.Tag; - /** - * Returns whether or not this tag has an entry for the specified item. - */ - isTagged(item: org.bukkit.Keyed): boolean; - /** - * Gets an immutable set of all tagged items. - */ - getValues(): any[] /*java.util.Set*/; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.TreeSpecies.ts b/packages/bukkit/src/typings/org.bukkit.TreeSpecies.ts deleted file mode 100644 index d66d5fd4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.TreeSpecies.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class TreeSpecies { - public static GENERIC: org.bukkit.TreeSpecies; - public static REDWOOD: org.bukkit.TreeSpecies; - public static BIRCH: org.bukkit.TreeSpecies; - public static JUNGLE: org.bukkit.TreeSpecies; - public static ACACIA: org.bukkit.TreeSpecies; - public static DARK_OAK: org.bukkit.TreeSpecies; - public static values(): org.bukkit.TreeSpecies[]; - public static valueOf(name: string): org.bukkit.TreeSpecies; - /** - * Gets the associated data value representing this species - */ - public getData(): number; - /** - * Gets the TreeSpecies with the given data value - */ - public static getByData(data: number): org.bukkit.TreeSpecies; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.TreeType.ts b/packages/bukkit/src/typings/org.bukkit.TreeType.ts deleted file mode 100644 index a7d493e1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.TreeType.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class TreeType { - public static TREE: org.bukkit.TreeType; - public static BIG_TREE: org.bukkit.TreeType; - public static REDWOOD: org.bukkit.TreeType; - public static TALL_REDWOOD: org.bukkit.TreeType; - public static BIRCH: org.bukkit.TreeType; - public static JUNGLE: org.bukkit.TreeType; - public static SMALL_JUNGLE: org.bukkit.TreeType; - public static COCOA_TREE: org.bukkit.TreeType; - public static JUNGLE_BUSH: org.bukkit.TreeType; - public static RED_MUSHROOM: org.bukkit.TreeType; - public static BROWN_MUSHROOM: org.bukkit.TreeType; - public static SWAMP: org.bukkit.TreeType; - public static ACACIA: org.bukkit.TreeType; - public static DARK_OAK: org.bukkit.TreeType; - public static MEGA_REDWOOD: org.bukkit.TreeType; - public static TALL_BIRCH: org.bukkit.TreeType; - public static CHORUS_PLANT: org.bukkit.TreeType; - public static values(): org.bukkit.TreeType[]; - public static valueOf(name: string): org.bukkit.TreeType; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.UndefinedNullability.ts b/packages/bukkit/src/typings/org.bukkit.UndefinedNullability.ts deleted file mode 100644 index 41b26b47..00000000 --- a/packages/bukkit/src/typings/org.bukkit.UndefinedNullability.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface UndefinedNullability { - /** - * Human readable description of the circumstances, in which the type is - * nullable. - */ - value(): string; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.UnsafeValues.ts b/packages/bukkit/src/typings/org.bukkit.UnsafeValues.ts deleted file mode 100644 index 7fd1cbcd..00000000 --- a/packages/bukkit/src/typings/org.bukkit.UnsafeValues.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface UnsafeValues { - toLegacy(material: org.bukkit.Material): org.bukkit.Material; - fromLegacy(material: org.bukkit.Material): org.bukkit.Material; - fromLegacy(material: org.bukkit.material.MaterialData): org.bukkit.Material; - fromLegacy(material: org.bukkit.material.MaterialData, itemPriority: boolean): org.bukkit.Material; - fromLegacy(material: org.bukkit.Material, data: number): org.bukkit.block.data.BlockData; - getMaterial(material: string, version: number): org.bukkit.Material; - getDataVersion(): number; - modifyItemStack(stack: org.bukkit.inventory.ItemStack, arguments: string): org.bukkit.inventory.ItemStack; - checkSupported(pdf: org.bukkit.plugin.PluginDescriptionFile): void; - processClass(pdf: org.bukkit.plugin.PluginDescriptionFile, path: string, clazz: number): number[]; - /** - * Load an advancement represented by the specified string into the server. - * The advancement format is governed by Minecraft and has no specified - * layout. - *
- * It is currently a JSON object, as described by the Minecraft Wiki: - * http://minecraft.gamepedia.com/Advancements - *
- * Loaded advancements will be stored and persisted across server restarts - * and reloads. - *
- * Callers should be prepared for {@link Exception} to be thrown. - */ - loadAdvancement(key: org.bukkit.NamespacedKey, advancement: string): org.bukkit.advancement.Advancement; - /** - * Delete an advancement which was loaded and saved by - * {@link #loadAdvancement(org.bukkit.NamespacedKey, java.lang.String)}. - *
- * This method will only remove advancement from persistent storage. It - * should be accompanied by a call to {@link Server#reloadData()} in order - * to fully remove it from the running instance. - */ - removeAdvancement(key: org.bukkit.NamespacedKey): boolean; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Utility.ts b/packages/bukkit/src/typings/org.bukkit.Utility.ts deleted file mode 100644 index fe85dd93..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Utility.ts +++ /dev/null @@ -1,7 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface Utility { - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Warning.WarningState.ts b/packages/bukkit/src/typings/org.bukkit.Warning.WarningState.ts deleted file mode 100644 index 7420791e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Warning.WarningState.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace Warning { - // @ts-ignore - class WarningState { - public static ON: org.bukkit.Warning.WarningState; - public static OFF: org.bukkit.Warning.WarningState; - public static DEFAULT: org.bukkit.Warning.WarningState; - public static values(): org.bukkit.Warning.WarningState[]; - public static valueOf(name: string): org.bukkit.Warning.WarningState; - /** - * This method checks the provided warning should be printed for this - * state - */ - public printFor(warning: org.bukkit.Warning): boolean; - /** - * This method returns the corresponding warning state for the given - * string value. - */ - public static value(value: string): org.bukkit.Warning.WarningState; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.Warning.ts b/packages/bukkit/src/typings/org.bukkit.Warning.ts deleted file mode 100644 index 631537bb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.Warning.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface Warning { - /** - * This sets if the deprecation warnings when registering events gets - * printed when the setting is in the default state. - */ - value(): boolean; - /** - * This can provide detailed information on why the event is deprecated. - */ - reason(): string; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.WeatherType.ts b/packages/bukkit/src/typings/org.bukkit.WeatherType.ts deleted file mode 100644 index 30fb9f31..00000000 --- a/packages/bukkit/src/typings/org.bukkit.WeatherType.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class WeatherType { - public static DOWNFALL: org.bukkit.WeatherType; - public static CLEAR: org.bukkit.WeatherType; - public static values(): org.bukkit.WeatherType[]; - public static valueOf(name: string): org.bukkit.WeatherType; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.World.Environment.ts b/packages/bukkit/src/typings/org.bukkit.World.Environment.ts deleted file mode 100644 index 34c84b1f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.World.Environment.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace World { - // @ts-ignore - class Environment { - public static NORMAL: org.bukkit.World.Environment; - public static NETHER: org.bukkit.World.Environment; - public static THE_END: org.bukkit.World.Environment; - public static values(): org.bukkit.World.Environment[]; - public static valueOf(name: string): org.bukkit.World.Environment; - /** - * Gets the dimension ID of this environment - */ - public getId(): number; - /** - * Get an environment by ID - */ - public static getEnvironment(id: number): org.bukkit.World.Environment; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.World.ts b/packages/bukkit/src/typings/org.bukkit.World.ts deleted file mode 100644 index 6c2f82a6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.World.ts +++ /dev/null @@ -1,987 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface World extends org.bukkit.plugin.messaging.PluginMessageRecipient, org.bukkit.metadata.Metadatable { - /** - * Gets the {@link Block} at the given coordinates - */ - getBlockAt(x: number, y: number, z: number): org.bukkit.block.Block; - /** - * Gets the {@link Block} at the given {@link Location} - */ - getBlockAt(location: org.bukkit.Location): org.bukkit.block.Block; - /** - * Gets the y coordinate of the lowest block at this position such that the - * block and all blocks above it are transparent for lighting purposes. - */ - getHighestBlockYAt(x: number, z: number): number; - /** - * Gets the y coordinate of the lowest block at the given {@link Location} - * such that the block and all blocks above it are transparent for lighting - * purposes. - */ - getHighestBlockYAt(location: org.bukkit.Location): number; - /** - * Gets the lowest block at the given coordinates such that the block and - * all blocks above it are transparent for lighting purposes. - */ - getHighestBlockAt(x: number, z: number): org.bukkit.block.Block; - /** - * Gets the lowest block at the given {@link Location} such that the block - * and all blocks above it are transparent for lighting purposes. - */ - getHighestBlockAt(location: org.bukkit.Location): org.bukkit.block.Block; - /** - * Gets the {@link Chunk} at the given coordinates - */ - getChunkAt(x: number, z: number): org.bukkit.Chunk; - /** - * Gets the {@link Chunk} at the given {@link Location} - */ - getChunkAt(location: org.bukkit.Location): org.bukkit.Chunk; - /** - * Gets the {@link Chunk} that contains the given {@link Block} - */ - getChunkAt(block: org.bukkit.block.Block): org.bukkit.Chunk; - /** - * Checks if the specified {@link Chunk} is loaded - */ - isChunkLoaded(chunk: org.bukkit.Chunk): boolean; - /** - * Gets an array of all loaded {@link Chunk}s - */ - getLoadedChunks(): org.bukkit.Chunk[]; - /** - * Loads the specified {@link Chunk}. - *

- * This method will keep the specified chunk loaded until one of the - * unload methods is manually called. Callers are advised to instead use - * getChunkAt which will only temporarily load the requested chunk. - */ - loadChunk(chunk: org.bukkit.Chunk): void; - /** - * Checks if the {@link Chunk} at the specified coordinates is loaded - */ - isChunkLoaded(x: number, z: number): boolean; - /** - * Checks if the {@link Chunk} at the specified coordinates is generated - */ - isChunkGenerated(x: number, z: number): boolean; - /** - * Checks if the {@link Chunk} at the specified coordinates is loaded and - * in use by one or more players - */ - isChunkInUse(x: number, z: number): boolean; - /** - * Loads the {@link Chunk} at the specified coordinates. - *

- * This method will keep the specified chunk loaded until one of the - * unload methods is manually called. Callers are advised to instead use - * getChunkAt which will only temporarily load the requested chunk. - *

- * If the chunk does not exist, it will be generated. - *

- * This method is analogous to {@link #loadChunk(int, int, boolean)} where - * generate is true. - */ - loadChunk(x: number, z: number): void; - /** - * Loads the {@link Chunk} at the specified coordinates. - *

- * This method will keep the specified chunk loaded until one of the - * unload methods is manually called. Callers are advised to instead use - * getChunkAt which will only temporarily load the requested chunk. - */ - loadChunk(x: number, z: number, generate: boolean): boolean; - /** - * Safely unloads and saves the {@link Chunk} at the specified coordinates - *

- * This method is analogous to {@link #unloadChunk(int, int, boolean)} - * where save is true. - */ - unloadChunk(chunk: org.bukkit.Chunk): boolean; - /** - * Safely unloads and saves the {@link Chunk} at the specified coordinates - *

- * This method is analogous to {@link #unloadChunk(int, int, boolean)} - * where save is true. - */ - unloadChunk(x: number, z: number): boolean; - /** - * Safely unloads and optionally saves the {@link Chunk} at the specified - * coordinates. - */ - unloadChunk(x: number, z: number, save: boolean): boolean; - /** - * Safely queues the {@link Chunk} at the specified coordinates for - * unloading. - */ - unloadChunkRequest(x: number, z: number): boolean; - /** - * Regenerates the {@link Chunk} at the specified coordinates - */ - regenerateChunk(x: number, z: number): boolean; - /** - * Resends the {@link Chunk} to all clients - */ - refreshChunk(x: number, z: number): boolean; - /** - * Gets whether the chunk at the specified chunk coordinates is force - * loaded. - *

- * A force loaded chunk will not be unloaded due to lack of player activity. - */ - isChunkForceLoaded(x: number, z: number): boolean; - /** - * Sets whether the chunk at the specified chunk coordinates is force - * loaded. - *

- * A force loaded chunk will not be unloaded due to lack of player activity. - */ - setChunkForceLoaded(x: number, z: number, forced: boolean): void; - /** - * Returns all force loaded chunks in this world. - *

- * A force loaded chunk will not be unloaded due to lack of player activity. - */ - getForceLoadedChunks(): any[] /*java.util.Collection*/; - /** - * Adds a plugin ticket for the specified chunk, loading the chunk if it is - * not already loaded. - *

- * A plugin ticket will prevent a chunk from unloading until it is - * explicitly removed. A plugin instance may only have one ticket per chunk, - * but each chunk can have multiple plugin tickets. - *

- */ - addPluginChunkTicket(x: number, z: number, plugin: org.bukkit.plugin.Plugin): boolean; - /** - * Removes the specified plugin's ticket for the specified chunk - *

- * A plugin ticket will prevent a chunk from unloading until it is - * explicitly removed. A plugin instance may only have one ticket per chunk, - * but each chunk can have multiple plugin tickets. - *

- */ - removePluginChunkTicket(x: number, z: number, plugin: org.bukkit.plugin.Plugin): boolean; - /** - * Removes all plugin tickets for the specified plugin - *

- * A plugin ticket will prevent a chunk from unloading until it is - * explicitly removed. A plugin instance may only have one ticket per chunk, - * but each chunk can have multiple plugin tickets. - *

- */ - removePluginChunkTickets(plugin: org.bukkit.plugin.Plugin): void; - /** - * Retrieves a collection specifying which plugins have tickets for the - * specified chunk. This collection is not updated when plugin tickets are - * added or removed to the chunk. - *

- * A plugin ticket will prevent a chunk from unloading until it is - * explicitly removed. A plugin instance may only have one ticket per chunk, - * but each chunk can have multiple plugin tickets. - *

- */ - getPluginChunkTickets(x: number, z: number): any[] /*java.util.Collection*/; - /** - * Returns a map of which plugins have tickets for what chunks. The returned - * map is not updated when plugin tickets are added or removed to chunks. If - * a plugin has no tickets, it will be absent from the map. - *

- * A plugin ticket will prevent a chunk from unloading until it is - * explicitly removed. A plugin instance may only have one ticket per chunk, - * but each chunk can have multiple plugin tickets. - *

- */ - getPluginChunkTickets(): Map /*java.util.Map*/; - /** - * Drops an item at the specified {@link Location} - */ - dropItem(location: org.bukkit.Location, item: org.bukkit.inventory.ItemStack): org.bukkit.entity.Item; - /** - * Drops an item at the specified {@link Location} with a random offset - */ - dropItemNaturally(location: org.bukkit.Location, item: org.bukkit.inventory.ItemStack): org.bukkit.entity.Item; - /** - * Creates an {@link Arrow} entity at the given {@link Location} - */ - spawnArrow(location: org.bukkit.Location, direction: org.bukkit.util.Vector, speed: number, spread: number): org.bukkit.entity.Arrow; - /** - * Creates an arrow entity of the given class at the given {@link Location} - */ - spawnArrow(location: org.bukkit.Location, direction: org.bukkit.util.Vector, speed: number, spread: number, clazz: any): org.bukkit.entity.AbstractArrow; - /** - * Creates a tree at the given {@link Location} - */ - generateTree(location: org.bukkit.Location, type: org.bukkit.TreeType): boolean; - /** - * Creates a tree at the given {@link Location} - */ - generateTree(loc: org.bukkit.Location, type: org.bukkit.TreeType, delegate: org.bukkit.BlockChangeDelegate): boolean; - /** - * Creates a entity at the given {@link Location} - */ - spawnEntity(loc: org.bukkit.Location, type: org.bukkit.entity.EntityType): org.bukkit.entity.Entity; - /** - * Strikes lightning at the given {@link Location} - */ - strikeLightning(loc: org.bukkit.Location): org.bukkit.entity.LightningStrike; - /** - * Strikes lightning at the given {@link Location} without doing damage - */ - strikeLightningEffect(loc: org.bukkit.Location): org.bukkit.entity.LightningStrike; - /** - * Get a list of all entities in this World - */ - getEntities(): any[] /*java.util.List*/; - /** - * Get a list of all living entities in this World - */ - getLivingEntities(): any[] /*java.util.List*/; - /** - * Get a collection of all entities in this World matching the given - * class/interface - */ - getEntitiesByClass(classes: any): any[] /*java.util.Collection*/; - /** - * Get a collection of all entities in this World matching the given - * class/interface - */ - getEntitiesByClass(cls: any): any[] /*java.util.Collection*/; - /** - * Get a collection of all entities in this World matching any of the - * given classes/interfaces - */ - getEntitiesByClasses(classes: any): any[] /*java.util.Collection*/; - /** - * Get a list of all players in this World - */ - getPlayers(): any[] /*java.util.List*/; - /** - * Returns a list of entities within a bounding box centered around a - * Location. - *

- * This may not consider entities in currently unloaded chunks. Some - * implementations may impose artificial restrictions on the size of the - * search bounding box. - */ - getNearbyEntities(location: org.bukkit.Location, x: number, y: number, z: number): any[] /*java.util.Collection*/; - /** - * Returns a list of entities within a bounding box centered around a - * Location. - *

- * This may not consider entities in currently unloaded chunks. Some - * implementations may impose artificial restrictions on the size of the - * search bounding box. - */ - getNearbyEntities(location: org.bukkit.Location, x: number, y: number, z: number, filter: any): any[] /*java.util.Collection*/; - /** - * Returns a list of entities within the given bounding box. - *

- * This may not consider entities in currently unloaded chunks. Some - * implementations may impose artificial restrictions on the size of the - * search bounding box. - */ - getNearbyEntities(boundingBox: org.bukkit.util.BoundingBox): any[] /*java.util.Collection*/; - /** - * Returns a list of entities within the given bounding box. - *

- * This may not consider entities in currently unloaded chunks. Some - * implementations may impose artificial restrictions on the size of the - * search bounding box. - */ - getNearbyEntities(boundingBox: org.bukkit.util.BoundingBox, filter: any): any[] /*java.util.Collection*/; - /** - * Performs a ray trace that checks for entity collisions. - *

- * This may not consider entities in currently unloaded chunks. Some - * implementations may impose artificial restrictions on the maximum - * distance. - */ - rayTraceEntities(start: org.bukkit.Location, direction: org.bukkit.util.Vector, maxDistance: number): org.bukkit.util.RayTraceResult; - /** - * Performs a ray trace that checks for entity collisions. - *

- * This may not consider entities in currently unloaded chunks. Some - * implementations may impose artificial restrictions on the maximum - * distance. - */ - rayTraceEntities(start: org.bukkit.Location, direction: org.bukkit.util.Vector, maxDistance: number, raySize: number): org.bukkit.util.RayTraceResult; - /** - * Performs a ray trace that checks for entity collisions. - *

- * This may not consider entities in currently unloaded chunks. Some - * implementations may impose artificial restrictions on the maximum - * distance. - */ - rayTraceEntities(start: org.bukkit.Location, direction: org.bukkit.util.Vector, maxDistance: number, filter: any): org.bukkit.util.RayTraceResult; - /** - * Performs a ray trace that checks for entity collisions. - *

- * This may not consider entities in currently unloaded chunks. Some - * implementations may impose artificial restrictions on the maximum - * distance. - */ - rayTraceEntities(start: org.bukkit.Location, direction: org.bukkit.util.Vector, maxDistance: number, raySize: number, filter: any): org.bukkit.util.RayTraceResult; - /** - * Performs a ray trace that checks for block collisions using the blocks' - * precise collision shapes. - *

- * This takes collisions with passable blocks into account, but ignores - * fluids. - *

- * This may cause loading of chunks! Some implementations may impose - * artificial restrictions on the maximum distance. - */ - rayTraceBlocks(start: org.bukkit.Location, direction: org.bukkit.util.Vector, maxDistance: number): org.bukkit.util.RayTraceResult; - /** - * Performs a ray trace that checks for block collisions using the blocks' - * precise collision shapes. - *

- * This takes collisions with passable blocks into account. - *

- * This may cause loading of chunks! Some implementations may impose - * artificial restrictions on the maximum distance. - */ - rayTraceBlocks(start: org.bukkit.Location, direction: org.bukkit.util.Vector, maxDistance: number, fluidCollisionMode: org.bukkit.FluidCollisionMode): org.bukkit.util.RayTraceResult; - /** - * Performs a ray trace that checks for block collisions using the blocks' - * precise collision shapes. - *

- * If collisions with passable blocks are ignored, fluid collisions are - * ignored as well regardless of the fluid collision mode. - *

- * Portal blocks are only considered passable if the ray starts within - * them. Apart from that collisions with portal blocks will be considered - * even if collisions with passable blocks are otherwise ignored. - *

- * This may cause loading of chunks! Some implementations may impose - * artificial restrictions on the maximum distance. - */ - rayTraceBlocks(start: org.bukkit.Location, direction: org.bukkit.util.Vector, maxDistance: number, fluidCollisionMode: org.bukkit.FluidCollisionMode, ignorePassableBlocks: boolean): org.bukkit.util.RayTraceResult; - /** - * Performs a ray trace that checks for both block and entity collisions. - *

- * Block collisions use the blocks' precise collision shapes. The - * raySize parameter is only taken into account for entity - * collision checks. - *

- * If collisions with passable blocks are ignored, fluid collisions are - * ignored as well regardless of the fluid collision mode. - *

- * Portal blocks are only considered passable if the ray starts within them. - * Apart from that collisions with portal blocks will be considered even if - * collisions with passable blocks are otherwise ignored. - *

- * This may cause loading of chunks! Some implementations may impose - * artificial restrictions on the maximum distance. - */ - rayTrace(start: org.bukkit.Location, direction: org.bukkit.util.Vector, maxDistance: number, fluidCollisionMode: org.bukkit.FluidCollisionMode, ignorePassableBlocks: boolean, raySize: number, filter: any): org.bukkit.util.RayTraceResult; - /** - * Gets the unique name of this world - */ - getName(): string; - /** - * Gets the Unique ID of this world - */ - getUID(): any; - /** - * Gets the default spawn {@link Location} of this world - */ - getSpawnLocation(): org.bukkit.Location; - /** - * Sets the spawn location of the world. - *
- * The location provided must be equal to this world. - */ - setSpawnLocation(location: org.bukkit.Location): boolean; - /** - * Sets the spawn location of the world - */ - setSpawnLocation(x: number, y: number, z: number): boolean; - /** - * Gets the relative in-game time of this world. - *

- * The relative time is analogous to hours * 1000 - */ - getTime(): number; - /** - * Sets the relative in-game time on the server. - *

- * The relative time is analogous to hours * 1000 - *

- * Note that setting the relative time below the current relative time - * will actually move the clock forward a day. If you require to rewind - * time, please see {@link #setFullTime(long)} - */ - setTime(time: number): void; - /** - * Gets the full in-game time on this world - */ - getFullTime(): number; - /** - * Sets the in-game time on the server - *

- * Note that this sets the full time of the world, which may cause adverse - * effects such as breaking redstone clocks and any scheduled events - */ - setFullTime(time: number): void; - /** - * Returns whether the world has an ongoing storm. - */ - hasStorm(): boolean; - /** - * Set whether there is a storm. A duration will be set for the new - * current conditions. - */ - setStorm(hasStorm: boolean): void; - /** - * Get the remaining time in ticks of the current conditions. - */ - getWeatherDuration(): number; - /** - * Set the remaining time in ticks of the current conditions. - */ - setWeatherDuration(duration: number): void; - /** - * Returns whether there is thunder. - */ - isThundering(): boolean; - /** - * Set whether it is thundering. - */ - setThundering(thundering: boolean): void; - /** - * Get the thundering duration. - */ - getThunderDuration(): number; - /** - * Set the thundering duration. - */ - setThunderDuration(duration: number): void; - /** - * Creates explosion at given coordinates with given power - */ - createExplosion(x: number, y: number, z: number, power: number): boolean; - /** - * Creates explosion at given coordinates with given power and optionally - * setting blocks on fire. - */ - createExplosion(x: number, y: number, z: number, power: number, setFire: boolean): boolean; - /** - * Creates explosion at given coordinates with given power and optionally - * setting blocks on fire or breaking blocks. - */ - createExplosion(x: number, y: number, z: number, power: number, setFire: boolean, breakBlocks: boolean): boolean; - /** - * Creates explosion at given coordinates with given power - */ - createExplosion(loc: org.bukkit.Location, power: number): boolean; - /** - * Creates explosion at given coordinates with given power and optionally - * setting blocks on fire. - */ - createExplosion(loc: org.bukkit.Location, power: number, setFire: boolean): boolean; - /** - * Gets the {@link Environment} type of this world - */ - getEnvironment(): org.bukkit.World.Environment; - /** - * Gets the Seed for this world. - */ - getSeed(): number; - /** - * Gets the current PVP setting for this world. - */ - getPVP(): boolean; - /** - * Sets the PVP setting for this world. - */ - setPVP(pvp: boolean): void; - /** - * Gets the chunk generator for this world - */ - getGenerator(): org.bukkit.generator.ChunkGenerator; - /** - * Saves world to disk - */ - save(): void; - /** - * Gets a list of all applied {@link BlockPopulator}s for this World - */ - getPopulators(): any[] /*java.util.List*/; - /** - * Spawn an entity of a specific class at the given {@link Location} - */ - spawn(location: org.bukkit.Location, clazz: any): org.bukkit.entity.Entity; - /** - * Spawn an entity of a specific class at the given {@link Location}, with - * the supplied function run before the entity is added to the world. - *
- * Note that when the function is run, the entity will not be actually in - * the world. Any operation involving such as teleporting the entity is undefined - * until after this function returns. - */ - spawn(location: org.bukkit.Location, clazz: any, func: org.bukkit.util.Consumer): org.bukkit.entity.Entity; - /** - * Spawn a {@link FallingBlock} entity at the given {@link Location} of - * the specified {@link Material}. The material dictates what is falling. - * When the FallingBlock hits the ground, it will place that block. - *

- * The Material must be a block type, check with {@link Material#isBlock() - * material.isBlock()}. The Material may not be air. - */ - spawnFallingBlock(location: org.bukkit.Location, data: org.bukkit.material.MaterialData): org.bukkit.entity.FallingBlock; - /** - * Spawn a {@link FallingBlock} entity at the given {@link Location} of - * the specified {@link Material}. The material dictates what is falling. - * When the FallingBlock hits the ground, it will place that block. - *

- * The Material must be a block type, check with {@link Material#isBlock() - * material.isBlock()}. The Material may not be air. - */ - spawnFallingBlock(location: org.bukkit.Location, data: org.bukkit.block.data.BlockData): org.bukkit.entity.FallingBlock; - /** - * Spawn a {@link FallingBlock} entity at the given {@link Location} of the - * specified {@link Material}. The material dictates what is falling. - * When the FallingBlock hits the ground, it will place that block. - *

- * The Material must be a block type, check with {@link Material#isBlock() - * material.isBlock()}. The Material may not be air. - */ - spawnFallingBlock(location: org.bukkit.Location, material: org.bukkit.Material, data: number): org.bukkit.entity.FallingBlock; - /** - * Plays an effect to all players within a default radius around a given - * location. - */ - playEffect(location: org.bukkit.Location, effect: org.bukkit.Effect, data: number): void; - /** - * Plays an effect to all players within a given radius around a location. - */ - playEffect(location: org.bukkit.Location, effect: org.bukkit.Effect, data: number, radius: number): void; - /** - * Plays an effect to all players within a default radius around a given - * location. - */ - playEffect(location: org.bukkit.Location, effect: org.bukkit.Effect, data: any): void; - /** - * Plays an effect to all players within a given radius around a location. - */ - playEffect(location: org.bukkit.Location, effect: org.bukkit.Effect, data: any, radius: number): void; - /** - * Get empty chunk snapshot (equivalent to all air blocks), optionally - * including valid biome data. Used for representing an ungenerated chunk, - * or for fetching only biome data without loading a chunk. - */ - getEmptyChunkSnapshot(x: number, z: number, includeBiome: boolean, includeBiomeTemp: boolean): org.bukkit.ChunkSnapshot; - /** - * Sets the spawn flags for this. - */ - setSpawnFlags(allowMonsters: boolean, allowAnimals: boolean): void; - /** - * Gets whether animals can spawn in this world. - */ - getAllowAnimals(): boolean; - /** - * Gets whether monsters can spawn in this world. - */ - getAllowMonsters(): boolean; - /** - * Gets the biome for the given block coordinates. - */ - getBiome(x: number, z: number): org.bukkit.block.Biome; - /** - * Sets the biome for the given block coordinates - */ - setBiome(x: number, z: number, bio: org.bukkit.block.Biome): void; - /** - * Gets the temperature for the given block coordinates. - *

- * It is safe to run this method when the block does not exist, it will - * not create the block. - *

- * This method will return the raw temperature without adjusting for block - * height effects. - */ - getTemperature(x: number, z: number): number; - /** - * Gets the humidity for the given block coordinates. - *

- * It is safe to run this method when the block does not exist, it will - * not create the block. - */ - getHumidity(x: number, z: number): number; - /** - * Gets the maximum height of this world. - *

- * If the max height is 100, there are only blocks from y=0 to y=99. - */ - getMaxHeight(): number; - /** - * Gets the sea level for this world. - *

- * This is often half of {@link #getMaxHeight()} - */ - getSeaLevel(): number; - /** - * Gets whether the world's spawn area should be kept loaded into memory - * or not. - */ - getKeepSpawnInMemory(): boolean; - /** - * Sets whether the world's spawn area should be kept loaded into memory - * or not. - */ - setKeepSpawnInMemory(keepLoaded: boolean): void; - /** - * Gets whether or not the world will automatically save - */ - isAutoSave(): boolean; - /** - * Sets whether or not the world will automatically save - */ - setAutoSave(value: boolean): void; - /** - * Sets the Difficulty of the world. - */ - setDifficulty(difficulty: org.bukkit.Difficulty): void; - /** - * Gets the Difficulty of the world. - */ - getDifficulty(): org.bukkit.Difficulty; - /** - * Gets the folder of this world on disk. - */ - getWorldFolder(): any; - /** - * Gets the type of this world. - */ - getWorldType(): org.bukkit.WorldType; - /** - * Gets whether or not structures are being generated. - */ - canGenerateStructures(): boolean; - /** - * Gets the world's ticks per animal spawns value - *

- * This value determines how many ticks there are between attempts to - * spawn animals. - *

- * Example Usage: - *

    - *
  • A value of 1 will mean the server will attempt to spawn animals in - * this world every tick. - *
  • A value of 400 will mean the server will attempt to spawn animals - * in this world every 400th tick. - *
  • A value below 0 will be reset back to Minecraft's default. - *
- *

- * Note: - * If set to 0, animal spawning will be disabled for this world. We - * recommend using {@link #setSpawnFlags(boolean, boolean)} to control - * this instead. - *

- * Minecraft default: 400. - */ - getTicksPerAnimalSpawns(): number; - /** - * Sets the world's ticks per animal spawns value - *

- * This value determines how many ticks there are between attempts to - * spawn animals. - *

- * Example Usage: - *

    - *
  • A value of 1 will mean the server will attempt to spawn animals in - * this world every tick. - *
  • A value of 400 will mean the server will attempt to spawn animals - * in this world every 400th tick. - *
  • A value below 0 will be reset back to Minecraft's default. - *
- *

- * Note: - * If set to 0, animal spawning will be disabled for this world. We - * recommend using {@link #setSpawnFlags(boolean, boolean)} to control - * this instead. - *

- * Minecraft default: 400. - */ - setTicksPerAnimalSpawns(ticksPerAnimalSpawns: number): void; - /** - * Gets the world's ticks per monster spawns value - *

- * This value determines how many ticks there are between attempts to - * spawn monsters. - *

- * Example Usage: - *

    - *
  • A value of 1 will mean the server will attempt to spawn monsters in - * this world every tick. - *
  • A value of 400 will mean the server will attempt to spawn monsters - * in this world every 400th tick. - *
  • A value below 0 will be reset back to Minecraft's default. - *
- *

- * Note: - * If set to 0, monsters spawning will be disabled for this world. We - * recommend using {@link #setSpawnFlags(boolean, boolean)} to control - * this instead. - *

- * Minecraft default: 1. - */ - getTicksPerMonsterSpawns(): number; - /** - * Sets the world's ticks per monster spawns value - *

- * This value determines how many ticks there are between attempts to - * spawn monsters. - *

- * Example Usage: - *

    - *
  • A value of 1 will mean the server will attempt to spawn monsters in - * this world on every tick. - *
  • A value of 400 will mean the server will attempt to spawn monsters - * in this world every 400th tick. - *
  • A value below 0 will be reset back to Minecraft's default. - *
- *

- * Note: - * If set to 0, monsters spawning will be disabled for this world. We - * recommend using {@link #setSpawnFlags(boolean, boolean)} to control - * this instead. - *

- * Minecraft default: 1. - */ - setTicksPerMonsterSpawns(ticksPerMonsterSpawns: number): void; - /** - * Gets limit for number of monsters that can spawn in a chunk in this - * world - */ - getMonsterSpawnLimit(): number; - /** - * Sets the limit for number of monsters that can spawn in a chunk in this - * world - *

- * Note: If set to a negative number the world will use the - * server-wide spawn limit instead. - */ - setMonsterSpawnLimit(limit: number): void; - /** - * Gets the limit for number of animals that can spawn in a chunk in this - * world - */ - getAnimalSpawnLimit(): number; - /** - * Sets the limit for number of animals that can spawn in a chunk in this - * world - *

- * Note: If set to a negative number the world will use the - * server-wide spawn limit instead. - */ - setAnimalSpawnLimit(limit: number): void; - /** - * Gets the limit for number of water animals that can spawn in a chunk in - * this world - */ - getWaterAnimalSpawnLimit(): number; - /** - * Sets the limit for number of water animals that can spawn in a chunk in - * this world - *

- * Note: If set to a negative number the world will use the - * server-wide spawn limit instead. - */ - setWaterAnimalSpawnLimit(limit: number): void; - /** - * Gets the limit for number of ambient mobs that can spawn in a chunk in - * this world - */ - getAmbientSpawnLimit(): number; - /** - * Sets the limit for number of ambient mobs that can spawn in a chunk in - * this world - *

- * Note: If set to a negative number the world will use the - * server-wide spawn limit instead. - */ - setAmbientSpawnLimit(limit: number): void; - /** - * Play a Sound at the provided Location in the World - *

- * This function will fail silently if Location or Sound are null. - */ - playSound(location: org.bukkit.Location, sound: org.bukkit.Sound, volume: number, pitch: number): void; - /** - * Play a Sound at the provided Location in the World. - *

- * This function will fail silently if Location or Sound are null. No - * sound will be heard by the players if their clients do not have the - * respective sound for the value passed. - */ - playSound(location: org.bukkit.Location, sound: string, volume: number, pitch: number): void; - /** - * Play a Sound at the provided Location in the World. - *

- * This function will fail silently if Location or Sound are null. - */ - playSound(location: org.bukkit.Location, sound: org.bukkit.Sound, category: org.bukkit.SoundCategory, volume: number, pitch: number): void; - /** - * Play a Sound at the provided Location in the World. - *

- * This function will fail silently if Location or Sound are null. No sound - * will be heard by the players if their clients do not have the respective - * sound for the value passed. - */ - playSound(location: org.bukkit.Location, sound: string, category: org.bukkit.SoundCategory, volume: number, pitch: number): void; - /** - * Get an array containing the names of all the {@link GameRule}s. - */ - getGameRules(): any; - /** - * Gets the current state of the specified rule - *

- * Will return null if rule passed is null - */ - getGameRuleValue(rule: string): string; - /** - * Set the specified gamerule to specified value. - *

- * The rule may attempt to validate the value passed, will return true if - * value was set. - *

- * If rule is null, the function will return false. - */ - setGameRuleValue(rule: string, value: string): boolean; - /** - * Checks if string is a valid game rule - */ - isGameRule(rule: string): boolean; - /** - * Get the current value for a given {@link GameRule}. - */ - getGameRuleValue(rule: org.bukkit.GameRule): any; - /** - * Get the default value for a given {@link GameRule}. This value is not - * guaranteed to match the current value. - */ - getGameRuleDefault(rule: org.bukkit.GameRule): any; - /** - * Set the given {@link GameRule}'s new value. - */ - setGameRule(rule: org.bukkit.GameRule, newValue: any): boolean; - /** - * Gets the world border for this world. - */ - getWorldBorder(): org.bukkit.WorldBorder; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. - */ - spawnParticle(particle: org.bukkit.Particle, location: org.bukkit.Location, count: number): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. - */ - spawnParticle(particle: org.bukkit.Particle, x: number, y: number, z: number, count: number): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. - */ - spawnParticle(particle: org.bukkit.Particle, location: org.bukkit.Location, count: number, data: any): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. - */ - spawnParticle(particle: org.bukkit.Particle, x: number, y: number, z: number, count: number, data: any): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, location: org.bukkit.Location, count: number, offsetX: number, offsetY: number, offsetZ: number): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, x: number, y: number, z: number, count: number, offsetX: number, offsetY: number, offsetZ: number): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, location: org.bukkit.Location, count: number, offsetX: number, offsetY: number, offsetZ: number, data: any): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, x: number, y: number, z: number, count: number, offsetX: number, offsetY: number, offsetZ: number, data: any): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, location: org.bukkit.Location, count: number, offsetX: number, offsetY: number, offsetZ: number, extra: number): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, x: number, y: number, z: number, count: number, offsetX: number, offsetY: number, offsetZ: number, extra: number): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, location: org.bukkit.Location, count: number, offsetX: number, offsetY: number, offsetZ: number, extra: number, data: any): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, x: number, y: number, z: number, count: number, offsetX: number, offsetY: number, offsetZ: number, extra: number, data: any): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, location: org.bukkit.Location, count: number, offsetX: number, offsetY: number, offsetZ: number, extra: number, data: any, force: boolean): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, x: number, y: number, z: number, count: number, offsetX: number, offsetY: number, offsetZ: number, extra: number, data: any, force: boolean): void; - /** - * Find the closest nearby structure of a given {@link StructureType}. - * Finding unexplored structures can, and will, block if the world is - * looking in chunks that gave not generated yet. This can lead to the world - * temporarily freezing while locating an unexplored structure. - *

- * The {@code radius} is not a rigid square radius. Each structure may alter - * how many chunks to check for each iteration. Do not assume that only a - * radius x radius chunk area will be checked. For example, - * {@link StructureType#WOODLAND_MANSION} can potentially check up to 20,000 - * blocks away (or more) regardless of the radius used. - *

- * This will not load or generate chunks. This can also lead to - * instances where the server can hang if you are only looking for - * unexplored structures. This is because it will keep looking further and - * further out in order to find the structure. - */ - locateNearestStructure(origin: org.bukkit.Location, structureType: org.bukkit.StructureType, radius: number, findUnexplored: boolean): org.bukkit.Location; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.WorldBorder.ts b/packages/bukkit/src/typings/org.bukkit.WorldBorder.ts deleted file mode 100644 index fef52694..00000000 --- a/packages/bukkit/src/typings/org.bukkit.WorldBorder.ts +++ /dev/null @@ -1,71 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - interface WorldBorder { - /** - * Resets the border to default values. - */ - reset(): void; - /** - * Gets the current side length of the border. - */ - getSize(): number; - /** - * Sets the border to a square region with the specified side length in blocks. - */ - setSize(newSize: number): void; - /** - * Sets the border to a square region with the specified side length in blocks. - */ - setSize(newSize: number, seconds: number): void; - /** - * Gets the current border center. - */ - getCenter(): org.bukkit.Location; - /** - * Sets the new border center. - */ - setCenter(x: number, z: number): void; - /** - * Sets the new border center. - */ - setCenter(location: org.bukkit.Location): void; - /** - * Gets the current border damage buffer. - */ - getDamageBuffer(): number; - /** - * Sets the amount of blocks a player may safely be outside the border before taking damage. - */ - setDamageBuffer(blocks: number): void; - /** - * Gets the current border damage amount. - */ - getDamageAmount(): number; - /** - * Sets the amount of damage a player takes when outside the border plus the border buffer. - */ - setDamageAmount(damage: number): void; - /** - * Gets the current border warning time in seconds. - */ - getWarningTime(): number; - /** - * Sets the warning time that causes the screen to be tinted red when a contracting border will reach the player within the specified time. - */ - setWarningTime(seconds: number): void; - /** - * Gets the current border warning distance. - */ - getWarningDistance(): number; - /** - * Sets the warning distance that causes the screen to be tinted red when the player is within the specified number of blocks from the border. - */ - setWarningDistance(distance: number): void; - /** - * Check if the specified location is inside this border. - */ - isInside(location: org.bukkit.Location): boolean; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.WorldCreator.ts b/packages/bukkit/src/typings/org.bukkit.WorldCreator.ts deleted file mode 100644 index f4751402..00000000 --- a/packages/bukkit/src/typings/org.bukkit.WorldCreator.ts +++ /dev/null @@ -1,123 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class WorldCreator { - /** - * Creates an empty WorldCreationOptions for the given world name - */ - constructor(name: string) - /** - * Copies the options from the specified world - */ - public copy(world: org.bukkit.World): org.bukkit.WorldCreator; - /** - * Copies the options from the specified {@link WorldCreator} - */ - public copy(creator: org.bukkit.WorldCreator): org.bukkit.WorldCreator; - /** - * Gets the name of the world that is to be loaded or created. - */ - public name(): string; - /** - * Gets the seed that will be used to create this world - */ - public seed(): number; - /** - * Sets the seed that will be used to create this world - */ - public seed(seed: number): org.bukkit.WorldCreator; - /** - * Gets the environment that will be used to create or load the world - */ - public environment(): org.bukkit.World.Environment; - /** - * Sets the environment that will be used to create or load the world - */ - public environment(env: org.bukkit.World.Environment): org.bukkit.WorldCreator; - /** - * Gets the type of the world that will be created or loaded - */ - public type(): org.bukkit.WorldType; - /** - * Sets the type of the world that will be created or loaded - */ - public type(type: org.bukkit.WorldType): org.bukkit.WorldCreator; - /** - * Gets the generator that will be used to create or load the world. - *

- * This may be null, in which case the "natural" generator for this - * environment will be used. - */ - public generator(): org.bukkit.generator.ChunkGenerator; - /** - * Sets the generator that will be used to create or load the world. - *

- * This may be null, in which case the "natural" generator for this - * environment will be used. - */ - public generator(generator: org.bukkit.generator.ChunkGenerator): org.bukkit.WorldCreator; - /** - * Sets the generator that will be used to create or load the world. - *

- * This may be null, in which case the "natural" generator for this - * environment will be used. - *

- * If the generator cannot be found for the given name, the natural - * environment generator will be used instead and a warning will be - * printed to the console. - */ - public generator(generator: string): org.bukkit.WorldCreator; - /** - * Sets the generator that will be used to create or load the world. - *

- * This may be null, in which case the "natural" generator for this - * environment will be used. - *

- * If the generator cannot be found for the given name, the natural - * environment generator will be used instead and a warning will be - * printed to the specified output - */ - public generator(generator: string, output: org.bukkit.command.CommandSender): org.bukkit.WorldCreator; - /** - * Sets the generator settings of the world that will be created or loaded - */ - public generatorSettings(generatorSettings: string): org.bukkit.WorldCreator; - /** - * Gets the generator settings of the world that will be created or loaded - */ - public generatorSettings(): string; - /** - * Sets whether or not worlds created or loaded with this creator will - * have structures. - */ - public generateStructures(generate: boolean): org.bukkit.WorldCreator; - /** - * Gets whether or not structures will be generated in the world. - */ - public generateStructures(): boolean; - /** - * Creates a world with the specified options. - *

- * If the world already exists, it will be loaded from disk and some - * options may be ignored. - */ - public createWorld(): org.bukkit.World; - /** - * Creates a new {@link WorldCreator} for the given world name - */ - public static name(name: string): org.bukkit.WorldCreator; - /** - * Attempts to get the {@link ChunkGenerator} with the given name. - *

- * If the generator is not found, null will be returned and a message will - * be printed to the specified {@link CommandSender} explaining why. - *

- * The name must be in the "plugin:id" notation, or optionally just - * "plugin", where "plugin" is the safe-name of a plugin and "id" is an - * optional unique identifier for the generator you wish to request from - * the plugin. - */ - public static getGeneratorForName(world: string, name: string, output: org.bukkit.command.CommandSender): org.bukkit.generator.ChunkGenerator; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.WorldType.ts b/packages/bukkit/src/typings/org.bukkit.WorldType.ts deleted file mode 100644 index 8062f6b3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.WorldType.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - // @ts-ignore - class WorldType { - public static NORMAL: org.bukkit.WorldType; - public static FLAT: org.bukkit.WorldType; - public static VERSION_1_1: org.bukkit.WorldType; - public static LARGE_BIOMES: org.bukkit.WorldType; - public static AMPLIFIED: org.bukkit.WorldType; - public static CUSTOMIZED: org.bukkit.WorldType; - public static BUFFET: org.bukkit.WorldType; - public static values(): org.bukkit.WorldType[]; - public static valueOf(name: string): org.bukkit.WorldType; - /** - * Gets the name of this WorldType - */ - public getName(): string; - /** - * Gets a WorldType by its name - */ - public static getByName(name: string): org.bukkit.WorldType; - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.advancement.Advancement.ts b/packages/bukkit/src/typings/org.bukkit.advancement.Advancement.ts deleted file mode 100644 index b588d17b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.advancement.Advancement.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace advancement { - // @ts-ignore - interface Advancement extends org.bukkit.Keyed { - /** - * Get all the criteria present in this advancement. - */ - getCriteria(): any[] /*java.util.Collection*/; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.advancement.AdvancementProgress.ts b/packages/bukkit/src/typings/org.bukkit.advancement.AdvancementProgress.ts deleted file mode 100644 index 8352cd2e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.advancement.AdvancementProgress.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace advancement { - // @ts-ignore - interface AdvancementProgress { - /** - * The advancement this progress is concerning. - */ - getAdvancement(): org.bukkit.advancement.Advancement; - /** - * Check if all criteria for this advancement have been met. - */ - isDone(): boolean; - /** - * Mark the specified criteria as awarded at the current time. - */ - awardCriteria(criteria: string): boolean; - /** - * Mark the specified criteria as uncompleted. - */ - revokeCriteria(criteria: string): boolean; - /** - * Get the date the specified criteria was awarded. - */ - getDateAwarded(criteria: string): any /*java.util.Date*/; - /** - * Get the criteria which have not been awarded. - */ - getRemainingCriteria(): any[] /*java.util.Collection*/; - /** - * Gets the criteria which have been awarded. - */ - getAwardedCriteria(): any[] /*java.util.Collection*/; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.attribute.Attributable.ts b/packages/bukkit/src/typings/org.bukkit.attribute.Attributable.ts deleted file mode 100644 index d9a2ce16..00000000 --- a/packages/bukkit/src/typings/org.bukkit.attribute.Attributable.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace attribute { - // @ts-ignore - interface Attributable { - /** - * Gets the specified attribute instance from the object. This instance will - * be backed directly to the object and any changes will be visible at once. - */ - getAttribute(attribute: org.bukkit.attribute.Attribute): org.bukkit.attribute.AttributeInstance; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.attribute.Attribute.ts b/packages/bukkit/src/typings/org.bukkit.attribute.Attribute.ts deleted file mode 100644 index 8ba27e5e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.attribute.Attribute.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace attribute { - // @ts-ignore - class Attribute { - public static GENERIC_MAX_HEALTH: org.bukkit.attribute.Attribute; - public static GENERIC_FOLLOW_RANGE: org.bukkit.attribute.Attribute; - public static GENERIC_KNOCKBACK_RESISTANCE: org.bukkit.attribute.Attribute; - public static GENERIC_MOVEMENT_SPEED: org.bukkit.attribute.Attribute; - public static GENERIC_FLYING_SPEED: org.bukkit.attribute.Attribute; - public static GENERIC_ATTACK_DAMAGE: org.bukkit.attribute.Attribute; - public static GENERIC_ATTACK_SPEED: org.bukkit.attribute.Attribute; - public static GENERIC_ARMOR: org.bukkit.attribute.Attribute; - public static GENERIC_ARMOR_TOUGHNESS: org.bukkit.attribute.Attribute; - public static GENERIC_LUCK: org.bukkit.attribute.Attribute; - public static HORSE_JUMP_STRENGTH: org.bukkit.attribute.Attribute; - public static ZOMBIE_SPAWN_REINFORCEMENTS: org.bukkit.attribute.Attribute; - public static values(): org.bukkit.attribute.Attribute[]; - public static valueOf(name: string): org.bukkit.attribute.Attribute; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.attribute.AttributeInstance.ts b/packages/bukkit/src/typings/org.bukkit.attribute.AttributeInstance.ts deleted file mode 100644 index e89e1e4e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.attribute.AttributeInstance.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace attribute { - // @ts-ignore - interface AttributeInstance { - /** - * The attribute pertaining to this instance. - */ - getAttribute(): org.bukkit.attribute.Attribute; - /** - * Base value of this instance before modifiers are applied. - */ - getBaseValue(): number; - /** - * Set the base value of this instance. - */ - setBaseValue(value: number): void; - /** - * Get all modifiers present on this instance. - */ - getModifiers(): any[] /*java.util.Collection*/; - /** - * Add a modifier to this instance. - */ - addModifier(modifier: org.bukkit.attribute.AttributeModifier): void; - /** - * Remove a modifier from this instance. - */ - removeModifier(modifier: org.bukkit.attribute.AttributeModifier): void; - /** - * Get the value of this instance after all associated modifiers have been - * applied. - */ - getValue(): number; - /** - * Gets the default value of the Attribute attached to this instance. - */ - getDefaultValue(): number; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.attribute.AttributeModifier.Operation.ts b/packages/bukkit/src/typings/org.bukkit.attribute.AttributeModifier.Operation.ts deleted file mode 100644 index 98684bed..00000000 --- a/packages/bukkit/src/typings/org.bukkit.attribute.AttributeModifier.Operation.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace attribute { - namespace AttributeModifier { - // @ts-ignore - class Operation { - public static ADD_NUMBER: org.bukkit.attribute.AttributeModifier.Operation; - public static ADD_SCALAR: org.bukkit.attribute.AttributeModifier.Operation; - public static MULTIPLY_SCALAR_1: org.bukkit.attribute.AttributeModifier.Operation; - public static values(): org.bukkit.attribute.AttributeModifier.Operation[]; - public static valueOf(name: string): org.bukkit.attribute.AttributeModifier.Operation; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.attribute.AttributeModifier.ts b/packages/bukkit/src/typings/org.bukkit.attribute.AttributeModifier.ts deleted file mode 100644 index 757eaf55..00000000 --- a/packages/bukkit/src/typings/org.bukkit.attribute.AttributeModifier.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace attribute { - // @ts-ignore - class AttributeModifier implements org.bukkit.configuration.serialization.ConfigurationSerializable { - constructor(name: string, amount: number, operation: org.bukkit.attribute.AttributeModifier.Operation) - constructor(uuid: any, name: string, amount: number, operation: org.bukkit.attribute.AttributeModifier.Operation) - constructor(uuid: any, name: string, amount: number, operation: org.bukkit.attribute.AttributeModifier.Operation, slot: org.bukkit.inventory.EquipmentSlot) - /** - * Get the unique ID for this modifier. - */ - public getUniqueId(): any; - /** - * Get the name of this modifier. - */ - public getName(): string; - /** - * Get the amount by which this modifier will apply its {@link Operation}. - */ - public getAmount(): number; - /** - * Get the operation this modifier will apply. - */ - public getOperation(): org.bukkit.attribute.AttributeModifier.Operation; - /** - * Get the {@link EquipmentSlot} this AttributeModifier is active on, - * or null if this modifier is applicable for any slot. - */ - public getSlot(): org.bukkit.inventory.EquipmentSlot; - public serialize(): Map /*java.util.Map*/; - public equals(other: any): boolean; - public hashCode(): number; - public toString(): string; - public static deserialize(args: Map /*java.util.Map*/): org.bukkit.attribute.AttributeModifier; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Banner.ts b/packages/bukkit/src/typings/org.bukkit.block.Banner.ts deleted file mode 100644 index 0118ed86..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Banner.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Banner extends org.bukkit.block.TileState { - /** - * Returns the base color for this banner - */ - getBaseColor(): org.bukkit.DyeColor; - /** - * Sets the base color for this banner. - * Only valid for shield pseudo banners, otherwise base depends on block - * type - */ - setBaseColor(color: org.bukkit.DyeColor): void; - /** - * Returns a list of patterns on this banner - */ - getPatterns(): any[] /*java.util.List*/; - /** - * Sets the patterns used on this banner - */ - setPatterns(patterns: any[] /*java.util.List*/): void; - /** - * Adds a new pattern on top of the existing - * patterns - */ - addPattern(pattern: org.bukkit.block.banner.Pattern): void; - /** - * Returns the pattern at the specified index - */ - getPattern(i: number): org.bukkit.block.banner.Pattern; - /** - * Removes the pattern at the specified index - */ - removePattern(i: number): org.bukkit.block.banner.Pattern; - /** - * Sets the pattern at the specified index - */ - setPattern(i: number, pattern: org.bukkit.block.banner.Pattern): void; - /** - * Returns the number of patterns on this - * banner - */ - numberOfPatterns(): number; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Barrel.ts b/packages/bukkit/src/typings/org.bukkit.block.Barrel.ts deleted file mode 100644 index 87410264..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Barrel.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Barrel extends org.bukkit.block.Container, org.bukkit.loot.Lootable { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Beacon.ts b/packages/bukkit/src/typings/org.bukkit.block.Beacon.ts deleted file mode 100644 index c3dff8c3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Beacon.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Beacon extends org.bukkit.block.TileState, org.bukkit.block.Lockable, org.bukkit.Nameable { - /** - * Returns the list of players within the beacon's range of effect. - *

- * This will return an empty list if the block represented by this state is - * no longer a beacon. - */ - getEntitiesInRange(): any[] /*java.util.Collection*/; - /** - * Returns the tier of the beacon pyramid (0-4). The tier refers to the - * beacon's power level, based on how many layers of blocks are in the - * pyramid. Tier 1 refers to a beacon with one layer of 9 blocks under it. - */ - getTier(): number; - /** - * Returns the primary effect set on the beacon - */ - getPrimaryEffect(): org.bukkit.potion.PotionEffect; - /** - * Set the primary effect on this beacon, or null to clear. - */ - setPrimaryEffect(effect: org.bukkit.potion.PotionEffectType): void; - /** - * Returns the secondary effect set on the beacon. - */ - getSecondaryEffect(): org.bukkit.potion.PotionEffect; - /** - * Set the secondary effect on this beacon, or null to clear. Note that tier - * must be >= 4 for this effect to be active. - */ - setSecondaryEffect(effect: org.bukkit.potion.PotionEffectType): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Bed.ts b/packages/bukkit/src/typings/org.bukkit.block.Bed.ts deleted file mode 100644 index 7f394b8a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Bed.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Bed extends org.bukkit.block.TileState, org.bukkit.material.Colorable { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Bell.ts b/packages/bukkit/src/typings/org.bukkit.block.Bell.ts deleted file mode 100644 index 32d9bf1e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Bell.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Bell extends org.bukkit.block.TileState { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Biome.ts b/packages/bukkit/src/typings/org.bukkit.block.Biome.ts deleted file mode 100644 index 5dc6865a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Biome.ts +++ /dev/null @@ -1,87 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - class Biome implements org.bukkit.Keyed { - public static OCEAN: org.bukkit.block.Biome; - public static PLAINS: org.bukkit.block.Biome; - public static DESERT: org.bukkit.block.Biome; - public static MOUNTAINS: org.bukkit.block.Biome; - public static FOREST: org.bukkit.block.Biome; - public static TAIGA: org.bukkit.block.Biome; - public static SWAMP: org.bukkit.block.Biome; - public static RIVER: org.bukkit.block.Biome; - public static NETHER: org.bukkit.block.Biome; - public static THE_END: org.bukkit.block.Biome; - public static FROZEN_OCEAN: org.bukkit.block.Biome; - public static FROZEN_RIVER: org.bukkit.block.Biome; - public static SNOWY_TUNDRA: org.bukkit.block.Biome; - public static SNOWY_MOUNTAINS: org.bukkit.block.Biome; - public static MUSHROOM_FIELDS: org.bukkit.block.Biome; - public static MUSHROOM_FIELD_SHORE: org.bukkit.block.Biome; - public static BEACH: org.bukkit.block.Biome; - public static DESERT_HILLS: org.bukkit.block.Biome; - public static WOODED_HILLS: org.bukkit.block.Biome; - public static TAIGA_HILLS: org.bukkit.block.Biome; - public static MOUNTAIN_EDGE: org.bukkit.block.Biome; - public static JUNGLE: org.bukkit.block.Biome; - public static JUNGLE_HILLS: org.bukkit.block.Biome; - public static JUNGLE_EDGE: org.bukkit.block.Biome; - public static DEEP_OCEAN: org.bukkit.block.Biome; - public static STONE_SHORE: org.bukkit.block.Biome; - public static SNOWY_BEACH: org.bukkit.block.Biome; - public static BIRCH_FOREST: org.bukkit.block.Biome; - public static BIRCH_FOREST_HILLS: org.bukkit.block.Biome; - public static DARK_FOREST: org.bukkit.block.Biome; - public static SNOWY_TAIGA: org.bukkit.block.Biome; - public static SNOWY_TAIGA_HILLS: org.bukkit.block.Biome; - public static GIANT_TREE_TAIGA: org.bukkit.block.Biome; - public static GIANT_TREE_TAIGA_HILLS: org.bukkit.block.Biome; - public static WOODED_MOUNTAINS: org.bukkit.block.Biome; - public static SAVANNA: org.bukkit.block.Biome; - public static SAVANNA_PLATEAU: org.bukkit.block.Biome; - public static BADLANDS: org.bukkit.block.Biome; - public static WOODED_BADLANDS_PLATEAU: org.bukkit.block.Biome; - public static BADLANDS_PLATEAU: org.bukkit.block.Biome; - public static SMALL_END_ISLANDS: org.bukkit.block.Biome; - public static END_MIDLANDS: org.bukkit.block.Biome; - public static END_HIGHLANDS: org.bukkit.block.Biome; - public static END_BARRENS: org.bukkit.block.Biome; - public static WARM_OCEAN: org.bukkit.block.Biome; - public static LUKEWARM_OCEAN: org.bukkit.block.Biome; - public static COLD_OCEAN: org.bukkit.block.Biome; - public static DEEP_WARM_OCEAN: org.bukkit.block.Biome; - public static DEEP_LUKEWARM_OCEAN: org.bukkit.block.Biome; - public static DEEP_COLD_OCEAN: org.bukkit.block.Biome; - public static DEEP_FROZEN_OCEAN: org.bukkit.block.Biome; - public static THE_VOID: org.bukkit.block.Biome; - public static SUNFLOWER_PLAINS: org.bukkit.block.Biome; - public static DESERT_LAKES: org.bukkit.block.Biome; - public static GRAVELLY_MOUNTAINS: org.bukkit.block.Biome; - public static FLOWER_FOREST: org.bukkit.block.Biome; - public static TAIGA_MOUNTAINS: org.bukkit.block.Biome; - public static SWAMP_HILLS: org.bukkit.block.Biome; - public static ICE_SPIKES: org.bukkit.block.Biome; - public static MODIFIED_JUNGLE: org.bukkit.block.Biome; - public static MODIFIED_JUNGLE_EDGE: org.bukkit.block.Biome; - public static TALL_BIRCH_FOREST: org.bukkit.block.Biome; - public static TALL_BIRCH_HILLS: org.bukkit.block.Biome; - public static DARK_FOREST_HILLS: org.bukkit.block.Biome; - public static SNOWY_TAIGA_MOUNTAINS: org.bukkit.block.Biome; - public static GIANT_SPRUCE_TAIGA: org.bukkit.block.Biome; - public static GIANT_SPRUCE_TAIGA_HILLS: org.bukkit.block.Biome; - public static MODIFIED_GRAVELLY_MOUNTAINS: org.bukkit.block.Biome; - public static SHATTERED_SAVANNA: org.bukkit.block.Biome; - public static SHATTERED_SAVANNA_PLATEAU: org.bukkit.block.Biome; - public static ERODED_BADLANDS: org.bukkit.block.Biome; - public static MODIFIED_WOODED_BADLANDS_PLATEAU: org.bukkit.block.Biome; - public static MODIFIED_BADLANDS_PLATEAU: org.bukkit.block.Biome; - public static BAMBOO_JUNGLE: org.bukkit.block.Biome; - public static BAMBOO_JUNGLE_HILLS: org.bukkit.block.Biome; - public static values(): org.bukkit.block.Biome[]; - public static valueOf(name: string): org.bukkit.block.Biome; - public getKey(): org.bukkit.NamespacedKey; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.BlastFurnace.ts b/packages/bukkit/src/typings/org.bukkit.block.BlastFurnace.ts deleted file mode 100644 index f602ee76..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.BlastFurnace.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface BlastFurnace extends org.bukkit.block.Furnace { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Block.ts b/packages/bukkit/src/typings/org.bukkit.block.Block.ts deleted file mode 100644 index fa35d456..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Block.ts +++ /dev/null @@ -1,258 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Block extends org.bukkit.metadata.Metadatable { - /** - * Gets the metadata for this block - */ - getData(): number; - /** - * Gets the complete block data for this block - */ - getBlockData(): org.bukkit.block.data.BlockData; - /** - * Gets the block at the given offsets - */ - getRelative(modX: number, modY: number, modZ: number): org.bukkit.block.Block; - /** - * Gets the block at the given face - *

- * This method is equal to getRelative(face, 1) - */ - getRelative(face: org.bukkit.block.BlockFace): org.bukkit.block.Block; - /** - * Gets the block at the given distance of the given face - *

- * For example, the following method places water at 100,102,100; two - * blocks above 100,100,100. - *

-                 * Block block = world.getBlockAt(100, 100, 100);
-                 * Block shower = block.getRelative(BlockFace.UP, 2);
-                 * shower.setType(Material.WATER);
-                 * 
- */ - getRelative(face: org.bukkit.block.BlockFace, distance: number): org.bukkit.block.Block; - /** - * Gets the type of this block - */ - getType(): org.bukkit.Material; - /** - * Gets the light level between 0-15 - */ - getLightLevel(): number; - /** - * Get the amount of light at this block from the sky. - *

- * Any light given from other sources (such as blocks like torches) will - * be ignored. - */ - getLightFromSky(): number; - /** - * Get the amount of light at this block from nearby blocks. - *

- * Any light given from other sources (such as the sun) will be ignored. - */ - getLightFromBlocks(): number; - /** - * Gets the world which contains this Block - */ - getWorld(): org.bukkit.World; - /** - * Gets the x-coordinate of this block - */ - getX(): number; - /** - * Gets the y-coordinate of this block - */ - getY(): number; - /** - * Gets the z-coordinate of this block - */ - getZ(): number; - /** - * Gets the Location of the block - */ - getLocation(): org.bukkit.Location; - /** - * Stores the location of the block in the provided Location object. - *

- * If the provided Location is null this method does nothing and returns - * null. - */ - getLocation(loc: org.bukkit.Location): org.bukkit.Location; - /** - * Gets the chunk which contains this block - */ - getChunk(): org.bukkit.Chunk; - /** - * Sets the complete data for this block - */ - setBlockData(data: org.bukkit.block.data.BlockData): void; - /** - * Sets the complete data for this block - *
- * Note that applyPhysics = false is not in general safe. It should only be - * used when you need to avoid triggering a physics update of neighboring - * blocks, for example when creating a {@link Bisected} block. If you are - * using a custom populator, then this parameter may also be required to - * prevent triggering infinite chunk loads on border blocks. This method - * should NOT be used to "hack" physics by placing blocks in impossible - * locations. Such blocks are liable to be removed on various events such as - * world upgrades. Furthermore setting large amounts of such blocks in close - * proximity may overload the server physics engine if an update is - * triggered at a later point. If this occurs, the resulting behavior is - * undefined. - */ - setBlockData(data: org.bukkit.block.data.BlockData, applyPhysics: boolean): void; - /** - * Sets the type of this block - */ - setType(type: org.bukkit.Material): void; - /** - * Sets the type of this block - *
- * Note that applyPhysics = false is not in general safe. It should only be - * used when you need to avoid triggering a physics update of neighboring - * blocks, for example when creating a {@link Bisected} block. If you are - * using a custom populator, then this parameter may also be required to - * prevent triggering infinite chunk loads on border blocks. This method - * should NOT be used to "hack" physics by placing blocks in impossible - * locations. Such blocks are liable to be removed on various events such as - * world upgrades. Furthermore setting large amounts of such blocks in close - * proximity may overload the server physics engine if an update is - * triggered at a later point. If this occurs, the resulting behavior is - * undefined. - */ - setType(type: org.bukkit.Material, applyPhysics: boolean): void; - /** - * Gets the face relation of this block compared to the given block. - *

- * For example: - *

{@code
-                 * Block current = world.getBlockAt(100, 100, 100);
-                 * Block target = world.getBlockAt(100, 101, 100);
-                 * current.getFace(target) == BlockFace.Up;
-                 * }
- *
- * If the given block is not connected to this block, null may be returned - */ - getFace(block: org.bukkit.block.Block): org.bukkit.block.BlockFace; - /** - * Captures the current state of this block. You may then cast that state - * into any accepted type, such as Furnace or Sign. - *

- * The returned object will never be updated, and you are not guaranteed - * that (for example) a sign is still a sign after you capture its state. - */ - getState(): org.bukkit.block.BlockState; - /** - * Returns the biome that this block resides in - */ - getBiome(): org.bukkit.block.Biome; - /** - * Sets the biome that this block resides in - */ - setBiome(bio: org.bukkit.block.Biome): void; - /** - * Returns true if the block is being powered by Redstone. - */ - isBlockPowered(): boolean; - /** - * Returns true if the block is being indirectly powered by Redstone. - */ - isBlockIndirectlyPowered(): boolean; - /** - * Returns true if the block face is being powered by Redstone. - */ - isBlockFacePowered(face: org.bukkit.block.BlockFace): boolean; - /** - * Returns true if the block face is being indirectly powered by Redstone. - */ - isBlockFaceIndirectlyPowered(face: org.bukkit.block.BlockFace): boolean; - /** - * Returns the redstone power being provided to this block face - */ - getBlockPower(face: org.bukkit.block.BlockFace): number; - /** - * Returns the redstone power being provided to this block - */ - getBlockPower(): number; - /** - * Checks if this block is empty. - *

- * A block is considered empty when {@link #getType()} returns {@link - * Material#AIR}. - */ - isEmpty(): boolean; - /** - * Checks if this block is liquid. - *

- * A block is considered liquid when {@link #getType()} returns {@link - * Material#WATER} or {@link Material#LAVA}. - */ - isLiquid(): boolean; - /** - * Gets the temperature of this block. - *

- * If the raw biome temperature without adjusting for height effects is - * required then please use {@link World#getTemperature(int, int)}. - */ - getTemperature(): number; - /** - * Gets the humidity of the biome of this block - */ - getHumidity(): number; - /** - * Returns the reaction of the block when moved by a piston - */ - getPistonMoveReaction(): org.bukkit.block.PistonMoveReaction; - /** - * Breaks the block and spawns items as if a player had digged it - */ - breakNaturally(): boolean; - /** - * Breaks the block and spawns items as if a player had digged it with a - * specific tool - */ - breakNaturally(tool: org.bukkit.inventory.ItemStack): boolean; - /** - * Returns a list of items which would drop by destroying this block - */ - getDrops(): any[] /*java.util.Collection*/; - /** - * Returns a list of items which would drop by destroying this block with - * a specific tool - */ - getDrops(tool: org.bukkit.inventory.ItemStack): any[] /*java.util.Collection*/; - /** - * Checks if this block is passable. - *

- * A block is passable if it has no colliding parts that would prevent - * players from moving through it. - *

- * Examples: Tall grass, flowers, signs, etc. are passable, but open doors, - * fence gates, trap doors, etc. are not because they still have parts that - * can be collided with. - */ - isPassable(): boolean; - /** - * Performs a ray trace that checks for collision with this specific block - * in its current state using its precise collision shape. - */ - rayTrace(start: org.bukkit.Location, direction: org.bukkit.util.Vector, maxDistance: number, fluidCollisionMode: org.bukkit.FluidCollisionMode): org.bukkit.util.RayTraceResult; - /** - * Gets the approximate bounding box for this block. - *

- * This isn't exact as some blocks {@link org.bukkit.block.data.type.Stairs} - * contain many bounding boxes to establish their complete form. - * Also, the box may not be exactly the same as the collision shape (such as - * cactus, which is 16/16 of a block with 15/16 collisional bounds). - * This method will return an empty bounding box if the geometric shape of - * the block is empty (such as air blocks). - */ - getBoundingBox(): org.bukkit.util.BoundingBox; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.BlockFace.ts b/packages/bukkit/src/typings/org.bukkit.block.BlockFace.ts deleted file mode 100644 index a478f5b7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.BlockFace.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - class BlockFace { - public static NORTH: org.bukkit.block.BlockFace; - public static EAST: org.bukkit.block.BlockFace; - public static SOUTH: org.bukkit.block.BlockFace; - public static WEST: org.bukkit.block.BlockFace; - public static UP: org.bukkit.block.BlockFace; - public static DOWN: org.bukkit.block.BlockFace; - public static NORTH_EAST: org.bukkit.block.BlockFace; - public static NORTH_WEST: org.bukkit.block.BlockFace; - public static SOUTH_EAST: org.bukkit.block.BlockFace; - public static SOUTH_WEST: org.bukkit.block.BlockFace; - public static WEST_NORTH_WEST: org.bukkit.block.BlockFace; - public static NORTH_NORTH_WEST: org.bukkit.block.BlockFace; - public static NORTH_NORTH_EAST: org.bukkit.block.BlockFace; - public static EAST_NORTH_EAST: org.bukkit.block.BlockFace; - public static EAST_SOUTH_EAST: org.bukkit.block.BlockFace; - public static SOUTH_SOUTH_EAST: org.bukkit.block.BlockFace; - public static SOUTH_SOUTH_WEST: org.bukkit.block.BlockFace; - public static WEST_SOUTH_WEST: org.bukkit.block.BlockFace; - public static SELF: org.bukkit.block.BlockFace; - public static values(): org.bukkit.block.BlockFace[]; - public static valueOf(name: string): org.bukkit.block.BlockFace; - /** - * Get the amount of X-coordinates to modify to get the represented block - */ - public getModX(): number; - /** - * Get the amount of Y-coordinates to modify to get the represented block - */ - public getModY(): number; - /** - * Get the amount of Z-coordinates to modify to get the represented block - */ - public getModZ(): number; - /** - * Gets the normal vector corresponding to this block face. - */ - public getDirection(): org.bukkit.util.Vector; - public getOppositeFace(): org.bukkit.block.BlockFace; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.BlockState.ts b/packages/bukkit/src/typings/org.bukkit.block.BlockState.ts deleted file mode 100644 index faec95b1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.BlockState.ts +++ /dev/null @@ -1,120 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface BlockState extends org.bukkit.metadata.Metadatable { - /** - * Gets the block represented by this block state. - */ - getBlock(): org.bukkit.block.Block; - /** - * Gets the metadata for this block state. - */ - getData(): org.bukkit.material.MaterialData; - /** - * Gets the data for this block state. - */ - getBlockData(): org.bukkit.block.data.BlockData; - /** - * Gets the type of this block state. - */ - getType(): org.bukkit.Material; - /** - * Gets the current light level of the block represented by this block state. - */ - getLightLevel(): number; - /** - * Gets the world which contains the block represented by this block state. - */ - getWorld(): org.bukkit.World; - /** - * Gets the x-coordinate of this block state. - */ - getX(): number; - /** - * Gets the y-coordinate of this block state. - */ - getY(): number; - /** - * Gets the z-coordinate of this block state. - */ - getZ(): number; - /** - * Gets the location of this block state. - *

- * If this block state is not placed the location's world will be null! - */ - getLocation(): org.bukkit.Location; - /** - * Stores the location of this block state in the provided Location object. - *

- * If the provided Location is null this method does nothing and returns - * null. - *

- * If this block state is not placed the location's world will be null! - */ - getLocation(loc: org.bukkit.Location): org.bukkit.Location; - /** - * Gets the chunk which contains the block represented by this block state. - */ - getChunk(): org.bukkit.Chunk; - /** - * Sets the metadata for this block state. - */ - setData(data: org.bukkit.material.MaterialData): void; - /** - * Sets the data for this block state. - */ - setBlockData(data: org.bukkit.block.data.BlockData): void; - /** - * Sets the type of this block state. - */ - setType(type: org.bukkit.Material): void; - /** - * Attempts to update the block represented by this state, setting it to - * the new values as defined by this state. - *

- * This has the same effect as calling update(false). That is to say, - * this will not modify the state of a block if it is no longer the same - * type as it was when this state was taken. It will return false in this - * eventuality. - */ - update(): boolean; - /** - * Attempts to update the block represented by this state, setting it to - * the new values as defined by this state. - *

- * This has the same effect as calling update(force, true). That is to - * say, this will trigger a physics update to surrounding blocks. - */ - update(force: boolean): boolean; - /** - * Attempts to update the block represented by this state, setting it to - * the new values as defined by this state. - *

- * If this state is not placed, this will have no effect and return true. - *

- * Unless force is true, this will not modify the state of a block if it - * is no longer the same type as it was when this state was taken. It will - * return false in this eventuality. - *

- * If force is true, it will set the type of the block to match the new - * state, set the state data and then return true. - *

- * If applyPhysics is true, it will trigger a physics update on - * surrounding blocks which could cause them to update or disappear. - */ - update(force: boolean, applyPhysics: boolean): boolean; - getRawData(): number; - setRawData(data: number): void; - /** - * Returns whether this state is placed in the world. - *

- * Some methods will not work if the block state isn't - * placed in the world. - */ - isPlaced(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.BrewingStand.ts b/packages/bukkit/src/typings/org.bukkit.block.BrewingStand.ts deleted file mode 100644 index 51875bde..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.BrewingStand.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface BrewingStand extends org.bukkit.block.Container { - /** - * How much time is left in the brewing cycle. - */ - getBrewingTime(): number; - /** - * Set the time left before brewing completes. - */ - setBrewingTime(brewTime: number): void; - /** - * Get the level of current fuel for brewing. - */ - getFuelLevel(): number; - /** - * Set the level of current fuel for brewing. - */ - setFuelLevel(level: number): void; - getInventory(): org.bukkit.inventory.BrewerInventory; - getSnapshotInventory(): org.bukkit.inventory.BrewerInventory; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Campfire.ts b/packages/bukkit/src/typings/org.bukkit.block.Campfire.ts deleted file mode 100644 index d2ff85d3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Campfire.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Campfire extends org.bukkit.block.TileState { - getSize(): number; - getItem(index: number): org.bukkit.inventory.ItemStack; - setItem(index: number, item: org.bukkit.inventory.ItemStack): void; - /** - * Get cook time. - * This is the amount of time the item has been cooking for. - */ - getCookTime(index: number): number; - /** - * Set cook time. - * This is the amount of time the item has been cooking for. - */ - setCookTime(index: number, cookTime: number): void; - /** - * Get cook time total. - * This is the amount of time the item is required to cook for. - */ - getCookTimeTotal(index: number): number; - /** - * Set cook time. - * This is the amount of time the item is required to cook for. - */ - setCookTimeTotal(index: number, cookTimeTotal: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Chest.ts b/packages/bukkit/src/typings/org.bukkit.block.Chest.ts deleted file mode 100644 index 5b0e02cb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Chest.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Chest extends org.bukkit.block.Container, org.bukkit.loot.Lootable { - /** - * Gets the inventory of the chest block represented by this block state. - *

- * If the chest is a double chest, it returns just the portion of the - * inventory linked to the half of the chest corresponding to this block state. - *

- * If the block was changed to a different type in the meantime, the - * returned inventory might no longer be valid. - *

- * If this block state is not placed this will return the captured - * inventory snapshot instead. - */ - getBlockInventory(): org.bukkit.inventory.Inventory; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.CommandBlock.ts b/packages/bukkit/src/typings/org.bukkit.block.CommandBlock.ts deleted file mode 100644 index 1f99af25..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.CommandBlock.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface CommandBlock extends org.bukkit.block.TileState { - /** - * Gets the command that this CommandBlock will run when powered. - * This will never return null. If the CommandBlock does not have a - * command, an empty String will be returned instead. - */ - getCommand(): string; - /** - * Sets the command that this CommandBlock will run when powered. - * Setting the command to null is the same as setting it to an empty - * String. - */ - setCommand(command: string): void; - /** - * Gets the name of this CommandBlock. The name is used with commands - * that this CommandBlock executes. This name will never be null, and - * by default is "@". - */ - getName(): string; - /** - * Sets the name of this CommandBlock. The name is used with commands - * that this CommandBlock executes. Setting the name to null is the - * same as setting it to "@". - */ - setName(name: string): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Comparator.ts b/packages/bukkit/src/typings/org.bukkit.block.Comparator.ts deleted file mode 100644 index 49874ea7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Comparator.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Comparator extends org.bukkit.block.TileState { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Conduit.ts b/packages/bukkit/src/typings/org.bukkit.block.Conduit.ts deleted file mode 100644 index b14c65a9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Conduit.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Conduit extends org.bukkit.block.TileState { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Container.ts b/packages/bukkit/src/typings/org.bukkit.block.Container.ts deleted file mode 100644 index 37154fbe..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Container.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Container extends org.bukkit.block.TileState, org.bukkit.inventory.BlockInventoryHolder, org.bukkit.block.Lockable, org.bukkit.Nameable { - /** - * Gets the inventory of the block represented by this block state. - *

- * If the block was changed to a different type in the meantime, the - * returned inventory might no longer be valid. - *

- * If this block state is not placed this will return the captured inventory - * snapshot instead. - */ - getInventory(): org.bukkit.inventory.Inventory; - /** - * Gets the captured inventory snapshot of this container. - *

- * The returned inventory is not linked to any block. Any modifications to - * the returned inventory will not be applied to the block represented by - * this block state up until {@link #update(boolean, boolean)} has been - * called. - */ - getSnapshotInventory(): org.bukkit.inventory.Inventory; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.CreatureSpawner.ts b/packages/bukkit/src/typings/org.bukkit.block.CreatureSpawner.ts deleted file mode 100644 index 0bbb23d9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.CreatureSpawner.ts +++ /dev/null @@ -1,133 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface CreatureSpawner extends org.bukkit.block.TileState { - /** - * Get the spawner's creature type. - */ - getSpawnedType(): org.bukkit.entity.EntityType; - /** - * Set the spawner's creature type. - */ - setSpawnedType(creatureType: org.bukkit.entity.EntityType): void; - /** - * Set the spawner mob type. - */ - setCreatureTypeByName(creatureType: string): void; - /** - * Get the spawner's creature type. - */ - getCreatureTypeName(): string; - /** - * Get the spawner's delay. - *
- * This is the delay, in ticks, until the spawner will spawn its next mob. - */ - getDelay(): number; - /** - * Set the spawner's delay. - *
- * If set to -1, the spawn delay will be reset to a random value between - * {@link #getMinSpawnDelay} and {@link #getMaxSpawnDelay()}. - */ - setDelay(delay: number): void; - /** - * The minimum spawn delay amount (in ticks). - *
- * This value is used when the spawner resets its delay (for any reason). - * It will choose a random number between {@link #getMinSpawnDelay()} - * and {@link #getMaxSpawnDelay()} for its next {@link #getDelay()}. - * Default value is 200 ticks. - */ - getMinSpawnDelay(): number; - /** - * Set the minimum spawn delay amount (in ticks). - */ - setMinSpawnDelay(delay: number): void; - /** - * The maximum spawn delay amount (in ticks). - *
- * This value is used when the spawner resets its delay (for any reason). - * It will choose a random number between {@link #getMinSpawnDelay()} - * and {@link #getMaxSpawnDelay()} for its next {@link #getDelay()}. - *
- * This value must be greater than 0 and less than or equal to - * {@link #getMaxSpawnDelay()}. - * Default value is 800 ticks. - */ - getMaxSpawnDelay(): number; - /** - * Set the maximum spawn delay amount (in ticks). - *
- * This value must be greater than 0, as well as greater than or - * equal to {@link #getMinSpawnDelay()} - */ - setMaxSpawnDelay(delay: number): void; - /** - * Get how many mobs attempt to spawn. - *
- * Default value is 4. - */ - getSpawnCount(): number; - /** - * Set how many mobs attempt to spawn. - */ - setSpawnCount(spawnCount: number): void; - /** - * Set the new maximum amount of similar entities that are allowed to be - * within spawning range of this spawner. - *
- * If more than the maximum number of entities are within range, the spawner - * will not spawn and try again with a new {@link #getDelay()}. - *
- * Default value is 16. - */ - getMaxNearbyEntities(): number; - /** - * Set the maximum number of similar entities that are allowed to be within - * spawning range of this spawner. - *
- * Similar entities are entities that are of the same {@link EntityType} - */ - setMaxNearbyEntities(maxNearbyEntities: number): void; - /** - * Get the maximum distance(squared) a player can be in order for this - * spawner to be active. - *
- * If this value is less than or equal to 0, this spawner is always active - * (given that there are players online). - *
- * Default value is 16. - */ - getRequiredPlayerRange(): number; - /** - * Set the maximum distance (squared) a player can be in order for this - * spawner to be active. - *
- * Setting this value to less than or equal to 0 will make this spawner - * always active (given that there are players online). - */ - setRequiredPlayerRange(requiredPlayerRange: number): void; - /** - * Get the radius around which the spawner will attempt to spawn mobs in. - *
- * This area is square, includes the block the spawner is in, and is - * centered on the spawner's x,z coordinates - not the spawner itself. - *
- * It is 2 blocks high, centered on the spawner's y-coordinate (its bottom); - * thus allowing mobs to spawn as high as its top surface and as low - * as 1 block below its bottom surface. - *
- * Default value is 4. - */ - getSpawnRange(): number; - /** - * Set the new spawn range. - *
- */ - setSpawnRange(spawnRange: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.DaylightDetector.ts b/packages/bukkit/src/typings/org.bukkit.block.DaylightDetector.ts deleted file mode 100644 index 867d37f9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.DaylightDetector.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface DaylightDetector extends org.bukkit.block.TileState { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Dispenser.ts b/packages/bukkit/src/typings/org.bukkit.block.Dispenser.ts deleted file mode 100644 index ed2fc5d5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Dispenser.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Dispenser extends org.bukkit.block.Container, org.bukkit.Nameable, org.bukkit.loot.Lootable { - /** - * Gets the BlockProjectileSource object for the dispenser. - *

- * If the block represented by this state is no longer a dispenser, this - * will return null. - */ - getBlockProjectileSource(): org.bukkit.projectiles.BlockProjectileSource; - /** - * Attempts to dispense the contents of the dispenser. - *

- * If the block represented by this state is no longer a dispenser, this - * will return false. - */ - dispense(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.DoubleChest.ts b/packages/bukkit/src/typings/org.bukkit.block.DoubleChest.ts deleted file mode 100644 index 218fdf02..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.DoubleChest.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - class DoubleChest implements org.bukkit.inventory.InventoryHolder { - constructor(chest: org.bukkit.inventory.DoubleChestInventory) - public getInventory(): org.bukkit.inventory.Inventory; - public getLeftSide(): org.bukkit.inventory.InventoryHolder; - public getRightSide(): org.bukkit.inventory.InventoryHolder; - public getLocation(): org.bukkit.Location; - public getWorld(): org.bukkit.World; - public getX(): number; - public getY(): number; - public getZ(): number; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Dropper.ts b/packages/bukkit/src/typings/org.bukkit.block.Dropper.ts deleted file mode 100644 index 1e3c128d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Dropper.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Dropper extends org.bukkit.block.Container, org.bukkit.loot.Lootable { - /** - * Tries to drop a randomly selected item from the dropper's inventory, - * following the normal behavior of a dropper. - *

- * Normal behavior of a dropper is as follows: - *

- * If the block that the dropper is facing is an InventoryHolder, - * the randomly selected ItemStack is placed within that - * Inventory in the first slot that's available, starting with 0 and - * counting up. If the inventory is full, nothing happens. - *

- * If the block that the dropper is facing is not an InventoryHolder, - * the randomly selected ItemStack is dropped on - * the ground in the form of an {@link org.bukkit.entity.Item Item}. - *

- * If the block represented by this state is no longer a dropper, this will - * do nothing. - */ - drop(): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.EnchantingTable.ts b/packages/bukkit/src/typings/org.bukkit.block.EnchantingTable.ts deleted file mode 100644 index ac13f091..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.EnchantingTable.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface EnchantingTable extends org.bukkit.block.TileState, org.bukkit.Nameable { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.EndGateway.ts b/packages/bukkit/src/typings/org.bukkit.block.EndGateway.ts deleted file mode 100644 index 541b1bc4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.EndGateway.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface EndGateway extends org.bukkit.block.TileState { - /** - * Gets the location that entities are teleported to when - * entering the gateway portal. - *

- * If this block state is not placed the location's world will be null. - */ - getExitLocation(): org.bukkit.Location; - /** - * Sets the exit location that entities are teleported to when - * they enter the gateway portal. - *

- * If this block state is not placed the location's world has to be null. - */ - setExitLocation(location: org.bukkit.Location): void; - /** - * Gets whether this gateway will teleport entities directly to - * the exit location instead of finding a nearby location. - */ - isExactTeleport(): boolean; - /** - * Sets whether this gateway will teleport entities directly to - * the exit location instead of finding a nearby location. - */ - setExactTeleport(exact: boolean): void; - /** - * Gets the age in ticks of the gateway. - *
- * If the age is less than 200 ticks a magenta beam will be emitted, whilst - * if it is a multiple of 2400 ticks a purple beam will be emitted. - */ - getAge(): number; - /** - * Sets the age in ticks of the gateway. - *
- * If the age is less than 200 ticks a magenta beam will be emitted, whilst - * if it is a multiple of 2400 ticks a purple beam will be emitted. - */ - setAge(age: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.EnderChest.ts b/packages/bukkit/src/typings/org.bukkit.block.EnderChest.ts deleted file mode 100644 index b20bb10a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.EnderChest.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface EnderChest extends org.bukkit.block.TileState { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.FlowerPot.ts b/packages/bukkit/src/typings/org.bukkit.block.FlowerPot.ts deleted file mode 100644 index dab41382..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.FlowerPot.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface FlowerPot extends org.bukkit.block.BlockState { - /** - * Gets the item present in this flower pot. - */ - getContents(): org.bukkit.material.MaterialData; - /** - * Sets the item present in this flower pot. - * NOTE: The Vanilla Minecraft client will currently not refresh this until - * a block update is triggered. - */ - setContents(item: org.bukkit.material.MaterialData): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Furnace.ts b/packages/bukkit/src/typings/org.bukkit.block.Furnace.ts deleted file mode 100644 index ebfaa131..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Furnace.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Furnace extends org.bukkit.block.Container { - /** - * Get burn time. - */ - getBurnTime(): number; - /** - * Set burn time. - * A burn time greater than 0 will cause this block to be lit, whilst a time - * less than 0 will extinguish it. - */ - setBurnTime(burnTime: number): void; - /** - * Get cook time. - * This is the amount of time the item has been cooking for. - */ - getCookTime(): number; - /** - * Set cook time. - * This is the amount of time the item has been cooking for. - */ - setCookTime(cookTime: number): void; - /** - * Get cook time total. - * This is the amount of time the item is required to cook for. - */ - getCookTimeTotal(): number; - /** - * Set cook time. - * This is the amount of time the item is required to cook for. - */ - setCookTimeTotal(cookTimeTotal: number): void; - getInventory(): org.bukkit.inventory.FurnaceInventory; - getSnapshotInventory(): org.bukkit.inventory.FurnaceInventory; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Hopper.ts b/packages/bukkit/src/typings/org.bukkit.block.Hopper.ts deleted file mode 100644 index 8f507567..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Hopper.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Hopper extends org.bukkit.block.Container, org.bukkit.loot.Lootable { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Jigsaw.ts b/packages/bukkit/src/typings/org.bukkit.block.Jigsaw.ts deleted file mode 100644 index b8749689..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Jigsaw.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Jigsaw extends org.bukkit.block.TileState { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Jukebox.ts b/packages/bukkit/src/typings/org.bukkit.block.Jukebox.ts deleted file mode 100644 index b7a3c2d5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Jukebox.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Jukebox extends org.bukkit.block.TileState { - /** - * Gets the record inserted into the jukebox. - */ - getPlaying(): org.bukkit.Material; - /** - * Sets the record being played. - */ - setPlaying(record: org.bukkit.Material): void; - /** - * Gets the record item inserted into the jukebox. - */ - getRecord(): org.bukkit.inventory.ItemStack; - /** - * Sets the record being played. - */ - setRecord(record: org.bukkit.inventory.ItemStack): void; - /** - * Checks if the jukebox is playing a record. - */ - isPlaying(): boolean; - /** - * Stops the jukebox playing and ejects the current record. - *

- * If the block represented by this state is no longer a jukebox, this will - * do nothing and return false. - */ - eject(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Lectern.ts b/packages/bukkit/src/typings/org.bukkit.block.Lectern.ts deleted file mode 100644 index 7bd462ad..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Lectern.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Lectern extends org.bukkit.block.TileState, org.bukkit.inventory.BlockInventoryHolder { - /** - * Get the current lectern page. - */ - getPage(): number; - /** - * Set the current lectern page. - * If the page is greater than the number of pages of the book currently in - * the inventory, then behavior is undefined. - */ - setPage(page: number): void; - getInventory(): org.bukkit.inventory.Inventory; - getSnapshotInventory(): org.bukkit.inventory.Inventory; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Lockable.ts b/packages/bukkit/src/typings/org.bukkit.block.Lockable.ts deleted file mode 100644 index 46ffc918..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Lockable.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Lockable { - /** - * Checks if the container has a valid (non empty) key. - */ - isLocked(): boolean; - /** - * Gets the key needed to access the container. - */ - getLock(): string; - /** - * Sets the key required to access this container. Set to null (or empty - * string) to remove key. - */ - setLock(key: string): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.NoteBlock.ts b/packages/bukkit/src/typings/org.bukkit.block.NoteBlock.ts deleted file mode 100644 index c13bab41..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.NoteBlock.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface NoteBlock extends org.bukkit.block.BlockState { - /** - * Gets the note. - */ - getNote(): org.bukkit.Note; - /** - * Gets the note. - */ - getRawNote(): number; - /** - * Set the note. - */ - setNote(note: org.bukkit.Note): void; - /** - * Set the note. - */ - setRawNote(note: number): void; - /** - * Attempts to play the note at the block. - *

- * If the block represented by this block state is no longer a note block, - * this will return false. - */ - play(): boolean; - /** - * Plays an arbitrary note with an arbitrary instrument at the block. - *

- * If the block represented by this block state is no longer a note block, - * this will return false. - */ - play(instrument: number, note: number): boolean; - /** - * Plays an arbitrary note with an arbitrary instrument at the block. - *

- * If the block represented by this block state is no longer a note block, - * this will return false. - */ - play(instrument: org.bukkit.Instrument, note: org.bukkit.Note): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.PistonMoveReaction.ts b/packages/bukkit/src/typings/org.bukkit.block.PistonMoveReaction.ts deleted file mode 100644 index 1abaea15..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.PistonMoveReaction.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - class PistonMoveReaction { - public static MOVE: org.bukkit.block.PistonMoveReaction; - public static BREAK: org.bukkit.block.PistonMoveReaction; - public static BLOCK: org.bukkit.block.PistonMoveReaction; - public static IGNORE: org.bukkit.block.PistonMoveReaction; - public static PUSH_ONLY: org.bukkit.block.PistonMoveReaction; - public static values(): org.bukkit.block.PistonMoveReaction[]; - public static valueOf(name: string): org.bukkit.block.PistonMoveReaction; - public getId(): number; - public static getById(id: number): org.bukkit.block.PistonMoveReaction; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.ShulkerBox.ts b/packages/bukkit/src/typings/org.bukkit.block.ShulkerBox.ts deleted file mode 100644 index 604e0d28..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.ShulkerBox.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface ShulkerBox extends org.bukkit.block.Container, org.bukkit.loot.Lootable { - /** - * Get the {@link DyeColor} corresponding to this ShulkerBox - */ - getColor(): org.bukkit.DyeColor; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Sign.ts b/packages/bukkit/src/typings/org.bukkit.block.Sign.ts deleted file mode 100644 index 98b62e27..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Sign.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Sign extends org.bukkit.block.TileState, org.bukkit.material.Colorable { - /** - * Gets all the lines of text currently on this sign. - */ - getLines(): any; - /** - * Gets the line of text at the specified index. - *

- * For example, getLine(0) will return the first line of text. - */ - getLine(index: number): string; - /** - * Sets the line of text at the specified index. - *

- * For example, setLine(0, "Line One") will set the first line of text to - * "Line One". - */ - setLine(index: number, line: string): void; - /** - * Marks whether this sign can be edited by players. - *
- * This is a special value, which is not persisted. It should only be set if - * a placed sign is manipulated during the BlockPlaceEvent. Behaviour - * outside of this event is undefined. - */ - isEditable(): boolean; - /** - * Marks whether this sign can be edited by players. - *
- * This is a special value, which is not persisted. It should only be set if - * a placed sign is manipulated during the BlockPlaceEvent. Behaviour - * outside of this event is undefined. - */ - setEditable(editable: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Skull.ts b/packages/bukkit/src/typings/org.bukkit.block.Skull.ts deleted file mode 100644 index 83ba37b0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Skull.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Skull extends org.bukkit.block.TileState { - /** - * Checks to see if the skull has an owner - */ - hasOwner(): boolean; - /** - * Gets the owner of the skull, if one exists - */ - getOwner(): string; - /** - * Sets the owner of the skull - *

- * Involves a potentially blocking web request to acquire the profile data for - * the provided name. - */ - setOwner(name: string): boolean; - /** - * Get the player which owns the skull. This player may appear as the - * texture depending on skull type. - */ - getOwningPlayer(): org.bukkit.OfflinePlayer; - /** - * Set the player which owns the skull. This player may appear as the - * texture depending on skull type. - */ - setOwningPlayer(player: org.bukkit.OfflinePlayer): void; - /** - * Gets the rotation of the skull in the world (or facing direction if this - * is a wall mounted skull). - */ - getRotation(): org.bukkit.block.BlockFace; - /** - * Sets the rotation of the skull in the world (or facing direction if this - * is a wall mounted skull). - */ - setRotation(rotation: org.bukkit.block.BlockFace): void; - /** - * Gets the type of skull - */ - getSkullType(): org.bukkit.SkullType; - /** - * Sets the type of skull - */ - setSkullType(skullType: org.bukkit.SkullType): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Smoker.ts b/packages/bukkit/src/typings/org.bukkit.block.Smoker.ts deleted file mode 100644 index ce919169..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Smoker.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Smoker extends org.bukkit.block.Furnace { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.Structure.ts b/packages/bukkit/src/typings/org.bukkit.block.Structure.ts deleted file mode 100644 index 0675932c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.Structure.ts +++ /dev/null @@ -1,144 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface Structure extends org.bukkit.block.TileState { - /** - * The name of this structure. - */ - getStructureName(): string; - /** - * Set the name of this structure. This is case-sensitive. The name of the - * structure in the {@link UsageMode#SAVE} structure block MUST match the - * name within the {@link UsageMode#CORNER} block or the size calculation - * will fail. - */ - setStructureName(name: string): void; - /** - * Get the name of who created this structure. - */ - getAuthor(): string; - /** - * Set the name of whoever created this structure. - */ - setAuthor(author: string): void; - /** - * Set the name of whoever created this structure using a - * {@link LivingEntity}. - */ - setAuthor(livingEntity: org.bukkit.entity.LivingEntity): void; - /** - * The relative position of the structure outline based on the position of - * the structure block. Maximum allowed distance is 32 blocks in any - * direction. - */ - getRelativePosition(): org.bukkit.util.BlockVector; - /** - * Set the relative position from the structure block. Maximum allowed - * distance is 32 blocks in any direction. - */ - setRelativePosition(vector: org.bukkit.util.BlockVector): void; - /** - * The distance to the opposite corner of this structure. The maximum - * structure size is 32x32x32. When a structure has successfully been - * calculated (i.e. it is within the maximum allowed distance) a white - * border surrounds the structure. - */ - getStructureSize(): org.bukkit.util.BlockVector; - /** - * Set the maximum size of this structure from the origin point. Maximum - * allowed size is 32x32x32. - */ - setStructureSize(vector: org.bukkit.util.BlockVector): void; - /** - * Sets the mirroring of the structure. - */ - setMirror(mirror: org.bukkit.block.structure.Mirror): void; - /** - * How this structure is mirrored. - */ - getMirror(): org.bukkit.block.structure.Mirror; - /** - * Set how this structure is rotated. - */ - setRotation(rotation: org.bukkit.block.structure.StructureRotation): void; - /** - * Get how this structure is rotated. - */ - getRotation(): org.bukkit.block.structure.StructureRotation; - /** - * Set the {@link UsageMode} of this structure block. - */ - setUsageMode(mode: org.bukkit.block.structure.UsageMode): void; - /** - * Get the {@link UsageMode} of this structure block. - */ - getUsageMode(): org.bukkit.block.structure.UsageMode; - /** - * While in {@link UsageMode#SAVE} mode, this will ignore any entities when - * saving the structure. - *
- * While in {@link UsageMode#LOAD} mode this will ignore any entities that - * were saved to file. - */ - setIgnoreEntities(ignoreEntities: boolean): void; - /** - * Get if this structure block should ignore entities. - */ - isIgnoreEntities(): boolean; - /** - * Set if the structure outline should show air blocks. - */ - setShowAir(showAir: boolean): void; - /** - * Check if this structure block is currently showing all air blocks - */ - isShowAir(): boolean; - /** - * Set if this structure box should show the bounding box. - */ - setBoundingBoxVisible(showBoundingBox: boolean): void; - /** - * Get if this structure block is currently showing the bounding box. - */ - isBoundingBoxVisible(): boolean; - /** - * Set the integrity of the structure. Integrity must be between 0.0 and 1.0 - * Lower integrity values will result in more blocks being removed when - * loading a structure. Integrity and {@link #getSeed()} are used together - * to determine which blocks are randomly removed to mimic "decay." - */ - setIntegrity(integrity: number): void; - /** - * Get the integrity of this structure. - */ - getIntegrity(): number; - /** - * The seed used to determine which blocks will be removed upon loading. - * {@link #getIntegrity()} and seed are used together to determine which - * blocks are randomly removed to mimic "decay." - */ - setSeed(seed: number): void; - /** - * The seed used to determine how many blocks are removed upon loading of - * this structure. - */ - getSeed(): number; - /** - * Only applicable while in {@link UsageMode#DATA}. Metadata are specific - * functions that can be applied to the structure location. Consult the - * Minecraft - * wiki for more information. - */ - setMetadata(metadata: string): void; - /** - * Get the metadata function this structure block will perform when - * activated. Consult the - * Minecraft - * Wiki for more information. - */ - getMetadata(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.TileState.ts b/packages/bukkit/src/typings/org.bukkit.block.TileState.ts deleted file mode 100644 index 6a37b63a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.TileState.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - // @ts-ignore - interface TileState extends org.bukkit.block.BlockState, org.bukkit.persistence.PersistentDataHolder { - /** - * Returns a custom tag container capable of storing tags on the object. - * Note that the tags stored on this container are all stored under their - * own custom namespace therefore modifying default tags using this - * {@link PersistentDataHolder} is impossible. - *

- * This {@link PersistentDataHolder} is only linked to the snapshot instance - * stored by the {@link BlockState}. - * When storing changes on the {@link PersistentDataHolder}, the updated - * content will only be applied to the actual tile entity after one of the - * {@link #update()} methods is called. - */ - getPersistentDataContainer(): org.bukkit.persistence.PersistentDataContainer; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.banner.Pattern.ts b/packages/bukkit/src/typings/org.bukkit.block.banner.Pattern.ts deleted file mode 100644 index 5045b5bc..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.banner.Pattern.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace banner { - // @ts-ignore - class Pattern implements org.bukkit.configuration.serialization.ConfigurationSerializable { - /** - * Creates a new pattern from the specified color and - * pattern type - */ - constructor(color: org.bukkit.DyeColor, pattern: org.bukkit.block.banner.PatternType) - /** - * Constructor for deserialization. - */ - constructor(map: Map /*java.util.Map*/) - public serialize(): Map /*java.util.Map*/; - /** - * Returns the color of the pattern - */ - public getColor(): org.bukkit.DyeColor; - /** - * Returns the type of pattern - */ - public getPattern(): org.bukkit.block.banner.PatternType; - public hashCode(): number; - public equals(obj: any): boolean; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.banner.PatternType.ts b/packages/bukkit/src/typings/org.bukkit.block.banner.PatternType.ts deleted file mode 100644 index ddc2c20e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.banner.PatternType.ts +++ /dev/null @@ -1,63 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace banner { - // @ts-ignore - class PatternType { - public static BASE: org.bukkit.block.banner.PatternType; - public static SQUARE_BOTTOM_LEFT: org.bukkit.block.banner.PatternType; - public static SQUARE_BOTTOM_RIGHT: org.bukkit.block.banner.PatternType; - public static SQUARE_TOP_LEFT: org.bukkit.block.banner.PatternType; - public static SQUARE_TOP_RIGHT: org.bukkit.block.banner.PatternType; - public static STRIPE_BOTTOM: org.bukkit.block.banner.PatternType; - public static STRIPE_TOP: org.bukkit.block.banner.PatternType; - public static STRIPE_LEFT: org.bukkit.block.banner.PatternType; - public static STRIPE_RIGHT: org.bukkit.block.banner.PatternType; - public static STRIPE_CENTER: org.bukkit.block.banner.PatternType; - public static STRIPE_MIDDLE: org.bukkit.block.banner.PatternType; - public static STRIPE_DOWNRIGHT: org.bukkit.block.banner.PatternType; - public static STRIPE_DOWNLEFT: org.bukkit.block.banner.PatternType; - public static STRIPE_SMALL: org.bukkit.block.banner.PatternType; - public static CROSS: org.bukkit.block.banner.PatternType; - public static STRAIGHT_CROSS: org.bukkit.block.banner.PatternType; - public static TRIANGLE_BOTTOM: org.bukkit.block.banner.PatternType; - public static TRIANGLE_TOP: org.bukkit.block.banner.PatternType; - public static TRIANGLES_BOTTOM: org.bukkit.block.banner.PatternType; - public static TRIANGLES_TOP: org.bukkit.block.banner.PatternType; - public static DIAGONAL_LEFT: org.bukkit.block.banner.PatternType; - public static DIAGONAL_RIGHT: org.bukkit.block.banner.PatternType; - public static DIAGONAL_LEFT_MIRROR: org.bukkit.block.banner.PatternType; - public static DIAGONAL_RIGHT_MIRROR: org.bukkit.block.banner.PatternType; - public static CIRCLE_MIDDLE: org.bukkit.block.banner.PatternType; - public static RHOMBUS_MIDDLE: org.bukkit.block.banner.PatternType; - public static HALF_VERTICAL: org.bukkit.block.banner.PatternType; - public static HALF_HORIZONTAL: org.bukkit.block.banner.PatternType; - public static HALF_VERTICAL_MIRROR: org.bukkit.block.banner.PatternType; - public static HALF_HORIZONTAL_MIRROR: org.bukkit.block.banner.PatternType; - public static BORDER: org.bukkit.block.banner.PatternType; - public static CURLY_BORDER: org.bukkit.block.banner.PatternType; - public static CREEPER: org.bukkit.block.banner.PatternType; - public static GRADIENT: org.bukkit.block.banner.PatternType; - public static GRADIENT_UP: org.bukkit.block.banner.PatternType; - public static BRICKS: org.bukkit.block.banner.PatternType; - public static SKULL: org.bukkit.block.banner.PatternType; - public static FLOWER: org.bukkit.block.banner.PatternType; - public static MOJANG: org.bukkit.block.banner.PatternType; - public static GLOBE: org.bukkit.block.banner.PatternType; - public static values(): org.bukkit.block.banner.PatternType[]; - public static valueOf(name: string): org.bukkit.block.banner.PatternType; - /** - * Returns the identifier used to represent - * this pattern type - */ - public getIdentifier(): string; - /** - * Returns the pattern type which matches the passed - * identifier or null if no matches are found - */ - public static getByIdentifier(identifier: string): org.bukkit.block.banner.PatternType; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Ageable.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Ageable.ts deleted file mode 100644 index 288e1b4b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Ageable.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface Ageable extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'age' property. - */ - getAge(): number; - /** - * Sets the value of the 'age' property. - */ - setAge(age: number): void; - /** - * Gets the maximum allowed value of the 'age' property. - */ - getMaximumAge(): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.AnaloguePowerable.ts b/packages/bukkit/src/typings/org.bukkit.block.data.AnaloguePowerable.ts deleted file mode 100644 index dd2384ed..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.AnaloguePowerable.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface AnaloguePowerable extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'power' property. - */ - getPower(): number; - /** - * Sets the value of the 'power' property. - */ - setPower(power: number): void; - /** - * Gets the maximum allowed value of the 'power' property. - */ - getMaximumPower(): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Attachable.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Attachable.ts deleted file mode 100644 index 6b1b69c2..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Attachable.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface Attachable extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'attached' property. - */ - isAttached(): boolean; - /** - * Sets the value of the 'attached' property. - */ - setAttached(attached: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Bisected.Half.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Bisected.Half.ts deleted file mode 100644 index 9eb46103..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Bisected.Half.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace Bisected { - // @ts-ignore - class Half { - public static TOP: org.bukkit.block.data.Bisected.Half; - public static BOTTOM: org.bukkit.block.data.Bisected.Half; - public static values(): org.bukkit.block.data.Bisected.Half[]; - public static valueOf(name: string): org.bukkit.block.data.Bisected.Half; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Bisected.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Bisected.ts deleted file mode 100644 index 5ffeee3b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Bisected.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface Bisected extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'half' property. - */ - getHalf(): org.bukkit.block.data.Bisected.Half; - /** - * Sets the value of the 'half' property. - */ - setHalf(half: org.bukkit.block.data.Bisected.Half): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.BlockData.ts b/packages/bukkit/src/typings/org.bukkit.block.data.BlockData.ts deleted file mode 100644 index 7e303d9c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.BlockData.ts +++ /dev/null @@ -1,70 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface BlockData { - /** - * Get the Material represented by this block data. - */ - getMaterial(): org.bukkit.Material; - /** - * Gets a string, which when passed into a method such as - * {@link Server#createBlockData(java.lang.String)} will unambiguously - * recreate this instance. - */ - getAsString(): string; - /** - * Gets a string, which when passed into a method such as - * {@link Server#createBlockData(java.lang.String)} will recreate this or a - * similar instance where unspecified states (if any) may be optionally - * omitted. If this instance was parsed and states are omitted, this exact - * instance will be creatable when parsed again, else their equality cannot - * be guaranteed. - *

- * This method will only take effect for BlockData instances created by - * methods such as {@link Server#createBlockData(String)} or any similar - * method whereby states are optionally defined. If otherwise, the result of - * {@link #getAsString()} will be returned. The following behaviour would be - * expected: - *

{@code
-                     * String dataString = "minecraft:chest[waterlogged=true]"
-                     * BlockData data = Bukkit.createBlockData(dataString);
-                     * dataString.equals(data.getAsString(true)); // This would return true
-                     * dataString.equals(data.getAsString(false)); // This would return false as all states are present
-                     * dataString.equals(data.getAsString()); // This is equivalent to the above, "getAsString(false)"
-                     * }
- */ - getAsString(hideUnspecified: boolean): string; - /** - * Merges all explicitly set states from the given data with this BlockData. - *
- * Note that the given data MUST have been created from one of the String - * parse methods, e.g. {@link Server#createBlockData(java.lang.String)} and - * not have been subsequently modified. - *
- * Note also that the block types must match identically. - */ - merge(data: org.bukkit.block.data.BlockData): org.bukkit.block.data.BlockData; - /** - * Checks if the specified BlockData matches this block data. - *
- * The semantics of this method are such that for manually created or - * modified BlockData it has the same effect as - * {@link Object#equals(java.lang.Object)}, whilst for parsed data (that to - * which {@link #merge(org.bukkit.block.data.BlockData)} applies, it will - * return true when the type and all explicitly set states match. - *
- * Note that these semantics mean that a.matches(b) may not be the same - * as b.matches(a) - */ - matches(data: org.bukkit.block.data.BlockData): boolean; - /** - * Returns a copy of this BlockData. - */ - clone(): org.bukkit.block.data.BlockData; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Directional.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Directional.ts deleted file mode 100644 index 88b4b600..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Directional.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface Directional extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'facing' property. - */ - getFacing(): org.bukkit.block.BlockFace; - /** - * Sets the value of the 'facing' property. - */ - setFacing(facing: org.bukkit.block.BlockFace): void; - /** - * Gets the faces which are applicable to this block. - */ - getFaces(): any[] /*java.util.Set*/; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Levelled.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Levelled.ts deleted file mode 100644 index 5cf9b43a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Levelled.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface Levelled extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'level' property. - */ - getLevel(): number; - /** - * Sets the value of the 'level' property. - */ - setLevel(level: number): void; - /** - * Gets the maximum allowed value of the 'level' property. - */ - getMaximumLevel(): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Lightable.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Lightable.ts deleted file mode 100644 index 9540f1ca..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Lightable.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface Lightable extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'lit' property. - */ - isLit(): boolean; - /** - * Sets the value of the 'lit' property. - */ - setLit(lit: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.MultipleFacing.ts b/packages/bukkit/src/typings/org.bukkit.block.data.MultipleFacing.ts deleted file mode 100644 index cbfaefb2..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.MultipleFacing.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface MultipleFacing extends org.bukkit.block.data.BlockData { - /** - * Checks if this block has the specified face enabled. - */ - hasFace(face: org.bukkit.block.BlockFace): boolean; - /** - * Set whether this block has the specified face enabled. - */ - setFace(face: org.bukkit.block.BlockFace, has: boolean): void; - /** - * Get all of the faces which are enabled on this block. - */ - getFaces(): any[] /*java.util.Set*/; - /** - * Gets all of this faces which may be set on this block. - */ - getAllowedFaces(): any[] /*java.util.Set*/; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Openable.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Openable.ts deleted file mode 100644 index bf006e57..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Openable.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface Openable extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'open' property. - */ - isOpen(): boolean; - /** - * Sets the value of the 'open' property. - */ - setOpen(open: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Orientable.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Orientable.ts deleted file mode 100644 index 90672681..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Orientable.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface Orientable extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'axis' property. - */ - getAxis(): org.bukkit.Axis; - /** - * Sets the value of the 'axis' property. - */ - setAxis(axis: org.bukkit.Axis): void; - /** - * Gets the axes which are applicable to this block. - */ - getAxes(): any[] /*java.util.Set*/; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Powerable.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Powerable.ts deleted file mode 100644 index a3c0d50a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Powerable.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface Powerable extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'powered' property. - */ - isPowered(): boolean; - /** - * Sets the value of the 'powered' property. - */ - setPowered(powered: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Rail.Shape.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Rail.Shape.ts deleted file mode 100644 index 7a6c4a2c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Rail.Shape.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace Rail { - // @ts-ignore - class Shape { - public static NORTH_SOUTH: org.bukkit.block.data.Rail.Shape; - public static EAST_WEST: org.bukkit.block.data.Rail.Shape; - public static ASCENDING_EAST: org.bukkit.block.data.Rail.Shape; - public static ASCENDING_WEST: org.bukkit.block.data.Rail.Shape; - public static ASCENDING_NORTH: org.bukkit.block.data.Rail.Shape; - public static ASCENDING_SOUTH: org.bukkit.block.data.Rail.Shape; - public static SOUTH_EAST: org.bukkit.block.data.Rail.Shape; - public static SOUTH_WEST: org.bukkit.block.data.Rail.Shape; - public static NORTH_WEST: org.bukkit.block.data.Rail.Shape; - public static NORTH_EAST: org.bukkit.block.data.Rail.Shape; - public static values(): org.bukkit.block.data.Rail.Shape[]; - public static valueOf(name: string): org.bukkit.block.data.Rail.Shape; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Rail.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Rail.ts deleted file mode 100644 index 16f7c4cf..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Rail.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface Rail extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'shape' property. - */ - getShape(): org.bukkit.block.data.Rail.Shape; - /** - * Sets the value of the 'shape' property. - */ - setShape(shape: org.bukkit.block.data.Rail.Shape): void; - /** - * Gets the shapes which are applicable to this block. - */ - getShapes(): any[] /*java.util.Set*/; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Rotatable.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Rotatable.ts deleted file mode 100644 index 79281db1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Rotatable.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface Rotatable extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'rotation' property. - */ - getRotation(): org.bukkit.block.BlockFace; - /** - * Sets the value of the 'rotation' property. - */ - setRotation(rotation: org.bukkit.block.BlockFace): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Snowable.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Snowable.ts deleted file mode 100644 index ef7bec90..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Snowable.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface Snowable extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'snowy' property. - */ - isSnowy(): boolean; - /** - * Sets the value of the 'snowy' property. - */ - setSnowy(snowy: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.Waterlogged.ts b/packages/bukkit/src/typings/org.bukkit.block.data.Waterlogged.ts deleted file mode 100644 index a9028229..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.Waterlogged.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - // @ts-ignore - interface Waterlogged extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'waterlogged' property. - */ - isWaterlogged(): boolean; - /** - * Sets the value of the 'waterlogged' property. - */ - setWaterlogged(waterlogged: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Bamboo.Leaves.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Bamboo.Leaves.ts deleted file mode 100644 index 029aecb6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Bamboo.Leaves.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - namespace Bamboo { - // @ts-ignore - class Leaves { - public static NONE: org.bukkit.block.data.type.Bamboo.Leaves; - public static SMALL: org.bukkit.block.data.type.Bamboo.Leaves; - public static LARGE: org.bukkit.block.data.type.Bamboo.Leaves; - public static values(): org.bukkit.block.data.type.Bamboo.Leaves[]; - public static valueOf(name: string): org.bukkit.block.data.type.Bamboo.Leaves; - } - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Bamboo.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Bamboo.ts deleted file mode 100644 index ab5bb77c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Bamboo.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Bamboo extends org.bukkit.block.data.Ageable, org.bukkit.block.data.type.Sapling { - /** - * Gets the value of the 'leaves' property. - */ - getLeaves(): org.bukkit.block.data.type.Bamboo.Leaves; - /** - * Sets the value of the 'leaves' property. - */ - setLeaves(leaves: org.bukkit.block.data.type.Bamboo.Leaves): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Bed.Part.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Bed.Part.ts deleted file mode 100644 index 6a3470ae..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Bed.Part.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - namespace Bed { - // @ts-ignore - class Part { - public static HEAD: org.bukkit.block.data.type.Bed.Part; - public static FOOT: org.bukkit.block.data.type.Bed.Part; - public static values(): org.bukkit.block.data.type.Bed.Part[]; - public static valueOf(name: string): org.bukkit.block.data.type.Bed.Part; - } - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Bed.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Bed.ts deleted file mode 100644 index 37192435..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Bed.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Bed extends org.bukkit.block.data.Directional { - /** - * Gets the value of the 'part' property. - */ - getPart(): org.bukkit.block.data.type.Bed.Part; - /** - * Sets the value of the 'part' property. - */ - setPart(part: org.bukkit.block.data.type.Bed.Part): void; - /** - * Gets the value of the 'occupied' property. - */ - isOccupied(): boolean; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Bell.Attachment.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Bell.Attachment.ts deleted file mode 100644 index 7dcbf624..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Bell.Attachment.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - namespace Bell { - // @ts-ignore - class Attachment { - public static FLOOR: org.bukkit.block.data.type.Bell.Attachment; - public static CEILING: org.bukkit.block.data.type.Bell.Attachment; - public static SINGLE_WALL: org.bukkit.block.data.type.Bell.Attachment; - public static DOUBLE_WALL: org.bukkit.block.data.type.Bell.Attachment; - public static values(): org.bukkit.block.data.type.Bell.Attachment[]; - public static valueOf(name: string): org.bukkit.block.data.type.Bell.Attachment; - } - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Bell.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Bell.ts deleted file mode 100644 index 68434bbb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Bell.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Bell extends org.bukkit.block.data.Directional { - /** - * Gets the value of the 'attachment' property. - */ - getAttachment(): org.bukkit.block.data.type.Bell.Attachment; - /** - * Sets the value of the 'attachment' property. - */ - setAttachment(attachment: org.bukkit.block.data.type.Bell.Attachment): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.BrewingStand.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.BrewingStand.ts deleted file mode 100644 index fe061781..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.BrewingStand.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface BrewingStand extends org.bukkit.block.data.BlockData { - /** - * Checks if the stand has the following bottle - */ - hasBottle(bottle: number): boolean; - /** - * Set whether the stand has this bottle present. - */ - setBottle(bottle: number, has: boolean): void; - /** - * Get the indexes of all the bottles present on this block. - */ - getBottles(): any[] /*java.util.Set*/; - /** - * Get the maximum amount of bottles present on this stand. - */ - getMaximumBottles(): number; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.BubbleColumn.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.BubbleColumn.ts deleted file mode 100644 index ea339357..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.BubbleColumn.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface BubbleColumn extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'drag' property. - */ - isDrag(): boolean; - /** - * Sets the value of the 'drag' property. - */ - setDrag(drag: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Cake.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Cake.ts deleted file mode 100644 index f810b6d9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Cake.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Cake extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'bites' property. - */ - getBites(): number; - /** - * Sets the value of the 'bites' property. - */ - setBites(bites: number): void; - /** - * Gets the maximum allowed value of the 'bites' property. - */ - getMaximumBites(): number; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Campfire.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Campfire.ts deleted file mode 100644 index dd944ac4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Campfire.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Campfire extends org.bukkit.block.data.Lightable, org.bukkit.block.data.Waterlogged { - /** - * Gets the value of the 'signal_fire' property. - */ - isSignalFire(): boolean; - /** - * Sets the value of the 'signal_fire' property. - */ - setSignalFire(signalFire: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Chest.Type.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Chest.Type.ts deleted file mode 100644 index ec91972a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Chest.Type.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - namespace Chest { - // @ts-ignore - class Type { - public static SINGLE: org.bukkit.block.data.type.Chest.Type; - public static LEFT: org.bukkit.block.data.type.Chest.Type; - public static RIGHT: org.bukkit.block.data.type.Chest.Type; - public static values(): org.bukkit.block.data.type.Chest.Type[]; - public static valueOf(name: string): org.bukkit.block.data.type.Chest.Type; - } - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Chest.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Chest.ts deleted file mode 100644 index ee189ed8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Chest.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Chest extends org.bukkit.block.data.Directional, org.bukkit.block.data.Waterlogged { - /** - * Gets the value of the 'type' property. - */ - getType(): org.bukkit.block.data.type.Chest.Type; - /** - * Sets the value of the 'type' property. - */ - setType(type: org.bukkit.block.data.type.Chest.Type): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Cocoa.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Cocoa.ts deleted file mode 100644 index e582202e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Cocoa.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Cocoa extends org.bukkit.block.data.Ageable, org.bukkit.block.data.Directional { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.CommandBlock.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.CommandBlock.ts deleted file mode 100644 index 83cba77b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.CommandBlock.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface CommandBlock extends org.bukkit.block.data.Directional { - /** - * Gets the value of the 'conditional' property. - */ - isConditional(): boolean; - /** - * Sets the value of the 'conditional' property. - */ - setConditional(conditional: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Comparator.Mode.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Comparator.Mode.ts deleted file mode 100644 index 5a7decf3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Comparator.Mode.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - namespace Comparator { - // @ts-ignore - class Mode { - public static COMPARE: org.bukkit.block.data.type.Comparator.Mode; - public static SUBTRACT: org.bukkit.block.data.type.Comparator.Mode; - public static values(): org.bukkit.block.data.type.Comparator.Mode[]; - public static valueOf(name: string): org.bukkit.block.data.type.Comparator.Mode; - } - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Comparator.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Comparator.ts deleted file mode 100644 index 22b458cf..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Comparator.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Comparator extends org.bukkit.block.data.Directional, org.bukkit.block.data.Powerable { - /** - * Gets the value of the 'mode' property. - */ - getMode(): org.bukkit.block.data.type.Comparator.Mode; - /** - * Sets the value of the 'mode' property. - */ - setMode(mode: org.bukkit.block.data.type.Comparator.Mode): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.CoralWallFan.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.CoralWallFan.ts deleted file mode 100644 index 435e9be1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.CoralWallFan.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface CoralWallFan extends org.bukkit.block.data.Directional, org.bukkit.block.data.Waterlogged { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.DaylightDetector.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.DaylightDetector.ts deleted file mode 100644 index 17b83034..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.DaylightDetector.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface DaylightDetector extends org.bukkit.block.data.AnaloguePowerable { - /** - * Gets the value of the 'inverted' property. - */ - isInverted(): boolean; - /** - * Sets the value of the 'inverted' property. - */ - setInverted(inverted: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Dispenser.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Dispenser.ts deleted file mode 100644 index 1612fcf1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Dispenser.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Dispenser extends org.bukkit.block.data.Directional { - /** - * Gets the value of the 'triggered' property. - */ - isTriggered(): boolean; - /** - * Sets the value of the 'triggered' property. - */ - setTriggered(triggered: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Door.Hinge.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Door.Hinge.ts deleted file mode 100644 index 84d5f6c3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Door.Hinge.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - namespace Door { - // @ts-ignore - class Hinge { - public static LEFT: org.bukkit.block.data.type.Door.Hinge; - public static RIGHT: org.bukkit.block.data.type.Door.Hinge; - public static values(): org.bukkit.block.data.type.Door.Hinge[]; - public static valueOf(name: string): org.bukkit.block.data.type.Door.Hinge; - } - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Door.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Door.ts deleted file mode 100644 index f478e986..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Door.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Door extends org.bukkit.block.data.Bisected, org.bukkit.block.data.Directional, org.bukkit.block.data.Openable, org.bukkit.block.data.Powerable { - /** - * Gets the value of the 'hinge' property. - */ - getHinge(): org.bukkit.block.data.type.Door.Hinge; - /** - * Sets the value of the 'hinge' property. - */ - setHinge(hinge: org.bukkit.block.data.type.Door.Hinge): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.EndPortalFrame.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.EndPortalFrame.ts deleted file mode 100644 index 81921289..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.EndPortalFrame.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface EndPortalFrame extends org.bukkit.block.data.Directional { - /** - * Gets the value of the 'eye' property. - */ - hasEye(): boolean; - /** - * Sets the value of the 'eye' property. - */ - setEye(eye: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.EnderChest.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.EnderChest.ts deleted file mode 100644 index d9e40884..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.EnderChest.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface EnderChest extends org.bukkit.block.data.Directional, org.bukkit.block.data.Waterlogged { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Farmland.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Farmland.ts deleted file mode 100644 index 4b239d23..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Farmland.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Farmland extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'moisture' property. - */ - getMoisture(): number; - /** - * Sets the value of the 'moisture' property. - */ - setMoisture(moisture: number): void; - /** - * Gets the maximum allowed value of the 'moisture' property. - */ - getMaximumMoisture(): number; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Fence.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Fence.ts deleted file mode 100644 index 6e8292f7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Fence.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Fence extends org.bukkit.block.data.MultipleFacing, org.bukkit.block.data.Waterlogged { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Fire.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Fire.ts deleted file mode 100644 index e6c54f57..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Fire.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Fire extends org.bukkit.block.data.Ageable, org.bukkit.block.data.MultipleFacing { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Furnace.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Furnace.ts deleted file mode 100644 index 3dcaf6b7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Furnace.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Furnace extends org.bukkit.block.data.Directional, org.bukkit.block.data.Lightable { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Gate.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Gate.ts deleted file mode 100644 index bb9fbd84..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Gate.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Gate extends org.bukkit.block.data.Directional, org.bukkit.block.data.Openable, org.bukkit.block.data.Powerable { - /** - * Gets the value of the 'in_wall' property. - */ - isInWall(): boolean; - /** - * Sets the value of the 'in_wall' property. - */ - setInWall(inWall: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.GlassPane.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.GlassPane.ts deleted file mode 100644 index 8f7b794e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.GlassPane.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface GlassPane extends org.bukkit.block.data.MultipleFacing, org.bukkit.block.data.Waterlogged { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Hopper.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Hopper.ts deleted file mode 100644 index 4c308561..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Hopper.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Hopper extends org.bukkit.block.data.Directional { - /** - * Gets the value of the 'enabled' property. - */ - isEnabled(): boolean; - /** - * Sets the value of the 'enabled' property. - */ - setEnabled(enabled: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Jukebox.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Jukebox.ts deleted file mode 100644 index 47976147..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Jukebox.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Jukebox extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'has_record' property. - */ - hasRecord(): boolean; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Ladder.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Ladder.ts deleted file mode 100644 index a974dea9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Ladder.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Ladder extends org.bukkit.block.data.Directional, org.bukkit.block.data.Waterlogged { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Lantern.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Lantern.ts deleted file mode 100644 index 5e6cec88..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Lantern.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Lantern { - /** - * Gets the value of the 'hanging' property. - */ - isHanging(): boolean; - /** - * Sets the value of the 'hanging' property. - */ - setHanging(hanging: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Leaves.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Leaves.ts deleted file mode 100644 index 51ac3647..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Leaves.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Leaves extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'persistent' property. - */ - isPersistent(): boolean; - /** - * Sets the value of the 'persistent' property. - */ - setPersistent(persistent: boolean): void; - /** - * Gets the value of the 'distance' property. - */ - getDistance(): number; - /** - * Sets the value of the 'distance' property. - */ - setDistance(distance: number): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Lectern.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Lectern.ts deleted file mode 100644 index 48eb126c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Lectern.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Lectern extends org.bukkit.block.data.Directional, org.bukkit.block.data.Powerable { - /** - * Gets the value of the 'has_book' property. - */ - hasBook(): boolean; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.NoteBlock.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.NoteBlock.ts deleted file mode 100644 index c20d16e1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.NoteBlock.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface NoteBlock extends org.bukkit.block.data.Powerable { - /** - * Gets the value of the 'instrument' property. - */ - getInstrument(): org.bukkit.Instrument; - /** - * Sets the value of the 'instrument' property. - */ - setInstrument(instrument: org.bukkit.Instrument): void; - /** - * Gets the value of the 'note' property. - */ - getNote(): org.bukkit.Note; - /** - * Sets the value of the 'note' property. - */ - setNote(note: org.bukkit.Note): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Observer.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Observer.ts deleted file mode 100644 index d1fc78e7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Observer.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Observer extends org.bukkit.block.data.Directional, org.bukkit.block.data.Powerable { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Piston.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Piston.ts deleted file mode 100644 index 55852813..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Piston.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Piston extends org.bukkit.block.data.Directional { - /** - * Gets the value of the 'extended' property. - */ - isExtended(): boolean; - /** - * Sets the value of the 'extended' property. - */ - setExtended(extended: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.PistonHead.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.PistonHead.ts deleted file mode 100644 index d01b2769..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.PistonHead.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface PistonHead extends org.bukkit.block.data.type.TechnicalPiston { - /** - * Gets the value of the 'short' property. - */ - isShort(): boolean; - /** - * Sets the value of the 'short' property. - */ - setShort(_short: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneRail.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneRail.ts deleted file mode 100644 index 65a4963b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneRail.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface RedstoneRail extends org.bukkit.block.data.Powerable, org.bukkit.block.data.Rail { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneWallTorch.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneWallTorch.ts deleted file mode 100644 index dbccd575..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneWallTorch.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface RedstoneWallTorch extends org.bukkit.block.data.Directional, org.bukkit.block.data.Lightable { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneWire.Connection.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneWire.Connection.ts deleted file mode 100644 index c4b078d8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneWire.Connection.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - namespace RedstoneWire { - // @ts-ignore - class Connection { - public static UP: org.bukkit.block.data.type.RedstoneWire.Connection; - public static SIDE: org.bukkit.block.data.type.RedstoneWire.Connection; - public static NONE: org.bukkit.block.data.type.RedstoneWire.Connection; - public static values(): org.bukkit.block.data.type.RedstoneWire.Connection[]; - public static valueOf(name: string): org.bukkit.block.data.type.RedstoneWire.Connection; - } - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneWire.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneWire.ts deleted file mode 100644 index 9477a561..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.RedstoneWire.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface RedstoneWire extends org.bukkit.block.data.AnaloguePowerable { - /** - * Checks the type of connection on the specified face. - */ - getFace(face: org.bukkit.block.BlockFace): org.bukkit.block.data.type.RedstoneWire.Connection; - /** - * Sets the type of connection on the specified face. - */ - setFace(face: org.bukkit.block.BlockFace, connection: org.bukkit.block.data.type.RedstoneWire.Connection): void; - /** - * Gets all of this faces which may be set on this block. - */ - getAllowedFaces(): any[] /*java.util.Set*/; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Repeater.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Repeater.ts deleted file mode 100644 index 99bda3e6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Repeater.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Repeater extends org.bukkit.block.data.Directional, org.bukkit.block.data.Powerable { - /** - * Gets the value of the 'delay' property. - */ - getDelay(): number; - /** - * Sets the value of the 'delay' property. - */ - setDelay(delay: number): void; - /** - * Gets the minimum allowed value of the 'delay' property. - */ - getMinimumDelay(): number; - /** - * Gets the maximum allowed value of the 'delay' property. - */ - getMaximumDelay(): number; - /** - * Gets the value of the 'locked' property. - */ - isLocked(): boolean; - /** - * Sets the value of the 'locked' property. - */ - setLocked(locked: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Sapling.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Sapling.ts deleted file mode 100644 index 838312f7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Sapling.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Sapling extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'stage' property. - */ - getStage(): number; - /** - * Sets the value of the 'stage' property. - */ - setStage(stage: number): void; - /** - * Gets the maximum allowed value of the 'stage' property. - */ - getMaximumStage(): number; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Scaffolding.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Scaffolding.ts deleted file mode 100644 index 9e57f215..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Scaffolding.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Scaffolding extends org.bukkit.block.data.Waterlogged { - /** - * Gets the value of the 'bottom' property. - */ - isBottom(): boolean; - /** - * Sets the value of the 'bottom' property. - */ - setBottom(bottom: boolean): void; - /** - * Gets the value of the 'distance' property. - */ - getDistance(): number; - /** - * Sets the value of the 'distance' property. - */ - setDistance(distance: number): void; - /** - * Gets the maximum allowed value of the 'distance' property. - */ - getMaximumDistance(): number; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.SeaPickle.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.SeaPickle.ts deleted file mode 100644 index 7badead9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.SeaPickle.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface SeaPickle extends org.bukkit.block.data.Waterlogged { - /** - * Gets the value of the 'pickles' property. - */ - getPickles(): number; - /** - * Sets the value of the 'pickles' property. - */ - setPickles(pickles: number): void; - /** - * Gets the minimum allowed value of the 'pickles' property. - */ - getMinimumPickles(): number; - /** - * Gets the maximum allowed value of the 'pickles' property. - */ - getMaximumPickles(): number; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Sign.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Sign.ts deleted file mode 100644 index ba27875f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Sign.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Sign extends org.bukkit.block.data.Rotatable, org.bukkit.block.data.Waterlogged { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Slab.Type.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Slab.Type.ts deleted file mode 100644 index 14e6fb5d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Slab.Type.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - namespace Slab { - // @ts-ignore - class Type { - public static TOP: org.bukkit.block.data.type.Slab.Type; - public static BOTTOM: org.bukkit.block.data.type.Slab.Type; - public static DOUBLE: org.bukkit.block.data.type.Slab.Type; - public static values(): org.bukkit.block.data.type.Slab.Type[]; - public static valueOf(name: string): org.bukkit.block.data.type.Slab.Type; - } - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Slab.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Slab.ts deleted file mode 100644 index c7bb900c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Slab.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Slab extends org.bukkit.block.data.Waterlogged { - /** - * Gets the value of the 'type' property. - */ - getType(): org.bukkit.block.data.type.Slab.Type; - /** - * Sets the value of the 'type' property. - */ - setType(type: org.bukkit.block.data.type.Slab.Type): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Snow.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Snow.ts deleted file mode 100644 index 353d3cec..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Snow.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Snow extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'layers' property. - */ - getLayers(): number; - /** - * Sets the value of the 'layers' property. - */ - setLayers(layers: number): void; - /** - * Gets the minimum allowed value of the 'layers' property. - */ - getMinimumLayers(): number; - /** - * Gets the maximum allowed value of the 'layers' property. - */ - getMaximumLayers(): number; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Stairs.Shape.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Stairs.Shape.ts deleted file mode 100644 index f6b8c221..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Stairs.Shape.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - namespace Stairs { - // @ts-ignore - class Shape { - public static STRAIGHT: org.bukkit.block.data.type.Stairs.Shape; - public static INNER_LEFT: org.bukkit.block.data.type.Stairs.Shape; - public static INNER_RIGHT: org.bukkit.block.data.type.Stairs.Shape; - public static OUTER_LEFT: org.bukkit.block.data.type.Stairs.Shape; - public static OUTER_RIGHT: org.bukkit.block.data.type.Stairs.Shape; - public static values(): org.bukkit.block.data.type.Stairs.Shape[]; - public static valueOf(name: string): org.bukkit.block.data.type.Stairs.Shape; - } - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Stairs.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Stairs.ts deleted file mode 100644 index 3f725494..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Stairs.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Stairs extends org.bukkit.block.data.Bisected, org.bukkit.block.data.Directional, org.bukkit.block.data.Waterlogged { - /** - * Gets the value of the 'shape' property. - */ - getShape(): org.bukkit.block.data.type.Stairs.Shape; - /** - * Sets the value of the 'shape' property. - */ - setShape(shape: org.bukkit.block.data.type.Stairs.Shape): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.StructureBlock.Mode.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.StructureBlock.Mode.ts deleted file mode 100644 index 814d73f6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.StructureBlock.Mode.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - namespace StructureBlock { - // @ts-ignore - class Mode { - public static SAVE: org.bukkit.block.data.type.StructureBlock.Mode; - public static LOAD: org.bukkit.block.data.type.StructureBlock.Mode; - public static CORNER: org.bukkit.block.data.type.StructureBlock.Mode; - public static DATA: org.bukkit.block.data.type.StructureBlock.Mode; - public static values(): org.bukkit.block.data.type.StructureBlock.Mode[]; - public static valueOf(name: string): org.bukkit.block.data.type.StructureBlock.Mode; - } - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.StructureBlock.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.StructureBlock.ts deleted file mode 100644 index c06008ff..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.StructureBlock.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface StructureBlock extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'mode' property. - */ - getMode(): org.bukkit.block.data.type.StructureBlock.Mode; - /** - * Sets the value of the 'mode' property. - */ - setMode(mode: org.bukkit.block.data.type.StructureBlock.Mode): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Switch.Face.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Switch.Face.ts deleted file mode 100644 index d0c34406..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Switch.Face.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - namespace Switch { - // @ts-ignore - class Face { - public static FLOOR: org.bukkit.block.data.type.Switch.Face; - public static WALL: org.bukkit.block.data.type.Switch.Face; - public static CEILING: org.bukkit.block.data.type.Switch.Face; - public static values(): org.bukkit.block.data.type.Switch.Face[]; - public static valueOf(name: string): org.bukkit.block.data.type.Switch.Face; - } - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Switch.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Switch.ts deleted file mode 100644 index ce1a7b0d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Switch.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Switch extends org.bukkit.block.data.Directional, org.bukkit.block.data.Powerable { - /** - * Gets the value of the 'face' property. - */ - getFace(): org.bukkit.block.data.type.Switch.Face; - /** - * Sets the value of the 'face' property. - */ - setFace(face: org.bukkit.block.data.type.Switch.Face): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.TNT.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.TNT.ts deleted file mode 100644 index 70f6f002..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.TNT.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface TNT extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'unstable' property. - */ - isUnstable(): boolean; - /** - * Sets the value of the 'unstable' property. - */ - setUnstable(unstable: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.TechnicalPiston.Type.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.TechnicalPiston.Type.ts deleted file mode 100644 index 70a062ff..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.TechnicalPiston.Type.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - namespace TechnicalPiston { - // @ts-ignore - class Type { - public static NORMAL: org.bukkit.block.data.type.TechnicalPiston.Type; - public static STICKY: org.bukkit.block.data.type.TechnicalPiston.Type; - public static values(): org.bukkit.block.data.type.TechnicalPiston.Type[]; - public static valueOf(name: string): org.bukkit.block.data.type.TechnicalPiston.Type; - } - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.TechnicalPiston.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.TechnicalPiston.ts deleted file mode 100644 index a02c228b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.TechnicalPiston.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface TechnicalPiston extends org.bukkit.block.data.Directional { - /** - * Gets the value of the 'type' property. - */ - getType(): org.bukkit.block.data.type.TechnicalPiston.Type; - /** - * Sets the value of the 'type' property. - */ - setType(type: org.bukkit.block.data.type.TechnicalPiston.Type): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.TrapDoor.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.TrapDoor.ts deleted file mode 100644 index 957e7991..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.TrapDoor.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface TrapDoor extends org.bukkit.block.data.Bisected, org.bukkit.block.data.Directional, org.bukkit.block.data.Openable, org.bukkit.block.data.Powerable, org.bukkit.block.data.Waterlogged { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.Tripwire.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.Tripwire.ts deleted file mode 100644 index f4906e0d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.Tripwire.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface Tripwire extends org.bukkit.block.data.Attachable, org.bukkit.block.data.MultipleFacing, org.bukkit.block.data.Powerable { - /** - * Gets the value of the 'disarmed' property. - */ - isDisarmed(): boolean; - /** - * Sets the value of the 'disarmed' property. - */ - setDisarmed(disarmed: boolean): void; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.TripwireHook.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.TripwireHook.ts deleted file mode 100644 index 1c4b058d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.TripwireHook.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface TripwireHook extends org.bukkit.block.data.Attachable, org.bukkit.block.data.Directional, org.bukkit.block.data.Powerable { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.TurtleEgg.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.TurtleEgg.ts deleted file mode 100644 index b343a0a0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.TurtleEgg.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface TurtleEgg extends org.bukkit.block.data.BlockData { - /** - * Gets the value of the 'eggs' property. - */ - getEggs(): number; - /** - * Sets the value of the 'eggs' property. - */ - setEggs(eggs: number): void; - /** - * Gets the minimum allowed value of the 'eggs' property. - */ - getMinimumEggs(): number; - /** - * Gets the maximum allowed value of the 'eggs' property. - */ - getMaximumEggs(): number; - /** - * Gets the value of the 'hatch' property. - */ - getHatch(): number; - /** - * Sets the value of the 'hatch' property. - */ - setHatch(hatch: number): void; - /** - * Gets the maximum allowed value of the 'hatch' property. - */ - getMaximumHatch(): number; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.data.type.WallSign.ts b/packages/bukkit/src/typings/org.bukkit.block.data.type.WallSign.ts deleted file mode 100644 index 81cee2be..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.data.type.WallSign.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace data { - namespace type { - // @ts-ignore - interface WallSign extends org.bukkit.block.data.Directional, org.bukkit.block.data.Waterlogged { - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.structure.Mirror.ts b/packages/bukkit/src/typings/org.bukkit.block.structure.Mirror.ts deleted file mode 100644 index 4a2376c1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.structure.Mirror.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace structure { - // @ts-ignore - class Mirror { - public static NONE: org.bukkit.block.structure.Mirror; - public static LEFT_RIGHT: org.bukkit.block.structure.Mirror; - public static FRONT_BACK: org.bukkit.block.structure.Mirror; - public static values(): org.bukkit.block.structure.Mirror[]; - public static valueOf(name: string): org.bukkit.block.structure.Mirror; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.structure.StructureRotation.ts b/packages/bukkit/src/typings/org.bukkit.block.structure.StructureRotation.ts deleted file mode 100644 index 6c484841..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.structure.StructureRotation.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace structure { - // @ts-ignore - class StructureRotation { - public static NONE: org.bukkit.block.structure.StructureRotation; - public static CLOCKWISE_90: org.bukkit.block.structure.StructureRotation; - public static CLOCKWISE_180: org.bukkit.block.structure.StructureRotation; - public static COUNTERCLOCKWISE_90: org.bukkit.block.structure.StructureRotation; - public static values(): org.bukkit.block.structure.StructureRotation[]; - public static valueOf(name: string): org.bukkit.block.structure.StructureRotation; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.block.structure.UsageMode.ts b/packages/bukkit/src/typings/org.bukkit.block.structure.UsageMode.ts deleted file mode 100644 index ad7618dc..00000000 --- a/packages/bukkit/src/typings/org.bukkit.block.structure.UsageMode.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace block { - namespace structure { - // @ts-ignore - class UsageMode { - public static SAVE: org.bukkit.block.structure.UsageMode; - public static LOAD: org.bukkit.block.structure.UsageMode; - public static CORNER: org.bukkit.block.structure.UsageMode; - public static DATA: org.bukkit.block.structure.UsageMode; - public static values(): org.bukkit.block.structure.UsageMode[]; - public static valueOf(name: string): org.bukkit.block.structure.UsageMode; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.boss.BarColor.ts b/packages/bukkit/src/typings/org.bukkit.boss.BarColor.ts deleted file mode 100644 index 72b4a8b6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.boss.BarColor.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace boss { - // @ts-ignore - class BarColor { - public static PINK: org.bukkit.boss.BarColor; - public static BLUE: org.bukkit.boss.BarColor; - public static RED: org.bukkit.boss.BarColor; - public static GREEN: org.bukkit.boss.BarColor; - public static YELLOW: org.bukkit.boss.BarColor; - public static PURPLE: org.bukkit.boss.BarColor; - public static WHITE: org.bukkit.boss.BarColor; - public static values(): org.bukkit.boss.BarColor[]; - public static valueOf(name: string): org.bukkit.boss.BarColor; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.boss.BarFlag.ts b/packages/bukkit/src/typings/org.bukkit.boss.BarFlag.ts deleted file mode 100644 index bf5e21d3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.boss.BarFlag.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace boss { - // @ts-ignore - class BarFlag { - public static DARKEN_SKY: org.bukkit.boss.BarFlag; - public static PLAY_BOSS_MUSIC: org.bukkit.boss.BarFlag; - public static CREATE_FOG: org.bukkit.boss.BarFlag; - public static values(): org.bukkit.boss.BarFlag[]; - public static valueOf(name: string): org.bukkit.boss.BarFlag; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.boss.BarStyle.ts b/packages/bukkit/src/typings/org.bukkit.boss.BarStyle.ts deleted file mode 100644 index d58938c7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.boss.BarStyle.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace boss { - // @ts-ignore - class BarStyle { - public static SOLID: org.bukkit.boss.BarStyle; - public static SEGMENTED_6: org.bukkit.boss.BarStyle; - public static SEGMENTED_10: org.bukkit.boss.BarStyle; - public static SEGMENTED_12: org.bukkit.boss.BarStyle; - public static SEGMENTED_20: org.bukkit.boss.BarStyle; - public static values(): org.bukkit.boss.BarStyle[]; - public static valueOf(name: string): org.bukkit.boss.BarStyle; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.boss.BossBar.ts b/packages/bukkit/src/typings/org.bukkit.boss.BossBar.ts deleted file mode 100644 index cab6fe04..00000000 --- a/packages/bukkit/src/typings/org.bukkit.boss.BossBar.ts +++ /dev/null @@ -1,87 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace boss { - // @ts-ignore - interface BossBar { - /** - * Returns the title of this boss bar - */ - getTitle(): string; - /** - * Sets the title of this boss bar - */ - setTitle(title: string): void; - /** - * Returns the color of this boss bar - */ - getColor(): org.bukkit.boss.BarColor; - /** - * Sets the color of this boss bar. - */ - setColor(color: org.bukkit.boss.BarColor): void; - /** - * Returns the style of this boss bar - */ - getStyle(): org.bukkit.boss.BarStyle; - /** - * Sets the bar style of this boss bar - */ - setStyle(style: org.bukkit.boss.BarStyle): void; - /** - * Remove an existing flag on this boss bar - */ - removeFlag(flag: org.bukkit.boss.BarFlag): void; - /** - * Add an optional flag to this boss bar - */ - addFlag(flag: org.bukkit.boss.BarFlag): void; - /** - * Returns whether this boss bar as the passed flag set - */ - hasFlag(flag: org.bukkit.boss.BarFlag): boolean; - /** - * Sets the progress of the bar. Values should be between 0.0 (empty) and - * 1.0 (full) - */ - setProgress(progress: number): void; - /** - * Returns the progress of the bar between 0.0 and 1.0 - */ - getProgress(): number; - /** - * Adds the player to this boss bar causing it to display on their screen. - */ - addPlayer(player: org.bukkit.entity.Player): void; - /** - * Removes the player from this boss bar causing it to be removed from their - * screen. - */ - removePlayer(player: org.bukkit.entity.Player): void; - /** - * Removes all players from this boss bar - */ - removeAll(): void; - /** - * Returns all players viewing this boss bar - */ - getPlayers(): any[] /*java.util.List*/; - /** - * Set if the boss bar is displayed to attached players. - */ - setVisible(visible: boolean): void; - /** - * Return if the boss bar is displayed to attached players. - */ - isVisible(): boolean; - /** - * Shows the previously hidden boss bar to all attached players - */ - show(): void; - /** - * Hides this boss bar from all attached players - */ - hide(): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.boss.KeyedBossBar.ts b/packages/bukkit/src/typings/org.bukkit.boss.KeyedBossBar.ts deleted file mode 100644 index add6d544..00000000 --- a/packages/bukkit/src/typings/org.bukkit.boss.KeyedBossBar.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace boss { - // @ts-ignore - interface KeyedBossBar extends org.bukkit.boss.BossBar, org.bukkit.Keyed { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.BlockCommandSender.ts b/packages/bukkit/src/typings/org.bukkit.command.BlockCommandSender.ts deleted file mode 100644 index 0a6fc4b9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.BlockCommandSender.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - interface BlockCommandSender extends org.bukkit.command.CommandSender { - /** - * Returns the block this command sender belongs to - */ - getBlock(): org.bukkit.block.Block; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.Command.ts b/packages/bukkit/src/typings/org.bukkit.command.Command.ts deleted file mode 100644 index b4a904a0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.Command.ts +++ /dev/null @@ -1,131 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - abstract class Command { - constructor(name: string) - constructor(name: string, description: string, usageMessage: string, aliases: any[] /*java.util.List*/) - protected description: string; - protected usageMessage: string; - /** - * Executes the command, returning its success - */ - public abstract execute(sender: org.bukkit.command.CommandSender, commandLabel: string, args: string): boolean; - /** - * Executed on tab completion for this command, returning a list of - * options the player can tab through. - */ - public tabComplete(sender: org.bukkit.command.CommandSender, alias: string, args: string): any[] /*java.util.List*/; - /** - * Executed on tab completion for this command, returning a list of - * options the player can tab through. - */ - public tabComplete(sender: org.bukkit.command.CommandSender, alias: string, args: string, location: org.bukkit.Location): any[] /*java.util.List*/; - /** - * Returns the name of this command - */ - public getName(): string; - /** - * Sets the name of this command. - *

- * May only be used before registering the command. - * Will return true if the new name is set, and false - * if the command has already been registered. - */ - public setName(name: string): boolean; - /** - * Gets the permission required by users to be able to perform this - * command - */ - public getPermission(): string; - /** - * Sets the permission required by users to be able to perform this - * command - */ - public setPermission(permission: string): void; - /** - * Tests the given {@link CommandSender} to see if they can perform this - * command. - *

- * If they do not have permission, they will be informed that they cannot - * do this. - */ - public testPermission(target: org.bukkit.command.CommandSender): boolean; - /** - * Tests the given {@link CommandSender} to see if they can perform this - * command. - *

- * No error is sent to the sender. - */ - public testPermissionSilent(target: org.bukkit.command.CommandSender): boolean; - /** - * Returns the label for this command - */ - public getLabel(): string; - /** - * Sets the label of this command. - *

- * May only be used before registering the command. - * Will return true if the new name is set, and false - * if the command has already been registered. - */ - public setLabel(name: string): boolean; - /** - * Registers this command to a CommandMap. - * Once called it only allows changes the registered CommandMap - */ - public register(commandMap: org.bukkit.command.CommandMap): boolean; - /** - * Unregisters this command from the passed CommandMap applying any - * outstanding changes - */ - public unregister(commandMap: org.bukkit.command.CommandMap): boolean; - /** - * Returns the current registered state of this command - */ - public isRegistered(): boolean; - /** - * Returns a list of active aliases of this command - */ - public getAliases(): any[] /*java.util.List*/; - /** - * Returns a message to be displayed on a failed permission check for this - * command - */ - public getPermissionMessage(): string; - /** - * Gets a brief description of this command - */ - public getDescription(): string; - /** - * Gets an example usage of this command - */ - public getUsage(): string; - /** - * Sets the list of aliases to request on registration for this command. - * This is not effective outside of defining aliases in the {@link - * PluginDescriptionFile#getCommands()} (under the - * `aliases' node) is equivalent to this method. - */ - public setAliases(aliases: any[] /*java.util.List*/): org.bukkit.command.Command; - /** - * Sets a brief description of this command. Defining a description in the - * {@link PluginDescriptionFile#getCommands()} (under the - * `description' node) is equivalent to this method. - */ - public setDescription(description: string): org.bukkit.command.Command; - /** - * Sets the message sent when a permission check fails - */ - public setPermissionMessage(permissionMessage: string): org.bukkit.command.Command; - /** - * Sets the example usage of this command - */ - public setUsage(usage: string): org.bukkit.command.Command; - public static broadcastCommandMessage(source: org.bukkit.command.CommandSender, message: string): void; - public static broadcastCommandMessage(source: org.bukkit.command.CommandSender, message: string, sendToSource: boolean): void; - public toString(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.CommandException.ts b/packages/bukkit/src/typings/org.bukkit.command.CommandException.ts deleted file mode 100644 index 4f0c718e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.CommandException.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - class CommandException { - /** - * Creates a new instance of CommandException without detail - * message. - */ - constructor() - /** - * Constructs an instance of CommandException with the - * specified detail message. - */ - constructor(msg: string) - constructor(msg: string, cause: any) - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.CommandExecutor.ts b/packages/bukkit/src/typings/org.bukkit.command.CommandExecutor.ts deleted file mode 100644 index f28f5e88..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.CommandExecutor.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - interface CommandExecutor { - /** - * Executes the given command, returning its success. - *
- * If false is returned, then the "usage" plugin.yml entry for this command - * (if defined) will be sent to the player. - */ - onCommand(sender: org.bukkit.command.CommandSender, command: org.bukkit.command.Command, label: string, args: string): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.CommandMap.ts b/packages/bukkit/src/typings/org.bukkit.command.CommandMap.ts deleted file mode 100644 index 5a43fda6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.CommandMap.ts +++ /dev/null @@ -1,71 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - interface CommandMap { - /** - * Registers all the commands belonging to a certain plugin. - *

- * Caller can use:- - *

    - *
  • command.getName() to determine the label registered for this - * command - *
  • command.getAliases() to determine the aliases which where - * registered - *
- */ - registerAll(fallbackPrefix: string, commands: any[] /*java.util.List*/): void; - /** - * Registers a command. Returns true on success; false if name is already - * taken and fallback had to be used. - *

- * Caller can use:- - *

    - *
  • command.getName() to determine the label registered for this - * command - *
  • command.getAliases() to determine the aliases which where - * registered - *
- */ - register(label: string, fallbackPrefix: string, command: org.bukkit.command.Command): boolean; - /** - * Registers a command. Returns true on success; false if name is already - * taken and fallback had to be used. - *

- * Caller can use:- - *

    - *
  • command.getName() to determine the label registered for this - * command - *
  • command.getAliases() to determine the aliases which where - * registered - *
- */ - register(fallbackPrefix: string, command: org.bukkit.command.Command): boolean; - /** - * Looks for the requested command and executes it if found. - */ - dispatch(sender: org.bukkit.command.CommandSender, cmdLine: string): boolean; - /** - * Clears all registered commands. - */ - clearCommands(): void; - /** - * Gets the command registered to the specified name - */ - getCommand(name: string): org.bukkit.command.Command; - /** - * Looks for the requested command and executes an appropriate - * tab-completer if found. This method will also tab-complete partial - * commands. - */ - tabComplete(sender: org.bukkit.command.CommandSender, cmdLine: string): any[] /*java.util.List*/; - /** - * Looks for the requested command and executes an appropriate - * tab-completer if found. This method will also tab-complete partial - * commands. - */ - tabComplete(sender: org.bukkit.command.CommandSender, cmdLine: string, location: org.bukkit.Location): any[] /*java.util.List*/; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.CommandSender.ts b/packages/bukkit/src/typings/org.bukkit.command.CommandSender.ts deleted file mode 100644 index 08f82a3a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.CommandSender.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - interface CommandSender extends org.bukkit.permissions.Permissible { - /** - * Sends this sender a message - */ - sendMessage(message: string): void; - /** - * Sends this sender multiple messages - */ - sendMessage(messages: string): void; - /** - * Returns the server instance that this command is running on - */ - getServer(): org.bukkit.Server; - /** - * Gets the name of this command sender - */ - getName(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.ConsoleCommandSender.ts b/packages/bukkit/src/typings/org.bukkit.command.ConsoleCommandSender.ts deleted file mode 100644 index 8a049adc..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.ConsoleCommandSender.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - interface ConsoleCommandSender extends org.bukkit.command.CommandSender, org.bukkit.conversations.Conversable { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.FormattedCommandAlias.ts b/packages/bukkit/src/typings/org.bukkit.command.FormattedCommandAlias.ts deleted file mode 100644 index 77a37444..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.FormattedCommandAlias.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - class FormattedCommandAlias extends org.bukkit.command.Command { - constructor(alias: string, formatStrings: string) - public execute(sender: org.bukkit.command.CommandSender, commandLabel: string, args: string): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.MultipleCommandAlias.ts b/packages/bukkit/src/typings/org.bukkit.command.MultipleCommandAlias.ts deleted file mode 100644 index 2f009b63..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.MultipleCommandAlias.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - class MultipleCommandAlias extends org.bukkit.command.Command { - constructor(name: string, commands: org.bukkit.command.Command) - /** - * Gets the commands associated with the multi-command alias. - */ - public getCommands(): org.bukkit.command.Command[]; - public execute(sender: org.bukkit.command.CommandSender, commandLabel: string, args: string): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.PluginCommand.ts b/packages/bukkit/src/typings/org.bukkit.command.PluginCommand.ts deleted file mode 100644 index f8aaead8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.PluginCommand.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - class PluginCommand extends org.bukkit.command.Command implements org.bukkit.command.PluginIdentifiableCommand { - constructor(name: string, owner: org.bukkit.plugin.Plugin) - /** - * Executes the command, returning its success - */ - public execute(sender: org.bukkit.command.CommandSender, commandLabel: string, args: string): boolean; - /** - * Sets the {@link CommandExecutor} to run when parsing this command - */ - public setExecutor(executor: org.bukkit.command.CommandExecutor): void; - /** - * Gets the {@link CommandExecutor} associated with this command - */ - public getExecutor(): org.bukkit.command.CommandExecutor; - /** - * Sets the {@link TabCompleter} to run when tab-completing this command. - *

- * If no TabCompleter is specified, and the command's executor implements - * TabCompleter, then the executor will be used for tab completion. - */ - public setTabCompleter(completer: org.bukkit.command.TabCompleter): void; - /** - * Gets the {@link TabCompleter} associated with this command. - */ - public getTabCompleter(): org.bukkit.command.TabCompleter; - /** - * Gets the owner of this PluginCommand - */ - public getPlugin(): org.bukkit.plugin.Plugin; - /** - * {@inheritDoc} - *

- * Delegates to the tab completer if present. - *

- * If it is not present or returns null, will delegate to the current - * command executor if it implements {@link TabCompleter}. If a non-null - * list has not been found, will default to standard player name - * completion in {@link - * Command#tabComplete(CommandSender, String, String[])}. - *

- * This method does not consider permissions. - */ - public tabComplete(sender: org.bukkit.command.CommandSender, alias: string, args: string): any[] /*java.util.List*/; - public toString(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.PluginCommandYamlParser.ts b/packages/bukkit/src/typings/org.bukkit.command.PluginCommandYamlParser.ts deleted file mode 100644 index 4af2f3bd..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.PluginCommandYamlParser.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - class PluginCommandYamlParser { - constructor() - public static parse(plugin: org.bukkit.plugin.Plugin): any[] /*java.util.List*/; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.PluginIdentifiableCommand.ts b/packages/bukkit/src/typings/org.bukkit.command.PluginIdentifiableCommand.ts deleted file mode 100644 index e3fe337d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.PluginIdentifiableCommand.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - interface PluginIdentifiableCommand { - /** - * Gets the owner of this PluginIdentifiableCommand. - */ - getPlugin(): org.bukkit.plugin.Plugin; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.ProxiedCommandSender.ts b/packages/bukkit/src/typings/org.bukkit.command.ProxiedCommandSender.ts deleted file mode 100644 index 47ac16af..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.ProxiedCommandSender.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - interface ProxiedCommandSender extends org.bukkit.command.CommandSender { - /** - * Returns the CommandSender which triggered this proxied command - */ - getCaller(): org.bukkit.command.CommandSender; - /** - * Returns the CommandSender which is being used to call the command - */ - getCallee(): org.bukkit.command.CommandSender; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.RemoteConsoleCommandSender.ts b/packages/bukkit/src/typings/org.bukkit.command.RemoteConsoleCommandSender.ts deleted file mode 100644 index 82d50bc4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.RemoteConsoleCommandSender.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - interface RemoteConsoleCommandSender extends org.bukkit.command.CommandSender { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.SimpleCommandMap.ts b/packages/bukkit/src/typings/org.bukkit.command.SimpleCommandMap.ts deleted file mode 100644 index 9f72782a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.SimpleCommandMap.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - class SimpleCommandMap implements org.bukkit.command.CommandMap { - constructor(server: org.bukkit.Server) - protected knownCommands: Map /*java.util.Map*/; - public setFallbackCommands(): void; - /** - * {@inheritDoc} - */ - public registerAll(fallbackPrefix: string, commands: any[] /*java.util.List*/): void; - /** - * {@inheritDoc} - */ - public register(fallbackPrefix: string, command: org.bukkit.command.Command): boolean; - /** - * {@inheritDoc} - */ - public register(label: string, fallbackPrefix: string, command: org.bukkit.command.Command): boolean; - /** - * {@inheritDoc} - */ - public dispatch(sender: org.bukkit.command.CommandSender, commandLine: string): boolean; - public clearCommands(): void; - public getCommand(name: string): org.bukkit.command.Command; - public tabComplete(sender: org.bukkit.command.CommandSender, cmdLine: string): any[] /*java.util.List*/; - public tabComplete(sender: org.bukkit.command.CommandSender, cmdLine: string, location: org.bukkit.Location): any[] /*java.util.List*/; - public getCommands(): any[] /*java.util.Collection*/; - public registerServerAliases(): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.TabCompleter.ts b/packages/bukkit/src/typings/org.bukkit.command.TabCompleter.ts deleted file mode 100644 index a5ea18bb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.TabCompleter.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - interface TabCompleter { - /** - * Requests a list of possible completions for a command argument. - */ - onTabComplete(sender: org.bukkit.command.CommandSender, command: org.bukkit.command.Command, alias: string, args: string): any[] /*java.util.List*/; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.TabExecutor.ts b/packages/bukkit/src/typings/org.bukkit.command.TabExecutor.ts deleted file mode 100644 index 6d4b86a0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.TabExecutor.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - // @ts-ignore - interface TabExecutor extends org.bukkit.command.TabCompleter, org.bukkit.command.CommandExecutor { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.defaults.BukkitCommand.ts b/packages/bukkit/src/typings/org.bukkit.command.defaults.BukkitCommand.ts deleted file mode 100644 index a0b322de..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.defaults.BukkitCommand.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - namespace defaults { - // @ts-ignore - abstract class BukkitCommand extends org.bukkit.command.Command { - constructor(name: string) - constructor(name: string, description: string, usageMessage: string, aliases: any[] /*java.util.List*/) - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.defaults.HelpCommand.ts b/packages/bukkit/src/typings/org.bukkit.command.defaults.HelpCommand.ts deleted file mode 100644 index a0e6aa6e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.defaults.HelpCommand.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - namespace defaults { - // @ts-ignore - class HelpCommand extends org.bukkit.command.defaults.BukkitCommand { - constructor() - public execute(sender: org.bukkit.command.CommandSender, currentAlias: string, args: string): boolean; - public tabComplete(sender: org.bukkit.command.CommandSender, alias: string, args: string): any[] /*java.util.List*/; - protected findPossibleMatches(searchString: string): org.bukkit.help.HelpTopic; - /** - * Computes the Dameraur-Levenshtein Distance between two strings. Adapted - * from the algorithm at Wikipedia: Damerau–Levenshtein distance - */ - protected static damerauLevenshteinDistance(s1: string, s2: string): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.defaults.PluginsCommand.ts b/packages/bukkit/src/typings/org.bukkit.command.defaults.PluginsCommand.ts deleted file mode 100644 index 9e27e487..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.defaults.PluginsCommand.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - namespace defaults { - // @ts-ignore - class PluginsCommand extends org.bukkit.command.defaults.BukkitCommand { - constructor(name: string) - public execute(sender: org.bukkit.command.CommandSender, currentAlias: string, args: string): boolean; - public tabComplete(sender: org.bukkit.command.CommandSender, alias: string, args: string): any[] /*java.util.List*/; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.defaults.ReloadCommand.ts b/packages/bukkit/src/typings/org.bukkit.command.defaults.ReloadCommand.ts deleted file mode 100644 index 7337fc0a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.defaults.ReloadCommand.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - namespace defaults { - // @ts-ignore - class ReloadCommand extends org.bukkit.command.defaults.BukkitCommand { - constructor(name: string) - public execute(sender: org.bukkit.command.CommandSender, currentAlias: string, args: string): boolean; - public tabComplete(sender: org.bukkit.command.CommandSender, alias: string, args: string): any[] /*java.util.List*/; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.defaults.TimingsCommand.ts b/packages/bukkit/src/typings/org.bukkit.command.defaults.TimingsCommand.ts deleted file mode 100644 index 392b04dc..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.defaults.TimingsCommand.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - namespace defaults { - // @ts-ignore - class TimingsCommand extends org.bukkit.command.defaults.BukkitCommand { - constructor(name: string) - public execute(sender: org.bukkit.command.CommandSender, currentAlias: string, args: string): boolean; - public tabComplete(sender: org.bukkit.command.CommandSender, alias: string, args: string): any[] /*java.util.List*/; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.command.defaults.VersionCommand.ts b/packages/bukkit/src/typings/org.bukkit.command.defaults.VersionCommand.ts deleted file mode 100644 index 17e84c05..00000000 --- a/packages/bukkit/src/typings/org.bukkit.command.defaults.VersionCommand.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace command { - namespace defaults { - // @ts-ignore - class VersionCommand extends org.bukkit.command.defaults.BukkitCommand { - constructor(name: string) - public execute(sender: org.bukkit.command.CommandSender, currentAlias: string, args: string): boolean; - public tabComplete(sender: org.bukkit.command.CommandSender, alias: string, args: string): any[] /*java.util.List*/; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.Configuration.ts b/packages/bukkit/src/typings/org.bukkit.configuration.Configuration.ts deleted file mode 100644 index 034a7355..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.Configuration.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - // @ts-ignore - interface Configuration extends org.bukkit.configuration.ConfigurationSection { - /** - * Sets the default value of the given path as provided. - *

- * If no source {@link Configuration} was provided as a default - * collection, then a new {@link MemoryConfiguration} will be created to - * hold the new default value. - *

- * If value is null, the value will be removed from the default - * Configuration source. - */ - addDefault(path: string, value: any): void; - /** - * Sets the default values of the given paths as provided. - *

- * If no source {@link Configuration} was provided as a default - * collection, then a new {@link MemoryConfiguration} will be created to - * hold the new default values. - */ - addDefaults(defaults: Map /*java.util.Map*/): void; - /** - * Sets the default values of the given paths as provided. - *

- * If no source {@link Configuration} was provided as a default - * collection, then a new {@link MemoryConfiguration} will be created to - * hold the new default value. - *

- * This method will not hold a reference to the specified Configuration, - * nor will it automatically update if that Configuration ever changes. If - * you require this, you should set the default source with {@link - * #setDefaults(org.bukkit.configuration.Configuration)}. - */ - addDefaults(defaults: org.bukkit.configuration.Configuration): void; - /** - * Sets the source of all default values for this {@link Configuration}. - *

- * If a previous source was set, or previous default values were defined, - * then they will not be copied to the new source. - */ - setDefaults(defaults: org.bukkit.configuration.Configuration): void; - /** - * Gets the source {@link Configuration} for this configuration. - *

- * If no configuration source was set, but default values were added, then - * a {@link MemoryConfiguration} will be returned. If no source was set - * and no defaults were set, then this method will return null. - */ - getDefaults(): org.bukkit.configuration.Configuration; - /** - * Gets the {@link ConfigurationOptions} for this {@link Configuration}. - *

- * All setters through this method are chainable. - */ - options(): org.bukkit.configuration.ConfigurationOptions; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.ConfigurationOptions.ts b/packages/bukkit/src/typings/org.bukkit.configuration.ConfigurationOptions.ts deleted file mode 100644 index dea11a5a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.ConfigurationOptions.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - // @ts-ignore - class ConfigurationOptions { - constructor(configuration: org.bukkit.configuration.Configuration) - /** - * Returns the {@link Configuration} that this object is responsible for. - */ - public configuration(): org.bukkit.configuration.Configuration; - /** - * Gets the char that will be used to separate {@link - * ConfigurationSection}s - *

- * This value does not affect how the {@link Configuration} is stored, - * only in how you access the data. The default value is '.'. - */ - public pathSeparator(): string; - /** - * Sets the char that will be used to separate {@link - * ConfigurationSection}s - *

- * This value does not affect how the {@link Configuration} is stored, - * only in how you access the data. The default value is '.'. - */ - public pathSeparator(value: string): org.bukkit.configuration.ConfigurationOptions; - /** - * Checks if the {@link Configuration} should copy values from its default - * {@link Configuration} directly. - *

- * If this is true, all values in the default Configuration will be - * directly copied, making it impossible to distinguish between values - * that were set and values that are provided by default. As a result, - * {@link ConfigurationSection#contains(java.lang.String)} will always - * return the same value as {@link - * ConfigurationSection#isSet(java.lang.String)}. The default value is - * false. - */ - public copyDefaults(): boolean; - /** - * Sets if the {@link Configuration} should copy values from its default - * {@link Configuration} directly. - *

- * If this is true, all values in the default Configuration will be - * directly copied, making it impossible to distinguish between values - * that were set and values that are provided by default. As a result, - * {@link ConfigurationSection#contains(java.lang.String)} will always - * return the same value as {@link - * ConfigurationSection#isSet(java.lang.String)}. The default value is - * false. - */ - public copyDefaults(value: boolean): org.bukkit.configuration.ConfigurationOptions; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.ConfigurationSection.ts b/packages/bukkit/src/typings/org.bukkit.configuration.ConfigurationSection.ts deleted file mode 100644 index add6e6c4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.ConfigurationSection.ts +++ /dev/null @@ -1,602 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - // @ts-ignore - interface ConfigurationSection { - /** - * Gets a set containing all keys in this section. - *

- * If deep is set to true, then this will contain all the keys within any - * child {@link ConfigurationSection}s (and their children, etc). These - * will be in a valid path notation for you to use. - *

- * If deep is set to false, then this will contain only the keys of any - * direct children, and not their own children. - */ - getKeys(deep: boolean): any[] /*java.util.Set*/; - /** - * Gets a Map containing all keys and their values for this section. - *

- * If deep is set to true, then this will contain all the keys and values - * within any child {@link ConfigurationSection}s (and their children, - * etc). These keys will be in a valid path notation for you to use. - *

- * If deep is set to false, then this will contain only the keys and - * values of any direct children, and not their own children. - */ - getValues(deep: boolean): Map /*java.util.Map*/; - /** - * Checks if this {@link ConfigurationSection} contains the given path. - *

- * If the value for the requested path does not exist but a default value - * has been specified, this will return true. - */ - contains(path: string): boolean; - /** - * Checks if this {@link ConfigurationSection} contains the given path. - *

- * If the value for the requested path does not exist, the boolean parameter - * of true has been specified, a default value for the path exists, this - * will return true. - *

- * If a boolean parameter of false has been specified, true will only be - * returned if there is a set value for the specified path. - */ - contains(path: string, ignoreDefault: boolean): boolean; - /** - * Checks if this {@link ConfigurationSection} has a value set for the - * given path. - *

- * If the value for the requested path does not exist but a default value - * has been specified, this will still return false. - */ - isSet(path: string): boolean; - /** - * Gets the path of this {@link ConfigurationSection} from its root {@link - * Configuration} - *

- * For any {@link Configuration} themselves, this will return an empty - * string. - *

- * If the section is no longer contained within its root for any reason, - * such as being replaced with a different value, this may return null. - *

- * To retrieve the single name of this section, that is, the final part of - * the path returned by this method, you may use {@link #getName()}. - */ - getCurrentPath(): string; - /** - * Gets the name of this individual {@link ConfigurationSection}, in the - * path. - *

- * This will always be the final part of {@link #getCurrentPath()}, unless - * the section is orphaned. - */ - getName(): string; - /** - * Gets the root {@link Configuration} that contains this {@link - * ConfigurationSection} - *

- * For any {@link Configuration} themselves, this will return its own - * object. - *

- * If the section is no longer contained within its root for any reason, - * such as being replaced with a different value, this may return null. - */ - getRoot(): org.bukkit.configuration.Configuration; - /** - * Gets the parent {@link ConfigurationSection} that directly contains - * this {@link ConfigurationSection}. - *

- * For any {@link Configuration} themselves, this will return null. - *

- * If the section is no longer contained within its parent for any reason, - * such as being replaced with a different value, this may return null. - */ - getParent(): org.bukkit.configuration.ConfigurationSection; - /** - * Gets the requested Object by path. - *

- * If the Object does not exist but a default value has been specified, - * this will return the default value. If the Object does not exist and no - * default value was specified, this will return null. - */ - get(path: string): any; - /** - * Gets the requested Object by path, returning a default value if not - * found. - *

- * If the Object does not exist then the specified default value will - * returned regardless of if a default has been identified in the root - * {@link Configuration}. - */ - get(path: string, def: any): any; - /** - * Sets the specified path to the given value. - *

- * If value is null, the entry will be removed. Any existing entry will be - * replaced, regardless of what the new value is. - *

- * Some implementations may have limitations on what you may store. See - * their individual javadocs for details. No implementations should allow - * you to store {@link Configuration}s or {@link ConfigurationSection}s, - * please use {@link #createSection(java.lang.String)} for that. - */ - set(path: string, value: any): void; - /** - * Creates an empty {@link ConfigurationSection} at the specified path. - *

- * Any value that was previously set at this path will be overwritten. If - * the previous value was itself a {@link ConfigurationSection}, it will - * be orphaned. - */ - createSection(path: string): org.bukkit.configuration.ConfigurationSection; - /** - * Creates a {@link ConfigurationSection} at the specified path, with - * specified values. - *

- * Any value that was previously set at this path will be overwritten. If - * the previous value was itself a {@link ConfigurationSection}, it will - * be orphaned. - */ - createSection(path: string, map: Map /*java.util.Map*/): org.bukkit.configuration.ConfigurationSection; - /** - * Gets the requested String by path. - *

- * If the String does not exist but a default value has been specified, - * this will return the default value. If the String does not exist and no - * default value was specified, this will return null. - */ - getString(path: string): string; - /** - * Gets the requested String by path, returning a default value if not - * found. - *

- * If the String does not exist then the specified default value will - * returned regardless of if a default has been identified in the root - * {@link Configuration}. - */ - getString(path: string, def: string): string; - /** - * Checks if the specified path is a String. - *

- * If the path exists but is not a String, this will return false. If the - * path does not exist, this will return false. If the path does not exist - * but a default value has been specified, this will check if that default - * value is a String and return appropriately. - */ - isString(path: string): boolean; - /** - * Gets the requested int by path. - *

- * If the int does not exist but a default value has been specified, this - * will return the default value. If the int does not exist and no default - * value was specified, this will return 0. - */ - getInt(path: string): number; - /** - * Gets the requested int by path, returning a default value if not found. - *

- * If the int does not exist then the specified default value will - * returned regardless of if a default has been identified in the root - * {@link Configuration}. - */ - getInt(path: string, def: number): number; - /** - * Checks if the specified path is an int. - *

- * If the path exists but is not a int, this will return false. If the - * path does not exist, this will return false. If the path does not exist - * but a default value has been specified, this will check if that default - * value is a int and return appropriately. - */ - isInt(path: string): boolean; - /** - * Gets the requested boolean by path. - *

- * If the boolean does not exist but a default value has been specified, - * this will return the default value. If the boolean does not exist and - * no default value was specified, this will return false. - */ - getBoolean(path: string): boolean; - /** - * Gets the requested boolean by path, returning a default value if not - * found. - *

- * If the boolean does not exist then the specified default value will - * returned regardless of if a default has been identified in the root - * {@link Configuration}. - */ - getBoolean(path: string, def: boolean): boolean; - /** - * Checks if the specified path is a boolean. - *

- * If the path exists but is not a boolean, this will return false. If the - * path does not exist, this will return false. If the path does not exist - * but a default value has been specified, this will check if that default - * value is a boolean and return appropriately. - */ - isBoolean(path: string): boolean; - /** - * Gets the requested double by path. - *

- * If the double does not exist but a default value has been specified, - * this will return the default value. If the double does not exist and no - * default value was specified, this will return 0. - */ - getDouble(path: string): number; - /** - * Gets the requested double by path, returning a default value if not - * found. - *

- * If the double does not exist then the specified default value will - * returned regardless of if a default has been identified in the root - * {@link Configuration}. - */ - getDouble(path: string, def: number): number; - /** - * Checks if the specified path is a double. - *

- * If the path exists but is not a double, this will return false. If the - * path does not exist, this will return false. If the path does not exist - * but a default value has been specified, this will check if that default - * value is a double and return appropriately. - */ - isDouble(path: string): boolean; - /** - * Gets the requested long by path. - *

- * If the long does not exist but a default value has been specified, this - * will return the default value. If the long does not exist and no - * default value was specified, this will return 0. - */ - getLong(path: string): number; - /** - * Gets the requested long by path, returning a default value if not - * found. - *

- * If the long does not exist then the specified default value will - * returned regardless of if a default has been identified in the root - * {@link Configuration}. - */ - getLong(path: string, def: number): number; - /** - * Checks if the specified path is a long. - *

- * If the path exists but is not a long, this will return false. If the - * path does not exist, this will return false. If the path does not exist - * but a default value has been specified, this will check if that default - * value is a long and return appropriately. - */ - isLong(path: string): boolean; - /** - * Gets the requested List by path. - *

- * If the List does not exist but a default value has been specified, this - * will return the default value. If the List does not exist and no - * default value was specified, this will return null. - */ - getList(path: string): any[] /*java.util.List*/; - /** - * Gets the requested List by path, returning a default value if not - * found. - *

- * If the List does not exist then the specified default value will - * returned regardless of if a default has been identified in the root - * {@link Configuration}. - */ - getList(path: string, def: any[] /*java.util.List*/): any[] /*java.util.List*/; - /** - * Checks if the specified path is a List. - *

- * If the path exists but is not a List, this will return false. If the - * path does not exist, this will return false. If the path does not exist - * but a default value has been specified, this will check if that default - * value is a List and return appropriately. - */ - isList(path: string): boolean; - /** - * Gets the requested List of String by path. - *

- * If the List does not exist but a default value has been specified, this - * will return the default value. If the List does not exist and no - * default value was specified, this will return an empty List. - *

- * This method will attempt to cast any values into a String if possible, - * but may miss any values out if they are not compatible. - */ - getStringList(path: string): any[] /*java.util.List*/; - /** - * Gets the requested List of Integer by path. - *

- * If the List does not exist but a default value has been specified, this - * will return the default value. If the List does not exist and no - * default value was specified, this will return an empty List. - *

- * This method will attempt to cast any values into a Integer if possible, - * but may miss any values out if they are not compatible. - */ - getIntegerList(path: string): any[] /*java.util.List*/; - /** - * Gets the requested List of Boolean by path. - *

- * If the List does not exist but a default value has been specified, this - * will return the default value. If the List does not exist and no - * default value was specified, this will return an empty List. - *

- * This method will attempt to cast any values into a Boolean if possible, - * but may miss any values out if they are not compatible. - */ - getBooleanList(path: string): any[] /*java.util.List*/; - /** - * Gets the requested List of Double by path. - *

- * If the List does not exist but a default value has been specified, this - * will return the default value. If the List does not exist and no - * default value was specified, this will return an empty List. - *

- * This method will attempt to cast any values into a Double if possible, - * but may miss any values out if they are not compatible. - */ - getDoubleList(path: string): any[] /*java.util.List*/; - /** - * Gets the requested List of Float by path. - *

- * If the List does not exist but a default value has been specified, this - * will return the default value. If the List does not exist and no - * default value was specified, this will return an empty List. - *

- * This method will attempt to cast any values into a Float if possible, - * but may miss any values out if they are not compatible. - */ - getFloatList(path: string): any[] /*java.util.List*/; - /** - * Gets the requested List of Long by path. - *

- * If the List does not exist but a default value has been specified, this - * will return the default value. If the List does not exist and no - * default value was specified, this will return an empty List. - *

- * This method will attempt to cast any values into a Long if possible, - * but may miss any values out if they are not compatible. - */ - getLongList(path: string): any[] /*java.util.List*/; - /** - * Gets the requested List of Byte by path. - *

- * If the List does not exist but a default value has been specified, this - * will return the default value. If the List does not exist and no - * default value was specified, this will return an empty List. - *

- * This method will attempt to cast any values into a Byte if possible, - * but may miss any values out if they are not compatible. - */ - getByteList(path: string): any[] /*java.util.List*/; - /** - * Gets the requested List of Character by path. - *

- * If the List does not exist but a default value has been specified, this - * will return the default value. If the List does not exist and no - * default value was specified, this will return an empty List. - *

- * This method will attempt to cast any values into a Character if - * possible, but may miss any values out if they are not compatible. - */ - getCharacterList(path: string): any[] /*java.util.List*/; - /** - * Gets the requested List of Short by path. - *

- * If the List does not exist but a default value has been specified, this - * will return the default value. If the List does not exist and no - * default value was specified, this will return an empty List. - *

- * This method will attempt to cast any values into a Short if possible, - * but may miss any values out if they are not compatible. - */ - getShortList(path: string): any[] /*java.util.List*/; - /** - * Gets the requested List of Maps by path. - *

- * If the List does not exist but a default value has been specified, this - * will return the default value. If the List does not exist and no - * default value was specified, this will return an empty List. - *

- * This method will attempt to cast any values into a Map if possible, but - * may miss any values out if they are not compatible. - */ - getMapList(path: string): any[] /*java.util.List*/; - /** - * Gets the requested object at the given path. - * If the Object does not exist but a default value has been specified, this - * will return the default value. If the Object does not exist and no - * default value was specified, this will return null. - * Note: For example #getObject(path, String.class) is not - * equivalent to {@link #getString(String) #getString(path)} because - * {@link #getString(String) #getString(path)} converts internally all - * Objects to Strings. However, #getObject(path, Boolean.class) is - * equivalent to {@link #getBoolean(String) #getBoolean(path)} for example. - */ - getObject(path: string, clazz: any): any; - /** - * Gets the requested object at the given path, returning a default value if - * not found - * If the Object does not exist then the specified default value will - * returned regardless of if a default has been identified in the root - * {@link Configuration}. - * Note: For example #getObject(path, String.class, def) is - * not equivalent to - * {@link #getString(String, String) #getString(path, def)} because - * {@link #getString(String, String) #getString(path, def)} converts - * internally all Objects to Strings. However, #getObject(path, - * Boolean.class, def) is equivalent to {@link #getBoolean(String, boolean) #getBoolean(path, - * def)} for example. - */ - getObject(path: string, clazz: any, def: any): any; - /** - * Gets the requested {@link ConfigurationSerializable} object at the given - * path. - * If the Object does not exist but a default value has been specified, this - * will return the default value. If the Object does not exist and no - * default value was specified, this will return null. - */ - getSerializable(path: string, clazz: any): org.bukkit.configuration.serialization.ConfigurationSerializable; - /** - * Gets the requested {@link ConfigurationSerializable} object at the given - * path, returning a default value if not found - * If the Object does not exist then the specified default value will - * returned regardless of if a default has been identified in the root - * {@link Configuration}. - */ - getSerializable(path: string, clazz: any, def: org.bukkit.configuration.serialization.ConfigurationSerializable): org.bukkit.configuration.serialization.ConfigurationSerializable; - /** - * Gets the requested Vector by path. - *

- * If the Vector does not exist but a default value has been specified, - * this will return the default value. If the Vector does not exist and no - * default value was specified, this will return null. - */ - getVector(path: string): org.bukkit.util.Vector; - /** - * Gets the requested {@link Vector} by path, returning a default value if - * not found. - *

- * If the Vector does not exist then the specified default value will - * returned regardless of if a default has been identified in the root - * {@link Configuration}. - */ - getVector(path: string, def: org.bukkit.util.Vector): org.bukkit.util.Vector; - /** - * Checks if the specified path is a Vector. - *

- * If the path exists but is not a Vector, this will return false. If the - * path does not exist, this will return false. If the path does not exist - * but a default value has been specified, this will check if that default - * value is a Vector and return appropriately. - */ - isVector(path: string): boolean; - /** - * Gets the requested OfflinePlayer by path. - *

- * If the OfflinePlayer does not exist but a default value has been - * specified, this will return the default value. If the OfflinePlayer - * does not exist and no default value was specified, this will return - * null. - */ - getOfflinePlayer(path: string): org.bukkit.OfflinePlayer; - /** - * Gets the requested {@link OfflinePlayer} by path, returning a default - * value if not found. - *

- * If the OfflinePlayer does not exist then the specified default value - * will returned regardless of if a default has been identified in the - * root {@link Configuration}. - */ - getOfflinePlayer(path: string, def: org.bukkit.OfflinePlayer): org.bukkit.OfflinePlayer; - /** - * Checks if the specified path is an OfflinePlayer. - *

- * If the path exists but is not a OfflinePlayer, this will return false. - * If the path does not exist, this will return false. If the path does - * not exist but a default value has been specified, this will check if - * that default value is a OfflinePlayer and return appropriately. - */ - isOfflinePlayer(path: string): boolean; - /** - * Gets the requested ItemStack by path. - *

- * If the ItemStack does not exist but a default value has been specified, - * this will return the default value. If the ItemStack does not exist and - * no default value was specified, this will return null. - */ - getItemStack(path: string): org.bukkit.inventory.ItemStack; - /** - * Gets the requested {@link ItemStack} by path, returning a default value - * if not found. - *

- * If the ItemStack does not exist then the specified default value will - * returned regardless of if a default has been identified in the root - * {@link Configuration}. - */ - getItemStack(path: string, def: org.bukkit.inventory.ItemStack): org.bukkit.inventory.ItemStack; - /** - * Checks if the specified path is an ItemStack. - *

- * If the path exists but is not a ItemStack, this will return false. If - * the path does not exist, this will return false. If the path does not - * exist but a default value has been specified, this will check if that - * default value is a ItemStack and return appropriately. - */ - isItemStack(path: string): boolean; - /** - * Gets the requested Color by path. - *

- * If the Color does not exist but a default value has been specified, - * this will return the default value. If the Color does not exist and no - * default value was specified, this will return null. - */ - getColor(path: string): org.bukkit.Color; - /** - * Gets the requested {@link Color} by path, returning a default value if - * not found. - *

- * If the Color does not exist then the specified default value will - * returned regardless of if a default has been identified in the root - * {@link Configuration}. - */ - getColor(path: string, def: org.bukkit.Color): org.bukkit.Color; - /** - * Checks if the specified path is a Color. - *

- * If the path exists but is not a Color, this will return false. If the - * path does not exist, this will return false. If the path does not exist - * but a default value has been specified, this will check if that default - * value is a Color and return appropriately. - */ - isColor(path: string): boolean; - /** - * Gets the requested ConfigurationSection by path. - *

- * If the ConfigurationSection does not exist but a default value has been - * specified, this will return the default value. If the - * ConfigurationSection does not exist and no default value was specified, - * this will return null. - */ - getConfigurationSection(path: string): org.bukkit.configuration.ConfigurationSection; - /** - * Checks if the specified path is a ConfigurationSection. - *

- * If the path exists but is not a ConfigurationSection, this will return - * false. If the path does not exist, this will return false. If the path - * does not exist but a default value has been specified, this will check - * if that default value is a ConfigurationSection and return - * appropriately. - */ - isConfigurationSection(path: string): boolean; - /** - * Gets the equivalent {@link ConfigurationSection} from the default - * {@link Configuration} defined in {@link #getRoot()}. - *

- * If the root contains no defaults, or the defaults doesn't contain a - * value for this path, or the value at this path is not a {@link - * ConfigurationSection} then this will return null. - */ - getDefaultSection(): org.bukkit.configuration.ConfigurationSection; - /** - * Sets the default value in the root at the given path as provided. - *

- * If no source {@link Configuration} was provided as a default - * collection, then a new {@link MemoryConfiguration} will be created to - * hold the new default value. - *

- * If value is null, the value will be removed from the default - * Configuration source. - *

- * If the value as returned by {@link #getDefaultSection()} is null, then - * this will create a new section at the path, replacing anything that may - * have existed there previously. - */ - addDefault(path: string, value: any): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.InvalidConfigurationException.ts b/packages/bukkit/src/typings/org.bukkit.configuration.InvalidConfigurationException.ts deleted file mode 100644 index b5f095d7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.InvalidConfigurationException.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - // @ts-ignore - class InvalidConfigurationException { - /** - * Creates a new instance of InvalidConfigurationException without a - * message or cause. - */ - constructor() - /** - * Constructs an instance of InvalidConfigurationException with the - * specified message. - */ - constructor(msg: string) - /** - * Constructs an instance of InvalidConfigurationException with the - * specified cause. - */ - constructor(cause: any) - /** - * Constructs an instance of InvalidConfigurationException with the - * specified message and cause. - */ - constructor(msg: string, cause: any) - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.MemoryConfiguration.ts b/packages/bukkit/src/typings/org.bukkit.configuration.MemoryConfiguration.ts deleted file mode 100644 index d8b33563..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.MemoryConfiguration.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - // @ts-ignore - class MemoryConfiguration extends org.bukkit.configuration.MemorySection implements org.bukkit.configuration.Configuration { - /** - * Creates an empty {@link MemoryConfiguration} with no default values. - */ - constructor() - /** - * Creates an empty {@link MemoryConfiguration} using the specified {@link - * Configuration} as a source for all default values. - */ - constructor(defaults: org.bukkit.configuration.Configuration) - protected defaults: org.bukkit.configuration.Configuration; - public addDefault(path: string, value: any): void; - public addDefaults(defaults: Map /*java.util.Map*/): void; - public addDefaults(defaults: org.bukkit.configuration.Configuration): void; - public setDefaults(defaults: org.bukkit.configuration.Configuration): void; - public getDefaults(): org.bukkit.configuration.Configuration; - public getParent(): org.bukkit.configuration.ConfigurationSection; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.MemoryConfigurationOptions.ts b/packages/bukkit/src/typings/org.bukkit.configuration.MemoryConfigurationOptions.ts deleted file mode 100644 index 2b2aeb37..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.MemoryConfigurationOptions.ts +++ /dev/null @@ -1,10 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - // @ts-ignore - class MemoryConfigurationOptions extends org.bukkit.configuration.ConfigurationOptions { - constructor(configuration: org.bukkit.configuration.MemoryConfiguration) - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.MemorySection.ts b/packages/bukkit/src/typings/org.bukkit.configuration.MemorySection.ts deleted file mode 100644 index 5edab5e0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.MemorySection.ts +++ /dev/null @@ -1,104 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - // @ts-ignore - class MemorySection implements org.bukkit.configuration.ConfigurationSection { - /** - * Creates an empty MemorySection for use as a root {@link Configuration} - * section. - *

- * Note that calling this without being yourself a {@link Configuration} - * will throw an exception! - */ - constructor() - /** - * Creates an empty MemorySection with the specified parent and path. - */ - constructor(parent: org.bukkit.configuration.ConfigurationSection, path: string) - public getKeys(deep: boolean): any[] /*java.util.Set*/; - public getValues(deep: boolean): Map /*java.util.Map*/; - public contains(path: string): boolean; - public contains(path: string, ignoreDefault: boolean): boolean; - public isSet(path: string): boolean; - public getCurrentPath(): string; - public getName(): string; - public getRoot(): org.bukkit.configuration.Configuration; - public getParent(): org.bukkit.configuration.ConfigurationSection; - public addDefault(path: string, value: any): void; - public getDefaultSection(): org.bukkit.configuration.ConfigurationSection; - public set(path: string, value: any): void; - public get(path: string): any; - public get(path: string, def: any): any; - public createSection(path: string): org.bukkit.configuration.ConfigurationSection; - public createSection(path: string, map: Map /*java.util.Map*/): org.bukkit.configuration.ConfigurationSection; - public getString(path: string): string; - public getString(path: string, def: string): string; - public isString(path: string): boolean; - public getInt(path: string): number; - public getInt(path: string, def: number): number; - public isInt(path: string): boolean; - public getBoolean(path: string): boolean; - public getBoolean(path: string, def: boolean): boolean; - public isBoolean(path: string): boolean; - public getDouble(path: string): number; - public getDouble(path: string, def: number): number; - public isDouble(path: string): boolean; - public getLong(path: string): number; - public getLong(path: string, def: number): number; - public isLong(path: string): boolean; - public getList(path: string): any[] /*java.util.List*/; - public getList(path: string, def: any[] /*java.util.List*/): any[] /*java.util.List*/; - public isList(path: string): boolean; - public getStringList(path: string): any[] /*java.util.List*/; - public getIntegerList(path: string): any[] /*java.util.List*/; - public getBooleanList(path: string): any[] /*java.util.List*/; - public getDoubleList(path: string): any[] /*java.util.List*/; - public getFloatList(path: string): any[] /*java.util.List*/; - public getLongList(path: string): any[] /*java.util.List*/; - public getByteList(path: string): any[] /*java.util.List*/; - public getCharacterList(path: string): any[] /*java.util.List*/; - public getShortList(path: string): any[] /*java.util.List*/; - public getMapList(path: string): any[] /*java.util.List*/; - public getObject(path: string, clazz: any): any; - public getObject(path: string, clazz: any, def: any): any; - public getSerializable(path: string, clazz: any): org.bukkit.configuration.serialization.ConfigurationSerializable; - public getSerializable(path: string, clazz: any, def: org.bukkit.configuration.serialization.ConfigurationSerializable): org.bukkit.configuration.serialization.ConfigurationSerializable; - public getVector(path: string): org.bukkit.util.Vector; - public getVector(path: string, def: org.bukkit.util.Vector): org.bukkit.util.Vector; - public isVector(path: string): boolean; - public getOfflinePlayer(path: string): org.bukkit.OfflinePlayer; - public getOfflinePlayer(path: string, def: org.bukkit.OfflinePlayer): org.bukkit.OfflinePlayer; - public isOfflinePlayer(path: string): boolean; - public getItemStack(path: string): org.bukkit.inventory.ItemStack; - public getItemStack(path: string, def: org.bukkit.inventory.ItemStack): org.bukkit.inventory.ItemStack; - public isItemStack(path: string): boolean; - public getColor(path: string): org.bukkit.Color; - public getColor(path: string, def: org.bukkit.Color): org.bukkit.Color; - public isColor(path: string): boolean; - public getConfigurationSection(path: string): org.bukkit.configuration.ConfigurationSection; - public isConfigurationSection(path: string): boolean; - protected isPrimitiveWrapper(input: any): boolean; - protected getDefault(path: string): any; - protected mapChildrenKeys(output: any[] /*java.util.Set*/, section: org.bukkit.configuration.ConfigurationSection, deep: boolean): void; - protected mapChildrenValues(output: Map /*java.util.Map*/, section: org.bukkit.configuration.ConfigurationSection, deep: boolean): void; - /** - * Creates a full path to the given {@link ConfigurationSection} from its - * root {@link Configuration}. - *

- * You may use this method for any given {@link ConfigurationSection}, not - * only {@link MemorySection}. - */ - public static createPath(section: org.bukkit.configuration.ConfigurationSection, key: string): string; - /** - * Creates a relative path to the given {@link ConfigurationSection} from - * the given relative section. - *

- * You may use this method for any given {@link ConfigurationSection}, not - * only {@link MemorySection}. - */ - public static createPath(section: org.bukkit.configuration.ConfigurationSection, key: string, relativeTo: org.bukkit.configuration.ConfigurationSection): string; - public toString(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.file.FileConfiguration.ts b/packages/bukkit/src/typings/org.bukkit.configuration.file.FileConfiguration.ts deleted file mode 100644 index 6709fbeb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.file.FileConfiguration.ts +++ /dev/null @@ -1,97 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - namespace file { - // @ts-ignore - abstract class FileConfiguration extends org.bukkit.configuration.MemoryConfiguration { - /** - * Creates an empty {@link FileConfiguration} with no default values. - */ - constructor() - /** - * Creates an empty {@link FileConfiguration} using the specified {@link - * Configuration} as a source for all default values. - */ - constructor(defaults: org.bukkit.configuration.Configuration) - /** - * Saves this {@link FileConfiguration} to the specified location. - *

- * If the file does not exist, it will be created. If already exists, it - * will be overwritten. If it cannot be overwritten or created, an - * exception will be thrown. - *

- * This method will save using the system default encoding, or possibly - * using UTF8. - */ - public save(file: any): void; - /** - * Saves this {@link FileConfiguration} to the specified location. - *

- * If the file does not exist, it will be created. If already exists, it - * will be overwritten. If it cannot be overwritten or created, an - * exception will be thrown. - *

- * This method will save using the system default encoding, or possibly - * using UTF8. - */ - public save(file: string): void; - /** - * Saves this {@link FileConfiguration} to a string, and returns it. - */ - public abstract saveToString(): string; - /** - * Loads this {@link FileConfiguration} from the specified location. - *

- * All the values contained within this configuration will be removed, - * leaving only settings and defaults, and the new values will be loaded - * from the given file. - *

- * If the file cannot be loaded for any reason, an exception will be - * thrown. - */ - public load(file: any): void; - /** - * Loads this {@link FileConfiguration} from the specified reader. - *

- * All the values contained within this configuration will be removed, - * leaving only settings and defaults, and the new values will be loaded - * from the given stream. - */ - public load(reader: any): void; - /** - * Loads this {@link FileConfiguration} from the specified location. - *

- * All the values contained within this configuration will be removed, - * leaving only settings and defaults, and the new values will be loaded - * from the given file. - *

- * If the file cannot be loaded for any reason, an exception will be - * thrown. - */ - public load(file: string): void; - /** - * Loads this {@link FileConfiguration} from the specified string, as - * opposed to from file. - *

- * All the values contained within this configuration will be removed, - * leaving only settings and defaults, and the new values will be loaded - * from the given string. - *

- * If the string is invalid in any way, an exception will be thrown. - */ - public abstract loadFromString(contents: string): void; - /** - * Compiles the header for this {@link FileConfiguration} and returns the - * result. - *

- * This will use the header from {@link #options()} -> {@link - * FileConfigurationOptions#header()}, respecting the rules of {@link - * FileConfigurationOptions#copyHeader()} if set. - */ - protected abstract buildHeader(): string; - public options(): org.bukkit.configuration.file.FileConfigurationOptions; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.file.FileConfigurationOptions.ts b/packages/bukkit/src/typings/org.bukkit.configuration.file.FileConfigurationOptions.ts deleted file mode 100644 index 6879bace..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.file.FileConfigurationOptions.ts +++ /dev/null @@ -1,72 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - namespace file { - // @ts-ignore - class FileConfigurationOptions extends org.bukkit.configuration.MemoryConfigurationOptions { - constructor(configuration: org.bukkit.configuration.MemoryConfiguration) - /** - * Gets the header that will be applied to the top of the saved output. - *

- * This header will be commented out and applied directly at the top of - * the generated output of the {@link FileConfiguration}. It is not - * required to include a newline at the end of the header as it will - * automatically be applied, but you may include one if you wish for extra - * spacing. - *

- * Null is a valid value which will indicate that no header is to be - * applied. The default value is null. - */ - public header(): string; - /** - * Sets the header that will be applied to the top of the saved output. - *

- * This header will be commented out and applied directly at the top of - * the generated output of the {@link FileConfiguration}. It is not - * required to include a newline at the end of the header as it will - * automatically be applied, but you may include one if you wish for extra - * spacing. - *

- * Null is a valid value which will indicate that no header is to be - * applied. - */ - public header(value: string): org.bukkit.configuration.file.FileConfigurationOptions; - /** - * Gets whether or not the header should be copied from a default source. - *

- * If this is true, if a default {@link FileConfiguration} is passed to - * {@link - * FileConfiguration#setDefaults(org.bukkit.configuration.Configuration)} - * then upon saving it will use the header from that config, instead of - * the one provided here. - *

- * If no default is set on the configuration, or the default is not of - * type FileConfiguration, or that config has no header ({@link #header()} - * returns null) then the header specified in this configuration will be - * used. - *

- * Defaults to true. - */ - public copyHeader(): boolean; - /** - * Sets whether or not the header should be copied from a default source. - *

- * If this is true, if a default {@link FileConfiguration} is passed to - * {@link - * FileConfiguration#setDefaults(org.bukkit.configuration.Configuration)} - * then upon saving it will use the header from that config, instead of - * the one provided here. - *

- * If no default is set on the configuration, or the default is not of - * type FileConfiguration, or that config has no header ({@link #header()} - * returns null) then the header specified in this configuration will be - * used. - *

- * Defaults to true. - */ - public copyHeader(value: boolean): org.bukkit.configuration.file.FileConfigurationOptions; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.file.YamlConfiguration.ts b/packages/bukkit/src/typings/org.bukkit.configuration.file.YamlConfiguration.ts deleted file mode 100644 index 59b6c0c2..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.file.YamlConfiguration.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - namespace file { - // @ts-ignore - class YamlConfiguration extends org.bukkit.configuration.file.FileConfiguration { - constructor() - protected static COMMENT_PREFIX: string; - protected static BLANK_CONFIG: string; - public saveToString(): string; - public loadFromString(contents: string): void; - protected convertMapsToSections(input: Map /*java.util.Map*/, section: org.bukkit.configuration.ConfigurationSection): void; - protected parseHeader(input: string): string; - protected buildHeader(): string; - /** - * Creates a new {@link YamlConfiguration}, loading from the given file. - *

- * Any errors loading the Configuration will be logged and then ignored. - * If the specified input is not a valid config, a blank config will be - * returned. - *

- * The encoding used may follow the system dependent default. - */ - public static loadConfiguration(file: any): org.bukkit.configuration.file.YamlConfiguration; - /** - * Creates a new {@link YamlConfiguration}, loading from the given reader. - *

- * Any errors loading the Configuration will be logged and then ignored. - * If the specified input is not a valid config, a blank config will be - * returned. - */ - public static loadConfiguration(reader: any): org.bukkit.configuration.file.YamlConfiguration; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.file.YamlConfigurationOptions.ts b/packages/bukkit/src/typings/org.bukkit.configuration.file.YamlConfigurationOptions.ts deleted file mode 100644 index 6dc5c2e4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.file.YamlConfigurationOptions.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - namespace file { - // @ts-ignore - class YamlConfigurationOptions extends org.bukkit.configuration.file.FileConfigurationOptions { - constructor(configuration: org.bukkit.configuration.file.YamlConfiguration) - public configuration(): org.bukkit.configuration.file.YamlConfiguration; - /** - * Gets how much spaces should be used to indent each line. - *

- * The minimum value this may be is 2, and the maximum is 9. - */ - public indent(): number; - /** - * Sets how much spaces should be used to indent each line. - *

- * The minimum value this may be is 2, and the maximum is 9. - */ - public indent(value: number): org.bukkit.configuration.file.YamlConfigurationOptions; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.file.YamlConstructor.ts b/packages/bukkit/src/typings/org.bukkit.configuration.file.YamlConstructor.ts deleted file mode 100644 index b94659c4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.file.YamlConstructor.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - namespace file { - // @ts-ignore - class YamlConstructor { - constructor() - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.file.YamlRepresenter.ts b/packages/bukkit/src/typings/org.bukkit.configuration.file.YamlRepresenter.ts deleted file mode 100644 index c6b8eb7b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.file.YamlRepresenter.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - namespace file { - // @ts-ignore - class YamlRepresenter { - constructor() - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.serialization.ConfigurationSerializable.ts b/packages/bukkit/src/typings/org.bukkit.configuration.serialization.ConfigurationSerializable.ts deleted file mode 100644 index f77320ca..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.serialization.ConfigurationSerializable.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - namespace serialization { - // @ts-ignore - interface ConfigurationSerializable { - /** - * Creates a Map representation of this class. - *

- * This class must provide a method to restore this class, as defined in - * the {@link ConfigurationSerializable} interface javadocs. - */ - serialize(): Map /*java.util.Map*/; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.serialization.ConfigurationSerialization.ts b/packages/bukkit/src/typings/org.bukkit.configuration.serialization.ConfigurationSerialization.ts deleted file mode 100644 index 6ec91027..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.serialization.ConfigurationSerialization.ts +++ /dev/null @@ -1,71 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - namespace serialization { - // @ts-ignore - class ConfigurationSerialization { - constructor(clazz: any) - public static SERIALIZED_TYPE_KEY: string; - protected getMethod(name: string, isStatic: boolean): any; - protected getConstructor(): any; - protected deserializeViaMethod(method: any, args: Map /*java.util.Map*/): org.bukkit.configuration.serialization.ConfigurationSerializable; - protected deserializeViaCtor(ctor: any, args: Map /*java.util.Map*/): org.bukkit.configuration.serialization.ConfigurationSerializable; - public deserialize(args: Map /*java.util.Map*/): org.bukkit.configuration.serialization.ConfigurationSerializable; - /** - * Attempts to deserialize the given arguments into a new instance of the - * given class. - *

- * The class must implement {@link ConfigurationSerializable}, including - * the extra methods as specified in the javadoc of - * ConfigurationSerializable. - *

- * If a new instance could not be made, an example being the class not - * fully implementing the interface, null will be returned. - */ - public static deserializeObject(args: Map /*java.util.Map*/, clazz: any): org.bukkit.configuration.serialization.ConfigurationSerializable; - /** - * Attempts to deserialize the given arguments into a new instance of the - * given class. - *

- * The class must implement {@link ConfigurationSerializable}, including - * the extra methods as specified in the javadoc of - * ConfigurationSerializable. - *

- * If a new instance could not be made, an example being the class not - * fully implementing the interface, null will be returned. - */ - public static deserializeObject(args: Map /*java.util.Map*/): org.bukkit.configuration.serialization.ConfigurationSerializable; - /** - * Registers the given {@link ConfigurationSerializable} class by its - * alias - */ - public static registerClass(clazz: any): void; - /** - * Registers the given alias to the specified {@link - * ConfigurationSerializable} class - */ - public static registerClass(clazz: any, alias: string): void; - /** - * Unregisters the specified alias to a {@link ConfigurationSerializable} - */ - public static unregisterClass(alias: string): void; - /** - * Unregisters any aliases for the specified {@link - * ConfigurationSerializable} class - */ - public static unregisterClass(clazz: any): void; - /** - * Attempts to get a registered {@link ConfigurationSerializable} class by - * its alias - */ - public static getClassByAlias(alias: string): any; - /** - * Gets the correct alias for the given {@link ConfigurationSerializable} - * class - */ - public static getAlias(clazz: any): string; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.serialization.DelegateDeserialization.ts b/packages/bukkit/src/typings/org.bukkit.configuration.serialization.DelegateDeserialization.ts deleted file mode 100644 index a62b7437..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.serialization.DelegateDeserialization.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - namespace serialization { - // @ts-ignore - interface DelegateDeserialization { - /** - * Which class should be used as a delegate for this classes - * deserialization - */ - value(): any; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.configuration.serialization.SerializableAs.ts b/packages/bukkit/src/typings/org.bukkit.configuration.serialization.SerializableAs.ts deleted file mode 100644 index 2974eb4f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.configuration.serialization.SerializableAs.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace configuration { - namespace serialization { - // @ts-ignore - interface SerializableAs { - /** - * This is the name your class will be stored and retrieved as. - *

- * This name MUST be unique. We recommend using names such as - * "MyPluginThing" instead of "Thing". - */ - value(): string; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.BooleanPrompt.ts b/packages/bukkit/src/typings/org.bukkit.conversations.BooleanPrompt.ts deleted file mode 100644 index 1d82c506..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.BooleanPrompt.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - abstract class BooleanPrompt extends org.bukkit.conversations.ValidatingPrompt { - constructor() - protected isInputValid(context: org.bukkit.conversations.ConversationContext, input: string): boolean; - protected acceptValidatedInput(context: org.bukkit.conversations.ConversationContext, input: string): org.bukkit.conversations.Prompt; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.Conversable.ts b/packages/bukkit/src/typings/org.bukkit.conversations.Conversable.ts deleted file mode 100644 index 3cb6623a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.Conversable.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - interface Conversable { - /** - * Tests to see of a Conversable object is actively engaged in a - * conversation. - */ - isConversing(): boolean; - /** - * Accepts input into the active conversation. If no conversation is in - * progress, this method does nothing. - */ - acceptConversationInput(input: string): void; - /** - * Enters into a dialog with a Conversation object. - */ - beginConversation(conversation: org.bukkit.conversations.Conversation): boolean; - /** - * Abandons an active conversation. - */ - abandonConversation(conversation: org.bukkit.conversations.Conversation): void; - /** - * Abandons an active conversation. - */ - abandonConversation(conversation: org.bukkit.conversations.Conversation, details: org.bukkit.conversations.ConversationAbandonedEvent): void; - /** - * Sends this sender a message raw - */ - sendRawMessage(message: string): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.Conversation.ConversationState.ts b/packages/bukkit/src/typings/org.bukkit.conversations.Conversation.ConversationState.ts deleted file mode 100644 index eda94ea6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.Conversation.ConversationState.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - namespace Conversation { - // @ts-ignore - class ConversationState { - public static UNSTARTED: org.bukkit.conversations.Conversation.ConversationState; - public static STARTED: org.bukkit.conversations.Conversation.ConversationState; - public static ABANDONED: org.bukkit.conversations.Conversation.ConversationState; - public static values(): org.bukkit.conversations.Conversation.ConversationState[]; - public static valueOf(name: string): org.bukkit.conversations.Conversation.ConversationState; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.Conversation.ts b/packages/bukkit/src/typings/org.bukkit.conversations.Conversation.ts deleted file mode 100644 index f9af77ce..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.Conversation.ts +++ /dev/null @@ -1,96 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - class Conversation { - /** - * Initializes a new Conversation. - */ - constructor(plugin: org.bukkit.plugin.Plugin, forWhom: org.bukkit.conversations.Conversable, firstPrompt: org.bukkit.conversations.Prompt) - /** - * Initializes a new Conversation. - */ - constructor(plugin: org.bukkit.plugin.Plugin, forWhom: org.bukkit.conversations.Conversable, firstPrompt: org.bukkit.conversations.Prompt, initialSessionData: Map /*java.util.Map*/) - protected currentPrompt: org.bukkit.conversations.Prompt; - protected context: org.bukkit.conversations.ConversationContext; - protected modal: boolean; - protected localEchoEnabled: boolean; - protected prefix: org.bukkit.conversations.ConversationPrefix; - protected cancellers: any[] /*java.util.List*/; - protected abandonedListeners: any[] /*java.util.List*/; - /** - * Gets the entity for whom this conversation is mediating. - */ - public getForWhom(): org.bukkit.conversations.Conversable; - /** - * Gets the modality of this conversation. If a conversation is modal, all - * messages directed to the player are suppressed for the duration of the - * conversation. - */ - public isModal(): boolean; - /** - * Gets the status of local echo for this conversation. If local echo is - * enabled, any text submitted to a conversation gets echoed back into the - * submitter's chat window. - */ - public isLocalEchoEnabled(): boolean; - /** - * Sets the status of local echo for this conversation. If local echo is - * enabled, any text submitted to a conversation gets echoed back into the - * submitter's chat window. - */ - public setLocalEchoEnabled(localEchoEnabled: boolean): void; - /** - * Gets the {@link ConversationPrefix} that prepends all output from this - * conversation. - */ - public getPrefix(): org.bukkit.conversations.ConversationPrefix; - /** - * Gets the list of {@link ConversationCanceller}s - */ - public getCancellers(): any[] /*java.util.List*/; - /** - * Returns the Conversation's {@link ConversationContext}. - */ - public getContext(): org.bukkit.conversations.ConversationContext; - /** - * Displays the first prompt of this conversation and begins redirecting - * the user's chat responses. - */ - public begin(): void; - /** - * Returns Returns the current state of the conversation. - */ - public getState(): org.bukkit.conversations.Conversation.ConversationState; - /** - * Passes player input into the current prompt. The next prompt (as - * determined by the current prompt) is then displayed to the user. - */ - public acceptInput(input: string): void; - /** - * Adds a {@link ConversationAbandonedListener}. - */ - public addConversationAbandonedListener(listener: org.bukkit.conversations.ConversationAbandonedListener): void; - /** - * Removes a {@link ConversationAbandonedListener}. - */ - public removeConversationAbandonedListener(listener: org.bukkit.conversations.ConversationAbandonedListener): void; - /** - * Abandons and resets the current conversation. Restores the user's - * normal chat behavior. - */ - public abandon(): void; - /** - * Abandons and resets the current conversation. Restores the user's - * normal chat behavior. - */ - public abandon(details: org.bukkit.conversations.ConversationAbandonedEvent): void; - /** - * Displays the next user prompt and abandons the conversation if the next - * prompt is null. - */ - public outputNextPrompt(): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.ConversationAbandonedEvent.ts b/packages/bukkit/src/typings/org.bukkit.conversations.ConversationAbandonedEvent.ts deleted file mode 100644 index 5a829951..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.ConversationAbandonedEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - class ConversationAbandonedEvent { - constructor(conversation: org.bukkit.conversations.Conversation) - constructor(conversation: org.bukkit.conversations.Conversation, canceller: org.bukkit.conversations.ConversationCanceller) - /** - * Gets the object that caused the conversation to be abandoned. - */ - public getCanceller(): org.bukkit.conversations.ConversationCanceller; - /** - * Gets the abandoned conversation's conversation context. - */ - public getContext(): org.bukkit.conversations.ConversationContext; - /** - * Indicates how the conversation was abandoned - naturally as part of the - * prompt chain or prematurely via a {@link ConversationCanceller}. - */ - public gracefulExit(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.ConversationAbandonedListener.ts b/packages/bukkit/src/typings/org.bukkit.conversations.ConversationAbandonedListener.ts deleted file mode 100644 index e698d6cf..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.ConversationAbandonedListener.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - interface ConversationAbandonedListener { - /** - * Called whenever a {@link Conversation} is abandoned. - */ - conversationAbandoned(abandonedEvent: org.bukkit.conversations.ConversationAbandonedEvent): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.ConversationCanceller.ts b/packages/bukkit/src/typings/org.bukkit.conversations.ConversationCanceller.ts deleted file mode 100644 index e4d0baec..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.ConversationCanceller.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - interface ConversationCanceller { - /** - * Sets the conversation this ConversationCanceller can optionally cancel. - */ - setConversation(conversation: org.bukkit.conversations.Conversation): void; - /** - * Cancels a conversation based on user input. - */ - cancelBasedOnInput(context: org.bukkit.conversations.ConversationContext, input: string): boolean; - /** - * Allows the {@link ConversationFactory} to duplicate this - * ConversationCanceller when creating a new {@link Conversation}. - *

- * Implementing this method should reset any internal object state. - */ - clone(): org.bukkit.conversations.ConversationCanceller; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.ConversationContext.ts b/packages/bukkit/src/typings/org.bukkit.conversations.ConversationContext.ts deleted file mode 100644 index ce0f86d0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.ConversationContext.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - class ConversationContext { - constructor(plugin: org.bukkit.plugin.Plugin, forWhom: org.bukkit.conversations.Conversable, initialSessionData: Map /*java.util.Map*/) - /** - * Gets the plugin that owns this conversation. - */ - public getPlugin(): org.bukkit.plugin.Plugin; - /** - * Gets the subject of the conversation. - */ - public getForWhom(): org.bukkit.conversations.Conversable; - /** - * Gets the underlying sessionData map. - * May be directly modified to manipulate session data. - */ - public getAllSessionData(): Map /*java.util.Map*/; - /** - * Gets session data shared between all {@link Prompt} invocations. Use - * this as a way to pass data through each Prompt as the conversation - * develops. - */ - public getSessionData(key: any): any; - /** - * Sets session data shared between all {@link Prompt} invocations. Use - * this as a way to pass data through each prompt as the conversation - * develops. - */ - public setSessionData(key: any, value: any): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.ConversationFactory.ts b/packages/bukkit/src/typings/org.bukkit.conversations.ConversationFactory.ts deleted file mode 100644 index b849086f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.ConversationFactory.ts +++ /dev/null @@ -1,85 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - class ConversationFactory { - /** - * Constructs a ConversationFactory. - */ - constructor(plugin: org.bukkit.plugin.Plugin) - protected plugin: org.bukkit.plugin.Plugin; - protected isModal: boolean; - protected localEchoEnabled: boolean; - protected prefix: org.bukkit.conversations.ConversationPrefix; - protected firstPrompt: org.bukkit.conversations.Prompt; - protected initialSessionData: Map /*java.util.Map*/; - protected playerOnlyMessage: string; - protected cancellers: any[] /*java.util.List*/; - protected abandonedListeners: any[] /*java.util.List*/; - /** - * Sets the modality of all {@link Conversation}s created by this factory. - * If a conversation is modal, all messages directed to the player are - * suppressed for the duration of the conversation. - *

- * The default is True. - */ - public withModality(modal: boolean): org.bukkit.conversations.ConversationFactory; - /** - * Sets the local echo status for all {@link Conversation}s created by - * this factory. If local echo is enabled, any text submitted to a - * conversation gets echoed back into the submitter's chat window. - */ - public withLocalEcho(localEchoEnabled: boolean): org.bukkit.conversations.ConversationFactory; - /** - * Sets the {@link ConversationPrefix} that prepends all output from all - * generated conversations. - *

- * The default is a {@link NullConversationPrefix}; - */ - public withPrefix(prefix: org.bukkit.conversations.ConversationPrefix): org.bukkit.conversations.ConversationFactory; - /** - * Sets the number of inactive seconds to wait before automatically - * abandoning all generated conversations. - *

- * The default is 600 seconds (5 minutes). - */ - public withTimeout(timeoutSeconds: number): org.bukkit.conversations.ConversationFactory; - /** - * Sets the first prompt to use in all generated conversations. - *

- * The default is Prompt.END_OF_CONVERSATION. - */ - public withFirstPrompt(firstPrompt: org.bukkit.conversations.Prompt): org.bukkit.conversations.ConversationFactory; - /** - * Sets any initial data with which to populate the conversation context - * sessionData map. - */ - public withInitialSessionData(initialSessionData: Map /*java.util.Map*/): org.bukkit.conversations.ConversationFactory; - /** - * Sets the player input that, when received, will immediately terminate - * the conversation. - */ - public withEscapeSequence(escapeSequence: string): org.bukkit.conversations.ConversationFactory; - /** - * Adds a {@link ConversationCanceller} to constructed conversations. - */ - public withConversationCanceller(canceller: org.bukkit.conversations.ConversationCanceller): org.bukkit.conversations.ConversationFactory; - /** - * Prevents this factory from creating a conversation for non-player - * {@link Conversable} objects. - */ - public thatExcludesNonPlayersWithMessage(playerOnlyMessage: string): org.bukkit.conversations.ConversationFactory; - /** - * Adds a {@link ConversationAbandonedListener} to all conversations - * constructed by this factory. - */ - public addConversationAbandonedListener(listener: org.bukkit.conversations.ConversationAbandonedListener): org.bukkit.conversations.ConversationFactory; - /** - * Constructs a {@link Conversation} in accordance with the defaults set - * for this factory. - */ - public buildConversation(forWhom: org.bukkit.conversations.Conversable): org.bukkit.conversations.Conversation; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.ConversationPrefix.ts b/packages/bukkit/src/typings/org.bukkit.conversations.ConversationPrefix.ts deleted file mode 100644 index c14a1f53..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.ConversationPrefix.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - interface ConversationPrefix { - /** - * Gets the prefix to use before each message to the player. - */ - getPrefix(context: org.bukkit.conversations.ConversationContext): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.ExactMatchConversationCanceller.ts b/packages/bukkit/src/typings/org.bukkit.conversations.ExactMatchConversationCanceller.ts deleted file mode 100644 index a7da933f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.ExactMatchConversationCanceller.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - class ExactMatchConversationCanceller implements org.bukkit.conversations.ConversationCanceller { - /** - * Builds an ExactMatchConversationCanceller. - */ - constructor(escapeSequence: string) - public setConversation(conversation: org.bukkit.conversations.Conversation): void; - public cancelBasedOnInput(context: org.bukkit.conversations.ConversationContext, input: string): boolean; - public clone(): org.bukkit.conversations.ConversationCanceller; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.FixedSetPrompt.ts b/packages/bukkit/src/typings/org.bukkit.conversations.FixedSetPrompt.ts deleted file mode 100644 index 5edd688f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.FixedSetPrompt.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - abstract class FixedSetPrompt extends org.bukkit.conversations.ValidatingPrompt { - /** - * Creates a FixedSetPrompt from a set of strings. - *

- * foo = new FixedSetPrompt("bar", "cheese", "panda"); - */ - constructor(fixedSet: string) - protected fixedSet: any[] /*java.util.List*/; - protected isInputValid(context: org.bukkit.conversations.ConversationContext, input: string): boolean; - /** - * Utility function to create a formatted string containing all the - * options declared in the constructor. - */ - protected formatFixedSet(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.InactivityConversationCanceller.ts b/packages/bukkit/src/typings/org.bukkit.conversations.InactivityConversationCanceller.ts deleted file mode 100644 index 03044e4f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.InactivityConversationCanceller.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - class InactivityConversationCanceller implements org.bukkit.conversations.ConversationCanceller { - /** - * Creates an InactivityConversationCanceller. - */ - constructor(plugin: org.bukkit.plugin.Plugin, timeoutSeconds: number) - protected plugin: org.bukkit.plugin.Plugin; - protected timeoutSeconds: number; - protected conversation: org.bukkit.conversations.Conversation; - public setConversation(conversation: org.bukkit.conversations.Conversation): void; - public cancelBasedOnInput(context: org.bukkit.conversations.ConversationContext, input: string): boolean; - public clone(): org.bukkit.conversations.ConversationCanceller; - /** - * Subclasses of InactivityConversationCanceller can override this method - * to take additional actions when the inactivity timer abandons the - * conversation. - */ - protected cancelling(conversation: org.bukkit.conversations.Conversation): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.ManuallyAbandonedConversationCanceller.ts b/packages/bukkit/src/typings/org.bukkit.conversations.ManuallyAbandonedConversationCanceller.ts deleted file mode 100644 index 80239db9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.ManuallyAbandonedConversationCanceller.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - class ManuallyAbandonedConversationCanceller implements org.bukkit.conversations.ConversationCanceller { - constructor() - public setConversation(conversation: org.bukkit.conversations.Conversation): void; - public cancelBasedOnInput(context: org.bukkit.conversations.ConversationContext, input: string): boolean; - public clone(): org.bukkit.conversations.ConversationCanceller; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.MessagePrompt.ts b/packages/bukkit/src/typings/org.bukkit.conversations.MessagePrompt.ts deleted file mode 100644 index c5a2287c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.MessagePrompt.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - abstract class MessagePrompt implements org.bukkit.conversations.Prompt { - constructor() - /** - * Message prompts never wait for user input before continuing. - */ - public blocksForInput(context: org.bukkit.conversations.ConversationContext): boolean; - /** - * Accepts and ignores any user input, returning the next prompt in the - * prompt graph instead. - */ - public acceptInput(context: org.bukkit.conversations.ConversationContext, input: string): org.bukkit.conversations.Prompt; - /** - * Override this method to return the next prompt in the prompt graph. - */ - protected abstract getNextPrompt(context: org.bukkit.conversations.ConversationContext): org.bukkit.conversations.Prompt; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.NullConversationPrefix.ts b/packages/bukkit/src/typings/org.bukkit.conversations.NullConversationPrefix.ts deleted file mode 100644 index 716a1cfa..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.NullConversationPrefix.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - class NullConversationPrefix implements org.bukkit.conversations.ConversationPrefix { - constructor() - /** - * Prepends each conversation message with an empty string. - */ - public getPrefix(context: org.bukkit.conversations.ConversationContext): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.NumericPrompt.ts b/packages/bukkit/src/typings/org.bukkit.conversations.NumericPrompt.ts deleted file mode 100644 index e3b5e902..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.NumericPrompt.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - abstract class NumericPrompt extends org.bukkit.conversations.ValidatingPrompt { - constructor() - protected isInputValid(context: org.bukkit.conversations.ConversationContext, input: string): boolean; - /** - * Override this method to do further validation on the numeric player - * input after the input has been determined to actually be a number. - */ - protected isNumberValid(context: org.bukkit.conversations.ConversationContext, input: any): boolean; - protected acceptValidatedInput(context: org.bukkit.conversations.ConversationContext, input: string): org.bukkit.conversations.Prompt; - protected getFailedValidationText(context: org.bukkit.conversations.ConversationContext, invalidInput: string): string; - /** - * Optionally override this method to display an additional message if the - * user enters an invalid number. - */ - protected getInputNotNumericText(context: org.bukkit.conversations.ConversationContext, invalidInput: string): string; - /** - * Optionally override this method to display an additional message if the - * user enters an invalid numeric input. - */ - protected getFailedValidationText(context: org.bukkit.conversations.ConversationContext, invalidInput: any): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.PlayerNamePrompt.ts b/packages/bukkit/src/typings/org.bukkit.conversations.PlayerNamePrompt.ts deleted file mode 100644 index a262b70f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.PlayerNamePrompt.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - abstract class PlayerNamePrompt extends org.bukkit.conversations.ValidatingPrompt { - constructor(plugin: org.bukkit.plugin.Plugin) - protected isInputValid(context: org.bukkit.conversations.ConversationContext, input: string): boolean; - protected acceptValidatedInput(context: org.bukkit.conversations.ConversationContext, input: string): org.bukkit.conversations.Prompt; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.PluginNameConversationPrefix.ts b/packages/bukkit/src/typings/org.bukkit.conversations.PluginNameConversationPrefix.ts deleted file mode 100644 index 1e38ac55..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.PluginNameConversationPrefix.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - class PluginNameConversationPrefix implements org.bukkit.conversations.ConversationPrefix { - constructor(plugin: org.bukkit.plugin.Plugin) - constructor(plugin: org.bukkit.plugin.Plugin, separator: string, prefixColor: org.bukkit.ChatColor) - protected separator: string; - protected prefixColor: org.bukkit.ChatColor; - protected plugin: org.bukkit.plugin.Plugin; - /** - * Prepends each conversation message with the plugin name. - */ - public getPrefix(context: org.bukkit.conversations.ConversationContext): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.Prompt.ts b/packages/bukkit/src/typings/org.bukkit.conversations.Prompt.ts deleted file mode 100644 index 38bcd1db..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.Prompt.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - interface Prompt { - END_OF_CONVERSATION: org.bukkit.conversations.Prompt; - /** - * Gets the text to display to the user when this prompt is first - * presented. - */ - getPromptText(context: org.bukkit.conversations.ConversationContext): string; - /** - * Checks to see if this prompt implementation should wait for user input - * or immediately display the next prompt. - */ - blocksForInput(context: org.bukkit.conversations.ConversationContext): boolean; - /** - * Accepts and processes input from the user. Using the input, the next - * Prompt in the prompt graph is returned. - */ - acceptInput(context: org.bukkit.conversations.ConversationContext, input: string): org.bukkit.conversations.Prompt; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.RegexPrompt.ts b/packages/bukkit/src/typings/org.bukkit.conversations.RegexPrompt.ts deleted file mode 100644 index 776b20ff..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.RegexPrompt.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - abstract class RegexPrompt extends org.bukkit.conversations.ValidatingPrompt { - constructor(regex: string) - constructor(pattern: any) - protected isInputValid(context: org.bukkit.conversations.ConversationContext, input: string): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.StringPrompt.ts b/packages/bukkit/src/typings/org.bukkit.conversations.StringPrompt.ts deleted file mode 100644 index 997a2234..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.StringPrompt.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - abstract class StringPrompt implements org.bukkit.conversations.Prompt { - constructor() - /** - * Ensures that the prompt waits for the user to provide input. - */ - public blocksForInput(context: org.bukkit.conversations.ConversationContext): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.conversations.ValidatingPrompt.ts b/packages/bukkit/src/typings/org.bukkit.conversations.ValidatingPrompt.ts deleted file mode 100644 index cefca5e4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.conversations.ValidatingPrompt.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace conversations { - // @ts-ignore - abstract class ValidatingPrompt implements org.bukkit.conversations.Prompt { - constructor() - /** - * Accepts and processes input from the user and validates it. If - * validation fails, this prompt is returned for re-execution, otherwise - * the next Prompt in the prompt graph is returned. - */ - public acceptInput(context: org.bukkit.conversations.ConversationContext, input: string): org.bukkit.conversations.Prompt; - /** - * Ensures that the prompt waits for the user to provide input. - */ - public blocksForInput(context: org.bukkit.conversations.ConversationContext): boolean; - /** - * Override this method to check the validity of the player's input. - */ - protected abstract isInputValid(context: org.bukkit.conversations.ConversationContext, input: string): boolean; - /** - * Override this method to accept and processes the validated input from - * the user. Using the input, the next Prompt in the prompt graph should - * be returned. - */ - protected abstract acceptValidatedInput(context: org.bukkit.conversations.ConversationContext, input: string): org.bukkit.conversations.Prompt; - /** - * Optionally override this method to display an additional message if the - * user enters an invalid input. - */ - protected getFailedValidationText(context: org.bukkit.conversations.ConversationContext, invalidInput: string): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.enchantments.Enchantment.ts b/packages/bukkit/src/typings/org.bukkit.enchantments.Enchantment.ts deleted file mode 100644 index 182ddc2d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.enchantments.Enchantment.ts +++ /dev/null @@ -1,118 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace enchantments { - // @ts-ignore - abstract class Enchantment implements org.bukkit.Keyed { - constructor(key: org.bukkit.NamespacedKey) - public static PROTECTION_ENVIRONMENTAL: org.bukkit.enchantments.Enchantment; - public static PROTECTION_FIRE: org.bukkit.enchantments.Enchantment; - public static PROTECTION_FALL: org.bukkit.enchantments.Enchantment; - public static PROTECTION_EXPLOSIONS: org.bukkit.enchantments.Enchantment; - public static PROTECTION_PROJECTILE: org.bukkit.enchantments.Enchantment; - public static OXYGEN: org.bukkit.enchantments.Enchantment; - public static WATER_WORKER: org.bukkit.enchantments.Enchantment; - public static THORNS: org.bukkit.enchantments.Enchantment; - public static DEPTH_STRIDER: org.bukkit.enchantments.Enchantment; - public static FROST_WALKER: org.bukkit.enchantments.Enchantment; - public static BINDING_CURSE: org.bukkit.enchantments.Enchantment; - public static DAMAGE_ALL: org.bukkit.enchantments.Enchantment; - public static DAMAGE_UNDEAD: org.bukkit.enchantments.Enchantment; - public static DAMAGE_ARTHROPODS: org.bukkit.enchantments.Enchantment; - public static KNOCKBACK: org.bukkit.enchantments.Enchantment; - public static FIRE_ASPECT: org.bukkit.enchantments.Enchantment; - public static LOOT_BONUS_MOBS: org.bukkit.enchantments.Enchantment; - public static SWEEPING_EDGE: org.bukkit.enchantments.Enchantment; - public static DIG_SPEED: org.bukkit.enchantments.Enchantment; - public static SILK_TOUCH: org.bukkit.enchantments.Enchantment; - public static DURABILITY: org.bukkit.enchantments.Enchantment; - public static LOOT_BONUS_BLOCKS: org.bukkit.enchantments.Enchantment; - public static ARROW_DAMAGE: org.bukkit.enchantments.Enchantment; - public static ARROW_KNOCKBACK: org.bukkit.enchantments.Enchantment; - public static ARROW_FIRE: org.bukkit.enchantments.Enchantment; - public static ARROW_INFINITE: org.bukkit.enchantments.Enchantment; - public static LUCK: org.bukkit.enchantments.Enchantment; - public static LURE: org.bukkit.enchantments.Enchantment; - public static LOYALTY: org.bukkit.enchantments.Enchantment; - public static IMPALING: org.bukkit.enchantments.Enchantment; - public static RIPTIDE: org.bukkit.enchantments.Enchantment; - public static CHANNELING: org.bukkit.enchantments.Enchantment; - public static MULTISHOT: org.bukkit.enchantments.Enchantment; - public static QUICK_CHARGE: org.bukkit.enchantments.Enchantment; - public static PIERCING: org.bukkit.enchantments.Enchantment; - public static MENDING: org.bukkit.enchantments.Enchantment; - public static VANISHING_CURSE: org.bukkit.enchantments.Enchantment; - public getKey(): org.bukkit.NamespacedKey; - /** - * Gets the unique name of this enchantment - */ - public abstract getName(): string; - /** - * Gets the maximum level that this Enchantment may become. - */ - public abstract getMaxLevel(): number; - /** - * Gets the level that this Enchantment should start at - */ - public abstract getStartLevel(): number; - /** - * Gets the type of {@link ItemStack} that may fit this Enchantment. - */ - public abstract getItemTarget(): org.bukkit.enchantments.EnchantmentTarget; - /** - * Checks if this enchantment is a treasure enchantment. - *
- * Treasure enchantments can only be received via looting, trading, or - * fishing. - */ - public abstract isTreasure(): boolean; - /** - * Checks if this enchantment is a cursed enchantment - *
- * Cursed enchantments are found the same way treasure enchantments are - */ - public abstract isCursed(): boolean; - /** - * Check if this enchantment conflicts with another enchantment. - */ - public abstract conflictsWith(other: org.bukkit.enchantments.Enchantment): boolean; - /** - * Checks if this Enchantment may be applied to the given {@link - * ItemStack}. - *

- * This does not check if it conflicts with any enchantments already - * applied to the item. - */ - public abstract canEnchantItem(item: org.bukkit.inventory.ItemStack): boolean; - public equals(obj: any): boolean; - public hashCode(): number; - public toString(): string; - /** - * Registers an enchantment with the given ID and object. - *

- * Generally not to be used from within a plugin. - */ - public static registerEnchantment(enchantment: org.bukkit.enchantments.Enchantment): void; - /** - * Checks if this is accepting Enchantment registrations. - */ - public static isAcceptingRegistrations(): boolean; - /** - * Stops accepting any enchantment registrations - */ - public static stopAcceptingRegistrations(): void; - /** - * Gets the Enchantment at the specified key - */ - public static getByKey(key: org.bukkit.NamespacedKey): org.bukkit.enchantments.Enchantment; - /** - * Gets the Enchantment at the specified name - */ - public static getByName(name: string): org.bukkit.enchantments.Enchantment; - /** - * Gets an array of all the registered {@link Enchantment}s - */ - public static values(): org.bukkit.enchantments.Enchantment[]; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.enchantments.EnchantmentOffer.ts b/packages/bukkit/src/typings/org.bukkit.enchantments.EnchantmentOffer.ts deleted file mode 100644 index 537710f2..00000000 --- a/packages/bukkit/src/typings/org.bukkit.enchantments.EnchantmentOffer.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace enchantments { - // @ts-ignore - class EnchantmentOffer { - constructor(enchantment: org.bukkit.enchantments.Enchantment, enchantmentLevel: number, cost: number) - /** - * Get the type of the enchantment. - */ - public getEnchantment(): org.bukkit.enchantments.Enchantment; - /** - * Sets the type of the enchantment. - */ - public setEnchantment(enchantment: org.bukkit.enchantments.Enchantment): void; - /** - * Gets the level of the enchantment. - */ - public getEnchantmentLevel(): number; - /** - * Sets the level of the enchantment. - */ - public setEnchantmentLevel(enchantmentLevel: number): void; - /** - * Gets the cost which is displayed as a number on the right hand side of - * the enchantment offer. - */ - public getCost(): number; - /** - * Sets the the cost which is displayed as a number on the right hand side - * of the enchantment offer. - */ - public setCost(cost: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.enchantments.EnchantmentTarget.ts b/packages/bukkit/src/typings/org.bukkit.enchantments.EnchantmentTarget.ts deleted file mode 100644 index b9527011..00000000 --- a/packages/bukkit/src/typings/org.bukkit.enchantments.EnchantmentTarget.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace enchantments { - // @ts-ignore - class EnchantmentTarget { - public static ALL: org.bukkit.enchantments.EnchantmentTarget; - public static ARMOR: org.bukkit.enchantments.EnchantmentTarget; - public static ARMOR_FEET: org.bukkit.enchantments.EnchantmentTarget; - public static ARMOR_LEGS: org.bukkit.enchantments.EnchantmentTarget; - public static ARMOR_TORSO: org.bukkit.enchantments.EnchantmentTarget; - public static ARMOR_HEAD: org.bukkit.enchantments.EnchantmentTarget; - public static WEAPON: org.bukkit.enchantments.EnchantmentTarget; - public static TOOL: org.bukkit.enchantments.EnchantmentTarget; - public static BOW: org.bukkit.enchantments.EnchantmentTarget; - public static FISHING_ROD: org.bukkit.enchantments.EnchantmentTarget; - public static BREAKABLE: org.bukkit.enchantments.EnchantmentTarget; - public static WEARABLE: org.bukkit.enchantments.EnchantmentTarget; - public static TRIDENT: org.bukkit.enchantments.EnchantmentTarget; - public static CROSSBOW: org.bukkit.enchantments.EnchantmentTarget; - public static values(): org.bukkit.enchantments.EnchantmentTarget[]; - public static valueOf(name: string): org.bukkit.enchantments.EnchantmentTarget; - /** - * Check whether this target includes the specified item. - */ - public includes(item: org.bukkit.Material): boolean; - /** - * Check whether this target includes the specified item. - */ - public includes(item: org.bukkit.inventory.ItemStack): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.enchantments.EnchantmentWrapper.ts b/packages/bukkit/src/typings/org.bukkit.enchantments.EnchantmentWrapper.ts deleted file mode 100644 index 785c4a96..00000000 --- a/packages/bukkit/src/typings/org.bukkit.enchantments.EnchantmentWrapper.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace enchantments { - // @ts-ignore - class EnchantmentWrapper extends org.bukkit.enchantments.Enchantment { - constructor(name: string) - /** - * Gets the enchantment bound to this wrapper - */ - public getEnchantment(): org.bukkit.enchantments.Enchantment; - public getMaxLevel(): number; - public getStartLevel(): number; - public getItemTarget(): org.bukkit.enchantments.EnchantmentTarget; - public canEnchantItem(item: org.bukkit.inventory.ItemStack): boolean; - public getName(): string; - public isTreasure(): boolean; - public isCursed(): boolean; - public conflictsWith(other: org.bukkit.enchantments.Enchantment): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.AbstractArrow.PickupStatus.ts b/packages/bukkit/src/typings/org.bukkit.entity.AbstractArrow.PickupStatus.ts deleted file mode 100644 index 38575b9e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.AbstractArrow.PickupStatus.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace AbstractArrow { - // @ts-ignore - class PickupStatus { - public static DISALLOWED: org.bukkit.entity.AbstractArrow.PickupStatus; - public static ALLOWED: org.bukkit.entity.AbstractArrow.PickupStatus; - public static CREATIVE_ONLY: org.bukkit.entity.AbstractArrow.PickupStatus; - public static values(): org.bukkit.entity.AbstractArrow.PickupStatus[]; - public static valueOf(name: string): org.bukkit.entity.AbstractArrow.PickupStatus; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.AbstractArrow.ts b/packages/bukkit/src/typings/org.bukkit.entity.AbstractArrow.ts deleted file mode 100644 index 510b90ff..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.AbstractArrow.ts +++ /dev/null @@ -1,70 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface AbstractArrow extends org.bukkit.entity.Projectile { - /** - * Gets the knockback strength for an arrow, which is the - * {@link org.bukkit.enchantments.Enchantment#KNOCKBACK KnockBack} level - * of the bow that shot it. - */ - getKnockbackStrength(): number; - /** - * Sets the knockback strength for an arrow. - */ - setKnockbackStrength(knockbackStrength: number): void; - /** - * Gets the base amount of damage this arrow will do. - * Defaults to 2.0 for a normal arrow with - * 0.5 * (1 + power level) added for arrows fired from - * enchanted bows. - */ - getDamage(): number; - /** - * Sets the base amount of damage this arrow will do. - */ - setDamage(damage: number): void; - /** - * Gets the number of times this arrow can pierce through an entity. - */ - getPierceLevel(): number; - /** - * Sets the number of times this arrow can pierce through an entity. - * Must be between 0 and 127 times. - */ - setPierceLevel(pierceLevel: number): void; - /** - * Gets whether this arrow is critical. - *

- * Critical arrows have increased damage and cause particle effects. - *

- * Critical arrows generally occur when a player fully draws a bow before - * firing. - */ - isCritical(): boolean; - /** - * Sets whether or not this arrow should be critical. - */ - setCritical(critical: boolean): void; - /** - * Gets whether this arrow is in a block or not. - *

- * Arrows in a block are motionless and may be picked up by players. - */ - isInBlock(): boolean; - /** - * Gets the block to which this arrow is attached. - */ - getAttachedBlock(): org.bukkit.block.Block; - /** - * Gets the current pickup status of this arrow. - */ - getPickupStatus(): org.bukkit.entity.AbstractArrow.PickupStatus; - /** - * Sets the current pickup status of this arrow. - */ - setPickupStatus(status: org.bukkit.entity.AbstractArrow.PickupStatus): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.AbstractHorse.ts b/packages/bukkit/src/typings/org.bukkit.entity.AbstractHorse.ts deleted file mode 100644 index a78de381..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.AbstractHorse.ts +++ /dev/null @@ -1,71 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface AbstractHorse extends org.bukkit.entity.Animals, org.bukkit.entity.Vehicle, org.bukkit.inventory.InventoryHolder, org.bukkit.entity.Tameable { - /** - * Gets the horse's variant. - *

- * A horse's variant defines its physical appearance and capabilities. - * Whether a horse is a regular horse, donkey, mule, or other kind of horse - * is determined using the variant. - */ - getVariant(): org.bukkit.entity.Horse.Variant; - setVariant(variant: org.bukkit.entity.Horse.Variant): void; - /** - * Gets the domestication level of this horse. - *

- * A higher domestication level indicates that the horse is closer to - * becoming tame. As the domestication level gets closer to the max - * domestication level, the chance of the horse becoming tame increases. - */ - getDomestication(): number; - /** - * Sets the domestication level of this horse. - *

- * Setting the domestication level to a high value will increase the - * horse's chances of becoming tame. - *

- * Domestication level must be greater than zero and no greater than - * the max domestication level of the horse, determined with - * {@link #getMaxDomestication()} - */ - setDomestication(level: number): void; - /** - * Gets the maximum domestication level of this horse. - *

- * The higher this level is, the longer it will likely take - * for the horse to be tamed. - */ - getMaxDomestication(): number; - /** - * Sets the maximum domestication level of this horse. - *

- * Setting a higher max domestication will increase the amount of - * domesticating (feeding, riding, etc.) necessary in order to tame it, - * while setting a lower max value will have the opposite effect. - *

- * Maximum domestication must be greater than zero. - */ - setMaxDomestication(level: number): void; - /** - * Gets the jump strength of this horse. - *

- * Jump strength defines how high the horse can jump. A higher jump strength - * increases how high a jump will go. - */ - getJumpStrength(): number; - /** - * Sets the jump strength of this horse. - *

- * A higher jump strength increases how high a jump will go. - * Setting a jump strength to 0 will result in no jump. - * You cannot set a jump strength to a value below 0 or - * above 2. - */ - setJumpStrength(strength: number): void; - getInventory(): org.bukkit.inventory.AbstractHorseInventory; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.AbstractVillager.ts b/packages/bukkit/src/typings/org.bukkit.entity.AbstractVillager.ts deleted file mode 100644 index 1d666119..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.AbstractVillager.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface AbstractVillager extends org.bukkit.entity.Ageable, org.bukkit.entity.NPC, org.bukkit.inventory.InventoryHolder, org.bukkit.inventory.Merchant { - /** - * Gets this villager's inventory. - *
- * Note that this inventory is not the Merchant inventory, rather, it is the - * items that a villager might have collected (from harvesting crops, etc.) - * {@inheritDoc} - */ - getInventory(): org.bukkit.inventory.Inventory; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Ageable.ts b/packages/bukkit/src/typings/org.bukkit.entity.Ageable.ts deleted file mode 100644 index eb7f6c38..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Ageable.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Ageable extends org.bukkit.entity.Creature { - /** - * Gets the age of this animal. - */ - getAge(): number; - /** - * Sets the age of this animal. - */ - setAge(age: number): void; - /** - * Lock the age of the animal, setting this will prevent the animal from - * maturing or getting ready for mating. - */ - setAgeLock(lock: boolean): void; - /** - * Gets the current agelock. - */ - getAgeLock(): boolean; - /** - * Sets the age of the animal to a baby - */ - setBaby(): void; - /** - * Sets the age of the animal to an adult - */ - setAdult(): void; - /** - * Returns true if the animal is an adult. - */ - isAdult(): boolean; - /** - * Return the ability to breed of the animal. - */ - canBreed(): boolean; - /** - * Set breedability of the animal, if the animal is a baby and set to - * breed it will instantly grow up. - */ - setBreed(breed: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Ambient.ts b/packages/bukkit/src/typings/org.bukkit.entity.Ambient.ts deleted file mode 100644 index 445e9219..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Ambient.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Ambient extends org.bukkit.entity.Mob { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.AnimalTamer.ts b/packages/bukkit/src/typings/org.bukkit.entity.AnimalTamer.ts deleted file mode 100644 index 53f468b9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.AnimalTamer.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface AnimalTamer { - /** - * This is the name of the specified AnimalTamer. - */ - getName(): string; - /** - * This is the UUID of the specified AnimalTamer. - */ - getUniqueId(): any; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Animals.ts b/packages/bukkit/src/typings/org.bukkit.entity.Animals.ts deleted file mode 100644 index fc3f9273..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Animals.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Animals extends org.bukkit.entity.Ageable { - /** - * Get the UUID of the entity that caused this entity to enter the - * {@link #canBreed()} state. - */ - getBreedCause(): any; - /** - * Set the UUID of the entity that caused this entity to enter the - * {@link #canBreed()} state. - */ - setBreedCause(uuid: any): void; - /** - * Get whether or not this entity is in love mode and will produce - * offspring with another entity in love mode. Will return true if - * and only if {@link #getLoveModeTicks()} is greater than 0. - */ - isLoveMode(): boolean; - /** - * Get the amount of ticks remaining for this entity in love mode. - * If the entity is not in love mode, 0 will be returned. - */ - getLoveModeTicks(): number; - /** - * Set the amount of ticks for which this entity should be in love mode. - * Setting the love mode ticks to 600 is the equivalent of a player - * feeding the entity their breeding item of choice. - */ - setLoveModeTicks(ticks: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.AreaEffectCloud.ts b/packages/bukkit/src/typings/org.bukkit.entity.AreaEffectCloud.ts deleted file mode 100644 index daa061d9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.AreaEffectCloud.ts +++ /dev/null @@ -1,135 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface AreaEffectCloud extends org.bukkit.entity.Entity { - /** - * Gets the duration which this cloud will exist for (in ticks). - */ - getDuration(): number; - /** - * Sets the duration which this cloud will exist for (in ticks). - */ - setDuration(duration: number): void; - /** - * Gets the time which an entity has to be exposed to the cloud before the - * effect is applied. - */ - getWaitTime(): number; - /** - * Sets the time which an entity has to be exposed to the cloud before the - * effect is applied. - */ - setWaitTime(waitTime: number): void; - /** - * Gets the time that an entity will be immune from subsequent exposure. - */ - getReapplicationDelay(): number; - /** - * Sets the time that an entity will be immune from subsequent exposure. - */ - setReapplicationDelay(delay: number): void; - /** - * Gets the amount that the duration of this cloud will decrease by when it - * applies an effect to an entity. - */ - getDurationOnUse(): number; - /** - * Sets the amount that the duration of this cloud will decrease by when it - * applies an effect to an entity. - */ - setDurationOnUse(duration: number): void; - /** - * Gets the initial radius of the cloud. - */ - getRadius(): number; - /** - * Sets the initial radius of the cloud. - */ - setRadius(radius: number): void; - /** - * Gets the amount that the radius of this cloud will decrease by when it - * applies an effect to an entity. - */ - getRadiusOnUse(): number; - /** - * Sets the amount that the radius of this cloud will decrease by when it - * applies an effect to an entity. - */ - setRadiusOnUse(radius: number): void; - /** - * Gets the amount that the radius of this cloud will decrease by each tick. - */ - getRadiusPerTick(): number; - /** - * Gets the amount that the radius of this cloud will decrease by each tick. - */ - setRadiusPerTick(radius: number): void; - /** - * Gets the particle which this cloud will be composed of - */ - getParticle(): org.bukkit.Particle; - /** - * Sets the particle which this cloud will be composed of - */ - setParticle(particle: org.bukkit.Particle): void; - /** - * Sets the particle which this cloud will be composed of - */ - setParticle(particle: org.bukkit.Particle, data: any): void; - /** - * Sets the underlying potion data - */ - setBasePotionData(data: org.bukkit.potion.PotionData): void; - /** - * Returns the potion data about the base potion - */ - getBasePotionData(): org.bukkit.potion.PotionData; - /** - * Checks for the presence of custom potion effects. - */ - hasCustomEffects(): boolean; - /** - * Gets an immutable list containing all custom potion effects applied to - * this cloud. - *

- * Plugins should check that hasCustomEffects() returns true before calling - * this method. - */ - getCustomEffects(): any[] /*java.util.List*/; - /** - * Adds a custom potion effect to this cloud. - */ - addCustomEffect(effect: org.bukkit.potion.PotionEffect, overwrite: boolean): boolean; - /** - * Removes a custom potion effect from this cloud. - */ - removeCustomEffect(type: org.bukkit.potion.PotionEffectType): boolean; - /** - * Checks for a specific custom potion effect type on this cloud. - */ - hasCustomEffect(type: org.bukkit.potion.PotionEffectType): boolean; - /** - * Removes all custom potion effects from this cloud. - */ - clearCustomEffects(): void; - /** - * Gets the color of this cloud. Will be applied as a tint to its particles. - */ - getColor(): org.bukkit.Color; - /** - * Sets the color of this cloud. Will be applied as a tint to its particles. - */ - setColor(color: org.bukkit.Color): void; - /** - * Retrieve the original source of this cloud. - */ - getSource(): org.bukkit.projectiles.ProjectileSource; - /** - * Set the original source of this cloud. - */ - setSource(source: org.bukkit.projectiles.ProjectileSource): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.ArmorStand.ts b/packages/bukkit/src/typings/org.bukkit.entity.ArmorStand.ts deleted file mode 100644 index 3f301a52..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.ArmorStand.ts +++ /dev/null @@ -1,167 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface ArmorStand extends org.bukkit.entity.LivingEntity { - /** - * Returns the item the armor stand is - * currently holding - */ - getItemInHand(): org.bukkit.inventory.ItemStack; - /** - * Sets the item the armor stand is currently - * holding - */ - setItemInHand(item: org.bukkit.inventory.ItemStack): void; - /** - * Returns the item currently being worn - * by the armor stand on its feet - */ - getBoots(): org.bukkit.inventory.ItemStack; - /** - * Sets the item currently being worn - * by the armor stand on its feet - */ - setBoots(item: org.bukkit.inventory.ItemStack): void; - /** - * Returns the item currently being worn - * by the armor stand on its legs - */ - getLeggings(): org.bukkit.inventory.ItemStack; - /** - * Sets the item currently being worn - * by the armor stand on its legs - */ - setLeggings(item: org.bukkit.inventory.ItemStack): void; - /** - * Returns the item currently being worn - * by the armor stand on its chest - */ - getChestplate(): org.bukkit.inventory.ItemStack; - /** - * Sets the item currently being worn - * by the armor stand on its chest - */ - setChestplate(item: org.bukkit.inventory.ItemStack): void; - /** - * Returns the item currently being worn - * by the armor stand on its head - */ - getHelmet(): org.bukkit.inventory.ItemStack; - /** - * Sets the item currently being worn - * by the armor stand on its head - */ - setHelmet(item: org.bukkit.inventory.ItemStack): void; - /** - * Returns the armor stand's body's - * current pose as a {@link org.bukkit.util.EulerAngle} - */ - getBodyPose(): org.bukkit.util.EulerAngle; - /** - * Sets the armor stand's body's - * current pose as a {@link org.bukkit.util.EulerAngle} - */ - setBodyPose(pose: org.bukkit.util.EulerAngle): void; - /** - * Returns the armor stand's left arm's - * current pose as a {@link org.bukkit.util.EulerAngle} - */ - getLeftArmPose(): org.bukkit.util.EulerAngle; - /** - * Sets the armor stand's left arm's - * current pose as a {@link org.bukkit.util.EulerAngle} - */ - setLeftArmPose(pose: org.bukkit.util.EulerAngle): void; - /** - * Returns the armor stand's right arm's - * current pose as a {@link org.bukkit.util.EulerAngle} - */ - getRightArmPose(): org.bukkit.util.EulerAngle; - /** - * Sets the armor stand's right arm's - * current pose as a {@link org.bukkit.util.EulerAngle} - */ - setRightArmPose(pose: org.bukkit.util.EulerAngle): void; - /** - * Returns the armor stand's left leg's - * current pose as a {@link org.bukkit.util.EulerAngle} - */ - getLeftLegPose(): org.bukkit.util.EulerAngle; - /** - * Sets the armor stand's left leg's - * current pose as a {@link org.bukkit.util.EulerAngle} - */ - setLeftLegPose(pose: org.bukkit.util.EulerAngle): void; - /** - * Returns the armor stand's right leg's - * current pose as a {@link org.bukkit.util.EulerAngle} - */ - getRightLegPose(): org.bukkit.util.EulerAngle; - /** - * Sets the armor stand's right leg's - * current pose as a {@link org.bukkit.util.EulerAngle} - */ - setRightLegPose(pose: org.bukkit.util.EulerAngle): void; - /** - * Returns the armor stand's head's - * current pose as a {@link org.bukkit.util.EulerAngle} - */ - getHeadPose(): org.bukkit.util.EulerAngle; - /** - * Sets the armor stand's head's - * current pose as a {@link org.bukkit.util.EulerAngle} - */ - setHeadPose(pose: org.bukkit.util.EulerAngle): void; - /** - * Returns whether the armor stand has - * a base plate - */ - hasBasePlate(): boolean; - /** - * Sets whether the armor stand has a - * base plate - */ - setBasePlate(basePlate: boolean): void; - /** - * Returns whether the armor stand should be - * visible or not - */ - isVisible(): boolean; - /** - * Sets whether the armor stand should be - * visible or not - */ - setVisible(visible: boolean): void; - /** - * Returns whether this armor stand has arms - */ - hasArms(): boolean; - /** - * Sets whether this armor stand has arms - */ - setArms(arms: boolean): void; - /** - * Returns whether this armor stand is scaled - * down - */ - isSmall(): boolean; - /** - * Sets whether this armor stand is scaled - * down - */ - setSmall(small: boolean): void; - /** - * Returns whether this armor stand is a marker, - * meaning it has a very small collision box - */ - isMarker(): boolean; - /** - * Sets whether this armor stand is a marker, - * meaning it has a very small collision box - */ - setMarker(marker: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Arrow.ts b/packages/bukkit/src/typings/org.bukkit.entity.Arrow.ts deleted file mode 100644 index 9204d24e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Arrow.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Arrow extends org.bukkit.entity.AbstractArrow { - /** - * Sets the underlying potion data - */ - setBasePotionData(data: org.bukkit.potion.PotionData): void; - /** - * Returns the potion data about the base potion - */ - getBasePotionData(): org.bukkit.potion.PotionData; - /** - * Gets the color of this arrow. - */ - getColor(): org.bukkit.Color; - /** - * Sets the color of this arrow. Will be applied as a tint to its particles. - */ - setColor(color: org.bukkit.Color): void; - /** - * Checks for the presence of custom potion effects. - */ - hasCustomEffects(): boolean; - /** - * Gets an immutable list containing all custom potion effects applied to - * this arrow. - *

- * Plugins should check that hasCustomEffects() returns true before calling - * this method. - */ - getCustomEffects(): any[] /*java.util.List*/; - /** - * Adds a custom potion effect to this arrow. - */ - addCustomEffect(effect: org.bukkit.potion.PotionEffect, overwrite: boolean): boolean; - /** - * Removes a custom potion effect from this arrow. - */ - removeCustomEffect(type: org.bukkit.potion.PotionEffectType): boolean; - /** - * Checks for a specific custom potion effect type on this arrow. - */ - hasCustomEffect(type: org.bukkit.potion.PotionEffectType): boolean; - /** - * Removes all custom potion effects from this arrow. - */ - clearCustomEffects(): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Bat.ts b/packages/bukkit/src/typings/org.bukkit.entity.Bat.ts deleted file mode 100644 index 0772273a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Bat.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Bat extends org.bukkit.entity.Ambient { - /** - * Checks the current waking state of this bat. - *

- * This does not imply any persistence of state past the method call. - */ - isAwake(): boolean; - /** - * This method modifies the current waking state of this bat. - *

- * This does not prevent a bat from spontaneously awaking itself, or from - * reattaching itself to a block. - */ - setAwake(state: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Blaze.ts b/packages/bukkit/src/typings/org.bukkit.entity.Blaze.ts deleted file mode 100644 index 7c72b2d8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Blaze.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Blaze extends org.bukkit.entity.Monster { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Boat.ts b/packages/bukkit/src/typings/org.bukkit.entity.Boat.ts deleted file mode 100644 index 44eeb2c4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Boat.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Boat extends org.bukkit.entity.Vehicle { - /** - * Gets the wood type of the boat. - */ - getWoodType(): org.bukkit.TreeSpecies; - /** - * Sets the wood type of the boat. - */ - setWoodType(species: org.bukkit.TreeSpecies): void; - /** - * Gets the maximum speed of a boat. The speed is unrelated to the - * velocity. - */ - getMaxSpeed(): number; - /** - * Sets the maximum speed of a boat. Must be nonnegative. Default is 0.4D. - */ - setMaxSpeed(speed: number): void; - /** - * Gets the deceleration rate (newSpeed = curSpeed * rate) of occupied - * boats. The default is 0.2. - */ - getOccupiedDeceleration(): number; - /** - * Sets the deceleration rate (newSpeed = curSpeed * rate) of occupied - * boats. Setting this to a higher value allows for quicker acceleration. - * The default is 0.2. - */ - setOccupiedDeceleration(rate: number): void; - /** - * Gets the deceleration rate (newSpeed = curSpeed * rate) of unoccupied - * boats. The default is -1. Values below 0 indicate that no additional - * deceleration is imposed. - */ - getUnoccupiedDeceleration(): number; - /** - * Sets the deceleration rate (newSpeed = curSpeed * rate) of unoccupied - * boats. Setting this to a higher value allows for quicker deceleration - * of boats when a player disembarks. The default is -1. Values below 0 - * indicate that no additional deceleration is imposed. - */ - setUnoccupiedDeceleration(rate: number): void; - /** - * Get whether boats can work on land. - */ - getWorkOnLand(): boolean; - /** - * Set whether boats can work on land. - */ - setWorkOnLand(workOnLand: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Boss.ts b/packages/bukkit/src/typings/org.bukkit.entity.Boss.ts deleted file mode 100644 index 9badd8f9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Boss.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Boss extends org.bukkit.entity.Entity { - /** - * Returns the {@link BossBar} of the {@link Boss} - */ - getBossBar(): org.bukkit.boss.BossBar; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Cat.Type.ts b/packages/bukkit/src/typings/org.bukkit.entity.Cat.Type.ts deleted file mode 100644 index ad15fe87..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Cat.Type.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Cat { - // @ts-ignore - class Type { - public static TABBY: org.bukkit.entity.Cat.Type; - public static BLACK: org.bukkit.entity.Cat.Type; - public static RED: org.bukkit.entity.Cat.Type; - public static SIAMESE: org.bukkit.entity.Cat.Type; - public static BRITISH_SHORTHAIR: org.bukkit.entity.Cat.Type; - public static CALICO: org.bukkit.entity.Cat.Type; - public static PERSIAN: org.bukkit.entity.Cat.Type; - public static RAGDOLL: org.bukkit.entity.Cat.Type; - public static WHITE: org.bukkit.entity.Cat.Type; - public static JELLIE: org.bukkit.entity.Cat.Type; - public static ALL_BLACK: org.bukkit.entity.Cat.Type; - public static values(): org.bukkit.entity.Cat.Type[]; - public static valueOf(name: string): org.bukkit.entity.Cat.Type; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Cat.ts b/packages/bukkit/src/typings/org.bukkit.entity.Cat.ts deleted file mode 100644 index 3fe2e601..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Cat.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Cat extends org.bukkit.entity.Animals, org.bukkit.entity.Tameable, org.bukkit.entity.Sittable { - /** - * Gets the current type of this cat. - */ - getCatType(): org.bukkit.entity.Cat.Type; - /** - * Sets the current type of this cat. - */ - setCatType(type: org.bukkit.entity.Cat.Type): void; - /** - * Get the collar color of this cat - */ - getCollarColor(): org.bukkit.DyeColor; - /** - * Set the collar color of this cat - */ - setCollarColor(color: org.bukkit.DyeColor): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.CaveSpider.ts b/packages/bukkit/src/typings/org.bukkit.entity.CaveSpider.ts deleted file mode 100644 index 25286c7d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.CaveSpider.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface CaveSpider extends org.bukkit.entity.Spider { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.ChestedHorse.ts b/packages/bukkit/src/typings/org.bukkit.entity.ChestedHorse.ts deleted file mode 100644 index 2c9a08c6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.ChestedHorse.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface ChestedHorse extends org.bukkit.entity.AbstractHorse { - /** - * Gets whether the horse has a chest equipped. - */ - isCarryingChest(): boolean; - /** - * Sets whether the horse has a chest equipped. Removing a chest will also - * clear the chest's inventory. - */ - setCarryingChest(chest: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Chicken.ts b/packages/bukkit/src/typings/org.bukkit.entity.Chicken.ts deleted file mode 100644 index 4067f10e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Chicken.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Chicken extends org.bukkit.entity.Animals { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Cod.ts b/packages/bukkit/src/typings/org.bukkit.entity.Cod.ts deleted file mode 100644 index cea97103..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Cod.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Cod extends org.bukkit.entity.Fish { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.ComplexEntityPart.ts b/packages/bukkit/src/typings/org.bukkit.entity.ComplexEntityPart.ts deleted file mode 100644 index b6a2d2ae..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.ComplexEntityPart.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface ComplexEntityPart extends org.bukkit.entity.Entity { - /** - * Gets the parent {@link ComplexLivingEntity} of this part. - */ - getParent(): org.bukkit.entity.ComplexLivingEntity; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.ComplexLivingEntity.ts b/packages/bukkit/src/typings/org.bukkit.entity.ComplexLivingEntity.ts deleted file mode 100644 index 6169e6d6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.ComplexLivingEntity.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface ComplexLivingEntity extends org.bukkit.entity.LivingEntity { - /** - * Gets a list of parts that belong to this complex entity - */ - getParts(): any[] /*java.util.Set*/; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Cow.ts b/packages/bukkit/src/typings/org.bukkit.entity.Cow.ts deleted file mode 100644 index 17d42b6a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Cow.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Cow extends org.bukkit.entity.Animals { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Creature.ts b/packages/bukkit/src/typings/org.bukkit.entity.Creature.ts deleted file mode 100644 index 164ce29d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Creature.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Creature extends org.bukkit.entity.Mob { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Creeper.ts b/packages/bukkit/src/typings/org.bukkit.entity.Creeper.ts deleted file mode 100644 index e2c252af..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Creeper.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Creeper extends org.bukkit.entity.Monster { - /** - * Checks if this Creeper is powered (Electrocuted) - */ - isPowered(): boolean; - /** - * Sets the Powered status of this Creeper - */ - setPowered(value: boolean): void; - /** - * Set the maximum fuse ticks for this Creeper, where the maximum ticks - * is the amount of time in which a creeper is allowed to be in the - * primed state before exploding. - */ - setMaxFuseTicks(ticks: number): void; - /** - * Get the maximum fuse ticks for this Creeper, where the maximum ticks - * is the amount of time in which a creeper is allowed to be in the - * primed state before exploding. - */ - getMaxFuseTicks(): number; - /** - * Set the explosion radius in which this Creeper's explosion will affect. - */ - setExplosionRadius(radius: number): void; - /** - * Get the explosion radius in which this Creeper's explosion will affect. - */ - getExplosionRadius(): number; - /** - * Makes this Creeper explode instantly. - * The resulting explosion can be cancelled by an - * {@link org.bukkit.event.entity.ExplosionPrimeEvent} and obeys the mob - * griefing gamerule. - */ - explode(): void; - /** - * Ignites this Creeper, beginning its fuse. - * The amount of time the Creeper takes to explode will depend on what - * {@link #setMaxFuseTicks} is set as. - * The resulting explosion can be cancelled by an - * {@link org.bukkit.event.entity.ExplosionPrimeEvent} and obeys the mob - * griefing gamerule. - */ - ignite(): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Damageable.ts b/packages/bukkit/src/typings/org.bukkit.entity.Damageable.ts deleted file mode 100644 index 7fa3f6f3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Damageable.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Damageable extends org.bukkit.entity.Entity { - /** - * Deals the given amount of damage to this entity. - */ - damage(amount: number): void; - /** - * Deals the given amount of damage to this entity, from a specified - * entity. - */ - damage(amount: number, source: org.bukkit.entity.Entity): void; - /** - * Gets the entity's health from 0 to {@link #getMaxHealth()}, where 0 is dead. - */ - getHealth(): number; - /** - * Sets the entity's health from 0 to {@link #getMaxHealth()}, where 0 is - * dead. - */ - setHealth(health: number): void; - /** - * Gets the maximum health this entity has. - */ - getMaxHealth(): number; - /** - * Sets the maximum health this entity can have. - *

- * If the health of the entity is above the value provided it will be set - * to that value. - *

- * Note: An entity with a health bar ({@link Player}, {@link EnderDragon}, - * {@link Wither}, etc...} will have their bar scaled accordingly. - */ - setMaxHealth(health: number): void; - /** - * Resets the max health to the original amount. - */ - resetMaxHealth(): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Dolphin.ts b/packages/bukkit/src/typings/org.bukkit.entity.Dolphin.ts deleted file mode 100644 index 2c72f34d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Dolphin.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Dolphin extends org.bukkit.entity.WaterMob { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Donkey.ts b/packages/bukkit/src/typings/org.bukkit.entity.Donkey.ts deleted file mode 100644 index aad3de39..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Donkey.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Donkey extends org.bukkit.entity.ChestedHorse { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.DragonFireball.ts b/packages/bukkit/src/typings/org.bukkit.entity.DragonFireball.ts deleted file mode 100644 index 2c50cb8a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.DragonFireball.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface DragonFireball extends org.bukkit.entity.Fireball { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Drowned.ts b/packages/bukkit/src/typings/org.bukkit.entity.Drowned.ts deleted file mode 100644 index c748d4bb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Drowned.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Drowned extends org.bukkit.entity.Zombie { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Egg.ts b/packages/bukkit/src/typings/org.bukkit.entity.Egg.ts deleted file mode 100644 index 9e99c496..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Egg.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Egg extends org.bukkit.entity.Projectile { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.ElderGuardian.ts b/packages/bukkit/src/typings/org.bukkit.entity.ElderGuardian.ts deleted file mode 100644 index b08c84ff..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.ElderGuardian.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface ElderGuardian extends org.bukkit.entity.Guardian { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.EnderCrystal.ts b/packages/bukkit/src/typings/org.bukkit.entity.EnderCrystal.ts deleted file mode 100644 index fa0f0adf..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.EnderCrystal.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface EnderCrystal extends org.bukkit.entity.Entity { - /** - * Return whether or not this end crystal is showing the - * bedrock slate underneath it. - */ - isShowingBottom(): boolean; - /** - * Sets whether or not this end crystal is showing the - * bedrock slate underneath it. - */ - setShowingBottom(showing: boolean): void; - /** - * Gets the location that this end crystal is pointing its beam to. - */ - getBeamTarget(): org.bukkit.Location; - /** - * Sets the location that this end crystal is pointing to. Passing a null - * value will remove the current beam. - */ - setBeamTarget(location: org.bukkit.Location): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.EnderDragon.Phase.ts b/packages/bukkit/src/typings/org.bukkit.entity.EnderDragon.Phase.ts deleted file mode 100644 index a7e63257..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.EnderDragon.Phase.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace EnderDragon { - // @ts-ignore - class Phase { - public static CIRCLING: org.bukkit.entity.EnderDragon.Phase; - public static STRAFING: org.bukkit.entity.EnderDragon.Phase; - public static FLY_TO_PORTAL: org.bukkit.entity.EnderDragon.Phase; - public static LAND_ON_PORTAL: org.bukkit.entity.EnderDragon.Phase; - public static LEAVE_PORTAL: org.bukkit.entity.EnderDragon.Phase; - public static BREATH_ATTACK: org.bukkit.entity.EnderDragon.Phase; - public static SEARCH_FOR_BREATH_ATTACK_TARGET: org.bukkit.entity.EnderDragon.Phase; - public static ROAR_BEFORE_ATTACK: org.bukkit.entity.EnderDragon.Phase; - public static CHARGE_PLAYER: org.bukkit.entity.EnderDragon.Phase; - public static DYING: org.bukkit.entity.EnderDragon.Phase; - public static HOVER: org.bukkit.entity.EnderDragon.Phase; - public static values(): org.bukkit.entity.EnderDragon.Phase[]; - public static valueOf(name: string): org.bukkit.entity.EnderDragon.Phase; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.EnderDragon.ts b/packages/bukkit/src/typings/org.bukkit.entity.EnderDragon.ts deleted file mode 100644 index 64f6c24d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.EnderDragon.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface EnderDragon extends org.bukkit.entity.ComplexLivingEntity, org.bukkit.entity.Boss { - /** - * Gets the current phase that the dragon is performing. - */ - getPhase(): org.bukkit.entity.EnderDragon.Phase; - /** - * Sets the next phase for the dragon to perform. - */ - setPhase(phase: org.bukkit.entity.EnderDragon.Phase): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.EnderDragonPart.ts b/packages/bukkit/src/typings/org.bukkit.entity.EnderDragonPart.ts deleted file mode 100644 index bcd34942..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.EnderDragonPart.ts +++ /dev/null @@ -1,10 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface EnderDragonPart extends org.bukkit.entity.ComplexEntityPart, org.bukkit.entity.Damageable { - getParent(): org.bukkit.entity.EnderDragon; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.EnderPearl.ts b/packages/bukkit/src/typings/org.bukkit.entity.EnderPearl.ts deleted file mode 100644 index 1dd613f4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.EnderPearl.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface EnderPearl extends org.bukkit.entity.Projectile { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.EnderSignal.ts b/packages/bukkit/src/typings/org.bukkit.entity.EnderSignal.ts deleted file mode 100644 index f3ad4157..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.EnderSignal.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface EnderSignal extends org.bukkit.entity.Entity { - /** - * Get the location this EnderSignal is moving towards. - */ - getTargetLocation(): org.bukkit.Location; - /** - * Set the {@link Location} this EnderSignal is moving towards. - *
- * When setting a new target location, the {@link #getDropItem()} resets to - * a random value and the despawn timer gets set back to 0. - */ - setTargetLocation(location: org.bukkit.Location): void; - /** - * Gets if the EnderSignal should drop an item on death.
- * If {@code true}, it will drop an item. If {@code false}, it will shatter. - */ - getDropItem(): boolean; - /** - * Sets if the EnderSignal should drop an item on death; or if it should - * shatter. - */ - setDropItem(drop: boolean): void; - /** - * Gets the amount of time this entity has been alive (in ticks). - *
- * When this number is greater than 80, it will despawn on the next tick. - */ - getDespawnTimer(): number; - /** - * Set how long this entity has been alive (in ticks). - *
- * When this number is greater than 80, it will despawn on the next tick. - */ - setDespawnTimer(timer: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Enderman.ts b/packages/bukkit/src/typings/org.bukkit.entity.Enderman.ts deleted file mode 100644 index 3af544b1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Enderman.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Enderman extends org.bukkit.entity.Monster { - /** - * Gets the id and data of the block that the Enderman is carrying. - */ - getCarriedMaterial(): org.bukkit.material.MaterialData; - /** - * Sets the id and data of the block that the Enderman is carrying. - */ - setCarriedMaterial(material: org.bukkit.material.MaterialData): void; - /** - * Gets the data of the block that the Enderman is carrying. - */ - getCarriedBlock(): org.bukkit.block.data.BlockData; - /** - * Sets the data of the block that the Enderman is carrying. - */ - setCarriedBlock(blockData: org.bukkit.block.data.BlockData): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Endermite.ts b/packages/bukkit/src/typings/org.bukkit.entity.Endermite.ts deleted file mode 100644 index fab483a4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Endermite.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Endermite extends org.bukkit.entity.Monster { - /** - * Gets whether this Endermite was spawned by a player. - * An Endermite spawned by a player will be attacked by nearby Enderman. - */ - isPlayerSpawned(): boolean; - /** - * Sets whether this Endermite was spawned by a player. - * An Endermite spawned by a player will be attacked by nearby Enderman. - */ - setPlayerSpawned(playerSpawned: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Entity.ts b/packages/bukkit/src/typings/org.bukkit.entity.Entity.ts deleted file mode 100644 index 9f7673f5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Entity.ts +++ /dev/null @@ -1,330 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Entity extends org.bukkit.metadata.Metadatable, org.bukkit.command.CommandSender, org.bukkit.Nameable, org.bukkit.persistence.PersistentDataHolder { - /** - * Gets the entity's current position - */ - getLocation(): org.bukkit.Location; - /** - * Stores the entity's current position in the provided Location object. - *

- * If the provided Location is null this method does nothing and returns - * null. - */ - getLocation(loc: org.bukkit.Location): org.bukkit.Location; - /** - * Sets this entity's velocity - */ - setVelocity(velocity: org.bukkit.util.Vector): void; - /** - * Gets this entity's current velocity - */ - getVelocity(): org.bukkit.util.Vector; - /** - * Gets the entity's height - */ - getHeight(): number; - /** - * Gets the entity's width - */ - getWidth(): number; - /** - * Gets the entity's current bounding box. - *

- * The returned bounding box reflects the entity's current location and - * size. - */ - getBoundingBox(): org.bukkit.util.BoundingBox; - /** - * Returns true if the entity is supported by a block. This value is a - * state updated by the server and is not recalculated unless the entity - * moves. - */ - isOnGround(): boolean; - /** - * Gets the current world this entity resides in - */ - getWorld(): org.bukkit.World; - /** - * Sets the entity's rotation. - *

- * Note that if the entity is affected by AI, it may override this rotation. - */ - setRotation(yaw: number, pitch: number): void; - /** - * Teleports this entity to the given location. If this entity is riding a - * vehicle, it will be dismounted prior to teleportation. - */ - teleport(location: org.bukkit.Location): boolean; - /** - * Teleports this entity to the given location. If this entity is riding a - * vehicle, it will be dismounted prior to teleportation. - */ - teleport(location: org.bukkit.Location, cause: org.bukkit.event.player.PlayerTeleportEvent.TeleportCause): boolean; - /** - * Teleports this entity to the target Entity. If this entity is riding a - * vehicle, it will be dismounted prior to teleportation. - */ - teleport(destination: org.bukkit.entity.Entity): boolean; - /** - * Teleports this entity to the target Entity. If this entity is riding a - * vehicle, it will be dismounted prior to teleportation. - */ - teleport(destination: org.bukkit.entity.Entity, cause: org.bukkit.event.player.PlayerTeleportEvent.TeleportCause): boolean; - /** - * Returns a list of entities within a bounding box centered around this - * entity - */ - getNearbyEntities(x: number, y: number, z: number): any[] /*java.util.List*/; - /** - * Returns a unique id for this entity - */ - getEntityId(): number; - /** - * Returns the entity's current fire ticks (ticks before the entity stops - * being on fire). - */ - getFireTicks(): number; - /** - * Returns the entity's maximum fire ticks. - */ - getMaxFireTicks(): number; - /** - * Sets the entity's current fire ticks (ticks before the entity stops - * being on fire). - */ - setFireTicks(ticks: number): void; - /** - * Mark the entity's removal. - */ - remove(): void; - /** - * Returns true if this entity has been marked for removal. - */ - isDead(): boolean; - /** - * Returns false if the entity has died or been despawned for some other - * reason. - */ - isValid(): boolean; - /** - * Gets the {@link Server} that contains this Entity - */ - getServer(): org.bukkit.Server; - /** - * Returns true if the entity gets persisted. - *

- * By default all entities are persistent. An entity will also not get - * persisted, if it is riding an entity that is not persistent. - *

- * The persistent flag on players controls whether or not to save their - * playerdata file when they quit. If a player is directly or indirectly - * riding a non-persistent entity, the vehicle at the root and all its - * passengers won't get persisted. - *

- * This should not be confused with - * {@link LivingEntity#setRemoveWhenFarAway(boolean)} which controls - * despawning of living entities. - */ - isPersistent(): boolean; - /** - * Sets whether or not the entity gets persisted. - */ - setPersistent(persistent: boolean): void; - /** - * Gets the primary passenger of a vehicle. For vehicles that could have - * multiple passengers, this will only return the primary passenger. - */ - getPassenger(): org.bukkit.entity.Entity; - /** - * Set the passenger of a vehicle. - */ - setPassenger(passenger: org.bukkit.entity.Entity): boolean; - /** - * Gets a list of passengers of this vehicle. - *

- * The returned list will not be directly linked to the entity's current - * passengers, and no guarantees are made as to its mutability. - */ - getPassengers(): any[] /*java.util.List*/; - /** - * Add a passenger to the vehicle. - */ - addPassenger(passenger: org.bukkit.entity.Entity): boolean; - /** - * Remove a passenger from the vehicle. - */ - removePassenger(passenger: org.bukkit.entity.Entity): boolean; - /** - * Check if a vehicle has passengers. - */ - isEmpty(): boolean; - /** - * Eject any passenger. - */ - eject(): boolean; - /** - * Returns the distance this entity has fallen - */ - getFallDistance(): number; - /** - * Sets the fall distance for this entity - */ - setFallDistance(distance: number): void; - /** - * Record the last {@link EntityDamageEvent} inflicted on this entity - */ - setLastDamageCause(event: org.bukkit.event.entity.EntityDamageEvent): void; - /** - * Retrieve the last {@link EntityDamageEvent} inflicted on this entity. - * This event may have been cancelled. - */ - getLastDamageCause(): org.bukkit.event.entity.EntityDamageEvent; - /** - * Returns a unique and persistent id for this entity - */ - getUniqueId(): any; - /** - * Gets the amount of ticks this entity has lived for. - *

- * This is the equivalent to "age" in entities. - */ - getTicksLived(): number; - /** - * Sets the amount of ticks this entity has lived for. - *

- * This is the equivalent to "age" in entities. May not be less than one - * tick. - */ - setTicksLived(value: number): void; - /** - * Performs the specified {@link EntityEffect} for this entity. - *

- * This will be viewable to all players near the entity. - *

- * If the effect is not applicable to this class of entity, it will not play. - */ - playEffect(type: org.bukkit.EntityEffect): void; - /** - * Get the type of the entity. - */ - getType(): org.bukkit.entity.EntityType; - /** - * Returns whether this entity is inside a vehicle. - */ - isInsideVehicle(): boolean; - /** - * Leave the current vehicle. If the entity is currently in a vehicle (and - * is removed from it), true will be returned, otherwise false will be - * returned. - */ - leaveVehicle(): boolean; - /** - * Get the vehicle that this player is inside. If there is no vehicle, - * null will be returned. - */ - getVehicle(): org.bukkit.entity.Entity; - /** - * Sets whether or not to display the mob's custom name client side. The - * name will be displayed above the mob similarly to a player. - *

- * This value has no effect on players, they will always display their - * name. - */ - setCustomNameVisible(flag: boolean): void; - /** - * Gets whether or not the mob's custom name is displayed client side. - *

- * This value has no effect on players, they will always display their - * name. - */ - isCustomNameVisible(): boolean; - /** - * Sets whether the entity has a team colored (default: white) glow. - */ - setGlowing(flag: boolean): void; - /** - * Gets whether the entity is glowing or not. - */ - isGlowing(): boolean; - /** - * Sets whether the entity is invulnerable or not. - *

- * When an entity is invulnerable it can only be damaged by players in - * creative mode. - */ - setInvulnerable(flag: boolean): void; - /** - * Gets whether the entity is invulnerable or not. - */ - isInvulnerable(): boolean; - /** - * Gets whether the entity is silent or not. - */ - isSilent(): boolean; - /** - * Sets whether the entity is silent or not. - *

- * When an entity is silent it will not produce any sound. - */ - setSilent(flag: boolean): void; - /** - * Returns whether gravity applies to this entity. - */ - hasGravity(): boolean; - /** - * Sets whether gravity applies to this entity. - */ - setGravity(gravity: boolean): void; - /** - * Gets the period of time (in ticks) before this entity can use a portal. - */ - getPortalCooldown(): number; - /** - * Sets the period of time (in ticks) before this entity can use a portal. - */ - setPortalCooldown(cooldown: number): void; - /** - * Returns a set of tags for this entity. - *
- * Entities can have no more than 1024 tags. - */ - getScoreboardTags(): any[] /*java.util.Set*/; - /** - * Add a tag to this entity. - *
- * Entities can have no more than 1024 tags. - */ - addScoreboardTag(tag: string): boolean; - /** - * Removes a given tag from this entity. - */ - removeScoreboardTag(tag: string): boolean; - /** - * Returns the reaction of the entity when moved by a piston. - */ - getPistonMoveReaction(): org.bukkit.block.PistonMoveReaction; - /** - * Get the closest cardinal {@link BlockFace} direction an entity is - * currently facing. - *
- * This will not return any non-cardinal directions such as - * {@link BlockFace#UP} or {@link BlockFace#DOWN}. - *
- * {@link Hanging} entities will override this call and thus their behavior - * may be different. - */ - getFacing(): org.bukkit.block.BlockFace; - /** - * Gets the entity's current pose. - * Note that the pose is only updated at the end of a tick, so may be - * inconsistent with other methods. eg {@link Player#isSneaking()} being - * true does not imply the current pose will be {@link Pose#SNEAKING} - */ - getPose(): org.bukkit.entity.Pose; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.EntityType.ts b/packages/bukkit/src/typings/org.bukkit.entity.EntityType.ts deleted file mode 100644 index 2c9a5d65..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.EntityType.ts +++ /dev/null @@ -1,128 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - class EntityType implements org.bukkit.Keyed { - public static DROPPED_ITEM: org.bukkit.entity.EntityType; - public static EXPERIENCE_ORB: org.bukkit.entity.EntityType; - public static AREA_EFFECT_CLOUD: org.bukkit.entity.EntityType; - public static ELDER_GUARDIAN: org.bukkit.entity.EntityType; - public static WITHER_SKELETON: org.bukkit.entity.EntityType; - public static STRAY: org.bukkit.entity.EntityType; - public static EGG: org.bukkit.entity.EntityType; - public static LEASH_HITCH: org.bukkit.entity.EntityType; - public static PAINTING: org.bukkit.entity.EntityType; - public static ARROW: org.bukkit.entity.EntityType; - public static SNOWBALL: org.bukkit.entity.EntityType; - public static FIREBALL: org.bukkit.entity.EntityType; - public static SMALL_FIREBALL: org.bukkit.entity.EntityType; - public static ENDER_PEARL: org.bukkit.entity.EntityType; - public static ENDER_SIGNAL: org.bukkit.entity.EntityType; - public static SPLASH_POTION: org.bukkit.entity.EntityType; - public static THROWN_EXP_BOTTLE: org.bukkit.entity.EntityType; - public static ITEM_FRAME: org.bukkit.entity.EntityType; - public static WITHER_SKULL: org.bukkit.entity.EntityType; - public static PRIMED_TNT: org.bukkit.entity.EntityType; - public static FALLING_BLOCK: org.bukkit.entity.EntityType; - public static FIREWORK: org.bukkit.entity.EntityType; - public static HUSK: org.bukkit.entity.EntityType; - public static SPECTRAL_ARROW: org.bukkit.entity.EntityType; - public static SHULKER_BULLET: org.bukkit.entity.EntityType; - public static DRAGON_FIREBALL: org.bukkit.entity.EntityType; - public static ZOMBIE_VILLAGER: org.bukkit.entity.EntityType; - public static SKELETON_HORSE: org.bukkit.entity.EntityType; - public static ZOMBIE_HORSE: org.bukkit.entity.EntityType; - public static ARMOR_STAND: org.bukkit.entity.EntityType; - public static DONKEY: org.bukkit.entity.EntityType; - public static MULE: org.bukkit.entity.EntityType; - public static EVOKER_FANGS: org.bukkit.entity.EntityType; - public static EVOKER: org.bukkit.entity.EntityType; - public static VEX: org.bukkit.entity.EntityType; - public static VINDICATOR: org.bukkit.entity.EntityType; - public static ILLUSIONER: org.bukkit.entity.EntityType; - public static MINECART_COMMAND: org.bukkit.entity.EntityType; - public static BOAT: org.bukkit.entity.EntityType; - public static MINECART: org.bukkit.entity.EntityType; - public static MINECART_CHEST: org.bukkit.entity.EntityType; - public static MINECART_FURNACE: org.bukkit.entity.EntityType; - public static MINECART_TNT: org.bukkit.entity.EntityType; - public static MINECART_HOPPER: org.bukkit.entity.EntityType; - public static MINECART_MOB_SPAWNER: org.bukkit.entity.EntityType; - public static CREEPER: org.bukkit.entity.EntityType; - public static SKELETON: org.bukkit.entity.EntityType; - public static SPIDER: org.bukkit.entity.EntityType; - public static GIANT: org.bukkit.entity.EntityType; - public static ZOMBIE: org.bukkit.entity.EntityType; - public static SLIME: org.bukkit.entity.EntityType; - public static GHAST: org.bukkit.entity.EntityType; - public static PIG_ZOMBIE: org.bukkit.entity.EntityType; - public static ENDERMAN: org.bukkit.entity.EntityType; - public static CAVE_SPIDER: org.bukkit.entity.EntityType; - public static SILVERFISH: org.bukkit.entity.EntityType; - public static BLAZE: org.bukkit.entity.EntityType; - public static MAGMA_CUBE: org.bukkit.entity.EntityType; - public static ENDER_DRAGON: org.bukkit.entity.EntityType; - public static WITHER: org.bukkit.entity.EntityType; - public static BAT: org.bukkit.entity.EntityType; - public static WITCH: org.bukkit.entity.EntityType; - public static ENDERMITE: org.bukkit.entity.EntityType; - public static GUARDIAN: org.bukkit.entity.EntityType; - public static SHULKER: org.bukkit.entity.EntityType; - public static PIG: org.bukkit.entity.EntityType; - public static SHEEP: org.bukkit.entity.EntityType; - public static COW: org.bukkit.entity.EntityType; - public static CHICKEN: org.bukkit.entity.EntityType; - public static SQUID: org.bukkit.entity.EntityType; - public static WOLF: org.bukkit.entity.EntityType; - public static MUSHROOM_COW: org.bukkit.entity.EntityType; - public static SNOWMAN: org.bukkit.entity.EntityType; - public static OCELOT: org.bukkit.entity.EntityType; - public static IRON_GOLEM: org.bukkit.entity.EntityType; - public static HORSE: org.bukkit.entity.EntityType; - public static RABBIT: org.bukkit.entity.EntityType; - public static POLAR_BEAR: org.bukkit.entity.EntityType; - public static LLAMA: org.bukkit.entity.EntityType; - public static LLAMA_SPIT: org.bukkit.entity.EntityType; - public static PARROT: org.bukkit.entity.EntityType; - public static VILLAGER: org.bukkit.entity.EntityType; - public static ENDER_CRYSTAL: org.bukkit.entity.EntityType; - public static TURTLE: org.bukkit.entity.EntityType; - public static PHANTOM: org.bukkit.entity.EntityType; - public static TRIDENT: org.bukkit.entity.EntityType; - public static COD: org.bukkit.entity.EntityType; - public static SALMON: org.bukkit.entity.EntityType; - public static PUFFERFISH: org.bukkit.entity.EntityType; - public static TROPICAL_FISH: org.bukkit.entity.EntityType; - public static DROWNED: org.bukkit.entity.EntityType; - public static DOLPHIN: org.bukkit.entity.EntityType; - public static CAT: org.bukkit.entity.EntityType; - public static PANDA: org.bukkit.entity.EntityType; - public static PILLAGER: org.bukkit.entity.EntityType; - public static RAVAGER: org.bukkit.entity.EntityType; - public static TRADER_LLAMA: org.bukkit.entity.EntityType; - public static WANDERING_TRADER: org.bukkit.entity.EntityType; - public static FOX: org.bukkit.entity.EntityType; - public static FISHING_HOOK: org.bukkit.entity.EntityType; - public static LIGHTNING: org.bukkit.entity.EntityType; - public static PLAYER: org.bukkit.entity.EntityType; - public static UNKNOWN: org.bukkit.entity.EntityType; - public static values(): org.bukkit.entity.EntityType[]; - public static valueOf(name: string): org.bukkit.entity.EntityType; - public getName(): string; - public getKey(): org.bukkit.NamespacedKey; - public getEntityClass(): any; - public getTypeId(): number; - public static fromName(name: string): org.bukkit.entity.EntityType; - public static fromId(id: number): org.bukkit.entity.EntityType; - /** - * Some entities cannot be spawned using {@link - * World#spawnEntity(Location, EntityType)} or {@link - * World#spawn(Location, Class)}, usually because they require additional - * information in order to spawn. - */ - public isSpawnable(): boolean; - public isAlive(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Evoker.Spell.ts b/packages/bukkit/src/typings/org.bukkit.entity.Evoker.Spell.ts deleted file mode 100644 index a5de7f49..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Evoker.Spell.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Evoker { - // @ts-ignore - class Spell { - public static NONE: org.bukkit.entity.Evoker.Spell; - public static SUMMON: org.bukkit.entity.Evoker.Spell; - public static FANGS: org.bukkit.entity.Evoker.Spell; - public static WOLOLO: org.bukkit.entity.Evoker.Spell; - public static DISAPPEAR: org.bukkit.entity.Evoker.Spell; - public static BLINDNESS: org.bukkit.entity.Evoker.Spell; - public static values(): org.bukkit.entity.Evoker.Spell[]; - public static valueOf(name: string): org.bukkit.entity.Evoker.Spell; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Evoker.ts b/packages/bukkit/src/typings/org.bukkit.entity.Evoker.ts deleted file mode 100644 index bf7e1068..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Evoker.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Evoker extends org.bukkit.entity.Spellcaster { - /** - * Gets the {@link Spell} the Evoker is currently using. - */ - getCurrentSpell(): org.bukkit.entity.Evoker.Spell; - /** - * Sets the {@link Spell} the Evoker is currently using. - */ - setCurrentSpell(spell: org.bukkit.entity.Evoker.Spell): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.EvokerFangs.ts b/packages/bukkit/src/typings/org.bukkit.entity.EvokerFangs.ts deleted file mode 100644 index e8be6a92..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.EvokerFangs.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface EvokerFangs extends org.bukkit.entity.Entity { - /** - * Gets the {@link LivingEntity} which summoned the fangs. - */ - getOwner(): org.bukkit.entity.LivingEntity; - /** - * Sets the {@link LivingEntity} which summoned the fangs. - */ - setOwner(owner: org.bukkit.entity.LivingEntity): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.ExperienceOrb.ts b/packages/bukkit/src/typings/org.bukkit.entity.ExperienceOrb.ts deleted file mode 100644 index 6ed2be2e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.ExperienceOrb.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface ExperienceOrb extends org.bukkit.entity.Entity { - /** - * Gets how much experience is contained within this orb - */ - getExperience(): number; - /** - * Sets how much experience is contained within this orb - */ - setExperience(value: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Explosive.ts b/packages/bukkit/src/typings/org.bukkit.entity.Explosive.ts deleted file mode 100644 index 9e87f5e4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Explosive.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Explosive extends org.bukkit.entity.Entity { - /** - * Set the radius affected by this explosive's explosion - */ - setYield(yield: number): void; - /** - * Return the radius or yield of this explosive's explosion - */ - getYield(): number; - /** - * Set whether or not this explosive's explosion causes fire - */ - setIsIncendiary(isIncendiary: boolean): void; - /** - * Return whether or not this explosive creates a fire when exploding - */ - isIncendiary(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.FallingBlock.ts b/packages/bukkit/src/typings/org.bukkit.entity.FallingBlock.ts deleted file mode 100644 index a8d1d91c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.FallingBlock.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface FallingBlock extends org.bukkit.entity.Entity { - /** - * Get the Material of the falling block - */ - getMaterial(): org.bukkit.Material; - /** - * Get the data for the falling block - */ - getBlockData(): org.bukkit.block.data.BlockData; - /** - * Get if the falling block will break into an item if it cannot be placed - */ - getDropItem(): boolean; - /** - * Set if the falling block will break into an item if it cannot be placed - */ - setDropItem(drop: boolean): void; - /** - * Get the HurtEntities state of this block. - */ - canHurtEntities(): boolean; - /** - * Set the HurtEntities state of this block. - */ - setHurtEntities(hurtEntities: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Fireball.ts b/packages/bukkit/src/typings/org.bukkit.entity.Fireball.ts deleted file mode 100644 index 403a72af..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Fireball.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Fireball extends org.bukkit.entity.Projectile, org.bukkit.entity.Explosive { - /** - * Fireballs fly straight and do not take setVelocity(...) well. - */ - setDirection(direction: org.bukkit.util.Vector): void; - /** - * Retrieve the direction this fireball is heading toward - */ - getDirection(): org.bukkit.util.Vector; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Firework.ts b/packages/bukkit/src/typings/org.bukkit.entity.Firework.ts deleted file mode 100644 index 271da48c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Firework.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Firework extends org.bukkit.entity.Entity { - /** - * Get a copy of the fireworks meta - */ - getFireworkMeta(): org.bukkit.inventory.meta.FireworkMeta; - /** - * Apply the provided meta to the fireworks - */ - setFireworkMeta(meta: org.bukkit.inventory.meta.FireworkMeta): void; - /** - * Cause this firework to explode at earliest opportunity, as if it has no - * remaining fuse. - */ - detonate(): void; - /** - * Gets if the firework was shot at an angle (i.e. from a crossbow). - * A firework which was not shot at an angle will fly straight upwards. - */ - isShotAtAngle(): boolean; - /** - * Sets if the firework was shot at an angle (i.e. from a crossbow). - * A firework which was not shot at an angle will fly straight upwards. - */ - setShotAtAngle(shotAtAngle: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Fish.ts b/packages/bukkit/src/typings/org.bukkit.entity.Fish.ts deleted file mode 100644 index f4feb556..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Fish.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Fish extends org.bukkit.entity.WaterMob { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.FishHook.ts b/packages/bukkit/src/typings/org.bukkit.entity.FishHook.ts deleted file mode 100644 index 195f60b0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.FishHook.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface FishHook extends org.bukkit.entity.Projectile { - /** - * Gets the chance of a fish biting. - *

- * 0.0 = No Chance.
- * 1.0 = Instant catch. - */ - getBiteChance(): number; - /** - * Sets the chance of a fish biting. - *

- * 0.0 = No Chance.
- * 1.0 = Instant catch. - */ - setBiteChance(chance: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Flying.ts b/packages/bukkit/src/typings/org.bukkit.entity.Flying.ts deleted file mode 100644 index f0503044..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Flying.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Flying extends org.bukkit.entity.Mob { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Fox.Type.ts b/packages/bukkit/src/typings/org.bukkit.entity.Fox.Type.ts deleted file mode 100644 index 5be1d58c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Fox.Type.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Fox { - // @ts-ignore - class Type { - public static RED: org.bukkit.entity.Fox.Type; - public static SNOW: org.bukkit.entity.Fox.Type; - public static values(): org.bukkit.entity.Fox.Type[]; - public static valueOf(name: string): org.bukkit.entity.Fox.Type; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Fox.ts b/packages/bukkit/src/typings/org.bukkit.entity.Fox.ts deleted file mode 100644 index 827f9a9b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Fox.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Fox extends org.bukkit.entity.Animals, org.bukkit.entity.Sittable { - /** - * Gets the current type of this fox. - */ - getFoxType(): org.bukkit.entity.Fox.Type; - /** - * Sets the current type of this fox. - */ - setFoxType(type: org.bukkit.entity.Fox.Type): void; - /** - * Checks if this animal is crouching - */ - isCrouching(): boolean; - /** - * Sets if this animal is crouching. - */ - setCrouching(crouching: boolean): void; - /** - * Sets if this animal is sleeping. - */ - setSleeping(sleeping: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Ghast.ts b/packages/bukkit/src/typings/org.bukkit.entity.Ghast.ts deleted file mode 100644 index 8219923f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Ghast.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Ghast extends org.bukkit.entity.Flying { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Giant.ts b/packages/bukkit/src/typings/org.bukkit.entity.Giant.ts deleted file mode 100644 index 903d707f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Giant.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Giant extends org.bukkit.entity.Monster { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Golem.ts b/packages/bukkit/src/typings/org.bukkit.entity.Golem.ts deleted file mode 100644 index c4a171ce..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Golem.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Golem extends org.bukkit.entity.Creature { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Guardian.ts b/packages/bukkit/src/typings/org.bukkit.entity.Guardian.ts deleted file mode 100644 index f7a7bf06..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Guardian.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Guardian extends org.bukkit.entity.Monster { - /** - * Check if the Guardian is an elder Guardian - */ - isElder(): boolean; - setElder(shouldBeElder: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Hanging.ts b/packages/bukkit/src/typings/org.bukkit.entity.Hanging.ts deleted file mode 100644 index 4e7bf3fb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Hanging.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Hanging extends org.bukkit.entity.Entity, org.bukkit.material.Attachable { - /** - * Sets the direction of the hanging entity, potentially overriding rules - * of placement. Note that if the result is not valid the object would - * normally drop as an item. - */ - setFacingDirection(face: org.bukkit.block.BlockFace, force: boolean): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Horse.Color.ts b/packages/bukkit/src/typings/org.bukkit.entity.Horse.Color.ts deleted file mode 100644 index bf40ac29..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Horse.Color.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Horse { - // @ts-ignore - class Color { - public static WHITE: org.bukkit.entity.Horse.Color; - public static CREAMY: org.bukkit.entity.Horse.Color; - public static CHESTNUT: org.bukkit.entity.Horse.Color; - public static BROWN: org.bukkit.entity.Horse.Color; - public static BLACK: org.bukkit.entity.Horse.Color; - public static GRAY: org.bukkit.entity.Horse.Color; - public static DARK_BROWN: org.bukkit.entity.Horse.Color; - public static values(): org.bukkit.entity.Horse.Color[]; - public static valueOf(name: string): org.bukkit.entity.Horse.Color; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Horse.Style.ts b/packages/bukkit/src/typings/org.bukkit.entity.Horse.Style.ts deleted file mode 100644 index 2503e02b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Horse.Style.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Horse { - // @ts-ignore - class Style { - public static NONE: org.bukkit.entity.Horse.Style; - public static WHITE: org.bukkit.entity.Horse.Style; - public static WHITEFIELD: org.bukkit.entity.Horse.Style; - public static WHITE_DOTS: org.bukkit.entity.Horse.Style; - public static BLACK_DOTS: org.bukkit.entity.Horse.Style; - public static values(): org.bukkit.entity.Horse.Style[]; - public static valueOf(name: string): org.bukkit.entity.Horse.Style; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Horse.Variant.ts b/packages/bukkit/src/typings/org.bukkit.entity.Horse.Variant.ts deleted file mode 100644 index fff89432..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Horse.Variant.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Horse { - // @ts-ignore - class Variant { - public static HORSE: org.bukkit.entity.Horse.Variant; - public static DONKEY: org.bukkit.entity.Horse.Variant; - public static MULE: org.bukkit.entity.Horse.Variant; - public static UNDEAD_HORSE: org.bukkit.entity.Horse.Variant; - public static SKELETON_HORSE: org.bukkit.entity.Horse.Variant; - public static LLAMA: org.bukkit.entity.Horse.Variant; - public static values(): org.bukkit.entity.Horse.Variant[]; - public static valueOf(name: string): org.bukkit.entity.Horse.Variant; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Horse.ts b/packages/bukkit/src/typings/org.bukkit.entity.Horse.ts deleted file mode 100644 index 5be39be5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Horse.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Horse extends org.bukkit.entity.AbstractHorse { - /** - * Gets the horse's color. - *

- * Colors only apply to horses, not to donkeys, mules, skeleton horses - * or undead horses. - */ - getColor(): org.bukkit.entity.Horse.Color; - /** - * Sets the horse's color. - *

- * Attempting to set a color for any donkey, mule, skeleton horse or - * undead horse will not result in a change. - */ - setColor(color: org.bukkit.entity.Horse.Color): void; - /** - * Gets the horse's style. - * Styles determine what kind of markings or patterns a horse has. - *

- * Styles only apply to horses, not to donkeys, mules, skeleton horses - * or undead horses. - */ - getStyle(): org.bukkit.entity.Horse.Style; - /** - * Sets the style of this horse. - * Styles determine what kind of markings or patterns a horse has. - *

- * Attempting to set a style for any donkey, mule, skeleton horse or - * undead horse will not result in a change. - */ - setStyle(style: org.bukkit.entity.Horse.Style): void; - isCarryingChest(): boolean; - setCarryingChest(chest: boolean): void; - getInventory(): org.bukkit.inventory.HorseInventory; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.HumanEntity.ts b/packages/bukkit/src/typings/org.bukkit.entity.HumanEntity.ts deleted file mode 100644 index 6e1bc648..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.HumanEntity.ts +++ /dev/null @@ -1,227 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface HumanEntity extends org.bukkit.entity.LivingEntity, org.bukkit.entity.AnimalTamer, org.bukkit.inventory.InventoryHolder { - /** - * Returns the name of this player - */ - getName(): string; - /** - * Get the player's inventory. - */ - getInventory(): org.bukkit.inventory.PlayerInventory; - /** - * Get the player's EnderChest inventory - */ - getEnderChest(): org.bukkit.inventory.Inventory; - /** - * Gets the player's selected main hand - */ - getMainHand(): org.bukkit.inventory.MainHand; - /** - * If the player currently has an inventory window open, this method will - * set a property of that window, such as the state of a progress bar. - */ - setWindowProperty(prop: org.bukkit.inventory.InventoryView.Property, value: number): boolean; - /** - * Gets the inventory view the player is currently viewing. If they do not - * have an inventory window open, it returns their internal crafting view. - */ - getOpenInventory(): org.bukkit.inventory.InventoryView; - /** - * Opens an inventory window with the specified inventory on the top and - * the player's inventory on the bottom. - */ - openInventory(inventory: org.bukkit.inventory.Inventory): org.bukkit.inventory.InventoryView; - /** - * Opens an empty workbench inventory window with the player's inventory - * on the bottom. - */ - openWorkbench(location: org.bukkit.Location, force: boolean): org.bukkit.inventory.InventoryView; - /** - * Opens an empty enchanting inventory window with the player's inventory - * on the bottom. - */ - openEnchanting(location: org.bukkit.Location, force: boolean): org.bukkit.inventory.InventoryView; - /** - * Opens an inventory window to the specified inventory view. - */ - openInventory(inventory: org.bukkit.inventory.InventoryView): void; - /** - * Starts a trade between the player and the villager. - * Note that only one player may trade with a villager at once. You must use - * the force parameter for this. - */ - openMerchant(trader: org.bukkit.entity.Villager, force: boolean): org.bukkit.inventory.InventoryView; - /** - * Starts a trade between the player and the merchant. - * Note that only one player may trade with a merchant at once. You must use - * the force parameter for this. - */ - openMerchant(merchant: org.bukkit.inventory.Merchant, force: boolean): org.bukkit.inventory.InventoryView; - /** - * Force-closes the currently open inventory view for this player, if any. - */ - closeInventory(): void; - /** - * Returns the ItemStack currently in your hand, can be empty. - */ - getItemInHand(): org.bukkit.inventory.ItemStack; - /** - * Sets the item to the given ItemStack, this will replace whatever the - * user was holding. - */ - setItemInHand(item: org.bukkit.inventory.ItemStack): void; - /** - * Returns the ItemStack currently on your cursor, can be empty. Will - * always be empty if the player currently has no open window. - */ - getItemOnCursor(): org.bukkit.inventory.ItemStack; - /** - * Sets the item to the given ItemStack, this will replace whatever the - * user was moving. Will always be empty if the player currently has no - * open window. - */ - setItemOnCursor(item: org.bukkit.inventory.ItemStack): void; - /** - * Check whether a cooldown is active on the specified material. - */ - hasCooldown(material: org.bukkit.Material): boolean; - /** - * Get the cooldown time in ticks remaining for the specified material. - */ - getCooldown(material: org.bukkit.Material): number; - /** - * Set a cooldown on the specified material for a certain amount of ticks. - * ticks. 0 ticks will result in the removal of the cooldown. - *

- * Cooldowns are used by the server for items such as ender pearls and - * shields to prevent them from being used repeatedly. - *

- * Note that cooldowns will not by themselves stop an item from being used - * for attacking. - */ - setCooldown(material: org.bukkit.Material, ticks: number): void; - /** - * Get the sleep ticks of the player. This value may be capped. - */ - getSleepTicks(): number; - /** - * Gets the Location where the player will spawn at their bed, null if - * they have not slept in one or their current bed spawn is invalid. - */ - getBedSpawnLocation(): org.bukkit.Location; - /** - * Sets the Location where the player will spawn at their bed. - */ - setBedSpawnLocation(location: org.bukkit.Location): void; - /** - * Sets the Location where the player will spawn at their bed. - */ - setBedSpawnLocation(location: org.bukkit.Location, force: boolean): void; - /** - * Attempts to make the entity sleep at the given location. - *
- * The location must be in the current world and have a bed placed at the - * location. The game may also enforce other requirements such as proximity - * to bed, monsters, and dimension type if force is not set. - */ - sleep(location: org.bukkit.Location, force: boolean): boolean; - /** - * Causes the player to wakeup if they are currently sleeping. - */ - wakeup(setSpawnLocation: boolean): void; - /** - * Gets the location of the bed the player is currently sleeping in - */ - getBedLocation(): org.bukkit.Location; - /** - * Gets this human's current {@link GameMode} - */ - getGameMode(): org.bukkit.GameMode; - /** - * Sets this human's current {@link GameMode} - */ - setGameMode(mode: org.bukkit.GameMode): void; - /** - * Check if the player is currently blocking (ie with a shield). - */ - isBlocking(): boolean; - /** - * Check if the player currently has their hand raised (ie about to begin - * blocking). - */ - isHandRaised(): boolean; - /** - * Get the total amount of experience required for the player to level - */ - getExpToLevel(): number; - /** - * Discover a recipe for this player such that it has not already been - * discovered. This method will add the key's associated recipe to the - * player's recipe book. - */ - discoverRecipe(recipe: org.bukkit.NamespacedKey): boolean; - /** - * Discover a collection of recipes for this player such that they have not - * already been discovered. This method will add the keys' associated - * recipes to the player's recipe book. If a recipe in the provided - * collection has already been discovered, it will be silently ignored. - */ - discoverRecipes(recipes: any[] /*java.util.Collection*/): number; - /** - * Undiscover a recipe for this player such that it has already been - * discovered. This method will remove the key's associated recipe from the - * player's recipe book. - */ - undiscoverRecipe(recipe: org.bukkit.NamespacedKey): boolean; - /** - * Undiscover a collection of recipes for this player such that they have - * already been discovered. This method will remove the keys' associated - * recipes from the player's recipe book. If a recipe in the provided - * collection has not yet been discovered, it will be silently ignored. - */ - undiscoverRecipes(recipes: any[] /*java.util.Collection*/): number; - /** - * Gets the entity currently perched on the left shoulder or null if no - * entity. - *
- * The returned entity will not be spawned within the world, so most - * operations are invalid unless the entity is first spawned in. - */ - getShoulderEntityLeft(): org.bukkit.entity.Entity; - /** - * Sets the entity currently perched on the left shoulder, or null to - * remove. This method will remove the entity from the world. - *
- * Note that only a copy of the entity will be set to display on the - * shoulder. - *
- * Also note that the client will currently only render {@link Parrot} - * entities. - */ - setShoulderEntityLeft(entity: org.bukkit.entity.Entity): void; - /** - * Gets the entity currently perched on the right shoulder or null if no - * entity. - *
- * The returned entity will not be spawned within the world, so most - * operations are invalid unless the entity is first spawned in. - */ - getShoulderEntityRight(): org.bukkit.entity.Entity; - /** - * Sets the entity currently perched on the right shoulder, or null to - * remove. This method will remove the entity from the world. - *
- * Note that only a copy of the entity will be set to display on the - * shoulder. - *
- * Also note that the client will currently only render {@link Parrot} - * entities. - */ - setShoulderEntityRight(entity: org.bukkit.entity.Entity): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Husk.ts b/packages/bukkit/src/typings/org.bukkit.entity.Husk.ts deleted file mode 100644 index f1cf1de8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Husk.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Husk extends org.bukkit.entity.Zombie { - /** - * Get if this entity is in the process of converting to a Zombie as a - * result of being underwater. - */ - isConverting(): boolean; - /** - * Gets the amount of ticks until this entity will be converted to a Zombie - * as a result of being underwater. - * When this reaches 0, the entity will be converted. - */ - getConversionTime(): number; - /** - * Sets the amount of ticks until this entity will be converted to a Zombie - * as a result of being underwater. - * When this reaches 0, the entity will be converted. A value of less than 0 - * will stop the current conversion process without converting the current - * entity. - */ - setConversionTime(time: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Illager.ts b/packages/bukkit/src/typings/org.bukkit.entity.Illager.ts deleted file mode 100644 index 9a30e8e8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Illager.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Illager extends org.bukkit.entity.Raider { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Illusioner.ts b/packages/bukkit/src/typings/org.bukkit.entity.Illusioner.ts deleted file mode 100644 index 6ed3e41f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Illusioner.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Illusioner extends org.bukkit.entity.Spellcaster { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.IronGolem.ts b/packages/bukkit/src/typings/org.bukkit.entity.IronGolem.ts deleted file mode 100644 index c87bb04e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.IronGolem.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface IronGolem extends org.bukkit.entity.Golem { - /** - * Gets whether this iron golem was built by a player. - */ - isPlayerCreated(): boolean; - /** - * Sets whether this iron golem was built by a player or not. - */ - setPlayerCreated(playerCreated: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Item.ts b/packages/bukkit/src/typings/org.bukkit.entity.Item.ts deleted file mode 100644 index 2a2daae5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Item.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Item extends org.bukkit.entity.Entity { - /** - * Gets the item stack associated with this item drop. - */ - getItemStack(): org.bukkit.inventory.ItemStack; - /** - * Sets the item stack associated with this item drop. - */ - setItemStack(stack: org.bukkit.inventory.ItemStack): void; - /** - * Gets the delay before this Item is available to be picked up by players - */ - getPickupDelay(): number; - /** - * Sets the delay before this Item is available to be picked up by players - */ - setPickupDelay(delay: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.ItemFrame.ts b/packages/bukkit/src/typings/org.bukkit.entity.ItemFrame.ts deleted file mode 100644 index 7d5547a7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.ItemFrame.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface ItemFrame extends org.bukkit.entity.Hanging { - /** - * Get the item in this frame - */ - getItem(): org.bukkit.inventory.ItemStack; - /** - * Set the item in this frame - */ - setItem(item: org.bukkit.inventory.ItemStack): void; - /** - * Set the item in this frame - */ - setItem(item: org.bukkit.inventory.ItemStack, playSound: boolean): void; - /** - * Get the rotation of the frame's item - */ - getRotation(): org.bukkit.Rotation; - /** - * Set the rotation of the frame's item - */ - setRotation(rotation: org.bukkit.Rotation): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.LargeFireball.ts b/packages/bukkit/src/typings/org.bukkit.entity.LargeFireball.ts deleted file mode 100644 index 20488717..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.LargeFireball.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface LargeFireball extends org.bukkit.entity.Fireball { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.LeashHitch.ts b/packages/bukkit/src/typings/org.bukkit.entity.LeashHitch.ts deleted file mode 100644 index 3e8e0288..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.LeashHitch.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface LeashHitch extends org.bukkit.entity.Hanging { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.LightningStrike.ts b/packages/bukkit/src/typings/org.bukkit.entity.LightningStrike.ts deleted file mode 100644 index 03f70acd..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.LightningStrike.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface LightningStrike extends org.bukkit.entity.Entity { - /** - * Returns whether the strike is an effect that does no damage. - */ - isEffect(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.LingeringPotion.ts b/packages/bukkit/src/typings/org.bukkit.entity.LingeringPotion.ts deleted file mode 100644 index cf978ed8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.LingeringPotion.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface LingeringPotion extends org.bukkit.entity.ThrownPotion { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.LivingEntity.ts b/packages/bukkit/src/typings/org.bukkit.entity.LivingEntity.ts deleted file mode 100644 index 5397a2de..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.LivingEntity.ts +++ /dev/null @@ -1,285 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface LivingEntity extends org.bukkit.attribute.Attributable, org.bukkit.entity.Damageable, org.bukkit.projectiles.ProjectileSource { - /** - * Gets the height of the living entity's eyes above its Location. - */ - getEyeHeight(): number; - /** - * Gets the height of the living entity's eyes above its Location. - */ - getEyeHeight(ignorePose: boolean): number; - /** - * Get a Location detailing the current eye position of the living entity. - */ - getEyeLocation(): org.bukkit.Location; - /** - * Gets all blocks along the living entity's line of sight. - *

- * This list contains all blocks from the living entity's eye position to - * target inclusive. This method considers all blocks as 1x1x1 in size. - */ - getLineOfSight(transparent: any[] /*java.util.Set*/, maxDistance: number): any[] /*java.util.List*/; - /** - * Gets the block that the living entity has targeted. - *

- * This method considers all blocks as 1x1x1 in size. To take exact block - * collision shapes into account, see {@link #getTargetBlockExact(int, - * FluidCollisionMode)}. - */ - getTargetBlock(transparent: any[] /*java.util.Set*/, maxDistance: number): org.bukkit.block.Block; - /** - * Gets the last two blocks along the living entity's line of sight. - *

- * The target block will be the last block in the list. This method - * considers all blocks as 1x1x1 in size. - */ - getLastTwoTargetBlocks(transparent: any[] /*java.util.Set*/, maxDistance: number): any[] /*java.util.List*/; - /** - * Gets the block that the living entity has targeted. - *

- * This takes the blocks' precise collision shapes into account. Fluids are - * ignored. - *

- * This may cause loading of chunks! Some implementations may impose - * artificial restrictions on the maximum distance. - */ - getTargetBlockExact(maxDistance: number): org.bukkit.block.Block; - /** - * Gets the block that the living entity has targeted. - *

- * This takes the blocks' precise collision shapes into account. - *

- * This may cause loading of chunks! Some implementations may impose - * artificial restrictions on the maximum distance. - */ - getTargetBlockExact(maxDistance: number, fluidCollisionMode: org.bukkit.FluidCollisionMode): org.bukkit.block.Block; - /** - * Performs a ray trace that provides information on the targeted block. - *

- * This takes the blocks' precise collision shapes into account. Fluids are - * ignored. - *

- * This may cause loading of chunks! Some implementations may impose - * artificial restrictions on the maximum distance. - */ - rayTraceBlocks(maxDistance: number): org.bukkit.util.RayTraceResult; - /** - * Performs a ray trace that provides information on the targeted block. - *

- * This takes the blocks' precise collision shapes into account. - *

- * This may cause loading of chunks! Some implementations may impose - * artificial restrictions on the maximum distance. - */ - rayTraceBlocks(maxDistance: number, fluidCollisionMode: org.bukkit.FluidCollisionMode): org.bukkit.util.RayTraceResult; - /** - * Returns the amount of air that the living entity has remaining, in - * ticks. - */ - getRemainingAir(): number; - /** - * Sets the amount of air that the living entity has remaining, in ticks. - */ - setRemainingAir(ticks: number): void; - /** - * Returns the maximum amount of air the living entity can have, in ticks. - */ - getMaximumAir(): number; - /** - * Sets the maximum amount of air the living entity can have, in ticks. - */ - setMaximumAir(ticks: number): void; - /** - * Returns the living entity's current maximum no damage ticks. - *

- * This is the maximum duration in which the living entity will not take - * damage. - */ - getMaximumNoDamageTicks(): number; - /** - * Sets the living entity's current maximum no damage ticks. - */ - setMaximumNoDamageTicks(ticks: number): void; - /** - * Returns the living entity's last damage taken in the current no damage - * ticks time. - *

- * Only damage higher than this amount will further damage the living - * entity. - */ - getLastDamage(): number; - /** - * Sets the damage dealt within the current no damage ticks time period. - */ - setLastDamage(damage: number): void; - /** - * Returns the living entity's current no damage ticks. - */ - getNoDamageTicks(): number; - /** - * Sets the living entity's current no damage ticks. - */ - setNoDamageTicks(ticks: number): void; - /** - * Gets the player identified as the killer of the living entity. - *

- * May be null. - */ - getKiller(): org.bukkit.entity.Player; - /** - * Adds the given {@link PotionEffect} to the living entity. - *

- * Only one potion effect can be present for a given {@link - * PotionEffectType}. - */ - addPotionEffect(effect: org.bukkit.potion.PotionEffect): boolean; - /** - * Adds the given {@link PotionEffect} to the living entity. - *

- * Only one potion effect can be present for a given {@link - * PotionEffectType}. - */ - addPotionEffect(effect: org.bukkit.potion.PotionEffect, force: boolean): boolean; - /** - * Attempts to add all of the given {@link PotionEffect} to the living - * entity. - */ - addPotionEffects(effects: any[] /*java.util.Collection*/): boolean; - /** - * Returns whether the living entity already has an existing effect of - * the given {@link PotionEffectType} applied to it. - */ - hasPotionEffect(type: org.bukkit.potion.PotionEffectType): boolean; - /** - * Returns the active {@link PotionEffect} of the specified type. - *

- * If the effect is not present on the entity then null will be returned. - */ - getPotionEffect(type: org.bukkit.potion.PotionEffectType): org.bukkit.potion.PotionEffect; - /** - * Removes any effects present of the given {@link PotionEffectType}. - */ - removePotionEffect(type: org.bukkit.potion.PotionEffectType): void; - /** - * Returns all currently active {@link PotionEffect}s on the living - * entity. - */ - getActivePotionEffects(): any[] /*java.util.Collection*/; - /** - * Checks whether the living entity has block line of sight to another. - *

- * This uses the same algorithm that hostile mobs use to find the closest - * player. - */ - hasLineOfSight(other: org.bukkit.entity.Entity): boolean; - /** - * Returns if the living entity despawns when away from players or not. - *

- * By default, animals are not removed while other mobs are. - */ - getRemoveWhenFarAway(): boolean; - /** - * Sets whether or not the living entity despawns when away from players - * or not. - */ - setRemoveWhenFarAway(remove: boolean): void; - /** - * Gets the inventory with the equipment worn by the living entity. - */ - getEquipment(): org.bukkit.inventory.EntityEquipment; - /** - * Sets whether or not the living entity can pick up items. - */ - setCanPickupItems(pickup: boolean): void; - /** - * Gets if the living entity can pick up items. - */ - getCanPickupItems(): boolean; - /** - * Returns whether the entity is currently leashed. - */ - isLeashed(): boolean; - /** - * Gets the entity that is currently leading this entity. - */ - getLeashHolder(): org.bukkit.entity.Entity; - /** - * Sets the leash on this entity to be held by the supplied entity. - *

- * This method has no effect on EnderDragons, Withers, Players, or Bats. - * Non-living entities excluding leashes will not persist as leash - * holders. - */ - setLeashHolder(holder: org.bukkit.entity.Entity): boolean; - /** - * Checks to see if an entity is gliding, such as using an Elytra. - */ - isGliding(): boolean; - /** - * Makes entity start or stop gliding. This will work even if an Elytra - * is not equipped, but will be reverted by the server immediately after - * unless an event-cancelling mechanism is put in place. - */ - setGliding(gliding: boolean): void; - /** - * Checks to see if an entity is swimming. - */ - isSwimming(): boolean; - /** - * Makes entity start or stop swimming. - * This may have unexpected results if the entity is not in water. - */ - setSwimming(swimming: boolean): void; - /** - * Checks to see if an entity is currently using the Riptide enchantment. - */ - isRiptiding(): boolean; - /** - * Returns whether this entity is slumbering. - */ - isSleeping(): boolean; - /** - * Sets whether an entity will have AI. - */ - setAI(ai: boolean): void; - /** - * Checks whether an entity has AI. - */ - hasAI(): boolean; - /** - * Set if this entity will be subject to collisions other entities. - *

- * Note that collisions are bidirectional, so this method would need to be - * set to false on both the collidee and the collidant to ensure no - * collisions take place. - */ - setCollidable(collidable: boolean): void; - /** - * Gets if this entity is subject to collisions with other entities. - *

- * Please note that this method returns only the custom collidable state, - * not whether the entity is non-collidable for other reasons such as being - * dead. - */ - isCollidable(): boolean; - /** - * Returns the value of the memory specified. - *

- * Note that the value is null when the specific entity does not have that - * value by default. - */ - getMemory(memoryKey: org.bukkit.entity.memory.MemoryKey): any; - /** - * Sets the value of the memory specified. - *

- * Note that the value will not be persisted when the specific entity does - * not have that value by default. - */ - setMemory(memoryKey: org.bukkit.entity.memory.MemoryKey, memoryValue: any): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Llama.Color.ts b/packages/bukkit/src/typings/org.bukkit.entity.Llama.Color.ts deleted file mode 100644 index e2140cca..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Llama.Color.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Llama { - // @ts-ignore - class Color { - public static CREAMY: org.bukkit.entity.Llama.Color; - public static WHITE: org.bukkit.entity.Llama.Color; - public static BROWN: org.bukkit.entity.Llama.Color; - public static GRAY: org.bukkit.entity.Llama.Color; - public static values(): org.bukkit.entity.Llama.Color[]; - public static valueOf(name: string): org.bukkit.entity.Llama.Color; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Llama.ts b/packages/bukkit/src/typings/org.bukkit.entity.Llama.ts deleted file mode 100644 index 14b27dcb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Llama.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Llama extends org.bukkit.entity.ChestedHorse { - /** - * Gets the llama's color. - */ - getColor(): org.bukkit.entity.Llama.Color; - /** - * Sets the llama's color. - */ - setColor(color: org.bukkit.entity.Llama.Color): void; - /** - * Gets the llama's strength. A higher strength llama will have more - * inventory slots and be more threatening to entities. - */ - getStrength(): number; - /** - * Sets the llama's strength. A higher strength llama will have more - * inventory slots and be more threatening to entities. Inventory slots are - * equal to strength * 3. - */ - setStrength(strength: number): void; - getInventory(): org.bukkit.inventory.LlamaInventory; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.LlamaSpit.ts b/packages/bukkit/src/typings/org.bukkit.entity.LlamaSpit.ts deleted file mode 100644 index dc429021..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.LlamaSpit.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface LlamaSpit extends org.bukkit.entity.Projectile { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.MagmaCube.ts b/packages/bukkit/src/typings/org.bukkit.entity.MagmaCube.ts deleted file mode 100644 index 846dc4a4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.MagmaCube.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface MagmaCube extends org.bukkit.entity.Slime { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Minecart.ts b/packages/bukkit/src/typings/org.bukkit.entity.Minecart.ts deleted file mode 100644 index 302a92f5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Minecart.ts +++ /dev/null @@ -1,90 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Minecart extends org.bukkit.entity.Vehicle { - /** - * Sets a minecart's damage. - */ - setDamage(damage: number): void; - /** - * Gets a minecart's damage. - */ - getDamage(): number; - /** - * Gets the maximum speed of a minecart. The speed is unrelated to the - * velocity. - */ - getMaxSpeed(): number; - /** - * Sets the maximum speed of a minecart. Must be nonnegative. Default is - * 0.4D. - */ - setMaxSpeed(speed: number): void; - /** - * Returns whether this minecart will slow down faster without a passenger - * occupying it - */ - isSlowWhenEmpty(): boolean; - /** - * Sets whether this minecart will slow down faster without a passenger - * occupying it - */ - setSlowWhenEmpty(slow: boolean): void; - /** - * Gets the flying velocity modifier. Used for minecarts that are in - * mid-air. A flying minecart's velocity is multiplied by this factor each - * tick. - */ - getFlyingVelocityMod(): org.bukkit.util.Vector; - /** - * Sets the flying velocity modifier. Used for minecarts that are in - * mid-air. A flying minecart's velocity is multiplied by this factor each - * tick. - */ - setFlyingVelocityMod(flying: org.bukkit.util.Vector): void; - /** - * Gets the derailed velocity modifier. Used for minecarts that are on the - * ground, but not on rails. - *

- * A derailed minecart's velocity is multiplied by this factor each tick. - */ - getDerailedVelocityMod(): org.bukkit.util.Vector; - /** - * Sets the derailed velocity modifier. Used for minecarts that are on the - * ground, but not on rails. A derailed minecart's velocity is multiplied - * by this factor each tick. - */ - setDerailedVelocityMod(derailed: org.bukkit.util.Vector): void; - /** - * Sets the display block for this minecart. - * Passing a null value will set the minecart to have no display block. - */ - setDisplayBlock(material: org.bukkit.material.MaterialData): void; - /** - * Gets the display block for this minecart. - * This function will return the type AIR if none is set. - */ - getDisplayBlock(): org.bukkit.material.MaterialData; - /** - * Sets the display block for this minecart. - * Passing a null value will set the minecart to have no display block. - */ - setDisplayBlockData(blockData: org.bukkit.block.data.BlockData): void; - /** - * Gets the display block for this minecart. - * This function will return the type AIR if none is set. - */ - getDisplayBlockData(): org.bukkit.block.data.BlockData; - /** - * Sets the offset of the display block. - */ - setDisplayBlockOffset(offset: number): void; - /** - * Gets the offset of the display block. - */ - getDisplayBlockOffset(): number; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Mob.ts b/packages/bukkit/src/typings/org.bukkit.entity.Mob.ts deleted file mode 100644 index e73a90e9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Mob.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Mob extends org.bukkit.entity.LivingEntity, org.bukkit.loot.Lootable { - /** - * Instructs this Mob to set the specified LivingEntity as its target. - *

- * Hostile creatures may attack their target, and friendly creatures may - * follow their target. - */ - setTarget(target: org.bukkit.entity.LivingEntity): void; - /** - * Gets the current target of this Mob - */ - getTarget(): org.bukkit.entity.LivingEntity; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Monster.ts b/packages/bukkit/src/typings/org.bukkit.entity.Monster.ts deleted file mode 100644 index 229930f5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Monster.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Monster extends org.bukkit.entity.Creature { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Mule.ts b/packages/bukkit/src/typings/org.bukkit.entity.Mule.ts deleted file mode 100644 index 5aa2d77e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Mule.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Mule extends org.bukkit.entity.ChestedHorse { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.MushroomCow.Variant.ts b/packages/bukkit/src/typings/org.bukkit.entity.MushroomCow.Variant.ts deleted file mode 100644 index 90f1a11e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.MushroomCow.Variant.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace MushroomCow { - // @ts-ignore - class Variant { - public static RED: org.bukkit.entity.MushroomCow.Variant; - public static BROWN: org.bukkit.entity.MushroomCow.Variant; - public static values(): org.bukkit.entity.MushroomCow.Variant[]; - public static valueOf(name: string): org.bukkit.entity.MushroomCow.Variant; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.MushroomCow.ts b/packages/bukkit/src/typings/org.bukkit.entity.MushroomCow.ts deleted file mode 100644 index 58ab05b0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.MushroomCow.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface MushroomCow extends org.bukkit.entity.Cow { - /** - * Get the variant of this cow. - */ - getVariant(): org.bukkit.entity.MushroomCow.Variant; - /** - * Set the variant of this cow. - */ - setVariant(variant: org.bukkit.entity.MushroomCow.Variant): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.NPC.ts b/packages/bukkit/src/typings/org.bukkit.entity.NPC.ts deleted file mode 100644 index 9ca7e1f7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.NPC.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface NPC extends org.bukkit.entity.Creature { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Ocelot.Type.ts b/packages/bukkit/src/typings/org.bukkit.entity.Ocelot.Type.ts deleted file mode 100644 index c0ccc5bb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Ocelot.Type.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Ocelot { - // @ts-ignore - class Type { - public static WILD_OCELOT: org.bukkit.entity.Ocelot.Type; - public static BLACK_CAT: org.bukkit.entity.Ocelot.Type; - public static RED_CAT: org.bukkit.entity.Ocelot.Type; - public static SIAMESE_CAT: org.bukkit.entity.Ocelot.Type; - public static values(): org.bukkit.entity.Ocelot.Type[]; - public static valueOf(name: string): org.bukkit.entity.Ocelot.Type; - /** - * Gets the ID of this cat type. - */ - public getId(): number; - /** - * Gets a cat type by its ID. - */ - public static getType(id: number): org.bukkit.entity.Ocelot.Type; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Ocelot.ts b/packages/bukkit/src/typings/org.bukkit.entity.Ocelot.ts deleted file mode 100644 index dd509f2a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Ocelot.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Ocelot extends org.bukkit.entity.Animals { - /** - * Gets the current type of this cat. - */ - getCatType(): org.bukkit.entity.Ocelot.Type; - /** - * Sets the current type of this cat. - */ - setCatType(type: org.bukkit.entity.Ocelot.Type): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Painting.ts b/packages/bukkit/src/typings/org.bukkit.entity.Painting.ts deleted file mode 100644 index 2a214b23..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Painting.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Painting extends org.bukkit.entity.Hanging { - /** - * Get the art on this painting - */ - getArt(): org.bukkit.Art; - /** - * Set the art on this painting - */ - setArt(art: org.bukkit.Art): boolean; - /** - * Set the art on this painting - */ - setArt(art: org.bukkit.Art, force: boolean): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Panda.Gene.ts b/packages/bukkit/src/typings/org.bukkit.entity.Panda.Gene.ts deleted file mode 100644 index ce398706..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Panda.Gene.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Panda { - // @ts-ignore - class Gene { - public static NORMAL: org.bukkit.entity.Panda.Gene; - public static LAZY: org.bukkit.entity.Panda.Gene; - public static WORRIED: org.bukkit.entity.Panda.Gene; - public static PLAYFUL: org.bukkit.entity.Panda.Gene; - public static BROWN: org.bukkit.entity.Panda.Gene; - public static WEAK: org.bukkit.entity.Panda.Gene; - public static AGGRESSIVE: org.bukkit.entity.Panda.Gene; - public static values(): org.bukkit.entity.Panda.Gene[]; - public static valueOf(name: string): org.bukkit.entity.Panda.Gene; - /** - * Gets whether this gene is recessive, i.e. required in both parents to - * propagate to children. - */ - public isRecessive(): boolean; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Panda.ts b/packages/bukkit/src/typings/org.bukkit.entity.Panda.ts deleted file mode 100644 index 083a0de6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Panda.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Panda extends org.bukkit.entity.Animals { - /** - * Gets this Panda's main gene. - */ - getMainGene(): org.bukkit.entity.Panda.Gene; - /** - * Sets this Panda's main gene. - */ - setMainGene(gene: org.bukkit.entity.Panda.Gene): void; - /** - * Gets this Panda's hidden gene. - */ - getHiddenGene(): org.bukkit.entity.Panda.Gene; - /** - * Sets this Panda's hidden gene. - */ - setHiddenGene(gene: org.bukkit.entity.Panda.Gene): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Parrot.Variant.ts b/packages/bukkit/src/typings/org.bukkit.entity.Parrot.Variant.ts deleted file mode 100644 index ec131303..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Parrot.Variant.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Parrot { - // @ts-ignore - class Variant { - public static RED: org.bukkit.entity.Parrot.Variant; - public static BLUE: org.bukkit.entity.Parrot.Variant; - public static GREEN: org.bukkit.entity.Parrot.Variant; - public static CYAN: org.bukkit.entity.Parrot.Variant; - public static GRAY: org.bukkit.entity.Parrot.Variant; - public static values(): org.bukkit.entity.Parrot.Variant[]; - public static valueOf(name: string): org.bukkit.entity.Parrot.Variant; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Parrot.ts b/packages/bukkit/src/typings/org.bukkit.entity.Parrot.ts deleted file mode 100644 index 4f80277b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Parrot.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Parrot extends org.bukkit.entity.Animals, org.bukkit.entity.Tameable, org.bukkit.entity.Sittable { - /** - * Get the variant of this parrot. - */ - getVariant(): org.bukkit.entity.Parrot.Variant; - /** - * Set the variant of this parrot. - */ - setVariant(variant: org.bukkit.entity.Parrot.Variant): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Phantom.ts b/packages/bukkit/src/typings/org.bukkit.entity.Phantom.ts deleted file mode 100644 index b10d7554..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Phantom.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Phantom extends org.bukkit.entity.Flying { - getSize(): number; - setSize(sz: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Pig.ts b/packages/bukkit/src/typings/org.bukkit.entity.Pig.ts deleted file mode 100644 index 6e71f742..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Pig.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Pig extends org.bukkit.entity.Animals, org.bukkit.entity.Vehicle { - /** - * Check if the pig has a saddle. - */ - hasSaddle(): boolean; - /** - * Sets if the pig has a saddle or not - */ - setSaddle(saddled: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.PigZombie.ts b/packages/bukkit/src/typings/org.bukkit.entity.PigZombie.ts deleted file mode 100644 index 4111f841..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.PigZombie.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface PigZombie extends org.bukkit.entity.Zombie { - /** - * Get the pig zombie's current anger level. - */ - getAnger(): number; - /** - * Set the pig zombie's current anger level. - */ - setAnger(level: number): void; - /** - * Shorthand; sets to either 0 or the default level. - */ - setAngry(angry: boolean): void; - /** - * Shorthand; gets whether the zombie is angry. - */ - isAngry(): boolean; - /** - * Not applicable to this entity - */ - isConverting(): boolean; - /** - * Not applicable to this entity - */ - getConversionTime(): number; - /** - * Not applicable to this entity - */ - setConversionTime(time: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Pillager.ts b/packages/bukkit/src/typings/org.bukkit.entity.Pillager.ts deleted file mode 100644 index 72b7f545..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Pillager.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Pillager extends org.bukkit.entity.Illager, org.bukkit.inventory.InventoryHolder { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Player.ts b/packages/bukkit/src/typings/org.bukkit.entity.Player.ts deleted file mode 100644 index a194465c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Player.ts +++ /dev/null @@ -1,773 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Player extends org.bukkit.entity.HumanEntity, org.bukkit.conversations.Conversable, org.bukkit.OfflinePlayer, org.bukkit.plugin.messaging.PluginMessageRecipient { - /** - * Gets the "friendly" name to display of this player. This may include - * color. - *

- * Note that this name will not be displayed in game, only in chat and - * places defined by plugins. - */ - getDisplayName(): string; - /** - * Sets the "friendly" name to display of this player. This may include - * color. - *

- * Note that this name will not be displayed in game, only in chat and - * places defined by plugins. - */ - setDisplayName(name: string): void; - /** - * Gets the name that is shown on the player list. - */ - getPlayerListName(): string; - /** - * Sets the name that is shown on the in-game player list. - *

- * If the value is null, the name will be identical to {@link #getName()}. - */ - setPlayerListName(name: string): void; - /** - * Gets the currently displayed player list header for this player. - */ - getPlayerListHeader(): string; - /** - * Gets the currently displayed player list footer for this player. - */ - getPlayerListFooter(): string; - /** - * Sets the currently displayed player list header for this player. - */ - setPlayerListHeader(header: string): void; - /** - * Sets the currently displayed player list footer for this player. - */ - setPlayerListFooter(footer: string): void; - /** - * Sets the currently displayed player list header and footer for this - * player. - */ - setPlayerListHeaderFooter(header: string, footer: string): void; - /** - * Set the target of the player's compass. - */ - setCompassTarget(loc: org.bukkit.Location): void; - /** - * Get the previously set compass target. - */ - getCompassTarget(): org.bukkit.Location; - /** - * Gets the socket address of this player - */ - getAddress(): any; - /** - * Sends this sender a message raw - */ - sendRawMessage(message: string): void; - /** - * Kicks player with custom kick message. - */ - kickPlayer(message: string): void; - /** - * Says a message (or runs a command). - */ - chat(msg: string): void; - /** - * Makes the player perform the given command - */ - performCommand(command: string): boolean; - /** - * Returns if the player is in sneak mode - */ - isSneaking(): boolean; - /** - * Sets the sneak mode the player - */ - setSneaking(sneak: boolean): void; - /** - * Gets whether the player is sprinting or not. - */ - isSprinting(): boolean; - /** - * Sets whether the player is sprinting or not. - */ - setSprinting(sprinting: boolean): void; - /** - * Saves the players current location, health, inventory, motion, and - * other information into the username.dat file, in the world/player - * folder - */ - saveData(): void; - /** - * Loads the players current location, health, inventory, motion, and - * other information from the username.dat file, in the world/player - * folder. - *

- * Note: This will overwrite the players current inventory, health, - * motion, etc, with the state from the saved dat file. - */ - loadData(): void; - /** - * Sets whether the player is ignored as not sleeping. If everyone is - * either sleeping or has this flag set, then time will advance to the - * next day. If everyone has this flag set but no one is actually in bed, - * then nothing will happen. - */ - setSleepingIgnored(isSleeping: boolean): void; - /** - * Returns whether the player is sleeping ignored. - */ - isSleepingIgnored(): boolean; - /** - * Play a note for a player at a location. This requires a note block - * at the particular location (as far as the client is concerned). This - * will not work without a note block. This will not work with cake. - */ - playNote(loc: org.bukkit.Location, instrument: number, note: number): void; - /** - * Play a note for a player at a location. This requires a note block - * at the particular location (as far as the client is concerned). This - * will not work without a note block. This will not work with cake. - */ - playNote(loc: org.bukkit.Location, instrument: org.bukkit.Instrument, note: org.bukkit.Note): void; - /** - * Play a sound for a player at the location. - *

- * This function will fail silently if Location or Sound are null. - */ - playSound(location: org.bukkit.Location, sound: org.bukkit.Sound, volume: number, pitch: number): void; - /** - * Play a sound for a player at the location. - *

- * This function will fail silently if Location or Sound are null. No - * sound will be heard by the player if their client does not have the - * respective sound for the value passed. - */ - playSound(location: org.bukkit.Location, sound: string, volume: number, pitch: number): void; - /** - * Play a sound for a player at the location. - *

- * This function will fail silently if Location or Sound are null. - */ - playSound(location: org.bukkit.Location, sound: org.bukkit.Sound, category: org.bukkit.SoundCategory, volume: number, pitch: number): void; - /** - * Play a sound for a player at the location. - *

- * This function will fail silently if Location or Sound are null. No sound - * will be heard by the player if their client does not have the respective - * sound for the value passed. - */ - playSound(location: org.bukkit.Location, sound: string, category: org.bukkit.SoundCategory, volume: number, pitch: number): void; - /** - * Stop the specified sound from playing. - */ - stopSound(sound: org.bukkit.Sound): void; - /** - * Stop the specified sound from playing. - */ - stopSound(sound: string): void; - /** - * Stop the specified sound from playing. - */ - stopSound(sound: org.bukkit.Sound, category: org.bukkit.SoundCategory): void; - /** - * Stop the specified sound from playing. - */ - stopSound(sound: string, category: org.bukkit.SoundCategory): void; - /** - * Plays an effect to just this player. - */ - playEffect(loc: org.bukkit.Location, effect: org.bukkit.Effect, data: number): void; - /** - * Plays an effect to just this player. - */ - playEffect(loc: org.bukkit.Location, effect: org.bukkit.Effect, data: any): void; - /** - * Send a block change. This fakes a block change packet for a user at a - * certain location. This will not actually change the world in any way. - */ - sendBlockChange(loc: org.bukkit.Location, material: org.bukkit.Material, data: number): void; - /** - * Send a block change. This fakes a block change packet for a user at a - * certain location. This will not actually change the world in any way. - */ - sendBlockChange(loc: org.bukkit.Location, block: org.bukkit.block.data.BlockData): void; - /** - * Send a chunk change. This fakes a chunk change packet for a user at a - * certain location. The updated cuboid must be entirely within a single - * chunk. This will not actually change the world in any way. - *

- * At least one of the dimensions of the cuboid must be even. The size of - * the data buffer must be 2.5*sx*sy*sz and formatted in accordance with - * the Packet51 format. - */ - sendChunkChange(loc: org.bukkit.Location, sx: number, sy: number, sz: number, data: number): boolean; - /** - * Send a sign change. This fakes a sign change packet for a user at - * a certain location. This will not actually change the world in any way. - * This method will use a sign at the location's block or a faked sign - * sent via - * {@link #sendBlockChange(org.bukkit.Location, org.bukkit.Material, byte)}. - *

- * If the client does not have a sign at the given location it will - * display an error message to the user. - */ - sendSignChange(loc: org.bukkit.Location, lines: string): void; - /** - * Send a sign change. This fakes a sign change packet for a user at - * a certain location. This will not actually change the world in any way. - * This method will use a sign at the location's block or a faked sign - * sent via - * {@link #sendBlockChange(org.bukkit.Location, org.bukkit.Material, byte)}. - *

- * If the client does not have a sign at the given location it will - * display an error message to the user. - */ - sendSignChange(loc: org.bukkit.Location, lines: string, dyeColor: org.bukkit.DyeColor): void; - /** - * Render a map and send it to the player in its entirety. This may be - * used when streaming the map in the normal manner is not desirable. - */ - sendMap(map: org.bukkit.map.MapView): void; - /** - * Forces an update of the player's entire inventory. - */ - updateInventory(): void; - /** - * Awards the given achievement and any parent achievements that the - * player does not have. - */ - awardAchievement(achievement: org.bukkit.Achievement): void; - /** - * Removes the given achievement and any children achievements that the - * player has. - */ - removeAchievement(achievement: org.bukkit.Achievement): void; - /** - * Gets whether this player has the given achievement. - */ - hasAchievement(achievement: org.bukkit.Achievement): boolean; - /** - * Increments the given statistic for this player. - *

- * This is equivalent to the following code: - * incrementStatistic(Statistic, 1) - */ - incrementStatistic(statistic: org.bukkit.Statistic): void; - /** - * Decrements the given statistic for this player. - *

- * This is equivalent to the following code: - * decrementStatistic(Statistic, 1) - */ - decrementStatistic(statistic: org.bukkit.Statistic): void; - /** - * Increments the given statistic for this player. - */ - incrementStatistic(statistic: org.bukkit.Statistic, amount: number): void; - /** - * Decrements the given statistic for this player. - */ - decrementStatistic(statistic: org.bukkit.Statistic, amount: number): void; - /** - * Sets the given statistic for this player. - */ - setStatistic(statistic: org.bukkit.Statistic, newValue: number): void; - /** - * Gets the value of the given statistic for this player. - */ - getStatistic(statistic: org.bukkit.Statistic): number; - /** - * Increments the given statistic for this player for the given material. - *

- * This is equivalent to the following code: - * incrementStatistic(Statistic, Material, 1) - */ - incrementStatistic(statistic: org.bukkit.Statistic, material: org.bukkit.Material): void; - /** - * Decrements the given statistic for this player for the given material. - *

- * This is equivalent to the following code: - * decrementStatistic(Statistic, Material, 1) - */ - decrementStatistic(statistic: org.bukkit.Statistic, material: org.bukkit.Material): void; - /** - * Gets the value of the given statistic for this player. - */ - getStatistic(statistic: org.bukkit.Statistic, material: org.bukkit.Material): number; - /** - * Increments the given statistic for this player for the given material. - */ - incrementStatistic(statistic: org.bukkit.Statistic, material: org.bukkit.Material, amount: number): void; - /** - * Decrements the given statistic for this player for the given material. - */ - decrementStatistic(statistic: org.bukkit.Statistic, material: org.bukkit.Material, amount: number): void; - /** - * Sets the given statistic for this player for the given material. - */ - setStatistic(statistic: org.bukkit.Statistic, material: org.bukkit.Material, newValue: number): void; - /** - * Increments the given statistic for this player for the given entity. - *

- * This is equivalent to the following code: - * incrementStatistic(Statistic, EntityType, 1) - */ - incrementStatistic(statistic: org.bukkit.Statistic, entityType: org.bukkit.entity.EntityType): void; - /** - * Decrements the given statistic for this player for the given entity. - *

- * This is equivalent to the following code: - * decrementStatistic(Statistic, EntityType, 1) - */ - decrementStatistic(statistic: org.bukkit.Statistic, entityType: org.bukkit.entity.EntityType): void; - /** - * Gets the value of the given statistic for this player. - */ - getStatistic(statistic: org.bukkit.Statistic, entityType: org.bukkit.entity.EntityType): number; - /** - * Increments the given statistic for this player for the given entity. - */ - incrementStatistic(statistic: org.bukkit.Statistic, entityType: org.bukkit.entity.EntityType, amount: number): void; - /** - * Decrements the given statistic for this player for the given entity. - */ - decrementStatistic(statistic: org.bukkit.Statistic, entityType: org.bukkit.entity.EntityType, amount: number): void; - /** - * Sets the given statistic for this player for the given entity. - */ - setStatistic(statistic: org.bukkit.Statistic, entityType: org.bukkit.entity.EntityType, newValue: number): void; - /** - * Sets the current time on the player's client. When relative is true the - * player's time will be kept synchronized to its world time with the - * specified offset. - *

- * When using non relative time the player's time will stay fixed at the - * specified time parameter. It's up to the caller to continue updating - * the player's time. To restore player time to normal use - * resetPlayerTime(). - */ - setPlayerTime(time: number, relative: boolean): void; - /** - * Returns the player's current timestamp. - */ - getPlayerTime(): number; - /** - * Returns the player's current time offset relative to server time, or - * the current player's fixed time if the player's time is absolute. - */ - getPlayerTimeOffset(): number; - /** - * Returns true if the player's time is relative to the server time, - * otherwise the player's time is absolute and will not change its current - * time unless done so with setPlayerTime(). - */ - isPlayerTimeRelative(): boolean; - /** - * Restores the normal condition where the player's time is synchronized - * with the server time. - *

- * Equivalent to calling setPlayerTime(0, true). - */ - resetPlayerTime(): void; - /** - * Sets the type of weather the player will see. When used, the weather - * status of the player is locked until {@link #resetPlayerWeather()} is - * used. - */ - setPlayerWeather(type: org.bukkit.WeatherType): void; - /** - * Returns the type of weather the player is currently experiencing. - */ - getPlayerWeather(): org.bukkit.WeatherType; - /** - * Restores the normal condition where the player's weather is controlled - * by server conditions. - */ - resetPlayerWeather(): void; - /** - * Gives the player the amount of experience specified. - */ - giveExp(amount: number): void; - /** - * Gives the player the amount of experience levels specified. Levels can - * be taken by specifying a negative amount. - */ - giveExpLevels(amount: number): void; - /** - * Gets the players current experience points towards the next level. - *

- * This is a percentage value. 0 is "no progress" and 1 is "next level". - */ - getExp(): number; - /** - * Sets the players current experience points towards the next level - *

- * This is a percentage value. 0 is "no progress" and 1 is "next level". - */ - setExp(exp: number): void; - /** - * Gets the players current experience level - */ - getLevel(): number; - /** - * Sets the players current experience level - */ - setLevel(level: number): void; - /** - * Gets the players total experience points. - *
- * This refers to the total amount of experience the player has collected - * over time and is only displayed as the player's "score" upon dying. - */ - getTotalExperience(): number; - /** - * Sets the players current experience points. - *
- * This refers to the total amount of experience the player has collected - * over time and is only displayed as the player's "score" upon dying. - */ - setTotalExperience(exp: number): void; - /** - * Gets the players current exhaustion level. - *

- * Exhaustion controls how fast the food level drops. While you have a - * certain amount of exhaustion, your saturation will drop to zero, and - * then your food will drop to zero. - */ - getExhaustion(): number; - /** - * Sets the players current exhaustion level - */ - setExhaustion(value: number): void; - /** - * Gets the players current saturation level. - *

- * Saturation is a buffer for food level. Your food level will not drop if - * you are saturated {@literal >} 0. - */ - getSaturation(): number; - /** - * Sets the players current saturation level - */ - setSaturation(value: number): void; - /** - * Gets the players current food level - */ - getFoodLevel(): number; - /** - * Sets the players current food level - */ - setFoodLevel(value: number): void; - /** - * Determines if the Player is allowed to fly via jump key double-tap like - * in creative mode. - */ - getAllowFlight(): boolean; - /** - * Sets if the Player is allowed to fly via jump key double-tap like in - * creative mode. - */ - setAllowFlight(flight: boolean): void; - /** - * Hides a player from this player - */ - hidePlayer(player: org.bukkit.entity.Player): void; - /** - * Hides a player from this player - */ - hidePlayer(plugin: org.bukkit.plugin.Plugin, player: org.bukkit.entity.Player): void; - /** - * Allows this player to see a player that was previously hidden - */ - showPlayer(player: org.bukkit.entity.Player): void; - /** - * Allows this player to see a player that was previously hidden. If - * another another plugin had hidden the player too, then the player will - * remain hidden until the other plugin calls this method too. - */ - showPlayer(plugin: org.bukkit.plugin.Plugin, player: org.bukkit.entity.Player): void; - /** - * Checks to see if a player has been hidden from this player - */ - canSee(player: org.bukkit.entity.Player): boolean; - /** - * Checks to see if this player is currently flying or not. - */ - isFlying(): boolean; - /** - * Makes this player start or stop flying. - */ - setFlying(value: boolean): void; - /** - * Sets the speed at which a client will fly. Negative values indicate - * reverse directions. - */ - setFlySpeed(value: number): void; - /** - * Sets the speed at which a client will walk. Negative values indicate - * reverse directions. - */ - setWalkSpeed(value: number): void; - /** - * Gets the current allowed speed that a client can fly. - */ - getFlySpeed(): number; - /** - * Gets the current allowed speed that a client can walk. - */ - getWalkSpeed(): number; - /** - * Request that the player's client download and switch texture packs. - *

- * The player's client will download the new texture pack asynchronously - * in the background, and will automatically switch to it once the - * download is complete. If the client has downloaded and cached the same - * texture pack in the past, it will perform a file size check against - * the response content to determine if the texture pack has changed and - * needs to be downloaded again. When this request is sent for the very - * first time from a given server, the client will first display a - * confirmation GUI to the player before proceeding with the download. - *

- * Notes: - *

    - *
  • Players can disable server textures on their client, in which - * case this method will have no affect on them. Use the - * {@link PlayerResourcePackStatusEvent} to figure out whether or not - * the player loaded the pack! - *
  • There is no concept of resetting texture packs back to default - * within Minecraft, so players will have to relog to do so or you - * have to send an empty pack. - *
  • The request is send with "null" as the hash. This might result - * in newer versions not loading the pack correctly. - *
- */ - setTexturePack(url: string): void; - /** - * Request that the player's client download and switch resource packs. - *

- * The player's client will download the new resource pack asynchronously - * in the background, and will automatically switch to it once the - * download is complete. If the client has downloaded and cached the same - * resource pack in the past, it will perform a file size check against - * the response content to determine if the resource pack has changed and - * needs to be downloaded again. When this request is sent for the very - * first time from a given server, the client will first display a - * confirmation GUI to the player before proceeding with the download. - *

- * Notes: - *

    - *
  • Players can disable server resources on their client, in which - * case this method will have no affect on them. Use the - * {@link PlayerResourcePackStatusEvent} to figure out whether or not - * the player loaded the pack! - *
  • There is no concept of resetting resource packs back to default - * within Minecraft, so players will have to relog to do so or you - * have to send an empty pack. - *
  • The request is send with "null" as the hash. This might result - * in newer versions not loading the pack correctly. - *
- */ - setResourcePack(url: string): void; - /** - * Request that the player's client download and switch resource packs. - *

- * The player's client will download the new resource pack asynchronously - * in the background, and will automatically switch to it once the - * download is complete. If the client has downloaded and cached a - * resource pack with the same hash in the past it will not download but - * directly apply the cached pack. When this request is sent for the very - * first time from a given server, the client will first display a - * confirmation GUI to the player before proceeding with the download. - *

- * Notes: - *

    - *
  • Players can disable server resources on their client, in which - * case this method will have no affect on them. Use the - * {@link PlayerResourcePackStatusEvent} to figure out whether or not - * the player loaded the pack! - *
  • There is no concept of resetting resource packs back to default - * within Minecraft, so players will have to relog to do so or you - * have to send an empty pack. - *
- */ - setResourcePack(url: string, hash: number): void; - /** - * Gets the Scoreboard displayed to this player - */ - getScoreboard(): org.bukkit.scoreboard.Scoreboard; - /** - * Sets the player's visible Scoreboard. - */ - setScoreboard(scoreboard: org.bukkit.scoreboard.Scoreboard): void; - /** - * Gets if the client is displayed a 'scaled' health, that is, health on a - * scale from 0-{@link #getHealthScale()}. - */ - isHealthScaled(): boolean; - /** - * Sets if the client is displayed a 'scaled' health, that is, health on a - * scale from 0-{@link #getHealthScale()}. - *

- * Displayed health follows a simple formula displayedHealth = - * getHealth() / getMaxHealth() * getHealthScale(). - */ - setHealthScaled(scale: boolean): void; - /** - * Sets the number to scale health to for the client; this will also - * {@link #setHealthScaled(boolean) setHealthScaled(true)}. - *

- * Displayed health follows a simple formula displayedHealth = - * getHealth() / getMaxHealth() * getHealthScale(). - */ - setHealthScale(scale: number): void; - /** - * Gets the number that health is scaled to for the client. - */ - getHealthScale(): number; - /** - * Gets the entity which is followed by the camera when in - * {@link GameMode#SPECTATOR}. - */ - getSpectatorTarget(): org.bukkit.entity.Entity; - /** - * Sets the entity which is followed by the camera when in - * {@link GameMode#SPECTATOR}. - */ - setSpectatorTarget(entity: org.bukkit.entity.Entity): void; - /** - * Sends a title and a subtitle message to the player. If either of these - * values are null, they will not be sent and the display will remain - * unchanged. If they are empty strings, the display will be updated as - * such. If the strings contain a new line, only the first line will be - * sent. The titles will be displayed with the client's default timings. - */ - sendTitle(title: string, subtitle: string): void; - /** - * Sends a title and a subtitle message to the player. If either of these - * values are null, they will not be sent and the display will remain - * unchanged. If they are empty strings, the display will be updated as - * such. If the strings contain a new line, only the first line will be - * sent. All timings values may take a value of -1 to indicate that they - * will use the last value sent (or the defaults if no title has been - * displayed). - */ - sendTitle(title: string, subtitle: string, fadeIn: number, stay: number, fadeOut: number): void; - /** - * Resets the title displayed to the player. This will clear the displayed - * title / subtitle and reset timings to their default values. - */ - resetTitle(): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. - */ - spawnParticle(particle: org.bukkit.Particle, location: org.bukkit.Location, count: number): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. - */ - spawnParticle(particle: org.bukkit.Particle, x: number, y: number, z: number, count: number): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. - */ - spawnParticle(particle: org.bukkit.Particle, location: org.bukkit.Location, count: number, data: any): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. - */ - spawnParticle(particle: org.bukkit.Particle, x: number, y: number, z: number, count: number, data: any): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, location: org.bukkit.Location, count: number, offsetX: number, offsetY: number, offsetZ: number): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, x: number, y: number, z: number, count: number, offsetX: number, offsetY: number, offsetZ: number): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, location: org.bukkit.Location, count: number, offsetX: number, offsetY: number, offsetZ: number, data: any): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, x: number, y: number, z: number, count: number, offsetX: number, offsetY: number, offsetZ: number, data: any): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, location: org.bukkit.Location, count: number, offsetX: number, offsetY: number, offsetZ: number, extra: number): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, x: number, y: number, z: number, count: number, offsetX: number, offsetY: number, offsetZ: number, extra: number): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, location: org.bukkit.Location, count: number, offsetX: number, offsetY: number, offsetZ: number, extra: number, data: any): void; - /** - * Spawns the particle (the number of times specified by count) - * at the target location. The position of each particle will be - * randomized positively and negatively by the offset parameters - * on each axis. - */ - spawnParticle(particle: org.bukkit.Particle, x: number, y: number, z: number, count: number, offsetX: number, offsetY: number, offsetZ: number, extra: number, data: any): void; - /** - * Return the player's progression on the specified advancement. - */ - getAdvancementProgress(advancement: org.bukkit.advancement.Advancement): org.bukkit.advancement.AdvancementProgress; - /** - * Get the player's current client side view distance. - *
- * Will default to the server view distance if the client has not yet - * communicated this information, - */ - getClientViewDistance(): number; - /** - * Gets the player's current locale. - * The value of the locale String is not defined properly. - *
- * The vanilla Minecraft client will use lowercase language / country pairs - * separated by an underscore, but custom resource packs may use any format - * they wish. - */ - getLocale(): string; - /** - * Update the list of commands sent to the client. - *
- * Generally useful to ensure the client has a complete list of commands - * after permission changes are done. - */ - updateCommands(): void; - /** - * Open a {@link Material#WRITTEN_BOOK} for a Player - */ - openBook(book: org.bukkit.inventory.ItemStack): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.PolarBear.ts b/packages/bukkit/src/typings/org.bukkit.entity.PolarBear.ts deleted file mode 100644 index 5b7948a0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.PolarBear.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface PolarBear extends org.bukkit.entity.Animals { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Pose.ts b/packages/bukkit/src/typings/org.bukkit.entity.Pose.ts deleted file mode 100644 index 5bd1883e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Pose.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - class Pose { - public static STANDING: org.bukkit.entity.Pose; - public static FALL_FLYING: org.bukkit.entity.Pose; - public static SLEEPING: org.bukkit.entity.Pose; - public static SWIMMING: org.bukkit.entity.Pose; - public static SPIN_ATTACK: org.bukkit.entity.Pose; - public static SNEAKING: org.bukkit.entity.Pose; - public static DYING: org.bukkit.entity.Pose; - public static values(): org.bukkit.entity.Pose[]; - public static valueOf(name: string): org.bukkit.entity.Pose; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Projectile.ts b/packages/bukkit/src/typings/org.bukkit.entity.Projectile.ts deleted file mode 100644 index f57b1599..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Projectile.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Projectile extends org.bukkit.entity.Entity { - /** - * Retrieve the shooter of this projectile. - */ - getShooter(): org.bukkit.projectiles.ProjectileSource; - /** - * Set the shooter of this projectile. - */ - setShooter(source: org.bukkit.projectiles.ProjectileSource): void; - /** - * Determine if this projectile should bounce or not when it hits. - *

- * If a small fireball does not bounce it will set the target on fire. - */ - doesBounce(): boolean; - /** - * Set whether or not this projectile should bounce or not when it hits - * something. - */ - setBounce(doesBounce: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.PufferFish.ts b/packages/bukkit/src/typings/org.bukkit.entity.PufferFish.ts deleted file mode 100644 index 6140b074..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.PufferFish.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface PufferFish extends org.bukkit.entity.Fish { - /** - * Returns the current puff state of this fish (i.e. how inflated it is). - */ - getPuffState(): number; - /** - * Sets the current puff state of this fish (i.e. how inflated it is). - */ - setPuffState(state: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Rabbit.Type.ts b/packages/bukkit/src/typings/org.bukkit.entity.Rabbit.Type.ts deleted file mode 100644 index 023dd103..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Rabbit.Type.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Rabbit { - // @ts-ignore - class Type { - public static BROWN: org.bukkit.entity.Rabbit.Type; - public static WHITE: org.bukkit.entity.Rabbit.Type; - public static BLACK: org.bukkit.entity.Rabbit.Type; - public static BLACK_AND_WHITE: org.bukkit.entity.Rabbit.Type; - public static GOLD: org.bukkit.entity.Rabbit.Type; - public static SALT_AND_PEPPER: org.bukkit.entity.Rabbit.Type; - public static THE_KILLER_BUNNY: org.bukkit.entity.Rabbit.Type; - public static values(): org.bukkit.entity.Rabbit.Type[]; - public static valueOf(name: string): org.bukkit.entity.Rabbit.Type; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Rabbit.ts b/packages/bukkit/src/typings/org.bukkit.entity.Rabbit.ts deleted file mode 100644 index 01cd2f60..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Rabbit.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Rabbit extends org.bukkit.entity.Animals { - getRabbitType(): org.bukkit.entity.Rabbit.Type; - setRabbitType(type: org.bukkit.entity.Rabbit.Type): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Raider.ts b/packages/bukkit/src/typings/org.bukkit.entity.Raider.ts deleted file mode 100644 index b404dcd8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Raider.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Raider extends org.bukkit.entity.Monster { - /** - * Gets the block the raider is targeting to patrol. - */ - getPatrolTarget(): org.bukkit.block.Block; - /** - * Sets the block the raider is targeting to patrol. - */ - setPatrolTarget(block: org.bukkit.block.Block): void; - /** - * Gets whether this entity is a patrol leader. - */ - isPatrolLeader(): boolean; - /** - * Sets whether this entity is a patrol leader. - */ - setPatrolLeader(leader: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Ravager.ts b/packages/bukkit/src/typings/org.bukkit.entity.Ravager.ts deleted file mode 100644 index 3e34459d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Ravager.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Ravager extends org.bukkit.entity.Raider { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Salmon.ts b/packages/bukkit/src/typings/org.bukkit.entity.Salmon.ts deleted file mode 100644 index 4764d772..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Salmon.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Salmon extends org.bukkit.entity.Fish { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Sheep.ts b/packages/bukkit/src/typings/org.bukkit.entity.Sheep.ts deleted file mode 100644 index d547f02f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Sheep.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Sheep extends org.bukkit.entity.Animals, org.bukkit.material.Colorable { - isSheared(): boolean; - setSheared(flag: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Shulker.ts b/packages/bukkit/src/typings/org.bukkit.entity.Shulker.ts deleted file mode 100644 index 68753ee9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Shulker.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Shulker extends org.bukkit.entity.Golem, org.bukkit.material.Colorable { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.ShulkerBullet.ts b/packages/bukkit/src/typings/org.bukkit.entity.ShulkerBullet.ts deleted file mode 100644 index a01c75f8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.ShulkerBullet.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface ShulkerBullet extends org.bukkit.entity.Projectile { - /** - * Retrieve the target of this bullet. - */ - getTarget(): org.bukkit.entity.Entity; - /** - * Sets the target of this bullet - */ - setTarget(target: org.bukkit.entity.Entity): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Silverfish.ts b/packages/bukkit/src/typings/org.bukkit.entity.Silverfish.ts deleted file mode 100644 index 8c8e5c8b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Silverfish.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Silverfish extends org.bukkit.entity.Monster { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Sittable.ts b/packages/bukkit/src/typings/org.bukkit.entity.Sittable.ts deleted file mode 100644 index 7802b59a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Sittable.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Sittable { - /** - * Checks if this animal is sitting - */ - isSitting(): boolean; - /** - * Sets if this animal is sitting. Will remove any path that the animal - * was following beforehand. - */ - setSitting(sitting: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Skeleton.SkeletonType.ts b/packages/bukkit/src/typings/org.bukkit.entity.Skeleton.SkeletonType.ts deleted file mode 100644 index 8b9050e5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Skeleton.SkeletonType.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Skeleton { - // @ts-ignore - class SkeletonType { - public static NORMAL: org.bukkit.entity.Skeleton.SkeletonType; - public static WITHER: org.bukkit.entity.Skeleton.SkeletonType; - public static STRAY: org.bukkit.entity.Skeleton.SkeletonType; - public static values(): org.bukkit.entity.Skeleton.SkeletonType[]; - public static valueOf(name: string): org.bukkit.entity.Skeleton.SkeletonType; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Skeleton.ts b/packages/bukkit/src/typings/org.bukkit.entity.Skeleton.ts deleted file mode 100644 index 35a3b33d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Skeleton.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Skeleton extends org.bukkit.entity.Monster { - /** - * Gets the current type of this skeleton. - */ - getSkeletonType(): org.bukkit.entity.Skeleton.SkeletonType; - setSkeletonType(type: org.bukkit.entity.Skeleton.SkeletonType): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.SkeletonHorse.ts b/packages/bukkit/src/typings/org.bukkit.entity.SkeletonHorse.ts deleted file mode 100644 index 36fbad42..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.SkeletonHorse.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface SkeletonHorse extends org.bukkit.entity.AbstractHorse { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Slime.ts b/packages/bukkit/src/typings/org.bukkit.entity.Slime.ts deleted file mode 100644 index 521d9e90..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Slime.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Slime extends org.bukkit.entity.Mob { - getSize(): number; - setSize(sz: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.SmallFireball.ts b/packages/bukkit/src/typings/org.bukkit.entity.SmallFireball.ts deleted file mode 100644 index 7ddcd074..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.SmallFireball.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface SmallFireball extends org.bukkit.entity.Fireball { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Snowball.ts b/packages/bukkit/src/typings/org.bukkit.entity.Snowball.ts deleted file mode 100644 index 860c984e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Snowball.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Snowball extends org.bukkit.entity.Projectile { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Snowman.ts b/packages/bukkit/src/typings/org.bukkit.entity.Snowman.ts deleted file mode 100644 index bfbcc68c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Snowman.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Snowman extends org.bukkit.entity.Golem { - /** - * Gets whether this snowman is in "derp mode", meaning it is not wearing a - * pumpkin. - */ - isDerp(): boolean; - /** - * Sets whether this snowman is in "derp mode", meaning it is not wearing a - * pumpkin. NOTE: This value is not persisted to disk and will therefore - * reset when the chunk is reloaded. - */ - setDerp(derpMode: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.SpectralArrow.ts b/packages/bukkit/src/typings/org.bukkit.entity.SpectralArrow.ts deleted file mode 100644 index 2b0a8c76..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.SpectralArrow.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface SpectralArrow extends org.bukkit.entity.AbstractArrow { - /** - * Returns the amount of time that this arrow will apply - * the glowing effect for. - */ - getGlowingTicks(): number; - /** - * Sets the amount of time to apply the glowing effect for. - */ - setGlowingTicks(duration: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Spellcaster.Spell.ts b/packages/bukkit/src/typings/org.bukkit.entity.Spellcaster.Spell.ts deleted file mode 100644 index a3025de9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Spellcaster.Spell.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Spellcaster { - // @ts-ignore - class Spell { - public static NONE: org.bukkit.entity.Spellcaster.Spell; - public static SUMMON_VEX: org.bukkit.entity.Spellcaster.Spell; - public static FANGS: org.bukkit.entity.Spellcaster.Spell; - public static WOLOLO: org.bukkit.entity.Spellcaster.Spell; - public static DISAPPEAR: org.bukkit.entity.Spellcaster.Spell; - public static BLINDNESS: org.bukkit.entity.Spellcaster.Spell; - public static values(): org.bukkit.entity.Spellcaster.Spell[]; - public static valueOf(name: string): org.bukkit.entity.Spellcaster.Spell; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Spellcaster.ts b/packages/bukkit/src/typings/org.bukkit.entity.Spellcaster.ts deleted file mode 100644 index cf495ff0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Spellcaster.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Spellcaster extends org.bukkit.entity.Illager { - /** - * Gets the {@link Spell} the entity is currently using. - */ - getSpell(): org.bukkit.entity.Spellcaster.Spell; - /** - * Sets the {@link Spell} the entity is currently using. - */ - setSpell(spell: org.bukkit.entity.Spellcaster.Spell): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Spider.ts b/packages/bukkit/src/typings/org.bukkit.entity.Spider.ts deleted file mode 100644 index 0b65d7bb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Spider.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Spider extends org.bukkit.entity.Monster { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.SplashPotion.ts b/packages/bukkit/src/typings/org.bukkit.entity.SplashPotion.ts deleted file mode 100644 index 400589ad..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.SplashPotion.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface SplashPotion extends org.bukkit.entity.ThrownPotion { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Squid.ts b/packages/bukkit/src/typings/org.bukkit.entity.Squid.ts deleted file mode 100644 index 339e256a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Squid.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Squid extends org.bukkit.entity.WaterMob { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Stray.ts b/packages/bukkit/src/typings/org.bukkit.entity.Stray.ts deleted file mode 100644 index 98618ee5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Stray.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Stray extends org.bukkit.entity.Skeleton { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.TNTPrimed.ts b/packages/bukkit/src/typings/org.bukkit.entity.TNTPrimed.ts deleted file mode 100644 index 91eeb3e5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.TNTPrimed.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface TNTPrimed extends org.bukkit.entity.Explosive { - /** - * Set the number of ticks until the TNT blows up after being primed. - */ - setFuseTicks(fuseTicks: number): void; - /** - * Retrieve the number of ticks until the explosion of this TNTPrimed - * entity - */ - getFuseTicks(): number; - /** - * Gets the source of this primed TNT. The source is the entity - * responsible for the creation of this primed TNT. (I.E. player ignites - * TNT with flint and steel.) Take note that this can be null if there is - * no suitable source. (created by the {@link - * org.bukkit.World#spawn(Location, Class)} method, for example.) - *

- * The source will become null if the chunk this primed TNT is in is - * unloaded then reloaded. The source entity may be invalid if for example - * it has since died or been unloaded. Callers should check - * {@link Entity#isValid()}. - */ - getSource(): org.bukkit.entity.Entity; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Tameable.ts b/packages/bukkit/src/typings/org.bukkit.entity.Tameable.ts deleted file mode 100644 index cf131b49..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Tameable.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Tameable extends org.bukkit.entity.Entity { - /** - * Check if this is tamed - *

- * If something is tamed then a player can not tame it through normal - * methods, even if it does not belong to anyone in particular. - */ - isTamed(): boolean; - /** - * Sets if this has been tamed. Not necessary if the method setOwner has - * been used, as it tames automatically. - *

- * If something is tamed then a player can not tame it through normal - * methods, even if it does not belong to anyone in particular. - */ - setTamed(tame: boolean): void; - /** - * Gets the current owning AnimalTamer - */ - getOwner(): org.bukkit.entity.AnimalTamer; - /** - * Set this to be owned by given AnimalTamer. - *

- * If the owner is not null, this will be tamed and will have any current - * path it is following removed. If the owner is set to null, this will be - * untamed, and the current owner removed. - */ - setOwner(tamer: org.bukkit.entity.AnimalTamer): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.ThrownExpBottle.ts b/packages/bukkit/src/typings/org.bukkit.entity.ThrownExpBottle.ts deleted file mode 100644 index d9edd5e3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.ThrownExpBottle.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface ThrownExpBottle extends org.bukkit.entity.Projectile { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.ThrownPotion.ts b/packages/bukkit/src/typings/org.bukkit.entity.ThrownPotion.ts deleted file mode 100644 index 92dea80e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.ThrownPotion.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface ThrownPotion extends org.bukkit.entity.Projectile { - /** - * Returns the effects that are applied by this potion. - */ - getEffects(): any[] /*java.util.Collection*/; - /** - * Returns a copy of the ItemStack for this thrown potion. - *

- * Altering this copy will not alter the thrown potion directly. If you want - * to alter the thrown potion, you must use the {@link - * #setItem(ItemStack) setItemStack} method. - */ - getItem(): org.bukkit.inventory.ItemStack; - /** - * Set the ItemStack for this thrown potion. - *

- * The ItemStack must be of type {@link org.bukkit.Material#SPLASH_POTION} - * or {@link org.bukkit.Material#LINGERING_POTION}, otherwise an exception - * is thrown. - */ - setItem(item: org.bukkit.inventory.ItemStack): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.TippedArrow.ts b/packages/bukkit/src/typings/org.bukkit.entity.TippedArrow.ts deleted file mode 100644 index 11502dc5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.TippedArrow.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface TippedArrow extends org.bukkit.entity.Arrow { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.TraderLlama.ts b/packages/bukkit/src/typings/org.bukkit.entity.TraderLlama.ts deleted file mode 100644 index d60f14dd..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.TraderLlama.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface TraderLlama extends org.bukkit.entity.Llama { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Trident.ts b/packages/bukkit/src/typings/org.bukkit.entity.Trident.ts deleted file mode 100644 index 4f4c9a4b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Trident.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Trident extends org.bukkit.entity.AbstractArrow { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.TropicalFish.Pattern.ts b/packages/bukkit/src/typings/org.bukkit.entity.TropicalFish.Pattern.ts deleted file mode 100644 index 1cc55154..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.TropicalFish.Pattern.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace TropicalFish { - // @ts-ignore - class Pattern { - public static KOB: org.bukkit.entity.TropicalFish.Pattern; - public static SUNSTREAK: org.bukkit.entity.TropicalFish.Pattern; - public static SNOOPER: org.bukkit.entity.TropicalFish.Pattern; - public static DASHER: org.bukkit.entity.TropicalFish.Pattern; - public static BRINELY: org.bukkit.entity.TropicalFish.Pattern; - public static SPOTTY: org.bukkit.entity.TropicalFish.Pattern; - public static FLOPPER: org.bukkit.entity.TropicalFish.Pattern; - public static STRIPEY: org.bukkit.entity.TropicalFish.Pattern; - public static GLITTER: org.bukkit.entity.TropicalFish.Pattern; - public static BLOCKFISH: org.bukkit.entity.TropicalFish.Pattern; - public static BETTY: org.bukkit.entity.TropicalFish.Pattern; - public static CLAYFISH: org.bukkit.entity.TropicalFish.Pattern; - public static values(): org.bukkit.entity.TropicalFish.Pattern[]; - public static valueOf(name: string): org.bukkit.entity.TropicalFish.Pattern; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.TropicalFish.ts b/packages/bukkit/src/typings/org.bukkit.entity.TropicalFish.ts deleted file mode 100644 index 4112e5ce..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.TropicalFish.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface TropicalFish extends org.bukkit.entity.Fish { - /** - * Gets the color of the fish's pattern. - */ - getPatternColor(): org.bukkit.DyeColor; - /** - * Sets the color of the fish's pattern - */ - setPatternColor(color: org.bukkit.DyeColor): void; - /** - * Gets the color of the fish's body. - */ - getBodyColor(): org.bukkit.DyeColor; - /** - * Sets the color of the fish's body - */ - setBodyColor(color: org.bukkit.DyeColor): void; - /** - * Gets the fish's pattern. - */ - getPattern(): org.bukkit.entity.TropicalFish.Pattern; - /** - * Sets the fish's pattern - */ - setPattern(pattern: org.bukkit.entity.TropicalFish.Pattern): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Turtle.ts b/packages/bukkit/src/typings/org.bukkit.entity.Turtle.ts deleted file mode 100644 index 3245ced3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Turtle.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Turtle extends org.bukkit.entity.Animals { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Vehicle.ts b/packages/bukkit/src/typings/org.bukkit.entity.Vehicle.ts deleted file mode 100644 index 48e0c825..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Vehicle.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Vehicle extends org.bukkit.entity.Entity { - /** - * Gets the vehicle's velocity. - */ - getVelocity(): org.bukkit.util.Vector; - /** - * Sets the vehicle's velocity. - */ - setVelocity(vel: org.bukkit.util.Vector): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Vex.ts b/packages/bukkit/src/typings/org.bukkit.entity.Vex.ts deleted file mode 100644 index 0ff377ea..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Vex.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Vex extends org.bukkit.entity.Monster { - /** - * Gets the charging state of this entity. - * When this entity is charging it will having a glowing red texture. - */ - isCharging(): boolean; - /** - * Sets the charging state of this entity. - * When this entity is charging it will having a glowing red texture. - */ - setCharging(charging: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Villager.Profession.ts b/packages/bukkit/src/typings/org.bukkit.entity.Villager.Profession.ts deleted file mode 100644 index 5941e129..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Villager.Profession.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Villager { - // @ts-ignore - class Profession implements org.bukkit.Keyed { - public static NONE: org.bukkit.entity.Villager.Profession; - public static ARMORER: org.bukkit.entity.Villager.Profession; - public static BUTCHER: org.bukkit.entity.Villager.Profession; - public static CARTOGRAPHER: org.bukkit.entity.Villager.Profession; - public static CLERIC: org.bukkit.entity.Villager.Profession; - public static FARMER: org.bukkit.entity.Villager.Profession; - public static FISHERMAN: org.bukkit.entity.Villager.Profession; - public static FLETCHER: org.bukkit.entity.Villager.Profession; - public static LEATHERWORKER: org.bukkit.entity.Villager.Profession; - public static LIBRARIAN: org.bukkit.entity.Villager.Profession; - public static MASON: org.bukkit.entity.Villager.Profession; - public static NITWIT: org.bukkit.entity.Villager.Profession; - public static SHEPHERD: org.bukkit.entity.Villager.Profession; - public static TOOLSMITH: org.bukkit.entity.Villager.Profession; - public static WEAPONSMITH: org.bukkit.entity.Villager.Profession; - public static values(): org.bukkit.entity.Villager.Profession[]; - public static valueOf(name: string): org.bukkit.entity.Villager.Profession; - public getKey(): org.bukkit.NamespacedKey; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Villager.Type.ts b/packages/bukkit/src/typings/org.bukkit.entity.Villager.Type.ts deleted file mode 100644 index 3b988690..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Villager.Type.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace Villager { - // @ts-ignore - class Type implements org.bukkit.Keyed { - public static DESERT: org.bukkit.entity.Villager.Type; - public static JUNGLE: org.bukkit.entity.Villager.Type; - public static PLAINS: org.bukkit.entity.Villager.Type; - public static SAVANNA: org.bukkit.entity.Villager.Type; - public static SNOW: org.bukkit.entity.Villager.Type; - public static SWAMP: org.bukkit.entity.Villager.Type; - public static TAIGA: org.bukkit.entity.Villager.Type; - public static values(): org.bukkit.entity.Villager.Type[]; - public static valueOf(name: string): org.bukkit.entity.Villager.Type; - public getKey(): org.bukkit.NamespacedKey; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Villager.ts b/packages/bukkit/src/typings/org.bukkit.entity.Villager.ts deleted file mode 100644 index c69d8c24..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Villager.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Villager extends org.bukkit.entity.AbstractVillager { - /** - * Gets the current profession of this villager. - */ - getProfession(): org.bukkit.entity.Villager.Profession; - /** - * Sets the new profession of this villager. - */ - setProfession(profession: org.bukkit.entity.Villager.Profession): void; - /** - * Gets the current type of this villager. - */ - getVillagerType(): org.bukkit.entity.Villager.Type; - /** - * Sets the new type of this villager. - */ - setVillagerType(type: org.bukkit.entity.Villager.Type): void; - /** - * Gets the level of this villager. - * A villager with a level of 1 and no experience is liable to lose its - * profession. - */ - getVillagerLevel(): number; - /** - * Sets the level of this villager. - * A villager with a level of 1 and no experience is liable to lose its - * profession. - */ - setVillagerLevel(level: number): void; - /** - * Gets the trading experience of this villager. - */ - getVillagerExperience(): number; - /** - * Sets the trading experience of this villager. - */ - setVillagerExperience(experience: number): void; - /** - * Attempts to make this villager sleep at the given location. - *
- * The location must be in the current world and have a bed placed at the - * location. The villager will put its head on the specified block while - * sleeping. - */ - sleep(location: org.bukkit.Location): boolean; - /** - * Causes this villager to wake up if he's currently sleeping. - */ - wakeup(): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Vindicator.ts b/packages/bukkit/src/typings/org.bukkit.entity.Vindicator.ts deleted file mode 100644 index a31e5518..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Vindicator.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Vindicator extends org.bukkit.entity.Illager { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.WanderingTrader.ts b/packages/bukkit/src/typings/org.bukkit.entity.WanderingTrader.ts deleted file mode 100644 index c0105088..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.WanderingTrader.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface WanderingTrader extends org.bukkit.entity.AbstractVillager { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.WaterMob.ts b/packages/bukkit/src/typings/org.bukkit.entity.WaterMob.ts deleted file mode 100644 index 07ee96e9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.WaterMob.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface WaterMob extends org.bukkit.entity.Creature { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Witch.ts b/packages/bukkit/src/typings/org.bukkit.entity.Witch.ts deleted file mode 100644 index 8b15cea2..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Witch.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Witch extends org.bukkit.entity.Raider { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Wither.ts b/packages/bukkit/src/typings/org.bukkit.entity.Wither.ts deleted file mode 100644 index c4aa35be..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Wither.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Wither extends org.bukkit.entity.Monster, org.bukkit.entity.Boss { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.WitherSkeleton.ts b/packages/bukkit/src/typings/org.bukkit.entity.WitherSkeleton.ts deleted file mode 100644 index 06ed608f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.WitherSkeleton.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface WitherSkeleton extends org.bukkit.entity.Skeleton { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.WitherSkull.ts b/packages/bukkit/src/typings/org.bukkit.entity.WitherSkull.ts deleted file mode 100644 index 95720682..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.WitherSkull.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface WitherSkull extends org.bukkit.entity.Fireball { - /** - * Sets the charged status of the wither skull. - */ - setCharged(charged: boolean): void; - /** - * Gets whether or not the wither skull is charged. - */ - isCharged(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Wolf.ts b/packages/bukkit/src/typings/org.bukkit.entity.Wolf.ts deleted file mode 100644 index ac94c2a9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Wolf.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Wolf extends org.bukkit.entity.Animals, org.bukkit.entity.Tameable, org.bukkit.entity.Sittable { - /** - * Checks if this wolf is angry - */ - isAngry(): boolean; - /** - * Sets the anger of this wolf. - *

- * An angry wolf can not be fed or tamed. - */ - setAngry(angry: boolean): void; - /** - * Get the collar color of this wolf - */ - getCollarColor(): org.bukkit.DyeColor; - /** - * Set the collar color of this wolf - */ - setCollarColor(color: org.bukkit.DyeColor): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.Zombie.ts b/packages/bukkit/src/typings/org.bukkit.entity.Zombie.ts deleted file mode 100644 index 17bff16b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.Zombie.ts +++ /dev/null @@ -1,43 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface Zombie extends org.bukkit.entity.Monster { - /** - * Gets whether the zombie is a baby - */ - isBaby(): boolean; - /** - * Sets whether the zombie is a baby - */ - setBaby(flag: boolean): void; - /** - * Gets whether the zombie is a villager - */ - isVillager(): boolean; - setVillager(flag: boolean): void; - setVillagerProfession(profession: org.bukkit.entity.Villager.Profession): void; - getVillagerProfession(): org.bukkit.entity.Villager.Profession; - /** - * Get if this entity is in the process of converting to a Drowned as a - * result of being underwater. - */ - isConverting(): boolean; - /** - * Gets the amount of ticks until this entity will be converted to a Drowned - * as a result of being underwater. - * When this reaches 0, the entity will be converted. - */ - getConversionTime(): number; - /** - * Sets the amount of ticks until this entity will be converted to a Drowned - * as a result of being underwater. - * When this reaches 0, the entity will be converted. A value of less than 0 - * will stop the current conversion process without converting the current - * entity. - */ - setConversionTime(time: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.ZombieHorse.ts b/packages/bukkit/src/typings/org.bukkit.entity.ZombieHorse.ts deleted file mode 100644 index e6b2bc2a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.ZombieHorse.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface ZombieHorse extends org.bukkit.entity.AbstractHorse { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.ZombieVillager.ts b/packages/bukkit/src/typings/org.bukkit.entity.ZombieVillager.ts deleted file mode 100644 index aa4b202d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.ZombieVillager.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - // @ts-ignore - interface ZombieVillager extends org.bukkit.entity.Zombie { - /** - * Sets the villager profession of this zombie. - */ - setVillagerProfession(profession: org.bukkit.entity.Villager.Profession): void; - /** - * Returns the villager profession of this zombie. - */ - getVillagerProfession(): org.bukkit.entity.Villager.Profession; - /** - * Get if this entity is in the process of converting to a Villager as a - * result of being cured. - */ - isConverting(): boolean; - /** - * Gets the amount of ticks until this entity will be converted to a - * Villager as a result of being cured. - * When this reaches 0, the entity will be converted. - */ - getConversionTime(): number; - /** - * Sets the amount of ticks until this entity will be converted to a - * Villager as a result of being cured. - * When this reaches 0, the entity will be converted. A value of less than 0 - * will stop the current conversion process without converting the current - * entity. - */ - setConversionTime(time: number): void; - /** - * Gets the player who initiated the conversion. - */ - getConversionPlayer(): org.bukkit.OfflinePlayer; - /** - * Sets the player who initiated the conversion. - *

- * This has no effect if this entity isn't converting currently. - */ - setConversionPlayer(conversionPlayer: org.bukkit.OfflinePlayer): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.memory.MemoryKey.ts b/packages/bukkit/src/typings/org.bukkit.entity.memory.MemoryKey.ts deleted file mode 100644 index 7aeda343..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.memory.MemoryKey.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace memory { - // @ts-ignore - class MemoryKey implements org.bukkit.Keyed { - public static HOME: org.bukkit.entity.memory.MemoryKey; - public static MEETING_POINT: org.bukkit.entity.memory.MemoryKey; - public static JOB_SITE: org.bukkit.entity.memory.MemoryKey; - public static LAST_SLEPT: org.bukkit.entity.memory.MemoryKey; - public static LAST_WORKED_AT_POI: org.bukkit.entity.memory.MemoryKey; - public getKey(): org.bukkit.NamespacedKey; - /** - * Gets the class of values associated with this memory. - */ - public getMemoryClass(): any; - /** - * Returns a {@link MemoryKey} by a {@link NamespacedKey}. - */ - public static getByKey(namespacedKey: org.bukkit.NamespacedKey): org.bukkit.entity.memory.MemoryKey; - /** - * Returns the set of all MemoryKeys. - */ - public static values(): any[] /*java.util.Set*/; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.minecart.CommandMinecart.ts b/packages/bukkit/src/typings/org.bukkit.entity.minecart.CommandMinecart.ts deleted file mode 100644 index 692f578a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.minecart.CommandMinecart.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace minecart { - // @ts-ignore - interface CommandMinecart extends org.bukkit.entity.Minecart { - /** - * Gets the command that this CommandMinecart will run when activated. - * This will never return null. If the CommandMinecart does not have a - * command, an empty String will be returned instead. - */ - getCommand(): string; - /** - * Sets the command that this CommandMinecart will run when activated. - * Setting the command to null is the same as setting it to an empty - * String. - */ - setCommand(command: string): void; - /** - * Sets the name of this CommandMinecart. The name is used with commands - * that this CommandMinecart executes. Setting the name to null is the - * same as setting it to "@". - */ - setName(name: string): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.minecart.ExplosiveMinecart.ts b/packages/bukkit/src/typings/org.bukkit.entity.minecart.ExplosiveMinecart.ts deleted file mode 100644 index 06a0e84f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.minecart.ExplosiveMinecart.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace minecart { - // @ts-ignore - interface ExplosiveMinecart extends org.bukkit.entity.Minecart { - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.minecart.HopperMinecart.ts b/packages/bukkit/src/typings/org.bukkit.entity.minecart.HopperMinecart.ts deleted file mode 100644 index 46f779a3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.minecart.HopperMinecart.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace minecart { - // @ts-ignore - interface HopperMinecart extends org.bukkit.entity.Minecart, org.bukkit.inventory.InventoryHolder, org.bukkit.loot.Lootable { - /** - * Checks whether or not this Minecart will pick up - * items into its inventory. - */ - isEnabled(): boolean; - /** - * Sets whether this Minecart will pick up items. - */ - setEnabled(enabled: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.minecart.PoweredMinecart.ts b/packages/bukkit/src/typings/org.bukkit.entity.minecart.PoweredMinecart.ts deleted file mode 100644 index 9e434e88..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.minecart.PoweredMinecart.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace minecart { - // @ts-ignore - interface PoweredMinecart extends org.bukkit.entity.Minecart { - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.minecart.RideableMinecart.ts b/packages/bukkit/src/typings/org.bukkit.entity.minecart.RideableMinecart.ts deleted file mode 100644 index a21b3767..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.minecart.RideableMinecart.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace minecart { - // @ts-ignore - interface RideableMinecart extends org.bukkit.entity.Minecart { - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.minecart.SpawnerMinecart.ts b/packages/bukkit/src/typings/org.bukkit.entity.minecart.SpawnerMinecart.ts deleted file mode 100644 index 3eb0fc57..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.minecart.SpawnerMinecart.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace minecart { - // @ts-ignore - interface SpawnerMinecart extends org.bukkit.entity.Minecart { - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.entity.minecart.StorageMinecart.ts b/packages/bukkit/src/typings/org.bukkit.entity.minecart.StorageMinecart.ts deleted file mode 100644 index 20651c1d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.entity.minecart.StorageMinecart.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace entity { - namespace minecart { - // @ts-ignore - interface StorageMinecart extends org.bukkit.entity.Minecart, org.bukkit.inventory.InventoryHolder, org.bukkit.loot.Lootable { - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.Cancellable.ts b/packages/bukkit/src/typings/org.bukkit.event.Cancellable.ts deleted file mode 100644 index 208a001c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.Cancellable.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - // @ts-ignore - interface Cancellable { - /** - * Gets the cancellation state of this event. A cancelled event will not - * be executed in the server, but will still pass to other plugins - */ - isCancelled(): boolean; - /** - * Sets the cancellation state of this event. A cancelled event will not - * be executed in the server, but will still pass to other plugins. - */ - setCancelled(cancel: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.Event.Result.ts b/packages/bukkit/src/typings/org.bukkit.event.Event.Result.ts deleted file mode 100644 index c4eb24e9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.Event.Result.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace Event { - // @ts-ignore - class Result { - public static DENY: org.bukkit.event.Event.Result; - public static DEFAULT: org.bukkit.event.Event.Result; - public static ALLOW: org.bukkit.event.Event.Result; - public static values(): org.bukkit.event.Event.Result[]; - public static valueOf(name: string): org.bukkit.event.Event.Result; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.Event.ts b/packages/bukkit/src/typings/org.bukkit.event.Event.ts deleted file mode 100644 index da8c1c66..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.Event.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - // @ts-ignore - abstract class Event { - /** - * The default constructor is defined for cleaner code. This constructor - * assumes the event is synchronous. - */ - constructor() - /** - * This constructor is used to explicitly declare an event as synchronous - * or asynchronous. - */ - constructor(isAsync: boolean) - /** - * Convenience method for providing a user-friendly identifier. By - * default, it is the event's class's {@linkplain Class#getSimpleName() - * simple name}. - */ - public getEventName(): string; - public abstract getHandlers(): org.bukkit.event.HandlerList; - /** - * Any custom event that should not by synchronized with other events must - * use the specific constructor. These are the caveats of using an - * asynchronous event: - *

    - *
  • The event is never fired from inside code triggered by a - * synchronous event. Attempting to do so results in an {@link - * java.lang.IllegalStateException}. - *
  • However, asynchronous event handlers may fire synchronous or - * asynchronous events - *
  • The event may be fired multiple times simultaneously and in any - * order. - *
  • Any newly registered or unregistered handler is ignored after an - * event starts execution. - *
  • The handlers for this event may block for any length of time. - *
  • Some implementations may selectively declare a specific event use - * as asynchronous. This behavior should be clearly defined. - *
  • Asynchronous calls are not calculated in the plugin timing system. - *
- */ - public isAsynchronous(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.EventException.ts b/packages/bukkit/src/typings/org.bukkit.event.EventException.ts deleted file mode 100644 index 4ddf1c7b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.EventException.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - // @ts-ignore - class EventException { - /** - * Constructs a new EventException based on the given Exception - */ - constructor(throwable: any) - /** - * Constructs a new EventException - */ - constructor() - /** - * Constructs a new EventException with the given message - */ - constructor(cause: any, message: string) - /** - * Constructs a new EventException with the given message - */ - constructor(message: string) - /** - * If applicable, returns the Exception that triggered this Exception - */ - public getCause(): any; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.EventHandler.ts b/packages/bukkit/src/typings/org.bukkit.event.EventHandler.ts deleted file mode 100644 index d8730148..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.EventHandler.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - // @ts-ignore - interface EventHandler { - /** - * Define the priority of the event. - *

- * First priority to the last priority executed: - *

    - *
  1. LOWEST - *
  2. LOW - *
  3. NORMAL - *
  4. HIGH - *
  5. HIGHEST - *
  6. MONITOR - *
- */ - priority(): org.bukkit.event.EventPriority; - /** - * Define if the handler ignores a cancelled event. - *

- * If ignoreCancelled is true and the event is cancelled, the method is - * not called. Otherwise, the method is always called. - */ - ignoreCancelled(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.EventPriority.ts b/packages/bukkit/src/typings/org.bukkit.event.EventPriority.ts deleted file mode 100644 index 90c55107..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.EventPriority.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - // @ts-ignore - class EventPriority { - public static LOWEST: org.bukkit.event.EventPriority; - public static LOW: org.bukkit.event.EventPriority; - public static NORMAL: org.bukkit.event.EventPriority; - public static HIGH: org.bukkit.event.EventPriority; - public static HIGHEST: org.bukkit.event.EventPriority; - public static MONITOR: org.bukkit.event.EventPriority; - public static values(): org.bukkit.event.EventPriority[]; - public static valueOf(name: string): org.bukkit.event.EventPriority; - public getSlot(): number; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.HandlerList.ts b/packages/bukkit/src/typings/org.bukkit.event.HandlerList.ts deleted file mode 100644 index b0a29139..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.HandlerList.ts +++ /dev/null @@ -1,70 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - // @ts-ignore - class HandlerList { - /** - * Create a new handler list and initialize using EventPriority. - *

- * The HandlerList is then added to meta-list for use in bakeAll() - */ - constructor() - /** - * Bake all handler lists. Best used just after all normal event - * registration is complete, ie just after all plugins are loaded if - * you're using fevents in a plugin system. - */ - public static bakeAll(): void; - /** - * Unregister all listeners from all handler lists. - */ - public static unregisterAll(): void; - /** - * Unregister a specific plugin's listeners from all handler lists. - */ - public static unregisterAll(plugin: org.bukkit.plugin.Plugin): void; - /** - * Unregister a specific listener from all handler lists. - */ - public static unregisterAll(listener: org.bukkit.event.Listener): void; - /** - * Register a new listener in this handler list - */ - public register(listener: org.bukkit.plugin.RegisteredListener): void; - /** - * Register a collection of new listeners in this handler list - */ - public registerAll(listeners: any[] /*java.util.Collection*/): void; - /** - * Remove a listener from a specific order slot - */ - public unregister(listener: org.bukkit.plugin.RegisteredListener): void; - /** - * Remove a specific plugin's listeners from this handler - */ - public unregister(plugin: org.bukkit.plugin.Plugin): void; - /** - * Remove a specific listener from this handler - */ - public unregister(listener: org.bukkit.event.Listener): void; - /** - * Bake HashMap and ArrayLists to 2d array - does nothing if not necessary - */ - public bake(): void; - /** - * Get the baked registered listeners associated with this handler list - */ - public getRegisteredListeners(): org.bukkit.plugin.RegisteredListener[]; - /** - * Get a specific plugin's registered listeners associated with this - * handler list - */ - public static getRegisteredListeners(plugin: org.bukkit.plugin.Plugin): any; - /** - * Get a list of all handler lists for every event type - */ - public static getHandlerLists(): any; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.Listener.ts b/packages/bukkit/src/typings/org.bukkit.event.Listener.ts deleted file mode 100644 index 7cc72e0d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.Listener.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - // @ts-ignore - interface Listener { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.Action.ts b/packages/bukkit/src/typings/org.bukkit.event.block.Action.ts deleted file mode 100644 index cb373521..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.Action.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class Action { - public static LEFT_CLICK_BLOCK: org.bukkit.event.block.Action; - public static RIGHT_CLICK_BLOCK: org.bukkit.event.block.Action; - public static LEFT_CLICK_AIR: org.bukkit.event.block.Action; - public static RIGHT_CLICK_AIR: org.bukkit.event.block.Action; - public static PHYSICAL: org.bukkit.event.block.Action; - public static values(): org.bukkit.event.block.Action[]; - public static valueOf(name: string): org.bukkit.event.block.Action; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockBreakEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockBreakEvent.ts deleted file mode 100644 index de71cb26..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockBreakEvent.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockBreakEvent extends org.bukkit.event.block.BlockExpEvent implements org.bukkit.event.Cancellable { - constructor(theBlock: org.bukkit.block.Block, player: org.bukkit.entity.Player) - /** - * Gets the Player that is breaking the block involved in this event. - */ - public getPlayer(): org.bukkit.entity.Player; - /** - * Sets whether or not the block will drop items as it normally would. - */ - public setDropItems(dropItems: boolean): void; - /** - * Gets whether or not the block will drop items. - */ - public isDropItems(): boolean; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockBurnEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockBurnEvent.ts deleted file mode 100644 index 22f77869..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockBurnEvent.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockBurnEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block) - constructor(block: org.bukkit.block.Block, ignitingBlock: org.bukkit.block.Block) - /** - * Gets the block which ignited this block. - */ - public getIgnitingBlock(): org.bukkit.block.Block; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockCanBuildEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockCanBuildEvent.ts deleted file mode 100644 index 688a9f6f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockCanBuildEvent.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockCanBuildEvent extends org.bukkit.event.block.BlockEvent { - constructor(block: org.bukkit.block.Block, type: org.bukkit.block.data.BlockData, canBuild: boolean) - constructor(block: org.bukkit.block.Block, player: org.bukkit.entity.Player, type: org.bukkit.block.data.BlockData, canBuild: boolean) - protected buildable: boolean; - protected blockData: org.bukkit.block.data.BlockData; - /** - * Gets whether or not the block can be built here. - *

- * By default, returns Minecraft's answer on whether the block can be - * built here or not. - */ - public isBuildable(): boolean; - /** - * Sets whether the block can be built here or not. - */ - public setBuildable(cancel: boolean): void; - /** - * Gets the Material that we are trying to place. - */ - public getMaterial(): org.bukkit.Material; - /** - * Gets the BlockData that we are trying to place. - */ - public getBlockData(): org.bukkit.block.data.BlockData; - /** - * Gets the player who placed the block involved in this event. - *
- * May be null for legacy calls of the event. - */ - public getPlayer(): org.bukkit.entity.Player; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockCookEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockCookEvent.ts deleted file mode 100644 index 3c205b96..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockCookEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockCookEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block, source: org.bukkit.inventory.ItemStack, result: org.bukkit.inventory.ItemStack) - /** - * Gets the smelted ItemStack for this event - */ - public getSource(): org.bukkit.inventory.ItemStack; - /** - * Gets the resultant ItemStack for this event - */ - public getResult(): org.bukkit.inventory.ItemStack; - /** - * Sets the resultant ItemStack for this event - */ - public setResult(result: org.bukkit.inventory.ItemStack): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockDamageEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockDamageEvent.ts deleted file mode 100644 index d722d66f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockDamageEvent.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockDamageEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, block: org.bukkit.block.Block, itemInHand: org.bukkit.inventory.ItemStack, instaBreak: boolean) - /** - * Gets the player damaging the block involved in this event. - */ - public getPlayer(): org.bukkit.entity.Player; - /** - * Gets if the block is set to instantly break when damaged by the player. - */ - public getInstaBreak(): boolean; - /** - * Sets if the block should instantly break when damaged by the player. - */ - public setInstaBreak(bool: boolean): void; - /** - * Gets the ItemStack for the item currently in the player's hand. - */ - public getItemInHand(): org.bukkit.inventory.ItemStack; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockDispenseArmorEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockDispenseArmorEvent.ts deleted file mode 100644 index 8aa59010..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockDispenseArmorEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockDispenseArmorEvent extends org.bukkit.event.block.BlockDispenseEvent { - constructor(block: org.bukkit.block.Block, dispensed: org.bukkit.inventory.ItemStack, target: org.bukkit.entity.LivingEntity) - /** - * Get the living entity on which the armor was dispensed. - */ - public getTargetEntity(): org.bukkit.entity.LivingEntity; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockDispenseEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockDispenseEvent.ts deleted file mode 100644 index 3dcd2eb0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockDispenseEvent.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockDispenseEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block, dispensed: org.bukkit.inventory.ItemStack, velocity: org.bukkit.util.Vector) - /** - * Gets the item that is being dispensed. Modifying the returned item will - * have no effect, you must use {@link - * #setItem(org.bukkit.inventory.ItemStack)} instead. - */ - public getItem(): org.bukkit.inventory.ItemStack; - /** - * Sets the item being dispensed. - */ - public setItem(item: org.bukkit.inventory.ItemStack): void; - /** - * Gets the velocity. - *

- * Note: Modifying the returned Vector will not change the velocity, you - * must use {@link #setVelocity(org.bukkit.util.Vector)} instead. - */ - public getVelocity(): org.bukkit.util.Vector; - /** - * Sets the velocity of the item being dispensed. - */ - public setVelocity(vel: org.bukkit.util.Vector): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockDropItemEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockDropItemEvent.ts deleted file mode 100644 index de1d507b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockDropItemEvent.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockDropItemEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block, blockState: org.bukkit.block.BlockState, player: org.bukkit.entity.Player, items: any[] /*java.util.List*/) - /** - * Gets the Player that is breaking the block involved in this event. - */ - public getPlayer(): org.bukkit.entity.Player; - /** - * Gets the BlockState of the block involved in this event before it was - * broken. - */ - public getBlockState(): org.bukkit.block.BlockState; - /** - * Gets list of the Item drops caused by the block break. - * This list is mutable - removing an item from it will cause it to not - * drop. It is not legal however to add new items to the list. - */ - public getItems(): any[] /*java.util.List*/; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockEvent.ts deleted file mode 100644 index c90d1061..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - abstract class BlockEvent extends org.bukkit.event.Event { - constructor(theBlock: org.bukkit.block.Block) - protected block: org.bukkit.block.Block; - /** - * Gets the block involved in this event. - */ - public getBlock(): org.bukkit.block.Block; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockExpEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockExpEvent.ts deleted file mode 100644 index c0be136b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockExpEvent.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockExpEvent extends org.bukkit.event.block.BlockEvent { - constructor(block: org.bukkit.block.Block, exp: number) - /** - * Get the experience dropped by the block after the event has processed - */ - public getExpToDrop(): number; - /** - * Set the amount of experience dropped by the block after the event has - * processed - */ - public setExpToDrop(exp: number): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockExplodeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockExplodeEvent.ts deleted file mode 100644 index 2cf28785..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockExplodeEvent.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockExplodeEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.block.Block, blocks: any[] /*java.util.List*/, yield: number) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Returns the list of blocks that would have been removed or were removed - * from the explosion event. - */ - public blockList(): any[] /*java.util.List*/; - /** - * Returns the percentage of blocks to drop from this explosion - */ - public getYield(): number; - /** - * Sets the percentage of blocks to drop from this explosion - */ - public setYield(yield: number): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockFadeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockFadeEvent.ts deleted file mode 100644 index 55366bcf..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockFadeEvent.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockFadeEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block, newState: org.bukkit.block.BlockState) - /** - * Gets the state of the block that will be fading, melting or - * disappearing. - */ - public getNewState(): org.bukkit.block.BlockState; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockFertilizeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockFertilizeEvent.ts deleted file mode 100644 index 2bc4ac2f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockFertilizeEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockFertilizeEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(theBlock: org.bukkit.block.Block, player: org.bukkit.entity.Player, blocks: any[] /*java.util.List*/) - /** - * Gets the player that triggered the fertilization. - */ - public getPlayer(): org.bukkit.entity.Player; - /** - * Gets a list of all blocks changed by the fertilization. - */ - public getBlocks(): any[] /*java.util.List*/; - public isCancelled(): boolean; - public setCancelled(cancelled: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockFormEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockFormEvent.ts deleted file mode 100644 index d7a30738..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockFormEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockFormEvent extends org.bukkit.event.block.BlockGrowEvent { - constructor(block: org.bukkit.block.Block, newState: org.bukkit.block.BlockState) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockFromToEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockFromToEvent.ts deleted file mode 100644 index 92816060..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockFromToEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockFromToEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block, face: org.bukkit.block.BlockFace) - constructor(block: org.bukkit.block.Block, toBlock: org.bukkit.block.Block) - protected to: org.bukkit.block.Block; - protected face: org.bukkit.block.BlockFace; - protected cancel: boolean; - /** - * Gets the BlockFace that the block is moving to. - */ - public getFace(): org.bukkit.block.BlockFace; - /** - * Convenience method for getting the faced Block. - */ - public getToBlock(): org.bukkit.block.Block; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockGrowEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockGrowEvent.ts deleted file mode 100644 index f4667c91..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockGrowEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockGrowEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block, newState: org.bukkit.block.BlockState) - /** - * Gets the state of the block where it will form or spread to. - */ - public getNewState(): org.bukkit.block.BlockState; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockIgniteEvent.IgniteCause.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockIgniteEvent.IgniteCause.ts deleted file mode 100644 index 717a8005..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockIgniteEvent.IgniteCause.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - namespace BlockIgniteEvent { - // @ts-ignore - class IgniteCause { - public static LAVA: org.bukkit.event.block.BlockIgniteEvent.IgniteCause; - public static FLINT_AND_STEEL: org.bukkit.event.block.BlockIgniteEvent.IgniteCause; - public static SPREAD: org.bukkit.event.block.BlockIgniteEvent.IgniteCause; - public static LIGHTNING: org.bukkit.event.block.BlockIgniteEvent.IgniteCause; - public static FIREBALL: org.bukkit.event.block.BlockIgniteEvent.IgniteCause; - public static ENDER_CRYSTAL: org.bukkit.event.block.BlockIgniteEvent.IgniteCause; - public static EXPLOSION: org.bukkit.event.block.BlockIgniteEvent.IgniteCause; - public static values(): org.bukkit.event.block.BlockIgniteEvent.IgniteCause[]; - public static valueOf(name: string): org.bukkit.event.block.BlockIgniteEvent.IgniteCause; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockIgniteEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockIgniteEvent.ts deleted file mode 100644 index 5c7cd9da..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockIgniteEvent.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockIgniteEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(theBlock: org.bukkit.block.Block, cause: org.bukkit.event.block.BlockIgniteEvent.IgniteCause, ignitingEntity: org.bukkit.entity.Entity) - constructor(theBlock: org.bukkit.block.Block, cause: org.bukkit.event.block.BlockIgniteEvent.IgniteCause, ignitingBlock: org.bukkit.block.Block) - constructor(theBlock: org.bukkit.block.Block, cause: org.bukkit.event.block.BlockIgniteEvent.IgniteCause, ignitingEntity: org.bukkit.entity.Entity, ignitingBlock: org.bukkit.block.Block) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the cause of block ignite. - */ - public getCause(): org.bukkit.event.block.BlockIgniteEvent.IgniteCause; - /** - * Gets the player who ignited this block - */ - public getPlayer(): org.bukkit.entity.Player; - /** - * Gets the entity who ignited this block - */ - public getIgnitingEntity(): org.bukkit.entity.Entity; - /** - * Gets the block which ignited this block - */ - public getIgnitingBlock(): org.bukkit.block.Block; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockMultiPlaceEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockMultiPlaceEvent.ts deleted file mode 100644 index 0066fbc7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockMultiPlaceEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockMultiPlaceEvent extends org.bukkit.event.block.BlockPlaceEvent { - constructor(states: any[] /*java.util.List*/, clicked: org.bukkit.block.Block, itemInHand: org.bukkit.inventory.ItemStack, thePlayer: org.bukkit.entity.Player, canBuild: boolean) - /** - * Gets a list of blockstates for all blocks which were replaced by the - * placement of the new blocks. Most of these blocks will just have a - * Material type of AIR. - */ - public getReplacedBlockStates(): any[] /*java.util.List*/; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockPhysicsEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockPhysicsEvent.ts deleted file mode 100644 index f78a7f78..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockPhysicsEvent.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockPhysicsEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block, changed: org.bukkit.block.data.BlockData) - constructor(block: org.bukkit.block.Block, changed: org.bukkit.block.data.BlockData, sourceBlock: org.bukkit.block.Block) - /** - * Gets the source block that triggered this event. - * Note: This will default to block if not set. - */ - public getSourceBlock(): org.bukkit.block.Block; - /** - * Gets the type of block that changed, causing this event - */ - public getChangedType(): org.bukkit.Material; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockPistonEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockPistonEvent.ts deleted file mode 100644 index 6e04cc05..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockPistonEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - abstract class BlockPistonEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block, direction: org.bukkit.block.BlockFace) - public isCancelled(): boolean; - public setCancelled(cancelled: boolean): void; - /** - * Returns true if the Piston in the event is sticky. - */ - public isSticky(): boolean; - /** - * Return the direction in which the piston will operate. - */ - public getDirection(): org.bukkit.block.BlockFace; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockPistonExtendEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockPistonExtendEvent.ts deleted file mode 100644 index 15944329..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockPistonExtendEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockPistonExtendEvent extends org.bukkit.event.block.BlockPistonEvent { - constructor(block: org.bukkit.block.Block, length: number, direction: org.bukkit.block.BlockFace) - constructor(block: org.bukkit.block.Block, blocks: any[] /*java.util.List*/, direction: org.bukkit.block.BlockFace) - /** - * Get the amount of blocks which will be moved while extending. - */ - public getLength(): number; - /** - * Get an immutable list of the blocks which will be moved by the - * extending. - */ - public getBlocks(): any[] /*java.util.List*/; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockPistonRetractEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockPistonRetractEvent.ts deleted file mode 100644 index 66ea52f1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockPistonRetractEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockPistonRetractEvent extends org.bukkit.event.block.BlockPistonEvent { - constructor(block: org.bukkit.block.Block, blocks: any[] /*java.util.List*/, direction: org.bukkit.block.BlockFace) - /** - * Gets the location where the possible moving block might be if the - * retracting piston is sticky. - */ - public getRetractLocation(): org.bukkit.Location; - /** - * Get an immutable list of the blocks which will be moved by the - * extending. - */ - public getBlocks(): any[] /*java.util.List*/; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockPlaceEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockPlaceEvent.ts deleted file mode 100644 index 5b3c15c9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockPlaceEvent.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockPlaceEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(placedBlock: org.bukkit.block.Block, replacedBlockState: org.bukkit.block.BlockState, placedAgainst: org.bukkit.block.Block, itemInHand: org.bukkit.inventory.ItemStack, thePlayer: org.bukkit.entity.Player, canBuild: boolean) - constructor(placedBlock: org.bukkit.block.Block, replacedBlockState: org.bukkit.block.BlockState, placedAgainst: org.bukkit.block.Block, itemInHand: org.bukkit.inventory.ItemStack, thePlayer: org.bukkit.entity.Player, canBuild: boolean, hand: org.bukkit.inventory.EquipmentSlot) - protected cancel: boolean; - protected placedAgainst: org.bukkit.block.Block; - protected replacedBlockState: org.bukkit.block.BlockState; - protected itemInHand: org.bukkit.inventory.ItemStack; - protected player: org.bukkit.entity.Player; - protected hand: org.bukkit.inventory.EquipmentSlot; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the player who placed the block involved in this event. - */ - public getPlayer(): org.bukkit.entity.Player; - /** - * Clarity method for getting the placed block. Not really needed except - * for reasons of clarity. - */ - public getBlockPlaced(): org.bukkit.block.Block; - /** - * Gets the BlockState for the block which was replaced. Material type air - * mostly. - */ - public getBlockReplacedState(): org.bukkit.block.BlockState; - /** - * Gets the block that this block was placed against - */ - public getBlockAgainst(): org.bukkit.block.Block; - /** - * Gets the item in the player's hand when they placed the block. - */ - public getItemInHand(): org.bukkit.inventory.ItemStack; - /** - * Gets the hand which placed the block - */ - public getHand(): org.bukkit.inventory.EquipmentSlot; - /** - * Gets the value whether the player would be allowed to build here. - * Defaults to spawn if the server was going to stop them (such as, the - * player is in Spawn). Note that this is an entirely different check - * than BLOCK_CANBUILD, as this refers to a player, not universe-physics - * rule like cactus on dirt. - */ - public canBuild(): boolean; - /** - * Sets the canBuild state of this event. Set to true if you want the - * player to be able to build. - */ - public setBuild(canBuild: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockRedstoneEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockRedstoneEvent.ts deleted file mode 100644 index 96c57835..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockRedstoneEvent.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockRedstoneEvent extends org.bukkit.event.block.BlockEvent { - constructor(block: org.bukkit.block.Block, oldCurrent: number, newCurrent: number) - /** - * Gets the old current of this block - */ - public getOldCurrent(): number; - /** - * Gets the new current of this block - */ - public getNewCurrent(): number; - /** - * Sets the new current of this block - */ - public setNewCurrent(newCurrent: number): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockShearEntityEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockShearEntityEvent.ts deleted file mode 100644 index e65c5f72..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockShearEntityEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockShearEntityEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(dispenser: org.bukkit.block.Block, sheared: org.bukkit.entity.Entity, tool: org.bukkit.inventory.ItemStack) - /** - * Gets the entity that was sheared. - */ - public getEntity(): org.bukkit.entity.Entity; - /** - * Gets the item used to shear this sheep. - */ - public getTool(): org.bukkit.inventory.ItemStack; - public isCancelled(): boolean; - public setCancelled(cancelled: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.BlockSpreadEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.BlockSpreadEvent.ts deleted file mode 100644 index 1cf4d500..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.BlockSpreadEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class BlockSpreadEvent extends org.bukkit.event.block.BlockFormEvent { - constructor(block: org.bukkit.block.Block, source: org.bukkit.block.Block, newState: org.bukkit.block.BlockState) - /** - * Gets the source block involved in this event. - */ - public getSource(): org.bukkit.block.Block; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason.ts b/packages/bukkit/src/typings/org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason.ts deleted file mode 100644 index cf358a82..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - namespace CauldronLevelChangeEvent { - // @ts-ignore - class ChangeReason { - public static BUCKET_FILL: org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason; - public static BUCKET_EMPTY: org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason; - public static BOTTLE_FILL: org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason; - public static BOTTLE_EMPTY: org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason; - public static BANNER_WASH: org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason; - public static ARMOR_WASH: org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason; - public static EXTINGUISH: org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason; - public static EVAPORATE: org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason; - public static UNKNOWN: org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason; - public static values(): org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason[]; - public static valueOf(name: string): org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.CauldronLevelChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.CauldronLevelChangeEvent.ts deleted file mode 100644 index bdbc6fdd..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.CauldronLevelChangeEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class CauldronLevelChangeEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block, entity: org.bukkit.entity.Entity, reason: org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason, oldLevel: number, newLevel: number) - /** - * Get entity which did this. May be null. - */ - public getEntity(): org.bukkit.entity.Entity; - public getReason(): org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason; - public getOldLevel(): number; - public getNewLevel(): number; - public setNewLevel(newLevel: number): void; - public isCancelled(): boolean; - public setCancelled(cancelled: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.EntityBlockFormEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.EntityBlockFormEvent.ts deleted file mode 100644 index ae80359a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.EntityBlockFormEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class EntityBlockFormEvent extends org.bukkit.event.block.BlockFormEvent { - constructor(entity: org.bukkit.entity.Entity, block: org.bukkit.block.Block, blockstate: org.bukkit.block.BlockState) - /** - * Get the entity that formed the block. - */ - public getEntity(): org.bukkit.entity.Entity; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.FluidLevelChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.FluidLevelChangeEvent.ts deleted file mode 100644 index 39ff2642..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.FluidLevelChangeEvent.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class FluidLevelChangeEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(theBlock: org.bukkit.block.Block, newData: org.bukkit.block.data.BlockData) - /** - * Gets the new data of the changed block. - */ - public getNewData(): org.bukkit.block.data.BlockData; - /** - * Sets the new data of the changed block. Must be of the same Material as - * the old one. - */ - public setNewData(newData: org.bukkit.block.data.BlockData): void; - public isCancelled(): boolean; - public setCancelled(cancelled: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.LeavesDecayEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.LeavesDecayEvent.ts deleted file mode 100644 index d57136bd..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.LeavesDecayEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class LeavesDecayEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.MoistureChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.MoistureChangeEvent.ts deleted file mode 100644 index 382b794e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.MoistureChangeEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class MoistureChangeEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block, newState: org.bukkit.block.BlockState) - /** - * Gets the new state of the affected block. - */ - public getNewState(): org.bukkit.block.BlockState; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.NotePlayEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.NotePlayEvent.ts deleted file mode 100644 index eaac156c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.NotePlayEvent.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class NotePlayEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block, instrument: org.bukkit.Instrument, note: org.bukkit.Note) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the {@link Instrument} to be used. - */ - public getInstrument(): org.bukkit.Instrument; - /** - * Gets the {@link Note} to be played. - */ - public getNote(): org.bukkit.Note; - /** - * Overrides the {@link Instrument} to be used. - */ - public setInstrument(instrument: org.bukkit.Instrument): void; - /** - * Overrides the {@link Note} to be played. - */ - public setNote(note: org.bukkit.Note): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.SignChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.SignChangeEvent.ts deleted file mode 100644 index d35e92d4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.SignChangeEvent.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class SignChangeEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(theBlock: org.bukkit.block.Block, thePlayer: org.bukkit.entity.Player, theLines: string) - /** - * Gets the player changing the sign involved in this event. - */ - public getPlayer(): org.bukkit.entity.Player; - /** - * Gets all of the lines of text from the sign involved in this event. - */ - public getLines(): any; - /** - * Gets a single line of text from the sign involved in this event. - */ - public getLine(index: number): string; - /** - * Sets a single line for the sign involved in this event - */ - public setLine(index: number, line: string): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.block.SpongeAbsorbEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.block.SpongeAbsorbEvent.ts deleted file mode 100644 index 79a80fd6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.block.SpongeAbsorbEvent.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace block { - // @ts-ignore - class SpongeAbsorbEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(block: org.bukkit.block.Block, waterblocks: any[] /*java.util.List*/) - /** - * Get a list of all blocks to be removed by the sponge. - *
- * This list is mutable and contains the blocks in their removed state, i.e. - * having a type of {@link Material#AIR}. - */ - public getBlocks(): any[] /*java.util.List*/; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.enchantment.EnchantItemEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.enchantment.EnchantItemEvent.ts deleted file mode 100644 index b064306e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.enchantment.EnchantItemEvent.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace enchantment { - // @ts-ignore - class EnchantItemEvent extends org.bukkit.event.inventory.InventoryEvent implements org.bukkit.event.Cancellable { - constructor(enchanter: org.bukkit.entity.Player, view: org.bukkit.inventory.InventoryView, table: org.bukkit.block.Block, item: org.bukkit.inventory.ItemStack, level: number, enchants: Map /*java.util.Map*/, i: number) - /** - * Gets the player enchanting the item - */ - public getEnchanter(): org.bukkit.entity.Player; - /** - * Gets the block being used to enchant the item - */ - public getEnchantBlock(): org.bukkit.block.Block; - /** - * Gets the item to be enchanted (can be modified) - */ - public getItem(): org.bukkit.inventory.ItemStack; - /** - * Get cost in exp levels of the enchantment - */ - public getExpLevelCost(): number; - /** - * Set cost in exp levels of the enchantment - */ - public setExpLevelCost(level: number): void; - /** - * Get map of enchantment (levels, keyed by type) to be added to item - * (modify map returned to change values). Note: Any enchantments not - * allowed for the item will be ignored - */ - public getEnchantsToAdd(): Map /*java.util.Map*/; - /** - * Which button was pressed to initiate the enchanting. - */ - public whichButton(): number; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.enchantment.PrepareItemEnchantEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.enchantment.PrepareItemEnchantEvent.ts deleted file mode 100644 index f1139adb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.enchantment.PrepareItemEnchantEvent.ts +++ /dev/null @@ -1,43 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace enchantment { - // @ts-ignore - class PrepareItemEnchantEvent extends org.bukkit.event.inventory.InventoryEvent implements org.bukkit.event.Cancellable { - constructor(enchanter: org.bukkit.entity.Player, view: org.bukkit.inventory.InventoryView, table: org.bukkit.block.Block, item: org.bukkit.inventory.ItemStack, offers: org.bukkit.enchantments.EnchantmentOffer, bonus: number) - /** - * Gets the player enchanting the item - */ - public getEnchanter(): org.bukkit.entity.Player; - /** - * Gets the block being used to enchant the item - */ - public getEnchantBlock(): org.bukkit.block.Block; - /** - * Gets the item to be enchanted. - */ - public getItem(): org.bukkit.inventory.ItemStack; - /** - * Get a list of offered experience level costs of the enchantment. - */ - public getExpLevelCostsOffered(): number[]; - /** - * Get a list of available {@link EnchantmentOffer} for the player. You can - * modify the values to change the available offers for the player. An offer - * may be null, if there isn't a enchantment offer at a specific slot. There - * are 3 slots in the enchantment table available to modify. - */ - public getOffers(): org.bukkit.enchantments.EnchantmentOffer[]; - /** - * Get enchantment bonus in effect - corresponds to number of bookshelves - */ - public getEnchantmentBonus(): number; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.AreaEffectCloudApplyEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.AreaEffectCloudApplyEvent.ts deleted file mode 100644 index f6d10413..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.AreaEffectCloudApplyEvent.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class AreaEffectCloudApplyEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(entity: org.bukkit.entity.AreaEffectCloud, affectedEntities: any[] /*java.util.List*/) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getEntity(): org.bukkit.entity.AreaEffectCloud; - /** - * Retrieves a mutable list of the effected entities - *

- * It is important to note that not every entity in this list - * is guaranteed to be effected. The cloud may die during the - * application of its effects due to the depletion of {@link AreaEffectCloud#getDurationOnUse()} - * or {@link AreaEffectCloud#getRadiusOnUse()} - */ - public getAffectedEntities(): any[] /*java.util.List*/; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.BatToggleSleepEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.BatToggleSleepEvent.ts deleted file mode 100644 index b8aec9c5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.BatToggleSleepEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class BatToggleSleepEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.Bat, awake: boolean) - /** - * Get whether or not the bat is attempting to awaken. - */ - public isAwake(): boolean; - public setCancelled(cancel: boolean): void; - public isCancelled(): boolean; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.ts deleted file mode 100644 index f09b8652..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - namespace CreatureSpawnEvent { - // @ts-ignore - class SpawnReason { - public static NATURAL: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static JOCKEY: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static CHUNK_GEN: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static SPAWNER: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static EGG: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static SPAWNER_EGG: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static LIGHTNING: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static BUILD_SNOWMAN: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static BUILD_IRONGOLEM: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static BUILD_WITHER: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static VILLAGE_DEFENSE: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static VILLAGE_INVASION: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static BREEDING: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static SLIME_SPLIT: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static REINFORCEMENTS: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static NETHER_PORTAL: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static DISPENSE_EGG: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static INFECTION: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static CURED: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static OCELOT_BABY: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static SILVERFISH_BLOCK: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static MOUNT: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static TRAP: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static ENDER_PEARL: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static SHOULDER_ENTITY: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static DROWNED: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static SHEARED: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static EXPLOSION: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static CUSTOM: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static DEFAULT: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - public static values(): org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason[]; - public static valueOf(name: string): org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.CreatureSpawnEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.CreatureSpawnEvent.ts deleted file mode 100644 index 9e8db111..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.CreatureSpawnEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class CreatureSpawnEvent extends org.bukkit.event.entity.EntitySpawnEvent { - constructor(spawnee: org.bukkit.entity.LivingEntity, spawnReason: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason) - public getEntity(): org.bukkit.entity.LivingEntity; - /** - * Gets the reason for why the creature is being spawned. - */ - public getSpawnReason(): org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.CreeperPowerEvent.PowerCause.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.CreeperPowerEvent.PowerCause.ts deleted file mode 100644 index 02e45eb7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.CreeperPowerEvent.PowerCause.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - namespace CreeperPowerEvent { - // @ts-ignore - class PowerCause { - public static LIGHTNING: org.bukkit.event.entity.CreeperPowerEvent.PowerCause; - public static SET_ON: org.bukkit.event.entity.CreeperPowerEvent.PowerCause; - public static SET_OFF: org.bukkit.event.entity.CreeperPowerEvent.PowerCause; - public static values(): org.bukkit.event.entity.CreeperPowerEvent.PowerCause[]; - public static valueOf(name: string): org.bukkit.event.entity.CreeperPowerEvent.PowerCause; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.CreeperPowerEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.CreeperPowerEvent.ts deleted file mode 100644 index 6d0ff010..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.CreeperPowerEvent.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class CreeperPowerEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(creeper: org.bukkit.entity.Creeper, bolt: org.bukkit.entity.LightningStrike, cause: org.bukkit.event.entity.CreeperPowerEvent.PowerCause) - constructor(creeper: org.bukkit.entity.Creeper, cause: org.bukkit.event.entity.CreeperPowerEvent.PowerCause) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getEntity(): org.bukkit.entity.Creeper; - /** - * Gets the lightning bolt which is striking the Creeper. - */ - public getLightning(): org.bukkit.entity.LightningStrike; - /** - * Gets the cause of the creeper being (un)powered. - */ - public getCause(): org.bukkit.event.entity.CreeperPowerEvent.PowerCause; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EnderDragonChangePhaseEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EnderDragonChangePhaseEvent.ts deleted file mode 100644 index cf50d3e9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EnderDragonChangePhaseEvent.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EnderDragonChangePhaseEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(enderDragon: org.bukkit.entity.EnderDragon, currentPhase: org.bukkit.entity.EnderDragon.Phase, newPhase: org.bukkit.entity.EnderDragon.Phase) - public getEntity(): org.bukkit.entity.EnderDragon; - /** - * Gets the current phase that the dragon is in. This method will return null - * when a dragon is first spawned and hasn't yet been assigned a phase. - */ - public getCurrentPhase(): org.bukkit.entity.EnderDragon.Phase; - /** - * Gets the new phase that the dragon will switch to. - */ - public getNewPhase(): org.bukkit.entity.EnderDragon.Phase; - /** - * Sets the new phase for the ender dragon. - */ - public setNewPhase(newPhase: org.bukkit.entity.EnderDragon.Phase): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityAirChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityAirChangeEvent.ts deleted file mode 100644 index 3825d575..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityAirChangeEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityAirChangeEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.Entity, amount: number) - /** - * Gets the amount of air the entity has left (measured in ticks). - */ - public getAmount(): number; - /** - * Sets the amount of air remaining for the entity (measured in ticks. - */ - public setAmount(amount: number): void; - public isCancelled(): boolean; - public setCancelled(cancelled: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityBreakDoorEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityBreakDoorEvent.ts deleted file mode 100644 index 573c5709..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityBreakDoorEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityBreakDoorEvent extends org.bukkit.event.entity.EntityChangeBlockEvent { - constructor(entity: org.bukkit.entity.LivingEntity, targetBlock: org.bukkit.block.Block) - public getEntity(): org.bukkit.entity.LivingEntity; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityBreedEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityBreedEvent.ts deleted file mode 100644 index bf4e0d0d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityBreedEvent.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityBreedEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(child: org.bukkit.entity.LivingEntity, mother: org.bukkit.entity.LivingEntity, father: org.bukkit.entity.LivingEntity, breeder: org.bukkit.entity.LivingEntity, bredWith: org.bukkit.inventory.ItemStack, experience: number) - public getEntity(): org.bukkit.entity.LivingEntity; - /** - * Gets the parent creating this entity. - */ - public getMother(): org.bukkit.entity.LivingEntity; - /** - * Gets the other parent of the newly born entity. - */ - public getFather(): org.bukkit.entity.LivingEntity; - /** - * Gets the Entity responsible for breeding. Breeder is null for spontaneous - * conception. - */ - public getBreeder(): org.bukkit.entity.LivingEntity; - /** - * The ItemStack that was used to initiate breeding, if present. - */ - public getBredWith(): org.bukkit.inventory.ItemStack; - /** - * Get the amount of experience granted by breeding. - */ - public getExperience(): number; - /** - * Set the amount of experience granted by breeding. - */ - public setExperience(experience: number): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityChangeBlockEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityChangeBlockEvent.ts deleted file mode 100644 index 042bb173..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityChangeBlockEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityChangeBlockEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.Entity, block: org.bukkit.block.Block, to: org.bukkit.block.data.BlockData) - /** - * Gets the block the entity is changing - */ - public getBlock(): org.bukkit.block.Block; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the Material that the block is changing into - */ - public getTo(): org.bukkit.Material; - /** - * Gets the data for the block that would be changed into - */ - public getBlockData(): org.bukkit.block.data.BlockData; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityCombustByBlockEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityCombustByBlockEvent.ts deleted file mode 100644 index 94a18261..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityCombustByBlockEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityCombustByBlockEvent extends org.bukkit.event.entity.EntityCombustEvent { - constructor(combuster: org.bukkit.block.Block, combustee: org.bukkit.entity.Entity, duration: number) - /** - * The combuster can be lava or a block that is on fire. - *

- * WARNING: block may be null. - */ - public getCombuster(): org.bukkit.block.Block; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityCombustByEntityEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityCombustByEntityEvent.ts deleted file mode 100644 index 5bf99569..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityCombustByEntityEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityCombustByEntityEvent extends org.bukkit.event.entity.EntityCombustEvent { - constructor(combuster: org.bukkit.entity.Entity, combustee: org.bukkit.entity.Entity, duration: number) - /** - * Get the entity that caused the combustion event. - */ - public getCombuster(): org.bukkit.entity.Entity; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityCombustEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityCombustEvent.ts deleted file mode 100644 index 7a8d7c7e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityCombustEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityCombustEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(combustee: org.bukkit.entity.Entity, duration: number) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getDuration(): number; - /** - * The number of seconds the combustee should be alight for. - *

- * This value will only ever increase the combustion time, not decrease - * existing combustion times. - */ - public setDuration(duration: number): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityCreatePortalEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityCreatePortalEvent.ts deleted file mode 100644 index a6b39d87..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityCreatePortalEvent.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityCreatePortalEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.LivingEntity, blocks: any[] /*java.util.List*/, type: org.bukkit.PortalType) - public getEntity(): org.bukkit.entity.LivingEntity; - /** - * Gets a list of all blocks associated with the portal. - */ - public getBlocks(): any[] /*java.util.List*/; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the type of portal that is trying to be created. - */ - public getPortalType(): org.bukkit.PortalType; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageByBlockEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageByBlockEvent.ts deleted file mode 100644 index 85106d8c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageByBlockEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityDamageByBlockEvent extends org.bukkit.event.entity.EntityDamageEvent { - constructor(damager: org.bukkit.block.Block, damagee: org.bukkit.entity.Entity, cause: org.bukkit.event.entity.EntityDamageEvent.DamageCause, damage: number) - constructor(damager: org.bukkit.block.Block, damagee: org.bukkit.entity.Entity, cause: org.bukkit.event.entity.EntityDamageEvent.DamageCause, modifiers: Map /*java.util.Map*/, modifierFunctions: Map /*java.util.Map*/) - /** - * Returns the block that damaged the player. - */ - public getDamager(): org.bukkit.block.Block; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageByEntityEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageByEntityEvent.ts deleted file mode 100644 index 54140031..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageByEntityEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityDamageByEntityEvent extends org.bukkit.event.entity.EntityDamageEvent { - constructor(damager: org.bukkit.entity.Entity, damagee: org.bukkit.entity.Entity, cause: org.bukkit.event.entity.EntityDamageEvent.DamageCause, damage: number) - constructor(damager: org.bukkit.entity.Entity, damagee: org.bukkit.entity.Entity, cause: org.bukkit.event.entity.EntityDamageEvent.DamageCause, modifiers: Map /*java.util.Map*/, modifierFunctions: Map /*java.util.Map*/) - /** - * Returns the entity that damaged the defender. - */ - public getDamager(): org.bukkit.entity.Entity; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageEvent.DamageCause.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageEvent.DamageCause.ts deleted file mode 100644 index a4b01e37..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageEvent.DamageCause.ts +++ /dev/null @@ -1,43 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - namespace EntityDamageEvent { - // @ts-ignore - class DamageCause { - public static CONTACT: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static ENTITY_ATTACK: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static ENTITY_SWEEP_ATTACK: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static PROJECTILE: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static SUFFOCATION: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static FALL: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static FIRE: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static FIRE_TICK: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static MELTING: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static LAVA: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static DROWNING: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static BLOCK_EXPLOSION: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static ENTITY_EXPLOSION: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static VOID: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static LIGHTNING: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static SUICIDE: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static STARVATION: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static POISON: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static MAGIC: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static WITHER: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static FALLING_BLOCK: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static THORNS: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static DRAGON_BREATH: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static CUSTOM: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static FLY_INTO_WALL: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static HOT_FLOOR: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static CRAMMING: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static DRYOUT: org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public static values(): org.bukkit.event.entity.EntityDamageEvent.DamageCause[]; - public static valueOf(name: string): org.bukkit.event.entity.EntityDamageEvent.DamageCause; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageEvent.DamageModifier.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageEvent.DamageModifier.ts deleted file mode 100644 index 5ffe07c3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageEvent.DamageModifier.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - namespace EntityDamageEvent { - // @ts-ignore - class DamageModifier { - public static BASE: org.bukkit.event.entity.EntityDamageEvent.DamageModifier; - public static HARD_HAT: org.bukkit.event.entity.EntityDamageEvent.DamageModifier; - public static BLOCKING: org.bukkit.event.entity.EntityDamageEvent.DamageModifier; - public static ARMOR: org.bukkit.event.entity.EntityDamageEvent.DamageModifier; - public static RESISTANCE: org.bukkit.event.entity.EntityDamageEvent.DamageModifier; - public static MAGIC: org.bukkit.event.entity.EntityDamageEvent.DamageModifier; - public static ABSORPTION: org.bukkit.event.entity.EntityDamageEvent.DamageModifier; - public static values(): org.bukkit.event.entity.EntityDamageEvent.DamageModifier[]; - public static valueOf(name: string): org.bukkit.event.entity.EntityDamageEvent.DamageModifier; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageEvent.ts deleted file mode 100644 index 2b7fae1d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDamageEvent.ts +++ /dev/null @@ -1,59 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityDamageEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(damagee: org.bukkit.entity.Entity, cause: org.bukkit.event.entity.EntityDamageEvent.DamageCause, damage: number) - constructor(damagee: org.bukkit.entity.Entity, cause: org.bukkit.event.entity.EntityDamageEvent.DamageCause, modifiers: Map /*java.util.Map*/, modifierFunctions: Map /*java.util.Map*/) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the original damage for the specified modifier, as defined at this - * event's construction. - */ - public getOriginalDamage(type: org.bukkit.event.entity.EntityDamageEvent.DamageModifier): number; - /** - * Sets the damage for the specified modifier. - */ - public setDamage(type: org.bukkit.event.entity.EntityDamageEvent.DamageModifier, damage: number): void; - /** - * Gets the damage change for some modifier - */ - public getDamage(type: org.bukkit.event.entity.EntityDamageEvent.DamageModifier): number; - /** - * This checks to see if a particular modifier is valid for this event's - * caller, such that, {@link #setDamage(DamageModifier, double)} will not - * throw an {@link UnsupportedOperationException}. - *

- * {@link DamageModifier#BASE} is always applicable. - */ - public isApplicable(type: org.bukkit.event.entity.EntityDamageEvent.DamageModifier): boolean; - /** - * Gets the raw amount of damage caused by the event - */ - public getDamage(): number; - /** - * Gets the amount of damage caused by the event after all damage - * reduction is applied. - */ - public getFinalDamage(): number; - /** - * Sets the raw amount of damage caused by the event. - *

- * For compatibility this also recalculates the modifiers and scales - * them by the difference between the modifier for the previous damage - * value and the new one. - */ - public setDamage(damage: number): void; - /** - * Gets the cause of the damage. - */ - public getCause(): org.bukkit.event.entity.EntityDamageEvent.DamageCause; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDeathEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDeathEvent.ts deleted file mode 100644 index 47fc631a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDeathEvent.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityDeathEvent extends org.bukkit.event.entity.EntityEvent { - constructor(entity: org.bukkit.entity.LivingEntity, drops: any[] /*java.util.List*/) - constructor(what: org.bukkit.entity.LivingEntity, drops: any[] /*java.util.List*/, droppedExp: number) - public getEntity(): org.bukkit.entity.LivingEntity; - /** - * Gets how much EXP should be dropped from this death. - *

- * This does not indicate how much EXP should be taken from the entity in - * question, merely how much should be created after its death. - */ - public getDroppedExp(): number; - /** - * Sets how much EXP should be dropped from this death. - *

- * This does not indicate how much EXP should be taken from the entity in - * question, merely how much should be created after its death. - */ - public setDroppedExp(exp: number): void; - /** - * Gets all the items which will drop when the entity dies - */ - public getDrops(): any[] /*java.util.List*/; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDropItemEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDropItemEvent.ts deleted file mode 100644 index e664d745..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityDropItemEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityDropItemEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(entity: org.bukkit.entity.Entity, drop: org.bukkit.entity.Item) - /** - * Gets the Item created by the entity - */ - public getItemDrop(): org.bukkit.entity.Item; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityEvent.ts deleted file mode 100644 index ac56c07f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityEvent.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - abstract class EntityEvent extends org.bukkit.event.Event { - constructor(what: org.bukkit.entity.Entity) - protected entity: org.bukkit.entity.Entity; - /** - * Returns the Entity involved in this event - */ - public getEntity(): org.bukkit.entity.Entity; - /** - * Gets the EntityType of the Entity involved in this event. - */ - public getEntityType(): org.bukkit.entity.EntityType; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityExplodeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityExplodeEvent.ts deleted file mode 100644 index 400f3c75..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityExplodeEvent.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityExplodeEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.Entity, location: org.bukkit.Location, blocks: any[] /*java.util.List*/, yield: number) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Returns the list of blocks that would have been removed or were removed - * from the explosion event. - */ - public blockList(): any[] /*java.util.List*/; - /** - * Returns the location where the explosion happened. - *

- * It is not possible to get this value from the Entity as the Entity no - * longer exists in the world. - */ - public getLocation(): org.bukkit.Location; - /** - * Returns the percentage of blocks to drop from this explosion - */ - public getYield(): number; - /** - * Sets the percentage of blocks to drop from this explosion - */ - public setYield(yield: number): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityInteractEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityInteractEvent.ts deleted file mode 100644 index 75dee807..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityInteractEvent.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityInteractEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(entity: org.bukkit.entity.Entity, block: org.bukkit.block.Block) - protected block: org.bukkit.block.Block; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Returns the involved block - */ - public getBlock(): org.bukkit.block.Block; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPickupItemEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPickupItemEvent.ts deleted file mode 100644 index b154fef5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPickupItemEvent.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityPickupItemEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(entity: org.bukkit.entity.LivingEntity, item: org.bukkit.entity.Item, remaining: number) - public getEntity(): org.bukkit.entity.LivingEntity; - /** - * Gets the Item picked up by the entity. - */ - public getItem(): org.bukkit.entity.Item; - /** - * Gets the amount remaining on the ground, if any - */ - public getRemaining(): number; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPlaceEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPlaceEvent.ts deleted file mode 100644 index 6c373a77..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPlaceEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityPlaceEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(entity: org.bukkit.entity.Entity, player: org.bukkit.entity.Player, block: org.bukkit.block.Block, blockFace: org.bukkit.block.BlockFace) - /** - * Returns the player placing the entity - */ - public getPlayer(): org.bukkit.entity.Player; - /** - * Returns the block that the entity was placed on - */ - public getBlock(): org.bukkit.block.Block; - /** - * Returns the face of the block that the entity was placed on - */ - public getBlockFace(): org.bukkit.block.BlockFace; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPortalEnterEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPortalEnterEvent.ts deleted file mode 100644 index 50588e1d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPortalEnterEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityPortalEnterEvent extends org.bukkit.event.entity.EntityEvent { - constructor(entity: org.bukkit.entity.Entity, location: org.bukkit.Location) - /** - * Gets the portal block the entity is touching - */ - public getLocation(): org.bukkit.Location; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPortalEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPortalEvent.ts deleted file mode 100644 index 48223677..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPortalEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityPortalEvent extends org.bukkit.event.entity.EntityTeleportEvent { - constructor(entity: org.bukkit.entity.Entity, from: org.bukkit.Location, to: org.bukkit.Location) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPortalExitEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPortalExitEvent.ts deleted file mode 100644 index 504a0b99..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPortalExitEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityPortalExitEvent extends org.bukkit.event.entity.EntityTeleportEvent { - constructor(entity: org.bukkit.entity.Entity, from: org.bukkit.Location, to: org.bukkit.Location, before: org.bukkit.util.Vector, after: org.bukkit.util.Vector) - /** - * Gets a copy of the velocity that the entity has before entering the - * portal. - */ - public getBefore(): org.bukkit.util.Vector; - /** - * Gets a copy of the velocity that the entity will have after exiting the - * portal. - */ - public getAfter(): org.bukkit.util.Vector; - /** - * Sets the velocity that the entity will have after exiting the portal. - */ - public setAfter(after: org.bukkit.util.Vector): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPoseChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPoseChangeEvent.ts deleted file mode 100644 index 3cd0db44..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPoseChangeEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityPoseChangeEvent extends org.bukkit.event.entity.EntityEvent { - constructor(who: org.bukkit.entity.Entity, pose: org.bukkit.entity.Pose) - /** - * Gets the entity's new pose. - */ - public getPose(): org.bukkit.entity.Pose; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPotionEffectEvent.Action.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPotionEffectEvent.Action.ts deleted file mode 100644 index b8896db6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPotionEffectEvent.Action.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - namespace EntityPotionEffectEvent { - // @ts-ignore - class Action { - public static ADDED: org.bukkit.event.entity.EntityPotionEffectEvent.Action; - public static CHANGED: org.bukkit.event.entity.EntityPotionEffectEvent.Action; - public static CLEARED: org.bukkit.event.entity.EntityPotionEffectEvent.Action; - public static REMOVED: org.bukkit.event.entity.EntityPotionEffectEvent.Action; - public static values(): org.bukkit.event.entity.EntityPotionEffectEvent.Action[]; - public static valueOf(name: string): org.bukkit.event.entity.EntityPotionEffectEvent.Action; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ts deleted file mode 100644 index 511fdc16..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - namespace EntityPotionEffectEvent { - // @ts-ignore - class Cause { - public static AREA_EFFECT_CLOUD: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static ARROW: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static ATTACK: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static BEACON: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static COMMAND: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static CONDUIT: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static CONVERSION: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static DEATH: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static DOLPHIN: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static EXPIRATION: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static FOOD: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static ILLUSION: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static MILK: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static PLUGIN: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static POTION_DRINK: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static POTION_SPLASH: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static SPIDER_SPAWN: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static TOTEM: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static TURTLE_HELMET: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static UNKNOWN: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static VILLAGER_TRADE: org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - public static values(): org.bukkit.event.entity.EntityPotionEffectEvent.Cause[]; - public static valueOf(name: string): org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPotionEffectEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPotionEffectEvent.ts deleted file mode 100644 index f650e02f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityPotionEffectEvent.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityPotionEffectEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(livingEntity: org.bukkit.entity.LivingEntity, oldEffect: org.bukkit.potion.PotionEffect, newEffect: org.bukkit.potion.PotionEffect, cause: org.bukkit.event.entity.EntityPotionEffectEvent.Cause, action: org.bukkit.event.entity.EntityPotionEffectEvent.Action, override: boolean) - /** - * Gets the old potion effect of the changed type, which will be removed. - */ - public getOldEffect(): org.bukkit.potion.PotionEffect; - /** - * Gets new potion effect of the changed type to be applied. - */ - public getNewEffect(): org.bukkit.potion.PotionEffect; - /** - * Gets the cause why the effect has changed. - */ - public getCause(): org.bukkit.event.entity.EntityPotionEffectEvent.Cause; - /** - * Gets the action which will be performed on the potion effect type. - */ - public getAction(): org.bukkit.event.entity.EntityPotionEffectEvent.Action; - /** - * Gets the modified potion effect type. - */ - public getModifiedType(): org.bukkit.potion.PotionEffectType; - /** - * Returns if the new potion effect will override the old potion effect - * (Only applicable for the CHANGED Action). - */ - public isOverride(): boolean; - /** - * Sets if the new potion effect will override the old potion effect (Only - * applicable for the CHANGED action). - */ - public setOverride(override: boolean): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason.ts deleted file mode 100644 index 8993bb40..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - namespace EntityRegainHealthEvent { - // @ts-ignore - class RegainReason { - public static REGEN: org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason; - public static SATIATED: org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason; - public static EATING: org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason; - public static ENDER_CRYSTAL: org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason; - public static MAGIC: org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason; - public static MAGIC_REGEN: org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason; - public static WITHER_SPAWN: org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason; - public static WITHER: org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason; - public static CUSTOM: org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason; - public static values(): org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason[]; - public static valueOf(name: string): org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityRegainHealthEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityRegainHealthEvent.ts deleted file mode 100644 index bcb51937..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityRegainHealthEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityRegainHealthEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(entity: org.bukkit.entity.Entity, amount: number, regainReason: org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason) - /** - * Gets the amount of regained health - */ - public getAmount(): number; - /** - * Sets the amount of regained health - */ - public setAmount(amount: number): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the reason for why the entity is regaining health - */ - public getRegainReason(): org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityResurrectEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityResurrectEvent.ts deleted file mode 100644 index 1ca585a9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityResurrectEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityResurrectEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.LivingEntity) - public getEntity(): org.bukkit.entity.LivingEntity; - public isCancelled(): boolean; - public setCancelled(cancelled: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityShootBowEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityShootBowEvent.ts deleted file mode 100644 index d7e7370c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityShootBowEvent.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityShootBowEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(shooter: org.bukkit.entity.LivingEntity, bow: org.bukkit.inventory.ItemStack, projectile: org.bukkit.entity.Entity, force: number) - public getEntity(): org.bukkit.entity.LivingEntity; - /** - * Gets the bow ItemStack used to fire the arrow. - */ - public getBow(): org.bukkit.inventory.ItemStack; - /** - * Gets the projectile which will be launched by this event - */ - public getProjectile(): org.bukkit.entity.Entity; - /** - * Replaces the projectile which will be launched - */ - public setProjectile(projectile: org.bukkit.entity.Entity): void; - /** - * Gets the force the arrow was launched with - */ - public getForce(): number; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntitySpawnEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntitySpawnEvent.ts deleted file mode 100644 index 8f0fd088..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntitySpawnEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntitySpawnEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(spawnee: org.bukkit.entity.Entity) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the location at which the entity is spawning. - */ - public getLocation(): org.bukkit.Location; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTameEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTameEvent.ts deleted file mode 100644 index ab0ac940..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTameEvent.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityTameEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(entity: org.bukkit.entity.LivingEntity, owner: org.bukkit.entity.AnimalTamer) - public getEntity(): org.bukkit.entity.LivingEntity; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the owning AnimalTamer - */ - public getOwner(): org.bukkit.entity.AnimalTamer; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTargetEvent.TargetReason.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTargetEvent.TargetReason.ts deleted file mode 100644 index 446a29a6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTargetEvent.TargetReason.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - namespace EntityTargetEvent { - // @ts-ignore - class TargetReason { - public static TARGET_DIED: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static CLOSEST_PLAYER: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static TARGET_ATTACKED_ENTITY: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static PIG_ZOMBIE_TARGET: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static FORGOT_TARGET: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static TARGET_ATTACKED_OWNER: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static OWNER_ATTACKED_TARGET: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static RANDOM_TARGET: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static DEFEND_VILLAGE: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static TARGET_ATTACKED_NEARBY_ENTITY: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static REINFORCEMENT_TARGET: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static COLLISION: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static CUSTOM: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static CLOSEST_ENTITY: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static FOLLOW_LEADER: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static TEMPT: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static UNKNOWN: org.bukkit.event.entity.EntityTargetEvent.TargetReason; - public static values(): org.bukkit.event.entity.EntityTargetEvent.TargetReason[]; - public static valueOf(name: string): org.bukkit.event.entity.EntityTargetEvent.TargetReason; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTargetEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTargetEvent.ts deleted file mode 100644 index 766e790c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTargetEvent.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityTargetEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(entity: org.bukkit.entity.Entity, target: org.bukkit.entity.Entity, reason: org.bukkit.event.entity.EntityTargetEvent.TargetReason) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Returns the reason for the targeting - */ - public getReason(): org.bukkit.event.entity.EntityTargetEvent.TargetReason; - /** - * Get the entity that this is targeting. - *

- * This will be null in the case that the event is called when the mob - * forgets its target. - */ - public getTarget(): org.bukkit.entity.Entity; - /** - * Set the entity that you want the mob to target instead. - *

- * It is possible to be null, null will cause the entity to be - * target-less. - *

- * This is different from cancelling the event. Cancelling the event will - * cause the entity to keep an original target, while setting to be null - * will cause the entity to be reset. - */ - public setTarget(target: org.bukkit.entity.Entity): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTargetLivingEntityEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTargetLivingEntityEvent.ts deleted file mode 100644 index b78ea631..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTargetLivingEntityEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityTargetLivingEntityEvent extends org.bukkit.event.entity.EntityTargetEvent { - constructor(entity: org.bukkit.entity.Entity, target: org.bukkit.entity.LivingEntity, reason: org.bukkit.event.entity.EntityTargetEvent.TargetReason) - public getTarget(): org.bukkit.entity.LivingEntity; - /** - * Set the Entity that you want the mob to target. - *

- * It is possible to be null, null will cause the entity to be - * target-less. - *

- * Must be a LivingEntity, or null. - */ - public setTarget(target: org.bukkit.entity.Entity): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTeleportEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTeleportEvent.ts deleted file mode 100644 index 0545d92e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTeleportEvent.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityTeleportEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.Entity, from: org.bukkit.Location, to: org.bukkit.Location) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the location that this entity moved from - */ - public getFrom(): org.bukkit.Location; - /** - * Sets the location that this entity moved from - */ - public setFrom(from: org.bukkit.Location): void; - /** - * Gets the location that this entity moved to - */ - public getTo(): org.bukkit.Location; - /** - * Sets the location that this entity moved to - */ - public setTo(to: org.bukkit.Location): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityToggleGlideEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityToggleGlideEvent.ts deleted file mode 100644 index f4451671..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityToggleGlideEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityToggleGlideEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(who: org.bukkit.entity.LivingEntity, isGliding: boolean) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public isGliding(): boolean; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityToggleSwimEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityToggleSwimEvent.ts deleted file mode 100644 index 2dd20adb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityToggleSwimEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityToggleSwimEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(who: org.bukkit.entity.LivingEntity, isSwimming: boolean) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public isSwimming(): boolean; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTransformEvent.TransformReason.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTransformEvent.TransformReason.ts deleted file mode 100644 index 1f9945a7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTransformEvent.TransformReason.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - namespace EntityTransformEvent { - // @ts-ignore - class TransformReason { - public static CURED: org.bukkit.event.entity.EntityTransformEvent.TransformReason; - public static INFECTION: org.bukkit.event.entity.EntityTransformEvent.TransformReason; - public static DROWNED: org.bukkit.event.entity.EntityTransformEvent.TransformReason; - public static SHEARED: org.bukkit.event.entity.EntityTransformEvent.TransformReason; - public static LIGHTNING: org.bukkit.event.entity.EntityTransformEvent.TransformReason; - public static SPLIT: org.bukkit.event.entity.EntityTransformEvent.TransformReason; - public static values(): org.bukkit.event.entity.EntityTransformEvent.TransformReason[]; - public static valueOf(name: string): org.bukkit.event.entity.EntityTransformEvent.TransformReason; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTransformEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTransformEvent.ts deleted file mode 100644 index 4f16c994..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityTransformEvent.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityTransformEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(original: org.bukkit.entity.Entity, convertedList: any[] /*java.util.List*/, transformReason: org.bukkit.event.entity.EntityTransformEvent.TransformReason) - /** - * Gets the entity that the original entity was transformed to. - * This returns the first entity in the transformed entity list. - */ - public getTransformedEntity(): org.bukkit.entity.Entity; - /** - * Gets the entities that the original entity was transformed to. - */ - public getTransformedEntities(): any[] /*java.util.List*/; - /** - * Gets the reason for the conversion that has occurred. - */ - public getTransformReason(): org.bukkit.event.entity.EntityTransformEvent.TransformReason; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityUnleashEvent.UnleashReason.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityUnleashEvent.UnleashReason.ts deleted file mode 100644 index a8c245b2..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityUnleashEvent.UnleashReason.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - namespace EntityUnleashEvent { - // @ts-ignore - class UnleashReason { - public static HOLDER_GONE: org.bukkit.event.entity.EntityUnleashEvent.UnleashReason; - public static PLAYER_UNLEASH: org.bukkit.event.entity.EntityUnleashEvent.UnleashReason; - public static DISTANCE: org.bukkit.event.entity.EntityUnleashEvent.UnleashReason; - public static UNKNOWN: org.bukkit.event.entity.EntityUnleashEvent.UnleashReason; - public static values(): org.bukkit.event.entity.EntityUnleashEvent.UnleashReason[]; - public static valueOf(name: string): org.bukkit.event.entity.EntityUnleashEvent.UnleashReason; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityUnleashEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.EntityUnleashEvent.ts deleted file mode 100644 index 1bc39b22..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.EntityUnleashEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class EntityUnleashEvent extends org.bukkit.event.entity.EntityEvent { - constructor(entity: org.bukkit.entity.Entity, reason: org.bukkit.event.entity.EntityUnleashEvent.UnleashReason) - /** - * Returns the reason for the unleashing. - */ - public getReason(): org.bukkit.event.entity.EntityUnleashEvent.UnleashReason; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.ExpBottleEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.ExpBottleEvent.ts deleted file mode 100644 index 0276996a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.ExpBottleEvent.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class ExpBottleEvent extends org.bukkit.event.entity.ProjectileHitEvent { - constructor(bottle: org.bukkit.entity.ThrownExpBottle, exp: number) - public getEntity(): org.bukkit.entity.ThrownExpBottle; - /** - * This method indicates if the particle effect should be shown. - */ - public getShowEffect(): boolean; - /** - * This method sets if the particle effect will be shown. - *

- * This does not change the experience created. - */ - public setShowEffect(showEffect: boolean): void; - /** - * This method retrieves the amount of experience to be created. - *

- * The number indicates a total amount to be divided into orbs. - */ - public getExperience(): number; - /** - * This method sets the amount of experience to be created. - *

- * The number indicates a total amount to be divided into orbs. - */ - public setExperience(exp: number): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.ExplosionPrimeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.ExplosionPrimeEvent.ts deleted file mode 100644 index b109dcbf..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.ExplosionPrimeEvent.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class ExplosionPrimeEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.Entity, radius: number, fire: boolean) - constructor(explosive: org.bukkit.entity.Explosive) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the radius of the explosion - */ - public getRadius(): number; - /** - * Sets the radius of the explosion - */ - public setRadius(radius: number): void; - /** - * Gets whether this explosion will create fire or not - */ - public getFire(): boolean; - /** - * Sets whether this explosion will create fire or not - */ - public setFire(fire: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.FireworkExplodeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.FireworkExplodeEvent.ts deleted file mode 100644 index ff1a5dc3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.FireworkExplodeEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class FireworkExplodeEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.Firework) - public isCancelled(): boolean; - /** - * Set the cancelled state of this event. If the firework explosion is - * cancelled, the firework will still be removed, but no particles will be - * displayed. - */ - public setCancelled(cancel: boolean): void; - public getEntity(): org.bukkit.entity.Firework; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.FoodLevelChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.FoodLevelChangeEvent.ts deleted file mode 100644 index 8ffe3148..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.FoodLevelChangeEvent.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class FoodLevelChangeEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.HumanEntity, level: number) - constructor(what: org.bukkit.entity.HumanEntity, level: number, item: org.bukkit.inventory.ItemStack) - public getEntity(): org.bukkit.entity.HumanEntity; - /** - * Gets the item that triggered this event, if any. - */ - public getItem(): org.bukkit.inventory.ItemStack; - /** - * Gets the resultant food level that the entity involved in this event - * should be set to. - *

- * Where 20 is a full food bar and 0 is an empty one. - */ - public getFoodLevel(): number; - /** - * Sets the resultant food level that the entity involved in this event - * should be set to - */ - public setFoodLevel(level: number): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.HorseJumpEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.HorseJumpEvent.ts deleted file mode 100644 index 7e4bec2c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.HorseJumpEvent.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class HorseJumpEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(horse: org.bukkit.entity.AbstractHorse, power: number) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getEntity(): org.bukkit.entity.AbstractHorse; - /** - * Gets the power of the jump. - *

- * Power is a value that defines how much of the horse's jump strength - * should be used for the jump. Power is effectively multiplied times - * the horse's jump strength to determine how high the jump is; 0 - * represents no jump strength while 1 represents full jump strength. - * Setting power to a value above 1 will use additional jump strength - * that the horse does not usually have. - *

- * Power does not affect how high the horse is capable of jumping, only - * how much of its jumping capability will be used in this jump. To set - * the horse's overall jump strength, see {@link - * AbstractHorse#setJumpStrength(double)}. - */ - public getPower(): number; - /** - * Sets the power of the jump. - *

- * Jump power can be set to a value above 1.0 which will increase the - * strength of this jump above the horse's actual jump strength. - *

- * Setting the jump power to 0 will result in the jump animation still - * playing, but the horse not leaving the ground. Only canceling this - * event will result in no jump animation at all. - */ - public setPower(power: number): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.ItemDespawnEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.ItemDespawnEvent.ts deleted file mode 100644 index bbf143d7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.ItemDespawnEvent.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class ItemDespawnEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(despawnee: org.bukkit.entity.Item, loc: org.bukkit.Location) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getEntity(): org.bukkit.entity.Item; - /** - * Gets the location at which the item is despawning. - */ - public getLocation(): org.bukkit.Location; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.ItemMergeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.ItemMergeEvent.ts deleted file mode 100644 index 5664da79..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.ItemMergeEvent.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class ItemMergeEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(item: org.bukkit.entity.Item, target: org.bukkit.entity.Item) - public isCancelled(): boolean; - public setCancelled(cancelled: boolean): void; - public getEntity(): org.bukkit.entity.Item; - /** - * Gets the Item entity the main Item is being merged into. - */ - public getTarget(): org.bukkit.entity.Item; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.ItemSpawnEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.ItemSpawnEvent.ts deleted file mode 100644 index 1a7ecff9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.ItemSpawnEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class ItemSpawnEvent extends org.bukkit.event.entity.EntitySpawnEvent { - constructor(spawnee: org.bukkit.entity.Item, loc: org.bukkit.Location) - constructor(spawnee: org.bukkit.entity.Item) - public getEntity(): org.bukkit.entity.Item; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.LingeringPotionSplashEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.LingeringPotionSplashEvent.ts deleted file mode 100644 index 0b519912..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.LingeringPotionSplashEvent.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class LingeringPotionSplashEvent extends org.bukkit.event.entity.ProjectileHitEvent implements org.bukkit.event.Cancellable { - constructor(potion: org.bukkit.entity.ThrownPotion, entity: org.bukkit.entity.AreaEffectCloud) - public getEntity(): org.bukkit.entity.ThrownPotion; - /** - * Gets the AreaEffectCloud spawned - */ - public getAreaEffectCloud(): org.bukkit.entity.AreaEffectCloud; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.PigZapEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.PigZapEvent.ts deleted file mode 100644 index ef6948c9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.PigZapEvent.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class PigZapEvent extends org.bukkit.event.entity.EntityTransformEvent implements org.bukkit.event.Cancellable { - constructor(pig: org.bukkit.entity.Pig, bolt: org.bukkit.entity.LightningStrike, pigzombie: org.bukkit.entity.PigZombie) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getEntity(): org.bukkit.entity.Pig; - /** - * Gets the bolt which is striking the pig. - */ - public getLightning(): org.bukkit.entity.LightningStrike; - /** - * Gets the zombie pig that will replace the pig, provided the event is - * not cancelled first. - */ - public getPigZombie(): org.bukkit.entity.PigZombie; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.PigZombieAngerEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.PigZombieAngerEvent.ts deleted file mode 100644 index 41964ae6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.PigZombieAngerEvent.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class PigZombieAngerEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(pigZombie: org.bukkit.entity.PigZombie, target: org.bukkit.entity.Entity, newAnger: number) - /** - * Gets the entity (if any) which triggered this anger update. - */ - public getTarget(): org.bukkit.entity.Entity; - /** - * Gets the new anger resulting from this event. - */ - public getNewAnger(): number; - /** - * Sets the new anger resulting from this event. - */ - public setNewAnger(newAnger: number): void; - public getEntity(): org.bukkit.entity.PigZombie; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.PlayerDeathEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.PlayerDeathEvent.ts deleted file mode 100644 index 1d1a1c17..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.PlayerDeathEvent.ts +++ /dev/null @@ -1,81 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class PlayerDeathEvent extends org.bukkit.event.entity.EntityDeathEvent { - constructor(player: org.bukkit.entity.Player, drops: any[] /*java.util.List*/, droppedExp: number, deathMessage: string) - constructor(player: org.bukkit.entity.Player, drops: any[] /*java.util.List*/, droppedExp: number, newExp: number, deathMessage: string) - constructor(player: org.bukkit.entity.Player, drops: any[] /*java.util.List*/, droppedExp: number, newExp: number, newTotalExp: number, newLevel: number, deathMessage: string) - public getEntity(): org.bukkit.entity.LivingEntity; - /** - * Set the death message that will appear to everyone on the server. - */ - public setDeathMessage(deathMessage: string): void; - /** - * Get the death message that will appear to everyone on the server. - */ - public getDeathMessage(): string; - /** - * Gets how much EXP the Player should have at respawn. - *

- * This does not indicate how much EXP should be dropped, please see - * {@link #getDroppedExp()} for that. - */ - public getNewExp(): number; - /** - * Sets how much EXP the Player should have at respawn. - *

- * This does not indicate how much EXP should be dropped, please see - * {@link #setDroppedExp(int)} for that. - */ - public setNewExp(exp: number): void; - /** - * Gets the Level the Player should have at respawn. - */ - public getNewLevel(): number; - /** - * Sets the Level the Player should have at respawn. - */ - public setNewLevel(level: number): void; - /** - * Gets the Total EXP the Player should have at respawn. - */ - public getNewTotalExp(): number; - /** - * Sets the Total EXP the Player should have at respawn. - */ - public setNewTotalExp(totalExp: number): void; - /** - * Gets if the Player should keep all EXP at respawn. - *

- * This flag overrides other EXP settings - */ - public getKeepLevel(): boolean; - /** - * Sets if the Player should keep all EXP at respawn. - *

- * This overrides all other EXP settings - *

- * This doesn't prevent prevent the EXP from dropping. - * {@link #setDroppedExp(int)} should be used stop the - * EXP from dropping. - */ - public setKeepLevel(keepLevel: boolean): void; - /** - * Sets if the Player keeps inventory on death. - *

- * This doesn't prevent prevent the items from dropping. - * {@code getDrops().clear()} should be used stop the - * items from dropping. - */ - public setKeepInventory(keepInventory: boolean): void; - /** - * Gets if the Player keeps inventory on death. - */ - public getKeepInventory(): boolean; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.PlayerLeashEntityEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.PlayerLeashEntityEvent.ts deleted file mode 100644 index 93924163..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.PlayerLeashEntityEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class PlayerLeashEntityEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.Entity, leashHolder: org.bukkit.entity.Entity, leasher: org.bukkit.entity.Player) - /** - * Returns the entity that is holding the leash. - */ - public getLeashHolder(): org.bukkit.entity.Entity; - /** - * Returns the entity being leashed. - */ - public getEntity(): org.bukkit.entity.Entity; - /** - * Returns the player involved in this event - */ - public getPlayer(): org.bukkit.entity.Player; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.PotionSplashEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.PotionSplashEvent.ts deleted file mode 100644 index aaa55283..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.PotionSplashEvent.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class PotionSplashEvent extends org.bukkit.event.entity.ProjectileHitEvent implements org.bukkit.event.Cancellable { - constructor(potion: org.bukkit.entity.ThrownPotion, affectedEntities: Map /*java.util.Map*/) - public getEntity(): org.bukkit.entity.ThrownPotion; - /** - * Gets the potion which caused this event - */ - public getPotion(): org.bukkit.entity.ThrownPotion; - /** - * Retrieves a list of all effected entities - */ - public getAffectedEntities(): any[] /*java.util.Collection*/; - /** - * Gets the intensity of the potion's effects for given entity; This - * depends on the distance to the impact center - */ - public getIntensity(entity: org.bukkit.entity.LivingEntity): number; - /** - * Overwrites the intensity for a given entity - */ - public setIntensity(entity: org.bukkit.entity.LivingEntity, intensity: number): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.ProjectileHitEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.ProjectileHitEvent.ts deleted file mode 100644 index 82a627df..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.ProjectileHitEvent.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class ProjectileHitEvent extends org.bukkit.event.entity.EntityEvent { - constructor(projectile: org.bukkit.entity.Projectile) - constructor(projectile: org.bukkit.entity.Projectile, hitEntity: org.bukkit.entity.Entity) - constructor(projectile: org.bukkit.entity.Projectile, hitBlock: org.bukkit.block.Block) - constructor(projectile: org.bukkit.entity.Projectile, hitEntity: org.bukkit.entity.Entity, hitBlock: org.bukkit.block.Block) - constructor(projectile: org.bukkit.entity.Projectile, hitEntity: org.bukkit.entity.Entity, hitBlock: org.bukkit.block.Block, hitFace: org.bukkit.block.BlockFace) - public getEntity(): org.bukkit.entity.Projectile; - /** - * Gets the block that was hit, if it was a block that was hit. - */ - public getHitBlock(): org.bukkit.block.Block; - /** - * Gets the block face that was hit, if it was a block that was hit and the - * face was provided in the vent. - */ - public getHitBlockFace(): org.bukkit.block.BlockFace; - /** - * Gets the entity that was hit, if it was an entity that was hit. - */ - public getHitEntity(): org.bukkit.entity.Entity; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.ProjectileLaunchEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.ProjectileLaunchEvent.ts deleted file mode 100644 index dacda074..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.ProjectileLaunchEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class ProjectileLaunchEvent extends org.bukkit.event.entity.EntitySpawnEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.Entity) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getEntity(): org.bukkit.entity.Projectile; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.SheepDyeWoolEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.SheepDyeWoolEvent.ts deleted file mode 100644 index b63a08ec..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.SheepDyeWoolEvent.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class SheepDyeWoolEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(sheep: org.bukkit.entity.Sheep, color: org.bukkit.DyeColor) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getEntity(): org.bukkit.entity.Sheep; - /** - * Gets the DyeColor the sheep is being dyed - */ - public getColor(): org.bukkit.DyeColor; - /** - * Sets the DyeColor the sheep is being dyed - */ - public setColor(color: org.bukkit.DyeColor): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.SheepRegrowWoolEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.SheepRegrowWoolEvent.ts deleted file mode 100644 index 80395942..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.SheepRegrowWoolEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class SheepRegrowWoolEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(sheep: org.bukkit.entity.Sheep) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getEntity(): org.bukkit.entity.Sheep; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.SlimeSplitEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.SlimeSplitEvent.ts deleted file mode 100644 index d5db3a4d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.SlimeSplitEvent.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class SlimeSplitEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(slime: org.bukkit.entity.Slime, count: number) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getEntity(): org.bukkit.entity.Slime; - /** - * Gets the amount of smaller slimes to spawn - */ - public getCount(): number; - /** - * Sets how many smaller slimes will spawn on the split - */ - public setCount(count: number): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.VillagerAcquireTradeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.VillagerAcquireTradeEvent.ts deleted file mode 100644 index c0021a37..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.VillagerAcquireTradeEvent.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class VillagerAcquireTradeEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.AbstractVillager, recipe: org.bukkit.inventory.MerchantRecipe) - /** - * Get the recipe to be acquired. - */ - public getRecipe(): org.bukkit.inventory.MerchantRecipe; - /** - * Set the recipe to be acquired. - */ - public setRecipe(recipe: org.bukkit.inventory.MerchantRecipe): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getEntity(): org.bukkit.entity.AbstractVillager; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.VillagerCareerChangeEvent.ChangeReason.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.VillagerCareerChangeEvent.ChangeReason.ts deleted file mode 100644 index f2eb1a4c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.VillagerCareerChangeEvent.ChangeReason.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - namespace VillagerCareerChangeEvent { - // @ts-ignore - class ChangeReason { - public static LOSING_JOB: org.bukkit.event.entity.VillagerCareerChangeEvent.ChangeReason; - public static EMPLOYED: org.bukkit.event.entity.VillagerCareerChangeEvent.ChangeReason; - public static values(): org.bukkit.event.entity.VillagerCareerChangeEvent.ChangeReason[]; - public static valueOf(name: string): org.bukkit.event.entity.VillagerCareerChangeEvent.ChangeReason; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.VillagerCareerChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.VillagerCareerChangeEvent.ts deleted file mode 100644 index fcb6315b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.VillagerCareerChangeEvent.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class VillagerCareerChangeEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.Villager, profession: org.bukkit.entity.Villager.Profession, reason: org.bukkit.event.entity.VillagerCareerChangeEvent.ChangeReason) - public getEntity(): org.bukkit.entity.Villager; - /** - * Gets the future profession of the villager. - */ - public getProfession(): org.bukkit.entity.Villager.Profession; - /** - * Sets the profession the villager will become from this event. - */ - public setProfession(profession: org.bukkit.entity.Villager.Profession): void; - /** - * Gets the reason for why the villager's career is changing. - */ - public getReason(): org.bukkit.event.entity.VillagerCareerChangeEvent.ChangeReason; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.entity.VillagerReplenishTradeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.entity.VillagerReplenishTradeEvent.ts deleted file mode 100644 index a4a5e34b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.entity.VillagerReplenishTradeEvent.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace entity { - // @ts-ignore - class VillagerReplenishTradeEvent extends org.bukkit.event.entity.EntityEvent implements org.bukkit.event.Cancellable { - constructor(what: org.bukkit.entity.AbstractVillager, recipe: org.bukkit.inventory.MerchantRecipe, bonus: number) - /** - * Get the recipe to replenish. - */ - public getRecipe(): org.bukkit.inventory.MerchantRecipe; - /** - * Set the recipe to replenish. - */ - public setRecipe(recipe: org.bukkit.inventory.MerchantRecipe): void; - /** - * Get the bonus uses added. The maximum uses of the recipe will be - * increased by this number. - */ - public getBonus(): number; - /** - * Set the bonus uses added. - */ - public setBonus(bonus: number): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getEntity(): org.bukkit.entity.AbstractVillager; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingBreakByEntityEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingBreakByEntityEvent.ts deleted file mode 100644 index 4dd821dc..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingBreakByEntityEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace hanging { - // @ts-ignore - class HangingBreakByEntityEvent extends org.bukkit.event.hanging.HangingBreakEvent { - constructor(hanging: org.bukkit.entity.Hanging, remover: org.bukkit.entity.Entity) - constructor(hanging: org.bukkit.entity.Hanging, remover: org.bukkit.entity.Entity, cause: org.bukkit.event.hanging.HangingBreakEvent.RemoveCause) - /** - * Gets the entity that removed the hanging entity. - * May be null, for example when broken by an explosion. - */ - public getRemover(): org.bukkit.entity.Entity; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingBreakEvent.RemoveCause.ts b/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingBreakEvent.RemoveCause.ts deleted file mode 100644 index 40fd55ee..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingBreakEvent.RemoveCause.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace hanging { - namespace HangingBreakEvent { - // @ts-ignore - class RemoveCause { - public static ENTITY: org.bukkit.event.hanging.HangingBreakEvent.RemoveCause; - public static EXPLOSION: org.bukkit.event.hanging.HangingBreakEvent.RemoveCause; - public static OBSTRUCTION: org.bukkit.event.hanging.HangingBreakEvent.RemoveCause; - public static PHYSICS: org.bukkit.event.hanging.HangingBreakEvent.RemoveCause; - public static DEFAULT: org.bukkit.event.hanging.HangingBreakEvent.RemoveCause; - public static values(): org.bukkit.event.hanging.HangingBreakEvent.RemoveCause[]; - public static valueOf(name: string): org.bukkit.event.hanging.HangingBreakEvent.RemoveCause; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingBreakEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingBreakEvent.ts deleted file mode 100644 index d04eefbd..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingBreakEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace hanging { - // @ts-ignore - class HangingBreakEvent extends org.bukkit.event.hanging.HangingEvent implements org.bukkit.event.Cancellable { - constructor(hanging: org.bukkit.entity.Hanging, cause: org.bukkit.event.hanging.HangingBreakEvent.RemoveCause) - /** - * Gets the cause for the hanging entity's removal - */ - public getCause(): org.bukkit.event.hanging.HangingBreakEvent.RemoveCause; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingEvent.ts deleted file mode 100644 index d550b533..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace hanging { - // @ts-ignore - abstract class HangingEvent extends org.bukkit.event.Event { - constructor(painting: org.bukkit.entity.Hanging) - protected hanging: org.bukkit.entity.Hanging; - /** - * Gets the hanging entity involved in this event. - */ - public getEntity(): org.bukkit.entity.Hanging; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingPlaceEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingPlaceEvent.ts deleted file mode 100644 index 6025d0de..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.hanging.HangingPlaceEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace hanging { - // @ts-ignore - class HangingPlaceEvent extends org.bukkit.event.hanging.HangingEvent implements org.bukkit.event.Cancellable { - constructor(hanging: org.bukkit.entity.Hanging, player: org.bukkit.entity.Player, block: org.bukkit.block.Block, blockFace: org.bukkit.block.BlockFace) - /** - * Returns the player placing the hanging entity - */ - public getPlayer(): org.bukkit.entity.Player; - /** - * Returns the block that the hanging entity was placed on - */ - public getBlock(): org.bukkit.block.Block; - /** - * Returns the face of the block that the hanging entity was placed on - */ - public getBlockFace(): org.bukkit.block.BlockFace; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.BrewEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.BrewEvent.ts deleted file mode 100644 index d8f96df6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.BrewEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class BrewEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(brewer: org.bukkit.block.Block, contents: org.bukkit.inventory.BrewerInventory, fuelLevel: number) - /** - * Gets the contents of the Brewing Stand. - */ - public getContents(): org.bukkit.inventory.BrewerInventory; - /** - * Gets the remaining fuel level. - */ - public getFuelLevel(): number; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.BrewingStandFuelEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.BrewingStandFuelEvent.ts deleted file mode 100644 index 7afb4d3c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.BrewingStandFuelEvent.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class BrewingStandFuelEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(brewingStand: org.bukkit.block.Block, fuel: org.bukkit.inventory.ItemStack, fuelPower: number) - /** - * Gets the ItemStack of the fuel before the amount was subtracted. - */ - public getFuel(): org.bukkit.inventory.ItemStack; - /** - * Gets the fuel power for this fuel. Each unit of power can fuel one - * brewing operation. - */ - public getFuelPower(): number; - /** - * Sets the fuel power for this fuel. Each unit of power can fuel one - * brewing operation. - */ - public setFuelPower(fuelPower: number): void; - /** - * Gets whether the brewing stand's fuel will be reduced / consumed or not. - */ - public isConsuming(): boolean; - /** - * Sets whether the brewing stand's fuel will be reduced / consumed or not. - */ - public setConsuming(consuming: boolean): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.ClickType.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.ClickType.ts deleted file mode 100644 index 0205d069..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.ClickType.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class ClickType { - public static LEFT: org.bukkit.event.inventory.ClickType; - public static SHIFT_LEFT: org.bukkit.event.inventory.ClickType; - public static RIGHT: org.bukkit.event.inventory.ClickType; - public static SHIFT_RIGHT: org.bukkit.event.inventory.ClickType; - public static WINDOW_BORDER_LEFT: org.bukkit.event.inventory.ClickType; - public static WINDOW_BORDER_RIGHT: org.bukkit.event.inventory.ClickType; - public static MIDDLE: org.bukkit.event.inventory.ClickType; - public static NUMBER_KEY: org.bukkit.event.inventory.ClickType; - public static DOUBLE_CLICK: org.bukkit.event.inventory.ClickType; - public static DROP: org.bukkit.event.inventory.ClickType; - public static CONTROL_DROP: org.bukkit.event.inventory.ClickType; - public static CREATIVE: org.bukkit.event.inventory.ClickType; - public static UNKNOWN: org.bukkit.event.inventory.ClickType; - public static values(): org.bukkit.event.inventory.ClickType[]; - public static valueOf(name: string): org.bukkit.event.inventory.ClickType; - /** - * Gets whether this ClickType represents the pressing of a key on a - * keyboard. - */ - public isKeyboardClick(): boolean; - /** - * Gets whether this ClickType represents an action that can only be - * performed by a Player in creative mode. - */ - public isCreativeAction(): boolean; - /** - * Gets whether this ClickType represents a right click. - */ - public isRightClick(): boolean; - /** - * Gets whether this ClickType represents a left click. - */ - public isLeftClick(): boolean; - /** - * Gets whether this ClickType indicates that the shift key was pressed - * down when the click was made. - */ - public isShiftClick(): boolean; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.CraftItemEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.CraftItemEvent.ts deleted file mode 100644 index 59ad4a10..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.CraftItemEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class CraftItemEvent extends org.bukkit.event.inventory.InventoryClickEvent { - constructor(recipe: org.bukkit.inventory.Recipe, what: org.bukkit.inventory.InventoryView, type: org.bukkit.event.inventory.InventoryType.SlotType, slot: number, click: org.bukkit.event.inventory.ClickType, action: org.bukkit.event.inventory.InventoryAction) - constructor(recipe: org.bukkit.inventory.Recipe, what: org.bukkit.inventory.InventoryView, type: org.bukkit.event.inventory.InventoryType.SlotType, slot: number, click: org.bukkit.event.inventory.ClickType, action: org.bukkit.event.inventory.InventoryAction, key: number) - public getRecipe(): org.bukkit.inventory.Recipe; - public getInventory(): org.bukkit.inventory.CraftingInventory; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.DragType.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.DragType.ts deleted file mode 100644 index 915181fb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.DragType.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class DragType { - public static SINGLE: org.bukkit.event.inventory.DragType; - public static EVEN: org.bukkit.event.inventory.DragType; - public static values(): org.bukkit.event.inventory.DragType[]; - public static valueOf(name: string): org.bukkit.event.inventory.DragType; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.FurnaceBurnEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.FurnaceBurnEvent.ts deleted file mode 100644 index cfc9b4b2..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.FurnaceBurnEvent.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class FurnaceBurnEvent extends org.bukkit.event.block.BlockEvent implements org.bukkit.event.Cancellable { - constructor(furnace: org.bukkit.block.Block, fuel: org.bukkit.inventory.ItemStack, burnTime: number) - /** - * Gets the fuel ItemStack for this event - */ - public getFuel(): org.bukkit.inventory.ItemStack; - /** - * Gets the burn time for this fuel - */ - public getBurnTime(): number; - /** - * Sets the burn time for this fuel - */ - public setBurnTime(burnTime: number): void; - /** - * Gets whether the furnace's fuel is burning or not. - */ - public isBurning(): boolean; - /** - * Sets whether the furnace's fuel is burning or not. - */ - public setBurning(burning: boolean): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.FurnaceExtractEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.FurnaceExtractEvent.ts deleted file mode 100644 index 37b750a8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.FurnaceExtractEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class FurnaceExtractEvent extends org.bukkit.event.block.BlockExpEvent { - constructor(player: org.bukkit.entity.Player, block: org.bukkit.block.Block, itemType: org.bukkit.Material, itemAmount: number, exp: number) - /** - * Get the player that triggered the event - */ - public getPlayer(): org.bukkit.entity.Player; - /** - * Get the Material of the item being retrieved - */ - public getItemType(): org.bukkit.Material; - /** - * Get the item count being retrieved - */ - public getItemAmount(): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.FurnaceSmeltEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.FurnaceSmeltEvent.ts deleted file mode 100644 index 8cdc97c2..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.FurnaceSmeltEvent.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class FurnaceSmeltEvent extends org.bukkit.event.block.BlockCookEvent { - constructor(furnace: org.bukkit.block.Block, source: org.bukkit.inventory.ItemStack, result: org.bukkit.inventory.ItemStack) - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryAction.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryAction.ts deleted file mode 100644 index 74cd5ca4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryAction.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class InventoryAction { - public static NOTHING: org.bukkit.event.inventory.InventoryAction; - public static PICKUP_ALL: org.bukkit.event.inventory.InventoryAction; - public static PICKUP_SOME: org.bukkit.event.inventory.InventoryAction; - public static PICKUP_HALF: org.bukkit.event.inventory.InventoryAction; - public static PICKUP_ONE: org.bukkit.event.inventory.InventoryAction; - public static PLACE_ALL: org.bukkit.event.inventory.InventoryAction; - public static PLACE_SOME: org.bukkit.event.inventory.InventoryAction; - public static PLACE_ONE: org.bukkit.event.inventory.InventoryAction; - public static SWAP_WITH_CURSOR: org.bukkit.event.inventory.InventoryAction; - public static DROP_ALL_CURSOR: org.bukkit.event.inventory.InventoryAction; - public static DROP_ONE_CURSOR: org.bukkit.event.inventory.InventoryAction; - public static DROP_ALL_SLOT: org.bukkit.event.inventory.InventoryAction; - public static DROP_ONE_SLOT: org.bukkit.event.inventory.InventoryAction; - public static MOVE_TO_OTHER_INVENTORY: org.bukkit.event.inventory.InventoryAction; - public static HOTBAR_MOVE_AND_READD: org.bukkit.event.inventory.InventoryAction; - public static HOTBAR_SWAP: org.bukkit.event.inventory.InventoryAction; - public static CLONE_STACK: org.bukkit.event.inventory.InventoryAction; - public static COLLECT_TO_CURSOR: org.bukkit.event.inventory.InventoryAction; - public static UNKNOWN: org.bukkit.event.inventory.InventoryAction; - public static values(): org.bukkit.event.inventory.InventoryAction[]; - public static valueOf(name: string): org.bukkit.event.inventory.InventoryAction; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryClickEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryClickEvent.ts deleted file mode 100644 index afe76f06..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryClickEvent.ts +++ /dev/null @@ -1,84 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class InventoryClickEvent extends org.bukkit.event.inventory.InventoryInteractEvent { - constructor(view: org.bukkit.inventory.InventoryView, type: org.bukkit.event.inventory.InventoryType.SlotType, slot: number, click: org.bukkit.event.inventory.ClickType, action: org.bukkit.event.inventory.InventoryAction) - constructor(view: org.bukkit.inventory.InventoryView, type: org.bukkit.event.inventory.InventoryType.SlotType, slot: number, click: org.bukkit.event.inventory.ClickType, action: org.bukkit.event.inventory.InventoryAction, key: number) - /** - * Gets the type of slot that was clicked. - */ - public getSlotType(): org.bukkit.event.inventory.InventoryType.SlotType; - /** - * Gets the current ItemStack on the cursor. - */ - public getCursor(): org.bukkit.inventory.ItemStack; - /** - * Gets the ItemStack currently in the clicked slot. - */ - public getCurrentItem(): org.bukkit.inventory.ItemStack; - /** - * Gets whether or not the ClickType for this event represents a right - * click. - */ - public isRightClick(): boolean; - /** - * Gets whether or not the ClickType for this event represents a left - * click. - */ - public isLeftClick(): boolean; - /** - * Gets whether the ClickType for this event indicates that the key was - * pressed down when the click was made. - */ - public isShiftClick(): boolean; - /** - * Sets the item on the cursor. - */ - public setCursor(stack: org.bukkit.inventory.ItemStack): void; - /** - * Sets the ItemStack currently in the clicked slot. - */ - public setCurrentItem(stack: org.bukkit.inventory.ItemStack): void; - /** - * Gets the inventory corresponding to the clicked slot. - */ - public getClickedInventory(): org.bukkit.inventory.Inventory; - /** - * The slot number that was clicked, ready for passing to - * {@link Inventory#getItem(int)}. Note that there may be two slots with - * the same slot number, since a view links two different inventories. - */ - public getSlot(): number; - /** - * The raw slot number clicked, ready for passing to {@link InventoryView - * #getItem(int)} This slot number is unique for the view. - */ - public getRawSlot(): number; - /** - * If the ClickType is NUMBER_KEY, this method will return the index of - * the pressed key (0-8). - */ - public getHotbarButton(): number; - /** - * Gets the InventoryAction that triggered this event. - *

- * This action cannot be changed, and represents what the normal outcome - * of the event will be. To change the behavior of this - * InventoryClickEvent, changes must be manually applied. - */ - public getAction(): org.bukkit.event.inventory.InventoryAction; - /** - * Gets the ClickType for this event. - *

- * This is insulated against changes to the inventory by other plugins. - */ - public getClick(): org.bukkit.event.inventory.ClickType; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryCloseEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryCloseEvent.ts deleted file mode 100644 index cfbaa487..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryCloseEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class InventoryCloseEvent extends org.bukkit.event.inventory.InventoryEvent { - constructor(transaction: org.bukkit.inventory.InventoryView) - /** - * Returns the player involved in this event - */ - public getPlayer(): org.bukkit.entity.HumanEntity; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryCreativeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryCreativeEvent.ts deleted file mode 100644 index a94f3f25..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryCreativeEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class InventoryCreativeEvent extends org.bukkit.event.inventory.InventoryClickEvent { - constructor(what: org.bukkit.inventory.InventoryView, type: org.bukkit.event.inventory.InventoryType.SlotType, slot: number, newItem: org.bukkit.inventory.ItemStack) - public getCursor(): org.bukkit.inventory.ItemStack; - public setCursor(item: org.bukkit.inventory.ItemStack): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryDragEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryDragEvent.ts deleted file mode 100644 index 98f36b14..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryDragEvent.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class InventoryDragEvent extends org.bukkit.event.inventory.InventoryInteractEvent { - constructor(what: org.bukkit.inventory.InventoryView, newCursor: org.bukkit.inventory.ItemStack, oldCursor: org.bukkit.inventory.ItemStack, right: boolean, slots: Map /*java.util.Map*/) - /** - * Gets all items to be added to the inventory in this drag. - */ - public getNewItems(): Map /*java.util.Map*/; - /** - * Gets the raw slot ids to be changed in this drag. - */ - public getRawSlots(): any[] /*java.util.Set*/; - /** - * Gets the slots to be changed in this drag. - */ - public getInventorySlots(): any[] /*java.util.Set*/; - /** - * Gets the result cursor after the drag is done. The returned value is - * mutable. - */ - public getCursor(): org.bukkit.inventory.ItemStack; - /** - * Sets the result cursor after the drag is done. - *

- * Changing this item stack changes the cursor item. Note that changing - * the affected "dragged" slots does not change this ItemStack, nor does - * changing this ItemStack affect the "dragged" slots. - */ - public setCursor(newCursor: org.bukkit.inventory.ItemStack): void; - /** - * Gets an ItemStack representing the cursor prior to any modifications - * as a result of this drag. - */ - public getOldCursor(): org.bukkit.inventory.ItemStack; - /** - * Gets the DragType that describes the behavior of ItemStacks placed - * after this InventoryDragEvent. - *

- * The ItemStacks and the raw slots that they're being applied to can be - * found using {@link #getNewItems()}. - */ - public getType(): org.bukkit.event.inventory.DragType; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryEvent.ts deleted file mode 100644 index 1ac155ee..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class InventoryEvent extends org.bukkit.event.Event { - constructor(transaction: org.bukkit.inventory.InventoryView) - protected transaction: org.bukkit.inventory.InventoryView; - /** - * Gets the primary Inventory involved in this transaction - */ - public getInventory(): org.bukkit.inventory.Inventory; - /** - * Gets the list of players viewing the primary (upper) inventory involved - * in this event - */ - public getViewers(): any[] /*java.util.List*/; - /** - * Gets the view object itself - */ - public getView(): org.bukkit.inventory.InventoryView; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryInteractEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryInteractEvent.ts deleted file mode 100644 index eac4e3ad..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryInteractEvent.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - abstract class InventoryInteractEvent extends org.bukkit.event.inventory.InventoryEvent implements org.bukkit.event.Cancellable { - constructor(transaction: org.bukkit.inventory.InventoryView) - /** - * Gets the player who performed the click. - */ - public getWhoClicked(): org.bukkit.entity.HumanEntity; - /** - * Sets the result of this event. This will change whether or not this - * event is considered cancelled. - */ - public setResult(newResult: org.bukkit.event.Event.Result): void; - /** - * Gets the {@link org.bukkit.event.Event.Result} of this event. The Result describes the - * behavior that will be applied to the inventory in relation to this - * event. - */ - public getResult(): org.bukkit.event.Event.Result; - /** - * Gets whether or not this event is cancelled. This is based off of the - * Result value returned by {@link #getResult()}. Result.ALLOW and - * Result.DEFAULT will result in a returned value of false, but - * Result.DENY will result in a returned value of true. - *

- * {@inheritDoc} - */ - public isCancelled(): boolean; - /** - * Proxy method to {@link #setResult(org.bukkit.event.Event.Result)} for the Cancellable - * interface. {@link #setResult(org.bukkit.event.Event.Result)} is preferred, as it allows - * you to specify the Result beyond Result.DENY and Result.ALLOW. - *

- * {@inheritDoc} - */ - public setCancelled(toCancel: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryMoveItemEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryMoveItemEvent.ts deleted file mode 100644 index 5a4d5b8d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryMoveItemEvent.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class InventoryMoveItemEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable { - constructor(sourceInventory: org.bukkit.inventory.Inventory, itemStack: org.bukkit.inventory.ItemStack, destinationInventory: org.bukkit.inventory.Inventory, didSourceInitiate: boolean) - /** - * Gets the Inventory that the ItemStack is being taken from - */ - public getSource(): org.bukkit.inventory.Inventory; - /** - * Gets the ItemStack being moved; if modified, the original item will not - * be removed from the source inventory. - */ - public getItem(): org.bukkit.inventory.ItemStack; - /** - * Sets the ItemStack being moved; if this is different from the original - * ItemStack, the original item will not be removed from the source - * inventory. - */ - public setItem(itemStack: org.bukkit.inventory.ItemStack): void; - /** - * Gets the Inventory that the ItemStack is being put into - */ - public getDestination(): org.bukkit.inventory.Inventory; - /** - * Gets the Inventory that initiated the transfer. This will always be - * either the destination or source Inventory. - */ - public getInitiator(): org.bukkit.inventory.Inventory; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryOpenEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryOpenEvent.ts deleted file mode 100644 index e0916954..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryOpenEvent.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class InventoryOpenEvent extends org.bukkit.event.inventory.InventoryEvent implements org.bukkit.event.Cancellable { - constructor(transaction: org.bukkit.inventory.InventoryView) - /** - * Returns the player involved in this event - */ - public getPlayer(): org.bukkit.entity.HumanEntity; - /** - * Gets the cancellation state of this event. A cancelled event will not - * be executed in the server, but will still pass to other plugins. - *

- * If an inventory open event is cancelled, the inventory screen will not - * show. - */ - public isCancelled(): boolean; - /** - * Sets the cancellation state of this event. A cancelled event will not - * be executed in the server, but will still pass to other plugins. - *

- * If an inventory open event is cancelled, the inventory screen will not - * show. - */ - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryPickupItemEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryPickupItemEvent.ts deleted file mode 100644 index 1fd2e639..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryPickupItemEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class InventoryPickupItemEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable { - constructor(inventory: org.bukkit.inventory.Inventory, item: org.bukkit.entity.Item) - /** - * Gets the Inventory that picked up the item - */ - public getInventory(): org.bukkit.inventory.Inventory; - /** - * Gets the Item entity that was picked up - */ - public getItem(): org.bukkit.entity.Item; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryType.SlotType.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryType.SlotType.ts deleted file mode 100644 index 84d1f2cf..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryType.SlotType.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - namespace InventoryType { - // @ts-ignore - class SlotType { - public static RESULT: org.bukkit.event.inventory.InventoryType.SlotType; - public static CRAFTING: org.bukkit.event.inventory.InventoryType.SlotType; - public static ARMOR: org.bukkit.event.inventory.InventoryType.SlotType; - public static CONTAINER: org.bukkit.event.inventory.InventoryType.SlotType; - public static QUICKBAR: org.bukkit.event.inventory.InventoryType.SlotType; - public static OUTSIDE: org.bukkit.event.inventory.InventoryType.SlotType; - public static FUEL: org.bukkit.event.inventory.InventoryType.SlotType; - public static values(): org.bukkit.event.inventory.InventoryType.SlotType[]; - public static valueOf(name: string): org.bukkit.event.inventory.InventoryType.SlotType; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryType.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryType.ts deleted file mode 100644 index 6eb53802..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.InventoryType.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class InventoryType { - public static CHEST: org.bukkit.event.inventory.InventoryType; - public static DISPENSER: org.bukkit.event.inventory.InventoryType; - public static DROPPER: org.bukkit.event.inventory.InventoryType; - public static FURNACE: org.bukkit.event.inventory.InventoryType; - public static WORKBENCH: org.bukkit.event.inventory.InventoryType; - public static CRAFTING: org.bukkit.event.inventory.InventoryType; - public static ENCHANTING: org.bukkit.event.inventory.InventoryType; - public static BREWING: org.bukkit.event.inventory.InventoryType; - public static PLAYER: org.bukkit.event.inventory.InventoryType; - public static CREATIVE: org.bukkit.event.inventory.InventoryType; - public static MERCHANT: org.bukkit.event.inventory.InventoryType; - public static ENDER_CHEST: org.bukkit.event.inventory.InventoryType; - public static ANVIL: org.bukkit.event.inventory.InventoryType; - public static BEACON: org.bukkit.event.inventory.InventoryType; - public static HOPPER: org.bukkit.event.inventory.InventoryType; - public static SHULKER_BOX: org.bukkit.event.inventory.InventoryType; - public static BARREL: org.bukkit.event.inventory.InventoryType; - public static BLAST_FURNACE: org.bukkit.event.inventory.InventoryType; - public static LECTERN: org.bukkit.event.inventory.InventoryType; - public static SMOKER: org.bukkit.event.inventory.InventoryType; - public static LOOM: org.bukkit.event.inventory.InventoryType; - public static CARTOGRAPHY: org.bukkit.event.inventory.InventoryType; - public static GRINDSTONE: org.bukkit.event.inventory.InventoryType; - public static STONECUTTER: org.bukkit.event.inventory.InventoryType; - public static values(): org.bukkit.event.inventory.InventoryType[]; - public static valueOf(name: string): org.bukkit.event.inventory.InventoryType; - public getDefaultSize(): number; - public getDefaultTitle(): string; - /** - * Denotes that this InventoryType can be created via the normal - * {@link org.bukkit.Bukkit#createInventory} methods. - */ - public isCreatable(): boolean; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.PrepareAnvilEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.PrepareAnvilEvent.ts deleted file mode 100644 index 5c725f43..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.PrepareAnvilEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class PrepareAnvilEvent extends org.bukkit.event.inventory.InventoryEvent { - constructor(inventory: org.bukkit.inventory.InventoryView, result: org.bukkit.inventory.ItemStack) - public getInventory(): org.bukkit.inventory.AnvilInventory; - /** - * Get result item, may be null. - */ - public getResult(): org.bukkit.inventory.ItemStack; - public setResult(result: org.bukkit.inventory.ItemStack): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.PrepareItemCraftEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.PrepareItemCraftEvent.ts deleted file mode 100644 index d07127bd..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.PrepareItemCraftEvent.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class PrepareItemCraftEvent extends org.bukkit.event.inventory.InventoryEvent { - constructor(what: org.bukkit.inventory.CraftingInventory, view: org.bukkit.inventory.InventoryView, isRepair: boolean) - /** - * Get the recipe that has been formed. If this event was triggered by a - * tool repair, this will be a temporary shapeless recipe representing the - * repair. - */ - public getRecipe(): org.bukkit.inventory.Recipe; - public getInventory(): org.bukkit.inventory.CraftingInventory; - /** - * Check if this event was triggered by a tool repair operation rather - * than a crafting recipe. - */ - public isRepair(): boolean; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.inventory.TradeSelectEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.inventory.TradeSelectEvent.ts deleted file mode 100644 index 0d67465f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.inventory.TradeSelectEvent.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace inventory { - // @ts-ignore - class TradeSelectEvent extends org.bukkit.event.inventory.InventoryInteractEvent { - constructor(transaction: org.bukkit.inventory.InventoryView, newIndex: number) - /** - * Used to get the index of the trade the player clicked on. - */ - public getIndex(): number; - public getInventory(): org.bukkit.inventory.MerchantInventory; - /** - * Get the Merchant involved. - */ - public getMerchant(): org.bukkit.inventory.Merchant; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.AsyncPlayerChatEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.AsyncPlayerChatEvent.ts deleted file mode 100644 index 630dd58a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.AsyncPlayerChatEvent.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class AsyncPlayerChatEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(async: boolean, who: org.bukkit.entity.Player, message: string, players: any[] /*java.util.Set*/) - /** - * Gets the message that the player is attempting to send. This message - * will be used with {@link #getFormat()}. - */ - public getMessage(): string; - /** - * Sets the message that the player will send. This message will be used - * with {@link #getFormat()}. - */ - public setMessage(message: string): void; - /** - * Gets the format to use to display this chat message. - *

- * When this event finishes execution, the first format parameter is the - * {@link Player#getDisplayName()} and the second parameter is {@link - * #getMessage()} - */ - public getFormat(): string; - /** - * Sets the format to use to display this chat message. - *

- * When this event finishes execution, the first format parameter is the - * {@link Player#getDisplayName()} and the second parameter is {@link - * #getMessage()} - */ - public setFormat(format: string): void; - /** - * Gets a set of recipients that this chat message will be displayed to. - *

- * The set returned is not guaranteed to be mutable and may auto-populate - * on access. Any listener accessing the returned set should be aware that - * it may reduce performance for a lazy set implementation. - *

- * Listeners should be aware that modifying the list may throw {@link - * UnsupportedOperationException} if the event caller provides an - * unmodifiable set. - */ - public getRecipients(): any[] /*java.util.Set*/; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result.ts b/packages/bukkit/src/typings/org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result.ts deleted file mode 100644 index b916a717..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - namespace AsyncPlayerPreLoginEvent { - // @ts-ignore - class Result { - public static ALLOWED: org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result; - public static KICK_FULL: org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result; - public static KICK_BANNED: org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result; - public static KICK_WHITELIST: org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result; - public static KICK_OTHER: org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result; - public static values(): org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result[]; - public static valueOf(name: string): org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.AsyncPlayerPreLoginEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.AsyncPlayerPreLoginEvent.ts deleted file mode 100644 index 110063d3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.AsyncPlayerPreLoginEvent.ts +++ /dev/null @@ -1,64 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class AsyncPlayerPreLoginEvent extends org.bukkit.event.Event { - constructor(name: string, ipAddress: any) - constructor(name: string, ipAddress: any, uniqueId: any) - /** - * Gets the current result of the login, as an enum - */ - public getLoginResult(): org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result; - /** - * Gets the current result of the login, as an enum - */ - public getResult(): org.bukkit.event.player.PlayerPreLoginEvent.Result; - /** - * Sets the new result of the login, as an enum - */ - public setLoginResult(result: org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result): void; - /** - * Sets the new result of the login, as an enum - */ - public setResult(result: org.bukkit.event.player.PlayerPreLoginEvent.Result): void; - /** - * Gets the current kick message that will be used if getResult() != - * Result.ALLOWED - */ - public getKickMessage(): string; - /** - * Sets the kick message to display if getResult() != Result.ALLOWED - */ - public setKickMessage(message: string): void; - /** - * Allows the player to log in - */ - public allow(): void; - /** - * Disallows the player from logging in, with the given reason - */ - public disallow(result: org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result, message: string): void; - /** - * Disallows the player from logging in, with the given reason - */ - public disallow(result: org.bukkit.event.player.PlayerPreLoginEvent.Result, message: string): void; - /** - * Gets the player's name. - */ - public getName(): string; - /** - * Gets the player IP address. - */ - public getAddress(): any; - /** - * Gets the player's unique ID. - */ - public getUniqueId(): any; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerAchievementAwardedEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerAchievementAwardedEvent.ts deleted file mode 100644 index e301b846..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerAchievementAwardedEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerAchievementAwardedEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, achievement: org.bukkit.Achievement) - /** - * Gets the Achievement being awarded. - */ - public getAchievement(): org.bukkit.Achievement; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerAdvancementDoneEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerAdvancementDoneEvent.ts deleted file mode 100644 index ae346321..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerAdvancementDoneEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerAdvancementDoneEvent extends org.bukkit.event.player.PlayerEvent { - constructor(who: org.bukkit.entity.Player, advancement: org.bukkit.advancement.Advancement) - /** - * Get the advancement which has been completed. - */ - public getAdvancement(): org.bukkit.advancement.Advancement; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerAnimationEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerAnimationEvent.ts deleted file mode 100644 index 50880a03..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerAnimationEvent.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerAnimationEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - /** - * Construct a new PlayerAnimation event - */ - constructor(player: org.bukkit.entity.Player) - /** - * Get the type of this animation event - */ - public getAnimationType(): org.bukkit.event.player.PlayerAnimationType; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerAnimationType.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerAnimationType.ts deleted file mode 100644 index 2540eb4c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerAnimationType.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerAnimationType { - public static ARM_SWING: org.bukkit.event.player.PlayerAnimationType; - public static values(): org.bukkit.event.player.PlayerAnimationType[]; - public static valueOf(name: string): org.bukkit.event.player.PlayerAnimationType; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerArmorStandManipulateEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerArmorStandManipulateEvent.ts deleted file mode 100644 index 6142faed..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerArmorStandManipulateEvent.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerArmorStandManipulateEvent extends org.bukkit.event.player.PlayerInteractEntityEvent { - constructor(who: org.bukkit.entity.Player, clickedEntity: org.bukkit.entity.ArmorStand, playerItem: org.bukkit.inventory.ItemStack, armorStandItem: org.bukkit.inventory.ItemStack, slot: org.bukkit.inventory.EquipmentSlot) - /** - * Returns the item held by the player. If this Item is null and the armor stand Item is also null, - * there will be no transaction between the player and the armor stand. - * If the Player's item is null, but the armor stand item is not then the player will obtain the armor stand item. - * In the case that the Player's item is not null, but the armor stand item is null, the players item will be placed on the armor stand. - * If both items are not null, the items will be swapped. - * In the case that the event is cancelled the original items will remain the same. - */ - public getPlayerItem(): org.bukkit.inventory.ItemStack; - /** - * Returns the item held by the armor stand. - * If this Item is null and the player's Item is also null, there will be no transaction between the player and the armor stand. - * If the Player's item is null, but the armor stand item is not then the player will obtain the armor stand item. - * In the case that the Player's item is not null, but the armor stand item is null, the players item will be placed on the armor stand. - * If both items are not null, the items will be swapped. - * In the case that the event is cancelled the original items will remain the same. - */ - public getArmorStandItem(): org.bukkit.inventory.ItemStack; - /** - * Returns the raw item slot of the armor stand in this event. - */ - public getSlot(): org.bukkit.inventory.EquipmentSlot; - public getRightClicked(): org.bukkit.entity.ArmorStand; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult.ts deleted file mode 100644 index 046af612..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - namespace PlayerBedEnterEvent { - // @ts-ignore - class BedEnterResult { - public static OK: org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult; - public static NOT_POSSIBLE_HERE: org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult; - public static NOT_POSSIBLE_NOW: org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult; - public static TOO_FAR_AWAY: org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult; - public static NOT_SAFE: org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult; - public static OTHER_PROBLEM: org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult; - public static values(): org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult[]; - public static valueOf(name: string): org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBedEnterEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBedEnterEvent.ts deleted file mode 100644 index ab624181..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBedEnterEvent.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerBedEnterEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(who: org.bukkit.entity.Player, bed: org.bukkit.block.Block, bedEnterResult: org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult) - constructor(who: org.bukkit.entity.Player, bed: org.bukkit.block.Block) - /** - * This describes the default outcome of this event. - */ - public getBedEnterResult(): org.bukkit.event.player.PlayerBedEnterEvent.BedEnterResult; - /** - * This controls the action to take with the bed that was clicked on. - *

- * In case of {@link org.bukkit.event.Event.Result#DEFAULT}, the default outcome is described by - * {@link #getBedEnterResult()}. - */ - public useBed(): org.bukkit.event.Event.Result; - /** - * Sets the action to take with the interacted bed. - *

- * {@link org.bukkit.event.Event.Result#ALLOW} will result in the player sleeping, regardless of - * the default outcome described by {@link #getBedEnterResult()}. - *
- * {@link org.bukkit.event.Event.Result#DENY} will prevent the player from sleeping. This has the - * same effect as canceling the event via {@link #setCancelled(boolean)}. - *
- * {@link org.bukkit.event.Event.Result#DEFAULT} will result in the outcome described by - * {@link #getBedEnterResult()}. - */ - public setUseBed(useBed: org.bukkit.event.Event.Result): void; - /** - * Gets the cancellation state of this event. Set to true if you want to - * prevent the player from sleeping. - *

- * Canceling the event has the same effect as setting {@link #useBed()} to - * {@link org.bukkit.event.Event.Result#DENY}. - *

- * For backwards compatibility reasons this also returns true if - * {@link #useBed()} is {@link org.bukkit.event.Event.Result#DEFAULT} and the - * {@link #getBedEnterResult() default action} is to prevent bed entering. - */ - public isCancelled(): boolean; - /** - * Sets the cancellation state of this event. A canceled event will not be - * executed in the server, but will still pass to other plugins. - *

- * Canceling this event will prevent use of the bed. - */ - public setCancelled(cancel: boolean): void; - /** - * Returns the bed block involved in this event. - */ - public getBed(): org.bukkit.block.Block; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBedLeaveEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBedLeaveEvent.ts deleted file mode 100644 index d7439baa..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBedLeaveEvent.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerBedLeaveEvent extends org.bukkit.event.player.PlayerEvent { - constructor(who: org.bukkit.entity.Player, bed: org.bukkit.block.Block, setBedSpawn: boolean) - /** - * Returns the bed block involved in this event. - */ - public getBed(): org.bukkit.block.Block; - /** - * Get if this event should set the new spawn location for the - * {@link Player}. - *
- * This does not remove any existing spawn location, only prevent it from - * being changed (if true). - *
- * To change a {@link Player}'s spawn location, use - * {@link Player#setBedSpawnLocation(Location)}. - */ - public shouldSetSpawnLocation(): boolean; - /** - * Set if this event should set the new spawn location for the - * {@link Player}. - *
- * This will not remove any existing spawn location, only prevent it from - * being changed (if true). - *
- * To change a {@link Player}'s spawn location, use - * {@link Player#setBedSpawnLocation(Location)}. - */ - public setSpawnLocation(setBedSpawn: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBucketEmptyEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBucketEmptyEvent.ts deleted file mode 100644 index 2d1d861f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBucketEmptyEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerBucketEmptyEvent extends org.bukkit.event.player.PlayerBucketEvent { - constructor(who: org.bukkit.entity.Player, blockClicked: org.bukkit.block.Block, blockFace: org.bukkit.block.BlockFace, bucket: org.bukkit.Material, itemInHand: org.bukkit.inventory.ItemStack) - constructor(who: org.bukkit.entity.Player, block: org.bukkit.block.Block, blockClicked: org.bukkit.block.Block, blockFace: org.bukkit.block.BlockFace, bucket: org.bukkit.Material, itemInHand: org.bukkit.inventory.ItemStack) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBucketEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBucketEvent.ts deleted file mode 100644 index ba67c970..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBucketEvent.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - abstract class PlayerBucketEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(who: org.bukkit.entity.Player, blockClicked: org.bukkit.block.Block, blockFace: org.bukkit.block.BlockFace, bucket: org.bukkit.Material, itemInHand: org.bukkit.inventory.ItemStack) - constructor(who: org.bukkit.entity.Player, block: org.bukkit.block.Block, blockClicked: org.bukkit.block.Block, blockFace: org.bukkit.block.BlockFace, bucket: org.bukkit.Material, itemInHand: org.bukkit.inventory.ItemStack) - /** - * Returns the bucket used in this event - */ - public getBucket(): org.bukkit.Material; - /** - * Get the resulting item in hand after the bucket event - */ - public getItemStack(): org.bukkit.inventory.ItemStack; - /** - * Set the item in hand after the event - */ - public setItemStack(itemStack: org.bukkit.inventory.ItemStack): void; - /** - * Gets the block involved in this event. - */ - public getBlock(): org.bukkit.block.Block; - /** - * Return the block clicked - */ - public getBlockClicked(): org.bukkit.block.Block; - /** - * Get the face on the clicked block - */ - public getBlockFace(): org.bukkit.block.BlockFace; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBucketFillEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBucketFillEvent.ts deleted file mode 100644 index a88f6ab6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerBucketFillEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerBucketFillEvent extends org.bukkit.event.player.PlayerBucketEvent { - constructor(who: org.bukkit.entity.Player, blockClicked: org.bukkit.block.Block, blockFace: org.bukkit.block.BlockFace, bucket: org.bukkit.Material, itemInHand: org.bukkit.inventory.ItemStack) - constructor(who: org.bukkit.entity.Player, block: org.bukkit.block.Block, blockClicked: org.bukkit.block.Block, blockFace: org.bukkit.block.BlockFace, bucket: org.bukkit.Material, itemInHand: org.bukkit.inventory.ItemStack) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChangedMainHandEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChangedMainHandEvent.ts deleted file mode 100644 index f05261ea..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChangedMainHandEvent.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerChangedMainHandEvent extends org.bukkit.event.player.PlayerEvent { - constructor(who: org.bukkit.entity.Player, mainHand: org.bukkit.inventory.MainHand) - /** - * Gets the new main hand of the player. The old hand is still momentarily - * available via {@link Player#getMainHand()}. - */ - public getMainHand(): org.bukkit.inventory.MainHand; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChangedWorldEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChangedWorldEvent.ts deleted file mode 100644 index 3c5f2b13..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChangedWorldEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerChangedWorldEvent extends org.bukkit.event.player.PlayerEvent { - constructor(player: org.bukkit.entity.Player, from: org.bukkit.World) - /** - * Gets the world the player is switching from. - */ - public getFrom(): org.bukkit.World; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChannelEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChannelEvent.ts deleted file mode 100644 index 01463d9c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChannelEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - abstract class PlayerChannelEvent extends org.bukkit.event.player.PlayerEvent { - constructor(player: org.bukkit.entity.Player, channel: string) - public getChannel(): string; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChatEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChatEvent.ts deleted file mode 100644 index 8873855c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChatEvent.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerChatEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, message: string) - constructor(player: org.bukkit.entity.Player, message: string, format: string, recipients: any[] /*java.util.Set*/) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the message that the player is attempting to send - */ - public getMessage(): string; - /** - * Sets the message that the player will send - */ - public setMessage(message: string): void; - /** - * Sets the player that this message will display as, or command will be - * executed as - */ - public setPlayer(player: org.bukkit.entity.Player): void; - /** - * Gets the format to use to display this chat message - */ - public getFormat(): string; - /** - * Sets the format to use to display this chat message - */ - public setFormat(format: string): void; - /** - * Gets a set of recipients that this chat message will be displayed to - */ - public getRecipients(): any[] /*java.util.Set*/; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChatTabCompleteEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChatTabCompleteEvent.ts deleted file mode 100644 index b8c59b0f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerChatTabCompleteEvent.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerChatTabCompleteEvent extends org.bukkit.event.player.PlayerEvent { - constructor(who: org.bukkit.entity.Player, message: string, completions: any[] /*java.util.Collection*/) - /** - * Gets the chat message being tab-completed. - */ - public getChatMessage(): string; - /** - * Gets the last 'token' of the message being tab-completed. - *

- * The token is the substring starting with the character after the last - * space in the message. - */ - public getLastToken(): string; - /** - * This is the collection of completions for this event. - */ - public getTabCompletions(): any[] /*java.util.Collection*/; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerCommandPreprocessEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerCommandPreprocessEvent.ts deleted file mode 100644 index c2d96483..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerCommandPreprocessEvent.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerCommandPreprocessEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, message: string) - constructor(player: org.bukkit.entity.Player, message: string, recipients: any[] /*java.util.Set*/) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the command that the player is attempting to send. - *

- * All commands begin with a special character; implementations do not - * consider the first character when executing the content. - */ - public getMessage(): string; - /** - * Sets the command that the player will send. - *

- * All commands begin with a special character; implementations do not - * consider the first character when executing the content. - */ - public setMessage(command: string): void; - /** - * Sets the player that this command will be executed as. - */ - public setPlayer(player: org.bukkit.entity.Player): void; - /** - * Gets a set of recipients that this chat message will be displayed to. - *

- * The set returned is not guaranteed to be mutable and may auto-populate - * on access. Any listener accessing the returned set should be aware that - * it may reduce performance for a lazy set implementation. Listeners - * should be aware that modifying the list may throw {@link - * UnsupportedOperationException} if the event caller provides an - * unmodifiable set. - */ - public getRecipients(): any[] /*java.util.Set*/; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerCommandSendEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerCommandSendEvent.ts deleted file mode 100644 index 5ebf4b06..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerCommandSendEvent.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerCommandSendEvent extends org.bukkit.event.player.PlayerEvent { - constructor(player: org.bukkit.entity.Player, commands: any[] /*java.util.Collection*/) - /** - * Returns a mutable collection of all top level commands to be sent. - *
- * It is not legal to add entries to this collection, only remove them. - * Behaviour of adding entries is undefined. - */ - public getCommands(): any[] /*java.util.Collection*/; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerDropItemEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerDropItemEvent.ts deleted file mode 100644 index f4cdf215..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerDropItemEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerDropItemEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, drop: org.bukkit.entity.Item) - /** - * Gets the ItemDrop created by the player - */ - public getItemDrop(): org.bukkit.entity.Item; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerEditBookEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerEditBookEvent.ts deleted file mode 100644 index 80a5368c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerEditBookEvent.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerEditBookEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(who: org.bukkit.entity.Player, slot: number, previousBookMeta: org.bukkit.inventory.meta.BookMeta, newBookMeta: org.bukkit.inventory.meta.BookMeta, isSigning: boolean) - /** - * Gets the book meta currently on the book. - *

- * Note: this is a copy of the book meta. You cannot use this object to - * change the existing book meta. - */ - public getPreviousBookMeta(): org.bukkit.inventory.meta.BookMeta; - /** - * Gets the book meta that the player is attempting to add to the book. - *

- * Note: this is a copy of the proposed new book meta. Use {@link - * #setNewBookMeta(BookMeta)} to change what will actually be added to the - * book. - */ - public getNewBookMeta(): org.bukkit.inventory.meta.BookMeta; - /** - * Gets the inventory slot number for the book item that triggered this - * event. - *

- * This is a slot number on the player's hotbar in the range 0-8, or -1 for - * off hand. - */ - public getSlot(): number; - /** - * Sets the book meta that will actually be added to the book. - */ - public setNewBookMeta(newBookMeta: org.bukkit.inventory.meta.BookMeta): void; - /** - * Gets whether or not the book is being signed. If a book is signed the - * Material changes from BOOK_AND_QUILL to WRITTEN_BOOK. - */ - public isSigning(): boolean; - /** - * Sets whether or not the book is being signed. If a book is signed the - * Material changes from BOOK_AND_QUILL to WRITTEN_BOOK. - */ - public setSigning(signing: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerEggThrowEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerEggThrowEvent.ts deleted file mode 100644 index 89238eb3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerEggThrowEvent.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerEggThrowEvent extends org.bukkit.event.player.PlayerEvent { - constructor(player: org.bukkit.entity.Player, egg: org.bukkit.entity.Egg, hatching: boolean, numHatches: number, hatchingType: org.bukkit.entity.EntityType) - /** - * Gets the egg involved in this event. - */ - public getEgg(): org.bukkit.entity.Egg; - /** - * Gets whether the egg is hatching or not. Will be what the server - * would've done without interaction. - */ - public isHatching(): boolean; - /** - * Sets whether the egg will hatch or not. - */ - public setHatching(hatching: boolean): void; - /** - * Get the type of the mob being hatched (EntityType.CHICKEN by default) - */ - public getHatchingType(): org.bukkit.entity.EntityType; - /** - * Change the type of mob being hatched by the egg - */ - public setHatchingType(hatchType: org.bukkit.entity.EntityType): void; - /** - * Get the number of mob hatches from the egg. By default the number will - * be the number the server would've done - *

    - *
  • 7/8 chance of being 0 - *
  • 31/256 ~= 1/8 chance to be 1 - *
  • 1/256 chance to be 4 - *
- */ - public getNumHatches(): number; - /** - * Change the number of mobs coming out of the hatched egg - *

- * The boolean hatching will override this number. Ie. If hatching = - * false, this number will not matter - */ - public setNumHatches(numHatches: number): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerEvent.ts deleted file mode 100644 index 130b5ffc..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - abstract class PlayerEvent extends org.bukkit.event.Event { - constructor(who: org.bukkit.entity.Player) - protected player: org.bukkit.entity.Player; - /** - * Returns the player involved in this event - */ - public getPlayer(): org.bukkit.entity.Player; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerExpChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerExpChangeEvent.ts deleted file mode 100644 index 9a963227..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerExpChangeEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerExpChangeEvent extends org.bukkit.event.player.PlayerEvent { - constructor(player: org.bukkit.entity.Player, expAmount: number) - /** - * Get the amount of experience the player will receive - */ - public getAmount(): number; - /** - * Set the amount of experience the player will receive - */ - public setAmount(amount: number): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerFishEvent.State.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerFishEvent.State.ts deleted file mode 100644 index 8a9befd8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerFishEvent.State.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - namespace PlayerFishEvent { - // @ts-ignore - class State { - public static FISHING: org.bukkit.event.player.PlayerFishEvent.State; - public static CAUGHT_FISH: org.bukkit.event.player.PlayerFishEvent.State; - public static CAUGHT_ENTITY: org.bukkit.event.player.PlayerFishEvent.State; - public static IN_GROUND: org.bukkit.event.player.PlayerFishEvent.State; - public static FAILED_ATTEMPT: org.bukkit.event.player.PlayerFishEvent.State; - public static REEL_IN: org.bukkit.event.player.PlayerFishEvent.State; - public static BITE: org.bukkit.event.player.PlayerFishEvent.State; - public static values(): org.bukkit.event.player.PlayerFishEvent.State[]; - public static valueOf(name: string): org.bukkit.event.player.PlayerFishEvent.State; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerFishEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerFishEvent.ts deleted file mode 100644 index 6afee51a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerFishEvent.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerFishEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, entity: org.bukkit.entity.Entity, hookEntity: org.bukkit.entity.FishHook, state: org.bukkit.event.player.PlayerFishEvent.State) - /** - * Gets the entity caught by the player. - *

- * If player has fished successfully, the result may be cast to {@link - * org.bukkit.entity.Item}. - */ - public getCaught(): org.bukkit.entity.Entity; - /** - * Gets the fishing hook. - */ - public getHook(): org.bukkit.entity.FishHook; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the amount of experience received when fishing. - *

- * Note: This value has no default effect unless the event state is {@link - * State#CAUGHT_FISH}. - */ - public getExpToDrop(): number; - /** - * Sets the amount of experience received when fishing. - *

- * Note: This value has no default effect unless the event state is {@link - * State#CAUGHT_FISH}. - */ - public setExpToDrop(amount: number): void; - /** - * Gets the state of the fishing - */ - public getState(): org.bukkit.event.player.PlayerFishEvent.State; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerGameModeChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerGameModeChangeEvent.ts deleted file mode 100644 index 3b1dae6b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerGameModeChangeEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerGameModeChangeEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, newGameMode: org.bukkit.GameMode) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the GameMode the player is switched to. - */ - public getNewGameMode(): org.bukkit.GameMode; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerInteractAtEntityEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerInteractAtEntityEvent.ts deleted file mode 100644 index a4f19117..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerInteractAtEntityEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerInteractAtEntityEvent extends org.bukkit.event.player.PlayerInteractEntityEvent { - constructor(who: org.bukkit.entity.Player, clickedEntity: org.bukkit.entity.Entity, position: org.bukkit.util.Vector) - constructor(who: org.bukkit.entity.Player, clickedEntity: org.bukkit.entity.Entity, position: org.bukkit.util.Vector, hand: org.bukkit.inventory.EquipmentSlot) - public getClickedPosition(): org.bukkit.util.Vector; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerInteractEntityEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerInteractEntityEvent.ts deleted file mode 100644 index 178a8066..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerInteractEntityEvent.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerInteractEntityEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(who: org.bukkit.entity.Player, clickedEntity: org.bukkit.entity.Entity) - constructor(who: org.bukkit.entity.Player, clickedEntity: org.bukkit.entity.Entity, hand: org.bukkit.inventory.EquipmentSlot) - protected clickedEntity: org.bukkit.entity.Entity; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the entity that was right-clicked by the player. - */ - public getRightClicked(): org.bukkit.entity.Entity; - /** - * The hand used to perform this interaction. - */ - public getHand(): org.bukkit.inventory.EquipmentSlot; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerInteractEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerInteractEvent.ts deleted file mode 100644 index 70712b60..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerInteractEvent.ts +++ /dev/null @@ -1,87 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerInteractEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(who: org.bukkit.entity.Player, action: org.bukkit.event.block.Action, item: org.bukkit.inventory.ItemStack, clickedBlock: org.bukkit.block.Block, clickedFace: org.bukkit.block.BlockFace) - constructor(who: org.bukkit.entity.Player, action: org.bukkit.event.block.Action, item: org.bukkit.inventory.ItemStack, clickedBlock: org.bukkit.block.Block, clickedFace: org.bukkit.block.BlockFace, hand: org.bukkit.inventory.EquipmentSlot) - protected item: org.bukkit.inventory.ItemStack; - protected action: org.bukkit.event.block.Action; - protected blockClicked: org.bukkit.block.Block; - protected blockFace: org.bukkit.block.BlockFace; - /** - * Returns the action type - */ - public getAction(): org.bukkit.event.block.Action; - /** - * Gets the cancellation state of this event. Set to true if you want to - * prevent buckets from placing water and so forth - */ - public isCancelled(): boolean; - /** - * Sets the cancellation state of this event. A canceled event will not be - * executed in the server, but will still pass to other plugins - *

- * Canceling this event will prevent use of food (player won't lose the - * food item), prevent bows/snowballs/eggs from firing, etc. (player won't - * lose the ammo) - */ - public setCancelled(cancel: boolean): void; - /** - * Returns the item in hand represented by this event - */ - public getItem(): org.bukkit.inventory.ItemStack; - /** - * Convenience method. Returns the material of the item represented by - * this event - */ - public getMaterial(): org.bukkit.Material; - /** - * Check if this event involved a block - */ - public hasBlock(): boolean; - /** - * Check if this event involved an item - */ - public hasItem(): boolean; - /** - * Convenience method to inform the user whether this was a block - * placement event. - */ - public isBlockInHand(): boolean; - /** - * Returns the clicked block - */ - public getClickedBlock(): org.bukkit.block.Block; - /** - * Returns the face of the block that was clicked - */ - public getBlockFace(): org.bukkit.block.BlockFace; - /** - * This controls the action to take with the block (if any) that was - * clicked on. This event gets processed for all blocks, but most don't - * have a default action - */ - public useInteractedBlock(): org.bukkit.event.Event.Result; - public setUseInteractedBlock(useInteractedBlock: org.bukkit.event.Event.Result): void; - /** - * This controls the action to take with the item the player is holding. - * This includes both blocks and items (such as flint and steel or - * records). When this is set to default, it will be allowed if no action - * is taken on the interacted block. - */ - public useItemInHand(): org.bukkit.event.Event.Result; - public setUseItemInHand(useItemInHand: org.bukkit.event.Event.Result): void; - /** - * The hand used to perform this interaction. May be null in the case of - * {@link Action#PHYSICAL}. - */ - public getHand(): org.bukkit.inventory.EquipmentSlot; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemBreakEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemBreakEvent.ts deleted file mode 100644 index c66a9ef4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemBreakEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerItemBreakEvent extends org.bukkit.event.player.PlayerEvent { - constructor(player: org.bukkit.entity.Player, brokenItem: org.bukkit.inventory.ItemStack) - /** - * Gets the item that broke - */ - public getBrokenItem(): org.bukkit.inventory.ItemStack; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemConsumeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemConsumeEvent.ts deleted file mode 100644 index 5c983c07..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemConsumeEvent.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerItemConsumeEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, item: org.bukkit.inventory.ItemStack) - /** - * Gets the item that is being consumed. Modifying the returned item will - * have no effect, you must use {@link - * #setItem(org.bukkit.inventory.ItemStack)} instead. - */ - public getItem(): org.bukkit.inventory.ItemStack; - /** - * Set the item being consumed - */ - public setItem(item: org.bukkit.inventory.ItemStack): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemDamageEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemDamageEvent.ts deleted file mode 100644 index 449796c5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemDamageEvent.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerItemDamageEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, what: org.bukkit.inventory.ItemStack, damage: number) - /** - * Gets the item being damaged. - */ - public getItem(): org.bukkit.inventory.ItemStack; - /** - * Gets the amount of durability damage this item will be taking. - */ - public getDamage(): number; - public setDamage(damage: number): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemHeldEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemHeldEvent.ts deleted file mode 100644 index 10bf6eda..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemHeldEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerItemHeldEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, previous: number, current: number) - /** - * Gets the previous held slot index - */ - public getPreviousSlot(): number; - /** - * Gets the new held slot index - */ - public getNewSlot(): number; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemMendEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemMendEvent.ts deleted file mode 100644 index 569854d9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerItemMendEvent.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerItemMendEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(who: org.bukkit.entity.Player, item: org.bukkit.inventory.ItemStack, experienceOrb: org.bukkit.entity.ExperienceOrb, repairAmount: number) - /** - * Get the {@link ItemStack} to be repaired. - * This is not necessarily the item the player is holding. - */ - public getItem(): org.bukkit.inventory.ItemStack; - /** - * Get the experience orb triggering the event. - */ - public getExperienceOrb(): org.bukkit.entity.ExperienceOrb; - /** - * Get the amount the item is to be repaired. - * The default value is twice the value of the consumed experience orb - * or the remaining damage left on the item, whichever is smaller. - */ - public getRepairAmount(): number; - /** - * Set the amount the item will be repaired. - * Half of this value will be subtracted from the experience orb which initiated this event. - */ - public setRepairAmount(amount: number): void; - public isCancelled(): boolean; - public setCancelled(cancelled: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerJoinEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerJoinEvent.ts deleted file mode 100644 index 6fed1488..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerJoinEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerJoinEvent extends org.bukkit.event.player.PlayerEvent { - constructor(playerJoined: org.bukkit.entity.Player, joinMessage: string) - /** - * Gets the join message to send to all online players - */ - public getJoinMessage(): string; - /** - * Sets the join message to send to all online players - */ - public setJoinMessage(joinMessage: string): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerKickEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerKickEvent.ts deleted file mode 100644 index 99752c0b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerKickEvent.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerKickEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(playerKicked: org.bukkit.entity.Player, kickReason: string, leaveMessage: string) - /** - * Gets the reason why the player is getting kicked - */ - public getReason(): string; - /** - * Gets the leave message send to all online players - */ - public getLeaveMessage(): string; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Sets the reason why the player is getting kicked - */ - public setReason(kickReason: string): void; - /** - * Sets the leave message send to all online players - */ - public setLeaveMessage(leaveMessage: string): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerLevelChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerLevelChangeEvent.ts deleted file mode 100644 index d9860d53..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerLevelChangeEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerLevelChangeEvent extends org.bukkit.event.player.PlayerEvent { - constructor(player: org.bukkit.entity.Player, oldLevel: number, newLevel: number) - /** - * Gets the old level of the player - */ - public getOldLevel(): number; - /** - * Gets the new level of the player - */ - public getNewLevel(): number; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerLocaleChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerLocaleChangeEvent.ts deleted file mode 100644 index 899b213a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerLocaleChangeEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerLocaleChangeEvent extends org.bukkit.event.player.PlayerEvent { - constructor(who: org.bukkit.entity.Player, locale: string) - public getLocale(): string; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerLoginEvent.Result.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerLoginEvent.Result.ts deleted file mode 100644 index ceda32fc..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerLoginEvent.Result.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - namespace PlayerLoginEvent { - // @ts-ignore - class Result { - public static ALLOWED: org.bukkit.event.player.PlayerLoginEvent.Result; - public static KICK_FULL: org.bukkit.event.player.PlayerLoginEvent.Result; - public static KICK_BANNED: org.bukkit.event.player.PlayerLoginEvent.Result; - public static KICK_WHITELIST: org.bukkit.event.player.PlayerLoginEvent.Result; - public static KICK_OTHER: org.bukkit.event.player.PlayerLoginEvent.Result; - public static values(): org.bukkit.event.player.PlayerLoginEvent.Result[]; - public static valueOf(name: string): org.bukkit.event.player.PlayerLoginEvent.Result; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerLoginEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerLoginEvent.ts deleted file mode 100644 index 6cb0af53..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerLoginEvent.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerLoginEvent extends org.bukkit.event.player.PlayerEvent { - /** - * This constructor defaults message to an empty string, and result to - * ALLOWED - */ - constructor(player: org.bukkit.entity.Player, hostname: string, address: any) - /** - * This constructor pre-configures the event with a result and message - */ - constructor(player: org.bukkit.entity.Player, hostname: string, address: any, result: org.bukkit.event.player.PlayerLoginEvent.Result, message: string) - /** - * Gets the current result of the login, as an enum - */ - public getResult(): org.bukkit.event.player.PlayerLoginEvent.Result; - /** - * Sets the new result of the login, as an enum - */ - public setResult(result: org.bukkit.event.player.PlayerLoginEvent.Result): void; - /** - * Gets the current kick message that will be used if getResult() != - * Result.ALLOWED - */ - public getKickMessage(): string; - /** - * Sets the kick message to display if getResult() != Result.ALLOWED - */ - public setKickMessage(message: string): void; - /** - * Gets the hostname that the player used to connect to the server, or - * blank if unknown - */ - public getHostname(): string; - /** - * Allows the player to log in - */ - public allow(): void; - /** - * Disallows the player from logging in, with the given reason - */ - public disallow(result: org.bukkit.event.player.PlayerLoginEvent.Result, message: string): void; - /** - * Gets the {@link InetAddress} for the Player associated with this event. - * This method is provided as a workaround for player.getAddress() - * returning null during PlayerLoginEvent. - */ - public getAddress(): any; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerMoveEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerMoveEvent.ts deleted file mode 100644 index 854bceed..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerMoveEvent.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerMoveEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, from: org.bukkit.Location, to: org.bukkit.Location) - /** - * Gets the cancellation state of this event. A cancelled event will not - * be executed in the server, but will still pass to other plugins - *

- * If a move or teleport event is cancelled, the player will be moved or - * teleported back to the Location as defined by getFrom(). This will not - * fire an event - */ - public isCancelled(): boolean; - /** - * Sets the cancellation state of this event. A cancelled event will not - * be executed in the server, but will still pass to other plugins - *

- * If a move or teleport event is cancelled, the player will be moved or - * teleported back to the Location as defined by getFrom(). This will not - * fire an event - */ - public setCancelled(cancel: boolean): void; - /** - * Gets the location this player moved from - */ - public getFrom(): org.bukkit.Location; - /** - * Sets the location to mark as where the player moved from - */ - public setFrom(from: org.bukkit.Location): void; - /** - * Gets the location this player moved to - */ - public getTo(): org.bukkit.Location; - /** - * Sets the location that this player will move to - */ - public setTo(to: org.bukkit.Location): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPickupArrowEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPickupArrowEvent.ts deleted file mode 100644 index 0402d712..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPickupArrowEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerPickupArrowEvent extends org.bukkit.event.player.PlayerPickupItemEvent { - constructor(player: org.bukkit.entity.Player, item: org.bukkit.entity.Item, arrow: org.bukkit.entity.AbstractArrow) - /** - * Get the arrow being picked up by the player - */ - public getArrow(): org.bukkit.entity.AbstractArrow; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPickupItemEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPickupItemEvent.ts deleted file mode 100644 index dd3ef994..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPickupItemEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerPickupItemEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, item: org.bukkit.entity.Item, remaining: number) - /** - * Gets the Item picked up by the player. - */ - public getItem(): org.bukkit.entity.Item; - /** - * Gets the amount remaining on the ground, if any - */ - public getRemaining(): number; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPortalEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPortalEvent.ts deleted file mode 100644 index a2048df3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPortalEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerPortalEvent extends org.bukkit.event.player.PlayerTeleportEvent { - constructor(player: org.bukkit.entity.Player, from: org.bukkit.Location, to: org.bukkit.Location) - constructor(player: org.bukkit.entity.Player, from: org.bukkit.Location, to: org.bukkit.Location, cause: org.bukkit.event.player.PlayerTeleportEvent.TeleportCause) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPreLoginEvent.Result.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPreLoginEvent.Result.ts deleted file mode 100644 index 70eadb2f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPreLoginEvent.Result.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - namespace PlayerPreLoginEvent { - // @ts-ignore - class Result { - public static ALLOWED: org.bukkit.event.player.PlayerPreLoginEvent.Result; - public static KICK_FULL: org.bukkit.event.player.PlayerPreLoginEvent.Result; - public static KICK_BANNED: org.bukkit.event.player.PlayerPreLoginEvent.Result; - public static KICK_WHITELIST: org.bukkit.event.player.PlayerPreLoginEvent.Result; - public static KICK_OTHER: org.bukkit.event.player.PlayerPreLoginEvent.Result; - public static values(): org.bukkit.event.player.PlayerPreLoginEvent.Result[]; - public static valueOf(name: string): org.bukkit.event.player.PlayerPreLoginEvent.Result; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPreLoginEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPreLoginEvent.ts deleted file mode 100644 index 8283fe68..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerPreLoginEvent.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerPreLoginEvent extends org.bukkit.event.Event { - constructor(name: string, ipAddress: any) - constructor(name: string, ipAddress: any, uniqueId: any) - /** - * Gets the current result of the login, as an enum - */ - public getResult(): org.bukkit.event.player.PlayerPreLoginEvent.Result; - /** - * Sets the new result of the login, as an enum - */ - public setResult(result: org.bukkit.event.player.PlayerPreLoginEvent.Result): void; - /** - * Gets the current kick message that will be used if getResult() != - * Result.ALLOWED - */ - public getKickMessage(): string; - /** - * Sets the kick message to display if getResult() != Result.ALLOWED - */ - public setKickMessage(message: string): void; - /** - * Allows the player to log in - */ - public allow(): void; - /** - * Disallows the player from logging in, with the given reason - */ - public disallow(result: org.bukkit.event.player.PlayerPreLoginEvent.Result, message: string): void; - /** - * Gets the player's name. - */ - public getName(): string; - /** - * Gets the player IP address. - */ - public getAddress(): any; - public getHandlers(): org.bukkit.event.HandlerList; - /** - * Gets the player's unique ID. - */ - public getUniqueId(): any; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerQuitEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerQuitEvent.ts deleted file mode 100644 index b421274c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerQuitEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerQuitEvent extends org.bukkit.event.player.PlayerEvent { - constructor(who: org.bukkit.entity.Player, quitMessage: string) - /** - * Gets the quit message to send to all online players - */ - public getQuitMessage(): string; - /** - * Sets the quit message to send to all online players - */ - public setQuitMessage(quitMessage: string): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerRecipeDiscoverEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerRecipeDiscoverEvent.ts deleted file mode 100644 index ab541540..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerRecipeDiscoverEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerRecipeDiscoverEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(who: org.bukkit.entity.Player, recipe: org.bukkit.NamespacedKey) - /** - * Get the namespaced key of the discovered recipe. - */ - public getRecipe(): org.bukkit.NamespacedKey; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerRegisterChannelEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerRegisterChannelEvent.ts deleted file mode 100644 index bca7afa9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerRegisterChannelEvent.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerRegisterChannelEvent extends org.bukkit.event.player.PlayerChannelEvent { - constructor(player: org.bukkit.entity.Player, channel: string) - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerResourcePackStatusEvent.Status.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerResourcePackStatusEvent.Status.ts deleted file mode 100644 index b735bd43..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerResourcePackStatusEvent.Status.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - namespace PlayerResourcePackStatusEvent { - // @ts-ignore - class Status { - public static SUCCESSFULLY_LOADED: org.bukkit.event.player.PlayerResourcePackStatusEvent.Status; - public static DECLINED: org.bukkit.event.player.PlayerResourcePackStatusEvent.Status; - public static FAILED_DOWNLOAD: org.bukkit.event.player.PlayerResourcePackStatusEvent.Status; - public static ACCEPTED: org.bukkit.event.player.PlayerResourcePackStatusEvent.Status; - public static values(): org.bukkit.event.player.PlayerResourcePackStatusEvent.Status[]; - public static valueOf(name: string): org.bukkit.event.player.PlayerResourcePackStatusEvent.Status; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerResourcePackStatusEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerResourcePackStatusEvent.ts deleted file mode 100644 index d4c9bfcb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerResourcePackStatusEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerResourcePackStatusEvent extends org.bukkit.event.player.PlayerEvent { - constructor(who: org.bukkit.entity.Player, resourcePackStatus: org.bukkit.event.player.PlayerResourcePackStatusEvent.Status) - /** - * Gets the status of this pack. - */ - public getStatus(): org.bukkit.event.player.PlayerResourcePackStatusEvent.Status; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerRespawnEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerRespawnEvent.ts deleted file mode 100644 index 5fb06cb6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerRespawnEvent.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerRespawnEvent extends org.bukkit.event.player.PlayerEvent { - constructor(respawnPlayer: org.bukkit.entity.Player, respawnLocation: org.bukkit.Location, isBedSpawn: boolean) - /** - * Gets the current respawn location - */ - public getRespawnLocation(): org.bukkit.Location; - /** - * Sets the new respawn location - */ - public setRespawnLocation(respawnLocation: org.bukkit.Location): void; - /** - * Gets whether the respawn location is the player's bed. - */ - public isBedSpawn(): boolean; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerRiptideEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerRiptideEvent.ts deleted file mode 100644 index 6ca4051f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerRiptideEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerRiptideEvent extends org.bukkit.event.player.PlayerEvent { - constructor(who: org.bukkit.entity.Player, item: org.bukkit.inventory.ItemStack) - /** - * Gets the item containing the used enchantment. - */ - public getItem(): org.bukkit.inventory.ItemStack; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerShearEntityEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerShearEntityEvent.ts deleted file mode 100644 index d536371c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerShearEntityEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerShearEntityEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(who: org.bukkit.entity.Player, what: org.bukkit.entity.Entity) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the entity the player is shearing - */ - public getEntity(): org.bukkit.entity.Entity; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerStatisticIncrementEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerStatisticIncrementEvent.ts deleted file mode 100644 index 25932bdf..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerStatisticIncrementEvent.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerStatisticIncrementEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, statistic: org.bukkit.Statistic, initialValue: number, newValue: number) - constructor(player: org.bukkit.entity.Player, statistic: org.bukkit.Statistic, initialValue: number, newValue: number, entityType: org.bukkit.entity.EntityType) - constructor(player: org.bukkit.entity.Player, statistic: org.bukkit.Statistic, initialValue: number, newValue: number, material: org.bukkit.Material) - protected statistic: org.bukkit.Statistic; - /** - * Gets the statistic that is being incremented. - */ - public getStatistic(): org.bukkit.Statistic; - /** - * Gets the previous value of the statistic. - */ - public getPreviousValue(): number; - /** - * Gets the new value of the statistic. - */ - public getNewValue(): number; - /** - * Gets the EntityType if {@link #getStatistic() getStatistic()} is an - * entity statistic otherwise returns null. - */ - public getEntityType(): org.bukkit.entity.EntityType; - /** - * Gets the Material if {@link #getStatistic() getStatistic()} is a block - * or item statistic otherwise returns null. - */ - public getMaterial(): org.bukkit.Material; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerSwapHandItemsEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerSwapHandItemsEvent.ts deleted file mode 100644 index 578e94b6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerSwapHandItemsEvent.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerSwapHandItemsEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, mainHandItem: org.bukkit.inventory.ItemStack, offHandItem: org.bukkit.inventory.ItemStack) - /** - * Gets the item switched to the main hand. - */ - public getMainHandItem(): org.bukkit.inventory.ItemStack; - /** - * Sets the item in the main hand. - */ - public setMainHandItem(mainHandItem: org.bukkit.inventory.ItemStack): void; - /** - * Gets the item switched to the off hand. - */ - public getOffHandItem(): org.bukkit.inventory.ItemStack; - /** - * Sets the item in the off hand. - */ - public setOffHandItem(offHandItem: org.bukkit.inventory.ItemStack): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerTakeLecternBookEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerTakeLecternBookEvent.ts deleted file mode 100644 index fa821731..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerTakeLecternBookEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerTakeLecternBookEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(who: org.bukkit.entity.Player, lectern: org.bukkit.block.Lectern) - /** - * Gets the lectern involved. - */ - public getLectern(): org.bukkit.block.Lectern; - /** - * Gets the current ItemStack on the lectern. - */ - public getBook(): org.bukkit.inventory.ItemStack; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerTeleportEvent.TeleportCause.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerTeleportEvent.TeleportCause.ts deleted file mode 100644 index 760f9bed..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerTeleportEvent.TeleportCause.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - namespace PlayerTeleportEvent { - // @ts-ignore - class TeleportCause { - public static ENDER_PEARL: org.bukkit.event.player.PlayerTeleportEvent.TeleportCause; - public static COMMAND: org.bukkit.event.player.PlayerTeleportEvent.TeleportCause; - public static PLUGIN: org.bukkit.event.player.PlayerTeleportEvent.TeleportCause; - public static NETHER_PORTAL: org.bukkit.event.player.PlayerTeleportEvent.TeleportCause; - public static END_PORTAL: org.bukkit.event.player.PlayerTeleportEvent.TeleportCause; - public static SPECTATE: org.bukkit.event.player.PlayerTeleportEvent.TeleportCause; - public static END_GATEWAY: org.bukkit.event.player.PlayerTeleportEvent.TeleportCause; - public static CHORUS_FRUIT: org.bukkit.event.player.PlayerTeleportEvent.TeleportCause; - public static UNKNOWN: org.bukkit.event.player.PlayerTeleportEvent.TeleportCause; - public static values(): org.bukkit.event.player.PlayerTeleportEvent.TeleportCause[]; - public static valueOf(name: string): org.bukkit.event.player.PlayerTeleportEvent.TeleportCause; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerTeleportEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerTeleportEvent.ts deleted file mode 100644 index ff9ae444..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerTeleportEvent.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerTeleportEvent extends org.bukkit.event.player.PlayerMoveEvent { - constructor(player: org.bukkit.entity.Player, from: org.bukkit.Location, to: org.bukkit.Location) - constructor(player: org.bukkit.entity.Player, from: org.bukkit.Location, to: org.bukkit.Location, cause: org.bukkit.event.player.PlayerTeleportEvent.TeleportCause) - /** - * Gets the cause of this teleportation event - */ - public getCause(): org.bukkit.event.player.PlayerTeleportEvent.TeleportCause; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerToggleFlightEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerToggleFlightEvent.ts deleted file mode 100644 index 965c8d8d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerToggleFlightEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerToggleFlightEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, isFlying: boolean) - /** - * Returns whether the player is trying to start or stop flying. - */ - public isFlying(): boolean; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerToggleSneakEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerToggleSneakEvent.ts deleted file mode 100644 index 958973ae..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerToggleSneakEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerToggleSneakEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, isSneaking: boolean) - /** - * Returns whether the player is now sneaking or not. - */ - public isSneaking(): boolean; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerToggleSprintEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerToggleSprintEvent.ts deleted file mode 100644 index 4defd0ad..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerToggleSprintEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerToggleSprintEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, isSprinting: boolean) - /** - * Gets whether the player is now sprinting or not. - */ - public isSprinting(): boolean; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerUnleashEntityEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerUnleashEntityEvent.ts deleted file mode 100644 index 9ea7d052..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerUnleashEntityEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerUnleashEntityEvent extends org.bukkit.event.entity.EntityUnleashEvent implements org.bukkit.event.Cancellable { - constructor(entity: org.bukkit.entity.Entity, player: org.bukkit.entity.Player) - /** - * Returns the player who is unleashing the entity. - */ - public getPlayer(): org.bukkit.entity.Player; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerUnregisterChannelEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerUnregisterChannelEvent.ts deleted file mode 100644 index 79095125..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerUnregisterChannelEvent.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerUnregisterChannelEvent extends org.bukkit.event.player.PlayerChannelEvent { - constructor(player: org.bukkit.entity.Player, channel: string) - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerVelocityEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.player.PlayerVelocityEvent.ts deleted file mode 100644 index 826c5dba..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.player.PlayerVelocityEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace player { - // @ts-ignore - class PlayerVelocityEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable { - constructor(player: org.bukkit.entity.Player, velocity: org.bukkit.util.Vector) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the velocity vector that will be sent to the player - */ - public getVelocity(): org.bukkit.util.Vector; - /** - * Sets the velocity vector that will be sent to the player - */ - public setVelocity(velocity: org.bukkit.util.Vector): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.BroadcastMessageEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.BroadcastMessageEvent.ts deleted file mode 100644 index 72bf93f2..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.BroadcastMessageEvent.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - class BroadcastMessageEvent extends org.bukkit.event.server.ServerEvent implements org.bukkit.event.Cancellable { - constructor(message: string, recipients: any[] /*java.util.Set*/) - constructor(isAsync: boolean, message: string, recipients: any[] /*java.util.Set*/) - /** - * Get the message to broadcast. - */ - public getMessage(): string; - /** - * Set the message to broadcast. - */ - public setMessage(message: string): void; - /** - * Gets a set of recipients that this chat message will be displayed to. - *

- * The set returned is not guaranteed to be mutable and may auto-populate - * on access. Any listener accessing the returned set should be aware that - * it may reduce performance for a lazy set implementation. - *

- * Listeners should be aware that modifying the list may throw {@link - * UnsupportedOperationException} if the event caller provides an - * unmodifiable set. - */ - public getRecipients(): any[] /*java.util.Set*/; - public isCancelled(): boolean; - public setCancelled(cancelled: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.MapInitializeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.MapInitializeEvent.ts deleted file mode 100644 index f2b55f04..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.MapInitializeEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - class MapInitializeEvent extends org.bukkit.event.server.ServerEvent { - constructor(mapView: org.bukkit.map.MapView) - /** - * Gets the map initialized in this event. - */ - public getMap(): org.bukkit.map.MapView; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.PluginDisableEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.PluginDisableEvent.ts deleted file mode 100644 index 0924d7aa..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.PluginDisableEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - class PluginDisableEvent extends org.bukkit.event.server.PluginEvent { - constructor(plugin: org.bukkit.plugin.Plugin) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.PluginEnableEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.PluginEnableEvent.ts deleted file mode 100644 index e54773fc..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.PluginEnableEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - class PluginEnableEvent extends org.bukkit.event.server.PluginEvent { - constructor(plugin: org.bukkit.plugin.Plugin) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.PluginEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.PluginEvent.ts deleted file mode 100644 index b258c8f3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.PluginEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - abstract class PluginEvent extends org.bukkit.event.server.ServerEvent { - constructor(plugin: org.bukkit.plugin.Plugin) - /** - * Gets the plugin involved in this event - */ - public getPlugin(): org.bukkit.plugin.Plugin; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.RemoteServerCommandEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.RemoteServerCommandEvent.ts deleted file mode 100644 index 2c6f23b3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.RemoteServerCommandEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - class RemoteServerCommandEvent extends org.bukkit.event.server.ServerCommandEvent { - constructor(sender: org.bukkit.command.CommandSender, command: string) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.ServerCommandEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.ServerCommandEvent.ts deleted file mode 100644 index eaeb8cc1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.ServerCommandEvent.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - class ServerCommandEvent extends org.bukkit.event.server.ServerEvent implements org.bukkit.event.Cancellable { - constructor(sender: org.bukkit.command.CommandSender, command: string) - /** - * Gets the command that the user is attempting to execute from the - * console - */ - public getCommand(): string; - /** - * Sets the command that the server will execute - */ - public setCommand(message: string): void; - /** - * Get the command sender. - */ - public getSender(): org.bukkit.command.CommandSender; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.ServerEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.ServerEvent.ts deleted file mode 100644 index 5758abd8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.ServerEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - abstract class ServerEvent extends org.bukkit.event.Event { - constructor() - constructor(isAsync: boolean) - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.ServerListPingEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.ServerListPingEvent.ts deleted file mode 100644 index fb4542aa..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.ServerListPingEvent.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - class ServerListPingEvent extends org.bukkit.event.server.ServerEvent { - constructor(address: any, motd: string, numPlayers: number, maxPlayers: number) - /** - * This constructor is intended for implementations that provide the - * {@link #iterator()} method, thus provided the {@link #getNumPlayers()} - * count. - */ - constructor(address: any, motd: string, maxPlayers: number) - /** - * Get the address the ping is coming from. - */ - public getAddress(): any; - /** - * Get the message of the day message. - */ - public getMotd(): string; - /** - * Change the message of the day message. - */ - public setMotd(motd: string): void; - /** - * Get the number of players sent. - */ - public getNumPlayers(): number; - /** - * Get the maximum number of players sent. - */ - public getMaxPlayers(): number; - /** - * Set the maximum number of players sent. - */ - public setMaxPlayers(maxPlayers: number): void; - /** - * Sets the server-icon sent to the client. - */ - public setServerIcon(icon: org.bukkit.util.CachedServerIcon): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - /** - * {@inheritDoc} - *

- * Calling the {@link Iterator#remove()} method will force that particular - * player to not be displayed on the player list, decrease the size - * returned by {@link #getNumPlayers()}, and will not be returned again by - * any new iterator. - */ - public iterator(): any; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.ServerLoadEvent.LoadType.ts b/packages/bukkit/src/typings/org.bukkit.event.server.ServerLoadEvent.LoadType.ts deleted file mode 100644 index 10f63a6b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.ServerLoadEvent.LoadType.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - namespace ServerLoadEvent { - // @ts-ignore - class LoadType { - public static STARTUP: org.bukkit.event.server.ServerLoadEvent.LoadType; - public static RELOAD: org.bukkit.event.server.ServerLoadEvent.LoadType; - public static values(): org.bukkit.event.server.ServerLoadEvent.LoadType[]; - public static valueOf(name: string): org.bukkit.event.server.ServerLoadEvent.LoadType; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.ServerLoadEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.ServerLoadEvent.ts deleted file mode 100644 index 46842213..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.ServerLoadEvent.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - class ServerLoadEvent extends org.bukkit.event.server.ServerEvent { - /** - * Creates a {@code ServerLoadEvent} with a given loading type. - */ - constructor(type: org.bukkit.event.server.ServerLoadEvent.LoadType) - /** - * Gets the context in which the server was loaded. - */ - public getType(): org.bukkit.event.server.ServerLoadEvent.LoadType; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.ServiceEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.ServiceEvent.ts deleted file mode 100644 index 322df480..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.ServiceEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - abstract class ServiceEvent extends org.bukkit.event.server.ServerEvent { - constructor(provider: org.bukkit.plugin.RegisteredServiceProvider) - public getProvider(): org.bukkit.plugin.RegisteredServiceProvider; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.ServiceRegisterEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.ServiceRegisterEvent.ts deleted file mode 100644 index eb29f25b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.ServiceRegisterEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - class ServiceRegisterEvent extends org.bukkit.event.server.ServiceEvent { - constructor(registeredProvider: org.bukkit.plugin.RegisteredServiceProvider) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.ServiceUnregisterEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.ServiceUnregisterEvent.ts deleted file mode 100644 index fcf1aac6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.ServiceUnregisterEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - class ServiceUnregisterEvent extends org.bukkit.event.server.ServiceEvent { - constructor(serviceProvider: org.bukkit.plugin.RegisteredServiceProvider) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.server.TabCompleteEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.server.TabCompleteEvent.ts deleted file mode 100644 index 05d1e6c7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.server.TabCompleteEvent.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace server { - // @ts-ignore - class TabCompleteEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable { - constructor(sender: org.bukkit.command.CommandSender, buffer: string, completions: any[] /*java.util.List*/) - /** - * Get the sender completing this command. - */ - public getSender(): org.bukkit.command.CommandSender; - /** - * Return the entire buffer which formed the basis of this completion. - */ - public getBuffer(): string; - /** - * The list of completions which will be offered to the sender, in order. - * This list is mutable and reflects what will be offered. - */ - public getCompletions(): any[] /*java.util.List*/; - /** - * Set the completions offered, overriding any already set. - */ - public setCompletions(completions: any[] /*java.util.List*/): void; - public isCancelled(): boolean; - public setCancelled(cancelled: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleBlockCollisionEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleBlockCollisionEvent.ts deleted file mode 100644 index f496ff46..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleBlockCollisionEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace vehicle { - // @ts-ignore - class VehicleBlockCollisionEvent extends org.bukkit.event.vehicle.VehicleCollisionEvent { - constructor(vehicle: org.bukkit.entity.Vehicle, block: org.bukkit.block.Block) - /** - * Gets the block the vehicle collided with - */ - public getBlock(): org.bukkit.block.Block; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleCollisionEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleCollisionEvent.ts deleted file mode 100644 index 8baeeddf..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleCollisionEvent.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace vehicle { - // @ts-ignore - abstract class VehicleCollisionEvent extends org.bukkit.event.vehicle.VehicleEvent { - constructor(vehicle: org.bukkit.entity.Vehicle) - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleCreateEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleCreateEvent.ts deleted file mode 100644 index a08b8274..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleCreateEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace vehicle { - // @ts-ignore - class VehicleCreateEvent extends org.bukkit.event.vehicle.VehicleEvent implements org.bukkit.event.Cancellable { - constructor(vehicle: org.bukkit.entity.Vehicle) - public isCancelled(): boolean; - public setCancelled(cancelled: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleDamageEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleDamageEvent.ts deleted file mode 100644 index 41cf98a0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleDamageEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace vehicle { - // @ts-ignore - class VehicleDamageEvent extends org.bukkit.event.vehicle.VehicleEvent implements org.bukkit.event.Cancellable { - constructor(vehicle: org.bukkit.entity.Vehicle, attacker: org.bukkit.entity.Entity, damage: number) - /** - * Gets the Entity that is attacking the vehicle - */ - public getAttacker(): org.bukkit.entity.Entity; - /** - * Gets the damage done to the vehicle - */ - public getDamage(): number; - /** - * Sets the damage done to the vehicle - */ - public setDamage(damage: number): void; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleDestroyEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleDestroyEvent.ts deleted file mode 100644 index 5afa4e14..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleDestroyEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace vehicle { - // @ts-ignore - class VehicleDestroyEvent extends org.bukkit.event.vehicle.VehicleEvent implements org.bukkit.event.Cancellable { - constructor(vehicle: org.bukkit.entity.Vehicle, attacker: org.bukkit.entity.Entity) - /** - * Gets the Entity that has destroyed the vehicle, potentially null - */ - public getAttacker(): org.bukkit.entity.Entity; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleEnterEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleEnterEvent.ts deleted file mode 100644 index c8a9681c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleEnterEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace vehicle { - // @ts-ignore - class VehicleEnterEvent extends org.bukkit.event.vehicle.VehicleEvent implements org.bukkit.event.Cancellable { - constructor(vehicle: org.bukkit.entity.Vehicle, entered: org.bukkit.entity.Entity) - /** - * Gets the Entity that entered the vehicle. - */ - public getEntered(): org.bukkit.entity.Entity; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleEntityCollisionEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleEntityCollisionEvent.ts deleted file mode 100644 index 577d7cea..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleEntityCollisionEvent.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace vehicle { - // @ts-ignore - class VehicleEntityCollisionEvent extends org.bukkit.event.vehicle.VehicleCollisionEvent implements org.bukkit.event.Cancellable { - constructor(vehicle: org.bukkit.entity.Vehicle, entity: org.bukkit.entity.Entity) - public getEntity(): org.bukkit.entity.Entity; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public isPickupCancelled(): boolean; - public setPickupCancelled(cancel: boolean): void; - public isCollisionCancelled(): boolean; - public setCollisionCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleEvent.ts deleted file mode 100644 index 4c86371a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace vehicle { - // @ts-ignore - abstract class VehicleEvent extends org.bukkit.event.Event { - constructor(vehicle: org.bukkit.entity.Vehicle) - protected vehicle: org.bukkit.entity.Vehicle; - /** - * Get the vehicle. - */ - public getVehicle(): org.bukkit.entity.Vehicle; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleExitEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleExitEvent.ts deleted file mode 100644 index 64206161..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleExitEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace vehicle { - // @ts-ignore - class VehicleExitEvent extends org.bukkit.event.vehicle.VehicleEvent implements org.bukkit.event.Cancellable { - constructor(vehicle: org.bukkit.entity.Vehicle, exited: org.bukkit.entity.LivingEntity) - /** - * Get the living entity that exited the vehicle. - */ - public getExited(): org.bukkit.entity.LivingEntity; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleMoveEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleMoveEvent.ts deleted file mode 100644 index 2c15f81b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleMoveEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace vehicle { - // @ts-ignore - class VehicleMoveEvent extends org.bukkit.event.vehicle.VehicleEvent { - constructor(vehicle: org.bukkit.entity.Vehicle, from: org.bukkit.Location, to: org.bukkit.Location) - /** - * Get the previous position. - */ - public getFrom(): org.bukkit.Location; - /** - * Get the next position. - */ - public getTo(): org.bukkit.Location; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleUpdateEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleUpdateEvent.ts deleted file mode 100644 index ead39fdd..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.vehicle.VehicleUpdateEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace vehicle { - // @ts-ignore - class VehicleUpdateEvent extends org.bukkit.event.vehicle.VehicleEvent { - constructor(vehicle: org.bukkit.entity.Vehicle) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.weather.LightningStrikeEvent.Cause.ts b/packages/bukkit/src/typings/org.bukkit.event.weather.LightningStrikeEvent.Cause.ts deleted file mode 100644 index 6e08703b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.weather.LightningStrikeEvent.Cause.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace weather { - namespace LightningStrikeEvent { - // @ts-ignore - class Cause { - public static COMMAND: org.bukkit.event.weather.LightningStrikeEvent.Cause; - public static TRIDENT: org.bukkit.event.weather.LightningStrikeEvent.Cause; - public static TRAP: org.bukkit.event.weather.LightningStrikeEvent.Cause; - public static WEATHER: org.bukkit.event.weather.LightningStrikeEvent.Cause; - public static UNKNOWN: org.bukkit.event.weather.LightningStrikeEvent.Cause; - public static values(): org.bukkit.event.weather.LightningStrikeEvent.Cause[]; - public static valueOf(name: string): org.bukkit.event.weather.LightningStrikeEvent.Cause; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.weather.LightningStrikeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.weather.LightningStrikeEvent.ts deleted file mode 100644 index 5a9ab4e3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.weather.LightningStrikeEvent.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace weather { - // @ts-ignore - class LightningStrikeEvent extends org.bukkit.event.weather.WeatherEvent implements org.bukkit.event.Cancellable { - constructor(world: org.bukkit.World, bolt: org.bukkit.entity.LightningStrike) - constructor(world: org.bukkit.World, bolt: org.bukkit.entity.LightningStrike, cause: org.bukkit.event.weather.LightningStrikeEvent.Cause) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the bolt which is striking the earth. - */ - public getLightning(): org.bukkit.entity.LightningStrike; - /** - * Gets the cause of this lightning strike. - */ - public getCause(): org.bukkit.event.weather.LightningStrikeEvent.Cause; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.weather.ThunderChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.weather.ThunderChangeEvent.ts deleted file mode 100644 index 04b7c6e4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.weather.ThunderChangeEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace weather { - // @ts-ignore - class ThunderChangeEvent extends org.bukkit.event.weather.WeatherEvent implements org.bukkit.event.Cancellable { - constructor(world: org.bukkit.World, to: boolean) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the state of thunder that the world is being set to - */ - public toThunderState(): boolean; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.weather.WeatherChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.weather.WeatherChangeEvent.ts deleted file mode 100644 index 75445358..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.weather.WeatherChangeEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace weather { - // @ts-ignore - class WeatherChangeEvent extends org.bukkit.event.weather.WeatherEvent implements org.bukkit.event.Cancellable { - constructor(world: org.bukkit.World, to: boolean) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the state of weather that the world is being set to - */ - public toWeatherState(): boolean; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.weather.WeatherEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.weather.WeatherEvent.ts deleted file mode 100644 index f154585b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.weather.WeatherEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace weather { - // @ts-ignore - abstract class WeatherEvent extends org.bukkit.event.Event { - constructor(where: org.bukkit.World) - protected world: org.bukkit.World; - /** - * Returns the World where this event is occurring - */ - public getWorld(): org.bukkit.World; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.world.ChunkEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.world.ChunkEvent.ts deleted file mode 100644 index bc2e0361..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.world.ChunkEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace world { - // @ts-ignore - abstract class ChunkEvent extends org.bukkit.event.world.WorldEvent { - constructor(chunk: org.bukkit.Chunk) - protected chunk: org.bukkit.Chunk; - /** - * Gets the chunk being loaded/unloaded - */ - public getChunk(): org.bukkit.Chunk; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.world.ChunkLoadEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.world.ChunkLoadEvent.ts deleted file mode 100644 index 57f32812..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.world.ChunkLoadEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace world { - // @ts-ignore - class ChunkLoadEvent extends org.bukkit.event.world.ChunkEvent { - constructor(chunk: org.bukkit.Chunk, newChunk: boolean) - /** - * Gets if this chunk was newly created or not. - *

- * Note that if this chunk is new, it will not be populated at this time. - */ - public isNewChunk(): boolean; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.world.ChunkPopulateEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.world.ChunkPopulateEvent.ts deleted file mode 100644 index 8d86e6d1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.world.ChunkPopulateEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace world { - // @ts-ignore - class ChunkPopulateEvent extends org.bukkit.event.world.ChunkEvent { - constructor(chunk: org.bukkit.Chunk) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.world.ChunkUnloadEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.world.ChunkUnloadEvent.ts deleted file mode 100644 index fa13a0f6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.world.ChunkUnloadEvent.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace world { - // @ts-ignore - class ChunkUnloadEvent extends org.bukkit.event.world.ChunkEvent { - constructor(chunk: org.bukkit.Chunk) - constructor(chunk: org.bukkit.Chunk, save: boolean) - /** - * Return whether this chunk will be saved to disk. - */ - public isSaveChunk(): boolean; - /** - * Set whether this chunk will be saved to disk. - */ - public setSaveChunk(saveChunk: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.world.PortalCreateEvent.CreateReason.ts b/packages/bukkit/src/typings/org.bukkit.event.world.PortalCreateEvent.CreateReason.ts deleted file mode 100644 index 935947f5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.world.PortalCreateEvent.CreateReason.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace world { - namespace PortalCreateEvent { - // @ts-ignore - class CreateReason { - public static FIRE: org.bukkit.event.world.PortalCreateEvent.CreateReason; - public static NETHER_PAIR: org.bukkit.event.world.PortalCreateEvent.CreateReason; - public static END_PLATFORM: org.bukkit.event.world.PortalCreateEvent.CreateReason; - public static values(): org.bukkit.event.world.PortalCreateEvent.CreateReason[]; - public static valueOf(name: string): org.bukkit.event.world.PortalCreateEvent.CreateReason; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.world.PortalCreateEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.world.PortalCreateEvent.ts deleted file mode 100644 index b52b797e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.world.PortalCreateEvent.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace world { - // @ts-ignore - class PortalCreateEvent extends org.bukkit.event.world.WorldEvent implements org.bukkit.event.Cancellable { - constructor(blocks: any[] /*java.util.List*/, world: org.bukkit.World, reason: org.bukkit.event.world.PortalCreateEvent.CreateReason) - constructor(blocks: any[] /*java.util.List*/, world: org.bukkit.World, entity: org.bukkit.entity.Entity, reason: org.bukkit.event.world.PortalCreateEvent.CreateReason) - /** - * Gets an array list of all the blocks associated with the created portal - */ - public getBlocks(): any[] /*java.util.List*/; - /** - * Returns the Entity that triggered this portal creation (if available) - */ - public getEntity(): org.bukkit.entity.Entity; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - /** - * Gets the reason for the portal's creation - */ - public getReason(): org.bukkit.event.world.PortalCreateEvent.CreateReason; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.world.SpawnChangeEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.world.SpawnChangeEvent.ts deleted file mode 100644 index 58230275..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.world.SpawnChangeEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace world { - // @ts-ignore - class SpawnChangeEvent extends org.bukkit.event.world.WorldEvent { - constructor(world: org.bukkit.World, previousLocation: org.bukkit.Location) - /** - * Gets the previous spawn location - */ - public getPreviousLocation(): org.bukkit.Location; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.world.StructureGrowEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.world.StructureGrowEvent.ts deleted file mode 100644 index 2ade54d5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.world.StructureGrowEvent.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace world { - // @ts-ignore - class StructureGrowEvent extends org.bukkit.event.world.WorldEvent implements org.bukkit.event.Cancellable { - constructor(location: org.bukkit.Location, species: org.bukkit.TreeType, bonemeal: boolean, player: org.bukkit.entity.Player, blocks: any[] /*java.util.List*/) - /** - * Gets the location of the structure. - */ - public getLocation(): org.bukkit.Location; - /** - * Gets the species type (birch, normal, pine, red mushroom, brown - * mushroom) - */ - public getSpecies(): org.bukkit.TreeType; - /** - * Checks if structure was grown using bonemeal. - */ - public isFromBonemeal(): boolean; - /** - * Gets the player that created the structure. - */ - public getPlayer(): org.bukkit.entity.Player; - /** - * Gets a list of all blocks associated with the structure. - */ - public getBlocks(): any[] /*java.util.List*/; - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.world.WorldEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.world.WorldEvent.ts deleted file mode 100644 index 2351d9b0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.world.WorldEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace world { - // @ts-ignore - abstract class WorldEvent extends org.bukkit.event.Event { - constructor(world: org.bukkit.World) - /** - * Gets the world primarily involved with this event - */ - public getWorld(): org.bukkit.World; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.world.WorldInitEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.world.WorldInitEvent.ts deleted file mode 100644 index 91e2b4e5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.world.WorldInitEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace world { - // @ts-ignore - class WorldInitEvent extends org.bukkit.event.world.WorldEvent { - constructor(world: org.bukkit.World) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.world.WorldLoadEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.world.WorldLoadEvent.ts deleted file mode 100644 index d35e07d7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.world.WorldLoadEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace world { - // @ts-ignore - class WorldLoadEvent extends org.bukkit.event.world.WorldEvent { - constructor(world: org.bukkit.World) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.world.WorldSaveEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.world.WorldSaveEvent.ts deleted file mode 100644 index 1926800f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.world.WorldSaveEvent.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace world { - // @ts-ignore - class WorldSaveEvent extends org.bukkit.event.world.WorldEvent { - constructor(world: org.bukkit.World) - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.event.world.WorldUnloadEvent.ts b/packages/bukkit/src/typings/org.bukkit.event.world.WorldUnloadEvent.ts deleted file mode 100644 index 6af4bfca..00000000 --- a/packages/bukkit/src/typings/org.bukkit.event.world.WorldUnloadEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace event { - namespace world { - // @ts-ignore - class WorldUnloadEvent extends org.bukkit.event.world.WorldEvent implements org.bukkit.event.Cancellable { - constructor(world: org.bukkit.World) - public isCancelled(): boolean; - public setCancelled(cancel: boolean): void; - public getHandlers(): org.bukkit.event.HandlerList; - public static getHandlerList(): org.bukkit.event.HandlerList; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.generator.BlockPopulator.ts b/packages/bukkit/src/typings/org.bukkit.generator.BlockPopulator.ts deleted file mode 100644 index b6a7cfd6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.generator.BlockPopulator.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace generator { - // @ts-ignore - abstract class BlockPopulator { - constructor() - /** - * Populates an area of blocks at or around the given chunk. - *

- * The chunks on each side of the specified chunk must already exist; that - * is, there must be one north, east, south and west of the specified - * chunk. The "corner" chunks may not exist, in which scenario the - * populator should record any changes required for those chunks and - * perform the changes when they are ready. - */ - public abstract populate(world: org.bukkit.World, random: any, source: org.bukkit.Chunk): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.generator.ChunkGenerator.BiomeGrid.ts b/packages/bukkit/src/typings/org.bukkit.generator.ChunkGenerator.BiomeGrid.ts deleted file mode 100644 index 42ad4aee..00000000 --- a/packages/bukkit/src/typings/org.bukkit.generator.ChunkGenerator.BiomeGrid.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace generator { - namespace ChunkGenerator { - // @ts-ignore - interface BiomeGrid { - /** - * Get biome at x, z within chunk being generated - */ - getBiome(x: number, z: number): org.bukkit.block.Biome; - /** - * Set biome at x, z within chunk being generated - */ - setBiome(x: number, z: number, bio: org.bukkit.block.Biome): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.generator.ChunkGenerator.ChunkData.ts b/packages/bukkit/src/typings/org.bukkit.generator.ChunkGenerator.ChunkData.ts deleted file mode 100644 index 23731bc0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.generator.ChunkGenerator.ChunkData.ts +++ /dev/null @@ -1,69 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace generator { - namespace ChunkGenerator { - // @ts-ignore - interface ChunkData { - /** - * Get the maximum height for the chunk. - * Setting blocks at or above this height will do nothing. - */ - getMaxHeight(): number; - /** - * Set the block at x,y,z in the chunk data to material. - * Note: setting blocks outside the chunk's bounds does nothing. - */ - setBlock(x: number, y: number, z: number, material: org.bukkit.Material): void; - /** - * Set the block at x,y,z in the chunk data to material. - * Setting blocks outside the chunk's bounds does nothing. - */ - setBlock(x: number, y: number, z: number, material: org.bukkit.material.MaterialData): void; - /** - * Set the block at x,y,z in the chunk data to material. - * Setting blocks outside the chunk's bounds does nothing. - */ - setBlock(x: number, y: number, z: number, blockData: org.bukkit.block.data.BlockData): void; - /** - * Set a region of this chunk from xMin, yMin, zMin (inclusive) - * to xMax, yMax, zMax (exclusive) to material. - * Setting blocks outside the chunk's bounds does nothing. - */ - setRegion(xMin: number, yMin: number, zMin: number, xMax: number, yMax: number, zMax: number, material: org.bukkit.Material): void; - /** - * Set a region of this chunk from xMin, yMin, zMin (inclusive) - * to xMax, yMax, zMax (exclusive) to material. - * Setting blocks outside the chunk's bounds does nothing. - */ - setRegion(xMin: number, yMin: number, zMin: number, xMax: number, yMax: number, zMax: number, material: org.bukkit.material.MaterialData): void; - /** - * Set a region of this chunk from xMin, yMin, zMin (inclusive) to xMax, - * yMax, zMax (exclusive) to material. - * Setting blocks outside the chunk's bounds does nothing. - */ - setRegion(xMin: number, yMin: number, zMin: number, xMax: number, yMax: number, zMax: number, blockData: org.bukkit.block.data.BlockData): void; - /** - * Get the type of the block at x, y, z. - * Getting blocks outside the chunk's bounds returns air. - */ - getType(x: number, y: number, z: number): org.bukkit.Material; - /** - * Get the type and data of the block at x, y, z. - * Getting blocks outside the chunk's bounds returns air. - */ - getTypeAndData(x: number, y: number, z: number): org.bukkit.material.MaterialData; - /** - * Get the type and data of the block at x, y, z. - * Getting blocks outside the chunk's bounds returns air. - */ - getBlockData(x: number, y: number, z: number): org.bukkit.block.data.BlockData; - /** - * Get the block data at x,y,z in the chunk data. - * Getting blocks outside the chunk's bounds returns 0. - */ - getData(x: number, y: number, z: number): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.generator.ChunkGenerator.ts b/packages/bukkit/src/typings/org.bukkit.generator.ChunkGenerator.ts deleted file mode 100644 index 5b66dad0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.generator.ChunkGenerator.ts +++ /dev/null @@ -1,50 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace generator { - // @ts-ignore - abstract class ChunkGenerator { - constructor() - /** - * Shapes the chunk for the given coordinates. - * This method must return a ChunkData. - *

- * Notes: - *

- * This method should never attempt to get the Chunk at - * the passed coordinates, as doing so may cause an infinite loop - *

- * This method should never modify a ChunkData after it has - * been returned. - *

- * This method must return a ChunkData returned by {@link ChunkGenerator#createChunkData(org.bukkit.World)} - */ - public generateChunkData(world: org.bukkit.World, random: any, x: number, z: number, biome: org.bukkit.generator.ChunkGenerator.BiomeGrid): org.bukkit.generator.ChunkGenerator.ChunkData; - /** - * Create a ChunkData for a world. - */ - protected createChunkData(world: org.bukkit.World): org.bukkit.generator.ChunkGenerator.ChunkData; - /** - * Tests if the specified location is valid for a natural spawn position - */ - public canSpawn(world: org.bukkit.World, x: number, z: number): boolean; - /** - * Gets a list of default {@link BlockPopulator}s to apply to a given - * world - */ - public getDefaultPopulators(world: org.bukkit.World): any[] /*java.util.List*/; - /** - * Gets a fixed spawn location to use for a given world. - *

- * A null value is returned if a world should not use a fixed spawn point, - * and will instead attempt to find one randomly. - */ - public getFixedSpawnLocation(world: org.bukkit.World, random: any): org.bukkit.Location; - /** - * Gets if this ChunkGenerator is parallel capable. - * See {@link ChunkGenerator} for more information. - */ - public isParallelCapable(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.help.GenericCommandHelpTopic.ts b/packages/bukkit/src/typings/org.bukkit.help.GenericCommandHelpTopic.ts deleted file mode 100644 index deaa92af..00000000 --- a/packages/bukkit/src/typings/org.bukkit.help.GenericCommandHelpTopic.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace help { - // @ts-ignore - class GenericCommandHelpTopic extends org.bukkit.help.HelpTopic { - constructor(command: org.bukkit.command.Command) - protected command: org.bukkit.command.Command; - public canSee(sender: org.bukkit.command.CommandSender): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.help.HelpMap.ts b/packages/bukkit/src/typings/org.bukkit.help.HelpMap.ts deleted file mode 100644 index 17f3623a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.help.HelpMap.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace help { - // @ts-ignore - interface HelpMap { - /** - * Returns a help topic for a given topic name. - */ - getHelpTopic(topicName: string): org.bukkit.help.HelpTopic; - /** - * Returns a collection of all the registered help topics. - */ - getHelpTopics(): any[] /*java.util.Collection*/; - /** - * Adds a topic to the server's help index. - */ - addTopic(topic: org.bukkit.help.HelpTopic): void; - /** - * Clears out the contents of the help index. Normally called during - * server reload. - */ - clear(): void; - /** - * Associates a {@link HelpTopicFactory} object with given command base - * class. Plugins typically call this method during {@code onLoad()}. Once - * registered, the custom HelpTopicFactory will be used to create a custom - * {@link HelpTopic} for all commands deriving from the {@code - * commandClass} base class, or all commands deriving from {@link - * org.bukkit.command.PluginCommand} who's executor derives from {@code - * commandClass} base class. - */ - registerHelpTopicFactory(commandClass: any, factory: org.bukkit.help.HelpTopicFactory): void; - /** - * Gets the list of plugins the server administrator has chosen to exclude - * from the help index. Plugin authors who choose to directly extend - * {@link org.bukkit.command.Command} instead of {@link - * org.bukkit.command.PluginCommand} will need to check this collection in - * their {@link HelpTopicFactory} implementations to ensure they meet the - * server administrator's expectations. - */ - getIgnoredPlugins(): any[] /*java.util.List*/; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.help.HelpTopic.ts b/packages/bukkit/src/typings/org.bukkit.help.HelpTopic.ts deleted file mode 100644 index f6c998a8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.help.HelpTopic.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace help { - // @ts-ignore - abstract class HelpTopic { - constructor() - protected name: string; - protected shortText: string; - protected fullText: string; - protected amendedPermission: string; - /** - * Determines if a {@link Player} is allowed to see this help topic. - *

- * HelpTopic implementations should take server administrator wishes into - * account as set by the {@link HelpTopic#amendCanSee(String)} function. - */ - public abstract canSee(player: org.bukkit.command.CommandSender): boolean; - /** - * Allows the server administrator to override the permission required to - * see a help topic. - *

- * HelpTopic implementations should take this into account when - * determining topic visibility on the {@link - * HelpTopic#canSee(org.bukkit.command.CommandSender)} function. - */ - public amendCanSee(amendedPermission: string): void; - /** - * Returns the name of this help topic. - */ - public getName(): string; - /** - * Returns a brief description that will be displayed in the topic index. - */ - public getShortText(): string; - /** - * Returns the full description of this help topic that is displayed when - * the user requests this topic's details. - *

- * The result will be paginated to properly fit the user's client. - */ - public getFullText(forWho: org.bukkit.command.CommandSender): string; - /** - * Allows the server admin (or another plugin) to add or replace the - * contents of a help topic. - *

- * A null in either parameter will leave that part of the topic unchanged. - * In either amending parameter, the string {@literal } is replaced - * with the existing contents in the help topic. Use this to append or - * prepend additional content into an automatically generated help topic. - */ - public amendTopic(amendedShortText: string, amendedFullText: string): void; - /** - * Developers implementing their own custom HelpTopic implementations can - * use this utility method to ensure their implementations comply with the - * expected behavior of the {@link HelpTopic#amendTopic(String, String)} - * method. - */ - protected applyAmendment(baseText: string, amendment: string): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.help.HelpTopicComparator.TopicNameComparator.ts b/packages/bukkit/src/typings/org.bukkit.help.HelpTopicComparator.TopicNameComparator.ts deleted file mode 100644 index 5458660a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.help.HelpTopicComparator.TopicNameComparator.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace help { - namespace HelpTopicComparator { - // @ts-ignore - class TopicNameComparator { - public compare(lhs: string, rhs: string): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.help.HelpTopicComparator.ts b/packages/bukkit/src/typings/org.bukkit.help.HelpTopicComparator.ts deleted file mode 100644 index 862fed6d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.help.HelpTopicComparator.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace help { - // @ts-ignore - class HelpTopicComparator { - public static topicNameComparatorInstance(): org.bukkit.help.HelpTopicComparator.TopicNameComparator; - public static helpTopicComparatorInstance(): org.bukkit.help.HelpTopicComparator; - public compare(lhs: org.bukkit.help.HelpTopic, rhs: org.bukkit.help.HelpTopic): number; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.help.HelpTopicFactory.ts b/packages/bukkit/src/typings/org.bukkit.help.HelpTopicFactory.ts deleted file mode 100644 index 9731607d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.help.HelpTopicFactory.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace help { - // @ts-ignore - interface HelpTopicFactory { - /** - * This method accepts a command deriving from a custom command base class - * and constructs a custom HelpTopic for it. - */ - createTopic(command: org.bukkit.command.Command): org.bukkit.help.HelpTopic; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.help.IndexHelpTopic.ts b/packages/bukkit/src/typings/org.bukkit.help.IndexHelpTopic.ts deleted file mode 100644 index c15e001d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.help.IndexHelpTopic.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace help { - // @ts-ignore - class IndexHelpTopic extends org.bukkit.help.HelpTopic { - constructor(name: string, shortText: string, permission: string, topics: any[] /*java.util.Collection*/) - constructor(name: string, shortText: string, permission: string, topics: any[] /*java.util.Collection*/, preamble: string) - protected permission: string; - protected preamble: string; - protected allTopics: any[] /*java.util.Collection*/; - /** - * Sets the contents of the internal allTopics collection. - */ - protected setTopicsCollection(topics: any[] /*java.util.Collection*/): void; - public canSee(sender: org.bukkit.command.CommandSender): boolean; - public amendCanSee(amendedPermission: string): void; - public getFullText(sender: org.bukkit.command.CommandSender): string; - /** - * Builds the topic preamble. Override this method to change how the index - * preamble looks. - */ - protected buildPreamble(sender: org.bukkit.command.CommandSender): string; - /** - * Builds individual lines in the index topic. Override this method to - * change how index lines are rendered. - */ - protected buildIndexLine(sender: org.bukkit.command.CommandSender, topic: org.bukkit.help.HelpTopic): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.AbstractHorseInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.AbstractHorseInventory.ts deleted file mode 100644 index 97d95629..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.AbstractHorseInventory.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface AbstractHorseInventory extends org.bukkit.inventory.Inventory { - /** - * Gets the item in the horse's saddle slot. - */ - getSaddle(): org.bukkit.inventory.ItemStack; - /** - * Sets the item in the horse's saddle slot. - */ - setSaddle(stack: org.bukkit.inventory.ItemStack): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.AnvilInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.AnvilInventory.ts deleted file mode 100644 index ec2206c1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.AnvilInventory.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface AnvilInventory extends org.bukkit.inventory.Inventory { - /** - * Get the name to be applied to the repaired item. An empty string denotes - * the default item name. - */ - getRenameText(): string; - /** - * Get the experience cost (in levels) to complete the current repair. - */ - getRepairCost(): number; - /** - * Set the experience cost (in levels) to complete the current repair. - */ - setRepairCost(levels: number): void; - /** - * Get the maximum experience cost (in levels) to be allowed by the current - * repair. If the result of {@link #getRepairCost()} exceeds the returned - * value, the repair result will be air to due being "too expensive". - *

- * By default, this level is set to 40. Players in creative mode ignore the - * maximum repair cost. - */ - getMaximumRepairCost(): number; - /** - * Set the maximum experience cost (in levels) to be allowed by the current - * repair. The default value set by vanilla Minecraft is 40. - */ - setMaximumRepairCost(levels: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.BeaconInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.BeaconInventory.ts deleted file mode 100644 index 65b4c2fa..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.BeaconInventory.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface BeaconInventory extends org.bukkit.inventory.Inventory { - /** - * Set the item powering the beacon. - */ - setItem(item: org.bukkit.inventory.ItemStack): void; - /** - * Get the item powering the beacon. - */ - getItem(): org.bukkit.inventory.ItemStack; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.BlastingRecipe.ts b/packages/bukkit/src/typings/org.bukkit.inventory.BlastingRecipe.ts deleted file mode 100644 index a6fd0d91..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.BlastingRecipe.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - class BlastingRecipe extends org.bukkit.inventory.CookingRecipe { - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack, source: org.bukkit.Material, experience: number, cookingTime: number) - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack, input: org.bukkit.inventory.RecipeChoice, experience: number, cookingTime: number) - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.BlockInventoryHolder.ts b/packages/bukkit/src/typings/org.bukkit.inventory.BlockInventoryHolder.ts deleted file mode 100644 index 644059fb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.BlockInventoryHolder.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface BlockInventoryHolder extends org.bukkit.inventory.InventoryHolder { - /** - * Gets the block associated with this holder. - */ - getBlock(): org.bukkit.block.Block; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.BrewerInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.BrewerInventory.ts deleted file mode 100644 index e07f44f6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.BrewerInventory.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface BrewerInventory extends org.bukkit.inventory.Inventory { - /** - * Get the current ingredient for brewing. - */ - getIngredient(): org.bukkit.inventory.ItemStack; - /** - * Set the current ingredient for brewing. - */ - setIngredient(ingredient: org.bukkit.inventory.ItemStack): void; - /** - * Get the current fuel for brewing. - */ - getFuel(): org.bukkit.inventory.ItemStack; - /** - * Set the current fuel for brewing. Generally only - * {@link Material#BLAZE_POWDER} will be of use. - */ - setFuel(fuel: org.bukkit.inventory.ItemStack): void; - getHolder(): org.bukkit.block.BrewingStand; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.CampfireRecipe.ts b/packages/bukkit/src/typings/org.bukkit.inventory.CampfireRecipe.ts deleted file mode 100644 index 75c649ca..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.CampfireRecipe.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - class CampfireRecipe extends org.bukkit.inventory.CookingRecipe { - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack, source: org.bukkit.Material, experience: number, cookingTime: number) - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack, input: org.bukkit.inventory.RecipeChoice, experience: number, cookingTime: number) - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.CartographyInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.CartographyInventory.ts deleted file mode 100644 index 01fb8ca9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.CartographyInventory.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface CartographyInventory extends org.bukkit.inventory.Inventory { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.CookingRecipe.ts b/packages/bukkit/src/typings/org.bukkit.inventory.CookingRecipe.ts deleted file mode 100644 index c5a42c3a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.CookingRecipe.ts +++ /dev/null @@ -1,64 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - abstract class CookingRecipe implements org.bukkit.inventory.Recipe, org.bukkit.Keyed { - /** - * Create a cooking recipe to craft the specified ItemStack. - */ - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack, source: org.bukkit.Material, experience: number, cookingTime: number) - /** - * Create a cooking recipe to craft the specified ItemStack. - */ - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack, input: org.bukkit.inventory.RecipeChoice, experience: number, cookingTime: number) - /** - * Sets the input of this cooking recipe. - */ - public setInput(input: org.bukkit.Material): org.bukkit.inventory.CookingRecipe; - /** - * Get the input material. - */ - public getInput(): org.bukkit.inventory.ItemStack; - /** - * Sets the input of this cooking recipe. - */ - public setInputChoice(input: org.bukkit.inventory.RecipeChoice): org.bukkit.inventory.CookingRecipe; - /** - * Get the input choice. - */ - public getInputChoice(): org.bukkit.inventory.RecipeChoice; - /** - * Get the result of this recipe. - */ - public getResult(): org.bukkit.inventory.ItemStack; - /** - * Sets the experience given by this recipe. - */ - public setExperience(experience: number): void; - /** - * Get the experience given by this recipe. - */ - public getExperience(): number; - /** - * Set the cooking time for this recipe in ticks. - */ - public setCookingTime(cookingTime: number): void; - /** - * Get the cooking time for this recipe in ticks. - */ - public getCookingTime(): number; - public getKey(): org.bukkit.NamespacedKey; - /** - * Get the group of this recipe. Recipes with the same group may be grouped - * together when displayed in the client. - */ - public getGroup(): string; - /** - * Set the group of this recipe. Recipes with the same group may be grouped - * together when displayed in the client. - */ - public setGroup(group: string): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.CraftingInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.CraftingInventory.ts deleted file mode 100644 index 483f3fc7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.CraftingInventory.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface CraftingInventory extends org.bukkit.inventory.Inventory { - /** - * Check what item is in the result slot of this crafting inventory. - */ - getResult(): org.bukkit.inventory.ItemStack; - /** - * Get the contents of the crafting matrix. - */ - getMatrix(): org.bukkit.inventory.ItemStack[]; - /** - * Set the item in the result slot of the crafting inventory. - */ - setResult(newResult: org.bukkit.inventory.ItemStack): void; - /** - * Replace the contents of the crafting matrix - */ - setMatrix(contents: org.bukkit.inventory.ItemStack): void; - /** - * Get the current recipe formed on the crafting inventory, if any. - */ - getRecipe(): org.bukkit.inventory.Recipe; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.DoubleChestInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.DoubleChestInventory.ts deleted file mode 100644 index 6ce6627e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.DoubleChestInventory.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface DoubleChestInventory extends org.bukkit.inventory.Inventory { - /** - * Get the left half of this double chest. - */ - getLeftSide(): org.bukkit.inventory.Inventory; - /** - * Get the right side of this double chest. - */ - getRightSide(): org.bukkit.inventory.Inventory; - getHolder(): org.bukkit.block.DoubleChest; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.EnchantingInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.EnchantingInventory.ts deleted file mode 100644 index 3510145f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.EnchantingInventory.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface EnchantingInventory extends org.bukkit.inventory.Inventory { - /** - * Set the item being enchanted. - */ - setItem(item: org.bukkit.inventory.ItemStack): void; - /** - * Get the item being enchanted. - */ - getItem(): org.bukkit.inventory.ItemStack; - /** - * Set the secondary item being used for the enchant. - */ - setSecondary(item: org.bukkit.inventory.ItemStack): void; - /** - * Get the secondary item being used for the enchant. - */ - getSecondary(): org.bukkit.inventory.ItemStack; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.EntityEquipment.ts b/packages/bukkit/src/typings/org.bukkit.inventory.EntityEquipment.ts deleted file mode 100644 index 41be5ea7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.EntityEquipment.ts +++ /dev/null @@ -1,189 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface EntityEquipment { - /** - * Gets a copy of the item the entity is currently holding - * in their main hand. - */ - getItemInMainHand(): org.bukkit.inventory.ItemStack; - /** - * Sets the item the entity is holding in their main hand. - */ - setItemInMainHand(item: org.bukkit.inventory.ItemStack): void; - /** - * Gets a copy of the item the entity is currently holding - * in their off hand. - */ - getItemInOffHand(): org.bukkit.inventory.ItemStack; - /** - * Sets the item the entity is holding in their off hand. - */ - setItemInOffHand(item: org.bukkit.inventory.ItemStack): void; - /** - * Gets a copy of the item the entity is currently holding - */ - getItemInHand(): org.bukkit.inventory.ItemStack; - /** - * Sets the item the entity is holding - */ - setItemInHand(stack: org.bukkit.inventory.ItemStack): void; - /** - * Gets a copy of the helmet currently being worn by the entity - */ - getHelmet(): org.bukkit.inventory.ItemStack; - /** - * Sets the helmet worn by the entity - */ - setHelmet(helmet: org.bukkit.inventory.ItemStack): void; - /** - * Gets a copy of the chest plate currently being worn by the entity - */ - getChestplate(): org.bukkit.inventory.ItemStack; - /** - * Sets the chest plate worn by the entity - */ - setChestplate(chestplate: org.bukkit.inventory.ItemStack): void; - /** - * Gets a copy of the leggings currently being worn by the entity - */ - getLeggings(): org.bukkit.inventory.ItemStack; - /** - * Sets the leggings worn by the entity - */ - setLeggings(leggings: org.bukkit.inventory.ItemStack): void; - /** - * Gets a copy of the boots currently being worn by the entity - */ - getBoots(): org.bukkit.inventory.ItemStack; - /** - * Sets the boots worn by the entity - */ - setBoots(boots: org.bukkit.inventory.ItemStack): void; - /** - * Gets a copy of all worn armor - */ - getArmorContents(): org.bukkit.inventory.ItemStack[]; - /** - * Sets the entities armor to the provided array of ItemStacks - */ - setArmorContents(items: org.bukkit.inventory.ItemStack): void; - /** - * Clears the entity of all armor and held items - */ - clear(): void; - getItemInHandDropChance(): number; - setItemInHandDropChance(chance: number): void; - /** - * Gets the chance of the main hand item being dropped upon this creature's - * death. - *

    - *
  • A drop chance of 0.0F will never drop - *
  • A drop chance of 1.0F will always drop - *
- */ - getItemInMainHandDropChance(): number; - /** - * Sets the chance of the item this creature is currently holding in their - * main hand being dropped upon this creature's death. - *
    - *
  • A drop chance of 0.0F will never drop - *
  • A drop chance of 1.0F will always drop - *
- */ - setItemInMainHandDropChance(chance: number): void; - /** - * Gets the chance of the off hand item being dropped upon this creature's - * death. - *
    - *
  • A drop chance of 0.0F will never drop - *
  • A drop chance of 1.0F will always drop - *
- */ - getItemInOffHandDropChance(): number; - /** - * Sets the chance of the off hand item being dropped upon this creature's - * death. - *
    - *
  • A drop chance of 0.0F will never drop - *
  • A drop chance of 1.0F will always drop - *
- */ - setItemInOffHandDropChance(chance: number): void; - /** - * Gets the chance of the helmet being dropped upon this creature's death. - *
    - *
  • A drop chance of 0.0F will never drop - *
  • A drop chance of 1.0F will always drop - *
- */ - getHelmetDropChance(): number; - /** - * Sets the chance of the helmet being dropped upon this creature's death. - *
    - *
  • A drop chance of 0.0F will never drop - *
  • A drop chance of 1.0F will always drop - *
- */ - setHelmetDropChance(chance: number): void; - /** - * Gets the chance of the chest plate being dropped upon this creature's - * death. - *
    - *
  • A drop chance of 0.0F will never drop - *
  • A drop chance of 1.0F will always drop - *
- */ - getChestplateDropChance(): number; - /** - * Sets the chance of the chest plate being dropped upon this creature's - * death. - *
    - *
  • A drop chance of 0.0F will never drop - *
  • A drop chance of 1.0F will always drop - *
- */ - setChestplateDropChance(chance: number): void; - /** - * Gets the chance of the leggings being dropped upon this creature's - * death. - *
    - *
  • A drop chance of 0.0F will never drop - *
  • A drop chance of 1.0F will always drop - *
- */ - getLeggingsDropChance(): number; - /** - * Sets the chance of the leggings being dropped upon this creature's - * death. - *
    - *
  • A drop chance of 0.0F will never drop - *
  • A drop chance of 1.0F will always drop - *
- */ - setLeggingsDropChance(chance: number): void; - /** - * Gets the chance of the boots being dropped upon this creature's death. - *
    - *
  • A drop chance of 0.0F will never drop - *
  • A drop chance of 1.0F will always drop - *
- */ - getBootsDropChance(): number; - /** - * Sets the chance of the boots being dropped upon this creature's death. - *
    - *
  • A drop chance of 0.0F will never drop - *
  • A drop chance of 1.0F will always drop - *
- */ - setBootsDropChance(chance: number): void; - /** - * Get the entity this EntityEquipment belongs to - */ - getHolder(): org.bukkit.entity.Entity; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.EquipmentSlot.ts b/packages/bukkit/src/typings/org.bukkit.inventory.EquipmentSlot.ts deleted file mode 100644 index 4a4ee38e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.EquipmentSlot.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - class EquipmentSlot { - public static HAND: org.bukkit.inventory.EquipmentSlot; - public static OFF_HAND: org.bukkit.inventory.EquipmentSlot; - public static FEET: org.bukkit.inventory.EquipmentSlot; - public static LEGS: org.bukkit.inventory.EquipmentSlot; - public static CHEST: org.bukkit.inventory.EquipmentSlot; - public static HEAD: org.bukkit.inventory.EquipmentSlot; - public static values(): org.bukkit.inventory.EquipmentSlot[]; - public static valueOf(name: string): org.bukkit.inventory.EquipmentSlot; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.FurnaceInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.FurnaceInventory.ts deleted file mode 100644 index 958c8294..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.FurnaceInventory.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface FurnaceInventory extends org.bukkit.inventory.Inventory { - /** - * Get the current item in the result slot. - */ - getResult(): org.bukkit.inventory.ItemStack; - /** - * Get the current fuel. - */ - getFuel(): org.bukkit.inventory.ItemStack; - /** - * Get the item currently smelting. - */ - getSmelting(): org.bukkit.inventory.ItemStack; - /** - * Set the current fuel. - */ - setFuel(stack: org.bukkit.inventory.ItemStack): void; - /** - * Set the current item in the result slot. - */ - setResult(stack: org.bukkit.inventory.ItemStack): void; - /** - * Set the item currently smelting. - */ - setSmelting(stack: org.bukkit.inventory.ItemStack): void; - getHolder(): org.bukkit.block.Furnace; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.FurnaceRecipe.ts b/packages/bukkit/src/typings/org.bukkit.inventory.FurnaceRecipe.ts deleted file mode 100644 index 8e3c1994..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.FurnaceRecipe.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - class FurnaceRecipe extends org.bukkit.inventory.CookingRecipe { - constructor(result: org.bukkit.inventory.ItemStack, source: org.bukkit.Material) - constructor(result: org.bukkit.inventory.ItemStack, source: org.bukkit.material.MaterialData) - constructor(result: org.bukkit.inventory.ItemStack, source: org.bukkit.material.MaterialData, experience: number) - constructor(result: org.bukkit.inventory.ItemStack, source: org.bukkit.Material, data: number) - /** - * Create a furnace recipe to craft the specified ItemStack. - */ - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack, source: org.bukkit.Material, experience: number, cookingTime: number) - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack, source: org.bukkit.Material, data: number, experience: number, cookingTime: number) - /** - * Create a furnace recipe to craft the specified ItemStack. - */ - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack, input: org.bukkit.inventory.RecipeChoice, experience: number, cookingTime: number) - /** - * Sets the input of this furnace recipe. - */ - public setInput(input: org.bukkit.material.MaterialData): org.bukkit.inventory.FurnaceRecipe; - public setInput(input: org.bukkit.Material): org.bukkit.inventory.FurnaceRecipe; - /** - * Sets the input of this furnace recipe. - */ - public setInput(input: org.bukkit.Material, data: number): org.bukkit.inventory.FurnaceRecipe; - public setInputChoice(input: org.bukkit.inventory.RecipeChoice): org.bukkit.inventory.FurnaceRecipe; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.GrindstoneInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.GrindstoneInventory.ts deleted file mode 100644 index 9ff35ccc..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.GrindstoneInventory.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface GrindstoneInventory extends org.bukkit.inventory.Inventory { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.HorseInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.HorseInventory.ts deleted file mode 100644 index ff58d52b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.HorseInventory.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface HorseInventory extends org.bukkit.inventory.AbstractHorseInventory { - /** - * Gets the item in the horse's armor slot. - */ - getArmor(): org.bukkit.inventory.ItemStack; - /** - * Sets the item in the horse's armor slot. - */ - setArmor(stack: org.bukkit.inventory.ItemStack): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.Inventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.Inventory.ts deleted file mode 100644 index 20e0a47e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.Inventory.ts +++ /dev/null @@ -1,215 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface Inventory { - /** - * Returns the size of the inventory - */ - getSize(): number; - /** - * Returns the maximum stack size for an ItemStack in this inventory. - */ - getMaxStackSize(): number; - /** - * This method allows you to change the maximum stack size for an - * inventory. - *

- * Caveats: - *

    - *
  • Not all inventories respect this value. - *
  • Stacks larger than 127 may be clipped when the world is saved. - *
  • This value is not guaranteed to be preserved; be sure to set it - * before every time you want to set a slot over the max stack size. - *
  • Stacks larger than the default max size for this type of inventory - * may not display correctly in the client. - *
- */ - setMaxStackSize(size: number): void; - /** - * Returns the ItemStack found in the slot at the given index - */ - getItem(index: number): org.bukkit.inventory.ItemStack; - /** - * Stores the ItemStack at the given index of the inventory. - */ - setItem(index: number, item: org.bukkit.inventory.ItemStack): void; - /** - * Stores the given ItemStacks in the inventory. This will try to fill - * existing stacks and empty slots as well as it can. - *

- * The returned HashMap contains what it couldn't store, where the key is - * the index of the parameter, and the value is the ItemStack at that - * index of the varargs parameter. If all items are stored, it will return - * an empty HashMap. - *

- * If you pass in ItemStacks which exceed the maximum stack size for the - * Material, first they will be added to partial stacks where - * Material.getMaxStackSize() is not exceeded, up to - * Material.getMaxStackSize(). When there are no partial stacks left - * stacks will be split on Inventory.getMaxStackSize() allowing you to - * exceed the maximum stack size for that material. - *

- * It is known that in some implementations this method will also set - * the inputted argument amount to the number of that item not placed in - * slots. - */ - addItem(items: org.bukkit.inventory.ItemStack): any; - /** - * Removes the given ItemStacks from the inventory. - *

- * It will try to remove 'as much as possible' from the types and amounts - * you give as arguments. - *

- * The returned HashMap contains what it couldn't remove, where the key is - * the index of the parameter, and the value is the ItemStack at that - * index of the varargs parameter. If all the given ItemStacks are - * removed, it will return an empty HashMap. - *

- * It is known that in some implementations this method will also set the - * inputted argument amount to the number of that item not removed from - * slots. - */ - removeItem(items: org.bukkit.inventory.ItemStack): any; - /** - * Returns all ItemStacks from the inventory - */ - getContents(): org.bukkit.inventory.ItemStack[]; - /** - * Completely replaces the inventory's contents. Removes all existing - * contents and replaces it with the ItemStacks given in the array. - */ - setContents(items: org.bukkit.inventory.ItemStack): void; - /** - * Return the contents from the section of the inventory where items can - * reasonably be expected to be stored. In most cases this will represent - * the entire inventory, but in some cases it may exclude armor or result - * slots. - *
- * It is these contents which will be used for add / contains / remove - * methods which look for a specific stack. - */ - getStorageContents(): org.bukkit.inventory.ItemStack[]; - /** - * Put the given ItemStacks into the storage slots - */ - setStorageContents(items: org.bukkit.inventory.ItemStack): void; - /** - * Checks if the inventory contains any ItemStacks with the given - * material. - */ - contains(material: org.bukkit.Material): boolean; - /** - * Checks if the inventory contains any ItemStacks matching the given - * ItemStack. - *

- * This will only return true if both the type and the amount of the stack - * match. - */ - contains(item: org.bukkit.inventory.ItemStack): boolean; - /** - * Checks if the inventory contains any ItemStacks with the given - * material, adding to at least the minimum amount specified. - */ - contains(material: org.bukkit.Material, amount: number): boolean; - /** - * Checks if the inventory contains at least the minimum amount specified - * of exactly matching ItemStacks. - *

- * An ItemStack only counts if both the type and the amount of the stack - * match. - */ - contains(item: org.bukkit.inventory.ItemStack, amount: number): boolean; - /** - * Checks if the inventory contains ItemStacks matching the given - * ItemStack whose amounts sum to at least the minimum amount specified. - */ - containsAtLeast(item: org.bukkit.inventory.ItemStack, amount: number): boolean; - /** - * Returns a HashMap with all slots and ItemStacks in the inventory with - * the given Material. - *

- * The HashMap contains entries where, the key is the slot index, and the - * value is the ItemStack in that slot. If no matching ItemStack with the - * given Material is found, an empty map is returned. - */ - all(material: org.bukkit.Material): any; - /** - * Finds all slots in the inventory containing any ItemStacks with the - * given ItemStack. This will only match slots if both the type and the - * amount of the stack match - *

- * The HashMap contains entries where, the key is the slot index, and the - * value is the ItemStack in that slot. If no matching ItemStack with the - * given Material is found, an empty map is returned. - */ - all(item: org.bukkit.inventory.ItemStack): any; - /** - * Finds the first slot in the inventory containing an ItemStack with the - * given material - */ - first(material: org.bukkit.Material): number; - /** - * Returns the first slot in the inventory containing an ItemStack with - * the given stack. This will only match a slot if both the type and the - * amount of the stack match - */ - first(item: org.bukkit.inventory.ItemStack): number; - /** - * Returns the first empty Slot. - */ - firstEmpty(): number; - /** - * Removes all stacks in the inventory matching the given material. - */ - remove(material: org.bukkit.Material): void; - /** - * Removes all stacks in the inventory matching the given stack. - *

- * This will only match a slot if both the type and the amount of the - * stack match - */ - remove(item: org.bukkit.inventory.ItemStack): void; - /** - * Clears out a particular slot in the index. - */ - clear(index: number): void; - /** - * Clears out the whole Inventory. - */ - clear(): void; - /** - * Gets a list of players viewing the inventory. Note that a player is - * considered to be viewing their own inventory and internal crafting - * screen even when said inventory is not open. They will normally be - * considered to be viewing their inventory even when they have a - * different inventory screen open, but it's possible for customized - * inventory screens to exclude the viewer's inventory, so this should - * never be assumed to be non-empty. - */ - getViewers(): any[] /*java.util.List*/; - /** - * Returns what type of inventory this is. - */ - getType(): org.bukkit.event.inventory.InventoryType; - /** - * Gets the block or entity belonging to the open inventory - */ - getHolder(): org.bukkit.inventory.InventoryHolder; - iterator(): any; - /** - * Returns an iterator starting at the given index. If the index is - * positive, then the first call to next() will return the item at that - * index; if it is negative, the first call to previous will return the - * item at index (getSize() + index). - */ - iterator(index: number): any; - /** - * Get the location of the block or entity which corresponds to this inventory. May return null if this container - * was custom created or is a virtual / subcontainer. - */ - getLocation(): org.bukkit.Location; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.InventoryHolder.ts b/packages/bukkit/src/typings/org.bukkit.inventory.InventoryHolder.ts deleted file mode 100644 index 04588dd6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.InventoryHolder.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface InventoryHolder { - /** - * Get the object's inventory. - */ - getInventory(): org.bukkit.inventory.Inventory; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.InventoryView.Property.ts b/packages/bukkit/src/typings/org.bukkit.inventory.InventoryView.Property.ts deleted file mode 100644 index f7539ed3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.InventoryView.Property.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace InventoryView { - // @ts-ignore - class Property { - public static BREW_TIME: org.bukkit.inventory.InventoryView.Property; - public static BURN_TIME: org.bukkit.inventory.InventoryView.Property; - public static TICKS_FOR_CURRENT_FUEL: org.bukkit.inventory.InventoryView.Property; - public static COOK_TIME: org.bukkit.inventory.InventoryView.Property; - public static TICKS_FOR_CURRENT_SMELTING: org.bukkit.inventory.InventoryView.Property; - public static ENCHANT_BUTTON1: org.bukkit.inventory.InventoryView.Property; - public static ENCHANT_BUTTON2: org.bukkit.inventory.InventoryView.Property; - public static ENCHANT_BUTTON3: org.bukkit.inventory.InventoryView.Property; - public static ENCHANT_XP_SEED: org.bukkit.inventory.InventoryView.Property; - public static ENCHANT_ID1: org.bukkit.inventory.InventoryView.Property; - public static ENCHANT_ID2: org.bukkit.inventory.InventoryView.Property; - public static ENCHANT_ID3: org.bukkit.inventory.InventoryView.Property; - public static ENCHANT_LEVEL1: org.bukkit.inventory.InventoryView.Property; - public static ENCHANT_LEVEL2: org.bukkit.inventory.InventoryView.Property; - public static ENCHANT_LEVEL3: org.bukkit.inventory.InventoryView.Property; - public static LEVELS: org.bukkit.inventory.InventoryView.Property; - public static PRIMARY_EFFECT: org.bukkit.inventory.InventoryView.Property; - public static SECONDARY_EFFECT: org.bukkit.inventory.InventoryView.Property; - public static REPAIR_COST: org.bukkit.inventory.InventoryView.Property; - public static BOOK_PAGE: org.bukkit.inventory.InventoryView.Property; - public static values(): org.bukkit.inventory.InventoryView.Property[]; - public static valueOf(name: string): org.bukkit.inventory.InventoryView.Property; - public getType(): org.bukkit.event.inventory.InventoryType; - public getId(): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.InventoryView.ts b/packages/bukkit/src/typings/org.bukkit.inventory.InventoryView.ts deleted file mode 100644 index 00a1a822..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.InventoryView.ts +++ /dev/null @@ -1,94 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - abstract class InventoryView { - constructor() - public static OUTSIDE: number; - /** - * Get the upper inventory involved in this transaction. - */ - public abstract getTopInventory(): org.bukkit.inventory.Inventory; - /** - * Get the lower inventory involved in this transaction. - */ - public abstract getBottomInventory(): org.bukkit.inventory.Inventory; - /** - * Get the player viewing. - */ - public abstract getPlayer(): org.bukkit.entity.HumanEntity; - /** - * Determine the type of inventory involved in the transaction. This - * indicates the window style being shown. It will never return PLAYER, - * since that is common to all windows. - */ - public abstract getType(): org.bukkit.event.inventory.InventoryType; - /** - * Sets one item in this inventory view by its raw slot ID. - *

- * Note: If slot ID -999 is chosen, it may be expected that the item is - * dropped on the ground. This is not required behaviour, however. - */ - public setItem(slot: number, item: org.bukkit.inventory.ItemStack): void; - /** - * Gets one item in this inventory view by its raw slot ID. - */ - public getItem(slot: number): org.bukkit.inventory.ItemStack; - /** - * Sets the item on the cursor of one of the viewing players. - */ - public setCursor(item: org.bukkit.inventory.ItemStack): void; - /** - * Get the item on the cursor of one of the viewing players. - */ - public getCursor(): org.bukkit.inventory.ItemStack; - /** - * Gets the inventory corresponding to the given raw slot ID. - * If the slot ID is {@link #OUTSIDE} null will be returned, otherwise - * behaviour for illegal and negative slot IDs is undefined. - * May be used with {@link #convertSlot(int)} to directly index an - * underlying inventory. - */ - public getInventory(rawSlot: number): org.bukkit.inventory.Inventory; - /** - * Converts a raw slot ID into its local slot ID into whichever of the two - * inventories the slot points to. - *

- * If the raw slot refers to the upper inventory, it will be returned - * unchanged and thus be suitable for getTopInventory().getItem(); if it - * refers to the lower inventory, the output will differ from the input - * and be suitable for getBottomInventory().getItem(). - */ - public convertSlot(rawSlot: number): number; - /** - * Determine the type of the slot by its raw slot ID. - *

- * If the type of the slot is unknown, then - * {@link InventoryType.SlotType#CONTAINER} will be returned. - */ - public getSlotType(slot: number): org.bukkit.event.inventory.InventoryType.SlotType; - /** - * Closes the inventory view. - */ - public close(): void; - /** - * Check the total number of slots in this view, combining the upper and - * lower inventories. - *

- * Note though that it's possible for this to be greater than the sum of - * the two inventories if for example some slots are not being used. - */ - public countSlots(): number; - /** - * Sets an extra property of this inventory if supported by that - * inventory, for example the state of a progress bar. - */ - public setProperty(prop: org.bukkit.inventory.InventoryView.Property, value: number): boolean; - /** - * Get the title of this inventory window. - */ - public abstract getTitle(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.ItemFactory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.ItemFactory.ts deleted file mode 100644 index a8ce4eb5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.ItemFactory.ts +++ /dev/null @@ -1,70 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface ItemFactory { - /** - * This creates a new item meta for the material. - */ - getItemMeta(material: org.bukkit.Material): org.bukkit.inventory.meta.ItemMeta; - /** - * This method checks the item meta to confirm that it is applicable (no - * data lost if applied) to the specified ItemStack. - *

- * A {@link SkullMeta} would not be valid for a sword, but a normal {@link - * ItemMeta} from an enchanted dirt block would. - */ - isApplicable(meta: org.bukkit.inventory.meta.ItemMeta, stack: org.bukkit.inventory.ItemStack): boolean; - /** - * This method checks the item meta to confirm that it is applicable (no - * data lost if applied) to the specified Material. - *

- * A {@link SkullMeta} would not be valid for a sword, but a normal {@link - * ItemMeta} from an enchanted dirt block would. - */ - isApplicable(meta: org.bukkit.inventory.meta.ItemMeta, material: org.bukkit.Material): boolean; - /** - * This method is used to compare two item meta data objects. - */ - equals(meta1: org.bukkit.inventory.meta.ItemMeta, meta2: org.bukkit.inventory.meta.ItemMeta): boolean; - /** - * Returns an appropriate item meta for the specified stack. - *

- * The item meta returned will always be a valid meta for a given - * ItemStack of the specified material. It may be a more or less specific - * meta, and could also be the same meta or meta type as the parameter. - * The item meta returned will also always be the most appropriate meta. - *

- * Example, if a {@link SkullMeta} is being applied to a book, this method - * would return a {@link BookMeta} containing all information in the - * specified meta that is applicable to an {@link ItemMeta}, the highest - * common interface. - */ - asMetaFor(meta: org.bukkit.inventory.meta.ItemMeta, stack: org.bukkit.inventory.ItemStack): org.bukkit.inventory.meta.ItemMeta; - /** - * Returns an appropriate item meta for the specified material. - *

- * The item meta returned will always be a valid meta for a given - * ItemStack of the specified material. It may be a more or less specific - * meta, and could also be the same meta or meta type as the parameter. - * The item meta returned will also always be the most appropriate meta. - *

- * Example, if a {@link SkullMeta} is being applied to a book, this method - * would return a {@link BookMeta} containing all information in the - * specified meta that is applicable to an {@link ItemMeta}, the highest - * common interface. - */ - asMetaFor(meta: org.bukkit.inventory.meta.ItemMeta, material: org.bukkit.Material): org.bukkit.inventory.meta.ItemMeta; - /** - * Returns the default color for all leather armor. - */ - getDefaultLeatherColor(): org.bukkit.Color; - /** - * Apply a material change for an item meta. Do not use under any - * circumstances. - */ - updateMaterial(meta: org.bukkit.inventory.meta.ItemMeta, material: org.bukkit.Material): org.bukkit.Material; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.ItemFlag.ts b/packages/bukkit/src/typings/org.bukkit.inventory.ItemFlag.ts deleted file mode 100644 index 84d3dde9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.ItemFlag.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - class ItemFlag { - public static HIDE_ENCHANTS: org.bukkit.inventory.ItemFlag; - public static HIDE_ATTRIBUTES: org.bukkit.inventory.ItemFlag; - public static HIDE_UNBREAKABLE: org.bukkit.inventory.ItemFlag; - public static HIDE_DESTROYS: org.bukkit.inventory.ItemFlag; - public static HIDE_PLACED_ON: org.bukkit.inventory.ItemFlag; - public static HIDE_POTION_EFFECTS: org.bukkit.inventory.ItemFlag; - public static values(): org.bukkit.inventory.ItemFlag[]; - public static valueOf(name: string): org.bukkit.inventory.ItemFlag; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.ItemStack.ts b/packages/bukkit/src/typings/org.bukkit.inventory.ItemStack.ts deleted file mode 100644 index ea94d1a6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.ItemStack.ts +++ /dev/null @@ -1,142 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - class ItemStack implements org.bukkit.configuration.serialization.ConfigurationSerializable { - constructor() - /** - * Defaults stack size to 1, with no extra data - */ - constructor(type: org.bukkit.Material) - /** - * An item stack with no extra data - */ - constructor(type: org.bukkit.Material, amount: number) - /** - * An item stack with the specified damage / durability - */ - constructor(type: org.bukkit.Material, amount: number, damage: number) - constructor(type: org.bukkit.Material, amount: number, damage: number, data: any) - /** - * Creates a new item stack derived from the specified stack - */ - constructor(stack: org.bukkit.inventory.ItemStack) - /** - * Gets the type of this item - */ - public getType(): org.bukkit.Material; - /** - * Sets the type of this item - *

- * Note that in doing so you will reset the MaterialData for this stack - */ - public setType(type: org.bukkit.Material): void; - /** - * Gets the amount of items in this stack - */ - public getAmount(): number; - /** - * Sets the amount of items in this stack - */ - public setAmount(amount: number): void; - /** - * Gets the MaterialData for this stack of items - */ - public getData(): org.bukkit.material.MaterialData; - /** - * Sets the MaterialData for this stack of items - */ - public setData(data: org.bukkit.material.MaterialData): void; - /** - * Sets the durability of this item - */ - public setDurability(durability: number): void; - /** - * Gets the durability of this item - */ - public getDurability(): number; - /** - * Get the maximum stacksize for the material hold in this ItemStack. - * (Returns -1 if it has no idea) - */ - public getMaxStackSize(): number; - public toString(): string; - public equals(obj: any): boolean; - /** - * This method is the same as equals, but does not consider stack size - * (amount). - */ - public isSimilar(stack: org.bukkit.inventory.ItemStack): boolean; - public clone(): org.bukkit.inventory.ItemStack; - public hashCode(): number; - /** - * Checks if this ItemStack contains the given {@link Enchantment} - */ - public containsEnchantment(ench: org.bukkit.enchantments.Enchantment): boolean; - /** - * Gets the level of the specified enchantment on this item stack - */ - public getEnchantmentLevel(ench: org.bukkit.enchantments.Enchantment): number; - /** - * Gets a map containing all enchantments and their levels on this item. - */ - public getEnchantments(): Map /*java.util.Map*/; - /** - * Adds the specified enchantments to this item stack. - *

- * This method is the same as calling {@link - * #addEnchantment(org.bukkit.enchantments.Enchantment, int)} for each - * element of the map. - */ - public addEnchantments(enchantments: Map /*java.util.Map*/): void; - /** - * Adds the specified {@link Enchantment} to this item stack. - *

- * If this item stack already contained the given enchantment (at any - * level), it will be replaced. - */ - public addEnchantment(ench: org.bukkit.enchantments.Enchantment, level: number): void; - /** - * Adds the specified enchantments to this item stack in an unsafe manner. - *

- * This method is the same as calling {@link - * #addUnsafeEnchantment(org.bukkit.enchantments.Enchantment, int)} for - * each element of the map. - */ - public addUnsafeEnchantments(enchantments: Map /*java.util.Map*/): void; - /** - * Adds the specified {@link Enchantment} to this item stack. - *

- * If this item stack already contained the given enchantment (at any - * level), it will be replaced. - *

- * This method is unsafe and will ignore level restrictions or item type. - * Use at your own discretion. - */ - public addUnsafeEnchantment(ench: org.bukkit.enchantments.Enchantment, level: number): void; - /** - * Removes the specified {@link Enchantment} if it exists on this - * ItemStack - */ - public removeEnchantment(ench: org.bukkit.enchantments.Enchantment): number; - public serialize(): Map /*java.util.Map*/; - /** - * Required method for configuration serialization - */ - public static deserialize(args: Map /*java.util.Map*/): org.bukkit.inventory.ItemStack; - /** - * Get a copy of this ItemStack's {@link ItemMeta}. - */ - public getItemMeta(): org.bukkit.inventory.meta.ItemMeta; - /** - * Checks to see if any meta data has been defined. - */ - public hasItemMeta(): boolean; - /** - * Set the ItemMeta of this ItemStack. - */ - public setItemMeta(itemMeta: org.bukkit.inventory.meta.ItemMeta): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.LecternInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.LecternInventory.ts deleted file mode 100644 index 0e342731..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.LecternInventory.ts +++ /dev/null @@ -1,10 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface LecternInventory extends org.bukkit.inventory.Inventory { - getHolder(): org.bukkit.block.Lectern; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.LlamaInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.LlamaInventory.ts deleted file mode 100644 index 7a1c3170..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.LlamaInventory.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface LlamaInventory extends org.bukkit.inventory.AbstractHorseInventory { - /** - * Gets the item in the llama's decor slot. - */ - getDecor(): org.bukkit.inventory.ItemStack; - /** - * Sets the item in the llama's decor slot. - */ - setDecor(stack: org.bukkit.inventory.ItemStack): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.LoomInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.LoomInventory.ts deleted file mode 100644 index d898135c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.LoomInventory.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface LoomInventory extends org.bukkit.inventory.Inventory { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.MainHand.ts b/packages/bukkit/src/typings/org.bukkit.inventory.MainHand.ts deleted file mode 100644 index 7a785ea3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.MainHand.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - class MainHand { - public static LEFT: org.bukkit.inventory.MainHand; - public static RIGHT: org.bukkit.inventory.MainHand; - public static values(): org.bukkit.inventory.MainHand[]; - public static valueOf(name: string): org.bukkit.inventory.MainHand; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.Merchant.ts b/packages/bukkit/src/typings/org.bukkit.inventory.Merchant.ts deleted file mode 100644 index cf7e3e3e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.Merchant.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface Merchant { - /** - * Get a list of trades currently available from this merchant. - */ - getRecipes(): any[] /*java.util.List*/; - /** - * Set the list of trades currently available from this merchant. - *
- * This will not change the selected trades of players currently trading - * with this merchant. - */ - setRecipes(recipes: any[] /*java.util.List*/): void; - /** - * Get the recipe at a certain index of this merchant's trade list. - */ - getRecipe(i: number): org.bukkit.inventory.MerchantRecipe; - /** - * Set the recipe at a certain index of this merchant's trade list. - */ - setRecipe(i: number, recipe: org.bukkit.inventory.MerchantRecipe): void; - /** - * Get the number of trades this merchant currently has available. - */ - getRecipeCount(): number; - /** - * Gets whether this merchant is currently trading. - */ - isTrading(): boolean; - /** - * Gets the player this merchant is trading with, or null if it is not - * currently trading. - */ - getTrader(): org.bukkit.entity.HumanEntity; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.MerchantInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.MerchantInventory.ts deleted file mode 100644 index f7ad06b5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.MerchantInventory.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface MerchantInventory extends org.bukkit.inventory.Inventory { - /** - * Get the index of the currently selected recipe. - */ - getSelectedRecipeIndex(): number; - /** - * Get the currently active recipe. - *

- * This will be null if the items provided by the player do - * not match the ingredients of the selected recipe. This does not - * necessarily match the recipe selected by the player: If the player has - * selected the first recipe, the merchant will search all of its offers - * for a matching recipe to activate. - */ - getSelectedRecipe(): org.bukkit.inventory.MerchantRecipe; - /** - * Gets the Merchant associated with this inventory. - */ - getMerchant(): org.bukkit.inventory.Merchant; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.MerchantRecipe.ts b/packages/bukkit/src/typings/org.bukkit.inventory.MerchantRecipe.ts deleted file mode 100644 index 412b863f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.MerchantRecipe.ts +++ /dev/null @@ -1,60 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - class MerchantRecipe implements org.bukkit.inventory.Recipe { - constructor(result: org.bukkit.inventory.ItemStack, maxUses: number) - constructor(result: org.bukkit.inventory.ItemStack, uses: number, maxUses: number, experienceReward: boolean) - constructor(result: org.bukkit.inventory.ItemStack, uses: number, maxUses: number, experienceReward: boolean, villagerExperience: number, priceMultiplier: number) - public getResult(): org.bukkit.inventory.ItemStack; - public addIngredient(item: org.bukkit.inventory.ItemStack): void; - public removeIngredient(index: number): void; - public setIngredients(ingredients: any[] /*java.util.List*/): void; - public getIngredients(): any[] /*java.util.List*/; - /** - * Get the number of times this trade has been used. - */ - public getUses(): number; - /** - * Set the number of times this trade has been used. - */ - public setUses(uses: number): void; - /** - * Get the maximum number of uses this trade has. - *
- * The maximum uses of this trade may increase when a player trades with the - * owning merchant. - */ - public getMaxUses(): number; - /** - * Set the maximum number of uses this trade has. - */ - public setMaxUses(maxUses: number): void; - /** - * Whether to reward experience to the player for the trade. - */ - public hasExperienceReward(): boolean; - /** - * Set whether to reward experience to the player for the trade. - */ - public setExperienceReward(flag: boolean): void; - /** - * Gets the amount of experience the villager earns from this trade. - */ - public getVillagerExperience(): number; - /** - * Sets the amount of experience the villager earns from this trade. - */ - public setVillagerExperience(villagerExperience: number): void; - /** - * Gets the additive price multiplier for the cost of this trade. - */ - public getPriceMultiplier(): number; - /** - * Sets the additive price multiplier for the cost of this trade. - */ - public setPriceMultiplier(priceMultiplier: number): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.PlayerInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.PlayerInventory.ts deleted file mode 100644 index ee293ad4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.PlayerInventory.ts +++ /dev/null @@ -1,121 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface PlayerInventory extends org.bukkit.inventory.Inventory { - /** - * Get all ItemStacks from the armor slots - */ - getArmorContents(): org.bukkit.inventory.ItemStack[]; - /** - * Get all additional ItemStacks stored in this inventory. - *
- * NB: What defines an extra slot is up to the implementation, however it - * will not be contained within {@link #getStorageContents()} or - * {@link #getArmorContents()} - */ - getExtraContents(): org.bukkit.inventory.ItemStack[]; - /** - * Return the ItemStack from the helmet slot - */ - getHelmet(): org.bukkit.inventory.ItemStack; - /** - * Return the ItemStack from the chestplate slot - */ - getChestplate(): org.bukkit.inventory.ItemStack; - /** - * Return the ItemStack from the leg slot - */ - getLeggings(): org.bukkit.inventory.ItemStack; - /** - * Return the ItemStack from the boots slot - */ - getBoots(): org.bukkit.inventory.ItemStack; - /** - * Stores the ItemStack at the given index of the inventory. - *

- * Indexes 0 through 8 refer to the hotbar. 9 through 35 refer to the main inventory, counting up from 9 at the top - * left corner of the inventory, moving to the right, and moving to the row below it back on the left side when it - * reaches the end of the row. It follows the same path in the inventory like you would read a book. - *

- * Indexes 36 through 39 refer to the armor slots. Though you can set armor with this method using these indexes, - * you are encouraged to use the provided methods for those slots. - *

- * Index 40 refers to the off hand (shield) item slot. Though you can set off hand with this method using this index, - * you are encouraged to use the provided method for this slot. - *

- * If you attempt to use this method with an index less than 0 or greater than 40, an ArrayIndexOutOfBounds - * exception will be thrown. - */ - setItem(index: number, item: org.bukkit.inventory.ItemStack): void; - /** - * Put the given ItemStacks into the armor slots - */ - setArmorContents(items: org.bukkit.inventory.ItemStack): void; - /** - * Put the given ItemStacks into the extra slots - *
- * See {@link #getExtraContents()} for an explanation of extra slots. - */ - setExtraContents(items: org.bukkit.inventory.ItemStack): void; - /** - * Put the given ItemStack into the helmet slot. This does not check if - * the ItemStack is a helmet - */ - setHelmet(helmet: org.bukkit.inventory.ItemStack): void; - /** - * Put the given ItemStack into the chestplate slot. This does not check - * if the ItemStack is a chestplate - */ - setChestplate(chestplate: org.bukkit.inventory.ItemStack): void; - /** - * Put the given ItemStack into the leg slot. This does not check if the - * ItemStack is a pair of leggings - */ - setLeggings(leggings: org.bukkit.inventory.ItemStack): void; - /** - * Put the given ItemStack into the boots slot. This does not check if the - * ItemStack is a boots - */ - setBoots(boots: org.bukkit.inventory.ItemStack): void; - /** - * Gets a copy of the item the player is currently holding - * in their main hand. - */ - getItemInMainHand(): org.bukkit.inventory.ItemStack; - /** - * Sets the item the player is holding in their main hand. - */ - setItemInMainHand(item: org.bukkit.inventory.ItemStack): void; - /** - * Gets a copy of the item the player is currently holding - * in their off hand. - */ - getItemInOffHand(): org.bukkit.inventory.ItemStack; - /** - * Sets the item the player is holding in their off hand. - */ - setItemInOffHand(item: org.bukkit.inventory.ItemStack): void; - /** - * Gets a copy of the item the player is currently holding - */ - getItemInHand(): org.bukkit.inventory.ItemStack; - /** - * Sets the item the player is holding - */ - setItemInHand(stack: org.bukkit.inventory.ItemStack): void; - /** - * Get the slot number of the currently held item - */ - getHeldItemSlot(): number; - /** - * Set the slot number of the currently held item. - *

- * This validates whether the slot is between 0 and 8 inclusive. - */ - setHeldItemSlot(slot: number): void; - getHolder(): org.bukkit.entity.HumanEntity; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.Recipe.ts b/packages/bukkit/src/typings/org.bukkit.inventory.Recipe.ts deleted file mode 100644 index ffc42328..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.Recipe.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface Recipe { - /** - * Get the result of this recipe. - */ - getResult(): org.bukkit.inventory.ItemStack; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.RecipeChoice.ExactChoice.ts b/packages/bukkit/src/typings/org.bukkit.inventory.RecipeChoice.ExactChoice.ts deleted file mode 100644 index edacff53..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.RecipeChoice.ExactChoice.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace RecipeChoice { - // @ts-ignore - class ExactChoice implements org.bukkit.inventory.RecipeChoice { - constructor(stack: org.bukkit.inventory.ItemStack) - constructor(stacks: org.bukkit.inventory.ItemStack) - constructor(choices: any[] /*java.util.List*/) - public getItemStack(): org.bukkit.inventory.ItemStack; - public getChoices(): any[] /*java.util.List*/; - public clone(): org.bukkit.inventory.RecipeChoice.ExactChoice; - public test(t: org.bukkit.inventory.ItemStack): boolean; - public hashCode(): number; - public equals(obj: any): boolean; - public toString(): string; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.RecipeChoice.MaterialChoice.ts b/packages/bukkit/src/typings/org.bukkit.inventory.RecipeChoice.MaterialChoice.ts deleted file mode 100644 index 2d7d7555..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.RecipeChoice.MaterialChoice.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace RecipeChoice { - // @ts-ignore - class MaterialChoice implements org.bukkit.inventory.RecipeChoice { - constructor(choice: org.bukkit.Material) - constructor(choices: org.bukkit.Material) - /** - * Constructs a MaterialChoice with the current values of the specified - * tag. - */ - constructor(choices: org.bukkit.Tag) - constructor(choices: any[] /*java.util.List*/) - public test(t: org.bukkit.inventory.ItemStack): boolean; - public getItemStack(): org.bukkit.inventory.ItemStack; - public getChoices(): any[] /*java.util.List*/; - public clone(): org.bukkit.inventory.RecipeChoice.MaterialChoice; - public hashCode(): number; - public equals(obj: any): boolean; - public toString(): string; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.RecipeChoice.ts b/packages/bukkit/src/typings/org.bukkit.inventory.RecipeChoice.ts deleted file mode 100644 index 3f38dc17..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.RecipeChoice.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface RecipeChoice { - /** - * Gets a single item stack representative of this stack choice. - */ - getItemStack(): org.bukkit.inventory.ItemStack; - clone(): org.bukkit.inventory.RecipeChoice; - test(itemStack: org.bukkit.inventory.ItemStack): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.ShapedRecipe.ts b/packages/bukkit/src/typings/org.bukkit.inventory.ShapedRecipe.ts deleted file mode 100644 index 0d71a39d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.ShapedRecipe.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - class ShapedRecipe implements org.bukkit.inventory.Recipe, org.bukkit.Keyed { - constructor(result: org.bukkit.inventory.ItemStack) - /** - * Create a shaped recipe to craft the specified ItemStack. The - * constructor merely determines the result and type; to set the actual - * recipe, you'll need to call the appropriate methods. - */ - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack) - /** - * Set the shape of this recipe to the specified rows. Each character - * represents a different ingredient; exactly what each character - * represents is set separately. The first row supplied corresponds with - * the upper most part of the recipe on the workbench e.g. if all three - * rows are supplies the first string represents the top row on the - * workbench. - */ - public shape(shape: string): org.bukkit.inventory.ShapedRecipe; - /** - * Sets the material that a character in the recipe shape refers to. - */ - public setIngredient(key: string, ingredient: org.bukkit.material.MaterialData): org.bukkit.inventory.ShapedRecipe; - /** - * Sets the material that a character in the recipe shape refers to. - */ - public setIngredient(key: string, ingredient: org.bukkit.Material): org.bukkit.inventory.ShapedRecipe; - /** - * Sets the material that a character in the recipe shape refers to. - */ - public setIngredient(key: string, ingredient: org.bukkit.Material, raw: number): org.bukkit.inventory.ShapedRecipe; - public setIngredient(key: string, ingredient: org.bukkit.inventory.RecipeChoice): org.bukkit.inventory.ShapedRecipe; - /** - * Get a copy of the ingredients map. - */ - public getIngredientMap(): Map /*java.util.Map*/; - public getChoiceMap(): Map /*java.util.Map*/; - /** - * Get the shape. - */ - public getShape(): any; - /** - * Get the result. - */ - public getResult(): org.bukkit.inventory.ItemStack; - public getKey(): org.bukkit.NamespacedKey; - /** - * Get the group of this recipe. Recipes with the same group may be grouped - * together when displayed in the client. - */ - public getGroup(): string; - /** - * Set the group of this recipe. Recipes with the same group may be grouped - * together when displayed in the client. - */ - public setGroup(group: string): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.ShapelessRecipe.ts b/packages/bukkit/src/typings/org.bukkit.inventory.ShapelessRecipe.ts deleted file mode 100644 index db3c4d50..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.ShapelessRecipe.ts +++ /dev/null @@ -1,101 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - class ShapelessRecipe implements org.bukkit.inventory.Recipe, org.bukkit.Keyed { - constructor(result: org.bukkit.inventory.ItemStack) - /** - * Create a shapeless recipe to craft the specified ItemStack. The - * constructor merely determines the result and type; to set the actual - * recipe, you'll need to call the appropriate methods. - */ - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack) - /** - * Adds the specified ingredient. - */ - public addIngredient(ingredient: org.bukkit.material.MaterialData): org.bukkit.inventory.ShapelessRecipe; - /** - * Adds the specified ingredient. - */ - public addIngredient(ingredient: org.bukkit.Material): org.bukkit.inventory.ShapelessRecipe; - /** - * Adds the specified ingredient. - */ - public addIngredient(ingredient: org.bukkit.Material, rawdata: number): org.bukkit.inventory.ShapelessRecipe; - /** - * Adds multiples of the specified ingredient. - */ - public addIngredient(count: number, ingredient: org.bukkit.material.MaterialData): org.bukkit.inventory.ShapelessRecipe; - /** - * Adds multiples of the specified ingredient. - */ - public addIngredient(count: number, ingredient: org.bukkit.Material): org.bukkit.inventory.ShapelessRecipe; - /** - * Adds multiples of the specified ingredient. - */ - public addIngredient(count: number, ingredient: org.bukkit.Material, rawdata: number): org.bukkit.inventory.ShapelessRecipe; - public addIngredient(ingredient: org.bukkit.inventory.RecipeChoice): org.bukkit.inventory.ShapelessRecipe; - /** - * Removes an ingredient from the list. - */ - public removeIngredient(ingredient: org.bukkit.inventory.RecipeChoice): org.bukkit.inventory.ShapelessRecipe; - /** - * Removes an ingredient from the list. If the ingredient occurs multiple - * times, only one instance of it is removed. Only removes exact matches, - * with a data value of 0. - */ - public removeIngredient(ingredient: org.bukkit.Material): org.bukkit.inventory.ShapelessRecipe; - /** - * Removes an ingredient from the list. If the ingredient occurs multiple - * times, only one instance of it is removed. If the data value is -1, - * only ingredients with a -1 data value will be removed. - */ - public removeIngredient(ingredient: org.bukkit.material.MaterialData): org.bukkit.inventory.ShapelessRecipe; - /** - * Removes multiple instances of an ingredient from the list. If there are - * less instances then specified, all will be removed. Only removes exact - * matches, with a data value of 0. - */ - public removeIngredient(count: number, ingredient: org.bukkit.Material): org.bukkit.inventory.ShapelessRecipe; - /** - * Removes multiple instances of an ingredient from the list. If there are - * less instances then specified, all will be removed. If the data value - * is -1, only ingredients with a -1 data value will be removed. - */ - public removeIngredient(count: number, ingredient: org.bukkit.material.MaterialData): org.bukkit.inventory.ShapelessRecipe; - /** - * Removes an ingredient from the list. If the ingredient occurs multiple - * times, only one instance of it is removed. If the data value is -1, - * only ingredients with a -1 data value will be removed. - */ - public removeIngredient(ingredient: org.bukkit.Material, rawdata: number): org.bukkit.inventory.ShapelessRecipe; - /** - * Removes multiple instances of an ingredient from the list. If there are - * less instances then specified, all will be removed. If the data value - * is -1, only ingredients with a -1 data value will be removed. - */ - public removeIngredient(count: number, ingredient: org.bukkit.Material, rawdata: number): org.bukkit.inventory.ShapelessRecipe; - /** - * Get the result of this recipe. - */ - public getResult(): org.bukkit.inventory.ItemStack; - /** - * Get the list of ingredients used for this recipe. - */ - public getIngredientList(): any[] /*java.util.List*/; - public getChoiceList(): any[] /*java.util.List*/; - public getKey(): org.bukkit.NamespacedKey; - /** - * Get the group of this recipe. Recipes with the same group may be grouped - * together when displayed in the client. - */ - public getGroup(): string; - /** - * Set the group of this recipe. Recipes with the same group may be grouped - * together when displayed in the client. - */ - public setGroup(group: string): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.SmokingRecipe.ts b/packages/bukkit/src/typings/org.bukkit.inventory.SmokingRecipe.ts deleted file mode 100644 index 64781303..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.SmokingRecipe.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - class SmokingRecipe extends org.bukkit.inventory.CookingRecipe { - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack, source: org.bukkit.Material, experience: number, cookingTime: number) - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack, input: org.bukkit.inventory.RecipeChoice, experience: number, cookingTime: number) - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.StonecutterInventory.ts b/packages/bukkit/src/typings/org.bukkit.inventory.StonecutterInventory.ts deleted file mode 100644 index 42728900..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.StonecutterInventory.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - interface StonecutterInventory extends org.bukkit.inventory.Inventory { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.StonecuttingRecipe.ts b/packages/bukkit/src/typings/org.bukkit.inventory.StonecuttingRecipe.ts deleted file mode 100644 index 95e5181c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.StonecuttingRecipe.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - // @ts-ignore - class StonecuttingRecipe implements org.bukkit.inventory.Recipe, org.bukkit.Keyed { - /** - * Create a Stonecutting recipe to craft the specified ItemStack. - */ - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack, source: org.bukkit.Material) - /** - * Create a cooking recipe to craft the specified ItemStack. - */ - constructor(key: org.bukkit.NamespacedKey, result: org.bukkit.inventory.ItemStack, input: org.bukkit.inventory.RecipeChoice) - /** - * Sets the input of this cooking recipe. - */ - public setInput(input: org.bukkit.Material): org.bukkit.inventory.StonecuttingRecipe; - /** - * Get the input material. - */ - public getInput(): org.bukkit.inventory.ItemStack; - /** - * Sets the input of this cooking recipe. - */ - public setInputChoice(input: org.bukkit.inventory.RecipeChoice): org.bukkit.inventory.StonecuttingRecipe; - /** - * Get the input choice. - */ - public getInputChoice(): org.bukkit.inventory.RecipeChoice; - /** - * Get the result of this recipe. - */ - public getResult(): org.bukkit.inventory.ItemStack; - public getKey(): org.bukkit.NamespacedKey; - /** - * Get the group of this recipe. Recipes with the same group may be grouped - * together when displayed in the client. - */ - public getGroup(): string; - /** - * Set the group of this recipe. Recipes with the same group may be grouped - * together when displayed in the client. - */ - public setGroup(group: string): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.BannerMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.BannerMeta.ts deleted file mode 100644 index f32746e8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.BannerMeta.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface BannerMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Returns the base color for this banner - */ - getBaseColor(): org.bukkit.DyeColor; - /** - * Sets the base color for this banner - */ - setBaseColor(color: org.bukkit.DyeColor): void; - /** - * Returns a list of patterns on this banner - */ - getPatterns(): any[] /*java.util.List*/; - /** - * Sets the patterns used on this banner - */ - setPatterns(patterns: any[] /*java.util.List*/): void; - /** - * Adds a new pattern on top of the existing - * patterns - */ - addPattern(pattern: org.bukkit.block.banner.Pattern): void; - /** - * Returns the pattern at the specified index - */ - getPattern(i: number): org.bukkit.block.banner.Pattern; - /** - * Removes the pattern at the specified index - */ - removePattern(i: number): org.bukkit.block.banner.Pattern; - /** - * Sets the pattern at the specified index - */ - setPattern(i: number, pattern: org.bukkit.block.banner.Pattern): void; - /** - * Returns the number of patterns on this - * banner - */ - numberOfPatterns(): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.BlockDataMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.BlockDataMeta.ts deleted file mode 100644 index 56e2b703..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.BlockDataMeta.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface BlockDataMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Returns whether the item has block data currently attached to it. - */ - hasBlockData(): boolean; - /** - * Returns the currently attached block data for this item or creates a new - * one if one doesn't exist. - * The state is a copy, it must be set back (or to another item) with - * {@link #setBlockData(org.bukkit.block.data.BlockData)} - */ - getBlockData(material: org.bukkit.Material): org.bukkit.block.data.BlockData; - /** - * Attaches a copy of the passed block data to the item. - */ - setBlockData(blockData: org.bukkit.block.data.BlockData): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.BlockStateMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.BlockStateMeta.ts deleted file mode 100644 index cf6bcb08..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.BlockStateMeta.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface BlockStateMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Returns whether the item has a block state currently - * attached to it. - */ - hasBlockState(): boolean; - /** - * Returns the currently attached block state for this - * item or creates a new one if one doesn't exist. - * The state is a copy, it must be set back (or to another - * item) with {@link #setBlockState(org.bukkit.block.BlockState)} - */ - getBlockState(): org.bukkit.block.BlockState; - /** - * Attaches a copy of the passed block state to the item. - */ - setBlockState(blockState: org.bukkit.block.BlockState): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.BookMeta.Generation.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.BookMeta.Generation.ts deleted file mode 100644 index 310f9fcf..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.BookMeta.Generation.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - namespace BookMeta { - // @ts-ignore - class Generation { - public static ORIGINAL: org.bukkit.inventory.meta.BookMeta.Generation; - public static COPY_OF_ORIGINAL: org.bukkit.inventory.meta.BookMeta.Generation; - public static COPY_OF_COPY: org.bukkit.inventory.meta.BookMeta.Generation; - public static TATTERED: org.bukkit.inventory.meta.BookMeta.Generation; - public static values(): org.bukkit.inventory.meta.BookMeta.Generation[]; - public static valueOf(name: string): org.bukkit.inventory.meta.BookMeta.Generation; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.BookMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.BookMeta.ts deleted file mode 100644 index 66403572..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.BookMeta.ts +++ /dev/null @@ -1,102 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface BookMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Checks for the existence of a title in the book. - */ - hasTitle(): boolean; - /** - * Gets the title of the book. - *

- * Plugins should check that hasTitle() returns true before calling this - * method. - */ - getTitle(): string; - /** - * Sets the title of the book. - *

- * Limited to 16 characters. Removes title when given null. - */ - setTitle(title: string): boolean; - /** - * Checks for the existence of an author in the book. - */ - hasAuthor(): boolean; - /** - * Gets the author of the book. - *

- * Plugins should check that hasAuthor() returns true before calling this - * method. - */ - getAuthor(): string; - /** - * Sets the author of the book. Removes author when given null. - */ - setAuthor(author: string): void; - /** - * Checks for the existence of generation level in the book. - */ - hasGeneration(): boolean; - /** - * Gets the generation of the book. - *

- * Plugins should check that hasGeneration() returns true before calling - * this method. - */ - getGeneration(): org.bukkit.inventory.meta.BookMeta.Generation; - /** - * Sets the generation of the book. Removes generation when given null. - */ - setGeneration(generation: org.bukkit.inventory.meta.BookMeta.Generation): void; - /** - * Checks for the existence of pages in the book. - */ - hasPages(): boolean; - /** - * Gets the specified page in the book. The given page must exist. - *

- * Pages are 1-indexed. - */ - getPage(page: number): string; - /** - * Sets the specified page in the book. Pages of the book must be - * contiguous. - *

- * The data can be up to 256 characters in length, additional characters - * are truncated. - *

- * Pages are 1-indexed. - */ - setPage(page: number, data: string): void; - /** - * Gets all the pages in the book. - */ - getPages(): any[] /*java.util.List*/; - /** - * Clears the existing book pages, and sets the book to use the provided - * pages. Maximum 50 pages with 256 characters per page. - */ - setPages(pages: any[] /*java.util.List*/): void; - /** - * Clears the existing book pages, and sets the book to use the provided - * pages. Maximum 50 pages with 256 characters per page. - */ - setPages(pages: string): void; - /** - * Adds new pages to the end of the book. Up to a maximum of 50 pages with - * 256 characters per page. - */ - addPage(pages: string): void; - /** - * Gets the number of pages in the book. - */ - getPageCount(): number; - clone(): org.bukkit.inventory.meta.BookMeta; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.CrossbowMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.CrossbowMeta.ts deleted file mode 100644 index 6604f98f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.CrossbowMeta.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface CrossbowMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Returns whether the item has any charged projectiles. - */ - hasChargedProjectiles(): boolean; - /** - * Returns an immutable list of the projectiles charged on this item. - */ - getChargedProjectiles(): any[] /*java.util.List*/; - /** - * Sets the projectiles charged on this item. - * Removes all projectiles when given null. - */ - setChargedProjectiles(projectiles: any[] /*java.util.List*/): void; - /** - * Adds a charged projectile to this item. - */ - addChargedProjectile(item: org.bukkit.inventory.ItemStack): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.Damageable.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.Damageable.ts deleted file mode 100644 index 3cdb29bf..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.Damageable.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface Damageable { - /** - * Checks to see if this item has damage - */ - hasDamage(): boolean; - /** - * Gets the damage - */ - getDamage(): number; - /** - * Sets the damage - */ - setDamage(damage: number): void; - clone(): org.bukkit.inventory.meta.Damageable; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.EnchantmentStorageMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.EnchantmentStorageMeta.ts deleted file mode 100644 index f4a81451..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.EnchantmentStorageMeta.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface EnchantmentStorageMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Checks for the existence of any stored enchantments. - */ - hasStoredEnchants(): boolean; - /** - * Checks for storage of the specified enchantment. - */ - hasStoredEnchant(ench: org.bukkit.enchantments.Enchantment): boolean; - /** - * Checks for the level of the stored enchantment. - */ - getStoredEnchantLevel(ench: org.bukkit.enchantments.Enchantment): number; - /** - * Gets a copy the stored enchantments in this ItemMeta. - */ - getStoredEnchants(): Map /*java.util.Map*/; - /** - * Stores the specified enchantment in this item meta. - */ - addStoredEnchant(ench: org.bukkit.enchantments.Enchantment, level: number, ignoreLevelRestriction: boolean): boolean; - /** - * Remove the specified stored enchantment from this item meta. - */ - removeStoredEnchant(ench: org.bukkit.enchantments.Enchantment): boolean; - /** - * Checks if the specified enchantment conflicts with any enchantments in - * this ItemMeta. - */ - hasConflictingStoredEnchant(ench: org.bukkit.enchantments.Enchantment): boolean; - clone(): org.bukkit.inventory.meta.EnchantmentStorageMeta; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.FireworkEffectMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.FireworkEffectMeta.ts deleted file mode 100644 index 48fbcd3d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.FireworkEffectMeta.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface FireworkEffectMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Sets the firework effect for this meta. - */ - setEffect(effect: org.bukkit.FireworkEffect): void; - /** - * Checks if this meta has an effect. - */ - hasEffect(): boolean; - /** - * Gets the firework effect for this meta. - */ - getEffect(): org.bukkit.FireworkEffect; - clone(): org.bukkit.inventory.meta.FireworkEffectMeta; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.FireworkMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.FireworkMeta.ts deleted file mode 100644 index acbd0ab3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.FireworkMeta.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface FireworkMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Add another effect to this firework. - */ - addEffect(effect: org.bukkit.FireworkEffect): void; - /** - * Add several effects to this firework. - */ - addEffects(effects: org.bukkit.FireworkEffect): void; - /** - * Add several firework effects to this firework. - */ - addEffects(effects: any): void; - /** - * Get the effects in this firework. - */ - getEffects(): any[] /*java.util.List*/; - /** - * Get the number of effects in this firework. - */ - getEffectsSize(): number; - /** - * Remove an effect from this firework. - */ - removeEffect(index: number): void; - /** - * Remove all effects from this firework. - */ - clearEffects(): void; - /** - * Get whether this firework has any effects. - */ - hasEffects(): boolean; - /** - * Gets the approximate height the firework will fly. - */ - getPower(): number; - /** - * Sets the approximate power of the firework. Each level of power is half - * a second of flight time. - */ - setPower(power: number): void; - clone(): org.bukkit.inventory.meta.FireworkMeta; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.ItemMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.ItemMeta.ts deleted file mode 100644 index fbf555ac..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.ItemMeta.ts +++ /dev/null @@ -1,210 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface ItemMeta extends org.bukkit.configuration.serialization.ConfigurationSerializable, org.bukkit.persistence.PersistentDataHolder { - /** - * Checks for existence of a display name. - */ - hasDisplayName(): boolean; - /** - * Gets the display name that is set. - *

- * Plugins should check that hasDisplayName() returns true - * before calling this method. - */ - getDisplayName(): string; - /** - * Sets the display name. - */ - setDisplayName(name: string): void; - /** - * Checks for existence of a localized name. - */ - hasLocalizedName(): boolean; - /** - * Gets the localized display name that is set. - *

- * Plugins should check that hasLocalizedName() returns true - * before calling this method. - */ - getLocalizedName(): string; - /** - * Sets the localized name. - */ - setLocalizedName(name: string): void; - /** - * Checks for existence of lore. - */ - hasLore(): boolean; - /** - * Gets the lore that is set. - *

- * Plugins should check if hasLore() returns true before - * calling this method. - */ - getLore(): any[] /*java.util.List*/; - /** - * Sets the lore for this item. - * Removes lore when given null. - */ - setLore(lore: any[] /*java.util.List*/): void; - /** - * Checks for existence of custom model data. - *

- * CustomModelData is an integer that may be associated client side with a - * custom item model. - */ - hasCustomModelData(): boolean; - /** - * Gets the custom model data that is set. - *

- * CustomModelData is an integer that may be associated client side with a - * custom item model. - *

- * Plugins should check that hasCustomModelData() returns true - * before calling this method. - */ - getCustomModelData(): number; - /** - * Sets the custom model data. - *

- * CustomModelData is an integer that may be associated client side with a - * custom item model. - */ - setCustomModelData(data: any): void; - /** - * Checks for the existence of any enchantments. - */ - hasEnchants(): boolean; - /** - * Checks for existence of the specified enchantment. - */ - hasEnchant(ench: org.bukkit.enchantments.Enchantment): boolean; - /** - * Checks for the level of the specified enchantment. - */ - getEnchantLevel(ench: org.bukkit.enchantments.Enchantment): number; - /** - * Returns a copy the enchantments in this ItemMeta.
- * Returns an empty map if none. - */ - getEnchants(): Map /*java.util.Map*/; - /** - * Adds the specified enchantment to this item meta. - */ - addEnchant(ench: org.bukkit.enchantments.Enchantment, level: number, ignoreLevelRestriction: boolean): boolean; - /** - * Removes the specified enchantment from this item meta. - */ - removeEnchant(ench: org.bukkit.enchantments.Enchantment): boolean; - /** - * Checks if the specified enchantment conflicts with any enchantments in - * this ItemMeta. - */ - hasConflictingEnchant(ench: org.bukkit.enchantments.Enchantment): boolean; - /** - * Set itemflags which should be ignored when rendering a ItemStack in the Client. This Method does silently ignore double set itemFlags. - */ - addItemFlags(itemFlags: org.bukkit.inventory.ItemFlag): void; - /** - * Remove specific set of itemFlags. This tells the Client it should render it again. This Method does silently ignore double removed itemFlags. - */ - removeItemFlags(itemFlags: org.bukkit.inventory.ItemFlag): void; - /** - * Get current set itemFlags. The collection returned is unmodifiable. - */ - getItemFlags(): any[] /*java.util.Set*/; - /** - * Check if the specified flag is present on this item. - */ - hasItemFlag(flag: org.bukkit.inventory.ItemFlag): boolean; - /** - * Return if the unbreakable tag is true. An unbreakable item will not lose - * durability. - */ - isUnbreakable(): boolean; - /** - * Sets the unbreakable tag. An unbreakable item will not lose durability. - */ - setUnbreakable(unbreakable: boolean): void; - /** - * Checks for the existence of any AttributeModifiers. - */ - hasAttributeModifiers(): boolean; - /** - * Return an immutable copy of all Attributes and - * their modifiers in this ItemMeta.
- * Returns null if none exist. - */ - getAttributeModifiers(): any; - /** - * Return an immutable copy of all {@link Attribute}s and their - * {@link AttributeModifier}s for a given {@link EquipmentSlot}.
- * Any {@link AttributeModifier} that does have have a given - * {@link EquipmentSlot} will be returned. This is because - * AttributeModifiers without a slot are active in any slot.
- * If there are no attributes set for the given slot, an empty map - * will be returned. - */ - getAttributeModifiers(slot: org.bukkit.inventory.EquipmentSlot): any; - /** - * Return an immutable copy of all {@link AttributeModifier}s - * for a given {@link Attribute} - */ - getAttributeModifiers(attribute: org.bukkit.attribute.Attribute): any[] /*java.util.Collection*/; - /** - * Add an Attribute and it's Modifier. - * AttributeModifiers can now support {@link EquipmentSlot}s. - * If not set, the {@link AttributeModifier} will be active in ALL slots. - *
- * Two {@link AttributeModifier}s that have the same {@link java.util.UUID} - * cannot exist on the same Attribute. - */ - addAttributeModifier(attribute: org.bukkit.attribute.Attribute, modifier: org.bukkit.attribute.AttributeModifier): boolean; - /** - * Set all {@link Attribute}s and their {@link AttributeModifier}s. - * To clear all currently set Attributes and AttributeModifiers use - * null or an empty Multimap. - * If not null nor empty, this will filter all entries that are not-null - * and add them to the ItemStack. - */ - setAttributeModifiers(attributeModifiers: any): void; - /** - * Remove all {@link AttributeModifier}s associated with the given - * {@link Attribute}. - * This will return false if nothing was removed. - */ - removeAttributeModifier(attribute: org.bukkit.attribute.Attribute): boolean; - /** - * Remove all {@link Attribute}s and {@link AttributeModifier}s for a - * given {@link EquipmentSlot}.
- * If the given {@link EquipmentSlot} is null, this will remove all - * {@link AttributeModifier}s that do not have an EquipmentSlot set. - */ - removeAttributeModifier(slot: org.bukkit.inventory.EquipmentSlot): boolean; - /** - * Remove a specific {@link Attribute} and {@link AttributeModifier}. - * AttributeModifiers are matched according to their {@link java.util.UUID}. - */ - removeAttributeModifier(attribute: org.bukkit.attribute.Attribute, modifier: org.bukkit.attribute.AttributeModifier): boolean; - /** - * Returns a public custom tag container capable of storing tags on the - * item. - * Those tags will be sent to the client with all of their content, so the - * client is capable of reading them. This will result in the player seeing - * a NBT Tag notification on the item. - * These tags can also be modified by the client once in creative mode - */ - getCustomTagContainer(): org.bukkit.inventory.meta.tags.CustomItemTagContainer; - /** - * Internal use only! Do not use under any circumstances! - */ - setVersion(version: number): void; - clone(): org.bukkit.inventory.meta.ItemMeta; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.KnowledgeBookMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.KnowledgeBookMeta.ts deleted file mode 100644 index 50ecfeef..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.KnowledgeBookMeta.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface KnowledgeBookMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Checks for the existence of recipes in the book. - */ - hasRecipes(): boolean; - /** - * Gets all the recipes in the book. - */ - getRecipes(): any[] /*java.util.List*/; - /** - * Clears the existing book recipes, and sets the book to use the provided - * recipes. - */ - setRecipes(recipes: any[] /*java.util.List*/): void; - /** - * Adds new recipe to the end of the book. - */ - addRecipe(recipes: org.bukkit.NamespacedKey): void; - clone(): org.bukkit.inventory.meta.KnowledgeBookMeta; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.LeatherArmorMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.LeatherArmorMeta.ts deleted file mode 100644 index c19bee0f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.LeatherArmorMeta.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface LeatherArmorMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Gets the color of the armor. If it has not been set otherwise, it will - * be {@link ItemFactory#getDefaultLeatherColor()}. - */ - getColor(): org.bukkit.Color; - /** - * Sets the color of the armor. - */ - setColor(color: org.bukkit.Color): void; - clone(): org.bukkit.inventory.meta.LeatherArmorMeta; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.MapMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.MapMeta.ts deleted file mode 100644 index 42117831..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.MapMeta.ts +++ /dev/null @@ -1,88 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface MapMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Checks for existence of a map ID number. - */ - hasMapId(): boolean; - /** - * Gets the map ID that is set. This is used to determine what map is - * displayed. - *

- * Plugins should check that hasMapId() returns true before - * calling this method. - */ - getMapId(): number; - /** - * Sets the map ID. This is used to determine what map is displayed. - */ - setMapId(id: number): void; - /** - * Checks for existence of an associated map. - */ - hasMapView(): boolean; - /** - * Gets the map view that is associated with this map item. - *

- * Plugins should check that hasMapView() returns true before - * calling this method. - */ - getMapView(): org.bukkit.map.MapView; - /** - * Sets the associated map. This is used to determine what map is displayed. - *

- * The implementation may allow null to clear the associated map, but - * this is not required and is liable to generate a new (undefined) map when - * the item is first used. - */ - setMapView(map: org.bukkit.map.MapView): void; - /** - * Checks to see if this map is scaling. - */ - isScaling(): boolean; - /** - * Sets if this map is scaling or not. - */ - setScaling(value: boolean): void; - /** - * Checks for existence of a location name. - */ - hasLocationName(): boolean; - /** - * Gets the location name that is set. - *

- * Plugins should check that hasLocationName() returns true - * before calling this method. - */ - getLocationName(): string; - /** - * Sets the location name. A custom map color will alter the display of the - * map in an inventory slot. - */ - setLocationName(name: string): void; - /** - * Checks for existence of a map color. - */ - hasColor(): boolean; - /** - * Gets the map color that is set. A custom map color will alter the display - * of the map in an inventory slot. - *

- * Plugins should check that hasColor() returns true before - * calling this method. - */ - getColor(): org.bukkit.Color; - /** - * Sets the map color. A custom map color will alter the display of the map - * in an inventory slot. - */ - setColor(color: org.bukkit.Color): void; - clone(): org.bukkit.inventory.meta.MapMeta; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.PotionMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.PotionMeta.ts deleted file mode 100644 index fa3b736a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.PotionMeta.ts +++ /dev/null @@ -1,71 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface PotionMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Sets the underlying potion data - */ - setBasePotionData(data: org.bukkit.potion.PotionData): void; - /** - * Returns the potion data about the base potion - */ - getBasePotionData(): org.bukkit.potion.PotionData; - /** - * Checks for the presence of custom potion effects. - */ - hasCustomEffects(): boolean; - /** - * Gets an immutable list containing all custom potion effects applied to - * this potion. - *

- * Plugins should check that hasCustomEffects() returns true before calling - * this method. - */ - getCustomEffects(): any[] /*java.util.List*/; - /** - * Adds a custom potion effect to this potion. - */ - addCustomEffect(effect: org.bukkit.potion.PotionEffect, overwrite: boolean): boolean; - /** - * Removes a custom potion effect from this potion. - */ - removeCustomEffect(type: org.bukkit.potion.PotionEffectType): boolean; - /** - * Checks for a specific custom potion effect type on this potion. - */ - hasCustomEffect(type: org.bukkit.potion.PotionEffectType): boolean; - /** - * Moves a potion effect to the top of the potion effect list. - *

- * This causes the client to display the potion effect in the potion's name. - */ - setMainEffect(type: org.bukkit.potion.PotionEffectType): boolean; - /** - * Removes all custom potion effects from this potion. - */ - clearCustomEffects(): boolean; - /** - * Checks for existence of a potion color. - */ - hasColor(): boolean; - /** - * Gets the potion color that is set. A custom potion color will alter the - * display of the potion in an inventory slot. - *

- * Plugins should check that hasColor() returns true before - * calling this method. - */ - getColor(): org.bukkit.Color; - /** - * Sets the potion color. A custom potion color will alter the display of - * the potion in an inventory slot. - */ - setColor(color: org.bukkit.Color): void; - clone(): org.bukkit.inventory.meta.PotionMeta; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.Repairable.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.Repairable.ts deleted file mode 100644 index 84f01fd0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.Repairable.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface Repairable { - /** - * Checks to see if this has a repair penalty - */ - hasRepairCost(): boolean; - /** - * Gets the repair penalty - */ - getRepairCost(): number; - /** - * Sets the repair penalty - */ - setRepairCost(cost: number): void; - clone(): org.bukkit.inventory.meta.Repairable; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.SkullMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.SkullMeta.ts deleted file mode 100644 index 9cf8b864..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.SkullMeta.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface SkullMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Gets the owner of the skull. - */ - getOwner(): string; - /** - * Checks to see if the skull has an owner. - */ - hasOwner(): boolean; - /** - * Sets the owner of the skull. - */ - setOwner(owner: string): boolean; - /** - * Gets the owner of the skull. - */ - getOwningPlayer(): org.bukkit.OfflinePlayer; - /** - * Sets the owner of the skull. - *

- * Plugins should check that hasOwner() returns true before calling this - * plugin. - */ - setOwningPlayer(owner: org.bukkit.OfflinePlayer): boolean; - clone(): org.bukkit.inventory.meta.SkullMeta; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.SpawnEggMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.SpawnEggMeta.ts deleted file mode 100644 index 547cf27a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.SpawnEggMeta.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface SpawnEggMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Get the type of entity this egg will spawn. - */ - getSpawnedType(): org.bukkit.entity.EntityType; - /** - * Set the type of entity this egg will spawn. - */ - setSpawnedType(type: org.bukkit.entity.EntityType): void; - clone(): org.bukkit.inventory.meta.SpawnEggMeta; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.TropicalFishBucketMeta.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.TropicalFishBucketMeta.ts deleted file mode 100644 index 42c654c7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.TropicalFishBucketMeta.ts +++ /dev/null @@ -1,59 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - // @ts-ignore - interface TropicalFishBucketMeta extends org.bukkit.inventory.meta.ItemMeta { - /** - * Gets the color of the fish's pattern. - *

- * Plugins should check that hasVariant() returns true before - * calling this method. - */ - getPatternColor(): org.bukkit.DyeColor; - /** - * Sets the color of the fish's pattern. - *

- * Setting this when hasVariant() returns false will initialize - * all other values to unspecified defaults. - */ - setPatternColor(color: org.bukkit.DyeColor): void; - /** - * Gets the color of the fish's body. - *

- * Plugins should check that hasVariant() returns true before - * calling this method. - */ - getBodyColor(): org.bukkit.DyeColor; - /** - * Sets the color of the fish's body. - *

- * Setting this when hasVariant() returns false will initialize - * all other values to unspecified defaults. - */ - setBodyColor(color: org.bukkit.DyeColor): void; - /** - * Gets the fish's pattern. - *

- * Plugins should check that hasVariant() returns true before - * calling this method. - */ - getPattern(): org.bukkit.entity.TropicalFish.Pattern; - /** - * Sets the fish's pattern. - *

- * Setting this when hasVariant() returns false will initialize - * all other values to unspecified defaults. - */ - setPattern(pattern: org.bukkit.entity.TropicalFish.Pattern): void; - /** - * Checks for existence of a variant tag indicating a specific fish will be - * spawned. - */ - hasVariant(): boolean; - clone(): org.bukkit.inventory.meta.TropicalFishBucketMeta; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.CustomItemTagContainer.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.CustomItemTagContainer.ts deleted file mode 100644 index f6f70106..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.CustomItemTagContainer.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - namespace tags { - // @ts-ignore - interface CustomItemTagContainer { - /** - * Stores a custom value on the {@link ItemMeta}. - * This API cannot be used to manipulate minecraft tags, as the values will - * be stored using your namespace. This method will override any existing - * value the meta may have stored under the provided key. - */ - setCustomTag(key: org.bukkit.NamespacedKey, type: org.bukkit.inventory.meta.tags.ItemTagType, value: any): void; - /** - * Returns if the item meta has a custom tag registered matching the - * provided parameters. - * This method will only return if the found value has the same primitive - * data type as the provided key. - * Storing a value using a custom {@link ItemTagType} implementation will - * not store the complex data type. Therefore storing a UUID (by storing a - * byte[]) will match hasCustomTag("key" , {@link ItemTagType#BYTE_ARRAY}). - * Likewise a stored byte[] will always match your UUID {@link ItemTagType} - * even if it is not 16 bytes long. - * This method is only usable for custom object keys. Overwriting existing - * tags, like the the display name, will not work as the values are stored - * using your namespace. - */ - hasCustomTag(key: org.bukkit.NamespacedKey, type: org.bukkit.inventory.meta.tags.ItemTagType): boolean; - /** - * Returns the custom tag's value that is stored on the item. - */ - getCustomTag(key: org.bukkit.NamespacedKey, type: org.bukkit.inventory.meta.tags.ItemTagType): any; - /** - * Removes a custom key from the item meta. - */ - removeCustomTag(key: org.bukkit.NamespacedKey): void; - /** - * Returns if the container instance is empty, therefore has no entries - * inside it. - */ - isEmpty(): boolean; - /** - * Returns the adapter context this tag container uses. - */ - getAdapterContext(): org.bukkit.inventory.meta.tags.ItemTagAdapterContext; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.ItemTagAdapterContext.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.ItemTagAdapterContext.ts deleted file mode 100644 index fb8df6f5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.ItemTagAdapterContext.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - namespace tags { - // @ts-ignore - interface ItemTagAdapterContext { - /** - * Creates a new and empty tag container instance. - */ - newTagContainer(): org.bukkit.inventory.meta.tags.CustomItemTagContainer; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.ItemTagType.PrimitiveTagType.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.ItemTagType.PrimitiveTagType.ts deleted file mode 100644 index 90a972ee..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.ItemTagType.PrimitiveTagType.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - namespace tags { - namespace ItemTagType { - // @ts-ignore - class PrimitiveTagType implements org.bukkit.inventory.meta.tags.ItemTagType { - public getPrimitiveType(): any; - public getComplexType(): any; - public toPrimitive(complex: any, context: org.bukkit.inventory.meta.tags.ItemTagAdapterContext): any; - public fromPrimitive(primitive: any, context: org.bukkit.inventory.meta.tags.ItemTagAdapterContext): any; - } - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.ItemTagType.ts b/packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.ItemTagType.ts deleted file mode 100644 index c1fddb91..00000000 --- a/packages/bukkit/src/typings/org.bukkit.inventory.meta.tags.ItemTagType.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace inventory { - namespace meta { - namespace tags { - // @ts-ignore - interface ItemTagType { - BYTE: org.bukkit.inventory.meta.tags.ItemTagType; - SHORT: org.bukkit.inventory.meta.tags.ItemTagType; - INTEGER: org.bukkit.inventory.meta.tags.ItemTagType; - LONG: org.bukkit.inventory.meta.tags.ItemTagType; - FLOAT: org.bukkit.inventory.meta.tags.ItemTagType; - DOUBLE: org.bukkit.inventory.meta.tags.ItemTagType; - STRING: org.bukkit.inventory.meta.tags.ItemTagType; - BYTE_ARRAY: org.bukkit.inventory.meta.tags.ItemTagType; - INTEGER_ARRAY: org.bukkit.inventory.meta.tags.ItemTagType; - LONG_ARRAY: org.bukkit.inventory.meta.tags.ItemTagType; - TAG_CONTAINER: org.bukkit.inventory.meta.tags.ItemTagType; - /** - * Returns the primitive data type of this tag. - */ - getPrimitiveType(): any; - /** - * Returns the complex object type the primitive value resembles. - */ - getComplexType(): any; - /** - * Returns the primitive data that resembles the complex object passed to - * this method. - */ - toPrimitive(complex: any, context: org.bukkit.inventory.meta.tags.ItemTagAdapterContext): any; - /** - * Creates a complex object based of the passed primitive value - */ - fromPrimitive(primitive: any, context: org.bukkit.inventory.meta.tags.ItemTagAdapterContext): any; - } - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.loot.LootContext.Builder.ts b/packages/bukkit/src/typings/org.bukkit.loot.LootContext.Builder.ts deleted file mode 100644 index 98e4f54d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.loot.LootContext.Builder.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace loot { - namespace LootContext { - // @ts-ignore - class Builder { - /** - * Creates a new LootContext.Builder instance to facilitate easy - * creation of {@link LootContext}s. - */ - constructor(location: org.bukkit.Location) - /** - * Set how much luck to have when generating loot. - */ - public luck(luck: number): org.bukkit.loot.LootContext.Builder; - /** - * Set the {@link org.bukkit.enchantments.Enchantment#LOOT_BONUS_MOBS} - * level equivalent to use when generating loot. Values less than or - * equal to 0 will force the {@link LootTable} to only return a single - * {@link org.bukkit.inventory.ItemStack} per pool. - */ - public lootingModifier(modifier: number): org.bukkit.loot.LootContext.Builder; - /** - * The entity that was killed. - */ - public lootedEntity(lootedEntity: org.bukkit.entity.Entity): org.bukkit.loot.LootContext.Builder; - /** - * Set the {@link org.bukkit.entity.HumanEntity} that killed - * {@link #getLootedEntity()}. This entity will be used to get the - * looting level if {@link #lootingModifier(int)} is not set. - */ - public killer(killer: org.bukkit.entity.HumanEntity): org.bukkit.loot.LootContext.Builder; - /** - * Create a new {@link LootContext} instance using the supplied - * parameters. - */ - public build(): org.bukkit.loot.LootContext; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.loot.LootContext.ts b/packages/bukkit/src/typings/org.bukkit.loot.LootContext.ts deleted file mode 100644 index 4894f323..00000000 --- a/packages/bukkit/src/typings/org.bukkit.loot.LootContext.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace loot { - // @ts-ignore - class LootContext { - public static DEFAULT_LOOT_MODIFIER: number; - /** - * The {@link Location} to store where the loot will be generated. - */ - public getLocation(): org.bukkit.Location; - /** - * Represents the {@link org.bukkit.potion.PotionEffectType#LUCK} that an - * entity can have. The higher the value the better chance of receiving more - * loot. - */ - public getLuck(): number; - /** - * Represents the - * {@link org.bukkit.enchantments.Enchantment#LOOT_BONUS_MOBS} the - * {@link #getKiller()} entity has on their equipped item. - * This value is only set via - * {@link LootContext.Builder#lootingModifier(int)}. If not set, the - * {@link #getKiller()} entity's looting level will be used instead. - */ - public getLootingModifier(): number; - /** - * Get the {@link Entity} that was killed. Can be null. - */ - public getLootedEntity(): org.bukkit.entity.Entity; - /** - * Get the {@link HumanEntity} who killed the {@link #getLootedEntity()}. - * Can be null. - */ - public getKiller(): org.bukkit.entity.HumanEntity; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.loot.LootTable.ts b/packages/bukkit/src/typings/org.bukkit.loot.LootTable.ts deleted file mode 100644 index 089df7ef..00000000 --- a/packages/bukkit/src/typings/org.bukkit.loot.LootTable.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace loot { - // @ts-ignore - interface LootTable extends org.bukkit.Keyed { - /** - * Returns a mutable list of loot generated by this LootTable. - */ - populateLoot(random: any, context: org.bukkit.loot.LootContext): any[] /*java.util.Collection*/; - /** - * Attempt to fill an inventory with this LootTable's loot. - */ - fillInventory(inventory: org.bukkit.inventory.Inventory, random: any, context: org.bukkit.loot.LootContext): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.loot.LootTables.ts b/packages/bukkit/src/typings/org.bukkit.loot.LootTables.ts deleted file mode 100644 index c8220375..00000000 --- a/packages/bukkit/src/typings/org.bukkit.loot.LootTables.ts +++ /dev/null @@ -1,153 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace loot { - // @ts-ignore - class LootTables implements org.bukkit.Keyed { - public static EMPTY: org.bukkit.loot.LootTables; - public static ABANDONED_MINESHAFT: org.bukkit.loot.LootTables; - public static BURIED_TREASURE: org.bukkit.loot.LootTables; - public static DESERT_PYRAMID: org.bukkit.loot.LootTables; - public static END_CITY_TREASURE: org.bukkit.loot.LootTables; - public static IGLOO_CHEST: org.bukkit.loot.LootTables; - public static JUNGLE_TEMPLE: org.bukkit.loot.LootTables; - public static JUNGLE_TEMPLE_DISPENSER: org.bukkit.loot.LootTables; - public static NETHER_BRIDGE: org.bukkit.loot.LootTables; - public static PILLAGER_OUTPOST: org.bukkit.loot.LootTables; - public static SHIPWRECK_MAP: org.bukkit.loot.LootTables; - public static SHIPWRECK_SUPPLY: org.bukkit.loot.LootTables; - public static SHIPWRECK_TREASURE: org.bukkit.loot.LootTables; - public static SIMPLE_DUNGEON: org.bukkit.loot.LootTables; - public static SPAWN_BONUS_CHEST: org.bukkit.loot.LootTables; - public static STRONGHOLD_CORRIDOR: org.bukkit.loot.LootTables; - public static STRONGHOLD_CROSSING: org.bukkit.loot.LootTables; - public static STRONGHOLD_LIBRARY: org.bukkit.loot.LootTables; - public static UNDERWATER_RUIN_BIG: org.bukkit.loot.LootTables; - public static UNDERWATER_RUIN_SMALL: org.bukkit.loot.LootTables; - public static VILLAGE_ARMORER: org.bukkit.loot.LootTables; - public static VILLAGE_BUTCHER: org.bukkit.loot.LootTables; - public static VILLAGE_CARTOGRAPHER: org.bukkit.loot.LootTables; - public static VILLAGE_DESERT_HOUSE: org.bukkit.loot.LootTables; - public static VILLAGE_FISHER: org.bukkit.loot.LootTables; - public static VILLAGE_FLETCHER: org.bukkit.loot.LootTables; - public static VILLAGE_MASON: org.bukkit.loot.LootTables; - public static VILLAGE_PLAINS_HOUSE: org.bukkit.loot.LootTables; - public static VILLAGE_SAVANNA_HOUSE: org.bukkit.loot.LootTables; - public static VILLAGE_SHEPHERD: org.bukkit.loot.LootTables; - public static VILLAGE_SNOWY_HOUSE: org.bukkit.loot.LootTables; - public static VILLAGE_TAIGA_HOUSE: org.bukkit.loot.LootTables; - public static VILLAGE_TANNERY: org.bukkit.loot.LootTables; - public static VILLAGE_TEMPLE: org.bukkit.loot.LootTables; - public static VILLAGE_TOOLSMITH: org.bukkit.loot.LootTables; - public static VILLAGE_WEAPONSMITH: org.bukkit.loot.LootTables; - public static WOODLAND_MANSION: org.bukkit.loot.LootTables; - public static ARMOR_STAND: org.bukkit.loot.LootTables; - public static BAT: org.bukkit.loot.LootTables; - public static BLAZE: org.bukkit.loot.LootTables; - public static CAT: org.bukkit.loot.LootTables; - public static CAVE_SPIDER: org.bukkit.loot.LootTables; - public static CHICKEN: org.bukkit.loot.LootTables; - public static COD: org.bukkit.loot.LootTables; - public static COW: org.bukkit.loot.LootTables; - public static CREEPER: org.bukkit.loot.LootTables; - public static DOLPHIN: org.bukkit.loot.LootTables; - public static DONKEY: org.bukkit.loot.LootTables; - public static DROWNED: org.bukkit.loot.LootTables; - public static ELDER_GUARDIAN: org.bukkit.loot.LootTables; - public static ENDERMAN: org.bukkit.loot.LootTables; - public static ENDERMITE: org.bukkit.loot.LootTables; - public static ENDER_DRAGON: org.bukkit.loot.LootTables; - public static EVOKER: org.bukkit.loot.LootTables; - public static FOX: org.bukkit.loot.LootTables; - public static GHAST: org.bukkit.loot.LootTables; - public static GIANT: org.bukkit.loot.LootTables; - public static GUARDIAN: org.bukkit.loot.LootTables; - public static HORSE: org.bukkit.loot.LootTables; - public static HUSK: org.bukkit.loot.LootTables; - public static ILLUSIONER: org.bukkit.loot.LootTables; - public static IRON_GOLEM: org.bukkit.loot.LootTables; - public static LLAMA: org.bukkit.loot.LootTables; - public static MAGMA_CUBE: org.bukkit.loot.LootTables; - public static MOOSHROOM: org.bukkit.loot.LootTables; - public static MULE: org.bukkit.loot.LootTables; - public static OCELOT: org.bukkit.loot.LootTables; - public static PANDA: org.bukkit.loot.LootTables; - public static PARROT: org.bukkit.loot.LootTables; - public static PHANTOM: org.bukkit.loot.LootTables; - public static PIG: org.bukkit.loot.LootTables; - public static PILLAGER: org.bukkit.loot.LootTables; - public static POLAR_BEAR: org.bukkit.loot.LootTables; - public static PUFFERFISH: org.bukkit.loot.LootTables; - public static RABBIT: org.bukkit.loot.LootTables; - public static RAVAGER: org.bukkit.loot.LootTables; - public static SALMON: org.bukkit.loot.LootTables; - public static SHULKER: org.bukkit.loot.LootTables; - public static SILVERFISH: org.bukkit.loot.LootTables; - public static SKELETON: org.bukkit.loot.LootTables; - public static SKELETON_HORSE: org.bukkit.loot.LootTables; - public static SLIME: org.bukkit.loot.LootTables; - public static SNOW_GOLEM: org.bukkit.loot.LootTables; - public static SPIDER: org.bukkit.loot.LootTables; - public static SQUID: org.bukkit.loot.LootTables; - public static STRAY: org.bukkit.loot.LootTables; - public static TRADER_LLAMA: org.bukkit.loot.LootTables; - public static TROPICAL_FISH: org.bukkit.loot.LootTables; - public static TURTLE: org.bukkit.loot.LootTables; - public static VEX: org.bukkit.loot.LootTables; - public static VILLAGER: org.bukkit.loot.LootTables; - public static VINDICATOR: org.bukkit.loot.LootTables; - public static WANDERING_TRADER: org.bukkit.loot.LootTables; - public static WITCH: org.bukkit.loot.LootTables; - public static WITHER: org.bukkit.loot.LootTables; - public static WITHER_SKELETON: org.bukkit.loot.LootTables; - public static WOLF: org.bukkit.loot.LootTables; - public static ZOMBIE: org.bukkit.loot.LootTables; - public static ZOMBIE_HORSE: org.bukkit.loot.LootTables; - public static ZOMBIE_PIGMAN: org.bukkit.loot.LootTables; - public static ZOMBIE_VILLAGER: org.bukkit.loot.LootTables; - public static ARMORER_GIFT: org.bukkit.loot.LootTables; - public static BUTCHER_GIFT: org.bukkit.loot.LootTables; - public static CARTOGRAPHER_GIFT: org.bukkit.loot.LootTables; - public static CAT_MORNING_GIFT: org.bukkit.loot.LootTables; - public static CLERIC_GIFT: org.bukkit.loot.LootTables; - public static FARMER_GIFT: org.bukkit.loot.LootTables; - public static FISHERMAN_GIFT: org.bukkit.loot.LootTables; - public static FISHING: org.bukkit.loot.LootTables; - public static FISHING_FISH: org.bukkit.loot.LootTables; - public static FISHING_JUNK: org.bukkit.loot.LootTables; - public static FISHING_TREASURE: org.bukkit.loot.LootTables; - public static FLETCHER_GIFT: org.bukkit.loot.LootTables; - public static LEATHERWORKER_GIFT: org.bukkit.loot.LootTables; - public static LIBRARIAN_GIFT: org.bukkit.loot.LootTables; - public static MASON_GIFT: org.bukkit.loot.LootTables; - public static SHEPHERD_GIFT: org.bukkit.loot.LootTables; - public static TOOLSMITH_GIFT: org.bukkit.loot.LootTables; - public static WEAPONSMITH_GIFT: org.bukkit.loot.LootTables; - public static SHEEP: org.bukkit.loot.LootTables; - public static SHEEP_BLACK: org.bukkit.loot.LootTables; - public static SHEEP_BLUE: org.bukkit.loot.LootTables; - public static SHEEP_BROWN: org.bukkit.loot.LootTables; - public static SHEEP_CYAN: org.bukkit.loot.LootTables; - public static SHEEP_GRAY: org.bukkit.loot.LootTables; - public static SHEEP_GREEN: org.bukkit.loot.LootTables; - public static SHEEP_LIGHT_BLUE: org.bukkit.loot.LootTables; - public static SHEEP_LIGHT_GRAY: org.bukkit.loot.LootTables; - public static SHEEP_LIME: org.bukkit.loot.LootTables; - public static SHEEP_MAGENTA: org.bukkit.loot.LootTables; - public static SHEEP_ORANGE: org.bukkit.loot.LootTables; - public static SHEEP_PINK: org.bukkit.loot.LootTables; - public static SHEEP_PURPLE: org.bukkit.loot.LootTables; - public static SHEEP_RED: org.bukkit.loot.LootTables; - public static SHEEP_WHITE: org.bukkit.loot.LootTables; - public static SHEEP_YELLOW: org.bukkit.loot.LootTables; - public static values(): org.bukkit.loot.LootTables[]; - public static valueOf(name: string): org.bukkit.loot.LootTables; - public getKey(): org.bukkit.NamespacedKey; - /** - * Get the {@link LootTable} corresponding to this constant. This is - * equivalent to calling {@code Bukkit.getLootTable(this.getKey());}. - */ - public getLootTable(): org.bukkit.loot.LootTable; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.loot.Lootable.ts b/packages/bukkit/src/typings/org.bukkit.loot.Lootable.ts deleted file mode 100644 index 0c9dbe60..00000000 --- a/packages/bukkit/src/typings/org.bukkit.loot.Lootable.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace loot { - // @ts-ignore - interface Lootable { - /** - * Set the loot table for a container or entity. - *
- * To remove a loot table use null. Do not use {@link LootTables#EMPTY} to - * clear a LootTable. - */ - setLootTable(table: org.bukkit.loot.LootTable): void; - /** - * Gets the Loot Table attached to this block or entity. - *
- * If an block/entity does not have a loot table, this will return null, NOT - * an empty loot table. - */ - getLootTable(): org.bukkit.loot.LootTable; - /** - * Set the seed used when this Loot Table generates loot. - */ - setSeed(seed: number): void; - /** - * Get the Loot Table's seed. - *
- * The seed is used when generating loot. - */ - getSeed(): number; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.map.MapCanvas.ts b/packages/bukkit/src/typings/org.bukkit.map.MapCanvas.ts deleted file mode 100644 index 29a48b18..00000000 --- a/packages/bukkit/src/typings/org.bukkit.map.MapCanvas.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace map { - // @ts-ignore - interface MapCanvas { - /** - * Get the map this canvas is attached to. - */ - getMapView(): org.bukkit.map.MapView; - /** - * Get the cursor collection associated with this canvas. - */ - getCursors(): org.bukkit.map.MapCursorCollection; - /** - * Set the cursor collection associated with this canvas. This does not - * usually need to be called since a MapCursorCollection is already - * provided. - */ - setCursors(cursors: org.bukkit.map.MapCursorCollection): void; - /** - * Draw a pixel to the canvas. - */ - setPixel(x: number, y: number, color: number): void; - /** - * Get a pixel from the canvas. - */ - getPixel(x: number, y: number): number; - /** - * Get a pixel from the layers below this canvas. - */ - getBasePixel(x: number, y: number): number; - /** - * Draw an image to the map. The image will be clipped if necessary. - */ - drawImage(x: number, y: number, image: any): void; - /** - * Render text to the map using fancy formatting. Newline (\n) characters - * will move down one line and return to the original column, and the text - * color can be changed using sequences such as "§12;", replacing 12 with - * the palette index of the color (see {@link MapPalette}). - */ - drawText(x: number, y: number, font: org.bukkit.map.MapFont, text: string): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.map.MapCursor.Type.ts b/packages/bukkit/src/typings/org.bukkit.map.MapCursor.Type.ts deleted file mode 100644 index 6a51ed4b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.map.MapCursor.Type.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace map { - namespace MapCursor { - // @ts-ignore - class Type { - public static WHITE_POINTER: org.bukkit.map.MapCursor.Type; - public static GREEN_POINTER: org.bukkit.map.MapCursor.Type; - public static RED_POINTER: org.bukkit.map.MapCursor.Type; - public static BLUE_POINTER: org.bukkit.map.MapCursor.Type; - public static WHITE_CROSS: org.bukkit.map.MapCursor.Type; - public static RED_MARKER: org.bukkit.map.MapCursor.Type; - public static WHITE_CIRCLE: org.bukkit.map.MapCursor.Type; - public static SMALL_WHITE_CIRCLE: org.bukkit.map.MapCursor.Type; - public static MANSION: org.bukkit.map.MapCursor.Type; - public static TEMPLE: org.bukkit.map.MapCursor.Type; - public static BANNER_WHITE: org.bukkit.map.MapCursor.Type; - public static BANNER_ORANGE: org.bukkit.map.MapCursor.Type; - public static BANNER_MAGENTA: org.bukkit.map.MapCursor.Type; - public static BANNER_LIGHT_BLUE: org.bukkit.map.MapCursor.Type; - public static BANNER_YELLOW: org.bukkit.map.MapCursor.Type; - public static BANNER_LIME: org.bukkit.map.MapCursor.Type; - public static BANNER_PINK: org.bukkit.map.MapCursor.Type; - public static BANNER_GRAY: org.bukkit.map.MapCursor.Type; - public static BANNER_LIGHT_GRAY: org.bukkit.map.MapCursor.Type; - public static BANNER_CYAN: org.bukkit.map.MapCursor.Type; - public static BANNER_PURPLE: org.bukkit.map.MapCursor.Type; - public static BANNER_BLUE: org.bukkit.map.MapCursor.Type; - public static BANNER_BROWN: org.bukkit.map.MapCursor.Type; - public static BANNER_GREEN: org.bukkit.map.MapCursor.Type; - public static BANNER_RED: org.bukkit.map.MapCursor.Type; - public static BANNER_BLACK: org.bukkit.map.MapCursor.Type; - public static RED_X: org.bukkit.map.MapCursor.Type; - public static values(): org.bukkit.map.MapCursor.Type[]; - public static valueOf(name: string): org.bukkit.map.MapCursor.Type; - public getValue(): number; - public static byValue(value: number): org.bukkit.map.MapCursor.Type; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.map.MapCursor.ts b/packages/bukkit/src/typings/org.bukkit.map.MapCursor.ts deleted file mode 100644 index b6ff9591..00000000 --- a/packages/bukkit/src/typings/org.bukkit.map.MapCursor.ts +++ /dev/null @@ -1,81 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace map { - // @ts-ignore - class MapCursor { - /** - * Initialize the map cursor. - */ - constructor(x: number, y: number, direction: number, type: number, visible: boolean) - /** - * Initialize the map cursor. - */ - constructor(x: number, y: number, direction: number, type: org.bukkit.map.MapCursor.Type, visible: boolean) - /** - * Initialize the map cursor. - */ - constructor(x: number, y: number, direction: number, type: number, visible: boolean, caption: string) - /** - * Initialize the map cursor. - */ - constructor(x: number, y: number, direction: number, type: org.bukkit.map.MapCursor.Type, visible: boolean, caption: string) - /** - * Get the X position of this cursor. - */ - public getX(): number; - /** - * Get the Y position of this cursor. - */ - public getY(): number; - /** - * Get the direction of this cursor. - */ - public getDirection(): number; - /** - * Get the type of this cursor. - */ - public getType(): org.bukkit.map.MapCursor.Type; - /** - * Get the type of this cursor. - */ - public getRawType(): number; - /** - * Get the visibility status of this cursor. - */ - public isVisible(): boolean; - /** - * Set the X position of this cursor. - */ - public setX(x: number): void; - /** - * Set the Y position of this cursor. - */ - public setY(y: number): void; - /** - * Set the direction of this cursor. - */ - public setDirection(direction: number): void; - /** - * Set the type of this cursor. - */ - public setType(type: org.bukkit.map.MapCursor.Type): void; - /** - * Set the type of this cursor. - */ - public setRawType(type: number): void; - /** - * Set the visibility status of this cursor. - */ - public setVisible(visible: boolean): void; - /** - * Gets the caption on this cursor. - */ - public getCaption(): string; - /** - * Sets the caption on this cursor. - */ - public setCaption(caption: string): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.map.MapCursorCollection.ts b/packages/bukkit/src/typings/org.bukkit.map.MapCursorCollection.ts deleted file mode 100644 index 1cca7a92..00000000 --- a/packages/bukkit/src/typings/org.bukkit.map.MapCursorCollection.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace map { - // @ts-ignore - class MapCursorCollection { - constructor() - /** - * Get the amount of cursors in this collection. - */ - public size(): number; - /** - * Get a cursor from this collection. - */ - public getCursor(index: number): org.bukkit.map.MapCursor; - /** - * Remove a cursor from the collection. - */ - public removeCursor(cursor: org.bukkit.map.MapCursor): boolean; - /** - * Add a cursor to the collection. - */ - public addCursor(cursor: org.bukkit.map.MapCursor): org.bukkit.map.MapCursor; - /** - * Add a cursor to the collection. - */ - public addCursor(x: number, y: number, direction: number): org.bukkit.map.MapCursor; - /** - * Add a cursor to the collection. - */ - public addCursor(x: number, y: number, direction: number, type: number): org.bukkit.map.MapCursor; - /** - * Add a cursor to the collection. - */ - public addCursor(x: number, y: number, direction: number, type: number, visible: boolean): org.bukkit.map.MapCursor; - /** - * Add a cursor to the collection. - */ - public addCursor(x: number, y: number, direction: number, type: number, visible: boolean, caption: string): org.bukkit.map.MapCursor; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.map.MapFont.CharacterSprite.ts b/packages/bukkit/src/typings/org.bukkit.map.MapFont.CharacterSprite.ts deleted file mode 100644 index ec0b40d4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.map.MapFont.CharacterSprite.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace map { - namespace MapFont { - // @ts-ignore - class CharacterSprite { - constructor(width: number, height: number, data: boolean) - /** - * Get the value of a pixel of the character. - */ - public get(row: number, col: number): boolean; - /** - * Get the width of the character sprite. - */ - public getWidth(): number; - /** - * Get the height of the character sprite. - */ - public getHeight(): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.map.MapFont.ts b/packages/bukkit/src/typings/org.bukkit.map.MapFont.ts deleted file mode 100644 index 8fa0f78b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.map.MapFont.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace map { - // @ts-ignore - class MapFont { - constructor() - protected malleable: boolean; - /** - * Set the sprite for a given character. - */ - public setChar(ch: string, sprite: org.bukkit.map.MapFont.CharacterSprite): void; - /** - * Get the sprite for a given character. - */ - public getChar(ch: string): org.bukkit.map.MapFont.CharacterSprite; - /** - * Get the width of the given text as it would be rendered using this - * font. - */ - public getWidth(text: string): number; - /** - * Get the height of this font. - */ - public getHeight(): number; - /** - * Check whether the given text is valid. - */ - public isValid(text: string): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.map.MapPalette.ts b/packages/bukkit/src/typings/org.bukkit.map.MapPalette.ts deleted file mode 100644 index 4c3896f7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.map.MapPalette.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace map { - // @ts-ignore - class MapPalette { - public static TRANSPARENT: number; - public static LIGHT_GREEN: number; - public static LIGHT_BROWN: number; - public static GRAY_1: number; - public static RED: number; - public static PALE_BLUE: number; - public static GRAY_2: number; - public static DARK_GREEN: number; - public static WHITE: number; - public static LIGHT_GRAY: number; - public static BROWN: number; - public static DARK_GRAY: number; - public static BLUE: number; - public static DARK_BROWN: number; - /** - * Resize an image to 128x128. - */ - public static resizeImage(image: any): any; - /** - * Convert an Image to a byte[] using the palette. - */ - public static imageToBytes(image: any): number[]; - /** - * Get the index of the closest matching color in the palette to the given - * color. - */ - public static matchColor(r: number, g: number, b: number): number; - /** - * Get the index of the closest matching color in the palette to the given - * color. - */ - public static matchColor(color: any): number; - /** - * Get the value of the given color in the palette. - */ - public static getColor(index: number): any; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.map.MapRenderer.ts b/packages/bukkit/src/typings/org.bukkit.map.MapRenderer.ts deleted file mode 100644 index 08faac15..00000000 --- a/packages/bukkit/src/typings/org.bukkit.map.MapRenderer.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace map { - // @ts-ignore - abstract class MapRenderer { - /** - * Initialize the map renderer base to be non-contextual. See {@link - * #isContextual()}. - */ - constructor() - /** - * Initialize the map renderer base with the given contextual status. - */ - constructor(contextual: boolean) - /** - * Get whether the renderer is contextual, i.e. has different canvases for - * different players. - */ - public isContextual(): boolean; - /** - * Initialize this MapRenderer for the given map. - */ - public initialize(map: org.bukkit.map.MapView): void; - /** - * Render to the given map. - */ - public abstract render(map: org.bukkit.map.MapView, canvas: org.bukkit.map.MapCanvas, player: org.bukkit.entity.Player): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.map.MapView.Scale.ts b/packages/bukkit/src/typings/org.bukkit.map.MapView.Scale.ts deleted file mode 100644 index f67daf65..00000000 --- a/packages/bukkit/src/typings/org.bukkit.map.MapView.Scale.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace map { - namespace MapView { - // @ts-ignore - class Scale { - public static CLOSEST: org.bukkit.map.MapView.Scale; - public static CLOSE: org.bukkit.map.MapView.Scale; - public static NORMAL: org.bukkit.map.MapView.Scale; - public static FAR: org.bukkit.map.MapView.Scale; - public static FARTHEST: org.bukkit.map.MapView.Scale; - public static values(): org.bukkit.map.MapView.Scale[]; - public static valueOf(name: string): org.bukkit.map.MapView.Scale; - /** - * Get the scale given the raw value. - */ - public static valueOf(value: number): org.bukkit.map.MapView.Scale; - /** - * Get the raw value of this scale level. - */ - public getValue(): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.map.MapView.ts b/packages/bukkit/src/typings/org.bukkit.map.MapView.ts deleted file mode 100644 index 759a9840..00000000 --- a/packages/bukkit/src/typings/org.bukkit.map.MapView.ts +++ /dev/null @@ -1,95 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace map { - // @ts-ignore - interface MapView { - /** - * Get the ID of this map item for use with {@link MapMeta}. - */ - getId(): number; - /** - * Check whether this map is virtual. A map is virtual if its lowermost - * MapRenderer is plugin-provided. - */ - isVirtual(): boolean; - /** - * Get the scale of this map. - */ - getScale(): org.bukkit.map.MapView.Scale; - /** - * Set the scale of this map. - */ - setScale(scale: org.bukkit.map.MapView.Scale): void; - /** - * Get the center X position of this map. - */ - getCenterX(): number; - /** - * Get the center Z position of this map. - */ - getCenterZ(): number; - /** - * Set the center X position of this map. - */ - setCenterX(x: number): void; - /** - * Set the center Z position of this map. - */ - setCenterZ(z: number): void; - /** - * Get the world that this map is associated with. Primarily used by the - * internal renderer, but may be used by external renderers. May return - * null if the world the map is associated with is not loaded. - */ - getWorld(): org.bukkit.World; - /** - * Set the world that this map is associated with. The world is used by - * the internal renderer, and may also be used by external renderers. - */ - setWorld(world: org.bukkit.World): void; - /** - * Get a list of MapRenderers currently in effect. - */ - getRenderers(): any[] /*java.util.List*/; - /** - * Add a renderer to this map. - */ - addRenderer(renderer: org.bukkit.map.MapRenderer): void; - /** - * Remove a renderer from this map. - */ - removeRenderer(renderer: org.bukkit.map.MapRenderer): boolean; - /** - * Gets whether a position cursor should be shown when the map is near its - * center. - */ - isTrackingPosition(): boolean; - /** - * Sets whether a position cursor should be shown when the map is near its - * center. - */ - setTrackingPosition(trackingPosition: boolean): void; - /** - * Whether the map will show a smaller position cursor (true), or no - * position cursor (false) when cursor is outside of map's range. - */ - isUnlimitedTracking(): boolean; - /** - * Whether the map will show a smaller position cursor (true), or no - * position cursor (false) when cursor is outside of map's range. - */ - setUnlimitedTracking(unlimited: boolean): void; - /** - * Gets whether the map is locked or not. - * A locked map may not be explored further. - */ - isLocked(): boolean; - /** - * Gets whether the map is locked or not. - * A locked map may not be explored further. - */ - setLocked(locked: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.map.MinecraftFont.ts b/packages/bukkit/src/typings/org.bukkit.map.MinecraftFont.ts deleted file mode 100644 index cc935fc8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.map.MinecraftFont.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace map { - // @ts-ignore - class MinecraftFont extends org.bukkit.map.MapFont { - /** - * Initialize a new MinecraftFont. - */ - constructor() - public static Font: org.bukkit.map.MinecraftFont; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Attachable.ts b/packages/bukkit/src/typings/org.bukkit.material.Attachable.ts deleted file mode 100644 index 686c051c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Attachable.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - interface Attachable extends org.bukkit.material.Directional { - /** - * Gets the face that this block is attached on - */ - getAttachedFace(): org.bukkit.block.BlockFace; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Banner.ts b/packages/bukkit/src/typings/org.bukkit.material.Banner.ts deleted file mode 100644 index 322acef4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Banner.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Banner extends org.bukkit.material.MaterialData implements org.bukkit.material.Attachable { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public isWallBanner(): boolean; - public getAttachedFace(): org.bukkit.block.BlockFace; - public getFacing(): org.bukkit.block.BlockFace; - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public toString(): string; - public clone(): org.bukkit.material.Banner; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Bed.ts b/packages/bukkit/src/typings/org.bukkit.material.Bed.ts deleted file mode 100644 index 3e8d8a69..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Bed.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Bed extends org.bukkit.material.MaterialData implements org.bukkit.material.Directional { - /** - * Default constructor for a bed. - */ - constructor() - /** - * Instantiate a bed facing in a particular direction. - */ - constructor(direction: org.bukkit.block.BlockFace) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Determine if this block represents the head of the bed - */ - public isHeadOfBed(): boolean; - /** - * Configure this to be either the head or the foot of the bed - */ - public setHeadOfBed(isHeadOfBed: boolean): void; - /** - * Set which direction the head of the bed is facing. Note that this will - * only affect one of the two blocks the bed is made of. - */ - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - /** - * Get the direction that this bed's head is facing toward - */ - public getFacing(): org.bukkit.block.BlockFace; - public toString(): string; - public clone(): org.bukkit.material.Bed; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Button.ts b/packages/bukkit/src/typings/org.bukkit.material.Button.ts deleted file mode 100644 index 29642030..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Button.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Button extends org.bukkit.material.SimpleAttachableMaterialData implements org.bukkit.material.Redstone { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the current state of this Material, indicating if it's powered or - * unpowered - */ - public isPowered(): boolean; - /** - * Sets the current state of this button - */ - public setPowered(bool: boolean): void; - /** - * Gets the face that this block is attached on - */ - public getAttachedFace(): org.bukkit.block.BlockFace; - /** - * Sets the direction this button is pointing toward - */ - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public toString(): string; - public clone(): org.bukkit.material.Button; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Cake.ts b/packages/bukkit/src/typings/org.bukkit.material.Cake.ts deleted file mode 100644 index a066dfd0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Cake.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Cake extends org.bukkit.material.MaterialData { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the number of slices eaten from this cake - */ - public getSlicesEaten(): number; - /** - * Gets the number of slices remaining on this cake - */ - public getSlicesRemaining(): number; - /** - * Sets the number of slices eaten from this cake - */ - public setSlicesEaten(n: number): void; - /** - * Sets the number of slices remaining on this cake - */ - public setSlicesRemaining(n: number): void; - public toString(): string; - public clone(): org.bukkit.material.Cake; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Cauldron.ts b/packages/bukkit/src/typings/org.bukkit.material.Cauldron.ts deleted file mode 100644 index 4ab0876a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Cauldron.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Cauldron extends org.bukkit.material.MaterialData { - constructor() - constructor(type: org.bukkit.Material, data: number) - constructor(data: number) - /** - * Check if the cauldron is full. - */ - public isFull(): boolean; - /** - * Check if the cauldron is empty. - */ - public isEmpty(): boolean; - public toString(): string; - public clone(): org.bukkit.material.Cauldron; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Chest.ts b/packages/bukkit/src/typings/org.bukkit.material.Chest.ts deleted file mode 100644 index d07df983..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Chest.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Chest extends org.bukkit.material.DirectionalContainer { - constructor() - /** - * Instantiate a chest facing in a particular direction. - */ - constructor(direction: org.bukkit.block.BlockFace) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public clone(): org.bukkit.material.Chest; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Coal.ts b/packages/bukkit/src/typings/org.bukkit.material.Coal.ts deleted file mode 100644 index 9844b516..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Coal.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Coal extends org.bukkit.material.MaterialData { - constructor() - constructor(type: org.bukkit.CoalType) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the current type of this coal - */ - public getType(): org.bukkit.CoalType; - /** - * Sets the type of this coal - */ - public setType(type: org.bukkit.CoalType): void; - public toString(): string; - public clone(): org.bukkit.material.Coal; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.CocoaPlant.CocoaPlantSize.ts b/packages/bukkit/src/typings/org.bukkit.material.CocoaPlant.CocoaPlantSize.ts deleted file mode 100644 index a0d0c834..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.CocoaPlant.CocoaPlantSize.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - namespace CocoaPlant { - // @ts-ignore - class CocoaPlantSize { - public static SMALL: org.bukkit.material.CocoaPlant.CocoaPlantSize; - public static MEDIUM: org.bukkit.material.CocoaPlant.CocoaPlantSize; - public static LARGE: org.bukkit.material.CocoaPlant.CocoaPlantSize; - public static values(): org.bukkit.material.CocoaPlant.CocoaPlantSize[]; - public static valueOf(name: string): org.bukkit.material.CocoaPlant.CocoaPlantSize; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.CocoaPlant.ts b/packages/bukkit/src/typings/org.bukkit.material.CocoaPlant.ts deleted file mode 100644 index aa9cedf2..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.CocoaPlant.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class CocoaPlant extends org.bukkit.material.MaterialData implements org.bukkit.material.Directional, org.bukkit.material.Attachable { - constructor() - constructor(type: org.bukkit.Material, data: number) - constructor(sz: org.bukkit.material.CocoaPlant.CocoaPlantSize) - constructor(sz: org.bukkit.material.CocoaPlant.CocoaPlantSize, dir: org.bukkit.block.BlockFace) - /** - * Get size of plant - */ - public getSize(): org.bukkit.material.CocoaPlant.CocoaPlantSize; - /** - * Set size of plant - */ - public setSize(sz: org.bukkit.material.CocoaPlant.CocoaPlantSize): void; - public getAttachedFace(): org.bukkit.block.BlockFace; - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public getFacing(): org.bukkit.block.BlockFace; - public clone(): org.bukkit.material.CocoaPlant; - public toString(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Colorable.ts b/packages/bukkit/src/typings/org.bukkit.material.Colorable.ts deleted file mode 100644 index e4063ab6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Colorable.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - interface Colorable { - /** - * Gets the color of this object. - *
- * This may be null to represent the default color of an object, if the - * object has a special default color (e.g Shulkers). - */ - getColor(): org.bukkit.DyeColor; - /** - * Sets the color of this object to the specified DyeColor. - *
- * This may be null to represent the default color of an object, if the - * object has a special default color (e.g Shulkers). - */ - setColor(color: org.bukkit.DyeColor): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Command.ts b/packages/bukkit/src/typings/org.bukkit.material.Command.ts deleted file mode 100644 index 2d71b2fd..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Command.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Command extends org.bukkit.material.MaterialData implements org.bukkit.material.Redstone { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the current state of this Material, indicating if it's powered or - * unpowered - */ - public isPowered(): boolean; - /** - * Sets the current state of this Material - */ - public setPowered(bool: boolean): void; - public toString(): string; - public clone(): org.bukkit.material.Command; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Comparator.ts b/packages/bukkit/src/typings/org.bukkit.material.Comparator.ts deleted file mode 100644 index aae8be52..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Comparator.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Comparator extends org.bukkit.material.MaterialData implements org.bukkit.material.Directional, org.bukkit.material.Redstone { - /** - * Constructs a comparator switched off, with the default mode (normal) and facing the default direction (north). - */ - constructor() - /** - * Constructs a comparator switched off, with the default mode (normal) and facing the specified direction. - */ - constructor(facingDirection: org.bukkit.block.BlockFace) - /** - * Constructs a comparator switched off, with the specified mode and facing the specified direction. - */ - constructor(facingDirection: org.bukkit.block.BlockFace, isSubtraction: boolean) - /** - * Constructs a comparator switched on or off, with the specified mode and facing the specified direction. - */ - constructor(facingDirection: org.bukkit.block.BlockFace, isSubtraction: boolean, state: boolean) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - protected static DEFAULT_DIRECTION: org.bukkit.block.BlockFace; - protected static DEFAULT_SUBTRACTION_MODE: boolean; - protected static DEFAULT_STATE: boolean; - /** - * Sets whether the comparator is in subtraction mode. - */ - public setSubtractionMode(isSubtraction: boolean): void; - /** - * Checks whether the comparator is in subtraction mode - */ - public isSubtractionMode(): boolean; - /** - * Sets the direction this comparator is facing - */ - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - /** - * Gets the direction this comparator is facing - */ - public getFacing(): org.bukkit.block.BlockFace; - public toString(): string; - public clone(): org.bukkit.material.Comparator; - /** - * Checks if the comparator is powered - */ - public isPowered(): boolean; - /** - * Checks if the comparator is being powered - */ - public isBeingPowered(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Crops.ts b/packages/bukkit/src/typings/org.bukkit.material.Crops.ts deleted file mode 100644 index 504f3ab5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Crops.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Crops extends org.bukkit.material.MaterialData { - /** - * Constructs a wheat crop block in the seeded state. - */ - constructor() - /** - * Constructs a wheat crop block in the given growth state - */ - constructor(state: org.bukkit.CropState) - /** - * Constructs a crop block of the given type and in the given growth state - */ - constructor(type: org.bukkit.Material, state: org.bukkit.CropState) - /** - * Constructs a crop block of the given type and in the seeded state - */ - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - protected static DEFAULT_TYPE: org.bukkit.Material; - protected static DEFAULT_STATE: org.bukkit.CropState; - /** - * Gets the current growth state of this crop - * For crops with only four growth states such as beetroot, only the values SEEDED, SMALL, TALL and RIPE will be - * returned. - */ - public getState(): org.bukkit.CropState; - /** - * Sets the growth state of this crop - * For crops with only four growth states such as beetroot, the 8 CropStates are mapped into four states: - * SEEDED, SMALL, TALL and RIPE - * GERMINATED will change to SEEDED - * VERY_SMALL will change to SMALL - * MEDIUM will change to TALL - * VERY_TALL will change to RIPE - */ - public setState(state: org.bukkit.CropState): void; - public toString(): string; - public clone(): org.bukkit.material.Crops; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.DetectorRail.ts b/packages/bukkit/src/typings/org.bukkit.material.DetectorRail.ts deleted file mode 100644 index 1a606f8a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.DetectorRail.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class DetectorRail extends org.bukkit.material.ExtendedRails implements org.bukkit.material.PressureSensor { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public isPressed(): boolean; - public setPressed(isPressed: boolean): void; - public clone(): org.bukkit.material.DetectorRail; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Diode.ts b/packages/bukkit/src/typings/org.bukkit.material.Diode.ts deleted file mode 100644 index 5c207837..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Diode.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Diode extends org.bukkit.material.MaterialData implements org.bukkit.material.Directional, org.bukkit.material.Redstone { - /** - * Constructs a diode switched on, with a delay of 1 and facing the default - * direction (north). - * By default this constructor creates a diode that is switched on for - * backwards compatibility with past implementations. - */ - constructor() - /** - * Constructs a diode switched off, with a delay of 1 and facing the - * specified direction. - */ - constructor(facingDirection: org.bukkit.block.BlockFace) - /** - * Constructs a diode switched off, with the specified delay and facing the - * specified direction. - */ - constructor(facingDirection: org.bukkit.block.BlockFace, delay: number) - /** - * Constructs a diode switched on or off, with the specified delay and - * facing the specified direction. - */ - constructor(facingDirection: org.bukkit.block.BlockFace, delay: number, state: boolean) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - protected static DEFAULT_DIRECTION: org.bukkit.block.BlockFace; - protected static DEFAULT_DELAY: number; - protected static DEFAULT_STATE: boolean; - /** - * Sets the delay of the repeater. - */ - public setDelay(delay: number): void; - /** - * Gets the delay of the repeater in ticks. - */ - public getDelay(): number; - /** - * Sets the direction this diode is facing. - */ - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - /** - * Gets the direction this diode is facing - */ - public getFacing(): org.bukkit.block.BlockFace; - public toString(): string; - public clone(): org.bukkit.material.Diode; - /** - * Checks if the diode is powered. - */ - public isPowered(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Directional.ts b/packages/bukkit/src/typings/org.bukkit.material.Directional.ts deleted file mode 100644 index 0a2b2e03..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Directional.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - interface Directional { - /** - * Sets the direction that this block is facing in - */ - setFacingDirection(face: org.bukkit.block.BlockFace): void; - /** - * Gets the direction this block is facing - */ - getFacing(): org.bukkit.block.BlockFace; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.DirectionalContainer.ts b/packages/bukkit/src/typings/org.bukkit.material.DirectionalContainer.ts deleted file mode 100644 index 8e7f97c1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.DirectionalContainer.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class DirectionalContainer extends org.bukkit.material.MaterialData implements org.bukkit.material.Directional { - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public getFacing(): org.bukkit.block.BlockFace; - public toString(): string; - public clone(): org.bukkit.material.DirectionalContainer; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Dispenser.ts b/packages/bukkit/src/typings/org.bukkit.material.Dispenser.ts deleted file mode 100644 index 81009f69..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Dispenser.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Dispenser extends org.bukkit.material.FurnaceAndDispenser { - constructor() - constructor(direction: org.bukkit.block.BlockFace) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public getFacing(): org.bukkit.block.BlockFace; - public clone(): org.bukkit.material.Dispenser; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Door.ts b/packages/bukkit/src/typings/org.bukkit.material.Door.ts deleted file mode 100644 index fcdd898f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Door.ts +++ /dev/null @@ -1,79 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Door extends org.bukkit.material.MaterialData implements org.bukkit.material.Directional, org.bukkit.material.Openable { - constructor() - constructor(type: org.bukkit.Material) - /** - * Constructs the bottom half of a door of the given material type, facing the specified direction and set to closed - */ - constructor(type: org.bukkit.Material, face: org.bukkit.block.BlockFace) - /** - * Constructs the bottom half of a door of the given material type, facing the specified direction and set to open - * or closed - */ - constructor(type: org.bukkit.Material, face: org.bukkit.block.BlockFace, isOpen: boolean) - /** - * Constructs the top half of door of the given material type and with the hinge on the left or right - */ - constructor(type: org.bukkit.Material, isHingeRight: boolean) - /** - * Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to - * closed - */ - constructor(species: org.bukkit.TreeSpecies, face: org.bukkit.block.BlockFace) - /** - * Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to open - * or closed - */ - constructor(species: org.bukkit.TreeSpecies, face: org.bukkit.block.BlockFace, isOpen: boolean) - /** - * Constructs the top half of a wooden door of the given species and with the hinge on the left or right - */ - constructor(species: org.bukkit.TreeSpecies, isHingeRight: boolean) - constructor(type: org.bukkit.Material, data: number) - /** - * Returns the item type of a wooden door for the given tree species. - */ - public static getWoodDoorOfSpecies(species: org.bukkit.TreeSpecies): org.bukkit.Material; - /** - * Result is undefined if isTopHalf() is true. - */ - public isOpen(): boolean; - /** - * Set whether the door is open. Undefined if isTopHalf() is true. - */ - public setOpen(isOpen: boolean): void; - public isTopHalf(): boolean; - /** - * Configure this part of the door to be either the top or the bottom half - */ - public setTopHalf(isTopHalf: boolean): void; - public getHingeCorner(): org.bukkit.block.BlockFace; - public toString(): string; - /** - * Set the direction that this door should is facing. - * Undefined if isTopHalf() is true. - */ - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - /** - * Get the direction that this door is facing. - * Undefined if isTopHalf() is true. - */ - public getFacing(): org.bukkit.block.BlockFace; - /** - * Returns the side of the door the hinge is on. - * Undefined if isTopHalf() is false. - */ - public getHinge(): boolean; - /** - * Set whether the hinge is on the left or right side. Left is false, right is true. - * Undefined if isTopHalf() is false. - */ - public setHinge(isHingeRight: boolean): void; - public clone(): org.bukkit.material.Door; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Dye.ts b/packages/bukkit/src/typings/org.bukkit.material.Dye.ts deleted file mode 100644 index 1917b683..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Dye.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Dye extends org.bukkit.material.MaterialData implements org.bukkit.material.Colorable { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - constructor(color: org.bukkit.DyeColor) - /** - * Gets the current color of this dye - */ - public getColor(): org.bukkit.DyeColor; - /** - * Sets the color of this dye - */ - public setColor(color: org.bukkit.DyeColor): void; - public toString(): string; - public clone(): org.bukkit.material.Dye; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.EnderChest.ts b/packages/bukkit/src/typings/org.bukkit.material.EnderChest.ts deleted file mode 100644 index be503179..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.EnderChest.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class EnderChest extends org.bukkit.material.DirectionalContainer { - constructor() - /** - * Instantiate an ender chest facing in a particular direction. - */ - constructor(direction: org.bukkit.block.BlockFace) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public clone(): org.bukkit.material.EnderChest; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.ExtendedRails.ts b/packages/bukkit/src/typings/org.bukkit.material.ExtendedRails.ts deleted file mode 100644 index 3d2c3635..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.ExtendedRails.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class ExtendedRails extends org.bukkit.material.Rails { - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public isCurve(): boolean; - protected getConvertedData(): number; - public setDirection(face: org.bukkit.block.BlockFace, isOnSlope: boolean): void; - public clone(): org.bukkit.material.ExtendedRails; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.FlowerPot.ts b/packages/bukkit/src/typings/org.bukkit.material.FlowerPot.ts deleted file mode 100644 index 2a7b76b8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.FlowerPot.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class FlowerPot extends org.bukkit.material.MaterialData { - /** - * Default constructor for a flower pot. - */ - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Get the material in the flower pot - */ - public getContents(): org.bukkit.material.MaterialData; - /** - * Set the contents of the flower pot - */ - public setContents(materialData: org.bukkit.material.MaterialData): void; - public toString(): string; - public clone(): org.bukkit.material.FlowerPot; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Furnace.ts b/packages/bukkit/src/typings/org.bukkit.material.Furnace.ts deleted file mode 100644 index b7714ce4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Furnace.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Furnace extends org.bukkit.material.FurnaceAndDispenser { - constructor() - /** - * Instantiate a furnace facing in a particular direction. - */ - constructor(direction: org.bukkit.block.BlockFace) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public clone(): org.bukkit.material.Furnace; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.FurnaceAndDispenser.ts b/packages/bukkit/src/typings/org.bukkit.material.FurnaceAndDispenser.ts deleted file mode 100644 index fcf601ae..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.FurnaceAndDispenser.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class FurnaceAndDispenser extends org.bukkit.material.DirectionalContainer { - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public clone(): org.bukkit.material.FurnaceAndDispenser; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Gate.ts b/packages/bukkit/src/typings/org.bukkit.material.Gate.ts deleted file mode 100644 index 6c1d1857..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Gate.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Gate extends org.bukkit.material.MaterialData implements org.bukkit.material.Directional, org.bukkit.material.Openable { - constructor() - constructor(type: org.bukkit.Material, data: number) - constructor(data: number) - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public getFacing(): org.bukkit.block.BlockFace; - public isOpen(): boolean; - public setOpen(isOpen: boolean): void; - public toString(): string; - public clone(): org.bukkit.material.Gate; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Hopper.ts b/packages/bukkit/src/typings/org.bukkit.material.Hopper.ts deleted file mode 100644 index ea819f9e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Hopper.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Hopper extends org.bukkit.material.MaterialData implements org.bukkit.material.Directional, org.bukkit.material.Redstone { - /** - * Constructs a hopper facing the default direction (down) and initially - * active. - */ - constructor() - /** - * Constructs a hopper facing the specified direction and initially active. - */ - constructor(facingDirection: org.bukkit.block.BlockFace) - /** - * Constructs a hopper facing the specified direction and either active or - * not. - */ - constructor(facingDirection: org.bukkit.block.BlockFace, isActive: boolean) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - protected static DEFAULT_DIRECTION: org.bukkit.block.BlockFace; - protected static DEFAULT_ACTIVE: boolean; - /** - * Sets whether the hopper is active or not. - */ - public setActive(isActive: boolean): void; - /** - * Checks whether the hopper is active or not. - */ - public isActive(): boolean; - /** - * Sets the direction this hopper is facing - */ - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - /** - * Gets the direction this hopper is facing - */ - public getFacing(): org.bukkit.block.BlockFace; - public toString(): string; - public clone(): org.bukkit.material.Hopper; - /** - * Checks if the hopper is powered. - */ - public isPowered(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Ladder.ts b/packages/bukkit/src/typings/org.bukkit.material.Ladder.ts deleted file mode 100644 index 839d089e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Ladder.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Ladder extends org.bukkit.material.SimpleAttachableMaterialData { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the face that this block is attached on - */ - public getAttachedFace(): org.bukkit.block.BlockFace; - /** - * Sets the direction this ladder is facing - */ - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public clone(): org.bukkit.material.Ladder; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Leaves.ts b/packages/bukkit/src/typings/org.bukkit.material.Leaves.ts deleted file mode 100644 index 6563e64a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Leaves.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Leaves extends org.bukkit.material.Wood { - /** - * Constructs a leaf block. - */ - constructor() - /** - * Constructs a leaf block of the given tree species. - */ - constructor(species: org.bukkit.TreeSpecies) - /** - * Constructs a leaf block of the given tree species and flag for whether - * this leaf block will disappear when too far from a log. - */ - constructor(species: org.bukkit.TreeSpecies, isDecayable: boolean) - /** - * Constructs a leaf block of the given type. - */ - constructor(type: org.bukkit.Material) - /** - * Constructs a leaf block of the given type and tree species. - */ - constructor(type: org.bukkit.Material, species: org.bukkit.TreeSpecies) - /** - * Constructs a leaf block of the given type and tree species and flag for - * whether this leaf block will disappear when too far from a log. - */ - constructor(type: org.bukkit.Material, species: org.bukkit.TreeSpecies, isDecayable: boolean) - constructor(type: org.bukkit.Material, data: number) - protected static DEFAULT_TYPE: org.bukkit.Material; - protected static DEFAULT_DECAYABLE: boolean; - /** - * Checks if this leaf block is in the process of decaying - */ - public isDecaying(): boolean; - /** - * Set whether this leaf block is in the process of decaying - */ - public setDecaying(isDecaying: boolean): void; - /** - * Checks if this leaf block is permanent or can decay when too far from a - * log - */ - public isDecayable(): boolean; - /** - * Set whether this leaf block will disappear when too far from a log - */ - public setDecayable(isDecayable: boolean): void; - public toString(): string; - public clone(): org.bukkit.material.Leaves; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Lever.ts b/packages/bukkit/src/typings/org.bukkit.material.Lever.ts deleted file mode 100644 index d0495413..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Lever.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Lever extends org.bukkit.material.SimpleAttachableMaterialData implements org.bukkit.material.Redstone { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the current state of this Material, indicating if it's powered or - * unpowered - */ - public isPowered(): boolean; - /** - * Set this lever to be powered or not. - */ - public setPowered(isPowered: boolean): void; - /** - * Gets the face that this block is attached on - */ - public getAttachedFace(): org.bukkit.block.BlockFace; - /** - * Sets the direction this lever is pointing in - */ - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public toString(): string; - public clone(): org.bukkit.material.Lever; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.LongGrass.ts b/packages/bukkit/src/typings/org.bukkit.material.LongGrass.ts deleted file mode 100644 index 8d2f569e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.LongGrass.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class LongGrass extends org.bukkit.material.MaterialData { - constructor() - constructor(species: org.bukkit.GrassSpecies) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the current species of this grass - */ - public getSpecies(): org.bukkit.GrassSpecies; - /** - * Sets the species of this grass - */ - public setSpecies(species: org.bukkit.GrassSpecies): void; - public toString(): string; - public clone(): org.bukkit.material.LongGrass; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.MaterialData.ts b/packages/bukkit/src/typings/org.bukkit.material.MaterialData.ts deleted file mode 100644 index 0c514093..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.MaterialData.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class MaterialData { - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the raw data in this material - */ - public getData(): number; - /** - * Sets the raw data of this material - */ - public setData(data: number): void; - /** - * Gets the Material that this MaterialData represents - */ - public getItemType(): org.bukkit.Material; - /** - * Creates a new ItemStack based on this MaterialData - */ - public toItemStack(): org.bukkit.inventory.ItemStack; - /** - * Creates a new ItemStack based on this MaterialData - */ - public toItemStack(amount: number): org.bukkit.inventory.ItemStack; - public toString(): string; - public hashCode(): number; - public equals(obj: any): boolean; - public clone(): org.bukkit.material.MaterialData; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.MonsterEggs.ts b/packages/bukkit/src/typings/org.bukkit.material.MonsterEggs.ts deleted file mode 100644 index 0813c515..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.MonsterEggs.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class MonsterEggs extends org.bukkit.material.TexturedMaterial { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public getTextures(): any[] /*java.util.List*/; - public clone(): org.bukkit.material.MonsterEggs; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Mushroom.ts b/packages/bukkit/src/typings/org.bukkit.material.Mushroom.ts deleted file mode 100644 index 9746e2e0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Mushroom.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Mushroom extends org.bukkit.material.MaterialData { - /** - * Constructs a brown/red mushroom block with all sides set to pores. - */ - constructor(shroom: org.bukkit.Material) - /** - * Constructs a brown/red mushroom cap block with the specified face or - * faces set to cap texture. - * Setting any of the four sides will also set the top to cap. - * To set two side faces at once use e.g. north-west. - * Specify self to set all six faces at once. - */ - constructor(shroom: org.bukkit.Material, capFace: org.bukkit.block.BlockFace) - /** - * Constructs a brown/red mushroom block with the specified textures. - */ - constructor(shroom: org.bukkit.Material, texture: org.bukkit.material.types.MushroomBlockTexture) - constructor(shroom: org.bukkit.Material, data: number) - public isStem(): boolean; - /** - * Sets this to be a mushroom stem. - */ - public setStem(): void; - /** - * Gets the mushroom texture of this block. - */ - public getBlockTexture(): org.bukkit.material.types.MushroomBlockTexture; - /** - * Sets the mushroom texture of this block. - */ - public setBlockTexture(texture: org.bukkit.material.types.MushroomBlockTexture): void; - /** - * Checks whether a face of the block is painted with cap texture. - */ - public isFacePainted(face: org.bukkit.block.BlockFace): boolean; - /** - * Set a face of the block to be painted or not. Note that due to the - * nature of how the data is stored, setting a face painted or not is not - * guaranteed to leave the other faces unchanged. - */ - public setFacePainted(face: org.bukkit.block.BlockFace, painted: boolean): void; - public getPaintedFaces(): any[] /*java.util.Set*/; - public toString(): string; - public clone(): org.bukkit.material.Mushroom; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.NetherWarts.ts b/packages/bukkit/src/typings/org.bukkit.material.NetherWarts.ts deleted file mode 100644 index 12733634..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.NetherWarts.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class NetherWarts extends org.bukkit.material.MaterialData { - constructor() - constructor(state: org.bukkit.NetherWartsState) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the current growth state of this nether wart - */ - public getState(): org.bukkit.NetherWartsState; - /** - * Sets the growth state of this nether wart - */ - public setState(state: org.bukkit.NetherWartsState): void; - public toString(): string; - public clone(): org.bukkit.material.NetherWarts; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Observer.ts b/packages/bukkit/src/typings/org.bukkit.material.Observer.ts deleted file mode 100644 index 1e57926a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Observer.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Observer extends org.bukkit.material.MaterialData implements org.bukkit.material.Directional, org.bukkit.material.Redstone { - constructor() - constructor(direction: org.bukkit.block.BlockFace) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public isPowered(): boolean; - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public getFacing(): org.bukkit.block.BlockFace; - public toString(): string; - public clone(): org.bukkit.material.Observer; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Openable.ts b/packages/bukkit/src/typings/org.bukkit.material.Openable.ts deleted file mode 100644 index 6431950d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Openable.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - interface Openable { - /** - * Check to see if the door is open. - */ - isOpen(): boolean; - /** - * Configure this door to be either open or closed; - */ - setOpen(isOpen: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.PistonBaseMaterial.ts b/packages/bukkit/src/typings/org.bukkit.material.PistonBaseMaterial.ts deleted file mode 100644 index 3621881e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.PistonBaseMaterial.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class PistonBaseMaterial extends org.bukkit.material.MaterialData implements org.bukkit.material.Directional, org.bukkit.material.Redstone { - constructor(type: org.bukkit.Material) - /** - * Constructs a PistonBaseMaterial. - */ - constructor(type: org.bukkit.Material, data: number) - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public getFacing(): org.bukkit.block.BlockFace; - public isPowered(): boolean; - /** - * Sets the current state of this piston - */ - public setPowered(powered: boolean): void; - /** - * Checks if this piston base is sticky, and returns true if so - */ - public isSticky(): boolean; - public clone(): org.bukkit.material.PistonBaseMaterial; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.PistonExtensionMaterial.ts b/packages/bukkit/src/typings/org.bukkit.material.PistonExtensionMaterial.ts deleted file mode 100644 index c196d2e7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.PistonExtensionMaterial.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class PistonExtensionMaterial extends org.bukkit.material.MaterialData implements org.bukkit.material.Attachable { - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public getFacing(): org.bukkit.block.BlockFace; - /** - * Checks if this piston extension is sticky, and returns true if so - */ - public isSticky(): boolean; - /** - * Sets whether or not this extension is sticky - */ - public setSticky(sticky: boolean): void; - public getAttachedFace(): org.bukkit.block.BlockFace; - public clone(): org.bukkit.material.PistonExtensionMaterial; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.PoweredRail.ts b/packages/bukkit/src/typings/org.bukkit.material.PoweredRail.ts deleted file mode 100644 index 39cabb83..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.PoweredRail.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class PoweredRail extends org.bukkit.material.ExtendedRails implements org.bukkit.material.Redstone { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public isPowered(): boolean; - /** - * Set whether this PoweredRail should be powered or not. - */ - public setPowered(isPowered: boolean): void; - public clone(): org.bukkit.material.PoweredRail; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.PressurePlate.ts b/packages/bukkit/src/typings/org.bukkit.material.PressurePlate.ts deleted file mode 100644 index d97e67c6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.PressurePlate.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class PressurePlate extends org.bukkit.material.MaterialData implements org.bukkit.material.PressureSensor { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public isPressed(): boolean; - public toString(): string; - public clone(): org.bukkit.material.PressurePlate; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.PressureSensor.ts b/packages/bukkit/src/typings/org.bukkit.material.PressureSensor.ts deleted file mode 100644 index 66ade423..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.PressureSensor.ts +++ /dev/null @@ -1,10 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - interface PressureSensor { - isPressed(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Pumpkin.ts b/packages/bukkit/src/typings/org.bukkit.material.Pumpkin.ts deleted file mode 100644 index 5e1964b9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Pumpkin.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Pumpkin extends org.bukkit.material.MaterialData implements org.bukkit.material.Directional { - constructor() - /** - * Instantiate a pumpkin facing in a particular direction. - */ - constructor(direction: org.bukkit.block.BlockFace) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public isLit(): boolean; - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public getFacing(): org.bukkit.block.BlockFace; - public toString(): string; - public clone(): org.bukkit.material.Pumpkin; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Rails.ts b/packages/bukkit/src/typings/org.bukkit.material.Rails.ts deleted file mode 100644 index 04bd610b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Rails.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Rails extends org.bukkit.material.MaterialData { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public isOnSlope(): boolean; - public isCurve(): boolean; - public getDirection(): org.bukkit.block.BlockFace; - public toString(): string; - /** - * Return the data without the extended properties used by {@link - * PoweredRail} and {@link DetectorRail}. Overridden in {@link - * ExtendedRails} - */ - protected getConvertedData(): number; - /** - * Set the direction of these tracks - *

- * Note that tracks are bidirectional and that the direction returned is - * the ascending direction if the track is set on a slope. If it is set as - * a curve, the corner of the track should be supplied. - */ - public setDirection(face: org.bukkit.block.BlockFace, isOnSlope: boolean): void; - public clone(): org.bukkit.material.Rails; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Redstone.ts b/packages/bukkit/src/typings/org.bukkit.material.Redstone.ts deleted file mode 100644 index cd649bb7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Redstone.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - interface Redstone { - /** - * Gets the current state of this Material, indicating if it's powered or - * unpowered - */ - isPowered(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.RedstoneTorch.ts b/packages/bukkit/src/typings/org.bukkit.material.RedstoneTorch.ts deleted file mode 100644 index b37fe079..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.RedstoneTorch.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class RedstoneTorch extends org.bukkit.material.Torch implements org.bukkit.material.Redstone { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the current state of this Material, indicating if it's powered or - * unpowered - */ - public isPowered(): boolean; - public toString(): string; - public clone(): org.bukkit.material.RedstoneTorch; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.RedstoneWire.ts b/packages/bukkit/src/typings/org.bukkit.material.RedstoneWire.ts deleted file mode 100644 index 597152e8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.RedstoneWire.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class RedstoneWire extends org.bukkit.material.MaterialData implements org.bukkit.material.Redstone { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the current state of this Material, indicating if it's powered or - * unpowered - */ - public isPowered(): boolean; - public toString(): string; - public clone(): org.bukkit.material.RedstoneWire; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Sandstone.ts b/packages/bukkit/src/typings/org.bukkit.material.Sandstone.ts deleted file mode 100644 index 21e19f00..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Sandstone.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Sandstone extends org.bukkit.material.MaterialData { - constructor() - constructor(type: org.bukkit.SandstoneType) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the current type of this sandstone - */ - public getType(): org.bukkit.SandstoneType; - /** - * Sets the type of this sandstone - */ - public setType(type: org.bukkit.SandstoneType): void; - public toString(): string; - public clone(): org.bukkit.material.Sandstone; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Sapling.ts b/packages/bukkit/src/typings/org.bukkit.material.Sapling.ts deleted file mode 100644 index 3000d98b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Sapling.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Sapling extends org.bukkit.material.Wood { - /** - * Constructs a sapling. - */ - constructor() - /** - * Constructs a sapling of the given tree species. - */ - constructor(species: org.bukkit.TreeSpecies) - /** - * Constructs a sapling of the given tree species and if is it instant - * growable - */ - constructor(species: org.bukkit.TreeSpecies, isInstantGrowable: boolean) - /** - * Constructs a sapling of the given type. - */ - constructor(type: org.bukkit.Material) - /** - * Constructs a sapling of the given type and tree species. - */ - constructor(type: org.bukkit.Material, species: org.bukkit.TreeSpecies) - /** - * Constructs a sapling of the given type and tree species and if is it - * instant growable - */ - constructor(type: org.bukkit.Material, species: org.bukkit.TreeSpecies, isInstantGrowable: boolean) - constructor(type: org.bukkit.Material, data: number) - /** - * Checks if the Sapling would grow when next ticked with bonemeal - */ - public isInstantGrowable(): boolean; - /** - * Set whether this sapling will grow when next ticked with bonemeal - */ - public setIsInstantGrowable(isInstantGrowable: boolean): void; - public toString(): string; - public clone(): org.bukkit.material.Sapling; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Sign.ts b/packages/bukkit/src/typings/org.bukkit.material.Sign.ts deleted file mode 100644 index 9b0fc420..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Sign.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Sign extends org.bukkit.material.MaterialData implements org.bukkit.material.Attachable { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Check if this sign is attached to a wall - */ - public isWallSign(): boolean; - /** - * Gets the face that this block is attached on - */ - public getAttachedFace(): org.bukkit.block.BlockFace; - /** - * Gets the direction that this sign is currently facing - */ - public getFacing(): org.bukkit.block.BlockFace; - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public toString(): string; - public clone(): org.bukkit.material.Sign; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.SimpleAttachableMaterialData.ts b/packages/bukkit/src/typings/org.bukkit.material.SimpleAttachableMaterialData.ts deleted file mode 100644 index da5fb92c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.SimpleAttachableMaterialData.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - abstract class SimpleAttachableMaterialData extends org.bukkit.material.MaterialData implements org.bukkit.material.Attachable { - constructor(type: org.bukkit.Material, direction: org.bukkit.block.BlockFace) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public getFacing(): org.bukkit.block.BlockFace; - public toString(): string; - public clone(): org.bukkit.material.SimpleAttachableMaterialData; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Skull.ts b/packages/bukkit/src/typings/org.bukkit.material.Skull.ts deleted file mode 100644 index 895c4a53..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Skull.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Skull extends org.bukkit.material.MaterialData implements org.bukkit.material.Directional { - constructor() - /** - * Instantiate a skull facing in a particular direction. - */ - constructor(direction: org.bukkit.block.BlockFace) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public getFacing(): org.bukkit.block.BlockFace; - public toString(): string; - public clone(): org.bukkit.material.Skull; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.SmoothBrick.ts b/packages/bukkit/src/typings/org.bukkit.material.SmoothBrick.ts deleted file mode 100644 index f986b515..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.SmoothBrick.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class SmoothBrick extends org.bukkit.material.TexturedMaterial { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public getTextures(): any[] /*java.util.List*/; - public clone(): org.bukkit.material.SmoothBrick; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.SpawnEgg.ts b/packages/bukkit/src/typings/org.bukkit.material.SpawnEgg.ts deleted file mode 100644 index 645a6fd0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.SpawnEgg.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class SpawnEgg extends org.bukkit.material.MaterialData { - constructor() - constructor(type: org.bukkit.Material, data: number) - constructor(data: number) - constructor(type: org.bukkit.entity.EntityType) - /** - * Get the type of entity this egg will spawn. - */ - public getSpawnedType(): org.bukkit.entity.EntityType; - /** - * Set the type of entity this egg will spawn. - */ - public setSpawnedType(type: org.bukkit.entity.EntityType): void; - public toString(): string; - public clone(): org.bukkit.material.SpawnEgg; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Stairs.ts b/packages/bukkit/src/typings/org.bukkit.material.Stairs.ts deleted file mode 100644 index 4dfbd4cb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Stairs.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Stairs extends org.bukkit.material.MaterialData implements org.bukkit.material.Directional { - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public getAscendingDirection(): org.bukkit.block.BlockFace; - public getDescendingDirection(): org.bukkit.block.BlockFace; - /** - * Set the direction the stair part of the block is facing - */ - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public getFacing(): org.bukkit.block.BlockFace; - /** - * Test if step is inverted - */ - public isInverted(): boolean; - /** - * Set step inverted state - */ - public setInverted(inv: boolean): void; - public toString(): string; - public clone(): org.bukkit.material.Stairs; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Step.ts b/packages/bukkit/src/typings/org.bukkit.material.Step.ts deleted file mode 100644 index bf31888e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Step.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Step extends org.bukkit.material.TexturedMaterial { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public getTextures(): any[] /*java.util.List*/; - /** - * Test if step is inverted - */ - public isInverted(): boolean; - /** - * Set step inverted state - */ - public setInverted(inv: boolean): void; - protected getTextureIndex(): number; - protected setTextureIndex(idx: number): void; - public clone(): org.bukkit.material.Step; - public toString(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.TexturedMaterial.ts b/packages/bukkit/src/typings/org.bukkit.material.TexturedMaterial.ts deleted file mode 100644 index 037bcaa9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.TexturedMaterial.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - abstract class TexturedMaterial extends org.bukkit.material.MaterialData { - constructor(m: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Retrieve a list of possible textures. The first element of the list - * will be used as a default. - */ - public abstract getTextures(): any[] /*java.util.List*/; - /** - * Gets the current Material this block is made of - */ - public getMaterial(): org.bukkit.Material; - /** - * Sets the material this block is made of - */ - public setMaterial(material: org.bukkit.Material): void; - /** - * Get material index from data - */ - protected getTextureIndex(): number; - /** - * Set material index - */ - protected setTextureIndex(idx: number): void; - public toString(): string; - public clone(): org.bukkit.material.TexturedMaterial; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Torch.ts b/packages/bukkit/src/typings/org.bukkit.material.Torch.ts deleted file mode 100644 index b9b490af..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Torch.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Torch extends org.bukkit.material.SimpleAttachableMaterialData { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the face that this block is attached on - */ - public getAttachedFace(): org.bukkit.block.BlockFace; - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public clone(): org.bukkit.material.Torch; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.TrapDoor.ts b/packages/bukkit/src/typings/org.bukkit.material.TrapDoor.ts deleted file mode 100644 index 48f59bde..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.TrapDoor.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class TrapDoor extends org.bukkit.material.SimpleAttachableMaterialData implements org.bukkit.material.Openable { - constructor() - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - public isOpen(): boolean; - public setOpen(isOpen: boolean): void; - /** - * Test if trapdoor is inverted - */ - public isInverted(): boolean; - /** - * Set trapdoor inverted state - */ - public setInverted(inv: boolean): void; - public getAttachedFace(): org.bukkit.block.BlockFace; - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public toString(): string; - public clone(): org.bukkit.material.TrapDoor; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Tree.ts b/packages/bukkit/src/typings/org.bukkit.material.Tree.ts deleted file mode 100644 index 7008651b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Tree.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Tree extends org.bukkit.material.Wood { - /** - * Constructs a tree block. - */ - constructor() - /** - * Constructs a tree block of the given tree species. - */ - constructor(species: org.bukkit.TreeSpecies) - /** - * Constructs a tree block of the given tree species, and facing the given - * direction. - */ - constructor(species: org.bukkit.TreeSpecies, dir: org.bukkit.block.BlockFace) - /** - * Constructs a tree block of the given type. - */ - constructor(type: org.bukkit.Material) - /** - * Constructs a tree block of the given type and tree species. - */ - constructor(type: org.bukkit.Material, species: org.bukkit.TreeSpecies) - /** - * Constructs a tree block of the given type and tree species, and facing - * the given direction. - */ - constructor(type: org.bukkit.Material, species: org.bukkit.TreeSpecies, dir: org.bukkit.block.BlockFace) - constructor(type: org.bukkit.Material, data: number) - protected static DEFAULT_TYPE: org.bukkit.Material; - protected static DEFAULT_DIRECTION: org.bukkit.block.BlockFace; - /** - * Get direction of the log - */ - public getDirection(): org.bukkit.block.BlockFace; - /** - * Set direction of the log - */ - public setDirection(dir: org.bukkit.block.BlockFace): void; - public toString(): string; - public clone(): org.bukkit.material.Tree; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Tripwire.ts b/packages/bukkit/src/typings/org.bukkit.material.Tripwire.ts deleted file mode 100644 index 2c141f47..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Tripwire.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Tripwire extends org.bukkit.material.MaterialData { - constructor() - constructor(type: org.bukkit.Material, data: number) - /** - * Test if tripwire is currently activated - */ - public isActivated(): boolean; - /** - * Set tripwire activated state - */ - public setActivated(act: boolean): void; - /** - * Test if object triggering this tripwire directly - */ - public isObjectTriggering(): boolean; - /** - * Set object triggering state for this tripwire - */ - public setObjectTriggering(trig: boolean): void; - public clone(): org.bukkit.material.Tripwire; - public toString(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.TripwireHook.ts b/packages/bukkit/src/typings/org.bukkit.material.TripwireHook.ts deleted file mode 100644 index 12324a71..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.TripwireHook.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class TripwireHook extends org.bukkit.material.SimpleAttachableMaterialData implements org.bukkit.material.Redstone { - constructor() - constructor(type: org.bukkit.Material, data: number) - constructor(dir: org.bukkit.block.BlockFace) - /** - * Test if tripwire is connected - */ - public isConnected(): boolean; - /** - * Set tripwire connection state - */ - public setConnected(connected: boolean): void; - /** - * Test if hook is currently activated - */ - public isActivated(): boolean; - /** - * Set hook activated state - */ - public setActivated(act: boolean): void; - public setFacingDirection(face: org.bukkit.block.BlockFace): void; - public getAttachedFace(): org.bukkit.block.BlockFace; - public isPowered(): boolean; - public clone(): org.bukkit.material.TripwireHook; - public toString(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Vine.ts b/packages/bukkit/src/typings/org.bukkit.material.Vine.ts deleted file mode 100644 index 4987f6f7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Vine.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Vine extends org.bukkit.material.MaterialData { - constructor() - constructor(type: org.bukkit.Material, data: number) - constructor(data: number) - constructor(faces: org.bukkit.block.BlockFace) - constructor(faces: any) - /** - * Check if the vine is attached to the specified face of an adjacent - * block. You can check two faces at once by passing e.g. {@link - * BlockFace#NORTH_EAST}. - */ - public isOnFace(face: org.bukkit.block.BlockFace): boolean; - /** - * Attach the vine to the specified face of an adjacent block. - */ - public putOnFace(face: org.bukkit.block.BlockFace): void; - /** - * Detach the vine from the specified face of an adjacent block. - */ - public removeFromFace(face: org.bukkit.block.BlockFace): void; - public toString(): string; - public clone(): org.bukkit.material.Vine; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Wood.ts b/packages/bukkit/src/typings/org.bukkit.material.Wood.ts deleted file mode 100644 index f4756965..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Wood.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Wood extends org.bukkit.material.MaterialData { - /** - * Constructs a wood block. - */ - constructor() - /** - * Constructs a wood block of the given tree species. - */ - constructor(species: org.bukkit.TreeSpecies) - /** - * Constructs a wood block of the given type. - */ - constructor(type: org.bukkit.Material) - /** - * Constructs a wood block of the given type and tree species. - */ - constructor(type: org.bukkit.Material, species: org.bukkit.TreeSpecies) - constructor(type: org.bukkit.Material, data: number) - protected static DEFAULT_TYPE: org.bukkit.Material; - protected static DEFAULT_SPECIES: org.bukkit.TreeSpecies; - /** - * Gets the current species of this wood block - */ - public getSpecies(): org.bukkit.TreeSpecies; - /** - * Sets the species of this wood block - */ - public setSpecies(species: org.bukkit.TreeSpecies): void; - public toString(): string; - public clone(): org.bukkit.material.Wood; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.WoodenStep.ts b/packages/bukkit/src/typings/org.bukkit.material.WoodenStep.ts deleted file mode 100644 index 4183fa05..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.WoodenStep.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class WoodenStep extends org.bukkit.material.Wood { - /** - * Constructs a wooden step. - */ - constructor() - /** - * Constructs a wooden step of the given tree species. - */ - constructor(species: org.bukkit.TreeSpecies) - /** - * Constructs a wooden step of the given type and tree species, either - * inverted or not. - */ - constructor(species: org.bukkit.TreeSpecies, inv: boolean) - constructor(type: org.bukkit.Material, data: number) - protected static DEFAULT_TYPE: org.bukkit.Material; - protected static DEFAULT_INVERTED: boolean; - /** - * Test if step is inverted - */ - public isInverted(): boolean; - /** - * Set step inverted state - */ - public setInverted(inv: boolean): void; - public clone(): org.bukkit.material.WoodenStep; - public toString(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.Wool.ts b/packages/bukkit/src/typings/org.bukkit.material.Wool.ts deleted file mode 100644 index 7ab00dfb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.Wool.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - // @ts-ignore - class Wool extends org.bukkit.material.MaterialData implements org.bukkit.material.Colorable { - constructor() - constructor(color: org.bukkit.DyeColor) - constructor(type: org.bukkit.Material) - constructor(type: org.bukkit.Material, data: number) - /** - * Gets the current color of this dye - */ - public getColor(): org.bukkit.DyeColor; - /** - * Sets the color of this dye - */ - public setColor(color: org.bukkit.DyeColor): void; - public toString(): string; - public clone(): org.bukkit.material.Wool; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.material.types.MushroomBlockTexture.ts b/packages/bukkit/src/typings/org.bukkit.material.types.MushroomBlockTexture.ts deleted file mode 100644 index 5ca72913..00000000 --- a/packages/bukkit/src/typings/org.bukkit.material.types.MushroomBlockTexture.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace material { - namespace types { - // @ts-ignore - class MushroomBlockTexture { - public static ALL_PORES: org.bukkit.material.types.MushroomBlockTexture; - public static CAP_NORTH_WEST: org.bukkit.material.types.MushroomBlockTexture; - public static CAP_NORTH: org.bukkit.material.types.MushroomBlockTexture; - public static CAP_NORTH_EAST: org.bukkit.material.types.MushroomBlockTexture; - public static CAP_WEST: org.bukkit.material.types.MushroomBlockTexture; - public static CAP_TOP: org.bukkit.material.types.MushroomBlockTexture; - public static CAP_EAST: org.bukkit.material.types.MushroomBlockTexture; - public static CAP_SOUTH_WEST: org.bukkit.material.types.MushroomBlockTexture; - public static CAP_SOUTH: org.bukkit.material.types.MushroomBlockTexture; - public static CAP_SOUTH_EAST: org.bukkit.material.types.MushroomBlockTexture; - public static STEM_SIDES: org.bukkit.material.types.MushroomBlockTexture; - public static ALL_CAP: org.bukkit.material.types.MushroomBlockTexture; - public static ALL_STEM: org.bukkit.material.types.MushroomBlockTexture; - public static values(): org.bukkit.material.types.MushroomBlockTexture[]; - public static valueOf(name: string): org.bukkit.material.types.MushroomBlockTexture; - /** - * Gets the associated data value representing this mushroom block face. - */ - public getData(): number; - /** - * Gets the face that has cap texture. - */ - public getCapFace(): org.bukkit.block.BlockFace; - /** - * Gets the MushroomBlockType with the given data value. - */ - public static getByData(data: number): org.bukkit.material.types.MushroomBlockTexture; - /** - * Gets the MushroomBlockType with cap texture on the given block face. - */ - public static getCapByFace(face: org.bukkit.block.BlockFace): org.bukkit.material.types.MushroomBlockTexture; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.metadata.FixedMetadataValue.ts b/packages/bukkit/src/typings/org.bukkit.metadata.FixedMetadataValue.ts deleted file mode 100644 index f5979a4b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.metadata.FixedMetadataValue.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace metadata { - // @ts-ignore - class FixedMetadataValue extends org.bukkit.metadata.LazyMetadataValue { - /** - * Initializes a FixedMetadataValue with an Object - */ - constructor(owningPlugin: org.bukkit.plugin.Plugin, value: any) - public invalidate(): void; - public value(): any; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.metadata.LazyMetadataValue.CacheStrategy.ts b/packages/bukkit/src/typings/org.bukkit.metadata.LazyMetadataValue.CacheStrategy.ts deleted file mode 100644 index 4dd8ef94..00000000 --- a/packages/bukkit/src/typings/org.bukkit.metadata.LazyMetadataValue.CacheStrategy.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace metadata { - namespace LazyMetadataValue { - // @ts-ignore - class CacheStrategy { - public static CACHE_AFTER_FIRST_EVAL: org.bukkit.metadata.LazyMetadataValue.CacheStrategy; - public static NEVER_CACHE: org.bukkit.metadata.LazyMetadataValue.CacheStrategy; - public static CACHE_ETERNALLY: org.bukkit.metadata.LazyMetadataValue.CacheStrategy; - public static values(): org.bukkit.metadata.LazyMetadataValue.CacheStrategy[]; - public static valueOf(name: string): org.bukkit.metadata.LazyMetadataValue.CacheStrategy; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.metadata.LazyMetadataValue.ts b/packages/bukkit/src/typings/org.bukkit.metadata.LazyMetadataValue.ts deleted file mode 100644 index 70195962..00000000 --- a/packages/bukkit/src/typings/org.bukkit.metadata.LazyMetadataValue.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace metadata { - // @ts-ignore - class LazyMetadataValue extends org.bukkit.metadata.MetadataValueAdapter { - /** - * Initialized a LazyMetadataValue object with the default - * CACHE_AFTER_FIRST_EVAL cache strategy. - */ - constructor(owningPlugin: org.bukkit.plugin.Plugin, lazyValue: any) - /** - * Initializes a LazyMetadataValue object with a specific cache strategy. - */ - constructor(owningPlugin: org.bukkit.plugin.Plugin, cacheStrategy: org.bukkit.metadata.LazyMetadataValue.CacheStrategy, lazyValue: any) - /** - * Protected special constructor used by FixedMetadataValue to bypass - * standard setup. - */ - constructor(owningPlugin: org.bukkit.plugin.Plugin) - public value(): any; - public invalidate(): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.metadata.MetadataConversionException.ts b/packages/bukkit/src/typings/org.bukkit.metadata.MetadataConversionException.ts deleted file mode 100644 index fa872836..00000000 --- a/packages/bukkit/src/typings/org.bukkit.metadata.MetadataConversionException.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace metadata { - // @ts-ignore - class MetadataConversionException { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.metadata.MetadataEvaluationException.ts b/packages/bukkit/src/typings/org.bukkit.metadata.MetadataEvaluationException.ts deleted file mode 100644 index 2be244fa..00000000 --- a/packages/bukkit/src/typings/org.bukkit.metadata.MetadataEvaluationException.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace metadata { - // @ts-ignore - class MetadataEvaluationException { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.metadata.MetadataStore.ts b/packages/bukkit/src/typings/org.bukkit.metadata.MetadataStore.ts deleted file mode 100644 index 14494821..00000000 --- a/packages/bukkit/src/typings/org.bukkit.metadata.MetadataStore.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace metadata { - // @ts-ignore - interface MetadataStore { - /** - * Adds a metadata value to an object. - */ - setMetadata(subject: any, metadataKey: string, newMetadataValue: org.bukkit.metadata.MetadataValue): void; - /** - * Returns all metadata values attached to an object. If multiple plugins - * have attached metadata, each will value will be included. - */ - getMetadata(subject: any, metadataKey: string): any[] /*java.util.List*/; - /** - * Tests to see if a metadata attribute has been set on an object. - */ - hasMetadata(subject: any, metadataKey: string): boolean; - /** - * Removes a metadata item owned by a plugin from a subject. - */ - removeMetadata(subject: any, metadataKey: string, owningPlugin: org.bukkit.plugin.Plugin): void; - /** - * Invalidates all metadata in the metadata store that originates from the - * given plugin. Doing this will force each invalidated metadata item to - * be recalculated the next time it is accessed. - */ - invalidateAll(owningPlugin: org.bukkit.plugin.Plugin): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.metadata.MetadataStoreBase.ts b/packages/bukkit/src/typings/org.bukkit.metadata.MetadataStoreBase.ts deleted file mode 100644 index eefc230c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.metadata.MetadataStoreBase.ts +++ /dev/null @@ -1,55 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace metadata { - // @ts-ignore - abstract class MetadataStoreBase { - constructor() - /** - * Adds a metadata value to an object. Each metadata value is owned by a - * specific {@link Plugin}. If a plugin has already added a metadata value - * to an object, that value will be replaced with the value of {@code - * newMetadataValue}. Multiple plugins can set independent values for the - * same {@code metadataKey} without conflict. - *

- * Implementation note: I considered using a {@link - * java.util.concurrent.locks.ReadWriteLock} for controlling access to - * {@code metadataMap}, but decided that the added overhead wasn't worth - * the finer grained access control. - *

- * Bukkit is almost entirely single threaded so locking overhead shouldn't - * pose a problem. - */ - public setMetadata(subject: any, metadataKey: string, newMetadataValue: org.bukkit.metadata.MetadataValue): void; - /** - * Returns all metadata values attached to an object. If multiple - * have attached metadata, each will value will be included. - */ - public getMetadata(subject: any, metadataKey: string): any[] /*java.util.List*/; - /** - * Tests to see if a metadata attribute has been set on an object. - */ - public hasMetadata(subject: any, metadataKey: string): boolean; - /** - * Removes a metadata item owned by a plugin from a subject. - */ - public removeMetadata(subject: any, metadataKey: string, owningPlugin: org.bukkit.plugin.Plugin): void; - /** - * Invalidates all metadata in the metadata store that originates from the - * given plugin. Doing this will force each invalidated metadata item to - * be recalculated the next time it is accessed. - */ - public invalidateAll(owningPlugin: org.bukkit.plugin.Plugin): void; - /** - * Creates a unique name for the object receiving metadata by combining - * unique data from the subject with a metadataKey. - *

- * The name created must be globally unique for the given object and any - * two equivalent objects must generate the same unique name. For example, - * two Player objects must generate the same string if they represent the - * same player, even if the objects would fail a reference equality test. - */ - protected abstract disambiguate(subject: any, metadataKey: string): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.metadata.MetadataValue.ts b/packages/bukkit/src/typings/org.bukkit.metadata.MetadataValue.ts deleted file mode 100644 index 554b6f96..00000000 --- a/packages/bukkit/src/typings/org.bukkit.metadata.MetadataValue.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace metadata { - // @ts-ignore - interface MetadataValue { - /** - * Fetches the value of this metadata item. - */ - value(): any; - /** - * Attempts to convert the value of this metadata item into an int. - */ - asInt(): number; - /** - * Attempts to convert the value of this metadata item into a float. - */ - asFloat(): number; - /** - * Attempts to convert the value of this metadata item into a double. - */ - asDouble(): number; - /** - * Attempts to convert the value of this metadata item into a long. - */ - asLong(): number; - /** - * Attempts to convert the value of this metadata item into a short. - */ - asShort(): number; - /** - * Attempts to convert the value of this metadata item into a byte. - */ - asByte(): number; - /** - * Attempts to convert the value of this metadata item into a boolean. - */ - asBoolean(): boolean; - /** - * Attempts to convert the value of this metadata item into a string. - */ - asString(): string; - /** - * Returns the {@link Plugin} that created this metadata item. - */ - getOwningPlugin(): org.bukkit.plugin.Plugin; - /** - * Invalidates this metadata item, forcing it to recompute when next - * accessed. - */ - invalidate(): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.metadata.MetadataValueAdapter.ts b/packages/bukkit/src/typings/org.bukkit.metadata.MetadataValueAdapter.ts deleted file mode 100644 index d2cba9ef..00000000 --- a/packages/bukkit/src/typings/org.bukkit.metadata.MetadataValueAdapter.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace metadata { - // @ts-ignore - abstract class MetadataValueAdapter implements org.bukkit.metadata.MetadataValue { - constructor(owningPlugin: org.bukkit.plugin.Plugin) - protected owningPlugin: any; - public getOwningPlugin(): org.bukkit.plugin.Plugin; - public asInt(): number; - public asFloat(): number; - public asDouble(): number; - public asLong(): number; - public asShort(): number; - public asByte(): number; - public asBoolean(): boolean; - public asString(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.metadata.Metadatable.ts b/packages/bukkit/src/typings/org.bukkit.metadata.Metadatable.ts deleted file mode 100644 index f97223c0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.metadata.Metadatable.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace metadata { - // @ts-ignore - interface Metadatable { - /** - * Sets a metadata value in the implementing object's metadata store. - */ - setMetadata(metadataKey: string, newMetadataValue: org.bukkit.metadata.MetadataValue): void; - /** - * Returns a list of previously set metadata values from the implementing - * object's metadata store. - */ - getMetadata(metadataKey: string): any[] /*java.util.List*/; - /** - * Tests to see whether the implementing object contains the given - * metadata value in its metadata store. - */ - hasMetadata(metadataKey: string): boolean; - /** - * Removes the given metadata value from the implementing object's - * metadata store. - */ - removeMetadata(metadataKey: string, owningPlugin: org.bukkit.plugin.Plugin): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.permissions.Permissible.ts b/packages/bukkit/src/typings/org.bukkit.permissions.Permissible.ts deleted file mode 100644 index f24e2daf..00000000 --- a/packages/bukkit/src/typings/org.bukkit.permissions.Permissible.ts +++ /dev/null @@ -1,68 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace permissions { - // @ts-ignore - interface Permissible extends org.bukkit.permissions.ServerOperator { - /** - * Checks if this object contains an override for the specified - * permission, by fully qualified name - */ - isPermissionSet(name: string): boolean; - /** - * Checks if this object contains an override for the specified {@link - * Permission} - */ - isPermissionSet(perm: org.bukkit.permissions.Permission): boolean; - /** - * Gets the value of the specified permission, if set. - *

- * If a permission override is not set on this object, the default value - * of the permission will be returned. - */ - hasPermission(name: string): boolean; - /** - * Gets the value of the specified permission, if set. - *

- * If a permission override is not set on this object, the default value - * of the permission will be returned - */ - hasPermission(perm: org.bukkit.permissions.Permission): boolean; - /** - * Adds a new {@link PermissionAttachment} with a single permission by - * name and value - */ - addAttachment(plugin: org.bukkit.plugin.Plugin, name: string, value: boolean): org.bukkit.permissions.PermissionAttachment; - /** - * Adds a new empty {@link PermissionAttachment} to this object - */ - addAttachment(plugin: org.bukkit.plugin.Plugin): org.bukkit.permissions.PermissionAttachment; - /** - * Temporarily adds a new {@link PermissionAttachment} with a single - * permission by name and value - */ - addAttachment(plugin: org.bukkit.plugin.Plugin, name: string, value: boolean, ticks: number): org.bukkit.permissions.PermissionAttachment; - /** - * Temporarily adds a new empty {@link PermissionAttachment} to this - * object - */ - addAttachment(plugin: org.bukkit.plugin.Plugin, ticks: number): org.bukkit.permissions.PermissionAttachment; - /** - * Removes the given {@link PermissionAttachment} from this object - */ - removeAttachment(attachment: org.bukkit.permissions.PermissionAttachment): void; - /** - * Recalculates the permissions for this object, if the attachments have - * changed values. - *

- * This should very rarely need to be called from a plugin. - */ - recalculatePermissions(): void; - /** - * Gets a set containing all of the permissions currently in effect by - * this object - */ - getEffectivePermissions(): any[] /*java.util.Set*/; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.permissions.PermissibleBase.ts b/packages/bukkit/src/typings/org.bukkit.permissions.PermissibleBase.ts deleted file mode 100644 index 324439bc..00000000 --- a/packages/bukkit/src/typings/org.bukkit.permissions.PermissibleBase.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace permissions { - // @ts-ignore - class PermissibleBase implements org.bukkit.permissions.Permissible { - constructor(opable: org.bukkit.permissions.ServerOperator) - public isOp(): boolean; - public setOp(value: boolean): void; - public isPermissionSet(name: string): boolean; - public isPermissionSet(perm: org.bukkit.permissions.Permission): boolean; - public hasPermission(inName: string): boolean; - public hasPermission(perm: org.bukkit.permissions.Permission): boolean; - public addAttachment(plugin: org.bukkit.plugin.Plugin, name: string, value: boolean): org.bukkit.permissions.PermissionAttachment; - public addAttachment(plugin: org.bukkit.plugin.Plugin): org.bukkit.permissions.PermissionAttachment; - public removeAttachment(attachment: org.bukkit.permissions.PermissionAttachment): void; - public recalculatePermissions(): void; - public clearPermissions(): void; - public addAttachment(plugin: org.bukkit.plugin.Plugin, name: string, value: boolean, ticks: number): org.bukkit.permissions.PermissionAttachment; - public addAttachment(plugin: org.bukkit.plugin.Plugin, ticks: number): org.bukkit.permissions.PermissionAttachment; - public getEffectivePermissions(): any[] /*java.util.Set*/; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.permissions.Permission.ts b/packages/bukkit/src/typings/org.bukkit.permissions.Permission.ts deleted file mode 100644 index 6c05430a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.permissions.Permission.ts +++ /dev/null @@ -1,121 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace permissions { - // @ts-ignore - class Permission { - constructor(name: string) - constructor(name: string, description: string) - constructor(name: string, defaultValue: org.bukkit.permissions.PermissionDefault) - constructor(name: string, description: string, defaultValue: org.bukkit.permissions.PermissionDefault) - constructor(name: string, children: Map /*java.util.Map*/) - constructor(name: string, description: string, children: Map /*java.util.Map*/) - constructor(name: string, defaultValue: org.bukkit.permissions.PermissionDefault, children: Map /*java.util.Map*/) - constructor(name: string, description: string, defaultValue: org.bukkit.permissions.PermissionDefault, children: Map /*java.util.Map*/) - public static DEFAULT_PERMISSION: org.bukkit.permissions.PermissionDefault; - /** - * Returns the unique fully qualified name of this Permission - */ - public getName(): string; - /** - * Gets the children of this permission. - *

- * If you change this map in any form, you must call {@link - * #recalculatePermissibles()} to recalculate all {@link Permissible}s - */ - public getChildren(): Map /*java.util.Map*/; - /** - * Gets the default value of this permission. - */ - public getDefault(): org.bukkit.permissions.PermissionDefault; - /** - * Sets the default value of this permission. - *

- * This will not be saved to disk, and is a temporary operation until the - * server reloads permissions. Changing this default will cause all {@link - * Permissible}s that contain this permission to recalculate their - * permissions - */ - public setDefault(value: org.bukkit.permissions.PermissionDefault): void; - /** - * Gets a brief description of this permission, may be empty - */ - public getDescription(): string; - /** - * Sets the description of this permission. - *

- * This will not be saved to disk, and is a temporary operation until the - * server reloads permissions. - */ - public setDescription(value: string): void; - /** - * Gets a set containing every {@link Permissible} that has this - * permission. - *

- * This set cannot be modified. - */ - public getPermissibles(): any[] /*java.util.Set*/; - /** - * Recalculates all {@link Permissible}s that contain this permission. - *

- * This should be called after modifying the children, and is - * automatically called after modifying the default value - */ - public recalculatePermissibles(): void; - /** - * Adds this permission to the specified parent permission. - *

- * If the parent permission does not exist, it will be created and - * registered. - */ - public addParent(name: string, value: boolean): org.bukkit.permissions.Permission; - /** - * Adds this permission to the specified parent permission. - */ - public addParent(perm: org.bukkit.permissions.Permission, value: boolean): void; - /** - * Loads a list of Permissions from a map of data, usually used from - * retrieval from a yaml file. - *

- * The data may contain a list of name:data, where the data contains the - * following keys: - *

    - *
  • default: Boolean true or false. If not specified, false. - *
  • children: {@code Map} of child permissions. If not - * specified, empty list. - *
  • description: Short string containing a very small description of - * this description. If not specified, empty string. - *
- */ - public static loadPermissions(data: Map /*java.util.Map*/, error: string, def: org.bukkit.permissions.PermissionDefault): any[] /*java.util.List*/; - /** - * Loads a Permission from a map of data, usually used from retrieval from - * a yaml file. - *

- * The data may contain the following keys: - *

    - *
  • default: Boolean true or false. If not specified, false. - *
  • children: {@code Map} of child permissions. If not - * specified, empty list. - *
  • description: Short string containing a very small description of - * this description. If not specified, empty string. - *
- */ - public static loadPermission(name: string, data: Map /*java.util.Map*/): org.bukkit.permissions.Permission; - /** - * Loads a Permission from a map of data, usually used from retrieval from - * a yaml file. - *

- * The data may contain the following keys: - *

    - *
  • default: Boolean true or false. If not specified, false. - *
  • children: {@code Map} of child permissions. If not - * specified, empty list. - *
  • description: Short string containing a very small description of - * this description. If not specified, empty string. - *
- */ - public static loadPermission(name: string, data: Map /*java.util.Map*/, def: org.bukkit.permissions.PermissionDefault, output: any[] /*java.util.List*/): org.bukkit.permissions.Permission; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.permissions.PermissionAttachment.ts b/packages/bukkit/src/typings/org.bukkit.permissions.PermissionAttachment.ts deleted file mode 100644 index aa88d3cc..00000000 --- a/packages/bukkit/src/typings/org.bukkit.permissions.PermissionAttachment.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace permissions { - // @ts-ignore - class PermissionAttachment { - constructor(plugin: org.bukkit.plugin.Plugin, permissible: org.bukkit.permissions.Permissible) - /** - * Gets the plugin responsible for this attachment - */ - public getPlugin(): org.bukkit.plugin.Plugin; - /** - * Sets an object to be called for when this attachment is removed from a - * {@link Permissible}. May be null. - */ - public setRemovalCallback(ex: org.bukkit.permissions.PermissionRemovedExecutor): void; - /** - * Gets the class that was previously set to be called when this - * attachment was removed from a {@link Permissible}. May be null. - */ - public getRemovalCallback(): org.bukkit.permissions.PermissionRemovedExecutor; - /** - * Gets the Permissible that this is attached to - */ - public getPermissible(): org.bukkit.permissions.Permissible; - /** - * Gets a copy of all set permissions and values contained within this - * attachment. - *

- * This map may be modified but will not affect the attachment, as it is a - * copy. - */ - public getPermissions(): Map /*java.util.Map*/; - /** - * Sets a permission to the given value, by its fully qualified name - */ - public setPermission(name: string, value: boolean): void; - /** - * Sets a permission to the given value - */ - public setPermission(perm: org.bukkit.permissions.Permission, value: boolean): void; - /** - * Removes the specified permission from this attachment. - *

- * If the permission does not exist in this attachment, nothing will - * happen. - */ - public unsetPermission(name: string): void; - /** - * Removes the specified permission from this attachment. - *

- * If the permission does not exist in this attachment, nothing will - * happen. - */ - public unsetPermission(perm: org.bukkit.permissions.Permission): void; - /** - * Removes this attachment from its registered {@link Permissible} - */ - public remove(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.permissions.PermissionAttachmentInfo.ts b/packages/bukkit/src/typings/org.bukkit.permissions.PermissionAttachmentInfo.ts deleted file mode 100644 index e69cbed7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.permissions.PermissionAttachmentInfo.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace permissions { - // @ts-ignore - class PermissionAttachmentInfo { - constructor(permissible: org.bukkit.permissions.Permissible, permission: string, attachment: org.bukkit.permissions.PermissionAttachment, value: boolean) - /** - * Gets the permissible this is attached to - */ - public getPermissible(): org.bukkit.permissions.Permissible; - /** - * Gets the permission being set - */ - public getPermission(): string; - /** - * Gets the attachment providing this permission. This may be null for - * default permissions (usually parent permissions). - */ - public getAttachment(): org.bukkit.permissions.PermissionAttachment; - /** - * Gets the value of this permission - */ - public getValue(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.permissions.PermissionDefault.ts b/packages/bukkit/src/typings/org.bukkit.permissions.PermissionDefault.ts deleted file mode 100644 index f25d5805..00000000 --- a/packages/bukkit/src/typings/org.bukkit.permissions.PermissionDefault.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace permissions { - // @ts-ignore - class PermissionDefault { - public static TRUE: org.bukkit.permissions.PermissionDefault; - public static FALSE: org.bukkit.permissions.PermissionDefault; - public static OP: org.bukkit.permissions.PermissionDefault; - public static NOT_OP: org.bukkit.permissions.PermissionDefault; - public static values(): org.bukkit.permissions.PermissionDefault[]; - public static valueOf(name: string): org.bukkit.permissions.PermissionDefault; - /** - * Calculates the value of this PermissionDefault for the given operator - * value - */ - public getValue(op: boolean): boolean; - /** - * Looks up a PermissionDefault by name - */ - public static getByName(name: string): org.bukkit.permissions.PermissionDefault; - public toString(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.permissions.PermissionRemovedExecutor.ts b/packages/bukkit/src/typings/org.bukkit.permissions.PermissionRemovedExecutor.ts deleted file mode 100644 index a30a592b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.permissions.PermissionRemovedExecutor.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace permissions { - // @ts-ignore - interface PermissionRemovedExecutor { - /** - * Called when a {@link PermissionAttachment} is removed from a {@link - * Permissible} - */ - attachmentRemoved(attachment: org.bukkit.permissions.PermissionAttachment): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.permissions.ServerOperator.ts b/packages/bukkit/src/typings/org.bukkit.permissions.ServerOperator.ts deleted file mode 100644 index d83f117a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.permissions.ServerOperator.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace permissions { - // @ts-ignore - interface ServerOperator { - /** - * Checks if this object is a server operator - */ - isOp(): boolean; - /** - * Sets the operator status of this object - */ - setOp(value: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataAdapterContext.ts b/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataAdapterContext.ts deleted file mode 100644 index 9f034c75..00000000 --- a/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataAdapterContext.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace persistence { - // @ts-ignore - interface PersistentDataAdapterContext { - /** - * Creates a new and empty meta container instance. - */ - newPersistentDataContainer(): org.bukkit.persistence.PersistentDataContainer; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataContainer.ts b/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataContainer.ts deleted file mode 100644 index 41267bc1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataContainer.ts +++ /dev/null @@ -1,61 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace persistence { - // @ts-ignore - interface PersistentDataContainer { - /** - * Stores a metadata value on the {@link PersistentDataHolder} instance. - *

- * This API cannot be used to manipulate minecraft data, as the values will - * be stored using your namespace. This method will override any existing - * value the {@link PersistentDataHolder} may have stored under the provided - * key. - */ - set(key: org.bukkit.NamespacedKey, type: org.bukkit.persistence.PersistentDataType, value: any): void; - /** - * Returns if the persistent metadata provider has metadata registered - * matching the provided parameters. - *

- * This method will only return if the found value has the same primitive - * data type as the provided key. - *

- * Storing a value using a custom {@link PersistentDataType} implementation - * will not store the complex data type. Therefore storing a UUID (by - * storing a byte[]) will match has("key" , - * {@link PersistentDataType#BYTE_ARRAY}). Likewise a stored byte[] will - * always match your UUID {@link PersistentDataType} even if it is not 16 - * bytes long. - *

- * This method is only usable for custom object keys. Overwriting existing - * tags, like the the display name, will not work as the values are stored - * using your namespace. - */ - has(key: org.bukkit.NamespacedKey, type: org.bukkit.persistence.PersistentDataType): boolean; - /** - * Returns the metadata value that is stored on the - * {@link PersistentDataHolder} instance. - */ - get(key: org.bukkit.NamespacedKey, type: org.bukkit.persistence.PersistentDataType): any; - /** - * Returns the metadata value that is stored on the - * {@link PersistentDataHolder} instance. If the value does not exist in the - * container, the default value provided is returned. - */ - getOrDefault(key: org.bukkit.NamespacedKey, type: org.bukkit.persistence.PersistentDataType, defaultValue: any): any; - /** - * Removes a custom key from the {@link PersistentDataHolder} instance. - */ - remove(key: org.bukkit.NamespacedKey): void; - /** - * Returns if the container instance is empty, therefore has no entries - * inside it. - */ - isEmpty(): boolean; - /** - * Returns the adapter context this tag container uses. - */ - getAdapterContext(): org.bukkit.persistence.PersistentDataAdapterContext; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataHolder.ts b/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataHolder.ts deleted file mode 100644 index 068f31e0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataHolder.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace persistence { - // @ts-ignore - interface PersistentDataHolder { - /** - * Returns a custom tag container capable of storing tags on the object. - * Note that the tags stored on this container are all stored under their - * own custom namespace therefore modifying default tags using this - * {@link PersistentDataHolder} is impossible. - */ - getPersistentDataContainer(): org.bukkit.persistence.PersistentDataContainer; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataType.PrimitivePersistentDataType.ts b/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataType.PrimitivePersistentDataType.ts deleted file mode 100644 index e37c41d1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataType.PrimitivePersistentDataType.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace persistence { - namespace PersistentDataType { - // @ts-ignore - class PrimitivePersistentDataType implements org.bukkit.persistence.PersistentDataType { - public getPrimitiveType(): any; - public getComplexType(): any; - public toPrimitive(complex: any, context: org.bukkit.persistence.PersistentDataAdapterContext): any; - public fromPrimitive(primitive: any, context: org.bukkit.persistence.PersistentDataAdapterContext): any; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataType.ts b/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataType.ts deleted file mode 100644 index c86e56e1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.persistence.PersistentDataType.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace persistence { - // @ts-ignore - interface PersistentDataType { - BYTE: org.bukkit.persistence.PersistentDataType; - SHORT: org.bukkit.persistence.PersistentDataType; - INTEGER: org.bukkit.persistence.PersistentDataType; - LONG: org.bukkit.persistence.PersistentDataType; - FLOAT: org.bukkit.persistence.PersistentDataType; - DOUBLE: org.bukkit.persistence.PersistentDataType; - STRING: org.bukkit.persistence.PersistentDataType; - BYTE_ARRAY: org.bukkit.persistence.PersistentDataType; - INTEGER_ARRAY: org.bukkit.persistence.PersistentDataType; - LONG_ARRAY: org.bukkit.persistence.PersistentDataType; - TAG_CONTAINER: org.bukkit.persistence.PersistentDataType; - /** - * Returns the primitive data type of this tag. - */ - getPrimitiveType(): any; - /** - * Returns the complex object type the primitive value resembles. - */ - getComplexType(): any; - /** - * Returns the primitive data that resembles the complex object passed to - * this method. - */ - toPrimitive(complex: any, context: org.bukkit.persistence.PersistentDataAdapterContext): any; - /** - * Creates a complex object based of the passed primitive value - */ - fromPrimitive(primitive: any, context: org.bukkit.persistence.PersistentDataAdapterContext): any; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.AuthorNagException.ts b/packages/bukkit/src/typings/org.bukkit.plugin.AuthorNagException.ts deleted file mode 100644 index 2d820a45..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.AuthorNagException.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class AuthorNagException { - /** - * Constructs a new AuthorNagException based on the given Exception - */ - constructor(message: string) - public getMessage(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.EventExecutor.ts b/packages/bukkit/src/typings/org.bukkit.plugin.EventExecutor.ts deleted file mode 100644 index b35241e8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.EventExecutor.ts +++ /dev/null @@ -1,10 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - interface EventExecutor { - execute(listener: org.bukkit.event.Listener, event: org.bukkit.event.Event): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.IllegalPluginAccessException.ts b/packages/bukkit/src/typings/org.bukkit.plugin.IllegalPluginAccessException.ts deleted file mode 100644 index 1a089a8f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.IllegalPluginAccessException.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class IllegalPluginAccessException { - /** - * Creates a new instance of IllegalPluginAccessException - * without detail message. - */ - constructor() - /** - * Constructs an instance of IllegalPluginAccessException - * with the specified detail message. - */ - constructor(msg: string) - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.InvalidDescriptionException.ts b/packages/bukkit/src/typings/org.bukkit.plugin.InvalidDescriptionException.ts deleted file mode 100644 index 28a01465..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.InvalidDescriptionException.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class InvalidDescriptionException { - /** - * Constructs a new InvalidDescriptionException based on the given - * Exception - */ - constructor(cause: any, message: string) - /** - * Constructs a new InvalidDescriptionException based on the given - * Exception - */ - constructor(cause: any) - /** - * Constructs a new InvalidDescriptionException with the given message - */ - constructor(message: string) - /** - * Constructs a new InvalidDescriptionException - */ - constructor() - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.InvalidPluginException.ts b/packages/bukkit/src/typings/org.bukkit.plugin.InvalidPluginException.ts deleted file mode 100644 index 6f5349fe..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.InvalidPluginException.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class InvalidPluginException { - /** - * Constructs a new InvalidPluginException based on the given Exception - */ - constructor(cause: any) - /** - * Constructs a new InvalidPluginException - */ - constructor() - /** - * Constructs a new InvalidPluginException with the specified detail - * message and cause. - */ - constructor(message: string, cause: any) - /** - * Constructs a new InvalidPluginException with the specified detail - * message - */ - constructor(message: string) - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.Plugin.ts b/packages/bukkit/src/typings/org.bukkit.plugin.Plugin.ts deleted file mode 100644 index 3bf8d130..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.Plugin.ts +++ /dev/null @@ -1,107 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - interface Plugin extends org.bukkit.command.TabExecutor { - /** - * Returns the folder that the plugin data's files are located in. The - * folder may not yet exist. - */ - getDataFolder(): any; - /** - * Returns the plugin.yaml file containing the details for this plugin - */ - getDescription(): org.bukkit.plugin.PluginDescriptionFile; - /** - * Gets a {@link FileConfiguration} for this plugin, read through - * "config.yml" - *

- * If there is a default config.yml embedded in this plugin, it will be - * provided as a default for this Configuration. - */ - getConfig(): org.bukkit.configuration.file.FileConfiguration; - /** - * Gets an embedded resource in this plugin - */ - getResource(filename: string): any; - /** - * Saves the {@link FileConfiguration} retrievable by {@link #getConfig()}. - */ - saveConfig(): void; - /** - * Saves the raw contents of the default config.yml file to the location - * retrievable by {@link #getConfig()}. - *

- * This should fail silently if the config.yml already exists. - */ - saveDefaultConfig(): void; - /** - * Saves the raw contents of any resource embedded with a plugin's .jar - * file assuming it can be found using {@link #getResource(String)}. - *

- * The resource is saved into the plugin's data folder using the same - * hierarchy as the .jar file (subdirectories are preserved). - */ - saveResource(resourcePath: string, replace: boolean): void; - /** - * Discards any data in {@link #getConfig()} and reloads from disk. - */ - reloadConfig(): void; - /** - * Gets the associated PluginLoader responsible for this plugin - */ - getPluginLoader(): org.bukkit.plugin.PluginLoader; - /** - * Returns the Server instance currently running this plugin - */ - getServer(): org.bukkit.Server; - /** - * Returns a value indicating whether or not this plugin is currently - * enabled - */ - isEnabled(): boolean; - /** - * Called when this plugin is disabled - */ - onDisable(): void; - /** - * Called after a plugin is loaded but before it has been enabled. - *

- * When multiple plugins are loaded, the onLoad() for all plugins is - * called before any onEnable() is called. - */ - onLoad(): void; - /** - * Called when this plugin is enabled - */ - onEnable(): void; - /** - * Simple boolean if we can still nag to the logs about things - */ - isNaggable(): boolean; - /** - * Set naggable state - */ - setNaggable(canNag: boolean): void; - /** - * Gets a {@link ChunkGenerator} for use in a default world, as specified - * in the server configuration - */ - getDefaultWorldGenerator(worldName: string, id: string): org.bukkit.generator.ChunkGenerator; - /** - * Returns the plugin logger associated with this server's logger. The - * returned logger automatically tags all log messages with the plugin's - * name. - */ - getLogger(): any; - /** - * Returns the name of the plugin. - *

- * This should return the bare name of the plugin and should be used for - * comparison. - */ - getName(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.PluginAwareness.Flags.ts b/packages/bukkit/src/typings/org.bukkit.plugin.PluginAwareness.Flags.ts deleted file mode 100644 index 6f3764e5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.PluginAwareness.Flags.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - namespace PluginAwareness { - // @ts-ignore - class Flags implements org.bukkit.plugin.PluginAwareness { - public static UTF8: org.bukkit.plugin.PluginAwareness.Flags; - public static values(): org.bukkit.plugin.PluginAwareness.Flags[]; - public static valueOf(name: string): org.bukkit.plugin.PluginAwareness.Flags; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.PluginAwareness.ts b/packages/bukkit/src/typings/org.bukkit.plugin.PluginAwareness.ts deleted file mode 100644 index 9119c7f4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.PluginAwareness.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - interface PluginAwareness { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.PluginBase.ts b/packages/bukkit/src/typings/org.bukkit.plugin.PluginBase.ts deleted file mode 100644 index 930c1f26..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.PluginBase.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - abstract class PluginBase implements org.bukkit.plugin.Plugin { - constructor() - public hashCode(): number; - public equals(obj: any): boolean; - public getName(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.PluginDescriptionFile.ts b/packages/bukkit/src/typings/org.bukkit.plugin.PluginDescriptionFile.ts deleted file mode 100644 index 05cd8014..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.PluginDescriptionFile.ts +++ /dev/null @@ -1,533 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class PluginDescriptionFile { - constructor(stream: any) - /** - * Loads a PluginDescriptionFile from the specified reader - */ - constructor(reader: any) - /** - * Creates a new PluginDescriptionFile with the given detailed - */ - constructor(pluginName: string, pluginVersion: string, mainClass: string) - /** - * Gives the name of the plugin. This name is a unique identifier for - * plugins. - *

    - *
  • Must consist of all alphanumeric characters, underscores, hyphon, - * and period (a-z,A-Z,0-9, _.-). Any other character will cause the - * plugin.yml to fail loading. - *
  • Used to determine the name of the plugin's data folder. Data - * folders are placed in the ./plugins/ directory by default, but this - * behavior should not be relied on. {@link Plugin#getDataFolder()} - * should be used to reference the data folder. - *
  • It is good practice to name your jar the same as this, for example - * 'MyPlugin.jar'. - *
  • Case sensitive. - *
  • The is the token referenced in {@link #getDepend()}, {@link - * #getSoftDepend()}, and {@link #getLoadBefore()}. - *
  • Using spaces in the plugin's name is deprecated. - *
- *

- * In the plugin.yml, this entry is named name. - *

- * Example:

name: MyPlugin
- */ - public getName(): string; - /** - * Gives the version of the plugin. - *
    - *
  • Version is an arbitrary string, however the most common format is - * MajorRelease.MinorRelease.Build (eg: 1.4.1). - *
  • Typically you will increment this every time you release a new - * feature or bug fix. - *
  • Displayed when a user types /version PluginName - *
- *

- * In the plugin.yml, this entry is named version. - *

- * Example:

version: 1.4.1
- */ - public getVersion(): string; - /** - * Gives the fully qualified name of the main class for a plugin. The - * format should follow the {@link ClassLoader#loadClass(String)} syntax - * to successfully be resolved at runtime. For most plugins, this is the - * class that extends {@link JavaPlugin}. - *
    - *
  • This must contain the full namespace including the class file - * itself. - *
  • If your namespace is org.bukkit.plugin, and your class - * file is called MyPlugin then this must be - * org.bukkit.plugin.MyPlugin - *
  • No plugin can use org.bukkit. as a base package for - * any class, including the main class. - *
- *

- * In the plugin.yml, this entry is named main. - *

- * Example: - *

main: org.bukkit.plugin.MyPlugin
- */ - public getMain(): string; - /** - * Gives a human-friendly description of the functionality the plugin - * provides. - *
    - *
  • The description can have multiple lines. - *
  • Displayed when a user types /version PluginName - *
- *

- * In the plugin.yml, this entry is named description. - *

- * Example: - *

description: This plugin is so 31337. You can set yourself on fire.
- */ - public getDescription(): string; - /** - * Gives the phase of server startup that the plugin should be loaded. - *
    - *
  • Possible values are in {@link PluginLoadOrder}. - *
  • Defaults to {@link PluginLoadOrder#POSTWORLD}. - *
  • Certain caveats apply to each phase. - *
  • When different, {@link #getDepend()}, {@link #getSoftDepend()}, and - * {@link #getLoadBefore()} become relative in order loaded per-phase. - * If a plugin loads at STARTUP, but a dependency loads - * at POSTWORLD, the dependency will not be loaded before - * the plugin is loaded. - *
- *

- * In the plugin.yml, this entry is named load. - *

- * Example:

load: STARTUP
- */ - public getLoad(): org.bukkit.plugin.PluginLoadOrder; - /** - * Gives the list of authors for the plugin. - *
    - *
  • Gives credit to the developer. - *
  • Used in some server error messages to provide helpful feedback on - * who to contact when an error occurs. - *
  • A bukkit.org forum handle or email address is recommended. - *
  • Is displayed when a user types /version PluginName - *
  • authors must be in YAML list - * format. - *
- *

- * In the plugin.yml, this has two entries, author and - * authors. - *

- * Single author example: - *

author: CaptainInflamo
- * Multiple author example: - *
authors: [Cogito, verrier, EvilSeph]
- * When both are specified, author will be the first entry in the list, so - * this example: - *
author: Grum
-                 * authors:
-                 * - feildmaster
-                 * - amaranth
- * Is equivilant to this example: - *
authors: [Grum, feildmaster, aramanth]
- */ - public getAuthors(): any[] /*java.util.List*/; - /** - * Gives the plugin's or plugin's author's website. - *
    - *
  • A link to the Curse page that includes documentation and downloads - * is highly recommended. - *
  • Displayed when a user types /version PluginName - *
- *

- * In the plugin.yml, this entry is named website. - *

- * Example: - *

website: http://www.curse.com/server-mods/minecraft/myplugin
- */ - public getWebsite(): string; - /** - * Gives a list of other plugins that the plugin requires. - *
    - *
  • Use the value in the {@link #getName()} of the target plugin to - * specify the dependency. - *
  • If any plugin listed here is not found, your plugin will fail to - * load at startup. - *
  • If multiple plugins list each other in depend, - * creating a network with no individual plugin does not list another - * plugin in the network, - * all plugins in that network will fail. - *
  • depend must be in must be in YAML list - * format. - *
- *

- * In the plugin.yml, this entry is named depend. - *

- * Example: - *

depend:
-                 * - OnePlugin
-                 * - AnotherPlugin
- */ - public getDepend(): any[] /*java.util.List*/; - /** - * Gives a list of other plugins that the plugin requires for full - * functionality. The {@link PluginManager} will make best effort to treat - * all entries here as if they were a {@link #getDepend() dependency}, but - * will never fail because of one of these entries. - *
    - *
  • Use the value in the {@link #getName()} of the target plugin to - * specify the dependency. - *
  • When an unresolvable plugin is listed, it will be ignored and does - * not affect load order. - *
  • When a circular dependency occurs (a network of plugins depending - * or soft-dependending each other), it will arbitrarily choose a - * plugin that can be resolved when ignoring soft-dependencies. - *
  • softdepend must be in YAML list - * format. - *
- *

- * In the plugin.yml, this entry is named softdepend. - *

- * Example: - *

softdepend: [OnePlugin, AnotherPlugin]
- */ - public getSoftDepend(): any[] /*java.util.List*/; - /** - * Gets the list of plugins that should consider this plugin a - * soft-dependency. - *
    - *
  • Use the value in the {@link #getName()} of the target plugin to - * specify the dependency. - *
  • The plugin should load before any other plugins listed here. - *
  • Specifying another plugin here is strictly equivalent to having the - * specified plugin's {@link #getSoftDepend()} include {@link - * #getName() this plugin}. - *
  • loadbefore must be in YAML list - * format. - *
- *

- * In the plugin.yml, this entry is named loadbefore. - *

- * Example: - *

loadbefore:
-                 * - OnePlugin
-                 * - AnotherPlugin
- */ - public getLoadBefore(): any[] /*java.util.List*/; - /** - * Gives the token to prefix plugin-specific logging messages with. - *
    - *
  • This includes all messages using {@link Plugin#getLogger()}. - *
  • If not specified, the server uses the plugin's {@link #getName() - * name}. - *
  • This should clearly indicate what plugin is being logged. - *
- *

- * In the plugin.yml, this entry is named prefix. - *

- * Example:

prefix: ex-why-zee
- */ - public getPrefix(): string; - /** - * Gives the map of command-name to command-properties. Each entry in this - * map corresponds to a single command and the respective values are the - * properties of the command. Each property, with the exception of - * aliases, can be defined at runtime using methods in {@link - * PluginCommand} and are defined here only as a convenience. - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
The command section's description
NodeMethodTypeDescriptionExample
description{@link PluginCommand#setDescription(String)}StringA user-friendly description for a command. It is useful for - * documentation purposes as well as in-game help.
description: Set yourself on fire
aliases{@link PluginCommand#setAliases(List)}String or List of - * stringsAlternative command names, with special usefulness for commands - * that are already registered. Aliases are not effective when - * defined at runtime, so the plugin description file is the - * only way to have them properly defined. - *

- * Note: Command aliases may not have a colon in them.

Single alias format: - *
aliases: combust_me
or - * multiple alias format: - *
aliases: [combust_me, combustMe]
permission{@link PluginCommand#setPermission(String)}StringThe name of the {@link Permission} required to use the command. - * A user without the permission will receive the specified - * message (see {@linkplain - * PluginCommand#setPermissionMessage(String) below}), or a - * standard one if no specific message is defined. Without the - * permission node, no {@link - * PluginCommand#setExecutor(CommandExecutor) CommandExecutor} or - * {@link PluginCommand#setTabCompleter(TabCompleter)} will be called.
permission: inferno.flagrate
permission-message{@link PluginCommand#setPermissionMessage(String)}String
    - *
  • Displayed to a player that attempts to use a command, but - * does not have the required permission. See {@link - * PluginCommand#getPermission() above}. - *
  • <permission> is a macro that is replaced with the - * permission node required to use the command. - *
  • Using empty quotes is a valid way to indicate nothing - * should be displayed to a player. - *
permission-message: You do not have /<permission>
usage{@link PluginCommand#setUsage(String)}StringThis message is displayed to a player when the {@link - * PluginCommand#setExecutor(CommandExecutor)} {@linkplain - * CommandExecutor#onCommand(CommandSender, Command, String, String[]) returns false}. - * <command> is a macro that is replaced the command issued.
usage: Syntax error! Perhaps you meant /<command> PlayerName?
- * It is worth noting that to use a colon in a yaml, like - * `usage: Usage: /god [player]', you need to - * surround - * the message with double-quote: - *
usage: "Usage: /god [player]"
- * The commands are structured as a hiearchy of nested mappings. - * The primary (top-level, no intendentation) node is - * `commands', while each individual command name is - * indented, indicating it maps to some value (in our case, the - * properties of the table above). - *

- * Here is an example bringing together the piecemeal examples above, as - * well as few more definitions:

-                 * commands:
-                 * flagrate:
-                 * description: Set yourself on fire.
-                 * aliases: [combust_me, combustMe]
-                 * permission: inferno.flagrate
-                 * permission-message: You do not have /<permission>
-                 * usage: Syntax error! Perhaps you meant /<command> PlayerName?
-                 * burningdeaths:
-                 * description: List how many times you have died by fire.
-                 * aliases:
-                 * - burning_deaths
-                 * - burningDeaths
-                 * permission: inferno.burningdeaths
-                 * usage: |
-                 * /<command> [player]
-                 * Example: /<command> - see how many times you have burned to death
-                 * Example: /<command> CaptainIce - see how many times CaptainIce has burned to death
-                 * # The next command has no description, aliases, etc. defined, but is still valid
-                 * # Having an empty declaration is useful for defining the description, permission, and messages from a configuration dynamically
-                 * apocalypse:
-                 * 
- * Note: Command names may not have a colon in their name. - */ - public getCommands(): Map /*java.util.Map*/; - /** - * Gives the list of permissions the plugin will register at runtime, - * immediately proceding enabling. The format for defining permissions is - * a map from permission name to properties. To represent a map without - * any specific property, empty curly-braces ( - * {} ) may be used (as a null value is not - * accepted, unlike the {@link #getCommands() commands} above). - *

- * A list of optional properties for permissions: - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
The permission section's description
NodeDescriptionExample
descriptionPlaintext (user-friendly) description of what the permission - * is for.
description: Allows you to set yourself on fire
defaultThe default state for the permission, as defined by {@link - * Permission#getDefault()}. If not defined, it will be set to - * the value of {@link PluginDescriptionFile#getPermissionDefault()}. - *

- * For reference:

    - *
  • true - Represents a positive assignment to - * {@link Permissible permissibles}. - *
  • false - Represents no assignment to {@link - * Permissible permissibles}. - *
  • op - Represents a positive assignment to - * {@link Permissible#isOp() operator permissibles}. - *
  • notop - Represents a positive assignment to - * {@link Permissible#isOp() non-operator permissibiles}. - *
default: true
childrenAllows other permissions to be set as a {@linkplain - * Permission#getChildren() relation} to the parent permission. - * When a parent permissions is assigned, child permissions are - * respectively assigned as well. - *
    - *
  • When a parent permission is assigned negatively, child - * permissions are assigned based on an inversion of their - * association. - *
  • When a parent permission is assigned positively, child - * permissions are assigned based on their association. - *
- *

- * Child permissions may be defined in a number of ways:

    - *
  • Children may be defined as a list of - * names. Using a list will treat all children associated - * positively to their parent. - *
  • Children may be defined as a map. Each permission name maps - * to either a boolean (representing the association), or a - * nested permission definition (just as another permission). - * Using a nested definition treats the child as a positive - * association. - *
  • A nested permission definition must be a map of these same - * properties. To define a valid nested permission without - * defining any specific property, empty curly-braces ( - * {} ) must be used. - *
  • A nested permission may carry it's own nested permissions - * as children, as they may also have nested permissions, and - * so forth. There is no direct limit to how deep the - * permission tree is defined. - *
As a list: - *
children: [inferno.flagrate, inferno.burningdeaths]
- * Or as a mapping: - *
children:
-                 * inferno.flagrate: true
-                 * inferno.burningdeaths: true
- * An additional example showing basic nested values can be seen - * here. - *
- * The permissions are structured as a hiearchy of nested mappings. - * The primary (top-level, no intendentation) node is - * `permissions', while each individual permission name is - * indented, indicating it maps to some value (in our case, the - * properties of the table above). - *

- * Here is an example using some of the properties:

-                 * permissions:
-                 * inferno.*:
-                 * description: Gives access to all Inferno commands
-                 * children:
-                 * inferno.flagrate: true
-                 * inferno.burningdeaths: true
-                 * inferno.flagate:
-                 * description: Allows you to ignite yourself
-                 * default: true
-                 * inferno.burningdeaths:
-                 * description: Allows you to see how many times you have burned to death
-                 * default: true
-                 * 
- * Another example, with nested definitions, can be found here. - */ - public getPermissions(): any[] /*java.util.List*/; - /** - * Gives the default {@link Permission#getDefault() default} state of - * {@link #getPermissions() permissions} registered for the plugin. - *
    - *
  • If not specified, it will be {@link PermissionDefault#OP}. - *
  • It is matched using {@link PermissionDefault#getByName(String)} - *
  • It only affects permissions that do not define the - * default node. - *
  • It may be any value in {@link PermissionDefault}. - *
- *

- * In the plugin.yml, this entry is named default-permission. - *

- * Example:

default-permission: NOT_OP
- */ - public getPermissionDefault(): org.bukkit.permissions.PermissionDefault; - /** - * Gives a set of every {@link PluginAwareness} for a plugin. An awareness - * dictates something that a plugin developer acknowledges when the plugin - * is compiled. Some implementions may define extra awarenesses that are - * not included in the API. Any unrecognized - * awareness (one unsupported or in a future version) will cause a dummy - * object to be created instead of failing. - *
    - *
  • Currently only supports the enumerated values in {@link - * PluginAwareness.Flags}. - *
  • Each awareness starts the identifier with bang-at - * (!@). - *
  • Unrecognized (future / unimplemented) entries are quietly replaced - * by a generic object that implements PluginAwareness. - *
  • A type of awareness must be defined by the runtime and acknowledged - * by the API, effectively discluding any derived type from any - * plugin's classpath. - *
  • awareness must be in YAML list - * format. - *
- *

- * In the plugin.yml, this entry is named awareness. - *

- * Example:

awareness:
-                 * - !@UTF8
- *

- * Note: Although unknown versions of some future awareness are - * gracefully substituted, previous versions of Bukkit (ones prior to the - * first implementation of awareness) will fail to load a plugin that - * defines any awareness. - */ - public getAwareness(): any[] /*java.util.Set*/; - /** - * Returns the name of a plugin, including the version. This method is - * provided for convenience; it uses the {@link #getName()} and {@link - * #getVersion()} entries. - */ - public getFullName(): string; - /** - * Gives the API version which this plugin is designed to support. No - * specific format is guaranteed. - *

    - *
  • Refer to release notes for supported API versions. - *
- *

- * In the plugin.yml, this entry is named api-version. - *

- * Example:

api-version: 1.13
- */ - public getAPIVersion(): string; - public getClassLoaderOf(): string; - /** - * Saves this PluginDescriptionFile to the given writer - */ - public save(writer: any): void; - public getRawName(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.PluginLoadOrder.ts b/packages/bukkit/src/typings/org.bukkit.plugin.PluginLoadOrder.ts deleted file mode 100644 index 4610d403..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.PluginLoadOrder.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class PluginLoadOrder { - public static STARTUP: org.bukkit.plugin.PluginLoadOrder; - public static POSTWORLD: org.bukkit.plugin.PluginLoadOrder; - public static values(): org.bukkit.plugin.PluginLoadOrder[]; - public static valueOf(name: string): org.bukkit.plugin.PluginLoadOrder; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.PluginLoader.ts b/packages/bukkit/src/typings/org.bukkit.plugin.PluginLoader.ts deleted file mode 100644 index cb657a0d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.PluginLoader.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - interface PluginLoader { - /** - * Loads the plugin contained in the specified file - */ - loadPlugin(file: any): org.bukkit.plugin.Plugin; - /** - * Loads a PluginDescriptionFile from the specified file - */ - getPluginDescription(file: any): org.bukkit.plugin.PluginDescriptionFile; - /** - * Returns a list of all filename filters expected by this PluginLoader - */ - getPluginFileFilters(): any; - /** - * Creates and returns registered listeners for the event classes used in - * this listener - */ - createRegisteredListeners(listener: org.bukkit.event.Listener, plugin: org.bukkit.plugin.Plugin): Map /*java.util.Map*/; - /** - * Enables the specified plugin - *

- * Attempting to enable a plugin that is already enabled will have no - * effect - */ - enablePlugin(plugin: org.bukkit.plugin.Plugin): void; - /** - * Disables the specified plugin - *

- * Attempting to disable a plugin that is not enabled will have no effect - */ - disablePlugin(plugin: org.bukkit.plugin.Plugin): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.PluginLogger.ts b/packages/bukkit/src/typings/org.bukkit.plugin.PluginLogger.ts deleted file mode 100644 index c7fbc4e6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.PluginLogger.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class PluginLogger { - /** - * Creates a new PluginLogger that extracts the name from a plugin. - */ - constructor(context: org.bukkit.plugin.Plugin) - public log(logRecord: any): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.PluginManager.ts b/packages/bukkit/src/typings/org.bukkit.plugin.PluginManager.ts deleted file mode 100644 index 34980518..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.PluginManager.ts +++ /dev/null @@ -1,166 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - interface PluginManager { - /** - * Registers the specified plugin loader - */ - registerInterface(loader: any): void; - /** - * Checks if the given plugin is loaded and returns it when applicable - *

- * Please note that the name of the plugin is case-sensitive - */ - getPlugin(name: string): org.bukkit.plugin.Plugin; - /** - * Gets a list of all currently loaded plugins - */ - getPlugins(): org.bukkit.plugin.Plugin[]; - /** - * Checks if the given plugin is enabled or not - *

- * Please note that the name of the plugin is case-sensitive. - */ - isPluginEnabled(name: string): boolean; - /** - * Checks if the given plugin is enabled or not - */ - isPluginEnabled(plugin: org.bukkit.plugin.Plugin): boolean; - /** - * Loads the plugin in the specified file - *

- * File must be valid according to the current enabled Plugin interfaces - */ - loadPlugin(file: any): org.bukkit.plugin.Plugin; - /** - * Loads the plugins contained within the specified directory - */ - loadPlugins(directory: any): org.bukkit.plugin.Plugin[]; - /** - * Disables all the loaded plugins - */ - disablePlugins(): void; - /** - * Disables and removes all plugins - */ - clearPlugins(): void; - /** - * Calls an event with the given details - */ - callEvent(event: org.bukkit.event.Event): void; - /** - * Registers all the events in the given listener class - */ - registerEvents(listener: org.bukkit.event.Listener, plugin: org.bukkit.plugin.Plugin): void; - /** - * Registers the specified executor to the given event class - */ - registerEvent(event: any, listener: org.bukkit.event.Listener, priority: org.bukkit.event.EventPriority, executor: org.bukkit.plugin.EventExecutor, plugin: org.bukkit.plugin.Plugin): void; - /** - * Registers the specified executor to the given event class - */ - registerEvent(event: any, listener: org.bukkit.event.Listener, priority: org.bukkit.event.EventPriority, executor: org.bukkit.plugin.EventExecutor, plugin: org.bukkit.plugin.Plugin, ignoreCancelled: boolean): void; - /** - * Enables the specified plugin - *

- * Attempting to enable a plugin that is already enabled will have no - * effect - */ - enablePlugin(plugin: org.bukkit.plugin.Plugin): void; - /** - * Disables the specified plugin - *

- * Attempting to disable a plugin that is not enabled will have no effect - */ - disablePlugin(plugin: org.bukkit.plugin.Plugin): void; - /** - * Gets a {@link Permission} from its fully qualified name - */ - getPermission(name: string): org.bukkit.permissions.Permission; - /** - * Adds a {@link Permission} to this plugin manager. - *

- * If a permission is already defined with the given name of the new - * permission, an exception will be thrown. - */ - addPermission(perm: org.bukkit.permissions.Permission): void; - /** - * Removes a {@link Permission} registration from this plugin manager. - *

- * If the specified permission does not exist in this plugin manager, - * nothing will happen. - *

- * Removing a permission registration will not remove the - * permission from any {@link Permissible}s that have it. - */ - removePermission(perm: org.bukkit.permissions.Permission): void; - /** - * Removes a {@link Permission} registration from this plugin manager. - *

- * If the specified permission does not exist in this plugin manager, - * nothing will happen. - *

- * Removing a permission registration will not remove the - * permission from any {@link Permissible}s that have it. - */ - removePermission(name: string): void; - /** - * Gets the default permissions for the given op status - */ - getDefaultPermissions(op: boolean): any[] /*java.util.Set*/; - /** - * Recalculates the defaults for the given {@link Permission}. - *

- * This will have no effect if the specified permission is not registered - * here. - */ - recalculatePermissionDefaults(perm: org.bukkit.permissions.Permission): void; - /** - * Subscribes the given Permissible for information about the requested - * Permission, by name. - *

- * If the specified Permission changes in any form, the Permissible will - * be asked to recalculate. - */ - subscribeToPermission(permission: string, permissible: org.bukkit.permissions.Permissible): void; - /** - * Unsubscribes the given Permissible for information about the requested - * Permission, by name. - */ - unsubscribeFromPermission(permission: string, permissible: org.bukkit.permissions.Permissible): void; - /** - * Gets a set containing all subscribed {@link Permissible}s to the given - * permission, by name - */ - getPermissionSubscriptions(permission: string): any[] /*java.util.Set*/; - /** - * Subscribes to the given Default permissions by operator status - *

- * If the specified defaults change in any form, the Permissible will be - * asked to recalculate. - */ - subscribeToDefaultPerms(op: boolean, permissible: org.bukkit.permissions.Permissible): void; - /** - * Unsubscribes from the given Default permissions by operator status - */ - unsubscribeFromDefaultPerms(op: boolean, permissible: org.bukkit.permissions.Permissible): void; - /** - * Gets a set containing all subscribed {@link Permissible}s to the given - * default list, by op status - */ - getDefaultPermSubscriptions(op: boolean): any[] /*java.util.Set*/; - /** - * Gets a set of all registered permissions. - *

- * This set is a copy and will not be modified live. - */ - getPermissions(): any[] /*java.util.Set*/; - /** - * Returns whether or not timing code should be used for event calls - */ - useTimings(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.RegisteredListener.ts b/packages/bukkit/src/typings/org.bukkit.plugin.RegisteredListener.ts deleted file mode 100644 index 5a37faa9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.RegisteredListener.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class RegisteredListener { - constructor(listener: org.bukkit.event.Listener, executor: org.bukkit.plugin.EventExecutor, priority: org.bukkit.event.EventPriority, plugin: org.bukkit.plugin.Plugin, ignoreCancelled: boolean) - /** - * Gets the listener for this registration - */ - public getListener(): org.bukkit.event.Listener; - /** - * Gets the plugin for this registration - */ - public getPlugin(): org.bukkit.plugin.Plugin; - /** - * Gets the priority for this registration - */ - public getPriority(): org.bukkit.event.EventPriority; - /** - * Calls the event executor - */ - public callEvent(event: org.bukkit.event.Event): void; - /** - * Whether this listener accepts cancelled events - */ - public isIgnoringCancelled(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.RegisteredServiceProvider.ts b/packages/bukkit/src/typings/org.bukkit.plugin.RegisteredServiceProvider.ts deleted file mode 100644 index d866a86a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.RegisteredServiceProvider.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class RegisteredServiceProvider { - constructor(service: any, provider: any, priority: org.bukkit.plugin.ServicePriority, plugin: org.bukkit.plugin.Plugin) - public getService(): any; - public getPlugin(): org.bukkit.plugin.Plugin; - public getProvider(): any; - public getPriority(): org.bukkit.plugin.ServicePriority; - public compareTo(other: org.bukkit.plugin.RegisteredServiceProvider): number; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.ServicePriority.ts b/packages/bukkit/src/typings/org.bukkit.plugin.ServicePriority.ts deleted file mode 100644 index 098ebb73..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.ServicePriority.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class ServicePriority { - public static Lowest: org.bukkit.plugin.ServicePriority; - public static Low: org.bukkit.plugin.ServicePriority; - public static Normal: org.bukkit.plugin.ServicePriority; - public static High: org.bukkit.plugin.ServicePriority; - public static Highest: org.bukkit.plugin.ServicePriority; - public static values(): org.bukkit.plugin.ServicePriority[]; - public static valueOf(name: string): org.bukkit.plugin.ServicePriority; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.ServicesManager.ts b/packages/bukkit/src/typings/org.bukkit.plugin.ServicesManager.ts deleted file mode 100644 index 4e7c6768..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.ServicesManager.ts +++ /dev/null @@ -1,55 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - interface ServicesManager { - /** - * Register a provider of a service. - */ - register(service: any, provider: any, plugin: org.bukkit.plugin.Plugin, priority: org.bukkit.plugin.ServicePriority): void; - /** - * Unregister all the providers registered by a particular plugin. - */ - unregisterAll(plugin: org.bukkit.plugin.Plugin): void; - /** - * Unregister a particular provider for a particular service. - */ - unregister(service: any, provider: any): void; - /** - * Unregister a particular provider. - */ - unregister(provider: any): void; - /** - * Queries for a provider. This may return if no provider has been - * registered for a service. The highest priority provider is returned. - */ - load(service: any): any; - /** - * Queries for a provider registration. This may return if no provider - * has been registered for a service. - */ - getRegistration(service: any): org.bukkit.plugin.RegisteredServiceProvider; - /** - * Get registrations of providers for a plugin. - */ - getRegistrations(plugin: org.bukkit.plugin.Plugin): any[] /*java.util.List*/; - /** - * Get registrations of providers for a service. The returned list is - * unmodifiable. - */ - getRegistrations(service: any): any[] /*java.util.Collection*/; - /** - * Get a list of known services. A service is known if it has registered - * providers for it. - */ - getKnownServices(): any[] /*java.util.Collection*/; - /** - * Returns whether a provider has been registered for a service. Do not - * check this first only to call load(service) later, as that - * would be a non-thread safe situation. - */ - isProvidedFor(service: any): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.SimplePluginManager.ts b/packages/bukkit/src/typings/org.bukkit.plugin.SimplePluginManager.ts deleted file mode 100644 index 3ecfd982..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.SimplePluginManager.ts +++ /dev/null @@ -1,78 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class SimplePluginManager implements org.bukkit.plugin.PluginManager { - constructor(instance: org.bukkit.Server, commandMap: org.bukkit.command.SimpleCommandMap) - /** - * Registers the specified plugin loader - */ - public registerInterface(loader: any): void; - /** - * Loads the plugins contained within the specified directory - */ - public loadPlugins(directory: any): org.bukkit.plugin.Plugin[]; - /** - * Loads the plugin in the specified file - *

- * File must be valid according to the current enabled Plugin interfaces - */ - public loadPlugin(file: any): org.bukkit.plugin.Plugin; - /** - * Checks if the given plugin is loaded and returns it when applicable - *

- * Please note that the name of the plugin is case-sensitive - */ - public getPlugin(name: string): org.bukkit.plugin.Plugin; - public getPlugins(): org.bukkit.plugin.Plugin[]; - /** - * Checks if the given plugin is enabled or not - *

- * Please note that the name of the plugin is case-sensitive. - */ - public isPluginEnabled(name: string): boolean; - /** - * Checks if the given plugin is enabled or not - */ - public isPluginEnabled(plugin: org.bukkit.plugin.Plugin): boolean; - public enablePlugin(plugin: org.bukkit.plugin.Plugin): void; - public disablePlugins(): void; - public disablePlugin(plugin: org.bukkit.plugin.Plugin): void; - public clearPlugins(): void; - /** - * Calls an event with the given details. - *

- * This method only synchronizes when the event is not asynchronous. - */ - public callEvent(event: org.bukkit.event.Event): void; - public registerEvents(listener: org.bukkit.event.Listener, plugin: org.bukkit.plugin.Plugin): void; - public registerEvent(event: any, listener: org.bukkit.event.Listener, priority: org.bukkit.event.EventPriority, executor: org.bukkit.plugin.EventExecutor, plugin: org.bukkit.plugin.Plugin): void; - /** - * Registers the given event to the specified listener using a directly - * passed EventExecutor - */ - public registerEvent(event: any, listener: org.bukkit.event.Listener, priority: org.bukkit.event.EventPriority, executor: org.bukkit.plugin.EventExecutor, plugin: org.bukkit.plugin.Plugin, ignoreCancelled: boolean): void; - public getPermission(name: string): org.bukkit.permissions.Permission; - public addPermission(perm: org.bukkit.permissions.Permission): void; - public addPermission(perm: org.bukkit.permissions.Permission, dirty: boolean): void; - public getDefaultPermissions(op: boolean): any[] /*java.util.Set*/; - public removePermission(perm: org.bukkit.permissions.Permission): void; - public removePermission(name: string): void; - public recalculatePermissionDefaults(perm: org.bukkit.permissions.Permission): void; - public dirtyPermissibles(): void; - public subscribeToPermission(permission: string, permissible: org.bukkit.permissions.Permissible): void; - public unsubscribeFromPermission(permission: string, permissible: org.bukkit.permissions.Permissible): void; - public getPermissionSubscriptions(permission: string): any[] /*java.util.Set*/; - public subscribeToDefaultPerms(op: boolean, permissible: org.bukkit.permissions.Permissible): void; - public unsubscribeFromDefaultPerms(op: boolean, permissible: org.bukkit.permissions.Permissible): void; - public getDefaultPermSubscriptions(op: boolean): any[] /*java.util.Set*/; - public getPermissions(): any[] /*java.util.Set*/; - public useTimings(): boolean; - /** - * Sets whether or not per event timing code should be used - */ - public useTimings(use: boolean): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.SimpleServicesManager.ts b/packages/bukkit/src/typings/org.bukkit.plugin.SimpleServicesManager.ts deleted file mode 100644 index 2fcd2b58..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.SimpleServicesManager.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class SimpleServicesManager implements org.bukkit.plugin.ServicesManager { - constructor() - /** - * Register a provider of a service. - */ - public register(service: any, provider: any, plugin: org.bukkit.plugin.Plugin, priority: org.bukkit.plugin.ServicePriority): void; - /** - * Unregister all the providers registered by a particular plugin. - */ - public unregisterAll(plugin: org.bukkit.plugin.Plugin): void; - /** - * Unregister a particular provider for a particular service. - */ - public unregister(service: any, provider: any): void; - /** - * Unregister a particular provider. - */ - public unregister(provider: any): void; - /** - * Queries for a provider. This may return if no provider has been - * registered for a service. The highest priority provider is returned. - */ - public load(service: any): any; - /** - * Queries for a provider registration. This may return if no provider - * has been registered for a service. - */ - public getRegistration(service: any): org.bukkit.plugin.RegisteredServiceProvider; - /** - * Get registrations of providers for a plugin. - */ - public getRegistrations(plugin: org.bukkit.plugin.Plugin): any[] /*java.util.List*/; - /** - * Get registrations of providers for a service. The returned list is - * an unmodifiable copy. - */ - public getRegistrations(service: any): any[] /*java.util.List*/; - /** - * Get a list of known services. A service is known if it has registered - * providers for it. - */ - public getKnownServices(): any[] /*java.util.Set*/; - /** - * Returns whether a provider has been registered for a service. - */ - public isProvidedFor(service: any): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.TimedRegisteredListener.ts b/packages/bukkit/src/typings/org.bukkit.plugin.TimedRegisteredListener.ts deleted file mode 100644 index de1330b1..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.TimedRegisteredListener.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class TimedRegisteredListener extends org.bukkit.plugin.RegisteredListener { - constructor(pluginListener: org.bukkit.event.Listener, eventExecutor: org.bukkit.plugin.EventExecutor, eventPriority: org.bukkit.event.EventPriority, registeredPlugin: org.bukkit.plugin.Plugin, listenCancelled: boolean) - public callEvent(event: org.bukkit.event.Event): void; - /** - * Resets the call count and total time for this listener - */ - public reset(): void; - /** - * Gets the total times this listener has been called - */ - public getCount(): number; - /** - * Gets the total time calls to this listener have taken - */ - public getTotalTime(): number; - /** - * Gets the class of the events this listener handled. If it handled - * multiple classes of event, the closest shared superclass will be - * returned, such that for any event this listener has handled, - * this.getEventClass().isAssignableFrom(event.getClass()) - * and no class this.getEventClass().isAssignableFrom(clazz) - * {@literal && this.getEventClass() != clazz &&} - * event.getClass().isAssignableFrom(clazz) for all handled events. - */ - public getEventClass(): any; - /** - * Gets whether this listener has handled multiple events, such that for - * some two events, eventA.getClass() != eventB.getClass(). - */ - public hasMultiple(): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.UnknownDependencyException.ts b/packages/bukkit/src/typings/org.bukkit.plugin.UnknownDependencyException.ts deleted file mode 100644 index 3abcfe9a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.UnknownDependencyException.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - // @ts-ignore - class UnknownDependencyException { - /** - * Constructs a new UnknownDependencyException based on the given - * Exception - */ - constructor(throwable: any) - /** - * Constructs a new UnknownDependencyException with the given message - */ - constructor(message: string) - /** - * Constructs a new UnknownDependencyException based on the given - * Exception - */ - constructor(throwable: any, message: string) - /** - * Constructs a new UnknownDependencyException - */ - constructor() - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.java.JavaPlugin.ts b/packages/bukkit/src/typings/org.bukkit.plugin.java.JavaPlugin.ts deleted file mode 100644 index 4a282608..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.java.JavaPlugin.ts +++ /dev/null @@ -1,96 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - namespace java { - // @ts-ignore - abstract class JavaPlugin extends org.bukkit.plugin.PluginBase { - constructor() - constructor(loader: org.bukkit.plugin.java.JavaPluginLoader, description: org.bukkit.plugin.PluginDescriptionFile, dataFolder: any, file: any) - /** - * Returns the folder that the plugin data's files are located in. The - * folder may not yet exist. - */ - public getDataFolder(): any; - /** - * Gets the associated PluginLoader responsible for this plugin - */ - public getPluginLoader(): org.bukkit.plugin.PluginLoader; - /** - * Returns the Server instance currently running this plugin - */ - public getServer(): org.bukkit.Server; - /** - * Returns a value indicating whether or not this plugin is currently - * enabled - */ - public isEnabled(): boolean; - /** - * Returns the file which contains this plugin - */ - protected getFile(): any; - /** - * Returns the plugin.yaml file containing the details for this plugin - */ - public getDescription(): org.bukkit.plugin.PluginDescriptionFile; - public getConfig(): org.bukkit.configuration.file.FileConfiguration; - /** - * Provides a reader for a text file located inside the jar. - *

- * The returned reader will read text with the UTF-8 charset. - */ - protected getTextResource(file: string): any; - public reloadConfig(): void; - public saveConfig(): void; - public saveDefaultConfig(): void; - public saveResource(resourcePath: string, replace: boolean): void; - public getResource(filename: string): any; - /** - * Returns the ClassLoader which holds this plugin - */ - protected getClassLoader(): any; - /** - * Sets the enabled state of this plugin - */ - protected setEnabled(enabled: boolean): void; - /** - * {@inheritDoc} - */ - public onCommand(sender: org.bukkit.command.CommandSender, command: org.bukkit.command.Command, label: string, args: string): boolean; - /** - * {@inheritDoc} - */ - public onTabComplete(sender: org.bukkit.command.CommandSender, command: org.bukkit.command.Command, alias: string, args: string): any[] /*java.util.List*/; - /** - * Gets the command with the given name, specific to this plugin. Commands - * need to be registered in the {@link PluginDescriptionFile#getCommands() - * PluginDescriptionFile} to exist at runtime. - */ - public getCommand(name: string): org.bukkit.command.PluginCommand; - public onLoad(): void; - public onDisable(): void; - public onEnable(): void; - public getDefaultWorldGenerator(worldName: string, id: string): org.bukkit.generator.ChunkGenerator; - public isNaggable(): boolean; - public setNaggable(canNag: boolean): void; - public getLogger(): any; - public toString(): string; - /** - * This method provides fast access to the plugin that has {@link - * #getProvidingPlugin(Class) provided} the given plugin class, which is - * usually the plugin that implemented it. - *

- * An exception to this would be if plugin's jar that contained the class - * does not extend the class, where the intended plugin would have - * resided in a different jar / classloader. - */ - public static getPlugin(clazz: any): org.bukkit.plugin.java.JavaPlugin; - /** - * This method provides fast access to the plugin that has provided the - * given class. - */ - public static getProvidingPlugin(clazz: any): org.bukkit.plugin.java.JavaPlugin; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.java.JavaPluginLoader.ts b/packages/bukkit/src/typings/org.bukkit.plugin.java.JavaPluginLoader.ts deleted file mode 100644 index 62e8389c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.java.JavaPluginLoader.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - namespace java { - // @ts-ignore - class JavaPluginLoader implements org.bukkit.plugin.PluginLoader { - /** - * This class was not meant to be constructed explicitly - */ - constructor(instance: org.bukkit.Server) - public loadPlugin(file: any): org.bukkit.plugin.Plugin; - public getPluginDescription(file: any): org.bukkit.plugin.PluginDescriptionFile; - public getPluginFileFilters(): any; - public createRegisteredListeners(listener: org.bukkit.event.Listener, plugin: org.bukkit.plugin.Plugin): Map /*java.util.Map*/; - public enablePlugin(plugin: org.bukkit.plugin.Plugin): void; - public disablePlugin(plugin: org.bukkit.plugin.Plugin): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.ChannelNameTooLongException.ts b/packages/bukkit/src/typings/org.bukkit.plugin.messaging.ChannelNameTooLongException.ts deleted file mode 100644 index 34d61133..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.ChannelNameTooLongException.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - namespace messaging { - // @ts-ignore - class ChannelNameTooLongException { - constructor() - constructor(channel: string) - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.ChannelNotRegisteredException.ts b/packages/bukkit/src/typings/org.bukkit.plugin.messaging.ChannelNotRegisteredException.ts deleted file mode 100644 index 55642438..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.ChannelNotRegisteredException.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - namespace messaging { - // @ts-ignore - class ChannelNotRegisteredException { - constructor() - constructor(channel: string) - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.MessageTooLargeException.ts b/packages/bukkit/src/typings/org.bukkit.plugin.messaging.MessageTooLargeException.ts deleted file mode 100644 index 1d7ce4b4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.MessageTooLargeException.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - namespace messaging { - // @ts-ignore - class MessageTooLargeException { - constructor() - constructor(message: number) - constructor(length: number) - constructor(msg: string) - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.Messenger.ts b/packages/bukkit/src/typings/org.bukkit.plugin.messaging.Messenger.ts deleted file mode 100644 index dea45a5e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.Messenger.ts +++ /dev/null @@ -1,112 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - namespace messaging { - // @ts-ignore - interface Messenger { - MAX_MESSAGE_SIZE: number; - MAX_CHANNEL_SIZE: number; - /** - * Checks if the specified channel is a reserved name. - *
- * All channels within the "minecraft" namespace except for - * "minecraft:brand" are reserved. - */ - isReservedChannel(channel: string): boolean; - /** - * Registers the specific plugin to the requested outgoing plugin channel, - * allowing it to send messages through that channel to any clients. - */ - registerOutgoingPluginChannel(plugin: org.bukkit.plugin.Plugin, channel: string): void; - /** - * Unregisters the specific plugin from the requested outgoing plugin - * channel, no longer allowing it to send messages through that channel to - * any clients. - */ - unregisterOutgoingPluginChannel(plugin: org.bukkit.plugin.Plugin, channel: string): void; - /** - * Unregisters the specific plugin from all outgoing plugin channels, no - * longer allowing it to send any plugin messages. - */ - unregisterOutgoingPluginChannel(plugin: org.bukkit.plugin.Plugin): void; - /** - * Registers the specific plugin for listening on the requested incoming - * plugin channel, allowing it to act upon any plugin messages. - */ - registerIncomingPluginChannel(plugin: org.bukkit.plugin.Plugin, channel: string, listener: org.bukkit.plugin.messaging.PluginMessageListener): org.bukkit.plugin.messaging.PluginMessageListenerRegistration; - /** - * Unregisters the specific plugin's listener from listening on the - * requested incoming plugin channel, no longer allowing it to act upon - * any plugin messages. - */ - unregisterIncomingPluginChannel(plugin: org.bukkit.plugin.Plugin, channel: string, listener: org.bukkit.plugin.messaging.PluginMessageListener): void; - /** - * Unregisters the specific plugin from listening on the requested - * incoming plugin channel, no longer allowing it to act upon any plugin - * messages. - */ - unregisterIncomingPluginChannel(plugin: org.bukkit.plugin.Plugin, channel: string): void; - /** - * Unregisters the specific plugin from listening on all plugin channels - * through all listeners. - */ - unregisterIncomingPluginChannel(plugin: org.bukkit.plugin.Plugin): void; - /** - * Gets a set containing all the outgoing plugin channels. - */ - getOutgoingChannels(): any[] /*java.util.Set*/; - /** - * Gets a set containing all the outgoing plugin channels that the - * specified plugin is registered to. - */ - getOutgoingChannels(plugin: org.bukkit.plugin.Plugin): any[] /*java.util.Set*/; - /** - * Gets a set containing all the incoming plugin channels. - */ - getIncomingChannels(): any[] /*java.util.Set*/; - /** - * Gets a set containing all the incoming plugin channels that the - * specified plugin is registered for. - */ - getIncomingChannels(plugin: org.bukkit.plugin.Plugin): any[] /*java.util.Set*/; - /** - * Gets a set containing all the incoming plugin channel registrations - * that the specified plugin has. - */ - getIncomingChannelRegistrations(plugin: org.bukkit.plugin.Plugin): any[] /*java.util.Set*/; - /** - * Gets a set containing all the incoming plugin channel registrations - * that are on the requested channel. - */ - getIncomingChannelRegistrations(channel: string): any[] /*java.util.Set*/; - /** - * Gets a set containing all the incoming plugin channel registrations - * that the specified plugin has on the requested channel. - */ - getIncomingChannelRegistrations(plugin: org.bukkit.plugin.Plugin, channel: string): any[] /*java.util.Set*/; - /** - * Checks if the specified plugin message listener registration is valid. - *

- * A registration is considered valid if it has not be unregistered and - * that the plugin is still enabled. - */ - isRegistrationValid(registration: org.bukkit.plugin.messaging.PluginMessageListenerRegistration): boolean; - /** - * Checks if the specified plugin has registered to receive incoming - * messages through the requested channel. - */ - isIncomingChannelRegistered(plugin: org.bukkit.plugin.Plugin, channel: string): boolean; - /** - * Checks if the specified plugin has registered to send outgoing messages - * through the requested channel. - */ - isOutgoingChannelRegistered(plugin: org.bukkit.plugin.Plugin, channel: string): boolean; - /** - * Dispatches the specified incoming message to any registered listeners. - */ - dispatchIncomingMessage(source: org.bukkit.entity.Player, channel: string, message: number): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginChannelDirection.ts b/packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginChannelDirection.ts deleted file mode 100644 index 9cecdda9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginChannelDirection.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - namespace messaging { - // @ts-ignore - class PluginChannelDirection { - public static INCOMING: org.bukkit.plugin.messaging.PluginChannelDirection; - public static OUTGOING: org.bukkit.plugin.messaging.PluginChannelDirection; - public static values(): org.bukkit.plugin.messaging.PluginChannelDirection[]; - public static valueOf(name: string): org.bukkit.plugin.messaging.PluginChannelDirection; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginMessageListener.ts b/packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginMessageListener.ts deleted file mode 100644 index ee7dc45d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginMessageListener.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - namespace messaging { - // @ts-ignore - interface PluginMessageListener { - /** - * A method that will be thrown when a PluginMessageSource sends a plugin - * message on a registered channel. - */ - onPluginMessageReceived(channel: string, player: org.bukkit.entity.Player, message: number): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginMessageListenerRegistration.ts b/packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginMessageListenerRegistration.ts deleted file mode 100644 index af080195..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginMessageListenerRegistration.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - namespace messaging { - // @ts-ignore - class PluginMessageListenerRegistration { - constructor(messenger: org.bukkit.plugin.messaging.Messenger, plugin: org.bukkit.plugin.Plugin, channel: string, listener: org.bukkit.plugin.messaging.PluginMessageListener) - /** - * Gets the plugin channel that this registration is about. - */ - public getChannel(): string; - /** - * Gets the registered listener described by this registration. - */ - public getListener(): org.bukkit.plugin.messaging.PluginMessageListener; - /** - * Gets the plugin that this registration is for. - */ - public getPlugin(): org.bukkit.plugin.Plugin; - /** - * Checks if this registration is still valid. - */ - public isValid(): boolean; - public equals(obj: any): boolean; - public hashCode(): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginMessageRecipient.ts b/packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginMessageRecipient.ts deleted file mode 100644 index e5c9874d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.PluginMessageRecipient.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - namespace messaging { - // @ts-ignore - interface PluginMessageRecipient { - /** - * Sends this recipient a Plugin Message on the specified outgoing - * channel. - *

- * The message may not be larger than {@link Messenger#MAX_MESSAGE_SIZE} - * bytes, and the plugin must be registered to send messages on the - * specified channel. - */ - sendPluginMessage(source: org.bukkit.plugin.Plugin, channel: string, message: number): void; - /** - * Gets a set containing all the Plugin Channels that this client is - * listening on. - */ - getListeningPluginChannels(): any[] /*java.util.Set*/; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.ReservedChannelException.ts b/packages/bukkit/src/typings/org.bukkit.plugin.messaging.ReservedChannelException.ts deleted file mode 100644 index d42ed863..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.ReservedChannelException.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - namespace messaging { - // @ts-ignore - class ReservedChannelException { - constructor() - constructor(name: string) - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.StandardMessenger.ts b/packages/bukkit/src/typings/org.bukkit.plugin.messaging.StandardMessenger.ts deleted file mode 100644 index 21e4e268..00000000 --- a/packages/bukkit/src/typings/org.bukkit.plugin.messaging.StandardMessenger.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace plugin { - namespace messaging { - // @ts-ignore - class StandardMessenger implements org.bukkit.plugin.messaging.Messenger { - constructor() - public isReservedChannel(channel: string): boolean; - public registerOutgoingPluginChannel(plugin: org.bukkit.plugin.Plugin, channel: string): void; - public unregisterOutgoingPluginChannel(plugin: org.bukkit.plugin.Plugin, channel: string): void; - public unregisterOutgoingPluginChannel(plugin: org.bukkit.plugin.Plugin): void; - public registerIncomingPluginChannel(plugin: org.bukkit.plugin.Plugin, channel: string, listener: org.bukkit.plugin.messaging.PluginMessageListener): org.bukkit.plugin.messaging.PluginMessageListenerRegistration; - public unregisterIncomingPluginChannel(plugin: org.bukkit.plugin.Plugin, channel: string, listener: org.bukkit.plugin.messaging.PluginMessageListener): void; - public unregisterIncomingPluginChannel(plugin: org.bukkit.plugin.Plugin, channel: string): void; - public unregisterIncomingPluginChannel(plugin: org.bukkit.plugin.Plugin): void; - public getOutgoingChannels(): any[] /*java.util.Set*/; - public getOutgoingChannels(plugin: org.bukkit.plugin.Plugin): any[] /*java.util.Set*/; - public getIncomingChannels(): any[] /*java.util.Set*/; - public getIncomingChannels(plugin: org.bukkit.plugin.Plugin): any[] /*java.util.Set*/; - public getIncomingChannelRegistrations(plugin: org.bukkit.plugin.Plugin): any[] /*java.util.Set*/; - public getIncomingChannelRegistrations(channel: string): any[] /*java.util.Set*/; - public getIncomingChannelRegistrations(plugin: org.bukkit.plugin.Plugin, channel: string): any[] /*java.util.Set*/; - public isRegistrationValid(registration: org.bukkit.plugin.messaging.PluginMessageListenerRegistration): boolean; - public isIncomingChannelRegistered(plugin: org.bukkit.plugin.Plugin, channel: string): boolean; - public isOutgoingChannelRegistered(plugin: org.bukkit.plugin.Plugin, channel: string): boolean; - public dispatchIncomingMessage(source: org.bukkit.entity.Player, channel: string, message: number): void; - /** - * Validates a Plugin Channel name. - */ - public static validateChannel(channel: string): void; - /** - * Validates and corrects a Plugin Channel name. Method is not reentrant / idempotent. - */ - public static validateAndCorrectChannel(channel: string): string; - /** - * Validates the input of a Plugin Message, ensuring the arguments are all - * valid. - */ - public static validatePluginMessage(messenger: org.bukkit.plugin.messaging.Messenger, source: org.bukkit.plugin.Plugin, channel: string, message: number): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.potion.Potion.ts b/packages/bukkit/src/typings/org.bukkit.potion.Potion.ts deleted file mode 100644 index a255fda7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.potion.Potion.ts +++ /dev/null @@ -1,109 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace potion { - // @ts-ignore - class Potion { - /** - * Construct a new potion of the given type. Unless the type is {@link - * PotionType#WATER}, it will be level one, without extended duration. - * Don't use this constructor to create a no-effect potion other than - * water bottle. - */ - constructor(type: org.bukkit.potion.PotionType) - /** - * Create a new potion of the given type and level. - */ - constructor(type: org.bukkit.potion.PotionType, level: number) - /** - * Create a new potion of the given type and level. - */ - constructor(type: org.bukkit.potion.PotionType, level: number, splash: boolean) - /** - * Create a new potion of the given type and level. - */ - constructor(type: org.bukkit.potion.PotionType, level: number, splash: boolean, extended: boolean) - /** - * Chain this to the constructor to make the potion a splash potion. - */ - public splash(): org.bukkit.potion.Potion; - /** - * Chain this to the constructor to extend the potion's duration. - */ - public extend(): org.bukkit.potion.Potion; - /** - * Applies the effects of this potion to the given {@link ItemStack}. The - * ItemStack must be a potion. - */ - public apply(to: org.bukkit.inventory.ItemStack): void; - /** - * Applies the effects that would be applied by this potion to the given - * {@link LivingEntity}. - */ - public apply(to: org.bukkit.entity.LivingEntity): void; - public equals(obj: any): boolean; - /** - * Returns a collection of {@link PotionEffect}s that this {@link Potion} - * would confer upon a {@link LivingEntity}. - */ - public getEffects(): any[] /*java.util.Collection*/; - /** - * Returns the level of this potion. - */ - public getLevel(): number; - /** - * Returns the {@link PotionType} of this potion. - */ - public getType(): org.bukkit.potion.PotionType; - /** - * Returns whether this potion has an extended duration. - */ - public hasExtendedDuration(): boolean; - public hashCode(): number; - /** - * Returns whether this potion is a splash potion. - */ - public isSplash(): boolean; - /** - * Set whether this potion has extended duration. This will cause the - * potion to have roughly 8/3 more duration than a regular potion. - */ - public setHasExtendedDuration(isExtended: boolean): void; - /** - * Sets whether this potion is a splash potion. Splash potions can be - * thrown for a radius effect. - */ - public setSplash(isSplash: boolean): void; - /** - * Sets the {@link PotionType} of this potion. - */ - public setType(type: org.bukkit.potion.PotionType): void; - /** - * Sets the level of this potion. - */ - public setLevel(level: number): void; - /** - * Converts this potion to a valid potion damage short, usable for potion - * item stacks. - */ - public toDamageValue(): number; - /** - * Converts this potion to an {@link ItemStack} with the specified amount - * and a correct damage value. - */ - public toItemStack(amount: number): org.bukkit.inventory.ItemStack; - public static fromDamage(damage: number): org.bukkit.potion.Potion; - public static fromItemStack(item: org.bukkit.inventory.ItemStack): org.bukkit.potion.Potion; - /** - * Returns an instance of {@link PotionBrewer}. - */ - public static getBrewer(): org.bukkit.potion.PotionBrewer; - /** - * Sets the current instance of {@link PotionBrewer}. Generally not to be - * used from within a plugin. - */ - public static setPotionBrewer(other: org.bukkit.potion.PotionBrewer): void; - public getNameId(): number; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.potion.PotionBrewer.ts b/packages/bukkit/src/typings/org.bukkit.potion.PotionBrewer.ts deleted file mode 100644 index 05a7ab3a..00000000 --- a/packages/bukkit/src/typings/org.bukkit.potion.PotionBrewer.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace potion { - // @ts-ignore - interface PotionBrewer { - /** - * Creates a {@link PotionEffect} from the given {@link PotionEffectType}, - * applying duration modifiers and checks. - */ - createEffect(potion: org.bukkit.potion.PotionEffectType, duration: number, amplifier: number): org.bukkit.potion.PotionEffect; - /** - * Returns a collection of {@link PotionEffect} that would be applied from - * a potion with the given data value. - */ - getEffectsFromDamage(damage: number): any[] /*java.util.Collection*/; - /** - * Returns a collection of {@link PotionEffect} that would be applied from - * a potion with the given type. - */ - getEffects(type: org.bukkit.potion.PotionType, upgraded: boolean, extended: boolean): any[] /*java.util.Collection*/; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.potion.PotionData.ts b/packages/bukkit/src/typings/org.bukkit.potion.PotionData.ts deleted file mode 100644 index f73fd6b0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.potion.PotionData.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace potion { - // @ts-ignore - class PotionData { - /** - * Instantiates a final PotionData object to contain information about a - * Potion - */ - constructor(type: org.bukkit.potion.PotionType, extended: boolean, upgraded: boolean) - constructor(type: org.bukkit.potion.PotionType) - /** - * Gets the type of the potion, Type matches up with each kind of craftable - * potion - */ - public getType(): org.bukkit.potion.PotionType; - /** - * Checks if the potion is in an upgraded state. This refers to whether or - * not the potion is Tier 2, such as Potion of Fire Resistance II. - */ - public isUpgraded(): boolean; - /** - * Checks if the potion is in an extended state. This refers to the extended - * duration potions - */ - public isExtended(): boolean; - public hashCode(): number; - public equals(obj: any): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.potion.PotionEffect.ts b/packages/bukkit/src/typings/org.bukkit.potion.PotionEffect.ts deleted file mode 100644 index 1a6b8ba0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.potion.PotionEffect.ts +++ /dev/null @@ -1,60 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace potion { - // @ts-ignore - class PotionEffect implements org.bukkit.configuration.serialization.ConfigurationSerializable { - /** - * Creates a potion effect. - */ - constructor(type: org.bukkit.potion.PotionEffectType, duration: number, amplifier: number, ambient: boolean, particles: boolean, icon: boolean) - /** - * Creates a potion effect with no defined color. - */ - constructor(type: org.bukkit.potion.PotionEffectType, duration: number, amplifier: number, ambient: boolean, particles: boolean) - /** - * Creates a potion effect. Assumes that particles are visible - */ - constructor(type: org.bukkit.potion.PotionEffectType, duration: number, amplifier: number, ambient: boolean) - /** - * Creates a potion effect. Assumes ambient is true. - */ - constructor(type: org.bukkit.potion.PotionEffectType, duration: number, amplifier: number) - /** - * Constructor for deserialization. - */ - constructor(map: Map /*java.util.Map*/) - public serialize(): Map /*java.util.Map*/; - /** - * Attempts to add the effect represented by this object to the given - * {@link LivingEntity}. - */ - public apply(entity: org.bukkit.entity.LivingEntity): boolean; - public equals(obj: any): boolean; - /** - * Returns the amplifier of this effect. A higher amplifier means the - * potion effect happens more often over its duration and in some cases - * has more effect on its target. - */ - public getAmplifier(): number; - /** - * Returns the duration (in ticks) that this effect will run for when - * applied to a {@link LivingEntity}. - */ - public getDuration(): number; - /** - * Returns the {@link PotionEffectType} of this effect. - */ - public getType(): org.bukkit.potion.PotionEffectType; - /** - * Makes potion effect produce more, translucent, particles. - */ - public isAmbient(): boolean; - public hasParticles(): boolean; - public getColor(): org.bukkit.Color; - public hasIcon(): boolean; - public hashCode(): number; - public toString(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.potion.PotionEffectType.ts b/packages/bukkit/src/typings/org.bukkit.potion.PotionEffectType.ts deleted file mode 100644 index a5db9ea7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.potion.PotionEffectType.ts +++ /dev/null @@ -1,93 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace potion { - // @ts-ignore - abstract class PotionEffectType { - constructor(id: number) - public static SPEED: org.bukkit.potion.PotionEffectType; - public static SLOW: org.bukkit.potion.PotionEffectType; - public static FAST_DIGGING: org.bukkit.potion.PotionEffectType; - public static SLOW_DIGGING: org.bukkit.potion.PotionEffectType; - public static INCREASE_DAMAGE: org.bukkit.potion.PotionEffectType; - public static HEAL: org.bukkit.potion.PotionEffectType; - public static HARM: org.bukkit.potion.PotionEffectType; - public static JUMP: org.bukkit.potion.PotionEffectType; - public static CONFUSION: org.bukkit.potion.PotionEffectType; - public static REGENERATION: org.bukkit.potion.PotionEffectType; - public static DAMAGE_RESISTANCE: org.bukkit.potion.PotionEffectType; - public static FIRE_RESISTANCE: org.bukkit.potion.PotionEffectType; - public static WATER_BREATHING: org.bukkit.potion.PotionEffectType; - public static INVISIBILITY: org.bukkit.potion.PotionEffectType; - public static BLINDNESS: org.bukkit.potion.PotionEffectType; - public static NIGHT_VISION: org.bukkit.potion.PotionEffectType; - public static HUNGER: org.bukkit.potion.PotionEffectType; - public static WEAKNESS: org.bukkit.potion.PotionEffectType; - public static POISON: org.bukkit.potion.PotionEffectType; - public static WITHER: org.bukkit.potion.PotionEffectType; - public static HEALTH_BOOST: org.bukkit.potion.PotionEffectType; - public static ABSORPTION: org.bukkit.potion.PotionEffectType; - public static SATURATION: org.bukkit.potion.PotionEffectType; - public static GLOWING: org.bukkit.potion.PotionEffectType; - public static LEVITATION: org.bukkit.potion.PotionEffectType; - public static LUCK: org.bukkit.potion.PotionEffectType; - public static UNLUCK: org.bukkit.potion.PotionEffectType; - public static SLOW_FALLING: org.bukkit.potion.PotionEffectType; - public static CONDUIT_POWER: org.bukkit.potion.PotionEffectType; - public static DOLPHINS_GRACE: org.bukkit.potion.PotionEffectType; - public static BAD_OMEN: org.bukkit.potion.PotionEffectType; - public static HERO_OF_THE_VILLAGE: org.bukkit.potion.PotionEffectType; - /** - * Creates a PotionEffect from this PotionEffectType, applying duration - * modifiers and checks. - */ - public createEffect(duration: number, amplifier: number): org.bukkit.potion.PotionEffect; - /** - * Returns the duration modifier applied to effects of this type. - */ - public abstract getDurationModifier(): number; - /** - * Returns the unique ID of this type. - */ - public getId(): number; - /** - * Returns the name of this effect type. - */ - public abstract getName(): string; - /** - * Returns whether the effect of this type happens once, immediately. - */ - public abstract isInstant(): boolean; - /** - * Returns the color of this effect type. - */ - public abstract getColor(): org.bukkit.Color; - public equals(obj: any): boolean; - public hashCode(): number; - public toString(): string; - /** - * Gets the effect type specified by the unique id. - */ - public static getById(id: number): org.bukkit.potion.PotionEffectType; - /** - * Gets the effect type specified by the given name. - */ - public static getByName(name: string): org.bukkit.potion.PotionEffectType; - /** - * Registers an effect type with the given object. - *

- * Generally not to be used from within a plugin. - */ - public static registerPotionEffectType(type: org.bukkit.potion.PotionEffectType): void; - /** - * Stops accepting any effect type registrations. - */ - public static stopAcceptingRegistrations(): void; - /** - * Returns an array of all the registered {@link PotionEffectType}s. - * This array is not necessarily in any particular order. - */ - public static values(): org.bukkit.potion.PotionEffectType[]; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.potion.PotionEffectTypeWrapper.ts b/packages/bukkit/src/typings/org.bukkit.potion.PotionEffectTypeWrapper.ts deleted file mode 100644 index 15ed0cc0..00000000 --- a/packages/bukkit/src/typings/org.bukkit.potion.PotionEffectTypeWrapper.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace potion { - // @ts-ignore - class PotionEffectTypeWrapper extends org.bukkit.potion.PotionEffectType { - constructor(id: number) - public getDurationModifier(): number; - public getName(): string; - /** - * Get the potion type bound to this wrapper. - */ - public getType(): org.bukkit.potion.PotionEffectType; - public isInstant(): boolean; - public getColor(): org.bukkit.Color; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.potion.PotionType.ts b/packages/bukkit/src/typings/org.bukkit.potion.PotionType.ts deleted file mode 100644 index 621db99d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.potion.PotionType.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace potion { - // @ts-ignore - class PotionType { - public static UNCRAFTABLE: org.bukkit.potion.PotionType; - public static WATER: org.bukkit.potion.PotionType; - public static MUNDANE: org.bukkit.potion.PotionType; - public static THICK: org.bukkit.potion.PotionType; - public static AWKWARD: org.bukkit.potion.PotionType; - public static NIGHT_VISION: org.bukkit.potion.PotionType; - public static INVISIBILITY: org.bukkit.potion.PotionType; - public static JUMP: org.bukkit.potion.PotionType; - public static FIRE_RESISTANCE: org.bukkit.potion.PotionType; - public static SPEED: org.bukkit.potion.PotionType; - public static SLOWNESS: org.bukkit.potion.PotionType; - public static WATER_BREATHING: org.bukkit.potion.PotionType; - public static INSTANT_HEAL: org.bukkit.potion.PotionType; - public static INSTANT_DAMAGE: org.bukkit.potion.PotionType; - public static POISON: org.bukkit.potion.PotionType; - public static REGEN: org.bukkit.potion.PotionType; - public static STRENGTH: org.bukkit.potion.PotionType; - public static WEAKNESS: org.bukkit.potion.PotionType; - public static LUCK: org.bukkit.potion.PotionType; - public static TURTLE_MASTER: org.bukkit.potion.PotionType; - public static SLOW_FALLING: org.bukkit.potion.PotionType; - public static values(): org.bukkit.potion.PotionType[]; - public static valueOf(name: string): org.bukkit.potion.PotionType; - public getEffectType(): org.bukkit.potion.PotionEffectType; - public isInstant(): boolean; - /** - * Checks if the potion type has an upgraded state. - * This refers to whether or not the potion type can be Tier 2, - * such as Potion of Fire Resistance II. - */ - public isUpgradeable(): boolean; - /** - * Checks if the potion type has an extended state. - * This refers to the extended duration potions - */ - public isExtendable(): boolean; - public getMaxLevel(): number; - public static getByEffect(effectType: org.bukkit.potion.PotionEffectType): org.bukkit.potion.PotionType; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.projectiles.BlockProjectileSource.ts b/packages/bukkit/src/typings/org.bukkit.projectiles.BlockProjectileSource.ts deleted file mode 100644 index dee37e7c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.projectiles.BlockProjectileSource.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace projectiles { - // @ts-ignore - interface BlockProjectileSource extends org.bukkit.projectiles.ProjectileSource { - /** - * Gets the block this projectile source belongs to. - */ - getBlock(): org.bukkit.block.Block; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.projectiles.ProjectileSource.ts b/packages/bukkit/src/typings/org.bukkit.projectiles.ProjectileSource.ts deleted file mode 100644 index 68560c86..00000000 --- a/packages/bukkit/src/typings/org.bukkit.projectiles.ProjectileSource.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace projectiles { - // @ts-ignore - interface ProjectileSource { - /** - * Launches a {@link Projectile} from the ProjectileSource. - */ - launchProjectile(projectile: any): org.bukkit.entity.Projectile; - /** - * Launches a {@link Projectile} from the ProjectileSource with an - * initial velocity. - */ - launchProjectile(projectile: any, velocity: org.bukkit.util.Vector): org.bukkit.entity.Projectile; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scheduler.BukkitRunnable.ts b/packages/bukkit/src/typings/org.bukkit.scheduler.BukkitRunnable.ts deleted file mode 100644 index 09c29d75..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scheduler.BukkitRunnable.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scheduler { - // @ts-ignore - abstract class BukkitRunnable { - constructor() - /** - * Returns true if this task has been cancelled. - */ - public isCancelled(): boolean; - /** - * Attempts to cancel this task. - */ - public cancel(): void; - /** - * Schedules this in the Bukkit scheduler to run on next tick. - */ - public runTask(plugin: org.bukkit.plugin.Plugin): org.bukkit.scheduler.BukkitTask; - /** - * Asynchronous tasks should never access any API in Bukkit. Great care - * should be taken to assure the thread-safety of asynchronous tasks. - *

- * Schedules this in the Bukkit scheduler to run asynchronously. - */ - public runTaskAsynchronously(plugin: org.bukkit.plugin.Plugin): org.bukkit.scheduler.BukkitTask; - /** - * Schedules this to run after the specified number of server ticks. - */ - public runTaskLater(plugin: org.bukkit.plugin.Plugin, delay: number): org.bukkit.scheduler.BukkitTask; - /** - * Asynchronous tasks should never access any API in Bukkit. Great care - * should be taken to assure the thread-safety of asynchronous tasks. - *

- * Schedules this to run asynchronously after the specified number of - * server ticks. - */ - public runTaskLaterAsynchronously(plugin: org.bukkit.plugin.Plugin, delay: number): org.bukkit.scheduler.BukkitTask; - /** - * Schedules this to repeatedly run until cancelled, starting after the - * specified number of server ticks. - */ - public runTaskTimer(plugin: org.bukkit.plugin.Plugin, delay: number, period: number): org.bukkit.scheduler.BukkitTask; - /** - * Asynchronous tasks should never access any API in Bukkit. Great care - * should be taken to assure the thread-safety of asynchronous tasks. - *

- * Schedules this to repeatedly run asynchronously until cancelled, - * starting after the specified number of server ticks. - */ - public runTaskTimerAsynchronously(plugin: org.bukkit.plugin.Plugin, delay: number, period: number): org.bukkit.scheduler.BukkitTask; - /** - * Gets the task id for this runnable. - */ - public getTaskId(): number; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scheduler.BukkitScheduler.ts b/packages/bukkit/src/typings/org.bukkit.scheduler.BukkitScheduler.ts deleted file mode 100644 index 1fdc08b2..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scheduler.BukkitScheduler.ts +++ /dev/null @@ -1,185 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scheduler { - // @ts-ignore - interface BukkitScheduler { - /** - * Schedules a once off task to occur after a delay. - *

- * This task will be executed by the main server thread. - */ - scheduleSyncDelayedTask(plugin: org.bukkit.plugin.Plugin, task: any, delay: number): number; - scheduleSyncDelayedTask(plugin: org.bukkit.plugin.Plugin, task: org.bukkit.scheduler.BukkitRunnable, delay: number): number; - /** - * Schedules a once off task to occur as soon as possible. - *

- * This task will be executed by the main server thread. - */ - scheduleSyncDelayedTask(plugin: org.bukkit.plugin.Plugin, task: any): number; - scheduleSyncDelayedTask(plugin: org.bukkit.plugin.Plugin, task: org.bukkit.scheduler.BukkitRunnable): number; - /** - * Schedules a repeating task. - *

- * This task will be executed by the main server thread. - */ - scheduleSyncRepeatingTask(plugin: org.bukkit.plugin.Plugin, task: any, delay: number, period: number): number; - scheduleSyncRepeatingTask(plugin: org.bukkit.plugin.Plugin, task: org.bukkit.scheduler.BukkitRunnable, delay: number, period: number): number; - /** - * Asynchronous tasks should never access any API in Bukkit. Great care - * should be taken to assure the thread-safety of asynchronous tasks. - *

- * Schedules a once off task to occur after a delay. This task will be - * executed by a thread managed by the scheduler. - */ - scheduleAsyncDelayedTask(plugin: org.bukkit.plugin.Plugin, task: any, delay: number): number; - /** - * Asynchronous tasks should never access any API in Bukkit. Great care - * should be taken to assure the thread-safety of asynchronous tasks. - *

- * Schedules a once off task to occur as soon as possible. This task will - * be executed by a thread managed by the scheduler. - */ - scheduleAsyncDelayedTask(plugin: org.bukkit.plugin.Plugin, task: any): number; - /** - * Asynchronous tasks should never access any API in Bukkit. Great care - * should be taken to assure the thread-safety of asynchronous tasks. - *

- * Schedules a repeating task. This task will be executed by a thread - * managed by the scheduler. - */ - scheduleAsyncRepeatingTask(plugin: org.bukkit.plugin.Plugin, task: any, delay: number, period: number): number; - /** - * Calls a method on the main thread and returns a Future object. This - * task will be executed by the main server thread. - *

    - *
  • Note: The Future.get() methods must NOT be called from the main - * thread. - *
  • Note2: There is at least an average of 10ms latency until the - * isDone() method returns true. - *
- */ - callSyncMethod(plugin: org.bukkit.plugin.Plugin, task: any): any; - /** - * Removes task from scheduler. - */ - cancelTask(taskId: number): void; - /** - * Removes all tasks associated with a particular plugin from the - * scheduler. - */ - cancelTasks(plugin: org.bukkit.plugin.Plugin): void; - /** - * Check if the task currently running. - *

- * A repeating task might not be running currently, but will be running in - * the future. A task that has finished, and does not repeat, will not be - * running ever again. - *

- * Explicitly, a task is running if there exists a thread for it, and that - * thread is alive. - */ - isCurrentlyRunning(taskId: number): boolean; - /** - * Check if the task queued to be run later. - *

- * If a repeating task is currently running, it might not be queued now - * but could be in the future. A task that is not queued, and not running, - * will not be queued again. - */ - isQueued(taskId: number): boolean; - /** - * Returns a list of all active workers. - *

- * This list contains asynch tasks that are being executed by separate - * threads. - */ - getActiveWorkers(): any[] /*java.util.List*/; - /** - * Returns a list of all pending tasks. The ordering of the tasks is not - * related to their order of execution. - */ - getPendingTasks(): any[] /*java.util.List*/; - /** - * Returns a task that will run on the next server tick. - */ - runTask(plugin: org.bukkit.plugin.Plugin, task: any): org.bukkit.scheduler.BukkitTask; - /** - * Returns a task that will run on the next server tick. - */ - runTask(plugin: org.bukkit.plugin.Plugin, task: any): void; - runTask(plugin: org.bukkit.plugin.Plugin, task: org.bukkit.scheduler.BukkitRunnable): org.bukkit.scheduler.BukkitTask; - /** - * Asynchronous tasks should never access any API in Bukkit. Great care - * should be taken to assure the thread-safety of asynchronous tasks. - *

- * Returns a task that will run asynchronously. - */ - runTaskAsynchronously(plugin: org.bukkit.plugin.Plugin, task: any): org.bukkit.scheduler.BukkitTask; - /** - * Asynchronous tasks should never access any API in Bukkit. Great care - * should be taken to assure the thread-safety of asynchronous tasks. - *

- * Returns a task that will run asynchronously. - */ - runTaskAsynchronously(plugin: org.bukkit.plugin.Plugin, task: any): void; - runTaskAsynchronously(plugin: org.bukkit.plugin.Plugin, task: org.bukkit.scheduler.BukkitRunnable): org.bukkit.scheduler.BukkitTask; - /** - * Returns a task that will run after the specified number of server - * ticks. - */ - runTaskLater(plugin: org.bukkit.plugin.Plugin, task: any, delay: number): org.bukkit.scheduler.BukkitTask; - /** - * Returns a task that will run after the specified number of server - * ticks. - */ - runTaskLater(plugin: org.bukkit.plugin.Plugin, task: any, delay: number): void; - runTaskLater(plugin: org.bukkit.plugin.Plugin, task: org.bukkit.scheduler.BukkitRunnable, delay: number): org.bukkit.scheduler.BukkitTask; - /** - * Asynchronous tasks should never access any API in Bukkit. Great care - * should be taken to assure the thread-safety of asynchronous tasks. - *

- * Returns a task that will run asynchronously after the specified number - * of server ticks. - */ - runTaskLaterAsynchronously(plugin: org.bukkit.plugin.Plugin, task: any, delay: number): org.bukkit.scheduler.BukkitTask; - /** - * Asynchronous tasks should never access any API in Bukkit. Great care - * should be taken to assure the thread-safety of asynchronous tasks. - *

- * Returns a task that will run asynchronously after the specified number - * of server ticks. - */ - runTaskLaterAsynchronously(plugin: org.bukkit.plugin.Plugin, task: any, delay: number): void; - runTaskLaterAsynchronously(plugin: org.bukkit.plugin.Plugin, task: org.bukkit.scheduler.BukkitRunnable, delay: number): org.bukkit.scheduler.BukkitTask; - /** - * Returns a task that will repeatedly run until cancelled, starting after - * the specified number of server ticks. - */ - runTaskTimer(plugin: org.bukkit.plugin.Plugin, task: any, delay: number, period: number): org.bukkit.scheduler.BukkitTask; - /** - * Returns a task that will repeatedly run until cancelled, starting after - * the specified number of server ticks. - */ - runTaskTimer(plugin: org.bukkit.plugin.Plugin, task: any, delay: number, period: number): void; - runTaskTimer(plugin: org.bukkit.plugin.Plugin, task: org.bukkit.scheduler.BukkitRunnable, delay: number, period: number): org.bukkit.scheduler.BukkitTask; - /** - * Asynchronous tasks should never access any API in Bukkit. Great care - * should be taken to assure the thread-safety of asynchronous tasks. - *

- * Returns a task that will repeatedly run asynchronously until cancelled, - * starting after the specified number of server ticks. - */ - runTaskTimerAsynchronously(plugin: org.bukkit.plugin.Plugin, task: any, delay: number, period: number): org.bukkit.scheduler.BukkitTask; - /** - * Asynchronous tasks should never access any API in Bukkit. Great care - * should be taken to assure the thread-safety of asynchronous tasks. - *

- * Returns a task that will repeatedly run asynchronously until cancelled, - * starting after the specified number of server ticks. - */ - runTaskTimerAsynchronously(plugin: org.bukkit.plugin.Plugin, task: any, delay: number, period: number): void; - runTaskTimerAsynchronously(plugin: org.bukkit.plugin.Plugin, task: org.bukkit.scheduler.BukkitRunnable, delay: number, period: number): org.bukkit.scheduler.BukkitTask; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scheduler.BukkitTask.ts b/packages/bukkit/src/typings/org.bukkit.scheduler.BukkitTask.ts deleted file mode 100644 index b5f16c5d..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scheduler.BukkitTask.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scheduler { - // @ts-ignore - interface BukkitTask { - /** - * Returns the taskId for the task. - */ - getTaskId(): number; - /** - * Returns the Plugin that owns this task. - */ - getOwner(): org.bukkit.plugin.Plugin; - /** - * Returns true if the Task is a sync task. - */ - isSync(): boolean; - /** - * Returns true if this task has been cancelled. - */ - isCancelled(): boolean; - /** - * Will attempt to cancel this task. - */ - cancel(): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scheduler.BukkitWorker.ts b/packages/bukkit/src/typings/org.bukkit.scheduler.BukkitWorker.ts deleted file mode 100644 index 088e56e5..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scheduler.BukkitWorker.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scheduler { - // @ts-ignore - interface BukkitWorker { - /** - * Returns the taskId for the task being executed by this worker. - */ - getTaskId(): number; - /** - * Returns the Plugin that owns this task. - */ - getOwner(): org.bukkit.plugin.Plugin; - /** - * Returns the thread for the worker. - */ - getThread(): any; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scoreboard.Criterias.ts b/packages/bukkit/src/typings/org.bukkit.scoreboard.Criterias.ts deleted file mode 100644 index e9c0f616..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scoreboard.Criterias.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scoreboard { - // @ts-ignore - class Criterias { - public static HEALTH: string; - public static PLAYER_KILLS: string; - public static TOTAL_KILLS: string; - public static DEATHS: string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scoreboard.DisplaySlot.ts b/packages/bukkit/src/typings/org.bukkit.scoreboard.DisplaySlot.ts deleted file mode 100644 index 54c923e8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scoreboard.DisplaySlot.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scoreboard { - // @ts-ignore - class DisplaySlot { - public static BELOW_NAME: org.bukkit.scoreboard.DisplaySlot; - public static PLAYER_LIST: org.bukkit.scoreboard.DisplaySlot; - public static SIDEBAR: org.bukkit.scoreboard.DisplaySlot; - public static values(): org.bukkit.scoreboard.DisplaySlot[]; - public static valueOf(name: string): org.bukkit.scoreboard.DisplaySlot; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scoreboard.NameTagVisibility.ts b/packages/bukkit/src/typings/org.bukkit.scoreboard.NameTagVisibility.ts deleted file mode 100644 index 695b5a50..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scoreboard.NameTagVisibility.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scoreboard { - // @ts-ignore - class NameTagVisibility { - public static ALWAYS: org.bukkit.scoreboard.NameTagVisibility; - public static NEVER: org.bukkit.scoreboard.NameTagVisibility; - public static HIDE_FOR_OTHER_TEAMS: org.bukkit.scoreboard.NameTagVisibility; - public static HIDE_FOR_OWN_TEAM: org.bukkit.scoreboard.NameTagVisibility; - public static values(): org.bukkit.scoreboard.NameTagVisibility[]; - public static valueOf(name: string): org.bukkit.scoreboard.NameTagVisibility; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scoreboard.Objective.ts b/packages/bukkit/src/typings/org.bukkit.scoreboard.Objective.ts deleted file mode 100644 index 368314fb..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scoreboard.Objective.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scoreboard { - // @ts-ignore - interface Objective { - /** - * Gets the name of this Objective - */ - getName(): string; - /** - * Gets the name displayed to players for this objective - */ - getDisplayName(): string; - /** - * Sets the name displayed to players for this objective. - */ - setDisplayName(displayName: string): void; - /** - * Gets the criteria this objective tracks. - */ - getCriteria(): string; - /** - * Gets if the objective's scores can be modified directly by a plugin. - */ - isModifiable(): boolean; - /** - * Gets the scoreboard to which this objective is attached. - */ - getScoreboard(): org.bukkit.scoreboard.Scoreboard; - /** - * Unregisters this objective from the {@link Scoreboard scoreboard.} - */ - unregister(): void; - /** - * Sets this objective to display on the specified slot for the - * scoreboard, removing it from any other display slot. - */ - setDisplaySlot(slot: org.bukkit.scoreboard.DisplaySlot): void; - /** - * Gets the display slot this objective is displayed at. - */ - getDisplaySlot(): org.bukkit.scoreboard.DisplaySlot; - /** - * Sets manner in which this objective will be rendered. - */ - setRenderType(renderType: org.bukkit.scoreboard.RenderType): void; - /** - * Sets manner in which this objective will be rendered. - */ - getRenderType(): org.bukkit.scoreboard.RenderType; - /** - * Gets a player's Score for an Objective on this Scoreboard - */ - getScore(player: org.bukkit.OfflinePlayer): org.bukkit.scoreboard.Score; - /** - * Gets an entry's Score for an Objective on this Scoreboard. - */ - getScore(entry: string): org.bukkit.scoreboard.Score; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scoreboard.RenderType.ts b/packages/bukkit/src/typings/org.bukkit.scoreboard.RenderType.ts deleted file mode 100644 index dad69500..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scoreboard.RenderType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scoreboard { - // @ts-ignore - class RenderType { - public static INTEGER: org.bukkit.scoreboard.RenderType; - public static HEARTS: org.bukkit.scoreboard.RenderType; - public static values(): org.bukkit.scoreboard.RenderType[]; - public static valueOf(name: string): org.bukkit.scoreboard.RenderType; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scoreboard.Score.ts b/packages/bukkit/src/typings/org.bukkit.scoreboard.Score.ts deleted file mode 100644 index ea816dd9..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scoreboard.Score.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scoreboard { - // @ts-ignore - interface Score { - /** - * Gets the OfflinePlayer being tracked by this Score - */ - getPlayer(): org.bukkit.OfflinePlayer; - /** - * Gets the entry being tracked by this Score - */ - getEntry(): string; - /** - * Gets the Objective being tracked by this Score - */ - getObjective(): org.bukkit.scoreboard.Objective; - /** - * Gets the current score - */ - getScore(): number; - /** - * Sets the current score. - */ - setScore(score: number): void; - /** - * Shows if this score has been set at any point in time. - */ - isScoreSet(): boolean; - /** - * Gets the scoreboard for the associated objective. - */ - getScoreboard(): org.bukkit.scoreboard.Scoreboard; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scoreboard.Scoreboard.ts b/packages/bukkit/src/typings/org.bukkit.scoreboard.Scoreboard.ts deleted file mode 100644 index ec793870..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scoreboard.Scoreboard.ts +++ /dev/null @@ -1,86 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scoreboard { - // @ts-ignore - interface Scoreboard { - /** - * Registers an Objective on this Scoreboard - */ - registerNewObjective(name: string, criteria: string): org.bukkit.scoreboard.Objective; - /** - * Registers an Objective on this Scoreboard - */ - registerNewObjective(name: string, criteria: string, displayName: string): org.bukkit.scoreboard.Objective; - /** - * Registers an Objective on this Scoreboard - */ - registerNewObjective(name: string, criteria: string, displayName: string, renderType: org.bukkit.scoreboard.RenderType): org.bukkit.scoreboard.Objective; - /** - * Gets an Objective on this Scoreboard by name - */ - getObjective(name: string): org.bukkit.scoreboard.Objective; - /** - * Gets all Objectives of a Criteria on the Scoreboard - */ - getObjectivesByCriteria(criteria: string): any[] /*java.util.Set*/; - /** - * Gets all Objectives on this Scoreboard - */ - getObjectives(): any[] /*java.util.Set*/; - /** - * Gets the Objective currently displayed in a DisplaySlot on this - * Scoreboard - */ - getObjective(slot: org.bukkit.scoreboard.DisplaySlot): org.bukkit.scoreboard.Objective; - /** - * Gets all scores for a player on this Scoreboard - */ - getScores(player: org.bukkit.OfflinePlayer): any[] /*java.util.Set*/; - /** - * Gets all scores for an entry on this Scoreboard - */ - getScores(entry: string): any[] /*java.util.Set*/; - /** - * Removes all scores for a player on this Scoreboard - */ - resetScores(player: org.bukkit.OfflinePlayer): void; - /** - * Removes all scores for an entry on this Scoreboard - */ - resetScores(entry: string): void; - /** - * Gets a player's Team on this Scoreboard - */ - getPlayerTeam(player: org.bukkit.OfflinePlayer): org.bukkit.scoreboard.Team; - /** - * Gets a entries Team on this Scoreboard - */ - getEntryTeam(entry: string): org.bukkit.scoreboard.Team; - /** - * Gets a Team by name on this Scoreboard - */ - getTeam(teamName: string): org.bukkit.scoreboard.Team; - /** - * Gets all teams on this Scoreboard - */ - getTeams(): any[] /*java.util.Set*/; - /** - * Registers a Team on this Scoreboard - */ - registerNewTeam(name: string): org.bukkit.scoreboard.Team; - /** - * Gets all players tracked by this Scoreboard - */ - getPlayers(): any[] /*java.util.Set*/; - /** - * Gets all entries tracked by this Scoreboard - */ - getEntries(): any[] /*java.util.Set*/; - /** - * Clears any objective in the specified slot. - */ - clearSlot(slot: org.bukkit.scoreboard.DisplaySlot): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scoreboard.ScoreboardManager.ts b/packages/bukkit/src/typings/org.bukkit.scoreboard.ScoreboardManager.ts deleted file mode 100644 index 7b85af21..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scoreboard.ScoreboardManager.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scoreboard { - // @ts-ignore - interface ScoreboardManager { - /** - * Gets the primary Scoreboard controlled by the server. - *

- * This Scoreboard is saved by the server, is affected by the /scoreboard - * command, and is the scoreboard shown by default to players. - */ - getMainScoreboard(): org.bukkit.scoreboard.Scoreboard; - /** - * Gets a new Scoreboard to be tracked by the server. This scoreboard will - * be tracked as long as a reference is kept, either by a player or by a - * plugin. - */ - getNewScoreboard(): org.bukkit.scoreboard.Scoreboard; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scoreboard.Team.Option.ts b/packages/bukkit/src/typings/org.bukkit.scoreboard.Team.Option.ts deleted file mode 100644 index 93579b11..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scoreboard.Team.Option.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scoreboard { - namespace Team { - // @ts-ignore - class Option { - public static NAME_TAG_VISIBILITY: org.bukkit.scoreboard.Team.Option; - public static DEATH_MESSAGE_VISIBILITY: org.bukkit.scoreboard.Team.Option; - public static COLLISION_RULE: org.bukkit.scoreboard.Team.Option; - public static values(): org.bukkit.scoreboard.Team.Option[]; - public static valueOf(name: string): org.bukkit.scoreboard.Team.Option; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scoreboard.Team.OptionStatus.ts b/packages/bukkit/src/typings/org.bukkit.scoreboard.Team.OptionStatus.ts deleted file mode 100644 index 25d261a6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scoreboard.Team.OptionStatus.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scoreboard { - namespace Team { - // @ts-ignore - class OptionStatus { - public static ALWAYS: org.bukkit.scoreboard.Team.OptionStatus; - public static NEVER: org.bukkit.scoreboard.Team.OptionStatus; - public static FOR_OTHER_TEAMS: org.bukkit.scoreboard.Team.OptionStatus; - public static FOR_OWN_TEAM: org.bukkit.scoreboard.Team.OptionStatus; - public static values(): org.bukkit.scoreboard.Team.OptionStatus[]; - public static valueOf(name: string): org.bukkit.scoreboard.Team.OptionStatus; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.scoreboard.Team.ts b/packages/bukkit/src/typings/org.bukkit.scoreboard.Team.ts deleted file mode 100644 index b3d7d9d7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.scoreboard.Team.ts +++ /dev/null @@ -1,133 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace scoreboard { - // @ts-ignore - interface Team { - /** - * Gets the name of this Team - */ - getName(): string; - /** - * Gets the name displayed to entries for this team - */ - getDisplayName(): string; - /** - * Sets the name displayed to entries for this team - */ - setDisplayName(displayName: string): void; - /** - * Gets the prefix prepended to the display of entries on this team. - */ - getPrefix(): string; - /** - * Sets the prefix prepended to the display of entries on this team. - */ - setPrefix(prefix: string): void; - /** - * Gets the suffix appended to the display of entries on this team. - */ - getSuffix(): string; - /** - * Sets the suffix appended to the display of entries on this team. - */ - setSuffix(suffix: string): void; - /** - * Gets the color of the team. - *
- * This only sets the team outline, other occurrences of colors such as in - * names are handled by prefixes / suffixes. - */ - getColor(): org.bukkit.ChatColor; - /** - * Sets the color of the team. - *
- * This only sets the team outline, other occurrences of colors such as in - * names are handled by prefixes / suffixes. - */ - setColor(color: org.bukkit.ChatColor): void; - /** - * Gets the team friendly fire state - */ - allowFriendlyFire(): boolean; - /** - * Sets the team friendly fire state - */ - setAllowFriendlyFire(enabled: boolean): void; - /** - * Gets the team's ability to see {@link PotionEffectType#INVISIBILITY - * invisible} teammates. - */ - canSeeFriendlyInvisibles(): boolean; - /** - * Sets the team's ability to see {@link PotionEffectType#INVISIBILITY - * invisible} teammates. - */ - setCanSeeFriendlyInvisibles(enabled: boolean): void; - /** - * Gets the team's ability to see name tags - */ - getNameTagVisibility(): org.bukkit.scoreboard.NameTagVisibility; - /** - * Set's the team's ability to see name tags - */ - setNameTagVisibility(visibility: org.bukkit.scoreboard.NameTagVisibility): void; - /** - * Gets the Set of players on the team - */ - getPlayers(): any[] /*java.util.Set*/; - /** - * Gets the Set of entries on the team - */ - getEntries(): any[] /*java.util.Set*/; - /** - * Gets the size of the team - */ - getSize(): number; - /** - * Gets the Scoreboard to which this team is attached - */ - getScoreboard(): org.bukkit.scoreboard.Scoreboard; - /** - * This puts the specified player onto this team for the scoreboard. - *

- * This will remove the player from any other team on the scoreboard. - */ - addPlayer(player: org.bukkit.OfflinePlayer): void; - /** - * This puts the specified entry onto this team for the scoreboard. - *

- * This will remove the entry from any other team on the scoreboard. - */ - addEntry(entry: string): void; - /** - * Removes the player from this team. - */ - removePlayer(player: org.bukkit.OfflinePlayer): boolean; - /** - * Removes the entry from this team. - */ - removeEntry(entry: string): boolean; - /** - * Unregisters this team from the Scoreboard - */ - unregister(): void; - /** - * Checks to see if the specified player is a member of this team. - */ - hasPlayer(player: org.bukkit.OfflinePlayer): boolean; - /** - * Checks to see if the specified entry is a member of this team. - */ - hasEntry(entry: string): boolean; - /** - * Get an option for this team - */ - getOption(option: org.bukkit.scoreboard.Team.Option): org.bukkit.scoreboard.Team.OptionStatus; - /** - * Set an option for this team - */ - setOption(option: org.bukkit.scoreboard.Team.Option, status: org.bukkit.scoreboard.Team.OptionStatus): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.BlockIterator.ts b/packages/bukkit/src/typings/org.bukkit.util.BlockIterator.ts deleted file mode 100644 index 9b7ca07c..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.BlockIterator.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - // @ts-ignore - class BlockIterator { - /** - * Constructs the BlockIterator. - *

- * This considers all blocks as 1x1x1 in size. - */ - constructor(world: org.bukkit.World, start: org.bukkit.util.Vector, direction: org.bukkit.util.Vector, yOffset: number, maxDistance: number) - /** - * Constructs the BlockIterator. - *

- * This considers all blocks as 1x1x1 in size. - */ - constructor(loc: org.bukkit.Location, yOffset: number, maxDistance: number) - /** - * Constructs the BlockIterator. - *

- * This considers all blocks as 1x1x1 in size. - */ - constructor(loc: org.bukkit.Location, yOffset: number) - /** - * Constructs the BlockIterator. - *

- * This considers all blocks as 1x1x1 in size. - */ - constructor(loc: org.bukkit.Location) - /** - * Constructs the BlockIterator. - *

- * This considers all blocks as 1x1x1 in size. - */ - constructor(entity: org.bukkit.entity.LivingEntity, maxDistance: number) - /** - * Constructs the BlockIterator. - *

- * This considers all blocks as 1x1x1 in size. - */ - constructor(entity: org.bukkit.entity.LivingEntity) - /** - * Returns true if the iteration has more elements - */ - public hasNext(): boolean; - /** - * Returns the next Block in the trace - */ - public next(): org.bukkit.block.Block; - public remove(): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.BlockVector.ts b/packages/bukkit/src/typings/org.bukkit.util.BlockVector.ts deleted file mode 100644 index f7f2ca81..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.BlockVector.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - // @ts-ignore - class BlockVector extends org.bukkit.util.Vector { - /** - * Construct the vector with all components as 0. - */ - constructor() - /** - * Construct the vector with another vector. - */ - constructor(vec: org.bukkit.util.Vector) - /** - * Construct the vector with provided integer components. - */ - constructor(x: number, y: number, z: number) - /** - * Construct the vector with provided double components. - */ - constructor(x: number, y: number, z: number) - /** - * Construct the vector with provided float components. - */ - constructor(x: number, y: number, z: number) - /** - * Checks if another object is equivalent. - */ - public equals(obj: any): boolean; - /** - * Returns a hash code for this vector. - */ - public hashCode(): number; - /** - * Get a new block vector. - */ - public clone(): org.bukkit.util.BlockVector; - public static deserialize(args: Map /*java.util.Map*/): org.bukkit.util.BlockVector; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.BoundingBox.ts b/packages/bukkit/src/typings/org.bukkit.util.BoundingBox.ts deleted file mode 100644 index d222c982..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.BoundingBox.ts +++ /dev/null @@ -1,287 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - // @ts-ignore - class BoundingBox implements org.bukkit.configuration.serialization.ConfigurationSerializable { - /** - * Creates a new (degenerate) bounding box with all corner coordinates at - * 0. - */ - constructor() - /** - * Creates a new bounding box from the given corner coordinates. - */ - constructor(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number) - /** - * Creates a new bounding box using the coordinates of the given vectors as - * corners. - */ - public static of(corner1: org.bukkit.util.Vector, corner2: org.bukkit.util.Vector): org.bukkit.util.BoundingBox; - /** - * Creates a new bounding box using the coordinates of the given locations - * as corners. - */ - public static of(corner1: org.bukkit.Location, corner2: org.bukkit.Location): org.bukkit.util.BoundingBox; - /** - * Creates a new bounding box using the coordinates of the given blocks as - * corners. - *

- * The bounding box will be sized to fully contain both blocks. - */ - public static of(corner1: org.bukkit.block.Block, corner2: org.bukkit.block.Block): org.bukkit.util.BoundingBox; - /** - * Creates a new 1x1x1 sized bounding box containing the given block. - */ - public static of(block: org.bukkit.block.Block): org.bukkit.util.BoundingBox; - /** - * Creates a new bounding box using the given center and extents. - */ - public static of(center: org.bukkit.util.Vector, x: number, y: number, z: number): org.bukkit.util.BoundingBox; - /** - * Creates a new bounding box using the given center and extents. - */ - public static of(center: org.bukkit.Location, x: number, y: number, z: number): org.bukkit.util.BoundingBox; - /** - * Resizes this bounding box. - */ - public resize(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number): org.bukkit.util.BoundingBox; - /** - * Gets the minimum x value. - */ - public getMinX(): number; - /** - * Gets the minimum y value. - */ - public getMinY(): number; - /** - * Gets the minimum z value. - */ - public getMinZ(): number; - /** - * Gets the minimum corner as vector. - */ - public getMin(): org.bukkit.util.Vector; - /** - * Gets the maximum x value. - */ - public getMaxX(): number; - /** - * Gets the maximum y value. - */ - public getMaxY(): number; - /** - * Gets the maximum z value. - */ - public getMaxZ(): number; - /** - * Gets the maximum corner as vector. - */ - public getMax(): org.bukkit.util.Vector; - /** - * Gets the width of the bounding box in the x direction. - */ - public getWidthX(): number; - /** - * Gets the width of the bounding box in the z direction. - */ - public getWidthZ(): number; - /** - * Gets the height of the bounding box. - */ - public getHeight(): number; - /** - * Gets the volume of the bounding box. - */ - public getVolume(): number; - /** - * Gets the x coordinate of the center of the bounding box. - */ - public getCenterX(): number; - /** - * Gets the y coordinate of the center of the bounding box. - */ - public getCenterY(): number; - /** - * Gets the z coordinate of the center of the bounding box. - */ - public getCenterZ(): number; - /** - * Gets the center of the bounding box. - */ - public getCenter(): org.bukkit.util.Vector; - /** - * Copies another bounding box. - */ - public copy(other: org.bukkit.util.BoundingBox): org.bukkit.util.BoundingBox; - /** - * Expands this bounding box by the given values in the corresponding - * directions. - *

- * Negative values will shrink the bounding box in the corresponding - * direction. Shrinking will be limited to the point where the affected - * opposite faces would meet if the they shrank at uniform speeds. - */ - public expand(negativeX: number, negativeY: number, negativeZ: number, positiveX: number, positiveY: number, positiveZ: number): org.bukkit.util.BoundingBox; - /** - * Expands this bounding box uniformly by the given values in both positive - * and negative directions. - *

- * Negative values will shrink the bounding box. Shrinking will be limited - * to the bounding box's current size. - */ - public expand(x: number, y: number, z: number): org.bukkit.util.BoundingBox; - /** - * Expands this bounding box uniformly by the given values in both positive - * and negative directions. - *

- * Negative values will shrink the bounding box. Shrinking will be limited - * to the bounding box's current size. - */ - public expand(expansion: org.bukkit.util.Vector): org.bukkit.util.BoundingBox; - /** - * Expands this bounding box uniformly by the given value in all directions. - *

- * A negative value will shrink the bounding box. Shrinking will be limited - * to the bounding box's current size. - */ - public expand(expansion: number): org.bukkit.util.BoundingBox; - /** - * Expands this bounding box in the specified direction. - *

- * The magnitude of the direction will scale the expansion. A negative - * expansion value will shrink the bounding box in this direction. Shrinking - * will be limited to the bounding box's current size. - */ - public expand(dirX: number, dirY: number, dirZ: number, expansion: number): org.bukkit.util.BoundingBox; - /** - * Expands this bounding box in the specified direction. - *

- * The magnitude of the direction will scale the expansion. A negative - * expansion value will shrink the bounding box in this direction. Shrinking - * will be limited to the bounding box's current size. - */ - public expand(direction: org.bukkit.util.Vector, expansion: number): org.bukkit.util.BoundingBox; - /** - * Expands this bounding box in the direction specified by the given block - * face. - *

- * A negative expansion value will shrink the bounding box in this - * direction. Shrinking will be limited to the bounding box's current size. - */ - public expand(blockFace: org.bukkit.block.BlockFace, expansion: number): org.bukkit.util.BoundingBox; - /** - * Expands this bounding box in the specified direction. - *

- * Negative values will expand the bounding box in the negative direction, - * positive values will expand it in the positive direction. The magnitudes - * of the direction components determine the corresponding amounts of - * expansion. - */ - public expandDirectional(dirX: number, dirY: number, dirZ: number): org.bukkit.util.BoundingBox; - /** - * Expands this bounding box in the specified direction. - *

- * Negative values will expand the bounding box in the negative direction, - * positive values will expand it in the positive direction. The magnitude - * of the direction vector determines the amount of expansion. - */ - public expandDirectional(direction: org.bukkit.util.Vector): org.bukkit.util.BoundingBox; - /** - * Expands this bounding box to contain (or border) the specified position. - */ - public union(posX: number, posY: number, posZ: number): org.bukkit.util.BoundingBox; - /** - * Expands this bounding box to contain (or border) the specified position. - */ - public union(position: org.bukkit.util.Vector): org.bukkit.util.BoundingBox; - /** - * Expands this bounding box to contain (or border) the specified position. - */ - public union(position: org.bukkit.Location): org.bukkit.util.BoundingBox; - /** - * Expands this bounding box to contain both this and the given bounding - * box. - */ - public union(other: org.bukkit.util.BoundingBox): org.bukkit.util.BoundingBox; - /** - * Resizes this bounding box to represent the intersection of this and the - * given bounding box. - */ - public intersection(other: org.bukkit.util.BoundingBox): org.bukkit.util.BoundingBox; - /** - * Shifts this bounding box by the given amounts. - */ - public shift(shiftX: number, shiftY: number, shiftZ: number): org.bukkit.util.BoundingBox; - /** - * Shifts this bounding box by the given amounts. - */ - public shift(shift: org.bukkit.util.Vector): org.bukkit.util.BoundingBox; - /** - * Shifts this bounding box by the given amounts. - */ - public shift(shift: org.bukkit.Location): org.bukkit.util.BoundingBox; - /** - * Checks if this bounding box overlaps with the given bounding box. - *

- * Bounding boxes that are only intersecting at the borders are not - * considered overlapping. - */ - public overlaps(other: org.bukkit.util.BoundingBox): boolean; - /** - * Checks if this bounding box overlaps with the bounding box that is - * defined by the given corners. - *

- * Bounding boxes that are only intersecting at the borders are not - * considered overlapping. - */ - public overlaps(min: org.bukkit.util.Vector, max: org.bukkit.util.Vector): boolean; - /** - * Checks if this bounding box contains the specified position. - *

- * Positions exactly on the minimum borders of the bounding box are - * considered to be inside the bounding box, while positions exactly on the - * maximum borders are considered to be outside. This allows bounding boxes - * to reside directly next to each other with positions always only residing - * in exactly one of them. - */ - public contains(x: number, y: number, z: number): boolean; - /** - * Checks if this bounding box contains the specified position. - *

- * Positions exactly on the minimum borders of the bounding box are - * considered to be inside the bounding box, while positions exactly on the - * maximum borders are considered to be outside. This allows bounding boxes - * to reside directly next to each other with positions always only residing - * in exactly one of them. - */ - public contains(position: org.bukkit.util.Vector): boolean; - /** - * Checks if this bounding box fully contains the given bounding box. - */ - public contains(other: org.bukkit.util.BoundingBox): boolean; - /** - * Checks if this bounding box fully contains the bounding box that is - * defined by the given corners. - */ - public contains(min: org.bukkit.util.Vector, max: org.bukkit.util.Vector): boolean; - /** - * Calculates the intersection of this bounding box with the specified line - * segment. - *

- * Intersections at edges and corners yield one of the affected block faces - * as hit result, but it is not defined which of them. - */ - public rayTrace(start: org.bukkit.util.Vector, direction: org.bukkit.util.Vector, maxDistance: number): org.bukkit.util.RayTraceResult; - public hashCode(): number; - public equals(obj: any): boolean; - public toString(): string; - /** - * Creates a copy of this bounding box. - */ - public clone(): org.bukkit.util.BoundingBox; - public serialize(): Map /*java.util.Map*/; - public static deserialize(args: Map /*java.util.Map*/): org.bukkit.util.BoundingBox; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.CachedServerIcon.ts b/packages/bukkit/src/typings/org.bukkit.util.CachedServerIcon.ts deleted file mode 100644 index 21645424..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.CachedServerIcon.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - // @ts-ignore - interface CachedServerIcon { - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.ChatPaginator.ChatPage.ts b/packages/bukkit/src/typings/org.bukkit.util.ChatPaginator.ChatPage.ts deleted file mode 100644 index c9d41e52..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.ChatPaginator.ChatPage.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - namespace ChatPaginator { - // @ts-ignore - class ChatPage { - constructor(lines: string, pageNumber: number, totalPages: number) - public getPageNumber(): number; - public getTotalPages(): number; - public getLines(): any; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.ChatPaginator.ts b/packages/bukkit/src/typings/org.bukkit.util.ChatPaginator.ts deleted file mode 100644 index cc35b3e6..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.ChatPaginator.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - // @ts-ignore - class ChatPaginator { - constructor() - public static GUARANTEED_NO_WRAP_CHAT_PAGE_WIDTH: number; - public static AVERAGE_CHAT_PAGE_WIDTH: number; - public static UNBOUNDED_PAGE_WIDTH: number; - public static OPEN_CHAT_PAGE_HEIGHT: number; - public static CLOSED_CHAT_PAGE_HEIGHT: number; - public static UNBOUNDED_PAGE_HEIGHT: number; - /** - * Breaks a raw string up into pages using the default width and height. - */ - public static paginate(unpaginatedString: string, pageNumber: number): org.bukkit.util.ChatPaginator.ChatPage; - /** - * Breaks a raw string up into pages using a provided width and height. - */ - public static paginate(unpaginatedString: string, pageNumber: number, lineLength: number, pageHeight: number): org.bukkit.util.ChatPaginator.ChatPage; - /** - * Breaks a raw string up into a series of lines. Words are wrapped using - * spaces as decimeters and the newline character is respected. - */ - public static wordWrap(rawString: string, lineLength: number): any; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.Consumer.ts b/packages/bukkit/src/typings/org.bukkit.util.Consumer.ts deleted file mode 100644 index fcc7edb4..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.Consumer.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - // @ts-ignore - interface Consumer { - /** - * Performs this operation on the given argument. - */ - accept(t: any): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.EulerAngle.ts b/packages/bukkit/src/typings/org.bukkit.util.EulerAngle.ts deleted file mode 100644 index ec4fa68f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.EulerAngle.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - // @ts-ignore - class EulerAngle { - /** - * Creates a EularAngle with each axis set to the - * passed angle in radians - */ - constructor(x: number, y: number, z: number) - public static ZERO: org.bukkit.util.EulerAngle; - /** - * Returns the angle on the x axis in radians - */ - public getX(): number; - /** - * Returns the angle on the y axis in radians - */ - public getY(): number; - /** - * Returns the angle on the z axis in radians - */ - public getZ(): number; - /** - * Return a EulerAngle which is the result of changing - * the x axis to the passed angle - */ - public setX(x: number): org.bukkit.util.EulerAngle; - /** - * Return a EulerAngle which is the result of changing - * the y axis to the passed angle - */ - public setY(y: number): org.bukkit.util.EulerAngle; - /** - * Return a EulerAngle which is the result of changing - * the z axis to the passed angle - */ - public setZ(z: number): org.bukkit.util.EulerAngle; - /** - * Creates a new EulerAngle which is the result of adding - * the x, y, z components to this EulerAngle - */ - public add(x: number, y: number, z: number): org.bukkit.util.EulerAngle; - /** - * Creates a new EulerAngle which is the result of subtracting - * the x, y, z components to this EulerAngle - */ - public subtract(x: number, y: number, z: number): org.bukkit.util.EulerAngle; - public equals(o: any): boolean; - public hashCode(): number; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.FileUtil.ts b/packages/bukkit/src/typings/org.bukkit.util.FileUtil.ts deleted file mode 100644 index 3f5f9d4b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.FileUtil.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - // @ts-ignore - class FileUtil { - constructor() - /** - * This method copies one file to another location - */ - public static copy(inFile: any, outFile: any): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.NumberConversions.ts b/packages/bukkit/src/typings/org.bukkit.util.NumberConversions.ts deleted file mode 100644 index 4a52aa5b..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.NumberConversions.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - // @ts-ignore - class NumberConversions { - public static floor(num: number): number; - public static ceil(num: number): number; - public static round(num: number): number; - public static square(num: number): number; - public static toInt(object: any): number; - public static toFloat(object: any): number; - public static toDouble(object: any): number; - public static toLong(object: any): number; - public static toShort(object: any): number; - public static toByte(object: any): number; - public static isFinite(d: number): boolean; - public static isFinite(f: number): boolean; - public static checkFinite(d: number, message: string): void; - public static checkFinite(d: number, message: string): void; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.RayTraceResult.ts b/packages/bukkit/src/typings/org.bukkit.util.RayTraceResult.ts deleted file mode 100644 index 5fc337c8..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.RayTraceResult.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - // @ts-ignore - class RayTraceResult { - /** - * Creates a RayTraceResult. - */ - constructor(hitPosition: org.bukkit.util.Vector) - /** - * Creates a RayTraceResult. - */ - constructor(hitPosition: org.bukkit.util.Vector, hitBlockFace: org.bukkit.block.BlockFace) - /** - * Creates a RayTraceResult. - */ - constructor(hitPosition: org.bukkit.util.Vector, hitBlock: org.bukkit.block.Block, hitBlockFace: org.bukkit.block.BlockFace) - /** - * Creates a RayTraceResult. - */ - constructor(hitPosition: org.bukkit.util.Vector, hitEntity: org.bukkit.entity.Entity) - /** - * Creates a RayTraceResult. - */ - constructor(hitPosition: org.bukkit.util.Vector, hitEntity: org.bukkit.entity.Entity, hitBlockFace: org.bukkit.block.BlockFace) - /** - * Gets the exact position of the hit. - */ - public getHitPosition(): org.bukkit.util.Vector; - /** - * Gets the hit block. - */ - public getHitBlock(): org.bukkit.block.Block; - /** - * Gets the hit block face. - */ - public getHitBlockFace(): org.bukkit.block.BlockFace; - /** - * Gets the hit entity. - */ - public getHitEntity(): org.bukkit.entity.Entity; - public hashCode(): number; - public equals(obj: any): boolean; - public toString(): string; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.StringUtil.ts b/packages/bukkit/src/typings/org.bukkit.util.StringUtil.ts deleted file mode 100644 index d706a459..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.StringUtil.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - // @ts-ignore - class StringUtil { - constructor() - /** - * Copies all elements from the iterable collection of originals to the - * collection provided. - */ - public static copyPartialMatches(token: string, originals: any, collection: any[] /*java.util.Collection*/): any[] /*java.util.Collection*/; - /** - * This method uses a region to check case-insensitive equality. This - * means the internal array does not need to be copied like a - * toLowerCase() call would. - */ - public static startsWithIgnoreCase(string: string, prefix: string): boolean; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.Vector.ts b/packages/bukkit/src/typings/org.bukkit.util.Vector.ts deleted file mode 100644 index 5c914f32..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.Vector.ts +++ /dev/null @@ -1,318 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - // @ts-ignore - class Vector implements org.bukkit.configuration.serialization.ConfigurationSerializable { - /** - * Construct the vector with all components as 0. - */ - constructor() - /** - * Construct the vector with provided integer components. - */ - constructor(x: number, y: number, z: number) - /** - * Construct the vector with provided double components. - */ - constructor(x: number, y: number, z: number) - /** - * Construct the vector with provided float components. - */ - constructor(x: number, y: number, z: number) - protected x: number; - protected y: number; - protected z: number; - /** - * Adds a vector to this one - */ - public add(vec: org.bukkit.util.Vector): org.bukkit.util.Vector; - /** - * Subtracts a vector from this one. - */ - public subtract(vec: org.bukkit.util.Vector): org.bukkit.util.Vector; - /** - * Multiplies the vector by another. - */ - public multiply(vec: org.bukkit.util.Vector): org.bukkit.util.Vector; - /** - * Divides the vector by another. - */ - public divide(vec: org.bukkit.util.Vector): org.bukkit.util.Vector; - /** - * Copies another vector - */ - public copy(vec: org.bukkit.util.Vector): org.bukkit.util.Vector; - /** - * Gets the magnitude of the vector, defined as sqrt(x^2+y^2+z^2). The - * value of this method is not cached and uses a costly square-root - * function, so do not repeatedly call this method to get the vector's - * magnitude. NaN will be returned if the inner result of the sqrt() - * function overflows, which will be caused if the length is too long. - */ - public length(): number; - /** - * Gets the magnitude of the vector squared. - */ - public lengthSquared(): number; - /** - * Get the distance between this vector and another. The value of this - * method is not cached and uses a costly square-root function, so do not - * repeatedly call this method to get the vector's magnitude. NaN will be - * returned if the inner result of the sqrt() function overflows, which - * will be caused if the distance is too long. - */ - public distance(o: org.bukkit.util.Vector): number; - /** - * Get the squared distance between this vector and another. - */ - public distanceSquared(o: org.bukkit.util.Vector): number; - /** - * Gets the angle between this vector and another in radians. - */ - public angle(other: org.bukkit.util.Vector): number; - /** - * Sets this vector to the midpoint between this vector and another. - */ - public midpoint(other: org.bukkit.util.Vector): org.bukkit.util.Vector; - /** - * Gets a new midpoint vector between this vector and another. - */ - public getMidpoint(other: org.bukkit.util.Vector): org.bukkit.util.Vector; - /** - * Performs scalar multiplication, multiplying all components with a - * scalar. - */ - public multiply(m: number): org.bukkit.util.Vector; - /** - * Performs scalar multiplication, multiplying all components with a - * scalar. - */ - public multiply(m: number): org.bukkit.util.Vector; - /** - * Performs scalar multiplication, multiplying all components with a - * scalar. - */ - public multiply(m: number): org.bukkit.util.Vector; - /** - * Calculates the dot product of this vector with another. The dot product - * is defined as x1*x2+y1*y2+z1*z2. The returned value is a scalar. - */ - public dot(other: org.bukkit.util.Vector): number; - /** - * Calculates the cross product of this vector with another. The cross - * product is defined as: - *

    - *
  • x = y1 * z2 - y2 * z1 - *
  • y = z1 * x2 - z2 * x1 - *
  • z = x1 * y2 - x2 * y1 - *
- */ - public crossProduct(o: org.bukkit.util.Vector): org.bukkit.util.Vector; - /** - * Calculates the cross product of this vector with another without mutating - * the original. The cross product is defined as: - *
    - *
  • x = y1 * z2 - y2 * z1 - *
  • y = z1 * x2 - z2 * x1 - *
  • z = x1 * y2 - x2 * y1 - *
- */ - public getCrossProduct(o: org.bukkit.util.Vector): org.bukkit.util.Vector; - /** - * Converts this vector to a unit vector (a vector with length of 1). - */ - public normalize(): org.bukkit.util.Vector; - /** - * Zero this vector's components. - */ - public zero(): org.bukkit.util.Vector; - /** - * Returns whether this vector is in an axis-aligned bounding box. - *

- * The minimum and maximum vectors given must be truly the minimum and - * maximum X, Y and Z components. - */ - public isInAABB(min: org.bukkit.util.Vector, max: org.bukkit.util.Vector): boolean; - /** - * Returns whether this vector is within a sphere. - */ - public isInSphere(origin: org.bukkit.util.Vector, radius: number): boolean; - /** - * Returns if a vector is normalized - */ - public isNormalized(): boolean; - /** - * Rotates the vector around the x axis. - *

- * This piece of math is based on the standard rotation matrix for vectors - * in three dimensional space. This matrix can be found here: - * Rotation - * Matrix. - */ - public rotateAroundX(angle: number): org.bukkit.util.Vector; - /** - * Rotates the vector around the y axis. - *

- * This piece of math is based on the standard rotation matrix for vectors - * in three dimensional space. This matrix can be found here: - * Rotation - * Matrix. - */ - public rotateAroundY(angle: number): org.bukkit.util.Vector; - /** - * Rotates the vector around the z axis - *

- * This piece of math is based on the standard rotation matrix for vectors - * in three dimensional space. This matrix can be found here: - * Rotation - * Matrix. - */ - public rotateAroundZ(angle: number): org.bukkit.util.Vector; - /** - * Rotates the vector around a given arbitrary axis in 3 dimensional space. - *

- * Rotation will follow the general Right-Hand-Rule, which means rotation - * will be counterclockwise when the axis is pointing towards the observer. - *

- * This method will always make sure the provided axis is a unit vector, to - * not modify the length of the vector when rotating. If you are experienced - * with the scaling of a non-unit axis vector, you can use - * {@link Vector#rotateAroundNonUnitAxis(Vector, double)}. - */ - public rotateAroundAxis(axis: org.bukkit.util.Vector, angle: number): org.bukkit.util.Vector; - /** - * Rotates the vector around a given arbitrary axis in 3 dimensional space. - *

- * Rotation will follow the general Right-Hand-Rule, which means rotation - * will be counterclockwise when the axis is pointing towards the observer. - *

- * Note that the vector length will change accordingly to the axis vector - * length. If the provided axis is not a unit vector, the rotated vector - * will not have its previous length. The scaled length of the resulting - * vector will be related to the axis vector. If you are not perfectly sure - * about the scaling of the vector, use - * {@link Vector#rotateAroundAxis(Vector, double)} - */ - public rotateAroundNonUnitAxis(axis: org.bukkit.util.Vector, angle: number): org.bukkit.util.Vector; - /** - * Gets the X component. - */ - public getX(): number; - /** - * Gets the floored value of the X component, indicating the block that - * this vector is contained with. - */ - public getBlockX(): number; - /** - * Gets the Y component. - */ - public getY(): number; - /** - * Gets the floored value of the Y component, indicating the block that - * this vector is contained with. - */ - public getBlockY(): number; - /** - * Gets the Z component. - */ - public getZ(): number; - /** - * Gets the floored value of the Z component, indicating the block that - * this vector is contained with. - */ - public getBlockZ(): number; - /** - * Set the X component. - */ - public setX(x: number): org.bukkit.util.Vector; - /** - * Set the X component. - */ - public setX(x: number): org.bukkit.util.Vector; - /** - * Set the X component. - */ - public setX(x: number): org.bukkit.util.Vector; - /** - * Set the Y component. - */ - public setY(y: number): org.bukkit.util.Vector; - /** - * Set the Y component. - */ - public setY(y: number): org.bukkit.util.Vector; - /** - * Set the Y component. - */ - public setY(y: number): org.bukkit.util.Vector; - /** - * Set the Z component. - */ - public setZ(z: number): org.bukkit.util.Vector; - /** - * Set the Z component. - */ - public setZ(z: number): org.bukkit.util.Vector; - /** - * Set the Z component. - */ - public setZ(z: number): org.bukkit.util.Vector; - /** - * Checks to see if two objects are equal. - *

- * Only two Vectors can ever return true. This method uses a fuzzy match - * to account for floating point errors. The epsilon can be retrieved - * with epsilon. - */ - public equals(obj: any): boolean; - /** - * Returns a hash code for this vector - */ - public hashCode(): number; - /** - * Get a new vector. - */ - public clone(): org.bukkit.util.Vector; - /** - * Returns this vector's components as x,y,z. - */ - public toString(): string; - /** - * Gets a Location version of this vector with yaw and pitch being 0. - */ - public toLocation(world: org.bukkit.World): org.bukkit.Location; - /** - * Gets a Location version of this vector. - */ - public toLocation(world: org.bukkit.World, yaw: number, pitch: number): org.bukkit.Location; - /** - * Get the block vector of this vector. - */ - public toBlockVector(): org.bukkit.util.BlockVector; - /** - * Check if each component of this Vector is finite. - */ - public checkFinite(): void; - /** - * Get the threshold used for equals(). - */ - public static getEpsilon(): number; - /** - * Gets the minimum components of two vectors. - */ - public static getMinimum(v1: org.bukkit.util.Vector, v2: org.bukkit.util.Vector): org.bukkit.util.Vector; - /** - * Gets the maximum components of two vectors. - */ - public static getMaximum(v1: org.bukkit.util.Vector, v2: org.bukkit.util.Vector): org.bukkit.util.Vector; - /** - * Gets a random vector with components having a random value between 0 - * and 1. - */ - public static getRandom(): org.bukkit.util.Vector; - public serialize(): Map /*java.util.Map*/; - public static deserialize(args: Map /*java.util.Map*/): org.bukkit.util.Vector; - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.io.BukkitObjectInputStream.ts b/packages/bukkit/src/typings/org.bukkit.util.io.BukkitObjectInputStream.ts deleted file mode 100644 index 9fcc2f39..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.io.BukkitObjectInputStream.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - namespace io { - // @ts-ignore - class BukkitObjectInputStream { - /** - * Constructor provided to mirror super functionality. - */ - constructor() - /** - * Object input stream decoration constructor. - */ - constructor(input: any) - protected resolveObject(obj: any): any; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.io.BukkitObjectOutputStream.ts b/packages/bukkit/src/typings/org.bukkit.util.io.BukkitObjectOutputStream.ts deleted file mode 100644 index a7ef7c1f..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.io.BukkitObjectOutputStream.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - namespace io { - // @ts-ignore - class BukkitObjectOutputStream { - /** - * Constructor provided to mirror super functionality. - */ - constructor() - /** - * Object output stream decoration constructor. - */ - constructor(out: any) - protected replaceObject(obj: any): any; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.noise.NoiseGenerator.ts b/packages/bukkit/src/typings/org.bukkit.util.noise.NoiseGenerator.ts deleted file mode 100644 index 5a761a4e..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.noise.NoiseGenerator.ts +++ /dev/null @@ -1,61 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - namespace noise { - // @ts-ignore - abstract class NoiseGenerator { - constructor() - protected perm: number[]; - protected offsetX: number; - protected offsetY: number; - protected offsetZ: number; - /** - * Speedy floor, faster than (int)Math.floor(x) - */ - public static floor(x: number): number; - protected static fade(x: number): number; - protected static lerp(x: number, y: number, z: number): number; - protected static grad(hash: number, x: number, y: number, z: number): number; - /** - * Computes and returns the 1D noise for the given coordinate in 1D space - */ - public noise(x: number): number; - /** - * Computes and returns the 2D noise for the given coordinates in 2D space - */ - public noise(x: number, y: number): number; - /** - * Generates noise for the 1D coordinates using the specified number of - * octaves and parameters - */ - public noise(x: number, octaves: number, frequency: number, amplitude: number): number; - /** - * Generates noise for the 1D coordinates using the specified number of - * octaves and parameters - */ - public noise(x: number, octaves: number, frequency: number, amplitude: number, normalized: boolean): number; - /** - * Generates noise for the 2D coordinates using the specified number of - * octaves and parameters - */ - public noise(x: number, y: number, octaves: number, frequency: number, amplitude: number): number; - /** - * Generates noise for the 2D coordinates using the specified number of - * octaves and parameters - */ - public noise(x: number, y: number, octaves: number, frequency: number, amplitude: number, normalized: boolean): number; - /** - * Generates noise for the 3D coordinates using the specified number of - * octaves and parameters - */ - public noise(x: number, y: number, z: number, octaves: number, frequency: number, amplitude: number): number; - /** - * Generates noise for the 3D coordinates using the specified number of - * octaves and parameters - */ - public noise(x: number, y: number, z: number, octaves: number, frequency: number, amplitude: number, normalized: boolean): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.noise.OctaveGenerator.ts b/packages/bukkit/src/typings/org.bukkit.util.noise.OctaveGenerator.ts deleted file mode 100644 index d9916329..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.noise.OctaveGenerator.ts +++ /dev/null @@ -1,81 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - namespace noise { - // @ts-ignore - abstract class OctaveGenerator { - constructor(octaves: org.bukkit.util.noise.NoiseGenerator) - protected octaves: org.bukkit.util.noise.NoiseGenerator[]; - protected xScale: number; - protected yScale: number; - protected zScale: number; - /** - * Sets the scale used for all coordinates passed to this generator. - *

- * This is the equivalent to setting each coordinate to the specified - * value. - */ - public setScale(scale: number): void; - /** - * Gets the scale used for each X-coordinates passed - */ - public getXScale(): number; - /** - * Sets the scale used for each X-coordinates passed - */ - public setXScale(scale: number): void; - /** - * Gets the scale used for each Y-coordinates passed - */ - public getYScale(): number; - /** - * Sets the scale used for each Y-coordinates passed - */ - public setYScale(scale: number): void; - /** - * Gets the scale used for each Z-coordinates passed - */ - public getZScale(): number; - /** - * Sets the scale used for each Z-coordinates passed - */ - public setZScale(scale: number): void; - /** - * Gets a clone of the individual octaves used within this generator - */ - public getOctaves(): org.bukkit.util.noise.NoiseGenerator[]; - /** - * Generates noise for the 1D coordinates using the specified number of - * octaves and parameters - */ - public noise(x: number, frequency: number, amplitude: number): number; - /** - * Generates noise for the 1D coordinates using the specified number of - * octaves and parameters - */ - public noise(x: number, frequency: number, amplitude: number, normalized: boolean): number; - /** - * Generates noise for the 2D coordinates using the specified number of - * octaves and parameters - */ - public noise(x: number, y: number, frequency: number, amplitude: number): number; - /** - * Generates noise for the 2D coordinates using the specified number of - * octaves and parameters - */ - public noise(x: number, y: number, frequency: number, amplitude: number, normalized: boolean): number; - /** - * Generates noise for the 3D coordinates using the specified number of - * octaves and parameters - */ - public noise(x: number, y: number, z: number, frequency: number, amplitude: number): number; - /** - * Generates noise for the 3D coordinates using the specified number of - * octaves and parameters - */ - public noise(x: number, y: number, z: number, frequency: number, amplitude: number, normalized: boolean): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.noise.PerlinNoiseGenerator.ts b/packages/bukkit/src/typings/org.bukkit.util.noise.PerlinNoiseGenerator.ts deleted file mode 100644 index 72221fe3..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.noise.PerlinNoiseGenerator.ts +++ /dev/null @@ -1,59 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - namespace noise { - // @ts-ignore - class PerlinNoiseGenerator extends org.bukkit.util.noise.NoiseGenerator { - constructor() - /** - * Creates a seeded perlin noise generator for the given world - */ - constructor(world: org.bukkit.World) - /** - * Creates a seeded perlin noise generator for the given seed - */ - constructor(seed: number) - /** - * Creates a seeded perlin noise generator with the given Random - */ - constructor(rand: any) - protected static grad3: number[][]; - /** - * Computes and returns the 1D unseeded perlin noise for the given - * coordinates in 1D space - */ - public static getNoise(x: number): number; - /** - * Computes and returns the 2D unseeded perlin noise for the given - * coordinates in 2D space - */ - public static getNoise(x: number, y: number): number; - /** - * Computes and returns the 3D unseeded perlin noise for the given - * coordinates in 3D space - */ - public static getNoise(x: number, y: number, z: number): number; - /** - * Gets the singleton unseeded instance of this generator - */ - public static getInstance(): org.bukkit.util.noise.PerlinNoiseGenerator; - /** - * Generates noise for the 1D coordinates using the specified number of - * octaves and parameters - */ - public static getNoise(x: number, octaves: number, frequency: number, amplitude: number): number; - /** - * Generates noise for the 2D coordinates using the specified number of - * octaves and parameters - */ - public static getNoise(x: number, y: number, octaves: number, frequency: number, amplitude: number): number; - /** - * Generates noise for the 3D coordinates using the specified number of - * octaves and parameters - */ - public static getNoise(x: number, y: number, z: number, octaves: number, frequency: number, amplitude: number): number; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.noise.PerlinOctaveGenerator.ts b/packages/bukkit/src/typings/org.bukkit.util.noise.PerlinOctaveGenerator.ts deleted file mode 100644 index ba017a84..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.noise.PerlinOctaveGenerator.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - namespace noise { - // @ts-ignore - class PerlinOctaveGenerator extends org.bukkit.util.noise.OctaveGenerator { - /** - * Creates a perlin octave generator for the given world - */ - constructor(world: org.bukkit.World, octaves: number) - /** - * Creates a perlin octave generator for the given world - */ - constructor(seed: number, octaves: number) - /** - * Creates a perlin octave generator for the given {@link Random} - */ - constructor(rand: any, octaves: number) - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.noise.SimplexNoiseGenerator.ts b/packages/bukkit/src/typings/org.bukkit.util.noise.SimplexNoiseGenerator.ts deleted file mode 100644 index bf0ff6d7..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.noise.SimplexNoiseGenerator.ts +++ /dev/null @@ -1,66 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - namespace noise { - // @ts-ignore - class SimplexNoiseGenerator extends org.bukkit.util.noise.PerlinNoiseGenerator { - constructor() - /** - * Creates a seeded simplex noise generator for the given world - */ - constructor(world: org.bukkit.World) - /** - * Creates a seeded simplex noise generator for the given seed - */ - constructor(seed: number) - /** - * Creates a seeded simplex noise generator with the given Random - */ - constructor(rand: any) - protected static SQRT_3: number; - protected static SQRT_5: number; - protected static F2: number; - protected static G2: number; - protected static G22: number; - protected static F3: number; - protected static G3: number; - protected static F4: number; - protected static G4: number; - protected static G42: number; - protected static G43: number; - protected static G44: number; - protected static grad4: number[][]; - protected static simplex: number[][]; - protected offsetW: number; - protected static dot(g: number, x: number, y: number): number; - protected static dot(g: number, x: number, y: number, z: number): number; - protected static dot(g: number, x: number, y: number, z: number, w: number): number; - /** - * Computes and returns the 1D unseeded simplex noise for the given - * coordinates in 1D space - */ - public static getNoise(xin: number): number; - /** - * Computes and returns the 2D unseeded simplex noise for the given - * coordinates in 2D space - */ - public static getNoise(xin: number, yin: number): number; - /** - * Computes and returns the 3D unseeded simplex noise for the given - * coordinates in 3D space - */ - public static getNoise(xin: number, yin: number, zin: number): number; - /** - * Computes and returns the 4D simplex noise for the given coordinates in - * 4D space - */ - public static getNoise(x: number, y: number, z: number, w: number): number; - /** - * Gets the singleton unseeded instance of this generator - */ - public static getInstance(): org.bukkit.util.noise.SimplexNoiseGenerator; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.noise.SimplexOctaveGenerator.ts b/packages/bukkit/src/typings/org.bukkit.util.noise.SimplexOctaveGenerator.ts deleted file mode 100644 index 17794728..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.noise.SimplexOctaveGenerator.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - namespace noise { - // @ts-ignore - class SimplexOctaveGenerator extends org.bukkit.util.noise.OctaveGenerator { - /** - * Creates a simplex octave generator for the given world - */ - constructor(world: org.bukkit.World, octaves: number) - /** - * Creates a simplex octave generator for the given world - */ - constructor(seed: number, octaves: number) - /** - * Creates a simplex octave generator for the given {@link Random} - */ - constructor(rand: any, octaves: number) - public setScale(scale: number): void; - /** - * Gets the scale used for each W-coordinates passed - */ - public getWScale(): number; - /** - * Sets the scale used for each W-coordinates passed - */ - public setWScale(scale: number): void; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.permissions.BroadcastPermissions.ts b/packages/bukkit/src/typings/org.bukkit.util.permissions.BroadcastPermissions.ts deleted file mode 100644 index f0866c55..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.permissions.BroadcastPermissions.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - namespace permissions { - // @ts-ignore - class BroadcastPermissions { - public static registerPermissions(parent: org.bukkit.permissions.Permission): org.bukkit.permissions.Permission; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.permissions.CommandPermissions.ts b/packages/bukkit/src/typings/org.bukkit.util.permissions.CommandPermissions.ts deleted file mode 100644 index 35d9d003..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.permissions.CommandPermissions.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - namespace permissions { - // @ts-ignore - class CommandPermissions { - public static registerPermissions(parent: org.bukkit.permissions.Permission): org.bukkit.permissions.Permission; - } - } - } - } -} diff --git a/packages/bukkit/src/typings/org.bukkit.util.permissions.DefaultPermissions.ts b/packages/bukkit/src/typings/org.bukkit.util.permissions.DefaultPermissions.ts deleted file mode 100644 index a4befbda..00000000 --- a/packages/bukkit/src/typings/org.bukkit.util.permissions.DefaultPermissions.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace bukkit { - namespace util { - namespace permissions { - // @ts-ignore - class DefaultPermissions { - public static registerPermission(perm: org.bukkit.permissions.Permission): org.bukkit.permissions.Permission; - public static registerPermission(perm: org.bukkit.permissions.Permission, withLegacy: boolean): org.bukkit.permissions.Permission; - public static registerPermission(perm: org.bukkit.permissions.Permission, parent: org.bukkit.permissions.Permission): org.bukkit.permissions.Permission; - public static registerPermission(name: string, desc: string): org.bukkit.permissions.Permission; - public static registerPermission(name: string, desc: string, parent: org.bukkit.permissions.Permission): org.bukkit.permissions.Permission; - public static registerPermission(name: string, desc: string, def: org.bukkit.permissions.PermissionDefault): org.bukkit.permissions.Permission; - public static registerPermission(name: string, desc: string, def: org.bukkit.permissions.PermissionDefault, parent: org.bukkit.permissions.Permission): org.bukkit.permissions.Permission; - public static registerPermission(name: string, desc: string, def: org.bukkit.permissions.PermissionDefault, children: Map /*java.util.Map*/): org.bukkit.permissions.Permission; - public static registerPermission(name: string, desc: string, def: org.bukkit.permissions.PermissionDefault, children: Map /*java.util.Map*/, parent: org.bukkit.permissions.Permission): org.bukkit.permissions.Permission; - public static registerCorePermissions(): void; - } - } - } - } -} diff --git a/packages/sponge/package.json b/packages/sponge/package.json index 9cb6c764..382ce0b7 100644 --- a/packages/sponge/package.json +++ b/packages/sponge/package.json @@ -29,6 +29,7 @@ "dependencies": { "@ms/api": "^0.1.1", "@ms/common": "^0.1.0", - "@ms/container": "^0.1.0" + "@ms/container": "^0.1.0", + "@ms/types": "^0.1.1" } } diff --git a/packages/sponge/src/index.ts b/packages/sponge/src/index.ts index 344da22c..87303566 100644 --- a/packages/sponge/src/index.ts +++ b/packages/sponge/src/index.ts @@ -1,4 +1,4 @@ -/// +/// import { server, plugin, command, event, task } from '@ms/api' import { DefaultContainer as container } from '@ms/container' @@ -9,7 +9,7 @@ import { SpongeCommand } from './command'; import { SpongeTaskManager } from './task'; let SpongeServerType = 'sponge'; -let Sponge = org.spongepowered.api.Sponge; +let Sponge = Java.type("org.spongepowered.api.Sponge"); container.bind(server.Console).toConstantValue(SpongeConsole); container.bind(server.ServerType).toConstantValue(SpongeServerType); diff --git a/packages/sponge/src/typings/index.ts b/packages/sponge/src/typings/index.ts deleted file mode 100644 index 0f17d9ee..00000000 --- a/packages/sponge/src/typings/index.ts +++ /dev/null @@ -1,1927 +0,0 @@ -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// diff --git a/packages/sponge/src/typings/org.spongepowered.api.CatalogType.ts b/packages/sponge/src/typings/org.spongepowered.api.CatalogType.ts deleted file mode 100644 index f5166fdc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.CatalogType.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - // @ts-ignore - interface CatalogType { - /** - * Gets the unique identifier of this {@link CatalogType}. The identifier is - * case insensitive, thus there cannot be another instance with a different - * character case. The id of this instance must remain the same for the - * entire duration of its existence. The identifier can be formatted however - * needed. - *

A typical id format follows the pattern of `modId:name` - * or `minecraft:name`. However the prefix may be omitted for - * default/vanilla minecraft types.

- */ - // @ts-ignore - getId(): string; - /** - * Gets the human-readable name of this individual {@link CatalogType}. This - * name is not guaranteed to be unique. This value should not be used for - * serialization. - */ - // @ts-ignore - getName(): string; - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.CatalogTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.CatalogTypes.ts deleted file mode 100644 index 951560ce..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.CatalogTypes.ts +++ /dev/null @@ -1,257 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - // @ts-ignore - class CatalogTypes { - // @ts-ignore - public static ADVANCEMENT: any; - // @ts-ignore - public static ADVANCEMENT_TREE: any; - // @ts-ignore - public static ADVANCEMENT_TYPE: any; - // @ts-ignore - public static AI_TASK_TYPE: any; - // @ts-ignore - public static ARMOR_TYPE: any; - // @ts-ignore - public static ART: any; - // @ts-ignore - public static BANNER_PATTERN_SHAPE: any; - // @ts-ignore - public static BAN_TYPE: any; - // @ts-ignore - public static BIG_MUSHROOM_TYPE: any; - // @ts-ignore - public static BIOME_TREE_TYPE: any; - // @ts-ignore - public static BIOME_TYPE: any; - // @ts-ignore - public static BLOCK_PALETTE_TYPE: any; - // @ts-ignore - public static BLOCK_STATISTIC: any; - // @ts-ignore - public static BLOCK_TYPE: any; - // @ts-ignore - public static BODY_PART: any; - // @ts-ignore - public static BOSS_BAR_COLOR: any; - // @ts-ignore - public static BOSS_BAR_OVERLAY: any; - // @ts-ignore - public static BRICK_TYPE: any; - // @ts-ignore - public static CAREER: any; - // @ts-ignore - public static CHAT_TYPE: any; - // @ts-ignore - public static CHAT_VISIBILITY: any; - // @ts-ignore - public static COAL_TYPE: any; - // @ts-ignore - public static COLLISION_RULE: any; - // @ts-ignore - public static COMPARISON_TYPE: any; - // @ts-ignore - public static COOKED_FISH: any; - // @ts-ignore - public static CRAFTING_RECIPES: any; - // @ts-ignore - public static CRITERION: any; - // @ts-ignore - public static CURRENCY: any; - // @ts-ignore - public static DAMAGE_MODIFIER_TYPE: any; - // @ts-ignore - public static DAMAGE_TYPE: any; - // @ts-ignore - public static DATA_FORMAT: any; - // @ts-ignore - public static DATA_TRANSLATOR: any; - // @ts-ignore - public static DIFFICULTY: any; - // @ts-ignore - public static DIMENSION_TYPE: any; - // @ts-ignore - public static DIRT_TYPE: any; - // @ts-ignore - public static DISGUISED_BLOCK_TYPE: any; - // @ts-ignore - public static DISMOUNT_TYPE: any; - // @ts-ignore - public static DISPLAY_SLOT: any; - // @ts-ignore - public static DOUBLE_PLANT_TYPE: any; - // @ts-ignore - public static DYE_COLOR: any; - // @ts-ignore - public static ENCHANTMENT: any; - // @ts-ignore - public static ENCHANTMENT_TYPE: any; - // @ts-ignore - public static ENTITY_STATISTIC: any; - // @ts-ignore - public static ENTITY_TYPE: any; - // @ts-ignore - public static EQUIPMENT_TYPE: any; - // @ts-ignore - public static EVENT_CONTEXT_KEY: any; - // @ts-ignore - public static FIREWORK_SHAPE: any; - // @ts-ignore - public static FISH: any; - // @ts-ignore - public static FLUID_TYPE: any; - // @ts-ignore - public static GAME_MODE: any; - // @ts-ignore - public static GENERATOR_TYPE: any; - // @ts-ignore - public static GOAL_TYPE: any; - // @ts-ignore - public static GOLDEN_APPLE: any; - // @ts-ignore - public static HAND_PREFERENCE: any; - // @ts-ignore - public static HAND_TYPE: any; - // @ts-ignore - public static HEALING_TYPE: any; - // @ts-ignore - public static HEALTH_MODIFIER_TYPE: any; - // @ts-ignore - public static HELD_EQUIPMENT_TYPE: any; - // @ts-ignore - public static HINGE: any; - // @ts-ignore - public static HORSE_COLOR: any; - // @ts-ignore - public static HORSE_STYLE: any; - // @ts-ignore - public static INSTRUMENT_TYPE: any; - // @ts-ignore - public static INVENTORY_ARCHETYPE: any; - // @ts-ignore - public static ITEM_STATISTIC: any; - // @ts-ignore - public static ITEM_TYPE: any; - // @ts-ignore - public static LLAMA_VARIANT: any; - // @ts-ignore - public static LOG_AXIS: any; - // @ts-ignore - public static MUSHROOM_TYPE: any; - // @ts-ignore - public static NOTE_PITCH: any; - // @ts-ignore - public static OBJECTIVE_DISPLAY_MODE: any; - // @ts-ignore - public static OCELOT_TYPE: any; - // @ts-ignore - public static PARROT_VARIANT: any; - // @ts-ignore - public static PARTICLE_OPTION: any; - // @ts-ignore - public static PARTICLE_TYPE: any; - // @ts-ignore - public static PICKUP_RULE: any; - // @ts-ignore - public static PISTON_TYPE: any; - // @ts-ignore - public static PLANT_TYPE: any; - // @ts-ignore - public static POPULATOR_OBJECT: any; - // @ts-ignore - public static POPULATOR_TYPE: any; - // @ts-ignore - public static PORTAL_AGENT_TYPE: any; - // @ts-ignore - public static PORTION_TYPE: any; - // @ts-ignore - public static POTION_EFFECT_TYPE: any; - // @ts-ignore - public static PRISMARINE_TYPE: any; - // @ts-ignore - public static PROFESSION: any; - // @ts-ignore - public static QUARTZ_TYPE: any; - // @ts-ignore - public static QUERY_OPERATION_TYPE: any; - // @ts-ignore - public static RABBIT_TYPE: any; - // @ts-ignore - public static RAIL_DIRECTION: any; - // @ts-ignore - public static RECORD_TYPE: any; - // @ts-ignore - public static ROTATION: any; - // @ts-ignore - public static SANDSTONE_TYPE: any; - // @ts-ignore - public static SAND_TYPE: any; - // @ts-ignore - public static SELECTOR_TYPE: any; - // @ts-ignore - public static SERIALIZATION_BEHAVIOR: any; - // @ts-ignore - public static SHRUB_TYPE: any; - // @ts-ignore - public static SKIN_PART: any; - // @ts-ignore - public static SKULL_TYPE: any; - // @ts-ignore - public static SLAB_TYPE: any; - // @ts-ignore - public static SOUND_CATEGORY: any; - // @ts-ignore - public static SOUND_TYPE: any; - // @ts-ignore - public static SPAWN_TYPE: any; - // @ts-ignore - public static STAIR_SHAPE: any; - // @ts-ignore - public static STATISTIC: any; - // @ts-ignore - public static STATISTIC_TYPE: any; - // @ts-ignore - public static STONE_TYPE: any; - // @ts-ignore - public static STRUCTURE_MODE: any; - // @ts-ignore - public static TELEPORT_HELPER_FILTER: any; - // @ts-ignore - public static TELEPORT_TYPE: any; - // @ts-ignore - public static TEXT_COLOR: any; - // @ts-ignore - public static TEXT_SERIALIZER: any; - // @ts-ignore - public static TEXT_STYLE: any; - // @ts-ignore - public static TILE_ENTITY_TYPE: any; - // @ts-ignore - public static TOOL_TYPE: any; - // @ts-ignore - public static TRANSACTION_TYPE: any; - // @ts-ignore - public static TREE_TYPE: any; - // @ts-ignore - public static TRIGGER: any; - // @ts-ignore - public static VIRTUAL_BIOME_TYPE: any; - // @ts-ignore - public static VISIBILITY: any; - // @ts-ignore - public static WALL_TYPE: any; - // @ts-ignore - public static WEATHER: any; - // @ts-ignore - public static WIRE_ATTACHMENT_TYPE: any; - // @ts-ignore - public static WORLD_ARCHETYPE: any; - // @ts-ignore - public static WORLD_GENERATOR_MODIFIER: any; - // @ts-ignore - public static WORN_EQUIPMENT_TYPE: any; - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.Game.ts b/packages/sponge/src/typings/org.spongepowered.api.Game.ts deleted file mode 100644 index cc078e1c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.Game.ts +++ /dev/null @@ -1,129 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - // @ts-ignore - interface Game { - /** - * Gets the current {@link GameState} that this game is currently in. - */ - // @ts-ignore - getState(): org.spongepowered.api.GameState; - /** - * Gets the directory where the game's files are located. - */ - // @ts-ignore - getGameDirectory(): any; - /** - * Gets the directory where the game will store save files. - *

This location differs based on the implementation and is therefore - * implementation-specific.

- *

To elaborate, this is how it is handled in Minecraft based on side: - *

- *
    - *
  • Client - *
      This directory will point to {@link Game#getGameDirectory()}.resolve("saves").resolve(currentSaveName)
    - *
  • Server - *
      This directory will be equivalent to {@link Game#getGameDirectory()}.resolve(level-name).
    - *
- *

Consult your specific implementation if they support placing this - * elsewhere.

- */ - // @ts-ignore - getSavesDirectory(): any; - /** - * Returns if the {@link Server} is available for use. The result of this method is entirely - * dependent on the implementation. - */ - // @ts-ignore - isServerAvailable(): boolean; - /** - * Gets the {@link Server}. - */ - // @ts-ignore - getServer(): org.spongepowered.api.Server; - /** - * Retrieves the GameDictionary (item dictionary) for this {@link Game}. - */ - // @ts-ignore - getGameDictionary(): any; - /** - * Returns the current platform, or implementation, this {@link Game} is running on. - */ - // @ts-ignore - getPlatform(): org.spongepowered.api.Platform; - /** - * Gets the {@link GameRegistry}. - */ - // @ts-ignore - getRegistry(): org.spongepowered.api.GameRegistry; - /** - * Gets the {@link DataManager} instance to register - * {@link DataSerializable}s, and get the related {@link DataBuilder}s. - */ - // @ts-ignore - getDataManager(): org.spongepowered.api.data.DataManager; - /** - * Gets the {@link PropertyRegistry} instance to register - * {@link PropertyStore}s. - */ - // @ts-ignore - getPropertyRegistry(): org.spongepowered.api.data.property.PropertyRegistry; - /** - * Gets the {@link PluginManager}. - */ - // @ts-ignore - getPluginManager(): org.spongepowered.api.plugin.PluginManager; - /** - * Gets the {@link EventManager}. - */ - // @ts-ignore - getEventManager(): org.spongepowered.api.event.EventManager; - /** - * Gets the {@link AssetManager}. - */ - // @ts-ignore - getAssetManager(): org.spongepowered.api.asset.AssetManager; - /** - * Gets the {@link ConfigManager} used to load and manage configuration files - * for plugins. - */ - // @ts-ignore - getConfigManager(): org.spongepowered.api.config.ConfigManager; - /** - * Gets the command dispatcher used for registering and dispatching - * registered commands. - */ - // @ts-ignore - getCommandManager(): org.spongepowered.api.command.CommandManager; - /** - * Gets the game's instance of the service manager, which is the gateway - * to various services provided by Sponge (command registration and so on). - *

Services registered by other plugins may be available too.

- */ - // @ts-ignore - getServiceManager(): org.spongepowered.api.service.ServiceManager; - /** - * Gets the scheduler used to schedule tasks. - */ - // @ts-ignore - getScheduler(): org.spongepowered.api.scheduler.Scheduler; - /** - * Gets the {@link ChannelRegistrar} for creating network channels. - */ - // @ts-ignore - getChannelRegistrar(): org.spongepowered.api.network.ChannelRegistrar; - /** - * Gets the {@link TeleportHelper}, used to find safe {@link Location}s. - */ - // @ts-ignore - getTeleportHelper(): org.spongepowered.api.world.TeleportHelper; - /** - * Gets the {@link CauseStackManager} for handling the current event cause - * stack and context information. - */ - // @ts-ignore - getCauseStackManager(): org.spongepowered.api.event.CauseStackManager; - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.GameDictionary.Entry.ts b/packages/sponge/src/typings/org.spongepowered.api.GameDictionary.Entry.ts deleted file mode 100644 index 7d689b45..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.GameDictionary.Entry.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace GameDictionary { - // @ts-ignore - interface Entry { - /** - * Returns the type of item contained by this entry. - */ - // @ts-ignore - getType(): org.spongepowered.api.item.ItemType; - /** - * Tests whether the provided item stack matches this entry's - * specifications. - */ - // @ts-ignore - matches(stack: org.spongepowered.api.item.inventory.ItemStack): boolean; - /** - * Returns whether this entry checks against the item type and extra - * data associated with the stack. If this returns {@code true}, any - * {@link ItemStack} whose {@link ItemType} and manipulators match - * those of the {@linkplain #getTemplate() template} will {@linkplain - * #matches(ItemStack) match} this entry; however, not all manipulators - * present in the template are required to match those in the item - * stack to cause them to match. If this returns {@code false}, any - * item stack whose {@link ItemType} matches that of the entry will - * match this entry. - */ - // @ts-ignore - isSpecific(): boolean; - /** - * Returns an item stack snapshot for plugins to inspect this entry. - * The returned snapshot will {@linkplain #matches(ItemStack) match} - * this entry. The size of the snapshot will always be 1. - */ - // @ts-ignore - getTemplate(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.GameDictionary.ts b/packages/sponge/src/typings/org.spongepowered.api.GameDictionary.ts deleted file mode 100644 index 2f0ccc00..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.GameDictionary.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - // @ts-ignore - interface GameDictionary { - /** - * Registers an {@link org.spongepowered.api.GameDictionary.Entry} - * in the dictionary with a String key. The stack size is ignored. - */ - // @ts-ignore - register(key: string, entry: org.spongepowered.api.GameDictionary.Entry): void; - /** - * Retrieves the entries registered for the given key. The stack sizes are - * set to 1. - */ - // @ts-ignore - get(key: string): any[] /*java.util.Set*/; - /** - * Retrieves all entries registered in this game dictionary, mapped by their - * key. - */ - // @ts-ignore - getAll(): any; - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.GameRegistry.ts b/packages/sponge/src/typings/org.spongepowered.api.GameRegistry.ts deleted file mode 100644 index e60f142c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.GameRegistry.ts +++ /dev/null @@ -1,206 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - // @ts-ignore - interface GameRegistry { - /** - * Attempts to retrieve the specific type of {@link CatalogType} based on - * the string id given. - *

Some types may not be available for various reasons including but not - * restricted to: mods adding custom types, plugins providing custom types, - * game version changes.

- */ - // @ts-ignore - getType(typeClass: any, id: string): any; - /** - * Gets a collection of all available found specific types of - * {@link CatalogType} requested. - *

The presented {@link CatalogType}s may not exist in default catalogs - * due to various reasons including but not restricted to: mods, plugins, - * game changes.

- */ - // @ts-ignore - getAllOf(typeClass: any): any[] /*java.util.Collection*/; - /** - * Gets a collection of all available found specific types of - * {@link CatalogType} requested. - */ - // @ts-ignore - getAllFor(pluginId: string, typeClass: any): any[] /*java.util.Collection*/; - /** - * Gets all {@link CatalogType} for Minecraft as a base mod. Note that - * some {@link CatalogType}s are not originally from the game itself, and - * may be provided by Sponge. - */ - // @ts-ignore - getAllForMinecraft(typeClass: any): any[] /*java.util.Collection*/; - /** - * Gets all {@link CatalogType} for Sponge as a base mod. Note that - * some {@link CatalogType}s are not originally from the game itself, and - * may be provided by Sponge. - */ - // @ts-ignore - getAllForSponge(typeClass: any): any[] /*java.util.Collection*/; - /** - * Registers the {@link CatalogRegistryModule} for dummy registration and - * handling. - *

By default, the only supported modules that can be registered are - * dependent that plugins are not attempting to register new modules for - * API-provided {@link CatalogType}s.

- */ - // @ts-ignore - registerModule(catalogClass: any, registryModule: org.spongepowered.api.registry.CatalogRegistryModule): org.spongepowered.api.GameRegistry; - /** - * Registers the desired {@link RegistryModule}. - */ - // @ts-ignore - registerModule(module: org.spongepowered.api.registry.RegistryModule): org.spongepowered.api.GameRegistry; - /** - * Registers a {@link Supplier} for creating the desired {@link ResettableBuilder}. - */ - // @ts-ignore - registerBuilderSupplier(builderClass: any, supplier: any): org.spongepowered.api.GameRegistry; - /** - * Gets a builder of the desired class type, examples may include: - * {@link org.spongepowered.api.item.inventory.ItemStack.Builder}, etc. - */ - // @ts-ignore - createBuilder(builderClass: any): org.spongepowered.api.util.ResettableBuilder; - /** - * Registers a new {@link CatalogType} instance if registration for that - * type is supported. - *

Note that this is intended only for registering new instances of - * already existing CatalogTypes, not for registering entirely new - * CatalogType classes.

- */ - // @ts-ignore - register(type: any, obj: org.spongepowered.api.CatalogType): org.spongepowered.api.CatalogType; - /** - * Gets a {@link Collection} of the default GameRules. - */ - // @ts-ignore - getDefaultGameRules(): any[] /*java.util.Collection*/; - /** - * Gets the {@link Statistic} for the given {@link StatisticType} and - * {@link EntityType}. If the statistic group is not a valid - * {@link EntityStatistic} group then {@link Optional#empty()} will be - * returned. - */ - // @ts-ignore - getEntityStatistic(statType: org.spongepowered.api.statistic.StatisticType, entityType: org.spongepowered.api.entity.EntityType): any; - /** - * Gets the {@link Statistic} for the given {@link StatisticType} and - * {@link ItemType}. If the statistic group is not a valid - * {@link ItemStatistic} group then {@link Optional#empty()} will be - * returned. - */ - // @ts-ignore - getItemStatistic(statType: org.spongepowered.api.statistic.StatisticType, itemType: org.spongepowered.api.item.ItemType): any; - /** - * Gets the {@link Statistic} for the given {@link StatisticType} and - * {@link BlockType}. If the statistic group is not a valid - * {@link BlockStatistic} group then {@link Optional#empty()} will be - * returned. - */ - // @ts-ignore - getBlockStatistic(statType: org.spongepowered.api.statistic.StatisticType, blockType: org.spongepowered.api.block.BlockType): any; - /** - * Gets the {@link Rotation} with the provided degrees. - */ - // @ts-ignore - getRotationFromDegree(degrees: number): any; - /** - * Loads a {@link Favicon} from the specified encoded string. The format of - * the input depends on the implementation. - */ - // @ts-ignore - loadFavicon(raw: string): org.spongepowered.api.network.status.Favicon; - /** - * Loads a favicon from a specified {@link Path}. - */ - // @ts-ignore - loadFavicon(path: any): org.spongepowered.api.network.status.Favicon; - /** - * Loads a favicon from a specified {@link URL}. - */ - // @ts-ignore - loadFavicon(url: any): org.spongepowered.api.network.status.Favicon; - /** - * Loads a favicon from a specified {@link InputStream}. - */ - // @ts-ignore - loadFavicon(input: any): org.spongepowered.api.network.status.Favicon; - /** - * Loads a favicon from a specified {@link BufferedImage}. - */ - // @ts-ignore - loadFavicon(image: any): org.spongepowered.api.network.status.Favicon; - /** - * Retrieves the crafting RecipeRegistry for this GameRegistry. - */ - // @ts-ignore - getCraftingRecipeRegistry(): org.spongepowered.api.item.recipe.crafting.CraftingRecipeRegistry; - /** - * Retrieves the smelting RecipeRegistry for this GameRegistry. - */ - // @ts-ignore - getSmeltingRecipeRegistry(): org.spongepowered.api.item.recipe.smelting.SmeltingRecipeRegistry; - /** - * Gets a {@link ResourcePack} that's already been created by its ID. - */ - // @ts-ignore - getResourcePackById(id: string): any; - /** - * Gets a {@link DisplaySlot} which displays only for teams with the - * provided color. - */ - // @ts-ignore - getDisplaySlotForColor(color: org.spongepowered.api.text.format.TextColor): any; - /** - * Registers a new {@link AbstractAITask} with an {@link Agent} as the - * owner. The complete id will be in the format of - * {@link PluginContainer#getId()}:id. - */ - // @ts-ignore - registerAITaskType(plugin: any, id: string, name: string, aiClass: any): org.spongepowered.api.entity.ai.task.AITaskType; - /** - * Gets the {@link ExtentBufferFactory} for creating buffers - * to store extent data. - */ - // @ts-ignore - getExtentBufferFactory(): org.spongepowered.api.world.extent.ExtentBufferFactory; - /** - * Gets the {@link ValueFactory} for creating values. - */ - // @ts-ignore - getValueFactory(): org.spongepowered.api.data.value.ValueFactory; - /** - * Gets the {@link VillagerRegistry} for the register mappings of - * {@link Career}s to {@link TradeOfferGenerator}s based on a level. - */ - // @ts-ignore - getVillagerRegistry(): org.spongepowered.api.item.merchant.VillagerRegistry; - /** - * Gets the internal {@link TextSerializerFactory}. - */ - // @ts-ignore - getTextSerializerFactory(): org.spongepowered.api.text.serializer.TextSerializerFactory; - /** - * Gets the internal {@link SelectorFactory}. - */ - // @ts-ignore - getSelectorFactory(): org.spongepowered.api.text.selector.SelectorFactory; - /** - * Gets a locale for the specified locale code, e.g. {@code en_US}. - */ - // @ts-ignore - getLocale(locale: string): any; - /** - * Gets the {@link Translation} with the provided ID. - */ - // @ts-ignore - getTranslationById(id: string): any; - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.GameState.ts b/packages/sponge/src/typings/org.spongepowered.api.GameState.ts deleted file mode 100644 index b96552d8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.GameState.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - // @ts-ignore - class GameState { - // @ts-ignore - public static CONSTRUCTION: org.spongepowered.api.GameState; - // @ts-ignore - public static PRE_INITIALIZATION: org.spongepowered.api.GameState; - // @ts-ignore - public static INITIALIZATION: org.spongepowered.api.GameState; - // @ts-ignore - public static POST_INITIALIZATION: org.spongepowered.api.GameState; - // @ts-ignore - public static LOAD_COMPLETE: org.spongepowered.api.GameState; - // @ts-ignore - public static SERVER_ABOUT_TO_START: org.spongepowered.api.GameState; - // @ts-ignore - public static SERVER_STARTING: org.spongepowered.api.GameState; - // @ts-ignore - public static SERVER_STARTED: org.spongepowered.api.GameState; - // @ts-ignore - public static SERVER_STOPPING: org.spongepowered.api.GameState; - // @ts-ignore - public static SERVER_STOPPED: org.spongepowered.api.GameState; - // @ts-ignore - public static GAME_STOPPING: org.spongepowered.api.GameState; - // @ts-ignore - public static GAME_STOPPED: org.spongepowered.api.GameState; - // @ts-ignore - public static values(): org.spongepowered.api.GameState[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.GameState; - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.MinecraftVersion.ts b/packages/sponge/src/typings/org.spongepowered.api.MinecraftVersion.ts deleted file mode 100644 index aeb38428..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.MinecraftVersion.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - // @ts-ignore - interface MinecraftVersion { - /** - * Gets the name of this Minecraft version. - *

- * Note: The returned name does not necessarily represent - * the name of a Minecraft version. Depending on the client and - * implementation, this may also just return a numeric value. - *

- */ - // @ts-ignore - getName(): string; - /** - * Returns whether this version is an older version that doesn't support - * all of the features in {@link StatusResponse}. These versions are only - * supported for the {@link ClientPingServerEvent}, normally they should not be - * able to join the server. - *

- * For Vanilla, this returns {@code true} for all clients older than 1.7. - *

- */ - // @ts-ignore - isLegacy(): boolean; - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.Nameable.ts b/packages/sponge/src/typings/org.spongepowered.api.Nameable.ts deleted file mode 100644 index 1e3a5b4b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.Nameable.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - // @ts-ignore - interface Nameable { - /** - * Gets the human-readable name of this object. - */ - // @ts-ignore - getName(): org.spongepowered.api.text.translation.Translation; - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.Platform.Component.ts b/packages/sponge/src/typings/org.spongepowered.api.Platform.Component.ts deleted file mode 100644 index e4164c3d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.Platform.Component.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace Platform { - // @ts-ignore - class Component { - // @ts-ignore - public static GAME: org.spongepowered.api.Platform.Component; - // @ts-ignore - public static API: org.spongepowered.api.Platform.Component; - // @ts-ignore - public static IMPLEMENTATION: org.spongepowered.api.Platform.Component; - // @ts-ignore - public static values(): org.spongepowered.api.Platform.Component[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.Platform.Component; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.Platform.Type.ts b/packages/sponge/src/typings/org.spongepowered.api.Platform.Type.ts deleted file mode 100644 index 313066ff..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.Platform.Type.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace Platform { - // @ts-ignore - class Type { - // @ts-ignore - public static CLIENT: org.spongepowered.api.Platform.Type; - // @ts-ignore - public static SERVER: org.spongepowered.api.Platform.Type; - // @ts-ignore - public static UNKNOWN: org.spongepowered.api.Platform.Type; - // @ts-ignore - public static values(): org.spongepowered.api.Platform.Type[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.Platform.Type; - /** - * Checks for whether the platform is {@link #SERVER}. - */ - // @ts-ignore - public isServer(): boolean; - /** - * Checks for whether the platform is {@link #CLIENT}. - */ - // @ts-ignore - public isClient(): boolean; - /** - * Checks for whether the platform is known. - */ - // @ts-ignore - public isKnown(): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.Platform.ts b/packages/sponge/src/typings/org.spongepowered.api.Platform.ts deleted file mode 100644 index bb7e0d96..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.Platform.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - // @ts-ignore - interface Platform { - // @ts-ignore - API_ID: string; - /** - * Retrieves the current {@link Type} this platform is running on. - */ - // @ts-ignore - getType(): org.spongepowered.api.Platform.Type; - /** - * Retrieves the current {@link Type} the platform is executing on. - *

A Minecraft instance will have a client and server thread. If the - * server is executing, this will return {@linkplain Type#SERVER} but - * {@link Platform#getType()} would return {@linkplain Type#CLIENT}.

- */ - // @ts-ignore - getExecutionType(): org.spongepowered.api.Platform.Type; - /** - * Returns the {@link PluginContainer} for the specified platform - * {@link Component}. - */ - // @ts-ignore - getContainer(component: org.spongepowered.api.Platform.Component): org.spongepowered.api.plugin.PluginContainer; - /** - * Returns the current API plugin container. - */ - // @ts-ignore - getApi(): org.spongepowered.api.plugin.PluginContainer; - /** - * Returns the current implementation plugin container. - */ - // @ts-ignore - getImplementation(): org.spongepowered.api.plugin.PluginContainer; - /** - * Gets the current Minecraft version of this platform. - */ - // @ts-ignore - getMinecraftVersion(): org.spongepowered.api.MinecraftVersion; - /** - * Returns this platform instance, as a key-value map. - *

The returned map instance is connected directly to this platform - * instance. Existing keys like name and version are not modifiable, but - * new keys are stored in this instance and are shared between any - * references to a map obtained through the retrieved map.

- *

This mechanism allows for platform-specific information like Forge - * version.

- */ - // @ts-ignore - asMap(): Map /*java.util.Map*/; - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.Server.ts b/packages/sponge/src/typings/org.spongepowered.api.Server.ts deleted file mode 100644 index 6b311baa..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.Server.ts +++ /dev/null @@ -1,281 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - // @ts-ignore - interface Server { - /** - * Gets the {@link Player}s currently online. - */ - // @ts-ignore - getOnlinePlayers(): any[] /*java.util.Collection*/; - /** - * Gets the max players allowed on this server. - */ - // @ts-ignore - getMaxPlayers(): number; - /** - * Gets a {@link Player} by their UUID. - */ - // @ts-ignore - getPlayer(uniqueId: any): any; - /** - * Gets a {@link Player} by their name. - *

This only works for online players.

- *

Note: Do not use names for persistent storage, the - * Notch of today may not be the Notch of yesterday.

- */ - // @ts-ignore - getPlayer(name: string): any; - /** - * Gets all currently loaded {@link World}s. - */ - // @ts-ignore - getWorlds(): any[] /*java.util.Collection*/; - /** - * Gets the properties of all unloaded worlds. - */ - // @ts-ignore - getUnloadedWorlds(): any[] /*java.util.Collection*/; - /** - * Gets the properties of all worlds, loaded or otherwise. - */ - // @ts-ignore - getAllWorldProperties(): any[] /*java.util.Collection*/; - /** - * Gets a loaded {@link World} by its unique id ({@link UUID}), if it - * exists. - */ - // @ts-ignore - getWorld(uniqueId: any): any; - /** - * Gets a loaded {@link World} by name, if it exists. - */ - // @ts-ignore - getWorld(worldName: string): any; - /** - * Gets the properties of default world. - */ - // @ts-ignore - getDefaultWorld(): any; - /** - * Gets the default {@link World} name that the server creates and loads. - */ - // @ts-ignore - getDefaultWorldName(): string; - /** - * Loads a {@link World} from the default storage container. If a world with - * the given name is already loaded then it is returned instead. - */ - // @ts-ignore - loadWorld(worldName: string): any; - /** - * Loads a {@link World} from the default storage container. If a world with - * the given UUID is already loaded then it is returned instead. - */ - // @ts-ignore - loadWorld(uniqueId: any): any; - /** - * Loads a {@link World} from the default storage container. If the world - * associated with the given properties is already loaded then it is - * returned instead. - */ - // @ts-ignore - loadWorld(properties: org.spongepowered.api.world.storage.WorldProperties): any; - /** - * Gets the {@link WorldProperties} of a world. If a world with the given - * name is loaded then this is equivalent to calling - * {@link World#getProperties()}. However, if no loaded world is found then - * an attempt will be made to match unloaded worlds. - */ - // @ts-ignore - getWorldProperties(worldName: string): any; - /** - * Gets the {@link WorldProperties} of a world. If a world with the given - * UUID is loaded then this is equivalent to calling - * {@link World#getProperties()}. However, if no loaded world is found then - * an attempt will be made to match unloaded worlds. - */ - // @ts-ignore - getWorldProperties(uniqueId: any): any; - /** - * Unloads a {@link World}, if there are any connected players in the given - * world then no operation will occur. - *

A world which is unloaded will be removed from memory. However if it - * is still enabled according to {@link WorldProperties#isEnabled()} then it - * will be loaded again if the server is restarted.

- */ - // @ts-ignore - unloadWorld(world: org.spongepowered.api.world.World): boolean; - /** - * Creates a new {@link WorldProperties} from the given - * {@link WorldArchetype}. For the creation of the WorldArchetype please see - * {@link org.spongepowered.api.world.WorldArchetype.Builder}. - *

If the {@link World} exists at the folder name given, the properties - * representing that folder name are returned instead.

- *

Although the world is created it is not loaded at this time. Please - * see one of the following methods for loading the world.

- *
  • {@link #loadWorld(String)}
  • {@link #loadWorld(UUID)} - *
  • {@link #loadWorld(WorldProperties)}
- */ - // @ts-ignore - createWorldProperties(folderName: string, archetype: org.spongepowered.api.world.WorldArchetype): org.spongepowered.api.world.storage.WorldProperties; - /** - * Creates a world copy asynchronously using the new name given and returns - * the new world properties if the copy was possible. - *

If the world is already loaded then the following will occur:

- *
    - *
  • World is saved.
  • - *
  • World saving is disabled.
  • - *
  • World is copied.
  • - *
  • World saving is enabled.
  • - *
- */ - // @ts-ignore - copyWorld(worldProperties: org.spongepowered.api.world.storage.WorldProperties, copyName: string): any; - /** - * Renames an unloaded world. - */ - // @ts-ignore - renameWorld(worldProperties: org.spongepowered.api.world.storage.WorldProperties, newName: string): any; - /** - * Deletes the provided world's files asynchronously from the disk. - */ - // @ts-ignore - deleteWorld(worldProperties: org.spongepowered.api.world.storage.WorldProperties): any; - /** - * Persists the given {@link WorldProperties} to the world storage for it, - * updating any modified values. - */ - // @ts-ignore - saveWorldProperties(properties: org.spongepowered.api.world.storage.WorldProperties): boolean; - /** - * Gets the 'server' scoreboard. In Vanilla, this is the scoreboard of - * dimension 0 (the overworld). - *

The sever scoreboard is used with the Vanilla /scoreboard command, - * automatic score updating through criteria, and other things.

- *

The server scoreboard may not be available if dimension 0 - * is not yet loaded. In Vanilla, this will only occur when the - * server is first starting, as dimension 0 is normally always loaded.

- */ - // @ts-ignore - getServerScoreboard(): any; - /** - * Returns information about the chunk layout used by this server - * implementation. - */ - // @ts-ignore - getChunkLayout(): org.spongepowered.api.world.storage.ChunkLayout; - /** - * Gets the time, in ticks, since this server began running for the current - * session. - *

This value is not persisted across server restarts, it is set to zero - * each time the server starts.

- */ - // @ts-ignore - getRunningTimeTicks(): number; - /** - * Gets the message channel that server-wide messages are sent through. - */ - // @ts-ignore - getBroadcastChannel(): org.spongepowered.api.text.channel.MessageChannel; - /** - * Sets the channel that server-wide messages should be sent through. - */ - // @ts-ignore - setBroadcastChannel(channel: org.spongepowered.api.text.channel.MessageChannel): void; - /** - * Gets the bound {@link InetSocketAddress} from where this server is - * accepting connections. - */ - // @ts-ignore - getBoundAddress(): any; - /** - * Tests if the server has a whitelist enabled. - */ - // @ts-ignore - hasWhitelist(): boolean; - /** - * Sets whether the server is utilizing a whitelist. - */ - // @ts-ignore - setHasWhitelist(enabled: boolean): void; - /** - * Tests if this server is set to online mode. - * Online mode authenticates users against Minecraft's servers, false - * performs no validity checks. - */ - // @ts-ignore - getOnlineMode(): boolean; - /** - * Gets the default message that is displayed in the server list of the - * client. - */ - // @ts-ignore - getMotd(): org.spongepowered.api.text.Text; - /** - * Shuts down the server, and kicks all players with the default kic - * k message. - *

For the Sponge implementation on the client, this will trigger the - * Integrated Server to shutdown a tick later.

- */ - // @ts-ignore - shutdown(): void; - /** - * Shuts down the server, and kicks all players with the given message. - */ - // @ts-ignore - shutdown(kickMessage: org.spongepowered.api.text.Text): void; - /** - * Gets the command source used for commands coming from this server's - * console. - */ - // @ts-ignore - getConsole(): org.spongepowered.api.command.source.ConsoleSource; - /** - * Gets the ChunkTicketManager used for requesting tickets to force load - * chunks. - */ - // @ts-ignore - getChunkTicketManager(): org.spongepowered.api.world.ChunkTicketManager; - /** - * Gets the {@link GameProfileManager} for resolving game profiles. - */ - // @ts-ignore - getGameProfileManager(): org.spongepowered.api.profile.GameProfileManager; - /** - * Gets the current ticks per second. A tick represents one cycle of the - * game loop. - *

Note: The server aims to limit itself at 20 ticks per second. Lower - * ticks per second may elude to the server taking more time to process - * information per tick. Examples of overburdening the server per tick - * include spawning 10,000 cows in a small area.

- */ - // @ts-ignore - getTicksPerSecond(): number; - /** - * Gets the default resource pack. The default resource pack is sent to - * players when they join the server. - */ - // @ts-ignore - getDefaultResourcePack(): any; - /** - * Gets the player idle timeout, in minutes. - *

A return value of {@code 0} disables the player idle timeout.

- */ - // @ts-ignore - getPlayerIdleTimeout(): number; - /** - * Sets the player idle timeout, in minutes. - *

A value of {@code 0} disables the player idle timeout.

- */ - // @ts-ignore - setPlayerIdleTimeout(timeout: number): void; - /** - * Checks if the current thread matches the main thread of the server. - */ - // @ts-ignore - isMainThread(): boolean; - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.Sponge.ts b/packages/sponge/src/typings/org.spongepowered.api.Sponge.ts deleted file mode 100644 index 33085113..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.Sponge.ts +++ /dev/null @@ -1,123 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - // @ts-ignore - class Sponge { - constructor() - /** - * Gets the {@link Game} instance. There is ever only going - * to be a single game instance at any given time, except during - * the various extraneous {@link GameState}s that the game instance - * is otherwise unavailable. - */ - // @ts-ignore - public static getGame(): org.spongepowered.api.Game; - /** - * Returns the current platform, or implementation, this {@link Game} - * is running on. - */ - // @ts-ignore - public static getPlatform(): org.spongepowered.api.Platform; - /** - * Gets the {@link GameRegistry} instance. - */ - // @ts-ignore - public static getRegistry(): org.spongepowered.api.GameRegistry; - /** - * Gets the {@link DataManager} instance. - */ - // @ts-ignore - public static getDataManager(): org.spongepowered.api.data.DataManager; - /** - * Gets the {@link PropertyRegistry} instance to register - * {@link PropertyStore}s. - */ - // @ts-ignore - public static getPropertyRegistry(): org.spongepowered.api.data.property.PropertyRegistry; - /** - * Gets the {@link PluginManager} instance. - */ - // @ts-ignore - public static getPluginManager(): org.spongepowered.api.plugin.PluginManager; - /** - * Gets the {@link EventManager} instance. - */ - // @ts-ignore - public static getEventManager(): org.spongepowered.api.event.EventManager; - /** - * Gets the {@link AssetManager} instance. - */ - // @ts-ignore - public static getAssetManager(): org.spongepowered.api.asset.AssetManager; - /** - * Gets the {@link ConfigManager} used to load and manage configuration files - * for plugins. - */ - // @ts-ignore - public static getConfigManager(): org.spongepowered.api.config.ConfigManager; - /** - * Gets the {@link CommandManager} instance. - */ - // @ts-ignore - public static getCommandManager(): org.spongepowered.api.command.CommandManager; - /** - * Gets the game's instance of the service manager, which is the gateway - * to various services provided by Sponge (command registration and so on). - *

Services registered by other plugins may be available too.

- */ - // @ts-ignore - public static getServiceManager(): org.spongepowered.api.service.ServiceManager; - /** - * Gets the scheduler used to schedule tasks. - */ - // @ts-ignore - public static getScheduler(): org.spongepowered.api.scheduler.Scheduler; - /** - * Gets the {@link ChannelRegistrar} for creating network channels. - */ - // @ts-ignore - public static getChannelRegistrar(): org.spongepowered.api.network.ChannelRegistrar; - /** - * Gets the {@link TeleportHelper}, used to find safe {@link Location}s. - */ - // @ts-ignore - public static getTeleportHelper(): org.spongepowered.api.world.TeleportHelper; - /** - * Gets whether a {@link Server} instance is available without throwing an - * exception from calling {@link #getServer()}. - */ - // @ts-ignore - public static isServerAvailable(): boolean; - /** - * Gets the {@link Server} instance from the - * {@link Game} instance. - *

Note: During various {@link GameState}s, a {@link Server} instance - * may NOT be available. During these specific states, - * calling {@link Game#getServer()} will throw an exception. To double - * check, call {@link #isServerAvailable()}

- */ - // @ts-ignore - public static getServer(): org.spongepowered.api.Server; - /** - * Gets the {@link GameDictionary} instance from the - * {@link Game} instance. - */ - // @ts-ignore - public static getDictionary(): any; - /** - * Gets the {@link CauseStackManager} instance from the - * {@link Game} instance. - */ - // @ts-ignore - public static getCauseStackManager(): org.spongepowered.api.event.CauseStackManager; - /** - * Gets the {@link MetricsConfigManager} instance, allowing data/metric gathering - * systems to determine whether they have permission to gather server - * metrics. - */ - // @ts-ignore - public static getMetricsConfigManager(): org.spongepowered.api.util.metric.MetricsConfigManager; - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.Advancement.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.Advancement.Builder.ts deleted file mode 100644 index 12f05040..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.Advancement.Builder.ts +++ /dev/null @@ -1,43 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace Advancement { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.CatalogBuilder { - /** - * Sets the parent {@link Advancement}. Defaults to {code null}. - */ - // @ts-ignore - parent(parent: org.spongepowered.api.advancement.Advancement): org.spongepowered.api.advancement.Advancement.Builder; - /** - * Sets the {@link AdvancementCriterion} that should be used - * for the advancement. Defaults to {@link AdvancementCriterion#EMPTY}. - */ - // @ts-ignore - criterion(criterion: org.spongepowered.api.advancement.criteria.AdvancementCriterion): org.spongepowered.api.advancement.Advancement.Builder; - /** - * Sets the {@link DisplayInfo}. Defaults to {code null}. - */ - // @ts-ignore - displayInfo(displayInfo: org.spongepowered.api.advancement.DisplayInfo): org.spongepowered.api.advancement.Advancement.Builder; - // @ts-ignore - id(id: string): org.spongepowered.api.advancement.Advancement.Builder; - /** - * Sets the name of the {@link Advancement}. Defaults to - * the plain {@link DisplayInfo#getTitle()} if the - * {@link DisplayInfo} is present. Otherwise will it default - * to the identifier ({@link #id(String)}). - */ - // @ts-ignore - name(name: string): org.spongepowered.api.advancement.Advancement.Builder; - // @ts-ignore - build(): org.spongepowered.api.advancement.Advancement; - // @ts-ignore - from(value: org.spongepowered.api.advancement.Advancement): org.spongepowered.api.advancement.Advancement.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.Advancement.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.Advancement.ts deleted file mode 100644 index 35b2b1f0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.Advancement.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - // @ts-ignore - interface Advancement extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.TextRepresentable { - /** - * Creates a new {@link Builder} to create {@link Advancement}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.advancement.Advancement.Builder; - /** - * Gets the {@link AdvancementTree} this advancement is located in, - * will only be present if the root advancement was used to create - * a {@link AdvancementTree}. - */ - // @ts-ignore - getTree(): any; - /** - * Gets all the children {@link Advancement}s. - */ - // @ts-ignore - getChildren(): any[] /*java.util.Collection*/; - /** - * Gets all the {@link AdvancementCriterion} that should be achieved - * before this advancement is unlocked. {@link AdvancementCriterion#EMPTY} - * will be returned if no criterion was assigned. - *

This {@link AdvancementCriterion} can be a AND or OR operation that - * contains multiple possible {@link AdvancementCriterion}s.

- */ - // @ts-ignore - getCriterion(): org.spongepowered.api.advancement.criteria.AdvancementCriterion; - /** - * Gets the parent {@link Advancement}, if present. - */ - // @ts-ignore - getParent(): any; - /** - * Gets the {@link DisplayInfo} of this advancement, if present. - */ - // @ts-ignore - getDisplayInfo(): any; - /** - * Gets the {@link Text} lines that would be used to - * display a toast notification. - */ - // @ts-ignore - toToastText(): any[] /*java.util.List*/; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementProgress.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementProgress.ts deleted file mode 100644 index d512b3ff..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementProgress.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - // @ts-ignore - interface AdvancementProgress extends org.spongepowered.api.advancement.Progressable { - /** - * Gets the {@link Advancement}. - */ - // @ts-ignore - getAdvancement(): org.spongepowered.api.advancement.Advancement; - /** - * Gets the {@link CriterionProgress} for the given - * {@link AdvancementCriterion} if the specified criterion is - * present on the {@link Advancement}. - *

For AND and OR criteria will wrapped {@link CriterionProgress} be - * provided that will interact with the {@link CriterionProgress}s - * for every child {@link AdvancementCriterion}s.

- */ - // @ts-ignore - get(criterion: org.spongepowered.api.advancement.criteria.AdvancementCriterion): any; - /** - * Gets the {@link ScoreCriterionProgress} for the given - * {@link ScoreAdvancementCriterion} if the specified criterion is - * present on the {@link Advancement}. - */ - // @ts-ignore - get(criterion: org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion): any; - /** - * Gets the {@link CriterionProgress} for the - * given {@link AdvancementCriterion}. - *

For AND and OR criteria will wrapped {@link CriterionProgress} be - * provided that will interact with the {@link CriterionProgress}s - * for every child {@link AdvancementCriterion}s.

- */ - // @ts-ignore - require(criterion: org.spongepowered.api.advancement.criteria.AdvancementCriterion): org.spongepowered.api.advancement.criteria.CriterionProgress; - /** - * Gets the {@link ScoreCriterionProgress} for the - * given {@link ScoreAdvancementCriterion}. - */ - // @ts-ignore - require(criterion: org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion): org.spongepowered.api.advancement.criteria.ScoreCriterionProgress; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementTree.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementTree.Builder.ts deleted file mode 100644 index 77a02200..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementTree.Builder.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace AdvancementTree { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.CatalogBuilder { - /** - * Sets the root {@link Advancement}. The root advancement MUST have - * {@link DisplayInfo} present. - */ - // @ts-ignore - rootAdvancement(rootAdvancement: org.spongepowered.api.advancement.Advancement): org.spongepowered.api.advancement.AdvancementTree.Builder; - /** - * Sets the background of {@link AdvancementTree}. - *

Defaults to the stone background: - * {@code minecraft:textures/gui/advancements/backgrounds/stone.png}

- */ - // @ts-ignore - background(background: string): org.spongepowered.api.advancement.AdvancementTree.Builder; - // @ts-ignore - id(id: string): org.spongepowered.api.advancement.AdvancementTree.Builder; - /** - * Sets the name of the {@link AdvancementTree}. Defaults to - * the plain {@link DisplayInfo#getTitle()} of the root - * {@link Advancement} if {@link DisplayInfo} is present. - * Otherwise will it default to the identifier ({@link #id(String)}). - */ - // @ts-ignore - name(name: string): org.spongepowered.api.advancement.AdvancementTree.Builder; - // @ts-ignore - build(): org.spongepowered.api.advancement.AdvancementTree; - // @ts-ignore - from(value: org.spongepowered.api.advancement.AdvancementTree): org.spongepowered.api.advancement.AdvancementTree.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementTree.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementTree.ts deleted file mode 100644 index 08612ba6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementTree.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - // @ts-ignore - interface AdvancementTree extends org.spongepowered.api.CatalogType { - /** - * Creates a new {@link Builder} to create {@link AdvancementTree}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.advancement.AdvancementTree.Builder; - /** - * Gets the root {@link Advancement}. - */ - // @ts-ignore - getRootAdvancement(): org.spongepowered.api.advancement.Advancement; - /** - * Gets the background texture of this tree. - */ - // @ts-ignore - getBackgroundPath(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementType.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementType.ts deleted file mode 100644 index 21e81b45..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementType.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - // @ts-ignore - interface AdvancementType extends org.spongepowered.api.CatalogType { - /** - * Gets the {@link TextFormat} of the advancement type. - */ - // @ts-ignore - getTextFormat(): org.spongepowered.api.text.format.TextFormat; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementTypes.ts deleted file mode 100644 index 1b0a34bd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.AdvancementTypes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - // @ts-ignore - class AdvancementTypes { - // @ts-ignore - public static CHALLENGE: org.spongepowered.api.advancement.AdvancementType; - // @ts-ignore - public static GOAL: org.spongepowered.api.advancement.AdvancementType; - // @ts-ignore - public static TASK: org.spongepowered.api.advancement.AdvancementType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.DisplayInfo.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.DisplayInfo.Builder.ts deleted file mode 100644 index 82474dcb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.DisplayInfo.Builder.ts +++ /dev/null @@ -1,73 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace DisplayInfo { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the {@link AdvancementType}. Defaults - * to {@link AdvancementTypes#TASK}. - */ - // @ts-ignore - type(advancementType: org.spongepowered.api.advancement.AdvancementType): org.spongepowered.api.advancement.DisplayInfo.Builder; - /** - * Sets the description. Defaults to {@link Text#EMPTY}. - */ - // @ts-ignore - description(description: org.spongepowered.api.text.Text): org.spongepowered.api.advancement.DisplayInfo.Builder; - /** - * Sets the title. - */ - // @ts-ignore - title(title: org.spongepowered.api.text.Text): org.spongepowered.api.advancement.DisplayInfo.Builder; - /** - * Sets the icon of the advancement with the - * specified {@link ItemType}. - */ - // @ts-ignore - icon(itemType: org.spongepowered.api.item.ItemType): org.spongepowered.api.advancement.DisplayInfo.Builder; - /** - * Sets the icon of the advancement with the - * specified {@link ItemStack}. - */ - // @ts-ignore - icon(itemStack: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.advancement.DisplayInfo.Builder; - /** - * Sets the icon of the advancement with the - * specified {@link ItemStackSnapshot}. - */ - // @ts-ignore - icon(itemStackSnapshot: org.spongepowered.api.item.inventory.ItemStackSnapshot): org.spongepowered.api.advancement.DisplayInfo.Builder; - /** - * Sets whether a toast should be shown. This is the notification - * that will be displayed in the top right corner. - *

Defaults to {@code true}.

- */ - // @ts-ignore - showToast(showToast: boolean): org.spongepowered.api.advancement.DisplayInfo.Builder; - /** - * Sets whether a notification should be shown in the global chat. - *

Defaults to {@code true}.

- */ - // @ts-ignore - announceToChat(announceToChat: boolean): org.spongepowered.api.advancement.DisplayInfo.Builder; - /** - * Sets whether the {@link Advancement} should be hidden. - *

Hidden advancements will only appear in the tree once they - * are unlocked. The lines that connect them to other advancements - * are still present.

- */ - // @ts-ignore - hidden(hidden: boolean): org.spongepowered.api.advancement.DisplayInfo.Builder; - /** - * Builds the {@link DisplayInfo}. - */ - // @ts-ignore - build(): org.spongepowered.api.advancement.DisplayInfo; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.DisplayInfo.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.DisplayInfo.ts deleted file mode 100644 index b52b7b8e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.DisplayInfo.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - // @ts-ignore - interface DisplayInfo { - /** - * Creates a new {@link Builder} to create {@link DisplayInfo}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.advancement.DisplayInfo.Builder; - /** - * Gets the {@link AdvancementType}. - */ - // @ts-ignore - getType(): org.spongepowered.api.advancement.AdvancementType; - /** - * Gets the description. - */ - // @ts-ignore - getDescription(): org.spongepowered.api.text.Text; - /** - * Gets the icon. - */ - // @ts-ignore - getIcon(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * Gets the title. - */ - // @ts-ignore - getTitle(): org.spongepowered.api.text.Text; - /** - * Gets whether a toast should be shown. - *

The toast is the notification that will be displayed - * in the top right corner.

- */ - // @ts-ignore - doesShowToast(): boolean; - /** - * Gets whether a notification should be shown in the global chat. - */ - // @ts-ignore - doesAnnounceToChat(): boolean; - /** - * Gets whether this advancement is hidden. - *

Hidden advancements will only appear in the tree once they - * are unlocked. The lines that connect them to other advancements - * are still present.

- */ - // @ts-ignore - isHidden(): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.Progressable.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.Progressable.ts deleted file mode 100644 index f00d7fd3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.Progressable.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - // @ts-ignore - interface Progressable { - /** - * Gets whether this {@link Progressable} is achieved. - */ - // @ts-ignore - achieved(): boolean; - /** - * Gets the time that the {@link Progressable} was - * achieved if present. - */ - // @ts-ignore - get(): any; - /** - * Grants this {@link Progressable}, if achieved before - * that time will be returned. - */ - // @ts-ignore - grant(): any; - /** - * Revokes the {@link Progressable} status. The time that the {@link Progressable} - * was achieved before will be returned if present. - */ - // @ts-ignore - revoke(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.TreeLayout.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.TreeLayout.ts deleted file mode 100644 index 785f17b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.TreeLayout.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - // @ts-ignore - interface TreeLayout { - /** - * Gets the {@link AdvancementTree} this layout is assigned to. - */ - // @ts-ignore - getTree(): org.spongepowered.api.advancement.AdvancementTree; - /** - * Gets all the {@link TreeLayoutElement}s that are - * present in this layout. - */ - // @ts-ignore - getElements(): any[] /*java.util.Collection*/; - /** - * Gets the {@link TreeLayoutElement} for the specified {@link Advancement}, - * {@link Optional#empty()} will be returned if the advancement is not present - * in the tree or if there is no {@link DisplayInfo} present. - */ - // @ts-ignore - getElement(advancement: org.spongepowered.api.advancement.Advancement): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.TreeLayoutElement.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.TreeLayoutElement.ts deleted file mode 100644 index 02d81fa5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.TreeLayoutElement.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - // @ts-ignore - interface TreeLayoutElement { - /** - * Gets the {@link Advancement}. - */ - // @ts-ignore - getAdvancement(): org.spongepowered.api.advancement.Advancement; - /** - * Gets the position of the {@link Advancement}. - */ - // @ts-ignore - getPosition(): any /*Vector2d*/; - /** - * Sets the position of the {@link Advancement}. - */ - // @ts-ignore - setPosition(position: any /*Vector2d*/): void; - /** - * Sets the position of the {@link Advancement}. - */ - // @ts-ignore - setPosition(x: number, y: number): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AdvancementCriterion.BaseBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AdvancementCriterion.BaseBuilder.ts deleted file mode 100644 index 886eb617..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AdvancementCriterion.BaseBuilder.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - namespace AdvancementCriterion { - // @ts-ignore - interface BaseBuilder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the {@link FilteredTrigger}. - */ - // @ts-ignore - trigger(trigger: org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger): org.spongepowered.api.advancement.criteria.AdvancementCriterion.BaseBuilder; - /** - * Sets the name of the {@link AdvancementCriterion}. Names can be - * shared between multiple criteria, although it isn't allowed when - * using them for the same {@link Advancement}. - */ - // @ts-ignore - name(name: string): org.spongepowered.api.advancement.criteria.AdvancementCriterion.BaseBuilder; - /** - * Builds a new {@link AdvancementCriterion}. - */ - // @ts-ignore - build(): org.spongepowered.api.advancement.criteria.AdvancementCriterion; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AdvancementCriterion.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AdvancementCriterion.Builder.ts deleted file mode 100644 index 6fc10504..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AdvancementCriterion.Builder.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - namespace AdvancementCriterion { - // @ts-ignore - interface Builder extends org.spongepowered.api.advancement.criteria.AdvancementCriterion.BaseBuilder { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AdvancementCriterion.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AdvancementCriterion.ts deleted file mode 100644 index 625b230b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AdvancementCriterion.ts +++ /dev/null @@ -1,69 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - // @ts-ignore - interface AdvancementCriterion { - // @ts-ignore - EMPTY: org.spongepowered.api.advancement.criteria.AdvancementCriterion; - // @ts-ignore - DUMMY: org.spongepowered.api.advancement.criteria.AdvancementCriterion; - /** - * Creates a new {@link Builder} to create {@link AdvancementCriterion}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.advancement.criteria.AdvancementCriterion.Builder; - /** - * Gets the name of this criterion. - */ - // @ts-ignore - getName(): string; - /** - * Combines this {@link AdvancementCriterion} with the other criteria - * to create an AND operation. - *

There is no guarantee that the returned extends {@link AndCriterion}, - * this depends on if there are duplicate criteria, {@link #EMPTY} - * is present, or when no extra criteria are provided.

- */ - // @ts-ignore - and(criteria: org.spongepowered.api.advancement.criteria.AdvancementCriterion): org.spongepowered.api.advancement.criteria.AdvancementCriterion; - /** - * Combines this {@link AdvancementCriterion} with the other criteria - * to create an AND operation. - *

There is no guarantee that the returned extends {@link AndCriterion}, - * this depends on if there are duplicate criteria, {@link #EMPTY} - * is present, or when no extra criteria are provided.

- */ - // @ts-ignore - and(criteria: any): org.spongepowered.api.advancement.criteria.AdvancementCriterion; - /** - * Combines this {@link AdvancementCriterion} with the other criteria - * to create an OR operation. - *

There is no guarantee that the returned extends {@link OrCriterion}, - * this depends on if there are duplicate criteria, {@link #EMPTY} - * is present, or when no extra criteria are provided.

- */ - // @ts-ignore - or(criteria: org.spongepowered.api.advancement.criteria.AdvancementCriterion): org.spongepowered.api.advancement.criteria.AdvancementCriterion; - /** - * Combines this {@link AdvancementCriterion} with the other criteria - * to create an OR operation. - *

There is no guarantee that the returned extends {@link OrCriterion}, - * this depends on if there are duplicate criteria, {@link #EMPTY} - * is present, or when no extra criteria are provided.

- */ - // @ts-ignore - or(criteria: any): org.spongepowered.api.advancement.criteria.AdvancementCriterion; - /** - * Gets the {@link FilteredTrigger} of this - * {@link AdvancementCriterion}, if present. - */ - // @ts-ignore - getTrigger(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AndCriterion.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AndCriterion.ts deleted file mode 100644 index f0f5fe9f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.AndCriterion.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - // @ts-ignore - interface AndCriterion extends org.spongepowered.api.advancement.criteria.OperatorCriterion { - /** - * Attempts to build a new AND operation with the - * given {@link AdvancementCriterion}s. - *

There is no guarantee that the returned extends {@link AndCriterion}, - * this depends on if there are duplicate criteria, {@link #EMPTY} - * is present, or when no extra criteria are provided.

- */ - // @ts-ignore - of(criteria: org.spongepowered.api.advancement.criteria.AdvancementCriterion): org.spongepowered.api.advancement.criteria.AdvancementCriterion; - /** - * Attempts to build a new AND operation with the - * given {@link AdvancementCriterion}s. - *

There is no guarantee that the returned extends {@link AndCriterion}, - * this depends on if there are duplicate criteria, {@link #EMPTY} - * is present, or when no extra criteria are provided.

- */ - // @ts-ignore - of(criteria: any): org.spongepowered.api.advancement.criteria.AdvancementCriterion; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.CriterionProgress.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.CriterionProgress.ts deleted file mode 100644 index 08c5cad9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.CriterionProgress.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - // @ts-ignore - interface CriterionProgress extends org.spongepowered.api.advancement.Progressable { - /** - * Gets the {@link AdvancementCriterion}. - */ - // @ts-ignore - getCriterion(): org.spongepowered.api.advancement.criteria.AdvancementCriterion; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.OperatorCriterion.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.OperatorCriterion.ts deleted file mode 100644 index 9cb7e9ca..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.OperatorCriterion.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - // @ts-ignore - interface OperatorCriterion extends org.spongepowered.api.advancement.criteria.AdvancementCriterion { - /** - * Attempts to find all the children {@link AdvancementCriterion}s - * with the specified name. The children will be checked recursively. - */ - // @ts-ignore - find(name: string): any[] /*java.util.Collection*/; - /** - * Attempts to find the first child {@link AdvancementCriterion} with - * the specified name. The children will be checked recursively, but - * direct children are prioritized. - */ - // @ts-ignore - findFirst(name: string): any; - /** - * Gets the children {@link AdvancementCriterion}s of this - * {@link OperatorCriterion}. May contain {@link OperatorCriterion}s. - */ - // @ts-ignore - getCriteria(): any[] /*java.util.Collection*/; - /** - * Gets the leaf {@link AdvancementCriterion}s. This means that there will - * never be any {@link OperatorCriterion}s in this list. - */ - // @ts-ignore - getLeafCriteria(): any[] /*java.util.Collection*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.OrCriterion.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.OrCriterion.ts deleted file mode 100644 index 0b32f399..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.OrCriterion.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - // @ts-ignore - interface OrCriterion extends org.spongepowered.api.advancement.criteria.OperatorCriterion { - /** - * Attempts to build a new OR operation with the - * given {@link AdvancementCriterion}s. - *

There is no guarantee that the returned extends {@link OrCriterion}, - * this depends on if there are duplicate criteria, {@link #EMPTY} - * is present, or when no extra criteria are provided.

- */ - // @ts-ignore - of(criteria: org.spongepowered.api.advancement.criteria.AdvancementCriterion): org.spongepowered.api.advancement.criteria.AdvancementCriterion; - /** - * Attempts to build a new OR operation with the - * given {@link AdvancementCriterion}s. - *

There is no guarantee that the returned extends {@link OrCriterion}, - * this depends on if there are duplicate criteria, {@link #EMPTY} - * is present, or when no extra criteria are provided.

- */ - // @ts-ignore - of(criteria: any): org.spongepowered.api.advancement.criteria.AdvancementCriterion; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion.Builder.ts deleted file mode 100644 index 2157472b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion.Builder.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - namespace ScoreAdvancementCriterion { - // @ts-ignore - interface Builder extends org.spongepowered.api.advancement.criteria.AdvancementCriterion.BaseBuilder { - /** - * Sets the goal value. This value must be greater then zero. - *

Defaults to {@code 1}.

- */ - // @ts-ignore - goal(goal: number): org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion.Builder; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion.ts deleted file mode 100644 index 168f6304..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - // @ts-ignore - interface ScoreAdvancementCriterion extends org.spongepowered.api.advancement.criteria.AdvancementCriterion { - /** - * Creates a new {@link Builder} which can be used to create - * a {@link ScoreAdvancementCriterion}. - */ - // @ts-ignore - builder(): org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion.Builder; - /** - * Gets the goal value. - */ - // @ts-ignore - getGoal(): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.ScoreCriterionProgress.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.ScoreCriterionProgress.ts deleted file mode 100644 index d9c067f5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.ScoreCriterionProgress.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - // @ts-ignore - interface ScoreCriterionProgress extends org.spongepowered.api.advancement.criteria.CriterionProgress { - // @ts-ignore - getCriterion(): org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion; - /** - * Gets the goal value. - */ - // @ts-ignore - getGoal(): number; - /** - * Gets the score value. - */ - // @ts-ignore - getScore(): number; - /** - * Adds the target score value, the score cannot exceed - * the goal value ({@link #getGoal()}) or be under zero. - * The achieved time will be returned if the goal is met. - */ - // @ts-ignore - set(score: number): any; - /** - * Adds the target score value, the score cannot exceed - * the goal value ({@link #getGoal()}). The achieved time - * will be returned if the goal is met. - */ - // @ts-ignore - add(score: number): any; - /** - * Removes the target score value, the score cannot go under zero. - * The achieved time will be returned if the goal is met before. - */ - // @ts-ignore - remove(score: number): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger.Builder.ts deleted file mode 100644 index 7d9e2f6b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger.Builder.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - namespace trigger { - namespace FilteredTrigger { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the {@link Trigger}. - */ - // @ts-ignore - type(type: org.spongepowered.api.advancement.criteria.trigger.Trigger): org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger.Builder; - /** - * Sets the {@link FilteredTriggerConfiguration}. - */ - // @ts-ignore - config(config: org.spongepowered.api.advancement.criteria.trigger.FilteredTriggerConfiguration): org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger.Builder; - /** - * Builds the {@link FilteredTrigger}. - */ - // @ts-ignore - build(): org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger.ts deleted file mode 100644 index 09091e03..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - namespace trigger { - // @ts-ignore - interface FilteredTrigger { - /** - * Creates a new {@link Trigger.Builder}. - */ - // @ts-ignore - builder(): org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger.Builder; - /** - * Gets the {@link Trigger}. - */ - // @ts-ignore - getType(): org.spongepowered.api.advancement.criteria.trigger.Trigger; - /** - * Gets the {@link FilteredTriggerConfiguration} of this trigger. - */ - // @ts-ignore - getConfiguration(): org.spongepowered.api.advancement.criteria.trigger.FilteredTriggerConfiguration; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTriggerConfiguration.Empty.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTriggerConfiguration.Empty.ts deleted file mode 100644 index 065acf06..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTriggerConfiguration.Empty.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - namespace trigger { - namespace FilteredTriggerConfiguration { - // @ts-ignore - class Empty implements org.spongepowered.api.advancement.criteria.trigger.FilteredTriggerConfiguration { - constructor() - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTriggerConfiguration.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTriggerConfiguration.ts deleted file mode 100644 index c5bf8301..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.FilteredTriggerConfiguration.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - namespace trigger { - // @ts-ignore - interface FilteredTriggerConfiguration { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder.ts deleted file mode 100644 index 91bad858..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder.ts +++ /dev/null @@ -1,89 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - namespace trigger { - namespace Trigger { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the class for the {@link FilteredTriggerConfiguration} as - * a {@link DataSerializable}. The configuration will be constructed - * using the {@link DataBuilder} that is registered for - * the {@link DataSerializable}. - */ - // @ts-ignore - dataSerializableConfig(dataConfigClass: any): org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder; - /** - * Sets the class for the {@link FilteredTriggerConfiguration} as - * a config serializable. This configuration will be constructed - * using Configurate (with {@link TypeSerializer}s). - */ - // @ts-ignore - typeSerializableConfig(configClass: any): org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder; - /** - * Sets the class for the {@link FilteredTriggerConfiguration} as - * a config serializable. This configuration will be constructed using - * Configurate (with {@link TypeSerializer}s) with a - * specific {@link TypeSerializerCollection} instead of the global one. - */ - // @ts-ignore - typeSerializableConfig(configClass: any, typeSerializerCollection: any /*TypeSerializerCollection*/): org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder; - /** - * Sets the class for the {@link FilteredTriggerConfiguration} as - * a json serializable. This configuration will be constructed using - * the provided {@link Gson} instance. - */ - // @ts-ignore - jsonSerializableConfig(configClass: any, gson: any /*Gson*/): org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder; - /** - * Sets the class for the {@link FilteredTriggerConfiguration} as - * a json serializable. This configuration will be constructed using - * the default {@link Gson} instance. - */ - // @ts-ignore - jsonSerializableConfig(configClass: any): org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder; - /** - * Sets the class for the {@link FilteredTriggerConfiguration} to use - * {@link FilteredTriggerConfiguration.Empty}. - */ - // @ts-ignore - emptyConfig(): org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder; - /** - * Adds the {@link Consumer} to handle the triggers. If no handler is - * provided then will the result of the trigger always be {@code true}, - * which results in triggering the {@link Criterion}. - *

The {@link Cause} of the event should be used to determine - * whether the configuration matches the requirements to trigger - * the criterion.

- */ - // @ts-ignore - listener(eventListener: any): org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder; - /** - * Sets the identifier of the {@link Trigger} - * (without the namespace). - */ - // @ts-ignore - id(id: string): org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder; - /** - * Sets the name of the {@link Trigger}. Defaults - * to the identifier ({@link #id(String)}). - */ - // @ts-ignore - name(name: string): org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder; - /** - * Builds a {@link Trigger}. - */ - // @ts-ignore - build(): org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - from(value: org.spongepowered.api.advancement.criteria.trigger.Trigger): org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.Trigger.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.Trigger.ts deleted file mode 100644 index d0ec7eb4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.Trigger.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - namespace trigger { - // @ts-ignore - interface Trigger extends org.spongepowered.api.CatalogType { - /** - * Creates a new {@link Builder} which can be used to create - * a {@link Trigger}. - */ - // @ts-ignore - builder(): org.spongepowered.api.advancement.criteria.trigger.Trigger.Builder; - /** - * Gets the type of the used {@link FilteredTriggerConfiguration}. - */ - // @ts-ignore - getConfigurationType(): any; - /** - * Triggers the {@link Trigger} for all - * the online {@link Player}s. - */ - // @ts-ignore - trigger(): void; - /** - * Triggers the {@link Trigger} for the - * specified {@link Player}s. - */ - // @ts-ignore - trigger(players: any): void; - /** - * Triggers the {@link Trigger} for the - * specified {@link Player}. - */ - // @ts-ignore - trigger(player: org.spongepowered.api.entity.living.player.Player): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.Triggers.ts b/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.Triggers.ts deleted file mode 100644 index 126eecdc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.advancement.criteria.trigger.Triggers.ts +++ /dev/null @@ -1,69 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace advancement { - namespace criteria { - namespace trigger { - // @ts-ignore - class Triggers { - // @ts-ignore - public static BRED_ANIMALS: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static BREWED_POTION: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static CHANGED_DIMENSION: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static CONSTRUCT_BEACON: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static CONSUME_ITEM: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static CURED_ZOMBIE_VILLAGER: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static ENCHANTED_ITEM: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static ENTER_BLOCK: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static ENTITY_HURT_PLAYER: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static ENTITY_KILLED_PLAYER: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static IMPOSSIBLE: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static INVENTORY_CHANGED: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static ITEM_DURABILITY_CHANGED: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static LEVITATION: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static LOCATION: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static NETHER_TRAVEL: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static PLACED_BLOCK: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static PLAYER_HURT_ENTITY: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static PLAYER_KILLED_ENTITY: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static RECIPE_UNLOCKED: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static SLEPT_IN_BED: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static SUMMONED_ENTITY: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static TAME_ANIMAL: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static TICK: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static USED_ENDER_EYE: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static USED_TOTEM: org.spongepowered.api.advancement.criteria.trigger.Trigger; - // @ts-ignore - public static VILLAGER_TRADE: org.spongepowered.api.advancement.criteria.trigger.Trigger; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.asset.Asset.ts b/packages/sponge/src/typings/org.spongepowered.api.asset.Asset.ts deleted file mode 100644 index 8ea59dee..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.asset.Asset.ts +++ /dev/null @@ -1,86 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace asset { - // @ts-ignore - interface Asset { - // @ts-ignore - DEFAULT_CHARSET: any; - /** - * Returns the original {@link Plugin} owner of this Asset. - */ - // @ts-ignore - getOwner(): org.spongepowered.api.plugin.PluginContainer; - /** - * Returns the {@link URL} to this Asset. - */ - // @ts-ignore - getUrl(): any; - /** - * Copies this Asset to the specified 'output' {@link Path}. - */ - // @ts-ignore - copyToFile(output: any): void; - /** - * Copies this Asset to the specified 'output' {@link Path}. - */ - // @ts-ignore - copyToFile(output: any, overwrite: boolean): void; - /** - * Copies this Asset to the specified 'output' {@link Path}. - */ - // @ts-ignore - copyToFile(output: any, overwrite: boolean, onlyIfAbsent: boolean): void; - /** - * Copies this Asset to the specified 'outputDirectory' {@link Path}. - */ - // @ts-ignore - copyToDirectory(outputDirectory: any): void; - /** - * Copies this Asset to the specified 'outputDirectory' {@link Path}. - */ - // @ts-ignore - copyToDirectory(outputDirectory: any, overwrite: boolean): void; - /** - * Copies this Asset to the specified 'outputDirectory' {@link Path}. - */ - // @ts-ignore - copyToDirectory(outputDirectory: any, overwrite: boolean, onlyIfAbsent: boolean): void; - /** - * Returns the the last portion of the Asset URL, e.g. the file name. - */ - // @ts-ignore - getFileName(): string; - /** - * Reads this Asset in it's entirety as a {@link String} and returns the - * result. - */ - // @ts-ignore - readString(): string; - /** - * Reads this Asset in it's entirety as a {@link String} and returns the - * result. - */ - // @ts-ignore - readString(charset: any): string; - /** - * Reads all lines from the asset and returns the result. - */ - // @ts-ignore - readLines(): any[] /*java.util.List*/; - /** - * Reads all lines from the asset and returns the result. - */ - // @ts-ignore - readLines(charset: any): any[] /*java.util.List*/; - /** - * Reads this Asset in it's entirety as a byte array and returns the - * result. - */ - // @ts-ignore - readBytes(): number[]; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.asset.AssetId.ts b/packages/sponge/src/typings/org.spongepowered.api.asset.AssetId.ts deleted file mode 100644 index fec044a0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.asset.AssetId.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace asset { - // @ts-ignore - interface AssetId { - /** - * The path to the {@link Asset} in the asset folder of the plugin. - */ - // @ts-ignore - value(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.asset.AssetManager.ts b/packages/sponge/src/typings/org.spongepowered.api.asset.AssetManager.ts deleted file mode 100644 index 5dd7e7ea..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.asset.AssetManager.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace asset { - // @ts-ignore - interface AssetManager { - /** - * Returns the {@link Asset} of the specified name for the specified - * {@link Plugin} instance. - */ - // @ts-ignore - getAsset(plugin: any, name: string): any; - /** - * Returns the {@link Asset} of the specified name within the domain of the - * implementation. This method will typically call - * {@link #getAsset(Object, String)} using a dummy - * {@link PluginContainer} for the SpongeAPI implementation. - */ - // @ts-ignore - getAsset(name: string): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.BlockSnapshot.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.block.BlockSnapshot.Builder.ts deleted file mode 100644 index 31da8f4e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.BlockSnapshot.Builder.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace BlockSnapshot { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.ImmutableDataBuilder { - /** - * Sets the {@link WorldProperties} for this {@link BlockSnapshot}. - *

- * This is used to grab the {@link UUID} of the World for this snapshot. - *

- */ - // @ts-ignore - world(worldProperties: org.spongepowered.api.world.storage.WorldProperties): org.spongepowered.api.block.BlockSnapshot.Builder; - /** - * Sets the {@link BlockState} for this {@link BlockSnapshot}. - */ - // @ts-ignore - blockState(blockState: org.spongepowered.api.block.BlockState): org.spongepowered.api.block.BlockSnapshot.Builder; - /** - * Sets the coordinates of this {@link BlockSnapshot} from a {@link Vector3i}. - */ - // @ts-ignore - position(position: any /*Vector3i*/): org.spongepowered.api.block.BlockSnapshot.Builder; - /** - * Copies over block data from a {@link Location}. - */ - // @ts-ignore - from(location: org.spongepowered.api.world.Location): org.spongepowered.api.block.BlockSnapshot.Builder; - /** - * Sets the {@link UUID} of the user who created this - * {@link BlockSnapshot}. - */ - // @ts-ignore - creator(uuid: any): org.spongepowered.api.block.BlockSnapshot.Builder; - /** - * Sets the {@link UUID} of the user who last notified this - * {@link BlockSnapshot}. - */ - // @ts-ignore - notifier(uuid: any): org.spongepowered.api.block.BlockSnapshot.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.BlockSnapshot.ts b/packages/sponge/src/typings/org.spongepowered.api.block.BlockSnapshot.ts deleted file mode 100644 index deb4f096..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.BlockSnapshot.ts +++ /dev/null @@ -1,82 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - // @ts-ignore - interface BlockSnapshot extends org.spongepowered.api.data.LocatableSnapshot { - // @ts-ignore - NONE: org.spongepowered.api.block.BlockSnapshot; - /** - * Creates a {@link Builder} to get {@link BlockSnapshot}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.block.BlockSnapshot.Builder; - /** - * Gets the {@link BlockState}. - */ - // @ts-ignore - getState(): org.spongepowered.api.block.BlockState; - /** - * Gets the extended {@link BlockState}. This applies extended properties - * that are usually located around the associated {@link BlockType}. Check - * {@link BlockState#withExtendedProperties(Location)} for more info. - */ - // @ts-ignore - getExtendedState(): org.spongepowered.api.block.BlockState; - /** - * Creates a copy of the {@link BlockSnapshot} with the provided - * {@link BlockState}. Any additional data associated with a - * {@link TileEntity} or custom data may be lost. - *

Note: all custom data, including implementation detailed - * data relating to any and all {@link TileEntity} instances that - * was included in this snapshot will NOT copy over to the new - * snapshot.

- */ - // @ts-ignore - withState(blockState: org.spongepowered.api.block.BlockState): org.spongepowered.api.block.BlockSnapshot; - /** - * Creates a copy of the {@link BlockSnapshot} with the provided - * {@link DataContainer}. Note that this is equal to calling - * {@link Builder#build(DataView)}. All data is - * validated and - */ - // @ts-ignore - withContainer(container: org.spongepowered.api.data.DataContainer): org.spongepowered.api.block.BlockSnapshot; - /** - * Restores the {@link BlockSnapshot} to the {@link Location} stored within - * the snapshot. If the {@link Location} is not available, the snapshot will - * not be restored. - *

If forced, the state of the block will change its {@link BlockType} - * to match that of the snapshot then set the state. However, if force is - * set to false and the {@link BlockType}s does not match, false will be - * returned. - * If notifyNeighbors is true, neighboring blocks will be notified of - * changes at the restored block location triggering physic updates.

- */ - // @ts-ignore - restore(force: boolean, flag: org.spongepowered.api.world.BlockChangeFlag): boolean; - /** - * Gets the {@link UUID}, if available, of the user who created this - * {@link BlockSnapshot}. - */ - // @ts-ignore - getCreator(): any; - /** - * Gets the {@link UUID}, if available, of the user who last notified this - * {@link BlockSnapshot}. - */ - // @ts-ignore - getNotifier(): any; - /** - * Creates a new {@link TileEntityArchetype} for use with {@link Schematic}s - * and placing the archetype in multiple locations. - *

If this blocksnapshot does not contain a tile entity then this will - * return {@link Optional#empty()}.

- */ - // @ts-ignore - createArchetype(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.BlockSoundGroup.ts b/packages/sponge/src/typings/org.spongepowered.api.block.BlockSoundGroup.ts deleted file mode 100644 index ea823a3a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.BlockSoundGroup.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - // @ts-ignore - interface BlockSoundGroup { - /** - * Gets the volume used when playing sounds. - */ - // @ts-ignore - getVolume(): number; - /** - * Gets the pitch used when playing sounds. - */ - // @ts-ignore - getPitch(): number; - /** - * Gets the sound played when the block is breaking. - */ - // @ts-ignore - getBreakSound(): org.spongepowered.api.effect.sound.SoundType; - /** - * Gets the sound played when the block is stepped on. - */ - // @ts-ignore - getStepSound(): org.spongepowered.api.effect.sound.SoundType; - /** - * Gets the sound played when the block is placed. - */ - // @ts-ignore - getPlaceSound(): org.spongepowered.api.effect.sound.SoundType; - /** - * Gets the sound played when the block is hit. - */ - // @ts-ignore - getHitSound(): org.spongepowered.api.effect.sound.SoundType; - /** - * Gets the sound played when a {@link Living} entity falls onto the block. - */ - // @ts-ignore - getFallSound(): org.spongepowered.api.effect.sound.SoundType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.BlockState.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.block.BlockState.Builder.ts deleted file mode 100644 index 49175f49..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.BlockState.Builder.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace BlockState { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.ImmutableDataBuilder { - /** - * Sets the {@link BlockType} for the {@link BlockState} to build. - *

The {@link BlockType} is used for some pre-validation on addition of - * {@link DataManipulator}s through {@link #add(DataManipulator)}. It is - * important to understand that not all manipulators are compatible with - * all {@link BlockType}s.

- */ - // @ts-ignore - blockType(blockType: org.spongepowered.api.block.BlockType): org.spongepowered.api.block.BlockState.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.BlockState.MatcherBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.block.BlockState.MatcherBuilder.ts deleted file mode 100644 index b9ddfefb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.BlockState.MatcherBuilder.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace BlockState { - // @ts-ignore - class MatcherBuilder implements org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the root {@link BlockType} for the {@link StateMatcher}. - *

Note that the {@link BlockType type} must be set prior - * to setting various {@link BlockTrait traits} and their values.

- */ - // @ts-ignore - public type(type: org.spongepowered.api.block.BlockType): org.spongepowered.api.block.BlockState.MatcherBuilder; - /** - * Adds the desired {@link BlockTrait} and {code value} to this - * builder, if the desired {@link BlockTrait} does not belong to the - * original {@link BlockType} as provided by {@link #type(BlockType)}, - * an exception is thrown. Likewise, if a {@code value} is not within - * the possible values for the desired trait of the desired type, an - * exception is thrown. - */ - // @ts-ignore - public trait(trait: org.spongepowered.api.block.trait.BlockTrait, value: any): org.spongepowered.api.block.BlockState.MatcherBuilder; - /** - * Creates a new {@link StateMatcher}. - */ - // @ts-ignore - public build(): org.spongepowered.api.block.BlockState.StateMatcher; - // @ts-ignore - public from(value: org.spongepowered.api.block.BlockState.StateMatcher): org.spongepowered.api.block.BlockState.MatcherBuilder; - // @ts-ignore - public reset(): org.spongepowered.api.block.BlockState.MatcherBuilder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.BlockState.StateMatcher.ts b/packages/sponge/src/typings/org.spongepowered.api.block.BlockState.StateMatcher.ts deleted file mode 100644 index 99b68ffe..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.BlockState.StateMatcher.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace BlockState { - // @ts-ignore - class StateMatcher { - /** - * Gets a {@code true} return value if the provided {@link BlockState} - * sufficiently matches this matcher, such that the {@link BlockType} - * matches, and the pre-defined {@link BlockTrait} values match. - */ - // @ts-ignore - public matches(state: org.spongepowered.api.block.BlockState): boolean; - // @ts-ignore - public test(blockState: org.spongepowered.api.block.BlockState): boolean; - /** - * Gets a {@link List} of compatible {@link BlockState}s. - * Since all {@link BlockState}s are known in the initialization - * of a {@link BlockType}, the states are already deterministic - * and cannot change themselves. - */ - // @ts-ignore - public getCompatibleStates(): any[] /*java.util.List*/; - // @ts-ignore - public toString(): string; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.BlockState.ts b/packages/sponge/src/typings/org.spongepowered.api.block.BlockState.ts deleted file mode 100644 index 12b1b89f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.BlockState.ts +++ /dev/null @@ -1,104 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - // @ts-ignore - interface BlockState extends org.spongepowered.api.data.ImmutableDataHolder, org.spongepowered.api.data.property.DirectionRelativePropertyHolder, org.spongepowered.api.CatalogType { - /** - * Creates a new {@link Builder} for building {@link BlockState}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.block.BlockState.Builder; - /** - * Constructs a new {@link MatcherBuilder} to construct a {@link StateMatcher}. - */ - // @ts-ignore - matcher(type: org.spongepowered.api.block.BlockType): org.spongepowered.api.block.BlockState.MatcherBuilder; - /** - * Gets the base type of block. - *

The type does not include block data such as the contents of - * inventories.

- */ - // @ts-ignore - getType(): org.spongepowered.api.block.BlockType; - /** - * Applies extended properties for the current @{link BlockType} if any to - * the current {@link BlockState}. This usually is gathered from surrounding - * {@link BlockState}'s. - *

Note: This should only be called for live {@link BlockState}'s at - * a specific {@link Location} for accurate results.

- *

- * Examples of some extended properties are: - *

- *
    - *
  • snow on podzul dirt block
  • - *
  • occupied status for beds
  • - *
  • fence connections
  • - *
- */ - // @ts-ignore - withExtendedProperties(location: org.spongepowered.api.world.Location): org.spongepowered.api.block.BlockState; - /** - * Gets the associated {@link BlockState} with the cycled - * {@link BaseValue}. Note that only {@link Cycleable} values can be - * cycled. To change a particular {@link Key}'ed {@link Value}, usage - * of the {@link BlockState#with(Key, Object)} is recommended. - */ - // @ts-ignore - cycleValue(key: org.spongepowered.api.data.key.Key): org.spongepowered.api.block.BlockState; - /** - * Creates a new {@link BlockSnapshot} with this current {@link BlockState} - * at the desired {@link Location}. If the {@link Location} has the same - * {@link BlockState}, and the {@link BlockType} can house a - * {@link TileEntity}, the data from the tile entity may be included in the - * returned {@link BlockSnapshot}. - */ - // @ts-ignore - snapshotFor(location: org.spongepowered.api.world.Location): org.spongepowered.api.block.BlockSnapshot; - /** - * Gets the {@link Comparable} value for the specific {@link BlockTrait} - * such that if the {@link BlockState} does not support the - * {@link BlockTrait}, {@link Optional#empty()} is returned. - */ - // @ts-ignore - getTraitValue(blockTrait: org.spongepowered.api.block.trait.BlockTrait): any; - /** - * Attempts to retrieve the {@link BlockTrait} instance associated with - * this {@link BlockState}s {@link BlockType} by string id. If there is no - * {@link BlockTrait} available, {@link Optional#empty()} is returned. - */ - // @ts-ignore - getTrait(blockTrait: string): any; - /** - * Gets the {@link BlockState} with the appropriate value for the given - * {@link BlockTrait}. If the {@link BlockTrait} is not supported, - * {@link Optional#empty()} is returned. If the object is not either - * an instance contained in {@link BlockTrait#getPossibleValues()} or - * an instance {@link Object#toString()}, {@link Optional#empty()} may be - * returned. - */ - // @ts-ignore - withTrait(trait: org.spongepowered.api.block.trait.BlockTrait, value: any): any; - /** - * Gets an immutable {@link Collection} of all applicable - * {@link BlockTrait}s for this {@link BlockState}. - */ - // @ts-ignore - getTraits(): any[] /*java.util.Collection*/; - /** - * Gets an immutable {@link Collection} of all the values for all - * {@link BlockTrait}s for this {@link BlockState}. - */ - // @ts-ignore - getTraitValues(): any[] /*java.util.Collection*/; - /** - * Gets an immutable or unmodifiable {@link Map} of the known {@link BlockTrait}s - * to their current values for this {@link BlockState}. - */ - // @ts-ignore - getTraitMap(): Map /*java.util.Map*/; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.BlockType.ts b/packages/sponge/src/typings/org.spongepowered.api.block.BlockType.ts deleted file mode 100644 index 9d06e30d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.BlockType.ts +++ /dev/null @@ -1,65 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - // @ts-ignore - interface BlockType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable, org.spongepowered.api.data.property.PropertyHolder { - /** - * Return the internal ID for the block. - *

The format of the internal ID may vary between implementations - * but in Minecraft, it follows the format of {@code domain:type}, an - * example being {@code minecraft:stone}.

- */ - // @ts-ignore - getName(): string; - /** - * Return the default state for this block. - */ - // @ts-ignore - getDefaultState(): org.spongepowered.api.block.BlockState; - /** - * Gets a {@link Collection} of all {@link BlockState}s for this - * {@link BlockType}. - */ - // @ts-ignore - getAllBlockStates(): any[] /*java.util.Collection*/; - /** - * Return the {@link ItemType} that represents this block. - */ - // @ts-ignore - getItem(): any; - /** - * Gets if this BlockType is set to receive random block ticks. - *

Random block ticks are most commonly used for growth of plants.

- */ - // @ts-ignore - getTickRandomly(): boolean; - /** - * Sets if the BlockType should receive random block ticks. - *

Random block ticks are most commonly used for growth of plants.

- */ - // @ts-ignore - setTickRandomly(tickRandomly: boolean): void; - /** - * Gets an immutable {@link Collection} of all applicable - * {@link BlockTrait}s for this {@link BlockType}. - */ - // @ts-ignore - getTraits(): any[] /*java.util.Collection*/; - /** - * Attempts to retrieve the {@link BlockTrait} instance associated with - * this {@link BlockState}s {@link BlockType} by string id. If there is no - * {@link BlockTrait} available, {@link Optional#empty()} is returned. - */ - // @ts-ignore - getTrait(blockTrait: string): any; - /** - * Gets the {@link BlockSoundGroup} for this block. - */ - // @ts-ignore - getSoundGroup(): org.spongepowered.api.block.BlockSoundGroup; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.BlockTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.block.BlockTypes.ts deleted file mode 100644 index f54799e6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.BlockTypes.ts +++ /dev/null @@ -1,519 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - // @ts-ignore - class BlockTypes { - // @ts-ignore - public static ACACIA_DOOR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static ACACIA_FENCE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static ACACIA_FENCE_GATE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static ACACIA_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static ACTIVATOR_RAIL: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static AIR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static ANVIL: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BARRIER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BEACON: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BED: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BEDROCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BEETROOTS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BIRCH_DOOR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BIRCH_FENCE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BIRCH_FENCE_GATE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BIRCH_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BLACK_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BLACK_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BLUE_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BLUE_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BONE_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BOOKSHELF: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BREWING_STAND: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BRICK_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BRICK_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BROWN_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BROWN_MUSHROOM: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BROWN_MUSHROOM_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static BROWN_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CACTUS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CAKE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CARPET: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CARROTS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CAULDRON: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CHAIN_COMMAND_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CHEST: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CHORUS_FLOWER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CHORUS_PLANT: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CLAY: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static COAL_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static COAL_ORE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static COBBLESTONE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static COBBLESTONE_WALL: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static COCOA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static COMMAND_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CONCRETE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CONCRETE_POWDER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CRAFTING_TABLE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CYAN_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static CYAN_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DARK_OAK_DOOR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DARK_OAK_FENCE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DARK_OAK_FENCE_GATE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DARK_OAK_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DAYLIGHT_DETECTOR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DAYLIGHT_DETECTOR_INVERTED: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DEADBUSH: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DETECTOR_RAIL: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DIAMOND_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DIAMOND_ORE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DIRT: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DISPENSER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DOUBLE_PLANT: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DOUBLE_STONE_SLAB: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DOUBLE_STONE_SLAB2: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DOUBLE_WOODEN_SLAB: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DRAGON_EGG: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static DROPPER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static EMERALD_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static EMERALD_ORE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static ENCHANTING_TABLE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static ENDER_CHEST: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static END_BRICKS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static END_GATEWAY: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static END_PORTAL: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static END_PORTAL_FRAME: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static END_ROD: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static END_STONE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static FARMLAND: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static FENCE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static FENCE_GATE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static FIRE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static FLOWER_POT: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static FLOWING_LAVA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static FLOWING_WATER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static FROSTED_ICE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static FURNACE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static GLASS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static GLASS_PANE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static GLOWSTONE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static GOLDEN_RAIL: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static GOLD_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static GOLD_ORE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static GRASS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static GRASS_PATH: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static GRAVEL: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static GRAY_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static GRAY_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static GREEN_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static GREEN_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static HARDENED_CLAY: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static HAY_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static HEAVY_WEIGHTED_PRESSURE_PLATE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static HOPPER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static ICE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static IRON_BARS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static IRON_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static IRON_DOOR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static IRON_ORE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static IRON_TRAPDOOR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static JUKEBOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static JUNGLE_DOOR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static JUNGLE_FENCE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static JUNGLE_FENCE_GATE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static JUNGLE_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LADDER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LAPIS_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LAPIS_ORE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LAVA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LEAVES: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LEAVES2: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LEVER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LIGHT_BLUE_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LIGHT_BLUE_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LIGHT_WEIGHTED_PRESSURE_PLATE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LIME_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LIME_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LIT_FURNACE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LIT_PUMPKIN: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LIT_REDSTONE_LAMP: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LIT_REDSTONE_ORE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LOG: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static LOG2: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static MAGENTA_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static MAGENTA_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static MAGMA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static MELON_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static MELON_STEM: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static MOB_SPAWNER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static MONSTER_EGG: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static MOSSY_COBBLESTONE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static MYCELIUM: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static NETHERRACK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static NETHER_BRICK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static NETHER_BRICK_FENCE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static NETHER_BRICK_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static NETHER_WART: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static NETHER_WART_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static NOTEBLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static OAK_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static OBSERVER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static OBSIDIAN: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static ORANGE_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static ORANGE_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PACKED_ICE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PINK_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PINK_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PISTON: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PISTON_EXTENSION: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PISTON_HEAD: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PLANKS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PORTAL: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static POTATOES: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static POWERED_COMPARATOR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static POWERED_REPEATER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PRISMARINE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PUMPKIN: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PUMPKIN_STEM: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PURPLE_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PURPLE_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PURPUR_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PURPUR_DOUBLE_SLAB: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PURPUR_PILLAR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PURPUR_SLAB: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static PURPUR_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static QUARTZ_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static QUARTZ_ORE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static QUARTZ_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static RAIL: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static REDSTONE_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static REDSTONE_LAMP: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static REDSTONE_ORE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static REDSTONE_TORCH: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static REDSTONE_WIRE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static RED_FLOWER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static RED_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static RED_MUSHROOM: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static RED_MUSHROOM_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static RED_NETHER_BRICK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static RED_SANDSTONE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static RED_SANDSTONE_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static RED_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static REEDS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static REPEATING_COMMAND_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SAND: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SANDSTONE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SANDSTONE_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SAPLING: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SEA_LANTERN: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SILVER_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SILVER_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SKULL: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SLIME: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SNOW: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SNOW_LAYER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SOUL_SAND: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SPONGE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SPRUCE_DOOR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SPRUCE_FENCE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SPRUCE_FENCE_GATE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static SPRUCE_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STAINED_GLASS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STAINED_GLASS_PANE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STAINED_HARDENED_CLAY: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STANDING_BANNER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STANDING_SIGN: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STICKY_PISTON: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STONE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STONEBRICK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STONE_BRICK_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STONE_BUTTON: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STONE_PRESSURE_PLATE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STONE_SLAB: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STONE_SLAB2: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STONE_STAIRS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STRUCTURE_BLOCK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static STRUCTURE_VOID: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static TALLGRASS: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static TNT: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static TORCH: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static TRAPDOOR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static TRAPPED_CHEST: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static TRIPWIRE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static TRIPWIRE_HOOK: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static UNLIT_REDSTONE_TORCH: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static UNPOWERED_COMPARATOR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static UNPOWERED_REPEATER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static VINE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static WALL_BANNER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static WALL_SIGN: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static WATER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static WATERLILY: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static WEB: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static WHEAT: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static WHITE_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static WHITE_SHULKER_BOX: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static WOODEN_BUTTON: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static WOODEN_DOOR: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static WOODEN_PRESSURE_PLATE: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static WOODEN_SLAB: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static WOOL: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static YELLOW_FLOWER: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static YELLOW_GLAZED_TERRACOTTA: org.spongepowered.api.block.BlockType; - // @ts-ignore - public static YELLOW_SHULKER_BOX: org.spongepowered.api.block.BlockType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.ScheduledBlockUpdate.ts b/packages/sponge/src/typings/org.spongepowered.api.block.ScheduledBlockUpdate.ts deleted file mode 100644 index d2b6e466..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.ScheduledBlockUpdate.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - // @ts-ignore - interface ScheduledBlockUpdate extends org.spongepowered.api.world.Locatable { - /** - * Gets the amount of ticks until this SBU should cause the block to update. - */ - // @ts-ignore - getTicks(): number; - /** - * Sets the amount of ticks until this SBU should cause the block to update. - */ - // @ts-ignore - setTicks(ticks: number): void; - /** - * Gets the priority of this scheduled block update. - */ - // @ts-ignore - getPriority(): number; - /** - * Sets the priority of this scheduled block update. - */ - // @ts-ignore - setPriority(priority: number): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Banner.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Banner.ts deleted file mode 100644 index aec43f35..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Banner.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface Banner extends org.spongepowered.api.block.tileentity.TileEntity { - /** - * Gets the {@link BannerData data} of this {@link Banner banner}. - */ - // @ts-ignore - getBannerData(): org.spongepowered.api.data.manipulator.mutable.tileentity.BannerData; - /** - * Gets the {@link Value} for the base {@link DyeColor}. - */ - // @ts-ignore - baseColor(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link PatternListValue} of all patterns for the - * {@link Banner}. - */ - // @ts-ignore - patternsList(): org.spongepowered.api.data.value.mutable.PatternListValue; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Bed.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Bed.ts deleted file mode 100644 index 79173f8d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Bed.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface Bed extends org.spongepowered.api.block.tileentity.TileEntity { - /** - * Gets the {@link org.spongepowered.api.data.manipulator.mutable.tileentity.BedData data} of this {@link Bed bed}. - */ - // @ts-ignore - getBedData(): org.spongepowered.api.data.manipulator.mutable.tileentity.BedData; - /** - * Gets the {@link DyeableData data} of this {@link Bed bed}. - */ - // @ts-ignore - getDyeableData(): org.spongepowered.api.data.manipulator.mutable.DyeableData; - /** - * Gets the {@link Value} for the {@link DyeColor color}. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.CommandBlock.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.CommandBlock.ts deleted file mode 100644 index 5902376f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.CommandBlock.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface CommandBlock extends org.spongepowered.api.block.tileentity.TileEntity, org.spongepowered.api.command.source.CommandBlockSource { - /** - * Executes the currently stored command. - */ - // @ts-ignore - execute(): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Comparator.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Comparator.ts deleted file mode 100644 index 90b6e27f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Comparator.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface Comparator extends org.spongepowered.api.block.tileentity.TileEntity { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.DaylightDetector.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.DaylightDetector.ts deleted file mode 100644 index 398a6237..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.DaylightDetector.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface DaylightDetector extends org.spongepowered.api.block.tileentity.TileEntity { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EnchantmentTable.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EnchantmentTable.ts deleted file mode 100644 index a21e81f6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EnchantmentTable.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface EnchantmentTable extends org.spongepowered.api.block.tileentity.TileEntity { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EndGateway.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EndGateway.ts deleted file mode 100644 index 74e4e1db..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EndGateway.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface EndGateway extends org.spongepowered.api.block.tileentity.TileEntity { - /** - * Gets a copy of the {@link EndGatewayData} containing all available - * data this {@link EndGateway} has. - */ - // @ts-ignore - getEndGatewayData(): org.spongepowered.api.data.manipulator.mutable.tileentity.EndGatewayData; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EndPortal.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EndPortal.ts deleted file mode 100644 index 898989c4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EndPortal.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface EndPortal extends org.spongepowered.api.block.tileentity.TileEntity { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EnderChest.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EnderChest.ts deleted file mode 100644 index 1f50c8f5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.EnderChest.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface EnderChest extends org.spongepowered.api.block.tileentity.TileEntity { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.FlowerPot.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.FlowerPot.ts deleted file mode 100644 index e7aec0f8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.FlowerPot.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface FlowerPot extends org.spongepowered.api.block.tileentity.TileEntity { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Jukebox.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Jukebox.ts deleted file mode 100644 index 9df0ffb6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Jukebox.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface Jukebox extends org.spongepowered.api.block.tileentity.TileEntity { - /** - * Attempts to play the currently stored record according to the - * {@link RepresentedItemData} of this {@link Jukebox}. - */ - // @ts-ignore - playRecord(): void; - /** - * Stops the currently playing record, if any. - */ - // @ts-ignore - stopRecord(): void; - /** - * Ejects the record item in this Jukebox into the world. - */ - // @ts-ignore - ejectRecord(): void; - /** - * Ejects the current record in this Jukebox and inserts the given one. - */ - // @ts-ignore - insertRecord(record: org.spongepowered.api.item.inventory.ItemStack): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.MobSpawner.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.MobSpawner.ts deleted file mode 100644 index be5f5154..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.MobSpawner.ts +++ /dev/null @@ -1,92 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface MobSpawner extends org.spongepowered.api.block.tileentity.TileEntity { - /** - * Trigger an immediate spawn of a batch of entities. - *

This will obey the restrictions of maximum nearby entities and player - * range unless the {@code force} flag is set.

- */ - // @ts-ignore - spawnEntityBatchImmediately(force: boolean): void; - /** - * Gets the {@link MobSpawnerData} for this mob spawner. - */ - // @ts-ignore - getMobSpawnerData(): org.spongepowered.api.data.manipulator.mutable.MobSpawnerData; - /** - * Gets the {@link MutableBoundedValue} for the remaining delay before - * a new attempt at spawning an {@link Entity} is made. - */ - // @ts-ignore - remainingDelay(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the minimum spawn delay - * required between attempts to spawn an {@link Entity}. - */ - // @ts-ignore - minimumSpawnDelay(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the maximum spawn delay - * required between attempts to spawn an {@link Entity}. - */ - // @ts-ignore - maximumSpawnDelay(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the count of successful - * spawns of all {@link Entity} instances from the owning spawner. This - * count is simply a total count, there is no limitation on how many - * attempts are made to spawn an {@link Entity}. - */ - // @ts-ignore - spawnCount(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the limitation on the number - * of nearby {@link Entity} instances can exist near the owning spawner. The - * limitation is that if there are more {@link Entity} instances than the - * provided value, no attempts to spawn a new {@link Entity} will be made. - */ - // @ts-ignore - maximumNearbyEntities(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the minimum range a - * {@link Player} must remain in proximity of the spawner, such that if a - * {@link Player} is NOT within the provided range, no attempts to spawn an - * {@link Entity} is made. - */ - // @ts-ignore - requiredPlayerRange(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the maximum range that an - * {@link Entity} can be spawned from the spawner. - */ - // @ts-ignore - spawnRange(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link Value} - * for the overridden - * {@link WeightedSerializableObject}{@code } to spawn - * next. If possible, the next entity to spawn may be chosen from the - * already provided {@link #possibleEntitiesToSpawn()}. - */ - // @ts-ignore - nextEntityToSpawn(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link WeightedCollectionValue} of all possible - * {@link Entity} instances that can be spawned by the spawner. As they - * are all {@link WeightedSerializableObject}{@code } - * instances, their weight is defined as a {@link Random} to determine - * the next {@link Entity} that will be spawned, unless overriden by - * {@link #nextEntityToSpawn()}. - */ - // @ts-ignore - possibleEntitiesToSpawn(): org.spongepowered.api.data.value.mutable.WeightedCollectionValue; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Note.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Note.ts deleted file mode 100644 index 2864fd94..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Note.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface Note extends org.spongepowered.api.block.tileentity.TileEntity { - /** - * Attempts to play the currently stored {@link NotePitch} from this - * {@link Note} tile entity. - */ - // @ts-ignore - playNote(): void; - /** - * Retrieves the {@link NoteData} for this note block. - */ - // @ts-ignore - getNoteData(): org.spongepowered.api.data.manipulator.mutable.tileentity.NoteData; - /** - * Gets the {@link Value} for the {@link NotePitch}. - */ - // @ts-ignore - note(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Piston.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Piston.ts deleted file mode 100644 index 1f340b0f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Piston.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface Piston extends org.spongepowered.api.block.tileentity.TileEntity { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Sign.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Sign.ts deleted file mode 100644 index d6a99226..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Sign.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface Sign extends org.spongepowered.api.block.tileentity.TileEntity { - /** - * Gets the current {@link SignData} for this {@link Sign} tile entity. - */ - // @ts-ignore - getSignData(): org.spongepowered.api.data.manipulator.mutable.tileentity.SignData; - /** - * Gets the {@link ListValue} of {@link Text} for the {@link Sign} - * to show. - */ - // @ts-ignore - lines(): org.spongepowered.api.data.value.mutable.ListValue; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Skull.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Skull.ts deleted file mode 100644 index 8b125bbc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Skull.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface Skull extends org.spongepowered.api.block.tileentity.TileEntity { - /** - * Gets the current {@link SkullData} for this {@link Skull} - * {@link TileEntity}. - */ - // @ts-ignore - getSkullData(): org.spongepowered.api.data.manipulator.mutable.SkullData; - /** - * Gets the current {@link SkullType} for this {@link Skull}. - */ - // @ts-ignore - skullType(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Structure.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Structure.ts deleted file mode 100644 index db96ec9b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.Structure.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface Structure extends org.spongepowered.api.block.tileentity.TileEntity { - /** - * Gets a copy of the {@link Structure} containing all available - * data this {@link EndGateway} has. - */ - // @ts-ignore - getStructureData(): org.spongepowered.api.data.manipulator.mutable.tileentity.StructureData; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntity.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntity.ts deleted file mode 100644 index e803b4b3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntity.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface TileEntity extends org.spongepowered.api.data.DataHolder, org.spongepowered.api.world.Locatable { - /** - * Checks for whether the tile entity is currently valid or not. - *

Use this method to check if processing should be run on this - * {@link TileEntity}. If it is valid, then processing can be run on it. - * If not, then processing should wait until it becomes valid or is - * destroyed.

- */ - // @ts-ignore - isValid(): boolean; - /** - * Changes the validation of this tile entity. - *

If the tile entity is invalid, no processing will be done on this - * {@link TileEntity} until it either becomes valid or is reset on the next - * tick.

- *

If the tile entity is valid, then processing can continue and this - * {@link TileEntity} will not be reset on the next tick.

- */ - // @ts-ignore - setValid(valid: boolean): void; - /** - * Gets the type of {@link TileEntity} this is. - */ - // @ts-ignore - getType(): org.spongepowered.api.block.tileentity.TileEntityType; - /** - * Gets the {@link BlockState} that this {@link TileEntity} represents. - */ - // @ts-ignore - getBlock(): org.spongepowered.api.block.BlockState; - /** - * Creates a new {@link TileEntityArchetype} for use with {@link Schematic}s - * and placing the archetype in multiple locations. - */ - // @ts-ignore - createArchetype(): org.spongepowered.api.block.tileentity.TileEntityArchetype; - /** - * Creates a {@link LocatableBlock} for this {@link TileEntity}. Can be used - * as a simpler method of making them. Since this does not persist the - * data of this {@link TileEntity}, it should not be used in place of a - * {@link BlockSnapshot} where data is being safely cloned. - */ - // @ts-ignore - getLocatableBlock(): org.spongepowered.api.world.LocatableBlock; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder.ts deleted file mode 100644 index 82906cc0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder.ts +++ /dev/null @@ -1,43 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - namespace TileEntityArchetype { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.persistence.DataBuilder { - // @ts-ignore - reset(): org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder; - // @ts-ignore - from(value: org.spongepowered.api.block.tileentity.TileEntityArchetype): org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder; - // @ts-ignore - from(location: org.spongepowered.api.world.Location): org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder; - /** - * Sets the {@link BlockState} of the archetype. - */ - // @ts-ignore - state(state: org.spongepowered.api.block.BlockState): org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder; - // @ts-ignore - tile(tileEntityType: org.spongepowered.api.block.tileentity.TileEntityType): org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder; - // @ts-ignore - tile(tileEntity: org.spongepowered.api.block.tileentity.TileEntity): org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder; - // @ts-ignore - tileData(dataView: org.spongepowered.api.data.DataView): org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder; - // @ts-ignore - setData(manipulator: org.spongepowered.api.data.manipulator.DataManipulator): org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder; - // @ts-ignore - set(value: org.spongepowered.api.data.value.BaseValue): org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder; - // @ts-ignore - set(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder; - /** - * Creates a new {@link TileEntityArchetype} from this builder. - */ - // @ts-ignore - build(): org.spongepowered.api.block.tileentity.TileEntityArchetype; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityArchetype.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityArchetype.ts deleted file mode 100644 index d98149d6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityArchetype.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface TileEntityArchetype extends org.spongepowered.api.data.Archetype { - /** - * Creates a {@link Builder} to get {@link TileEntityArchetype}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.block.tileentity.TileEntityArchetype.Builder; - /** - * Gets the block state for this archetype. Note that this state is - * unchangeable, as much as {@link #getTileEntityType()} is. The underlying - * data is mutable, but all the data is heavily tied to the tile entity - * type. - */ - // @ts-ignore - getState(): org.spongepowered.api.block.BlockState; - /** - * Gets the {@link TileEntityType} for this archetype. - */ - // @ts-ignore - getTileEntityType(): org.spongepowered.api.block.tileentity.TileEntityType; - /** - * Gets the raw {@link TileEntity} data that would be applied to the - * generated tile entity. Note that this is a copied container. - */ - // @ts-ignore - getTileData(): org.spongepowered.api.data.DataContainer; - /** - * Sets the raw data for the desired {@link TileEntity}. Note that position - * values are not used as those are dependent on usage. - */ - // @ts-ignore - setRawData(container: org.spongepowered.api.data.DataView): void; - // @ts-ignore - copy(): org.spongepowered.api.block.tileentity.TileEntityArchetype; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityType.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityType.ts deleted file mode 100644 index a2106e10..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityType.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - interface TileEntityType extends org.spongepowered.api.CatalogType { - /** - * Returns the tile entity class for this type. - */ - // @ts-ignore - getTileEntityType(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityTypes.ts deleted file mode 100644 index 0f91a632..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.TileEntityTypes.ts +++ /dev/null @@ -1,61 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - // @ts-ignore - class TileEntityTypes { - // @ts-ignore - public static BANNER: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static BEACON: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static BREWING_STAND: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static CHEST: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static COMMAND_BLOCK: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static COMPARATOR: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static DAYLIGHT_DETECTOR: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static DISPENSER: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static DROPPER: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static ENCHANTMENT_TABLE: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static ENDER_CHEST: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static END_GATEWAY: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static END_PORTAL: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static FLOWER_POT: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static FURNACE: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static HOPPER: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static JUKEBOX: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static MOB_SPAWNER: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static NOTE: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static PISTON: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static SHULKER_BOX: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static SIGN: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static SKULL: org.spongepowered.api.block.tileentity.TileEntityType; - // @ts-ignore - public static STRUCTURE: org.spongepowered.api.block.tileentity.TileEntityType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Beacon.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Beacon.ts deleted file mode 100644 index 4facc37a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Beacon.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - namespace carrier { - // @ts-ignore - interface Beacon extends org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier { - /** - * Gets the number of completed levels of valid beacon structure blocks - * beneath this beacon. - */ - // @ts-ignore - getCompletedLevels(): number; - /** - * Gets the current {@link BeaconData} for this beacon. - */ - // @ts-ignore - getBeaconData(): org.spongepowered.api.data.manipulator.mutable.tileentity.BeaconData; - /** - * Gets the {@link OptionalValue} for the primary - * {@link PotionEffectType}. - */ - // @ts-ignore - primaryEffect(): org.spongepowered.api.data.value.mutable.OptionalValue; - /** - * Gets the {@link OptionalValue} for the secondary - * {@link PotionEffectType}. - */ - // @ts-ignore - secondaryEffect(): org.spongepowered.api.data.value.mutable.OptionalValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.BrewingStand.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.BrewingStand.ts deleted file mode 100644 index cb474f85..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.BrewingStand.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - namespace carrier { - // @ts-ignore - interface BrewingStand extends org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier { - /** - * Attempts to brew the current potions if possible. - *

This will work if there is a compatible recipe.

- */ - // @ts-ignore - brew(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Chest.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Chest.ts deleted file mode 100644 index 30dcb236..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Chest.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - namespace carrier { - // @ts-ignore - interface Chest extends org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier { - /** - * Returns the inventory representing the combination of this chest - * and its neighbor (which form a double chest), if available. - *

If this chest is not part of a double chest, then this method - * will return {@link Optional#empty()}.

- */ - // @ts-ignore - getDoubleChestInventory(): any; - /** - * Returns the connected {@link Chest}s, if available. - */ - // @ts-ignore - getConnectedChests(): any[] /*java.util.Set*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Dispenser.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Dispenser.ts deleted file mode 100644 index 98d40c63..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Dispenser.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - namespace carrier { - // @ts-ignore - interface Dispenser extends org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier, org.spongepowered.api.entity.projectile.source.BlockProjectileSource { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Dropper.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Dropper.ts deleted file mode 100644 index 10fffd00..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Dropper.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - namespace carrier { - // @ts-ignore - interface Dropper extends org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Furnace.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Furnace.ts deleted file mode 100644 index a620f47a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Furnace.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - namespace carrier { - // @ts-ignore - interface Furnace extends org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier { - /** - * Attempts to smelt the current items if possible. - *

This will work if there is a compatible recipe.

- */ - // @ts-ignore - smelt(): boolean; - /** - * Gets this furnace's {@link FurnaceData}. - */ - // @ts-ignore - getFurnaceData(): org.spongepowered.api.data.manipulator.mutable.tileentity.FurnaceData; - /** - * Gets the {@link MutableBoundedValue} for the already passed burn time. - */ - // @ts-ignore - passedBurnTime(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the maximum amount of fuel that - * can be supplied with the used fuel item. - */ - // @ts-ignore - maxBurnTime(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the already passed cook time of - * the item stack in this furnace. - */ - // @ts-ignore - passedCookTime(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the total time the item stack - * has to cook until it is cooked. - */ - // @ts-ignore - maxCookTime(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Hopper.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Hopper.ts deleted file mode 100644 index 78db9f36..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.Hopper.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - namespace carrier { - // @ts-ignore - interface Hopper extends org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier { - /** - * Requests this {@link Hopper} to transfer an item to the next carrier. - *

Since {@link Hopper}s normally send items to other - * {@link TileEntityCarrier}s adjacent to themselves, if there is no - * available carrier to send an item to, this will perform nothing.

- */ - // @ts-ignore - transferItem(): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.ShulkerBox.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.ShulkerBox.ts deleted file mode 100644 index b4e09b13..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.ShulkerBox.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - namespace carrier { - // @ts-ignore - interface ShulkerBox extends org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier { - /** - * Gets a copy of the {@link DyeableData} representing the color of this - * {@link ShulkerBox}. - */ - // @ts-ignore - getDyeData(): org.spongepowered.api.data.manipulator.mutable.DyeableData; - /** - * Gets the current {@link Value} of {@link DyeColor} for this - * {@link ShulkerBox}. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier.ts b/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier.ts deleted file mode 100644 index 776da68a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.tileentity.carrier.TileEntityCarrier.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace tileentity { - namespace carrier { - // @ts-ignore - interface TileEntityCarrier extends org.spongepowered.api.block.tileentity.TileEntity, org.spongepowered.api.item.inventory.BlockCarrier { - // @ts-ignore - getInventory(): org.spongepowered.api.item.inventory.type.TileEntityInventory; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.trait.BlockTrait.ts b/packages/sponge/src/typings/org.spongepowered.api.block.trait.BlockTrait.ts deleted file mode 100644 index 2e8a2a2f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.trait.BlockTrait.ts +++ /dev/null @@ -1,43 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace trait { - // @ts-ignore - interface BlockTrait extends org.spongepowered.api.CatalogType { - /** - * Gets the name of this {@link BlockTrait}. - */ - // @ts-ignore - getName(): string; - /** - * Gets all possible values for a specific {@link BlockTrait}. The - * included values may not be in any particular order. The returned - * {@link Collection} should be considered immutable. - */ - // @ts-ignore - getPossibleValues(): any[] /*java.util.Collection*/; - /** - * Gets the class type of the {@link BlockTrait}'s values. - */ - // @ts-ignore - getValueClass(): any; - /** - * Gets the {@link Predicate} used to determine valid values for this. - * {@link BlockTrait}. Any "value" that returns true when - * {@link Predicate#test(Object)} is called is valid. The - * {@link Predicate} is specific to this trait. - */ - // @ts-ignore - getPredicate(): any; - /** - * Attempts to parse the provided value as a value dictated possible by this trait or {@link Optional#empty()} otherwise. - */ - // @ts-ignore - parseValue(value: string): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.trait.BooleanTrait.ts b/packages/sponge/src/typings/org.spongepowered.api.block.trait.BooleanTrait.ts deleted file mode 100644 index 63523f3b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.trait.BooleanTrait.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace trait { - // @ts-ignore - interface BooleanTrait extends org.spongepowered.api.block.trait.BlockTrait { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.trait.BooleanTraits.ts b/packages/sponge/src/typings/org.spongepowered.api.block.trait.BooleanTraits.ts deleted file mode 100644 index 3acb2834..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.trait.BooleanTraits.ts +++ /dev/null @@ -1,281 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace trait { - // @ts-ignore - class BooleanTraits { - // @ts-ignore - public static ACACIA_DOOR_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static ACACIA_DOOR_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static ACACIA_FENCE_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static ACACIA_FENCE_GATE_IN_WALL: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static ACACIA_FENCE_GATE_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static ACACIA_FENCE_GATE_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static ACACIA_FENCE_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static ACACIA_FENCE_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static ACACIA_FENCE_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static ACTIVATOR_RAIL_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static BED_OCCUPIED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static BIRCH_DOOR_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static BIRCH_DOOR_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static BIRCH_FENCE_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static BIRCH_FENCE_GATE_IN_WALL: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static BIRCH_FENCE_GATE_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static BIRCH_FENCE_GATE_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static BIRCH_FENCE_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static BIRCH_FENCE_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static BIRCH_FENCE_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static BREWING_STAND_HAS_BOTTLE_0: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static BREWING_STAND_HAS_BOTTLE_1: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static BREWING_STAND_HAS_BOTTLE_2: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static COBBLESTONE_WALL_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static COBBLESTONE_WALL_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static COBBLESTONE_WALL_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static COBBLESTONE_WALL_UP: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static COBBLESTONE_WALL_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DARK_OAK_DOOR_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DARK_OAK_DOOR_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DARK_OAK_FENCE_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DARK_OAK_FENCE_GATE_IN_WALL: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DARK_OAK_FENCE_GATE_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DARK_OAK_FENCE_GATE_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DARK_OAK_FENCE_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DARK_OAK_FENCE_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DARK_OAK_FENCE_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DETECTOR_RAIL_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DIRT_SNOWY: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DISPENSER_TRIGGERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DOUBLE_STONE_SLAB2_SEAMLESS: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DOUBLE_STONE_SLAB_SEAMLESS: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static DROPPER_TRIGGERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static END_PORTAL_FRAME_EYE: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static FENCE_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static FENCE_GATE_IN_WALL: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static FENCE_GATE_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static FENCE_GATE_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static FENCE_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static FENCE_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static FENCE_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static FIRE_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static FIRE_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static FIRE_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static FIRE_UP: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static FIRE_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static GLASS_PANE_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static GLASS_PANE_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static GLASS_PANE_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static GLASS_PANE_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static GOLDEN_RAIL_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static GRASS_SNOWY: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static HOPPER_ENABLED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static IRON_BARS_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static IRON_BARS_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static IRON_BARS_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static IRON_BARS_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static IRON_DOOR_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static IRON_DOOR_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static IRON_TRAPDOOR_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static JUKEBOX_HAS_RECORD: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static JUNGLE_DOOR_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static JUNGLE_DOOR_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static JUNGLE_FENCE_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static JUNGLE_FENCE_GATE_IN_WALL: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static JUNGLE_FENCE_GATE_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static JUNGLE_FENCE_GATE_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static JUNGLE_FENCE_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static JUNGLE_FENCE_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static JUNGLE_FENCE_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static LEAVES2_CHECK_DECAY: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static LEAVES2_DECAYABLE: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static LEAVES_CHECK_DECAY: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static LEAVES_DECAYABLE: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static LEVER_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static MYCELIUM_SNOWY: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static NETHER_BRICK_FENCE_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static NETHER_BRICK_FENCE_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static NETHER_BRICK_FENCE_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static NETHER_BRICK_FENCE_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static PISTON_EXTENDED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static PISTON_HEAD_SHORT: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static POWERED_COMPARATOR_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static POWERED_REPEATER_LOCKED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static SKULL_NODROP: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static SPONGE_WET: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static SPRUCE_DOOR_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static SPRUCE_DOOR_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static SPRUCE_FENCE_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static SPRUCE_FENCE_GATE_IN_WALL: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static SPRUCE_FENCE_GATE_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static SPRUCE_FENCE_GATE_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static SPRUCE_FENCE_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static SPRUCE_FENCE_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static SPRUCE_FENCE_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static STAINED_GLASS_PANE_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static STAINED_GLASS_PANE_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static STAINED_GLASS_PANE_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static STAINED_GLASS_PANE_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static STICKY_PISTON_EXTENDED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static STONE_BUTTON_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static STONE_PRESSURE_PLATE_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static TNT_EXPLODE: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static TRAPDOOR_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static TRIPWIRE_ATTACHED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static TRIPWIRE_DISARMED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static TRIPWIRE_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static TRIPWIRE_HOOK_ATTACHED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static TRIPWIRE_HOOK_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static TRIPWIRE_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static TRIPWIRE_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static TRIPWIRE_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static TRIPWIRE_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static UNPOWERED_COMPARATOR_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static UNPOWERED_REPEATER_LOCKED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static VINE_EAST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static VINE_NORTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static VINE_SOUTH: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static VINE_UP: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static VINE_WEST: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static WOODEN_BUTTON_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static WOODEN_DOOR_OPEN: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static WOODEN_DOOR_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - // @ts-ignore - public static WOODEN_PRESSURE_PLATE_POWERED: org.spongepowered.api.block.trait.BooleanTrait; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.trait.EnumTrait.ts b/packages/sponge/src/typings/org.spongepowered.api.block.trait.EnumTrait.ts deleted file mode 100644 index cd2e20ea..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.trait.EnumTrait.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace trait { - // @ts-ignore - interface EnumTrait extends org.spongepowered.api.block.trait.BlockTrait { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.trait.EnumTraits.ts b/packages/sponge/src/typings/org.spongepowered.api.block.trait.EnumTraits.ts deleted file mode 100644 index 8babc154..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.trait.EnumTraits.ts +++ /dev/null @@ -1,333 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace trait { - // @ts-ignore - class EnumTraits { - // @ts-ignore - public static ACACIA_DOOR_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static ACACIA_DOOR_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static ACACIA_DOOR_HINGE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static ACACIA_FENCE_GATE_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static ACACIA_STAIRS_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static ACACIA_STAIRS_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static ACACIA_STAIRS_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static ACTIVATOR_RAIL_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static ANVIL_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static BED_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static BED_PART: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static BIRCH_DOOR_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static BIRCH_DOOR_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static BIRCH_DOOR_HINGE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static BIRCH_FENCE_GATE_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static BIRCH_STAIRS_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static BIRCH_STAIRS_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static BIRCH_STAIRS_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static BRICK_STAIRS_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static BRICK_STAIRS_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static BRICK_STAIRS_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static BROWN_MUSHROOM_BLOCK_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static CARPET_COLOR: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static CHEST_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static COBBLESTONE_WALL_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static COCOA_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DARK_OAK_DOOR_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DARK_OAK_DOOR_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DARK_OAK_DOOR_HINGE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DARK_OAK_FENCE_GATE_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DARK_OAK_STAIRS_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DARK_OAK_STAIRS_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DARK_OAK_STAIRS_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DETECTOR_RAIL_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DIRT_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DISPENSER_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DOUBLE_PLANT_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DOUBLE_PLANT_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DOUBLE_STONE_SLAB2_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DOUBLE_STONE_SLAB_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DOUBLE_WOODEN_SLAB_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static DROPPER_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static ENDER_CHEST_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static END_PORTAL_FRAME_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static FENCE_GATE_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static FLOWER_POT_CONTENTS: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static FURNACE_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static GOLDEN_RAIL_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static HAY_BLOCK_AXIS: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static HOPPER_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static IRON_DOOR_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static IRON_DOOR_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static IRON_DOOR_HINGE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static IRON_TRAPDOOR_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static IRON_TRAPDOOR_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static JUNGLE_DOOR_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static JUNGLE_DOOR_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static JUNGLE_DOOR_HINGE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static JUNGLE_FENCE_GATE_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static JUNGLE_STAIRS_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static JUNGLE_STAIRS_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static JUNGLE_STAIRS_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static LADDER_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static LEAVES2_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static LEAVES_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static LEVER_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static LIT_FURNACE_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static LIT_PUMPKIN_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static LOG2_AXIS: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static LOG2_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static LOG_AXIS: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static LOG_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static MELON_STEM_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static MONSTER_EGG_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static NETHER_BRICK_STAIRS_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static NETHER_BRICK_STAIRS_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static NETHER_BRICK_STAIRS_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static OAK_STAIRS_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static OAK_STAIRS_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static OAK_STAIRS_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static PISTON_EXTENSION_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static PISTON_EXTENSION_TYPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static PISTON_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static PISTON_HEAD_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static PISTON_HEAD_TYPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static PLANKS_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static PORTAL_AXIS: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static POWERED_COMPARATOR_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static POWERED_COMPARATOR_MODE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static POWERED_REPEATER_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static PRISMARINE_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static PUMPKIN_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static PUMPKIN_STEM_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static QUARTZ_BLOCK_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static QUARTZ_STAIRS_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static QUARTZ_STAIRS_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static QUARTZ_STAIRS_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static RAIL_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static REDSTONE_TORCH_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static REDSTONE_WIRE_EAST: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static REDSTONE_WIRE_NORTH: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static REDSTONE_WIRE_SOUTH: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static REDSTONE_WIRE_WEST: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static RED_FLOWER_TYPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static RED_MUSHROOM_BLOCK_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static RED_SANDSTONE_STAIRS_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static RED_SANDSTONE_STAIRS_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static RED_SANDSTONE_STAIRS_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static RED_SANDSTONE_TYPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SANDSTONE_STAIRS_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SANDSTONE_STAIRS_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SANDSTONE_STAIRS_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SANDSTONE_TYPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SAND_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SAPLING_TYPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SKULL_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SPRUCE_DOOR_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SPRUCE_DOOR_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SPRUCE_DOOR_HINGE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SPRUCE_FENCE_GATE_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SPRUCE_STAIRS_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SPRUCE_STAIRS_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static SPRUCE_STAIRS_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STAINED_GLASS_COLOR: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STAINED_GLASS_PANE_COLOR: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STAINED_HARDENED_CLAY_COLOR: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STICKY_PISTON_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STONEBRICK_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STONE_BRICK_STAIRS_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STONE_BRICK_STAIRS_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STONE_BRICK_STAIRS_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STONE_BUTTON_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STONE_SLAB2_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STONE_SLAB2_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STONE_SLAB_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STONE_SLAB_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STONE_STAIRS_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STONE_STAIRS_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STONE_STAIRS_SHAPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static STONE_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static TALLGRASS_TYPE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static TORCH_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static TRAPDOOR_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static TRAPDOOR_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static TRAPPED_CHEST_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static TRIPWIRE_HOOK_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static UNLIT_REDSTONE_TORCH_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static UNPOWERED_COMPARATOR_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static UNPOWERED_COMPARATOR_MODE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static UNPOWERED_REPEATER_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static WALL_BANNER_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static WALL_SIGN_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static WOODEN_BUTTON_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static WOODEN_DOOR_FACING: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static WOODEN_DOOR_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static WOODEN_DOOR_HINGE: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static WOODEN_SLAB_HALF: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static WOODEN_SLAB_VARIANT: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static WOOL_COLOR: org.spongepowered.api.block.trait.EnumTrait; - // @ts-ignore - public static YELLOW_FLOWER_TYPE: org.spongepowered.api.block.trait.EnumTrait; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.trait.IntegerTrait.ts b/packages/sponge/src/typings/org.spongepowered.api.block.trait.IntegerTrait.ts deleted file mode 100644 index 285e1f31..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.trait.IntegerTrait.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace trait { - // @ts-ignore - interface IntegerTrait extends org.spongepowered.api.block.trait.BlockTrait { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.block.trait.IntegerTraits.ts b/packages/sponge/src/typings/org.spongepowered.api.block.trait.IntegerTraits.ts deleted file mode 100644 index 9461b3bc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.block.trait.IntegerTraits.ts +++ /dev/null @@ -1,75 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace block { - namespace trait { - // @ts-ignore - class IntegerTraits { - // @ts-ignore - public static ANVIL_DAMAGE: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static BEETROOT_AGE: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static CACTUS_AGE: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static CAKE_BITES: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static CARROTS_AGE: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static CAULDRON_LEVEL: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static COCOA_AGE: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static DAYLIGHT_DETECTOR_INVERTED_POWER: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static DAYLIGHT_DETECTOR_POWER: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static FARMLAND_MOISTURE: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static FIRE_AGE: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static FLOWER_POT_LEGACY_DATA: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static FLOWING_LAVA_LEVEL: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static FLOWING_WATER_LEVEL: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static HEAVY_WEIGHTED_PRESSURE_PLATE_POWER: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static LAVA_LEVEL: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static LIGHT_WEIGHTED_PRESSURE_PLATE_POWER: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static MELON_STEM_AGE: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static NETHER_WART_AGE: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static POTATOES_AGE: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static POWERED_REPEATER_DELAY: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static PUMPKIN_STEM_AGE: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static REDSTONE_WIRE_POWER: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static REEDS_AGE: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static SAPLING_STAGE: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static SNOW_LAYER_LAYERS: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static STANDING_BANNER_ROTATION: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static STANDING_SIGN_ROTATION: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static UNPOWERED_REPEATER_DELAY: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static WATER_LEVEL: org.spongepowered.api.block.trait.IntegerTrait; - // @ts-ignore - public static WHEAT_AGE: org.spongepowered.api.block.trait.IntegerTrait; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.boss.BossBar.ts b/packages/sponge/src/typings/org.spongepowered.api.boss.BossBar.ts deleted file mode 100644 index f725367c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.boss.BossBar.ts +++ /dev/null @@ -1,82 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace boss { - // @ts-ignore - interface BossBar extends org.spongepowered.api.util.Identifiable { - /** - * Gets the name of this boss bar. - */ - // @ts-ignore - getName(): org.spongepowered.api.text.Text; - /** - * Sets the name of this boss bar. - */ - // @ts-ignore - setName(name: org.spongepowered.api.text.Text): org.spongepowered.api.boss.BossBar; - /** - * Gets the percent. - */ - // @ts-ignore - getPercent(): number; - /** - * Sets the percent. - *

The percent must be between {@code 0.0} and {@code 1.0}.

- */ - // @ts-ignore - setPercent(percent: number): org.spongepowered.api.boss.BossBar; - /** - * Gets the color. - */ - // @ts-ignore - getColor(): org.spongepowered.api.boss.BossBarColor; - /** - * Sets the color. - */ - // @ts-ignore - setColor(color: org.spongepowered.api.boss.BossBarColor): org.spongepowered.api.boss.BossBar; - /** - * Gets the overlay. - */ - // @ts-ignore - getOverlay(): org.spongepowered.api.boss.BossBarOverlay; - /** - * Sets the overlay. - */ - // @ts-ignore - setOverlay(overlay: org.spongepowered.api.boss.BossBarOverlay): org.spongepowered.api.boss.BossBar; - /** - * If the sky should darken. - */ - // @ts-ignore - shouldDarkenSky(): boolean; - /** - * Sets if the sky should darken. - */ - // @ts-ignore - setDarkenSky(darkenSky: boolean): org.spongepowered.api.boss.BossBar; - /** - * If the end boss music should be played. - */ - // @ts-ignore - shouldPlayEndBossMusic(): boolean; - /** - * Sets if the end boss music should be played. - */ - // @ts-ignore - setPlayEndBossMusic(playEndBossMusic: boolean): org.spongepowered.api.boss.BossBar; - /** - * If fog should be created. - */ - // @ts-ignore - shouldCreateFog(): boolean; - /** - * Sets if fog should be created. - */ - // @ts-ignore - setCreateFog(createFog: boolean): org.spongepowered.api.boss.BossBar; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.boss.BossBarColor.ts b/packages/sponge/src/typings/org.spongepowered.api.boss.BossBarColor.ts deleted file mode 100644 index 2801dce6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.boss.BossBarColor.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace boss { - // @ts-ignore - interface BossBarColor extends org.spongepowered.api.CatalogType { - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.boss.BossBarColors.ts b/packages/sponge/src/typings/org.spongepowered.api.boss.BossBarColors.ts deleted file mode 100644 index c4a92767..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.boss.BossBarColors.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace boss { - // @ts-ignore - class BossBarColors { - // @ts-ignore - public static BLUE: org.spongepowered.api.boss.BossBarColor; - // @ts-ignore - public static GREEN: org.spongepowered.api.boss.BossBarColor; - // @ts-ignore - public static PINK: org.spongepowered.api.boss.BossBarColor; - // @ts-ignore - public static PURPLE: org.spongepowered.api.boss.BossBarColor; - // @ts-ignore - public static RED: org.spongepowered.api.boss.BossBarColor; - // @ts-ignore - public static WHITE: org.spongepowered.api.boss.BossBarColor; - // @ts-ignore - public static YELLOW: org.spongepowered.api.boss.BossBarColor; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.boss.BossBarOverlay.ts b/packages/sponge/src/typings/org.spongepowered.api.boss.BossBarOverlay.ts deleted file mode 100644 index d63aff08..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.boss.BossBarOverlay.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace boss { - // @ts-ignore - interface BossBarOverlay extends org.spongepowered.api.CatalogType { - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.boss.BossBarOverlays.ts b/packages/sponge/src/typings/org.spongepowered.api.boss.BossBarOverlays.ts deleted file mode 100644 index 46b54f95..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.boss.BossBarOverlays.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace boss { - // @ts-ignore - class BossBarOverlays { - // @ts-ignore - public static NOTCHED_10: org.spongepowered.api.boss.BossBarOverlay; - // @ts-ignore - public static NOTCHED_12: org.spongepowered.api.boss.BossBarOverlay; - // @ts-ignore - public static NOTCHED_20: org.spongepowered.api.boss.BossBarOverlay; - // @ts-ignore - public static NOTCHED_6: org.spongepowered.api.boss.BossBarOverlay; - // @ts-ignore - public static PROGRESS: org.spongepowered.api.boss.BossBarOverlay; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.boss.ServerBossBar.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.boss.ServerBossBar.Builder.ts deleted file mode 100644 index db8b8e31..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.boss.ServerBossBar.Builder.ts +++ /dev/null @@ -1,59 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace boss { - namespace ServerBossBar { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the name of the boss bar. - */ - // @ts-ignore - name(name: org.spongepowered.api.text.Text): org.spongepowered.api.boss.ServerBossBar.Builder; - /** - * Sets the percent. - *

The percent must be between {@code 0.0} and {@code 1.0}.

- */ - // @ts-ignore - percent(percent: number): org.spongepowered.api.boss.ServerBossBar.Builder; - /** - * Sets the color. - */ - // @ts-ignore - color(color: org.spongepowered.api.boss.BossBarColor): org.spongepowered.api.boss.ServerBossBar.Builder; - /** - * Sets the overlay. - */ - // @ts-ignore - overlay(overlay: org.spongepowered.api.boss.BossBarOverlay): org.spongepowered.api.boss.ServerBossBar.Builder; - /** - * Sets if the sky should darken. - */ - // @ts-ignore - darkenSky(darkenSky: boolean): org.spongepowered.api.boss.ServerBossBar.Builder; - /** - * Sets if the end boss music should be played. - */ - // @ts-ignore - playEndBossMusic(playEndBossMusic: boolean): org.spongepowered.api.boss.ServerBossBar.Builder; - /** - * Sets if fog should be created. - */ - // @ts-ignore - createFog(createFog: boolean): org.spongepowered.api.boss.ServerBossBar.Builder; - /** - * Sets if the boss bar is visible. - */ - // @ts-ignore - visible(visible: boolean): org.spongepowered.api.boss.ServerBossBar.Builder; - /** - * Build the boss bar from the values in this builder. - */ - // @ts-ignore - build(): org.spongepowered.api.boss.ServerBossBar; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.boss.ServerBossBar.ts b/packages/sponge/src/typings/org.spongepowered.api.boss.ServerBossBar.ts deleted file mode 100644 index 70391007..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.boss.ServerBossBar.ts +++ /dev/null @@ -1,65 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace boss { - // @ts-ignore - interface ServerBossBar extends org.spongepowered.api.boss.BossBar { - /** - * Creates a new {@link Builder} to create {@link ServerBossBar}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.boss.ServerBossBar.Builder; - // @ts-ignore - setName(name: org.spongepowered.api.text.Text): org.spongepowered.api.boss.ServerBossBar; - // @ts-ignore - setPercent(percent: number): org.spongepowered.api.boss.ServerBossBar; - // @ts-ignore - setColor(color: org.spongepowered.api.boss.BossBarColor): org.spongepowered.api.boss.ServerBossBar; - // @ts-ignore - setOverlay(overlay: org.spongepowered.api.boss.BossBarOverlay): org.spongepowered.api.boss.ServerBossBar; - // @ts-ignore - setDarkenSky(darkenSky: boolean): org.spongepowered.api.boss.ServerBossBar; - // @ts-ignore - setPlayEndBossMusic(playEndBossMusic: boolean): org.spongepowered.api.boss.ServerBossBar; - // @ts-ignore - setCreateFog(createFog: boolean): org.spongepowered.api.boss.ServerBossBar; - /** - * If this boss bar is visible. - */ - // @ts-ignore - isVisible(): boolean; - /** - * Sets if this boss bar is visible. - */ - // @ts-ignore - setVisible(visible: boolean): org.spongepowered.api.boss.ServerBossBar; - /** - * Gets a collection of all players on this boss bar. - */ - // @ts-ignore - getPlayers(): any[] /*java.util.Collection*/; - /** - * Adds a player to this boss bar. - */ - // @ts-ignore - addPlayer(player: org.spongepowered.api.entity.living.player.Player): org.spongepowered.api.boss.ServerBossBar; - /** - * Adds a collection of players to this boss bar. - */ - // @ts-ignore - addPlayers(players: any[] /*java.util.Collection*/): org.spongepowered.api.boss.ServerBossBar; - /** - * Removes a player from this boss bar. - */ - // @ts-ignore - removePlayer(player: org.spongepowered.api.entity.living.player.Player): org.spongepowered.api.boss.ServerBossBar; - /** - * Removes a collection of players from this boss bar. - */ - // @ts-ignore - removePlayers(players: any[] /*java.util.Collection*/): org.spongepowered.api.boss.ServerBossBar; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.CommandCallable.ts b/packages/sponge/src/typings/org.spongepowered.api.command.CommandCallable.ts deleted file mode 100644 index 32ce498d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.CommandCallable.ts +++ /dev/null @@ -1,59 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - // @ts-ignore - interface CommandCallable { - /** - * Execute the command based on input arguments. - *

The implementing class must perform the necessary permission - * checks.

- */ - // @ts-ignore - process(source: org.spongepowered.api.command.CommandSource, arguments: string): org.spongepowered.api.command.CommandResult; - /** - * Gets a list of suggestions based on input. - *

If a suggestion is chosen by the user, it will replace the last - * word.

- */ - // @ts-ignore - getSuggestions(source: org.spongepowered.api.command.CommandSource, arguments: string, targetPosition: org.spongepowered.api.world.Location): any[] /*java.util.List*/; - /** - * Test whether this command can probably be executed by the given source. - *

If implementations are unsure if the command can be executed by - * the source, {@code true} should be returned. Return values of this method - * may be used to determine whether this command is listed in command - * listings.

- */ - // @ts-ignore - testPermission(source: org.spongepowered.api.command.CommandSource): boolean; - /** - * Gets a short one-line description of this command. - *

The help system may display the description in the command list.

- */ - // @ts-ignore - getShortDescription(source: org.spongepowered.api.command.CommandSource): any; - /** - * Gets a longer formatted help message about this command. - *

It is recommended to use the default text color and style. Sections - * with text actions (e.g. hyperlinks) should be underlined.

- *

Multi-line messages can be created by separating the lines with - * {@code \n}.

- *

The help system may display this message when a source requests - * detailed information about a command.

- */ - // @ts-ignore - getHelp(source: org.spongepowered.api.command.CommandSource): any; - /** - * Gets the usage string of this command. - *

A usage string may look like - * {@code [-w <world>] <var1> <var2>}.

- *

The string must not contain the command alias.

- */ - // @ts-ignore - getUsage(source: org.spongepowered.api.command.CommandSource): org.spongepowered.api.text.Text; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.CommandException.ts b/packages/sponge/src/typings/org.spongepowered.api.command.CommandException.ts deleted file mode 100644 index 4912d9c0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.CommandException.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - // @ts-ignore - class CommandException extends org.spongepowered.api.util.TextMessageException { - /** - * Constructs a new {@link CommandException} with the given message. - */ - constructor(message: org.spongepowered.api.text.Text) - /** - * Constructs a new {@link CommandException} with the given message and - * the given cause. - */ - constructor(message: org.spongepowered.api.text.Text, cause: any) - /** - * Constructs a new {@link CommandException} with the given message. - */ - constructor(message: org.spongepowered.api.text.Text, includeUsage: boolean) - /** - * Constructs a new {@link CommandException} with the given message and - * the given cause. - */ - constructor(message: org.spongepowered.api.text.Text, cause: any, includeUsage: boolean) - /** - * Gets whether the exception should include usage in - * the presentation of the exception/stack-trace. - */ - // @ts-ignore - public shouldIncludeUsage(): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.CommandManager.ts b/packages/sponge/src/typings/org.spongepowered.api.command.CommandManager.ts deleted file mode 100644 index 3615c805..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.CommandManager.ts +++ /dev/null @@ -1,86 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - // @ts-ignore - interface CommandManager extends org.spongepowered.api.command.dispatcher.Dispatcher { - /** - * Register a given command using the given list of aliases. - *

If there is a conflict with one of the aliases (i.e. that alias - * is already assigned to another command), then the alias will be skipped. - * It is possible for there to be no alias to be available out of - * the provided list of aliases, which would mean that the command would not - * be assigned to any aliases.

- *

The first non-conflicted alias becomes the "primary alias."

- */ - // @ts-ignore - register(plugin: any, callable: org.spongepowered.api.command.CommandCallable, alias: string): any; - /** - * Register a given command using the given list of aliases. - *

If there is a conflict with one of the aliases (i.e. that alias - * is already assigned to another command), then the alias will be skipped. - * It is possible for there to be no alias to be available out of - * the provided list of aliases, which would mean that the command would - * not be assigned to any aliases.

- *

The first non-conflicted alias becomes the "primary alias."

- */ - // @ts-ignore - register(plugin: any, callable: org.spongepowered.api.command.CommandCallable, aliases: any[] /*java.util.List*/): any; - /** - * Register a given command using a given list of aliases. - *

The provided callback function will be called with a list of aliases - * that are not taken (from the list of aliases that were requested) and - * it should return a list of aliases to actually register. Aliases may be - * removed, and if no aliases remain, then the command will not be - * registered. It may be possible that no aliases are available, and thus - * the callback would receive an empty list. New aliases should not be added - * to the list in the callback as this may cause - * {@link IllegalArgumentException} to be thrown.

- *

The first non-conflicted alias becomes the "primary alias."

- */ - // @ts-ignore - register(plugin: any, callable: org.spongepowered.api.command.CommandCallable, aliases: any[] /*java.util.List*/, callback: any): any; - /** - * Remove a command identified by the given mapping. - */ - // @ts-ignore - removeMapping(mapping: org.spongepowered.api.command.CommandMapping): any; - /** - * Gets a set of plugin containers that have commands registered. - */ - // @ts-ignore - getPluginContainers(): any[] /*java.util.Set*/; - /** - * Gets a set of commands owned by the given plugin instance. - */ - // @ts-ignore - getOwnedBy(instance: any): any[] /*java.util.Set*/; - /** - * Gets the owner of a CommandMapping, if any is present. - */ - // @ts-ignore - getOwner(mapping: org.spongepowered.api.command.CommandMapping): any; - /** - * Gets the number of registered aliases. - */ - // @ts-ignore - size(): number; - /** - * Execute the command based on input arguments. - *

The implementing class must perform the necessary permission - * checks.

- */ - // @ts-ignore - process(source: org.spongepowered.api.command.CommandSource, arguments: string): org.spongepowered.api.command.CommandResult; - /** - * Gets a list of suggestions based on input. - *

If a suggestion is chosen by the user, it will replace the last - * word.

- */ - // @ts-ignore - getSuggestions(source: org.spongepowered.api.command.CommandSource, arguments: string, targetPosition: org.spongepowered.api.world.Location): any[] /*java.util.List*/; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.CommandMapping.ts b/packages/sponge/src/typings/org.spongepowered.api.command.CommandMapping.ts deleted file mode 100644 index f65ee6e5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.CommandMapping.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - // @ts-ignore - interface CommandMapping { - /** - * Gets the primary alias. - */ - // @ts-ignore - getPrimaryAlias(): string; - /** - * Gets an immutable list of all aliases. - *

The returned list must contain at least one entry, of which one must - * be the one returned by {@link #getPrimaryAlias()}.

- *

There may be several versions of the same alias with different - * casing, although generally implementations should ignore the casing - * of aliases.

- */ - // @ts-ignore - getAllAliases(): any[] /*java.util.Set*/; - /** - * Gets the callable. - */ - // @ts-ignore - getCallable(): org.spongepowered.api.command.CommandCallable; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.CommandMessageFormatting.ts b/packages/sponge/src/typings/org.spongepowered.api.command.CommandMessageFormatting.ts deleted file mode 100644 index 1630d545..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.CommandMessageFormatting.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - // @ts-ignore - class CommandMessageFormatting { - // @ts-ignore - public static PIPE_TEXT: org.spongepowered.api.text.Text; - // @ts-ignore - public static SPACE_TEXT: org.spongepowered.api.text.Text; - // @ts-ignore - public static STAR_TEXT: org.spongepowered.api.text.Text; - // @ts-ignore - public static LT_TEXT: org.spongepowered.api.text.Text; - // @ts-ignore - public static GT_TEXT: org.spongepowered.api.text.Text; - // @ts-ignore - public static ELLIPSIS_TEXT: org.spongepowered.api.text.Text; - /** - * Format text to be output as an error directly to a sender. Not necessary - * when creating an exception to be thrown - */ - // @ts-ignore - public static error(error: org.spongepowered.api.text.Text): org.spongepowered.api.text.Text; - /** - * Format text to be output as a debug message directly to a sender. - */ - // @ts-ignore - public static debug(debug: org.spongepowered.api.text.Text): org.spongepowered.api.text.Text; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.CommandNotFoundException.ts b/packages/sponge/src/typings/org.spongepowered.api.command.CommandNotFoundException.ts deleted file mode 100644 index a77723e9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.CommandNotFoundException.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - // @ts-ignore - class CommandNotFoundException extends org.spongepowered.api.command.CommandException { - /** - * Create an exception with the default message. - */ - constructor(command: string) - /** - * Create an exception with a custom message. - */ - constructor(message: org.spongepowered.api.text.Text, command: string) - /** - * Returns the command that was queried for. - */ - // @ts-ignore - public getCommand(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.CommandPermissionException.ts b/packages/sponge/src/typings/org.spongepowered.api.command.CommandPermissionException.ts deleted file mode 100644 index 5af52ccc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.CommandPermissionException.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - // @ts-ignore - class CommandPermissionException extends org.spongepowered.api.command.CommandException { - /** - * Create an exception with the default message. - */ - constructor() - /** - * Create a permissions exception with a custom message. - */ - constructor(message: org.spongepowered.api.text.Text) - /** - * Create a permissions exception with a custom message and cause. - */ - constructor(message: org.spongepowered.api.text.Text, cause: any) - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.CommandResult.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.command.CommandResult.Builder.ts deleted file mode 100644 index 48345dbe..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.CommandResult.Builder.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace CommandResult { - // @ts-ignore - class Builder { - /** - * Sets if the command has been processed. - */ - // @ts-ignore - public successCount(successCount: any): org.spongepowered.api.command.CommandResult.Builder; - /** - * Sets the amount of blocks affected by the command. - */ - // @ts-ignore - public affectedBlocks(affectedBlocks: any): org.spongepowered.api.command.CommandResult.Builder; - /** - * Sets the amount of entities affected by the command. - */ - // @ts-ignore - public affectedEntities(affectedEntities: any): org.spongepowered.api.command.CommandResult.Builder; - /** - * Sets the amount of items affected by the command. - */ - // @ts-ignore - public affectedItems(affectedItems: any): org.spongepowered.api.command.CommandResult.Builder; - /** - * Sets the query result of the command, e.g. the time of the day, - * an amount of money or a player's amount of XP. - */ - // @ts-ignore - public queryResult(queryResult: any): org.spongepowered.api.command.CommandResult.Builder; - /** - * Builds the {@link CommandResult}. - */ - // @ts-ignore - public build(): org.spongepowered.api.command.CommandResult; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.CommandResult.ts b/packages/sponge/src/typings/org.spongepowered.api.command.CommandResult.ts deleted file mode 100644 index 0a6f2721..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.CommandResult.ts +++ /dev/null @@ -1,84 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - // @ts-ignore - class CommandResult { - /** - * Returns a {@link Builder}. - */ - // @ts-ignore - public static builder(): org.spongepowered.api.command.CommandResult.Builder; - /** - * Returns a new {@link CommandResult} indicating that a command was - * processed. - */ - // @ts-ignore - public static empty(): org.spongepowered.api.command.CommandResult; - /** - * Returns a result indicating the command was processed with a single - * success. - */ - // @ts-ignore - public static success(): org.spongepowered.api.command.CommandResult; - /** - * Returns a result indicating the command was processed with a single - * success. - */ - // @ts-ignore - public static successCount(count: number): org.spongepowered.api.command.CommandResult; - /** - * Returns a result indicating the command was processed with an - * amount of affected blocks. - */ - // @ts-ignore - public static affectedBlocks(count: number): org.spongepowered.api.command.CommandResult; - /** - * Returns a result indicating the command was processed with an - * amount of affected entities. - */ - // @ts-ignore - public static affectedEntities(count: number): org.spongepowered.api.command.CommandResult; - /** - * Returns a result indicating the command was processed with an - * amount of affected items. - */ - // @ts-ignore - public static affectedItems(count: number): org.spongepowered.api.command.CommandResult; - /** - * Returns a result indicating the command was processed with an - * amount of queries. - */ - // @ts-ignore - public static queryResult(count: number): org.spongepowered.api.command.CommandResult; - /** - * Gets the success count of the command. - */ - // @ts-ignore - public getSuccessCount(): any; - /** - * Gets the number of blocks affected by the command. - */ - // @ts-ignore - public getAffectedBlocks(): any; - /** - * Gets the number of entities affected by the command. - */ - // @ts-ignore - public getAffectedEntities(): any; - /** - * Gets the number of items affected by the command. - */ - // @ts-ignore - public getAffectedItems(): any; - /** - * Gets the query result of the command, e.g. the time of the day, - * an amount of money or a player's amount of XP. - */ - // @ts-ignore - public getQueryResult(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.CommandSource.ts b/packages/sponge/src/typings/org.spongepowered.api.command.CommandSource.ts deleted file mode 100644 index c5c1a635..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.CommandSource.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - // @ts-ignore - interface CommandSource extends org.spongepowered.api.text.channel.MessageReceiver, org.spongepowered.api.service.permission.Subject { - /** - * Gets the name identifying this command source. - */ - // @ts-ignore - getName(): string; - /** - * Gets the locale used by this command source. If this - * {@link CommandSource} does have a {@link Locale} configured or does not - * support configuring a {@link Locale}, {@link Locales#DEFAULT} is used. - */ - // @ts-ignore - getLocale(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.ImmutableCommandMapping.ts b/packages/sponge/src/typings/org.spongepowered.api.command.ImmutableCommandMapping.ts deleted file mode 100644 index 543a902a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.ImmutableCommandMapping.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - // @ts-ignore - class ImmutableCommandMapping implements org.spongepowered.api.command.CommandMapping { - /** - * Create a new instance. - */ - constructor(callable: org.spongepowered.api.command.CommandCallable, primary: string, alias: string) - /** - * Create a new instance. - */ - constructor(callable: org.spongepowered.api.command.CommandCallable, primary: string, aliases: any[] /*java.util.Collection*/) - // @ts-ignore - public getPrimaryAlias(): string; - // @ts-ignore - public getAllAliases(): any[] /*java.util.Set*/; - // @ts-ignore - public getCallable(): org.spongepowered.api.command.CommandCallable; - // @ts-ignore - public toString(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.InvocationCommandException.ts b/packages/sponge/src/typings/org.spongepowered.api.command.InvocationCommandException.ts deleted file mode 100644 index 3b9ac9a0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.InvocationCommandException.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - // @ts-ignore - class InvocationCommandException extends org.spongepowered.api.command.CommandException { - /** - * Constructs a new exception with the given message and the given cause. - */ - constructor(message: org.spongepowered.api.text.Text, cause: any) - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.ArgumentParseException.WithUsage.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.ArgumentParseException.WithUsage.ts deleted file mode 100644 index 7c99bcf1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.ArgumentParseException.WithUsage.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - namespace ArgumentParseException { - // @ts-ignore - class WithUsage extends org.spongepowered.api.command.args.ArgumentParseException { - constructor(wrapped: org.spongepowered.api.command.args.ArgumentParseException, usage: org.spongepowered.api.text.Text) - /** - * Gets the usage associated with this exception. - */ - // @ts-ignore - public getUsage(): org.spongepowered.api.text.Text; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.ArgumentParseException.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.ArgumentParseException.ts deleted file mode 100644 index 19b02409..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.ArgumentParseException.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - // @ts-ignore - class ArgumentParseException extends org.spongepowered.api.command.CommandException { - /** - * Return a new {@link ArgumentParseException} with the given message, source and position. - */ - constructor(message: org.spongepowered.api.text.Text, source: string, position: number) - /** - * Return a new {@link ArgumentParseException} with the given message, cause, source and position. - */ - constructor(message: org.spongepowered.api.text.Text, cause: any, source: string, position: number) - // @ts-ignore - public getText(): org.spongepowered.api.text.Text; - /** - * Return a string pointing to the position of the arguments when this - * exception occurs. - */ - // @ts-ignore - public getAnnotatedPosition(): string; - /** - * Gets the position of the last fetched argument in the provided source - * string. - */ - // @ts-ignore - public getPosition(): number; - /** - * Returns the source string arguments are being parsed from. - */ - // @ts-ignore - public getSourceString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.ChildCommandElementExecutor.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.ChildCommandElementExecutor.ts deleted file mode 100644 index d5e02d67..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.ChildCommandElementExecutor.ts +++ /dev/null @@ -1,43 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - // @ts-ignore - class ChildCommandElementExecutor extends org.spongepowered.api.command.args.CommandElement implements org.spongepowered.api.command.spec.CommandExecutor { - /** - * Create a new combined argument element and executor to handle the - * parsing and execution of child commands. - */ - constructor(fallbackExecutor: org.spongepowered.api.command.spec.CommandExecutor) - /** - * Create a new combined argument element and executor to handle the - * parsing and execution of child commands. - */ - constructor(fallbackExecutor: org.spongepowered.api.command.spec.CommandExecutor, fallbackElements: org.spongepowered.api.command.args.CommandElement, fallbackOnFail: boolean) - /** - * Register a child command for a given set of aliases. - */ - // @ts-ignore - public register(callable: org.spongepowered.api.command.CommandCallable, aliases: any[] /*java.util.List*/): any; - /** - * Register a child command for a given set of aliases. - */ - // @ts-ignore - public register(callable: org.spongepowered.api.command.CommandCallable, aliases: string): any; - // @ts-ignore - public complete(src: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs, context: org.spongepowered.api.command.args.CommandContext): any[] /*java.util.List*/; - // @ts-ignore - public parse(source: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs, context: org.spongepowered.api.command.args.CommandContext): void; - // @ts-ignore - protected parseValue(source: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs): any; - // @ts-ignore - public execute(src: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandContext): org.spongepowered.api.command.CommandResult; - // @ts-ignore - public getUsage(src: org.spongepowered.api.command.CommandSource): org.spongepowered.api.text.Text; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandArgs.Snapshot.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandArgs.Snapshot.ts deleted file mode 100644 index c47e2f01..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandArgs.Snapshot.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - namespace CommandArgs { - // @ts-ignore - class Snapshot { - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandArgs.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandArgs.ts deleted file mode 100644 index d3e58e91..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandArgs.ts +++ /dev/null @@ -1,116 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - // @ts-ignore - class CommandArgs { - /** - * Create a new CommandArgs instance with the given raw input and arguments. - */ - constructor(rawInput: string, args: any[] /*java.util.List*/) - /** - * Return whether more arguments remain to be read. - */ - // @ts-ignore - public hasNext(): boolean; - /** - * Try to read the next argument without advancing the current index. - */ - // @ts-ignore - public peek(): string; - /** - * Try to read the next argument, advancing the current index if successful. - */ - // @ts-ignore - public next(): string; - /** - * Try to read the next argument, advancing the current index if successful - * or returning an absent optional if not. - */ - // @ts-ignore - public nextIfPresent(): any; - /** - * Create a parse exception with the provided message which has the position - * of the last parsed argument attached. The returned exception must be - * thrown at the target - */ - // @ts-ignore - public createError(message: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.ArgumentParseException; - /** - * Gets a list of all arguments as a string. The returned list is immutable. - */ - // @ts-ignore - public getAll(): any[] /*java.util.List*/; - /** - * Return this arguments object's current state. Can be used to reset with - * the {@link #setState(Object)} method. - */ - // @ts-ignore - public getState(): any; - /** - * Restore the arguments object's state to a state previously used. - */ - // @ts-ignore - public setState(state: any): void; - /** - * Return the raw string used to provide input to this arguments object. - */ - // @ts-ignore - public getRaw(): string; - /** - * Get an arg at the specified position. - */ - // @ts-ignore - public get(index: number): string; - /** - * Insert an arg as the next arg to be returned by {@link #next()}. - */ - // @ts-ignore - public insertArg(value: string): void; - /** - * Remove the arguments parsed between startState and endState. - */ - // @ts-ignore - public removeArgs(startState: any, endState: any): void; - /** - * Remove the arguments parsed between two snapshots. - */ - // @ts-ignore - public removeArgs(startSnapshot: org.spongepowered.api.command.args.CommandArgs.Snapshot, endSnapshot: org.spongepowered.api.command.args.CommandArgs.Snapshot): void; - /** - * Returns the number of arguments - */ - // @ts-ignore - public size(): number; - /** - * Gets the current position in raw input. - */ - // @ts-ignore - public getRawPosition(): number; - /** - * Gets a snapshot of the data inside this context to allow it to be - * restored later. - */ - // @ts-ignore - public getSnapshot(): org.spongepowered.api.command.args.CommandArgs.Snapshot; - /** - * Resets a {@link CommandArgs} to a previous state using a previously - * created {@link CommandArgs.Snapshot}. - */ - // @ts-ignore - public applySnapshot(snapshot: org.spongepowered.api.command.args.CommandArgs.Snapshot): void; - /** - * Resets a {@link CommandArgs} to a previous state using a previously - * created {@link CommandArgs.Snapshot}. - *

If resetArgs is set to false, this snapshot will not reset the - * argument list to its previous state, only the index.

- */ - // @ts-ignore - public applySnapshot(snapshot: org.spongepowered.api.command.args.CommandArgs.Snapshot, resetArgs: boolean): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandContext.Snapshot.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandContext.Snapshot.ts deleted file mode 100644 index 63264eae..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandContext.Snapshot.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - namespace CommandContext { - // @ts-ignore - class Snapshot { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandContext.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandContext.ts deleted file mode 100644 index 40032f48..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandContext.ts +++ /dev/null @@ -1,103 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - // @ts-ignore - class CommandContext { - /** - * Create a new empty CommandContext. - */ - constructor() - // @ts-ignore - public static TARGET_BLOCK_ARG: string; - // @ts-ignore - public static TAB_COMPLETION: string; - /** - * Gets all values for the given argument. May return an empty list if no - * values are present. - */ - // @ts-ignore - public getAll(key: string): any[] /*java.util.Collection*/; - /** - * Gets all values for the given argument. May return an empty list if no - * values are present. - */ - // @ts-ignore - public getAll(key: org.spongepowered.api.text.Text): any[] /*java.util.Collection*/; - /** - * Gets the value for the given key if the key has only one value. - *

An empty {@link Optional} indicates that there are either zero or more - * than one values for the given key. Use {@link #hasAny(Text)} to verify - * which.

- */ - // @ts-ignore - public getOne(key: string): any; - /** - * Gets the value for the given key if the key has only one value. - *

An empty {@link Optional} indicates that there are either zero or more - * than one values for the given key. Use {@link #hasAny(Text)} to verify - * which.

- */ - // @ts-ignore - public getOne(key: org.spongepowered.api.text.Text): any; - /** - * Gets the value for the given key if the key has only one value, throws an - * exception otherwise. - */ - // @ts-ignore - public requireOne(key: string): any; - /** - * Gets the value for the given key if the key has only one value, throws an - * exception otherwise. - */ - // @ts-ignore - public requireOne(key: org.spongepowered.api.text.Text): any; - /** - * Insert an argument into this context. - */ - // @ts-ignore - public putArg(key: string, value: any): void; - /** - * Insert an argument into this context. - */ - // @ts-ignore - public putArg(key: org.spongepowered.api.text.Text, value: any): void; - /** - * Perform a permissions check, throwing an exception if the required - * permissions are not present. - */ - // @ts-ignore - public checkPermission(commander: org.spongepowered.api.command.CommandSource, permission: string): void; - /** - * Returns whether this context has any value for the given argument key. - */ - // @ts-ignore - public hasAny(key: string): boolean; - /** - * Returns whether this context has any value for the given argument key. - */ - // @ts-ignore - public hasAny(key: org.spongepowered.api.text.Text): boolean; - /** - * Gets a snapshot of the data inside this context to allow it to be - * restored later. - *

This is only guaranteed to create a shallow copy of the - * backing store. If any value is mutable, any changes to that value - * will be reflected in this snapshot. It is therefore not recommended - * that you keep this snapshot around for longer than is necessary.

- */ - // @ts-ignore - public createSnapshot(): org.spongepowered.api.command.args.CommandContext.Snapshot; - /** - * Resets a {@link CommandContext} to a previous state using a previously - * created {@link Snapshot}. - */ - // @ts-ignore - public applySnapshot(snapshot: org.spongepowered.api.command.args.CommandContext.Snapshot): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandElement.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandElement.ts deleted file mode 100644 index d90a5857..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandElement.ts +++ /dev/null @@ -1,55 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - // @ts-ignore - abstract class CommandElement { - constructor(key: org.spongepowered.api.text.Text) - /** - * Return the key to be used for this object. - */ - // @ts-ignore - public getKey(): org.spongepowered.api.text.Text; - /** - * Return the plain key, to be used when looking up this command element in - * a {@link CommandContext}. If the key is a {@link TranslatableText}, this - * is the translation's id. Otherwise, this is the result of - * {@link Text#toPlain()}. - */ - // @ts-ignore - public getUntranslatedKey(): string; - /** - * Attempt to extract a value for this element from the given arguments and - * put it in the given context. This method normally delegates to - * {@link #parseValue(CommandSource, CommandArgs)} for getting the values. - * This method is expected to have no side-effects for the source, meaning - * that executing it will not change the state of the {@link CommandSource} - * in any way. - */ - // @ts-ignore - public parse(source: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs, context: org.spongepowered.api.command.args.CommandContext): void; - /** - * Attempt to extract a value for this element from the given arguments. - * This method is expected to have no side-effects for the source, meaning - * that executing it will not change the state of the {@link CommandSource} - * in any way. - */ - // @ts-ignore - protected abstract parseValue(source: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs): any; - /** - * Fetch completions for command arguments. - */ - // @ts-ignore - public abstract complete(src: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs, context: org.spongepowered.api.command.args.CommandContext): any[] /*java.util.List*/; - /** - * Return a usage message for this specific argument. - */ - // @ts-ignore - public getUsage(src: org.spongepowered.api.command.CommandSource): org.spongepowered.api.text.Text; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandFlags.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandFlags.Builder.ts deleted file mode 100644 index 002878a7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandFlags.Builder.ts +++ /dev/null @@ -1,85 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - namespace CommandFlags { - // @ts-ignore - class Builder { - /** - * Allow a flag with any of the provided specifications that has no - * value. This flag will be exposed in a {@link CommandContext} under - * the key equivalent to the first flag in the specification array. - * The specifications are handled as so for each element in the - * {@code specs} array: - *
    - *
  • If the element starts with -, the remainder of the element - * is interpreted as a long flag (so, "-flag" means "--flag" will - * be matched in an argument string)
  • - *
  • Otherwise, each code point of the element is interpreted - * as a short flag (meaning "flag" will cause "-f", "-l", "-a" and - * "-g" to be matched in an argument string, storing "true" under - * the key "f".)
  • - *
- */ - // @ts-ignore - public flag(specs: string): org.spongepowered.api.command.args.CommandFlags.Builder; - /** - * Allow a flag with any of the provided specifications that has no - * value but requires the source to have a specific permission to - * specify the command. - */ - // @ts-ignore - public permissionFlag(flagPermission: string, specs: string): org.spongepowered.api.command.args.CommandFlags.Builder; - /** - * Allow a flag with any of the provided specifications, with the given - * command element. The flag may be present multiple times, and may - * therefore have multiple values. - */ - // @ts-ignore - public valueFlag(value: org.spongepowered.api.command.args.CommandElement, specs: string): org.spongepowered.api.command.args.CommandFlags.Builder; - /** - * If this is true, any long flag (--) will be accepted and added as a - * flag. If false, unknown long flags are considered errors. - */ - // @ts-ignore - public setAcceptsArbitraryLongFlags(acceptsArbitraryLongFlags: boolean): org.spongepowered.api.command.args.CommandFlags.Builder; - /** - * Sets how long flags that are not registered should be handled when - * encountered. - */ - // @ts-ignore - public setUnknownLongFlagBehavior(behavior: org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior): org.spongepowered.api.command.args.CommandFlags.Builder; - /** - * Sets how long flags that are not registered should be handled when - * encountered. - *

If a command that supports flags accepts negative numbers (or - * arguments that may begin with a dash), setting this to - * {@link UnknownFlagBehavior#IGNORE} will cause these elements to - * be ignored by the flag parser and will be parsed by the command's - * non-flag elements instead.

- */ - // @ts-ignore - public setUnknownShortFlagBehavior(behavior: org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior): org.spongepowered.api.command.args.CommandFlags.Builder; - /** - * Whether flags should be anchored to the beginning of the text (so - * flags will only be picked up if they are at the beginning of the - * input). - */ - // @ts-ignore - public setAnchorFlags(anchorFlags: boolean): org.spongepowered.api.command.args.CommandFlags.Builder; - /** - * Build a flag command element using the given command element to - * handle all non-flag arguments. - *

If you wish to add multiple elements here, wrap them in - * {@link GenericArguments#seq(CommandElement...)}

- */ - // @ts-ignore - public buildWith(wrapped: org.spongepowered.api.command.args.CommandElement): org.spongepowered.api.command.args.CommandElement; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior.ts deleted file mode 100644 index e13a66df..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - namespace CommandFlags { - // @ts-ignore - class UnknownFlagBehavior { - // @ts-ignore - public static ERROR: org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior; - // @ts-ignore - public static ACCEPT_NONVALUE: org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior; - // @ts-ignore - public static ACCEPT_VALUE: org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior; - // @ts-ignore - public static IGNORE: org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior; - // @ts-ignore - public static values(): org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandFlags.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandFlags.ts deleted file mode 100644 index 847105f8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.CommandFlags.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - // @ts-ignore - class CommandFlags extends org.spongepowered.api.command.args.CommandElement { - constructor(childElement: org.spongepowered.api.command.args.CommandElement, usageFlags: Map /*java.util.Map*/, shortFlags: Map /*java.util.Map*/, longFlags: Map /*java.util.Map*/, unknownShortFlagBehavior: org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior, unknownLongFlagBehavior: org.spongepowered.api.command.args.CommandFlags.UnknownFlagBehavior, anchorFlags: boolean) - // @ts-ignore - public parse(source: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs, context: org.spongepowered.api.command.args.CommandContext): void; - // @ts-ignore - public getUsage(src: org.spongepowered.api.command.CommandSource): org.spongepowered.api.text.Text; - // @ts-ignore - protected parseValue(source: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs): any; - // @ts-ignore - public complete(src: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs, context: org.spongepowered.api.command.args.CommandContext): any[] /*java.util.List*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.GenericArguments.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.GenericArguments.ts deleted file mode 100644 index 61b1e9d8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.GenericArguments.ts +++ /dev/null @@ -1,632 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - // @ts-ignore - class GenericArguments { - /** - * Expects no arguments, returns no values. - */ - // @ts-ignore - public static none(): org.spongepowered.api.command.args.CommandElement; - /** - * Expects no arguments. Adds 'true' to the context when parsed. - *

This will return only one value.

- */ - // @ts-ignore - public static markTrue(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent online players, or if nothing matches - * and the source is a {@link Player}, give the player. If nothing matches - * and the source is not a player, throw an exception. - *

Gives values of type {@link Player}.

- *

This argument accepts the following inputs:

- *
    - *
  • A player's name
  • - *
  • A regex that matches the beginning of one or more player's names - *
  • - *
  • A selector
  • - *
- *

This may return multiple players. If you must only return one, wrap - * this element in an {@link #onlyOne(CommandElement)} call.

- */ - // @ts-ignore - public static playerOrSource(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent online players. Returns values of type - * {@link Player}. - *

This argument accepts the following inputs:

- *
    - *
  • A player's name
  • - *
  • A regex that matches the beginning of one or more player's names - *
  • - *
  • A selector
  • - *
- *

This may return multiple players. If you must only return one, wrap - * this element in an {@link #onlyOne(CommandElement)} call.

- */ - // @ts-ignore - public static player(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent players who have been online at some - * point, as a {@link User}. - *

This argument accepts the following inputs:

- *
    - *
  • A player's name (offline or online)
  • - *
  • A regex that matches the beginning of one or more player's names - *
  • - *
  • A selector
  • - *
- *

This may return multiple {@link User}s. If you must only return one, - * wrap this element in an {@link #onlyOne(CommandElement)} call.

- *

This may not return the {@link Player} object for an online user. If - * you wish to operate on an associated {@link Player} object if the user is - * online, use {@link User#getPlayer()}.

- */ - // @ts-ignore - public static user(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent players who have been online at some - * point, as a {@link User}, or if nothing matches and the source is a - * {@link User}, give the user. If nothing matches and the source is not - * a {@link User}, throw an exception. - *

This argument accepts the following inputs:

- *
    - *
  • A player's name (offline or online)
  • - *
  • A regex that matches the beginning of one or more player's names - *
  • - *
  • A selector
  • - *
- *

This may return multiple {@link User}s. If you must only return one, - * wrap this element in an {@link #onlyOne(CommandElement)} call.

- *

This may not return the {@link Player} object for an online user. If - * you wish to operate on an associated {@link Player} object if the user is - * online, use {@link User#getPlayer()}.

- */ - // @ts-ignore - public static userOrSource(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent a world. This returns - * {@link WorldProperties} objects rather than an actual {@link World} in - * order to include unloaded worlds. - *

This argument accepts the following inputs:

- *
    - *
  • A world's name
  • - *
  • A regex that matches the beginning of one or more world's names - *
  • - *
- *

This may return multiple {@link WorldProperties}s. If you must only - * return one, wrap this element in an {@link #onlyOne(CommandElement)} - * call.

- */ - // @ts-ignore - public static world(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent a dimension. Returns values of type - * {@link DimensionType}. - *

This argument accepts the following inputs:

- *
    - *
  • A dimension's id
  • - *
  • A regex that matches the beginning of one or more dimension id - *
  • - *
- *

This may return multiple {@link DimensionType}s. If you must only - * return one, wrap this element in an {@link #onlyOne(CommandElement)} - * call.

- */ - // @ts-ignore - public static dimension(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent a {@link Vector3d}. - *

This will return one value.

- */ - // @ts-ignore - public static vector3d(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent a {@link Location}. - *

This will return one value.

- */ - // @ts-ignore - public static location(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument that is a member of the specified {@link CatalogType} - * T. - *

This argument accepts the following inputs:

- *
    - *
  • The value's {@link CatalogType#getId()}
  • - *
  • A regex that matches the beginning of one or more ids
  • - *
- *

This may return multiple instances of T. If you must only return one, - * wrap this element in an {@link #onlyOne(CommandElement)} call.

- */ - // @ts-ignore - public static catalogedElement(key: org.spongepowered.api.text.Text, catalogType: any): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent a {@link PluginContainer}'s id. - *

This argument accepts the following inputs:

- *
    - *
  • The specified {@link PluginContainer}'s id
  • - *
  • A regex that matches the beginning of one or more plugin id
  • - *
- *

This may return multiple {@link PluginContainer}s. If you must only - * return one, wrap this element in an {@link #onlyOne(CommandElement)} - * call.

- */ - // @ts-ignore - public static plugin(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Gets a builder to create a command element that parses flags. - *

There should only be ONE of these in a command element sequence if you - * wish to use flags. A {@link CommandFlags.Builder} can handle multiple - * flags that have different behaviors. Using multiple builders in the same - * sequence may cause unexpected behavior.

- *

Any command elements that are not associated with flags should be - * placed into the {@link CommandFlags.Builder#buildWith(CommandElement)} - * parameter, allowing the flags to be used throughout the argument string. - *

- */ - // @ts-ignore - public static flags(): org.spongepowered.api.command.args.CommandFlags.Builder; - /** - * Consumes a series of arguments. Usage is the elements concatenated - */ - // @ts-ignore - public static seq(elements: org.spongepowered.api.command.args.CommandElement): org.spongepowered.api.command.args.CommandElement; - /** - * Return an argument that allows selecting from a limited set of values. - *

If there are 5 or fewer choices available, the choices will be shown - * in the command usage. Otherwise, the usage will only display only the - * key.

- *

Choices are case sensitive. If you do not require - * case sensitivity, see {@link #choicesInsensitive(Text, Map)}.

- *

To override this behavior, see - * {@link #choices(Text, Map, boolean, boolean)}.

- *

When parsing, only one choice may be selected, returning its - * associated value.

- */ - // @ts-ignore - public static choices(key: org.spongepowered.api.text.Text, choices: Map /*java.util.Map*/): org.spongepowered.api.command.args.CommandElement; - /** - * Return an argument that allows selecting from a limited set of values. - *

If there are 5 or fewer choices available, the choices will be shown - * in the command usage. Otherwise, the usage will only display only the - * key.

- *

Choices are not case sensitive. If you require - * case sensitivity, see {@link #choices(Text, Map)}

- *

To override this behavior, see - * {@link #choices(Text, Map, boolean, boolean)}.

- *

When parsing, only one choice may be selected, returning its - * associated value.

- */ - // @ts-ignore - public static choicesInsensitive(key: org.spongepowered.api.text.Text, choices: Map /*java.util.Map*/): org.spongepowered.api.command.args.CommandElement; - /** - * Return an argument that allows selecting from a limited set of values. - *

Unless {@code choicesInUsage} is true, general command usage will only - * display the provided key.

- *

Choices are case sensitive. If you do not require - * case sensitivity, see {@link #choices(Text, Map, boolean, boolean)}

- *

When parsing, only one choice may be selected, returning its - * associated value.

- */ - // @ts-ignore - public static choices(key: org.spongepowered.api.text.Text, choices: Map /*java.util.Map*/, choicesInUsage: boolean): org.spongepowered.api.command.args.CommandElement; - /** - * Return an argument that allows selecting from a limited set of values. - *

Unless {@code choicesInUsage} is true, general command usage will only - * display the provided key.

- *

When parsing, only one choice may be selected, returning its - * associated value.

- */ - // @ts-ignore - public static choices(key: org.spongepowered.api.text.Text, choices: Map /*java.util.Map*/, choicesInUsage: boolean, caseSensitive: boolean): org.spongepowered.api.command.args.CommandElement; - /** - * Return an argument that allows selecting from a limited set of values. - *

If there are 5 or fewer choices available, the choices will be shown - * in the command usage. Otherwise, the usage will only display only the - * key.

- *

To override this behavior, see {@link #choices(Text, Map, boolean)}. - *

- *

Only one choice may be selected, returning its associated value.

- */ - // @ts-ignore - public static choices(key: org.spongepowered.api.text.Text, keys: any, values: any): org.spongepowered.api.command.args.CommandElement; - /** - * Return an argument that allows selecting from a limited set of values. - * Unless {@code choicesInUsage} is true, general command usage will only - * display the provided key. - *

Only one choice may be selected, returning its associated value.

- */ - // @ts-ignore - public static choices(key: org.spongepowered.api.text.Text, keys: any, values: any, choicesInUsage: boolean): org.spongepowered.api.command.args.CommandElement; - /** - * Returns a command element that matches the first of the provided elements - * that parses tab completion matches from all options. - */ - // @ts-ignore - public static firstParsing(elements: org.spongepowered.api.command.args.CommandElement): org.spongepowered.api.command.args.CommandElement; - /** - * Make the provided command element optional. - *

This means the command element is not required. However, if the - * element is provided with invalid format and there are no more args - * specified, any errors will still be passed on.

- */ - // @ts-ignore - public static optional(element: org.spongepowered.api.command.args.CommandElement): org.spongepowered.api.command.args.CommandElement; - /** - * Make the provided command element optional. - *

This means the command element is not required. However, if the - * element is provided with invalid format and there are no more args - * specified, any errors will still be passed on. If the given element's key - * and {@code value} are not null and this element is not provided the - * element's key will be set to the given value.

- */ - // @ts-ignore - public static optional(element: org.spongepowered.api.command.args.CommandElement, value: any): org.spongepowered.api.command.args.CommandElement; - /** - * Make the provided command element optional - * This means the command element is not required. - * If the argument is provided but of invalid format, it will be skipped. - */ - // @ts-ignore - public static optionalWeak(element: org.spongepowered.api.command.args.CommandElement): org.spongepowered.api.command.args.CommandElement; - /** - *

Make the provided command element optional.

- *

This means the command element is not required.

- *
    - *
  • If the argument is provided but of invalid format, it will be - * skipped.
  • - *
  • If the given element's key and {@code value} are not null and - * this element is not provided the element's key will be set to the - * given value.
  • - *
- */ - // @ts-ignore - public static optionalWeak(element: org.spongepowered.api.command.args.CommandElement, value: any): org.spongepowered.api.command.args.CommandElement; - /** - * Require a given command element to be provided a certain number of times. - *

Command values will be stored under their provided keys in the - * CommandContext.

- */ - // @ts-ignore - public static repeated(element: org.spongepowered.api.command.args.CommandElement, times: number): org.spongepowered.api.command.args.CommandElement; - /** - * Require all remaining args to match as many instances of - * {@link CommandElement} as will fit. Command element values will be stored - * under their provided keys in the CommandContext. - */ - // @ts-ignore - public static allOf(element: org.spongepowered.api.command.args.CommandElement): org.spongepowered.api.command.args.CommandElement; - /** - * Require an argument to be a string. Any provided argument will fit in - * under this argument. - *

Gives values of type {@link String}. This will return only one value. - *

- */ - // @ts-ignore - public static string(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Require an argument to be an integer (base 10). - *

Gives values of type {@link Integer}. This will return only one value. - *

- */ - // @ts-ignore - public static integer(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Require an argument to be a long (base 10). - *

Gives values of type {@link Long}. This will return only one value. - *

- */ - // @ts-ignore - public static longNum(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Require an argument to be an double-precision floating point number. - *

Gives values of type {@link Double}. This will return only one value. - *

- */ - // @ts-ignore - public static doubleNum(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Require an argument to be a boolean. - *

The recognized true values are:

- *
    - *
  • true
  • - *
  • t
  • - *
  • yes
  • - *
  • y
  • - *
  • verymuchso
  • - *
- *

The recognized false values are:

- *
    - *
  • false
  • - *
  • f
  • - *
  • no
  • - *
  • n
  • - *
  • notatall
  • - *
- *

Gives values of type {@link Boolean}. This will return only one value. - *

- */ - // @ts-ignore - public static bool(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Require the argument to be a key under the provided enum. - *

Gives values of type T. This will return only one value.

- */ - // @ts-ignore - public static enumValue(key: org.spongepowered.api.text.Text, type: any): org.spongepowered.api.command.args.CommandElement; - /** - * Require one or more strings, which are combined into a single, - * space-separated string. - *

Gives values of type {@link String}. This will return only one value. - *

- */ - // @ts-ignore - public static remainingJoinedStrings(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Require one or more strings, without any processing, which are combined - * into a single, space-separated string. - *

Gives values of type {@link String}. This will return only one value. - *

- */ - // @ts-ignore - public static remainingRawJoinedStrings(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect a literal sequence of arguments. This element matches the input - * against a predefined array of arguments expected to be present, - * case-insensitively. - *

This will return only one value.

- */ - // @ts-ignore - public static literal(key: org.spongepowered.api.text.Text, expectedArgs: string): org.spongepowered.api.command.args.CommandElement; - /** - * Expect a literal sequence of arguments. This element matches the input - * against a predefined array of arguments expected to be present, - * case-insensitively. - *

This will return only one value.

- */ - // @ts-ignore - public static literal(key: org.spongepowered.api.text.Text, putValue: any, expectedArgs: string): org.spongepowered.api.command.args.CommandElement; - /** - * Restricts the given command element to only insert one value into the - * context at the provided key. - *

If more than one value is returned by an element, or the target key - * already contains a value, this will throw an - * {@link ArgumentParseException}

- */ - // @ts-ignore - public static onlyOne(element: org.spongepowered.api.command.args.CommandElement): org.spongepowered.api.command.args.CommandElement; - /** - * Checks a permission for a given command argument to be used. - *

If the element attempts to parse an argument and the user does not - * have the permission, a {@link ArgumentParseException} will be thrown.

- */ - // @ts-ignore - public static requiringPermission(element: org.spongepowered.api.command.args.CommandElement, permission: string): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent an {@link Entity}. - *

This argument accepts the following inputs:

- *
    - *
  • A player's name
  • - *
  • An entity's {@link UUID}
  • - *
  • A regex that matches the beginning of one or more player's names - * or entities UUIDs. - *
  • - *
  • A selector
  • - *
- */ - // @ts-ignore - public static entity(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent an {@link Entity} of the specified type. - *

This argument accepts the following inputs:

- *
    - *
  • A player's name (if appropriate)
  • - *
  • An entity's {@link UUID}
  • - *
  • A regex that matches the beginning of one or more player's names - * or entities UUIDs. - *
  • - *
  • A selector
  • - *
- */ - // @ts-ignore - public static entity(key: org.spongepowered.api.text.Text, clazz: any): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent an {@link Entity} of the specified - * {@link EntityType}. - *

This argument accepts the following inputs:

- *
    - *
  • A player's name (if appropriate)
  • - *
  • An entity's {@link UUID}
  • - *
  • A regex that matches the beginning of one or more player's names - * or entities UUIDs. - *
  • - *
  • A selector
  • - *
- */ - // @ts-ignore - public static entity(key: org.spongepowered.api.text.Text, type: org.spongepowered.api.entity.EntityType): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent an {@link Entity}, or if the argument is - * not present and the {@link CommandSource} is an entity, return the - * source. - *

This argument accepts the following inputs:

- *
    - *
  • A player's name
  • - *
  • An entity's {@link UUID}
  • - *
  • A regex that matches the beginning of one or more player's names - * or entities UUIDs. - *
  • - *
  • A selector
  • - *
- */ - // @ts-ignore - public static entityOrSource(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent an {@link Entity}, or if the argument is - * not present and the {@link CommandSource} is looking at an entity, - * return that entity. - *

This argument accepts the following inputs:

- *
    - *
  • A player's name
  • - *
  • An entity's {@link UUID}
  • - *
  • A regex that matches the beginning of one or more player's names - * or entities UUIDs. - *
  • - *
  • A selector
  • - *
- */ - // @ts-ignore - public static entityOrTarget(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent an {@link Entity} of the specified type, - * or if the argument is not present and the {@link CommandSource} is - * looking at an applicable entity, return that entity. - *

This argument accepts the following inputs:

- *
    - *
  • A player's name (if appropriate)
  • - *
  • An entity's {@link UUID}
  • - *
  • A regex that matches the beginning of one or more player's names - * or entities UUIDs. - *
  • - *
  • A selector
  • - *
- */ - // @ts-ignore - public static entityOrTarget(key: org.spongepowered.api.text.Text, clazz: any): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent an {@link Entity} of the specified - * {@link EntityType}, or if the argument is not present and the - * {@link CommandSource} is looking at an applicable entity, return that - * entity. - *

This argument accepts the following inputs:

- *
    - *
  • A player's name (if appropriate)
  • - *
  • An entity's {@link UUID}
  • - *
  • A regex that matches the beginning of one or more player's names - * or entities UUIDs. - *
  • - *
  • A selector
  • - *
- */ - // @ts-ignore - public static entityOrTarget(key: org.spongepowered.api.text.Text, type: org.spongepowered.api.entity.EntityType): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to represent a {@link URL}. - *

This will return only one value.

- */ - // @ts-ignore - public static url(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to return an IP address, in the form of an - * {@link InetAddress}. - *

This will return only one value.

- */ - // @ts-ignore - public static ip(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to return an IP address, in the form of an - * {@link InetAddress}, or if nothing matches and the source is a - * {@link RemoteSource}, return the source's address. - *

This will return only one value.

- */ - // @ts-ignore - public static ipOrSource(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to return a {@link BigDecimal}. - */ - // @ts-ignore - public static bigDecimal(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to return a {@link BigInteger}. - *

This will return only one value.

- */ - // @ts-ignore - public static bigInteger(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to be a valid {@link DataContainer}. - *

This will return only one value.

- */ - // @ts-ignore - public static dataContainer(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to be a {@link UUID}. - *

This will return only one value.

- */ - // @ts-ignore - public static uuid(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to be valid {@link Text}. - *

This will return only one value.

- */ - // @ts-ignore - public static text(key: org.spongepowered.api.text.Text, serializer: org.spongepowered.api.text.serializer.TextSerializer, allRemaining: boolean): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to be a date-time, in the form of a - * {@link LocalDateTime}. If no date is specified, {@link LocalDate#now()} - * is used; if no time is specified, {@link LocalTime#MIDNIGHT} is used. - *

Date-times are expected in the ISO-8601 format.

- *

This will return only one value.

- */ - // @ts-ignore - public static dateTime(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to be a date-time, in the form of a - * {@link LocalDateTime}. If no date is specified, {@link LocalDate#now()} - * is used; if no time is specified, {@link LocalTime#MIDNIGHT} is used. - *

If no argument at all is specified, defaults to - * {@link LocalDateTime#now()}.

- *

Date-times are expected in the ISO-8601 format.

- *

This will return only one value.

- */ - // @ts-ignore - public static dateTimeOrNow(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Expect an argument to be a {@link Duration}. - *

Durations are expected in the following format: {@code #D#H#M#S}. - * This is not case sensitive.

- *

This will return only one value.

- */ - // @ts-ignore - public static duration(key: org.spongepowered.api.text.Text): org.spongepowered.api.command.args.CommandElement; - /** - * Uses a custom set of suggestions for an argument. The provided - * suggestions will replace the regular ones. - */ - // @ts-ignore - public static withSuggestions(argument: org.spongepowered.api.command.args.CommandElement, suggestions: any): org.spongepowered.api.command.args.CommandElement; - /** - * Uses a custom set of suggestions for an argument. The provided - * suggestions will replace the regular ones. - *

If {@code requireBegin} is false, then the already typed argument - * will not be used to filter the provided suggestions.

- */ - // @ts-ignore - public static withSuggestions(argument: org.spongepowered.api.command.args.CommandElement, suggestions: any, requireBegin: boolean): org.spongepowered.api.command.args.CommandElement; - /** - * Uses a custom set of suggestions for an argument. The provided - * suggestions will replace the regular ones. - */ - // @ts-ignore - public static withSuggestions(argument: org.spongepowered.api.command.args.CommandElement, suggestions: any): org.spongepowered.api.command.args.CommandElement; - /** - * Uses a custom set of suggestions for an argument. The provided - * suggestions will replace the regular ones. - *

If {@code requireBegin} is false, then the already typed argument - * will not be used to filter the provided suggestions.

- */ - // @ts-ignore - public static withSuggestions(argument: org.spongepowered.api.command.args.CommandElement, suggestions: any, requireBegin: boolean): org.spongepowered.api.command.args.CommandElement; - /** - * Filters an argument's suggestions. A suggestion will only be used if it - * matches the predicate. - */ - // @ts-ignore - public static withConstrainedSuggestions(argument: org.spongepowered.api.command.args.CommandElement, predicate: any): org.spongepowered.api.command.args.CommandElement; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.PatternMatchingCommandElement.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.PatternMatchingCommandElement.ts deleted file mode 100644 index 1ebf653b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.PatternMatchingCommandElement.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - // @ts-ignore - abstract class PatternMatchingCommandElement extends org.spongepowered.api.command.args.CommandElement { - constructor(key: org.spongepowered.api.text.Text) - // @ts-ignore - protected parseValue(source: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs): any; - // @ts-ignore - public complete(src: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs, context: org.spongepowered.api.command.args.CommandContext): any[] /*java.util.List*/; - /** - * Tests a string against a set of valid choices to see if it is a - * case-insensitive match. - */ - // @ts-ignore - protected getExactMatch(choices: any, potentialChoice: string): any; - /** - * Gets the available choices for this command source. - */ - // @ts-ignore - protected abstract getChoices(source: org.spongepowered.api.command.CommandSource): any; - /** - * Gets the value for a given choice. For any result in - * {@link #getChoices(CommandSource)}, this must return a non-null value. - * Otherwise, an {@link IllegalArgumentException} may be throw. - */ - // @ts-ignore - protected abstract getValue(choice: string): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.SelectorCommandElement.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.SelectorCommandElement.ts deleted file mode 100644 index b359da5c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.SelectorCommandElement.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - // @ts-ignore - abstract class SelectorCommandElement extends org.spongepowered.api.command.args.PatternMatchingCommandElement { - constructor(key: org.spongepowered.api.text.Text) - // @ts-ignore - protected parseValue(source: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs): any; - // @ts-ignore - public complete(src: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs, context: org.spongepowered.api.command.args.CommandContext): any[] /*java.util.List*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.parsing.InputTokenizer.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.parsing.InputTokenizer.ts deleted file mode 100644 index 7c152c1d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.parsing.InputTokenizer.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - namespace parsing { - // @ts-ignore - interface InputTokenizer { - /** - * Use an input string tokenizer that supports quoted arguments and - * character escapes. - *

Forcing lenient to true makes the following apply:

- *
    - *
  • Unclosed quotations are treated as a single string from the - * opening quotation to the end of the arguments rather than throwing - * an exception
  • - *
- */ - // @ts-ignore - quotedStrings(forceLenient: boolean): org.spongepowered.api.command.args.parsing.InputTokenizer; - /** - * Returns an input tokenizer that takes input strings and splits them by - * space. - */ - // @ts-ignore - spaceSplitString(): org.spongepowered.api.command.args.parsing.InputTokenizer; - /** - * Returns an input tokenizer that returns the input string as a single - * argument. - */ - // @ts-ignore - rawInput(): org.spongepowered.api.command.args.parsing.InputTokenizer; - /** - * Take the input string and split it as appropriate into argument tokens. - */ - // @ts-ignore - tokenize(arguments: string, lenient: boolean): any[] /*java.util.List*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.args.parsing.SingleArg.ts b/packages/sponge/src/typings/org.spongepowered.api.command.args.parsing.SingleArg.ts deleted file mode 100644 index 0d0a7e8a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.args.parsing.SingleArg.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace args { - namespace parsing { - // @ts-ignore - class SingleArg { - /** - * Create a new argument. - */ - constructor(value: string, startIdx: number, endIdx: number) - /** - * Gets the string used. - */ - // @ts-ignore - public getValue(): string; - /** - * Gets the starting index. - */ - // @ts-ignore - public getStartIdx(): number; - /** - * Gets the ending index. - */ - // @ts-ignore - public getEndIdx(): number; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.dispatcher.Disambiguator.ts b/packages/sponge/src/typings/org.spongepowered.api.command.dispatcher.Disambiguator.ts deleted file mode 100644 index 9d17ba0c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.dispatcher.Disambiguator.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace dispatcher { - // @ts-ignore - interface Disambiguator { - /** - * Disambiguate an alias in cases where there are multiple command mappings - * registered for a given alias. - */ - // @ts-ignore - disambiguate(source: org.spongepowered.api.command.CommandSource, aliasUsed: string, availableOptions: any[] /*java.util.List*/): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.dispatcher.Dispatcher.ts b/packages/sponge/src/typings/org.spongepowered.api.command.dispatcher.Dispatcher.ts deleted file mode 100644 index 029ba71b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.dispatcher.Dispatcher.ts +++ /dev/null @@ -1,68 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace dispatcher { - // @ts-ignore - interface Dispatcher extends org.spongepowered.api.command.CommandCallable { - /** - * Gets a list of commands. Each command, regardless of how many aliases it - * may have, will only appear once in the returned set. - *

The returned collection cannot be modified.

- */ - // @ts-ignore - getCommands(): any[] /*java.util.Set*/; - /** - * Gets a list of primary aliases. - *

The returned collection cannot be modified.

- */ - // @ts-ignore - getPrimaryAliases(): any[] /*java.util.Set*/; - /** - * Gets a list of all the command aliases, which includes the primary alias. - *

A command may have more than one alias assigned to it. The returned - * collection cannot be modified.

- */ - // @ts-ignore - getAliases(): any[] /*java.util.Set*/; - /** - * Gets the {@link CommandMapping} associated with an alias. Returns null if - * no command is named by the given alias. - */ - // @ts-ignore - get(alias: string): any; - /** - * Gets the {@link CommandMapping} associated with an alias in the context - * of a given {@link CommandSource}. Returns null if no command is named by - * the given alias. - */ - // @ts-ignore - get(alias: string, source: org.spongepowered.api.command.CommandSource): any; - /** - * Gets all the {@link CommandMapping}s associated with an alias. - */ - // @ts-ignore - getAll(alias: string): any[] /*java.util.Set*/; - /** - * Gets all commands currently registered with this dispatcher. The returned - * value is immutable. - */ - // @ts-ignore - getAll(): any; - /** - * Returns whether the dispatcher contains a registered command for the - * given alias. - */ - // @ts-ignore - containsAlias(alias: string): boolean; - /** - * Returns whether the dispatcher contains the given mapping. - */ - // @ts-ignore - containsMapping(mapping: org.spongepowered.api.command.CommandMapping): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.dispatcher.SimpleDispatcher.ts b/packages/sponge/src/typings/org.spongepowered.api.command.dispatcher.SimpleDispatcher.ts deleted file mode 100644 index 2f1bab6e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.dispatcher.SimpleDispatcher.ts +++ /dev/null @@ -1,114 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace dispatcher { - // @ts-ignore - class SimpleDispatcher implements org.spongepowered.api.command.dispatcher.Dispatcher { - /** - * Creates a basic new dispatcher. - */ - constructor() - /** - * Creates a new dispatcher with a specific disambiguator. - */ - constructor(disambiguatorFunc: org.spongepowered.api.command.dispatcher.Disambiguator) - // @ts-ignore - public static FIRST_DISAMBIGUATOR: org.spongepowered.api.command.dispatcher.Disambiguator; - /** - * Register a given command using the given list of aliases. - *

If there is a conflict with one of the aliases (i.e. that alias - * is already assigned to another command), then the alias will be skipped. - * It is possible for there to be no alias to be available out of - * the provided list of aliases, which would mean that the command would not - * be assigned to any aliases.

- *

The first non-conflicted alias becomes the "primary alias."

- */ - // @ts-ignore - public register(callable: org.spongepowered.api.command.CommandCallable, alias: string): any; - /** - * Register a given command using the given list of aliases. - *

If there is a conflict with one of the aliases (i.e. that alias - * is already assigned to another command), then the alias will be skipped. - * It is possible for there to be no alias to be available out of - * the provided list of aliases, which would mean that the command would not - * be assigned to any aliases.

- *

The first non-conflicted alias becomes the "primary alias."

- */ - // @ts-ignore - public register(callable: org.spongepowered.api.command.CommandCallable, aliases: any[] /*java.util.List*/): any; - /** - * Register a given command using a given list of aliases. - *

The provided callback function will be called with a list of aliases - * that are not taken (from the list of aliases that were requested) and - * it should return a list of aliases to actually register. Aliases may be - * removed, and if no aliases remain, then the command will not be - * registered. It may be possible that no aliases are available, and thus - * the callback would receive an empty list. New aliases should not be added - * to the list in the callback as this may cause - * {@link IllegalArgumentException} to be thrown.

- *

The first non-conflicted alias becomes the "primary alias."

- */ - // @ts-ignore - public register(callable: org.spongepowered.api.command.CommandCallable, aliases: any[] /*java.util.List*/, callback: any): any; - /** - * Remove a mapping identified by the given alias. - */ - // @ts-ignore - public remove(alias: string): any[] /*java.util.Collection*/; - /** - * Remove all mappings identified by the given aliases. - */ - // @ts-ignore - public removeAll(aliases: any[] /*java.util.Collection*/): boolean; - /** - * Remove a command identified by the given mapping. - */ - // @ts-ignore - public removeMapping(mapping: org.spongepowered.api.command.CommandMapping): any; - /** - * Remove all mappings contained with the given collection. - */ - // @ts-ignore - public removeMappings(mappings: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public getCommands(): any[] /*java.util.Set*/; - // @ts-ignore - public getPrimaryAliases(): any[] /*java.util.Set*/; - // @ts-ignore - public getAliases(): any[] /*java.util.Set*/; - // @ts-ignore - public get(alias: string): any; - // @ts-ignore - public get(alias: string, source: org.spongepowered.api.command.CommandSource): any; - // @ts-ignore - public containsAlias(alias: string): boolean; - // @ts-ignore - public containsMapping(mapping: org.spongepowered.api.command.CommandMapping): boolean; - // @ts-ignore - public process(source: org.spongepowered.api.command.CommandSource, commandLine: string): org.spongepowered.api.command.CommandResult; - // @ts-ignore - public getSuggestions(src: org.spongepowered.api.command.CommandSource, arguments: string, targetPosition: org.spongepowered.api.world.Location): any[] /*java.util.List*/; - // @ts-ignore - public testPermission(source: org.spongepowered.api.command.CommandSource): boolean; - // @ts-ignore - public getShortDescription(source: org.spongepowered.api.command.CommandSource): any; - // @ts-ignore - public getHelp(source: org.spongepowered.api.command.CommandSource): any; - /** - * Gets the number of registered aliases. - */ - // @ts-ignore - public size(): number; - // @ts-ignore - public getUsage(source: org.spongepowered.api.command.CommandSource): org.spongepowered.api.text.Text; - // @ts-ignore - public getAll(alias: string): any[] /*java.util.Set*/; - // @ts-ignore - public getAll(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.source.CommandBlockSource.ts b/packages/sponge/src/typings/org.spongepowered.api.command.source.CommandBlockSource.ts deleted file mode 100644 index 2f261334..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.source.CommandBlockSource.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace source { - // @ts-ignore - interface CommandBlockSource extends org.spongepowered.api.world.Locatable, org.spongepowered.api.command.CommandSource, org.spongepowered.api.data.DataHolder { - /** - * Gets the {@link CommandData} for this source. - */ - // @ts-ignore - getCommandData(): org.spongepowered.api.data.manipulator.mutable.CommandData; - /** - * Gets the currently stored command. - */ - // @ts-ignore - storedCommand(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the success count of the last executed command. - *

The success count is the number of times the most recently used - * command of this command block succeeded. Most commands can only succeed - * once per execution, but certain commands (such as those which accept - * players as arguments) can succeed multiple times, and this value will be - * set accordingly. This success count can also be polled via a redstone - * comparator.

- */ - // @ts-ignore - successCount(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets whether this command block will keep track of the output from the - * last command it executed. - */ - // @ts-ignore - doesTrackOutput(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the last command output. - *

This will only be available if {@link #doesTrackOutput()} is set to - * true, otherwise {@link Optional#empty()} will be returned.

- */ - // @ts-ignore - lastOutput(): org.spongepowered.api.data.value.mutable.OptionalValue; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.source.ConsoleSource.ts b/packages/sponge/src/typings/org.spongepowered.api.command.source.ConsoleSource.ts deleted file mode 100644 index 2c6cc585..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.source.ConsoleSource.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace source { - // @ts-ignore - interface ConsoleSource extends org.spongepowered.api.command.CommandSource { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.source.ProxySource.ts b/packages/sponge/src/typings/org.spongepowered.api.command.source.ProxySource.ts deleted file mode 100644 index 4d69650a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.source.ProxySource.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace source { - // @ts-ignore - interface ProxySource extends org.spongepowered.api.command.CommandSource { - /** - * Gets the {@link CommandSource} this source is created by. - */ - // @ts-ignore - getOriginalSource(): org.spongepowered.api.command.CommandSource; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.source.RconSource.ts b/packages/sponge/src/typings/org.spongepowered.api.command.source.RconSource.ts deleted file mode 100644 index a3125c24..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.source.RconSource.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace source { - // @ts-ignore - interface RconSource extends org.spongepowered.api.command.source.RemoteSource { - /** - * Gets whether this client is logged in, or authenticated. - */ - // @ts-ignore - getLoggedIn(): boolean; - /** - * Sets whether this client is logged in, or authenticated. - */ - // @ts-ignore - setLoggedIn(loggedIn: boolean): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.source.RemoteSource.ts b/packages/sponge/src/typings/org.spongepowered.api.command.source.RemoteSource.ts deleted file mode 100644 index cecbaef8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.source.RemoteSource.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace source { - // @ts-ignore - interface RemoteSource extends org.spongepowered.api.command.CommandSource { - /** - * Gets connection information for this source. - */ - // @ts-ignore - getConnection(): org.spongepowered.api.network.RemoteConnection; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.source.SignSource.ts b/packages/sponge/src/typings/org.spongepowered.api.command.source.SignSource.ts deleted file mode 100644 index 8f438249..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.source.SignSource.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace source { - // @ts-ignore - interface SignSource extends org.spongepowered.api.command.source.ProxySource, org.spongepowered.api.world.Locatable { - /** - * Gets the sign {@link TileEntity} that this source has been created for. - */ - // @ts-ignore - getSign(): org.spongepowered.api.block.tileentity.Sign; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.spec.CommandExecutor.ts b/packages/sponge/src/typings/org.spongepowered.api.command.spec.CommandExecutor.ts deleted file mode 100644 index 449ca717..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.spec.CommandExecutor.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace spec { - // @ts-ignore - interface CommandExecutor { - /** - * Callback for the execution of a command. - */ - // @ts-ignore - execute(src: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandContext): org.spongepowered.api.command.CommandResult; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.spec.CommandSpec.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.command.spec.CommandSpec.Builder.ts deleted file mode 100644 index 996f0952..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.spec.CommandSpec.Builder.ts +++ /dev/null @@ -1,95 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace spec { - namespace CommandSpec { - // @ts-ignore - class Builder { - /** - * Sets the permission that will be checked before using this command. - */ - // @ts-ignore - public permission(permission: string): org.spongepowered.api.command.spec.CommandSpec.Builder; - /** - * Sets the callback that will handle this command's execution. - */ - // @ts-ignore - public executor(executor: org.spongepowered.api.command.spec.CommandExecutor): org.spongepowered.api.command.spec.CommandSpec.Builder; - /** - * Adds more child arguments for this command. - * If an executor or arguments are set, they are used as fallbacks. - */ - // @ts-ignore - public children(children: Map /*java.util.Map*/): org.spongepowered.api.command.spec.CommandSpec.Builder; - /** - * Add a single child command to this command. - */ - // @ts-ignore - public child(child: org.spongepowered.api.command.CommandCallable, aliases: string): org.spongepowered.api.command.spec.CommandSpec.Builder; - /** - * Add a single child command to this command. - */ - // @ts-ignore - public child(child: org.spongepowered.api.command.CommandCallable, aliases: any[] /*java.util.Collection*/): org.spongepowered.api.command.spec.CommandSpec.Builder; - /** - * A short, one-line description of this command's purpose. - */ - // @ts-ignore - public description(description: org.spongepowered.api.text.Text): org.spongepowered.api.command.spec.CommandSpec.Builder; - /** - * Sets an extended description to use in longer help listings for this - * command. Will be appended to the short description and the command's - * usage. - */ - // @ts-ignore - public extendedDescription(extendedDescription: org.spongepowered.api.text.Text): org.spongepowered.api.command.spec.CommandSpec.Builder; - /** - * If a child command is selected but fails to parse arguments passed to - * it, the following determines the behavior. - *
    - *
  • If this is set to false, this command (the - * parent) will not attempt to parse the command, and will send back - * the error from the child.
  • - *
  • If this is set to true, the error from the - * child will simply be discarded, and the parent command will - * execute.
  • - *
- *

The default for this is true, which emulates the - * behavior from previous API revisions.

- */ - // @ts-ignore - public childArgumentParseExceptionFallback(childCommandFallback: boolean): org.spongepowered.api.command.spec.CommandSpec.Builder; - /** - * Sets the argument specification for this command. Generally, for a - * multi-argument command the {@link GenericArguments#seq(CommandElement...)} - * method is used to parse a sequence of args. - */ - // @ts-ignore - public arguments(args: org.spongepowered.api.command.args.CommandElement): org.spongepowered.api.command.spec.CommandSpec.Builder; - /** - * Sets the argument specification for this command. This method accepts - * a sequence of arguments. This is equivalent to calling {@code - * arguments(seq(args))}. - */ - // @ts-ignore - public arguments(args: org.spongepowered.api.command.args.CommandElement): org.spongepowered.api.command.spec.CommandSpec.Builder; - /** - * Sets the input tokenizer to be used to convert input from a string - * into a list of argument tokens. - */ - // @ts-ignore - public inputTokenizer(parser: org.spongepowered.api.command.args.parsing.InputTokenizer): org.spongepowered.api.command.spec.CommandSpec.Builder; - /** - * Create a new {@link CommandSpec} based on the data provided in this - * builder. - */ - // @ts-ignore - public build(): org.spongepowered.api.command.spec.CommandSpec; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.command.spec.CommandSpec.ts b/packages/sponge/src/typings/org.spongepowered.api.command.spec.CommandSpec.ts deleted file mode 100644 index 4601252c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.command.spec.CommandSpec.ts +++ /dev/null @@ -1,84 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace command { - namespace spec { - // @ts-ignore - class CommandSpec implements org.spongepowered.api.command.CommandCallable { - /** - * Return a new builder for a CommandSpec. - */ - // @ts-ignore - public static builder(): org.spongepowered.api.command.spec.CommandSpec.Builder; - /** - * Check the relevant permission for this command with the provided source, - * throwing an exception if the source does not have permission to use - * the command. - */ - // @ts-ignore - public checkPermission(source: org.spongepowered.api.command.CommandSource): void; - /** - * Process this command with existing arguments and context objects. - */ - // @ts-ignore - public populateContext(source: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs, context: org.spongepowered.api.command.args.CommandContext): void; - /** - * Return tab completion results using the existing parsed arguments and - * context. Primarily useful when including a subcommand in an existing - * specification. - */ - // @ts-ignore - public complete(source: org.spongepowered.api.command.CommandSource, args: org.spongepowered.api.command.args.CommandArgs, context: org.spongepowered.api.command.args.CommandContext): any[] /*java.util.List*/; - /** - * Gets the active executor for this command. Generally not a good idea to - * call this directly, unless you are handling arg parsing specially - */ - // @ts-ignore - public getExecutor(): org.spongepowered.api.command.spec.CommandExecutor; - /** - * Gets the active input tokenizer used for this command. - */ - // @ts-ignore - public getInputTokenizer(): org.spongepowered.api.command.args.parsing.InputTokenizer; - // @ts-ignore - public process(source: org.spongepowered.api.command.CommandSource, arguments: string): org.spongepowered.api.command.CommandResult; - // @ts-ignore - public getSuggestions(source: org.spongepowered.api.command.CommandSource, arguments: string, targetPos: org.spongepowered.api.world.Location): any[] /*java.util.List*/; - // @ts-ignore - public testPermission(source: org.spongepowered.api.command.CommandSource): boolean; - /** - * Gets a short, one-line description used with this command if any is - * present. - */ - // @ts-ignore - public getShortDescription(source: org.spongepowered.api.command.CommandSource): any; - /** - * Gets the extended description used with this command if any is present. - */ - // @ts-ignore - public getExtendedDescription(source: org.spongepowered.api.command.CommandSource): any; - /** - * Gets the usage for this command appropriate for the provided command - * source. - */ - // @ts-ignore - public getUsage(source: org.spongepowered.api.command.CommandSource): org.spongepowered.api.text.Text; - /** - * Return a longer description for this command. This description is - * composed of at least all present of the short description, the usage - * statement, and the extended description - */ - // @ts-ignore - public getHelp(source: org.spongepowered.api.command.CommandSource): any; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.config.ConfigDir.ts b/packages/sponge/src/typings/org.spongepowered.api.config.ConfigDir.ts deleted file mode 100644 index 7432c49f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.config.ConfigDir.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace config { - // @ts-ignore - interface ConfigDir { - /** - * Whether the the shared root for configuration should be used, or instead, - * the plugin-specific configuration directory. - */ - // @ts-ignore - sharedRoot(): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.config.ConfigManager.ts b/packages/sponge/src/typings/org.spongepowered.api.config.ConfigManager.ts deleted file mode 100644 index f7fccff4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.config.ConfigManager.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace config { - // @ts-ignore - interface ConfigManager { - /** - * Gets the configuration root for a plugin that utilizes the shared - * configuration folder. - *

The shared configuration folder may refer to - * "config/" but this may vary between implementations and - * configurations.

- *

The plugin parameter is used to determine the filename for - * {@link ConfigRoot#getConfigPath()}.

- */ - // @ts-ignore - getSharedConfig(instance: any): org.spongepowered.api.config.ConfigRoot; - /** - * Gets the configuration root for a plugin that utilizes a configuration - * folder specific to the plugin, which may also be a - * su-directory of the shared configuration folder. - *

The provided plugin is used to determine the folder name.

- */ - // @ts-ignore - getPluginConfig(instance: any): org.spongepowered.api.config.ConfigRoot; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.config.ConfigRoot.ts b/packages/sponge/src/typings/org.spongepowered.api.config.ConfigRoot.ts deleted file mode 100644 index 1be031d8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.config.ConfigRoot.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace config { - // @ts-ignore - interface ConfigRoot { - /** - * Gets the pathname to the default configuration file for the plugin. - *

If the configuration root is shared, then the returned pathname will - * refer to the path {@code $config/$plugin_id.conf} (where "$config" is the - * shared configuration directory). Otherwise, the returned pathname will - * refer to a file named "config.conf" stored in a directory specific to - * the plugin.

- *

The returned pathname may refer to a file that does not yet exist. - * It is up to the caller of this method to create the file if desired.

- */ - // @ts-ignore - getConfigPath(): any; - /** - * Gets the configuration file that utilizes the default configuration - * pathname. - */ - // @ts-ignore - getConfig(): any; - /** - * Gets the directory that this configuration root refers to. - *

The returned pathname may not refer to a directory that exists - * yet.

- */ - // @ts-ignore - getDirectory(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.config.DefaultConfig.ts b/packages/sponge/src/typings/org.spongepowered.api.config.DefaultConfig.ts deleted file mode 100644 index faaabc1a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.config.DefaultConfig.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace config { - // @ts-ignore - interface DefaultConfig { - /** - * Whether the the shared root for configuration should be used. - */ - // @ts-ignore - sharedRoot(): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.Archetype.ts b/packages/sponge/src/typings/org.spongepowered.api.data.Archetype.ts deleted file mode 100644 index 0423095f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.Archetype.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - interface Archetype extends org.spongepowered.api.data.DataHolder { - /** - * Creates a new instance based on this archetype at the given location. - */ - // @ts-ignore - apply(location: org.spongepowered.api.world.Location): any; - /** - * Creates a new immutable snapshot based on this archetype. - */ - // @ts-ignore - toSnapshot(location: org.spongepowered.api.world.Location): org.spongepowered.api.data.LocatableSnapshot; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataAlreadyRegisteredException.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataAlreadyRegisteredException.ts deleted file mode 100644 index 608c9923..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataAlreadyRegisteredException.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - class DataAlreadyRegisteredException extends org.spongepowered.api.data.DataException { - /** - * Constructs a new data already registered exception. - */ - constructor(manipulatorClass: any, immutableManipulatorClass: any, builder: org.spongepowered.api.data.manipulator.DataManipulatorBuilder) - /** - * Constructs a new data already registered exception with a message. - */ - constructor(message: string, manipulatorClass: any, immutableManipulatorClass: any, builder: org.spongepowered.api.data.manipulator.DataManipulatorBuilder) - /** - * Constructs a new data already registered exception with a message and - * a throwable cause. - */ - constructor(message: string, cause: any, manipulatorClass: any, immutableManipulatorClass: any, builder: org.spongepowered.api.data.manipulator.DataManipulatorBuilder) - /** - * Constructs a new data already registered exception with - * a throwable cause. - */ - constructor(cause: any, manipulatorClass: any, immutableManipulatorClass: any, builder: org.spongepowered.api.data.manipulator.DataManipulatorBuilder) - /** - * Gets the related data manipulator class. - */ - // @ts-ignore - public getManipulatorClass(): any; - /** - * Gets the related immutable data manipulator class. - */ - // @ts-ignore - public getImmutableManipulatorClass(): any; - /** - * Gets the related data manipulator builder. - */ - // @ts-ignore - public getBuilder(): org.spongepowered.api.data.manipulator.DataManipulatorBuilder; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataContainer.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataContainer.ts deleted file mode 100644 index 83513483..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataContainer.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - interface DataContainer extends org.spongepowered.api.data.DataView { - /** - * Creates a new {@link DataContainer} with a default - * {@link org.spongepowered.api.data.DataView.SafetyMode} of - * {@link org.spongepowered.api.data.DataView.SafetyMode#ALL_DATA_CLONED}. - */ - // @ts-ignore - createNew(): org.spongepowered.api.data.DataContainer; - /** - * Creates a new {@link DataContainer} with the provided - * {@link org.spongepowered.api.data.DataView.SafetyMode}. - */ - // @ts-ignore - createNew(safety: org.spongepowered.api.data.DataView.SafetyMode): org.spongepowered.api.data.DataContainer; - // @ts-ignore - set(path: org.spongepowered.api.data.DataQuery, value: any): org.spongepowered.api.data.DataContainer; - // @ts-ignore - set(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.data.DataContainer; - // @ts-ignore - remove(path: org.spongepowered.api.data.DataQuery): org.spongepowered.api.data.DataContainer; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataException.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataException.ts deleted file mode 100644 index 9a17ab0b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataException.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - class DataException { - /** - * Constructs a new data exception. - */ - constructor() - /** - * Constructs a new data exception with a message. - */ - constructor(message: string) - /** - * Constructs a new data exception with a message and throwable cause. - */ - constructor(message: string, cause: any) - /** - * Constructs a new data exception with a throwable cause. - */ - constructor(cause: any) - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataHolder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataHolder.ts deleted file mode 100644 index 6c3a37b1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataHolder.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - interface DataHolder extends org.spongepowered.api.data.DataSerializable, org.spongepowered.api.data.property.PropertyHolder, org.spongepowered.api.data.value.mutable.CompositeValueStore { - /** - * Validates the container with known data required to set the raw data to - * this {@link DataHolder}. If the container is incomplete or contains - * invalid data, false is returned. - *

This validation should be checked prior to calling - * {@link #setRawData(DataView)} to avoid exceptions.

- */ - // @ts-ignore - validateRawData(container: org.spongepowered.api.data.DataView): boolean; - /** - * Attempts to set all data of this {@link DataHolder} according to the - * {@link DataContainer}'s held information. Using this to modify known - * {@link DataManipulator} is unsupported and if the data is invalid, an - * {@link InvalidDataException} is thrown. - *

This setter is used to provide setting custom data that is not - * represented by the Data API, including forge mods and other - * unknown data. Attempts at validating known {@link DataManipulator}s - * contained in the data container are made with the assumption that all - * necessary data exists.

- */ - // @ts-ignore - setRawData(container: org.spongepowered.api.data.DataView): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataManager.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataManager.ts deleted file mode 100644 index f9e65f8d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataManager.ts +++ /dev/null @@ -1,122 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - interface DataManager { - /** - * Registers a {@link DataBuilder} that will dynamically build - * the given {@link DataSerializable} from a {@link DataContainer}. - *

Builders may not always exist for a given {@link DataSerializable}, - * nor is it guaranteed that a provided builder will function with all - * {@link DataContainer}s. - *

- */ - // @ts-ignore - registerBuilder(clazz: any, builder: org.spongepowered.api.data.persistence.DataBuilder): void; - /** - * Registers a {@link DataContentUpdater} for the desired - * {@link DataSerializable} such that any versioned data may be updated to - * newer versions for the most up to date {@link DataBuilder}. - */ - // @ts-ignore - registerContentUpdater(clazz: any, updater: org.spongepowered.api.data.persistence.DataContentUpdater): void; - /** - * Gets a wrapped fake {@link DataContentUpdater} that may wrap several - * {@link DataContentUpdater}s to translate versioned data from the desired - * {@code fromVersion} to the {@code toVersion}. If the version jump is too - * great or a {@link DataContentUpdater} has not been registered to cover - * the complete jump, {@link Optional#empty()} may be returned. - */ - // @ts-ignore - getWrappedContentUpdater(clazz: any, fromVersion: number, toVersion: number): any; - /** - * Attempts to retrieve the {@link DataBuilder} for the desired - * {@link DataSerializable} class. - *

Builders may not always exist for a given {@link DataSerializable}, - * nor is it guaranteed that a provided builder will function with all - * {@link DataContainer}s.

- */ - // @ts-ignore - getBuilder(clazz: any): any; - /** - * Attempts to translate an instance of the {@link DataSerializable} from - * the provided {@link DataView}. If there is no {@link DataBuilder} - * registered for the provided {@link DataSerializable}, then - * {@link Optional#empty()} may be returned. - */ - // @ts-ignore - deserialize(clazz: any, dataView: org.spongepowered.api.data.DataView): any; - /** - * Registers the given {@link ImmutableDataHolder} class with it's - * associated {@link ImmutableDataBuilder}. The builder can be used to - * create new instances of the given {@link ImmutableDataHolder} for data - * retrieval, data representation, etc. - */ - // @ts-ignore - register(holderClass: any, builder: org.spongepowered.api.data.ImmutableDataBuilder): void; - /** - * Registers a legacy {@code id} that is used by a previous version of - * {@link DataRegistration} from a plugin such that the custom data can - * be retained, while not being lost. - */ - // @ts-ignore - registerLegacyManipulatorIds(legacyId: string, registration: org.spongepowered.api.data.DataRegistration): void; - /** - * Attempts to retrieve the builder for the given - * {@link ImmutableDataHolder}. - *

If the {@link ImmutableDataHolder} was not registered, multiple - * systems could fail to retrieve specific data.

- */ - // @ts-ignore - getImmutableBuilder(holderClass: any): any; - /** - * Attempts to retrieve the builder for the given {@link DataManipulator}. - *

If the {@link DataManipulator} was not registered, multiple systems - * could fail to retrieve specific data.

- */ - // @ts-ignore - getManipulatorBuilder(manipulatorClass: any): any; - /** - * Attempts to retrieve the builder for the given - * {@link ImmutableDataManipulator}. - *

If the {@link ImmutableDataManipulator} was not registered, multiple - * systems could fail to retrieve specific data.

- */ - // @ts-ignore - getImmutableManipulatorBuilder(immutableManipulatorClass: any): any; - /** - * Registers a {@link DataTranslator} for the desired class. - */ - // @ts-ignore - registerTranslator(objectClass: any, translator: org.spongepowered.api.data.persistence.DataTranslator): void; - /** - * Gets the desired {@link DataTranslator} for the provided class. - */ - // @ts-ignore - getTranslator(objectClass: any): any; - /** - * Gets all {@link Class}es of all {@link DataManipulator}s registered for - * the provided {@link PluginContainer}. The provided {@link Collection} is - * considered immutable and can not be modified. - */ - // @ts-ignore - getAllRegistrationsFor(container: org.spongepowered.api.plugin.PluginContainer): any[] /*java.util.Collection*/; - /** - * Creates a new {@link DataContainer} with a default - * {@link org.spongepowered.api.data.DataView.SafetyMode} of - * {@link org.spongepowered.api.data.DataView.SafetyMode#ALL_DATA_CLONED}. - */ - // @ts-ignore - createContainer(): org.spongepowered.api.data.DataContainer; - /** - * Creates a new {@link DataContainer} with the provided - * {@link org.spongepowered.api.data.DataView.SafetyMode}. - */ - // @ts-ignore - createContainer(safety: org.spongepowered.api.data.DataView.SafetyMode): org.spongepowered.api.data.DataContainer; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataQuery.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataQuery.ts deleted file mode 100644 index c3f825be..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataQuery.ts +++ /dev/null @@ -1,95 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - class DataQuery { - /** - * Gets an empty {@link DataQuery}. This query is constant and never - * changes and therefor can be called multiple times returning the - * same instance. - */ - // @ts-ignore - public static of(): org.spongepowered.api.data.DataQuery; - /** - * Constructs a query using the given separator character and path. - *

As an example, {@code new DataQuery('/', "a/b/c")} and - * {@code new DataQuery('.', "a.b.c")} represent the same path but are - * constructed using different separators.

- */ - // @ts-ignore - public static of(separator: string, path: string): org.spongepowered.api.data.DataQuery; - /** - * Constructs a query using the given parts. - */ - // @ts-ignore - public static of(parts: string): org.spongepowered.api.data.DataQuery; - /** - * Constructs a query using the given parts. - */ - // @ts-ignore - public static of(parts: any[] /*java.util.List*/): org.spongepowered.api.data.DataQuery; - /** - * Gets the parts that make up this query. The returned list is immutable. - */ - // @ts-ignore - public getParts(): any[] /*java.util.List*/; - /** - * Returns a new query that is made up of this query's parts followed by the - * given query's parts. - */ - // @ts-ignore - public then(that: org.spongepowered.api.data.DataQuery): org.spongepowered.api.data.DataQuery; - /** - * Returns a new query that is made up of this query's parts followed by the - * given query. - */ - // @ts-ignore - public then(that: string): org.spongepowered.api.data.DataQuery; - /** - * Returns the parts of this query as individual queries. The returned list - * is immutable. - */ - // @ts-ignore - public getQueryParts(): any[] /*java.util.List*/; - /** - * Returns a {@link DataQuery} where the last node is "popped" off. If this - * query is already the top level query, then the {@link DataQuery#of()} is - * returned. - */ - // @ts-ignore - public pop(): org.spongepowered.api.data.DataQuery; - /** - * Returns a {@link DataQuery} where the first node is "popped" off. If this - * query is already the top level query, then the {@link DataQuery#of()} is - * returned. - */ - // @ts-ignore - public popFirst(): org.spongepowered.api.data.DataQuery; - /** - * Gets the last entry of this {@link DataQuery}. If this query is - * a single entry query or an empty query, it returns itself. - */ - // @ts-ignore - public last(): org.spongepowered.api.data.DataQuery; - /** - * Gets this query as a string separated by the given separator. - */ - // @ts-ignore - public asString(separator: string): string; - /** - * Gets this query as a string separated by the given separator character. - */ - // @ts-ignore - public asString(separator: string): string; - // @ts-ignore - public toString(): string; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataRegistration.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataRegistration.Builder.ts deleted file mode 100644 index 5f76c39f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataRegistration.Builder.ts +++ /dev/null @@ -1,112 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace DataRegistration { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.CatalogBuilder { - /** - * Sets the {@link DataManipulator} class to be used. For the sake of - * generics, this method must be called prior to - * {@link #immutableClass(Class)} to properly infer generic usage - * by the compiler and at runtime. - */ - // @ts-ignore - dataClass(manipulatorClass: any): org.spongepowered.api.data.DataRegistration.Builder; - /** - * Sets the immutable class. THIS MUST BE CALLED AFTER - * {@link #dataClass(Class)}! - */ - // @ts-ignore - immutableClass(immutableDataClass: any): org.spongepowered.api.data.DataRegistration.Builder; - /** - * Optionally sets a separate implementation class for the - * {@link DataManipulator}. THIS MUST BE CALLED AFTER - * {@link #dataClass(Class)}! - */ - // @ts-ignore - dataImplementation(dataImplementationClass: any): org.spongepowered.api.data.DataRegistration.Builder; - /** - * Optionally sets a separate implementation class for the - * {@link ImmutableDataManipulator}. THIS MUST BE CALLED AFTER - * {@link #dataClass(Class)}! - */ - // @ts-ignore - immutableImplementation(immutableImplementationClass: any): org.spongepowered.api.data.DataRegistration.Builder; - /** - * Sets the id for the manipulator. The id should be formatted - * according to the normal {@link CatalogType} standard: - * {manipulator-id| since the - * "pluginid" - * is gathered from {@link #buildAndRegister(PluginContainer)} provided - * {@link PluginContainer}. - *

The importance of the id is that the id is what will be used for - * serialization and deserialization of custom plugin provided data, - * such that if the string changes, or a plugin is no longer available - * to register the data, the custom data being deserialized will not be - * available through the system, and may be lost.

- */ - // @ts-ignore - manipulatorId(id: string): org.spongepowered.api.data.DataRegistration.Builder; - /** - * Sets a more generalized name to refer to the registered - * {@link DataManipulator} as a common name. - *

As an example: if I have a DummyTestData, a name could be "Dummy". - *

- */ - // @ts-ignore - dataName(name: string): org.spongepowered.api.data.DataRegistration.Builder; - /** - * Sets the {@link DataManipulatorBuilder} to be used to generate new - * {@link DataManipulator DataManipulators} and - * {@link ImmutableDataManipulator ImmutableDataManipulators}. - */ - // @ts-ignore - builder(builder: org.spongepowered.api.data.manipulator.DataManipulatorBuilder): org.spongepowered.api.data.DataRegistration.Builder; - /** - * Since {@link DataRegistration} objects should be considered - * singletons in that the data registered upon creation is already - * preformed, creating a new {@link DataRegistration} will always - * fail. - */ - // @ts-ignore - from(value: org.spongepowered.api.data.DataRegistration): org.spongepowered.api.data.DataRegistration.Builder; - // @ts-ignore - reset(): org.spongepowered.api.data.DataRegistration.Builder; - /** - * Registers all of the objects for the provided {@link DataRegistration} - * object, including the registration's - * {@link DataRegistration#getManipulatorClass()} for the - * {@link DataManipulator} and - * {@link DataRegistration#getImmutableManipulatorClass()} - * and {@link DataRegistration#getDataManipulatorBuilder()} object. More - * importantly, this also allows the proper identification of the - * {@link DataManipulator} itself by the provided - * {@link DataRegistration#getId()}, - * which, much like {@link CatalogType#getId()} is formatted with - * {plugin-id|:{manipulator-id|. - *

It is expected that as the required {@link PluginContainer} is used - * is not a default container from Sponge. The - * {@link PluginContainer#getId()} is utilized to generate the final - * {@link DataRegistration#getId()} for serialization purposes.

- */ - // @ts-ignore - buildAndRegister(container: org.spongepowered.api.plugin.PluginContainer): org.spongepowered.api.data.DataRegistration; - /** - * {@inheritDoc} - * All of the objects for the provided {@link DataRegistration} - * object, including the registration's - * {@link DataRegistration#getManipulatorClass()} for the - * {@link DataManipulator} and - * {@link DataRegistration#getImmutableManipulatorClass()} - * and {@link DataRegistration#getDataManipulatorBuilder()} - * object will also be registered. - */ - // @ts-ignore - build(): org.spongepowered.api.data.DataRegistration; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataRegistration.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataRegistration.ts deleted file mode 100644 index 658f4ed8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataRegistration.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - interface DataRegistration extends org.spongepowered.api.CatalogType { - /** - * Creates a new {@link Builder} to build a {@link DataRegistration}. - * Through the use of generics, this can be duck-typed to the generics of - * the desired {@link DataManipulator} type to be registered. - */ - // @ts-ignore - builder(): org.spongepowered.api.data.DataRegistration.Builder; - /** - * Gets the {@link DataManipulator} class for this registration. - */ - // @ts-ignore - getManipulatorClass(): any; - /** - * Gets the implementing class of the {@link DataManipulator} for this - * registration. - */ - // @ts-ignore - getImplementationClass(): any; - /** - * Gets the {@link ImmutableDataManipulator} class for this registration. - */ - // @ts-ignore - getImmutableManipulatorClass(): any; - /** - * Gets the implementing class of the {@link ImmutableDataManipulator} for - * this registration. - */ - // @ts-ignore - getImmutableImplementationClass(): any; - /** - * Gets the {@link DataManipulatorBuilder} registered for this registration. - */ - // @ts-ignore - getDataManipulatorBuilder(): org.spongepowered.api.data.manipulator.DataManipulatorBuilder; - /** - * Gets the owning {@link PluginContainer}. - */ - // @ts-ignore - getPluginContainer(): org.spongepowered.api.plugin.PluginContainer; - // @ts-ignore - getId(): string; - // @ts-ignore - getName(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataRegistrationNotFoundException.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataRegistrationNotFoundException.ts deleted file mode 100644 index 5d12b167..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataRegistrationNotFoundException.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - class DataRegistrationNotFoundException extends org.spongepowered.api.data.DataException { - /** - * Constructs a basic data registration not found exception. - */ - constructor() - /** - * Constructs a data registration not found exception with a specified - * registration query, which will be used as the message. - */ - constructor(registrationQuery: string) - /** - * Constructs a data registration not found exception with a specified - * message and registration query. - */ - constructor(message: string, registrationQuery: string) - /** - * Constructs a data registration not found exception with a message and a - * specified data manipulator class. - */ - constructor(message: string, manipulatorClass: any) - /** - * Constructs a data registration not found exception with a message, - * a throwable cause, and a specified data manipulator class. - */ - constructor(message: string, cause: any, manipulatorClass: any) - /** - * Constructs a data registration not found exception with a message, - * an immutable data manipulator class, and a mutable - * data manipulator class. - */ - constructor(message: string, manipulatorClass: any, immutableClass: any) - /** - * Constructs a data registration not found exception with a message, - * a throwable cause, an immutable data manipulator class, - * and a mutable data manipulator class. - */ - constructor(message: string, cause: any, manipulatorClass: any, immutableClass: any) - /** - * Gets the specified registration query, if present. - */ - // @ts-ignore - public getRegistrationQuery(): string; - /** - * Gets the data manipulator class, if present. - */ - // @ts-ignore - public getManipulatorClass(): any; - /** - * Gets the immutable data manipulator class, if present. - */ - // @ts-ignore - public getImmutableClass(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataSerializable.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataSerializable.ts deleted file mode 100644 index a1b1b02e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataSerializable.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - interface DataSerializable { - /** - * Gets the content version of this {@link DataSerializable}. The version - * may differ between instances of plugins and implementations such that - * the {@link DataView} from {@link #toContainer()} may include different - * information, or remove other information as they are no longer deemed - * necessary. The version goes hand in hand with {@link DataContentUpdater} - * as it is required when there exists any {@link DataView} of this - * {@link DataSerializable} with an "older" version. - */ - // @ts-ignore - getContentVersion(): number; - /** - * Serializes this object into a comprehensible {@link DataContainer}. - */ - // @ts-ignore - toContainer(): org.spongepowered.api.data.DataContainer; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataTransactionResult.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataTransactionResult.Builder.ts deleted file mode 100644 index 6742bf2b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataTransactionResult.Builder.ts +++ /dev/null @@ -1,102 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace DataTransactionResult { - // @ts-ignore - class Builder implements org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the expectant {@link Type} to the provided - * type. A {@link DataTransactionResult} must always have a type to mark - * the transaction a "success" or "failure". - */ - // @ts-ignore - public result(type: org.spongepowered.api.data.DataTransactionResult.Type): org.spongepowered.api.data.DataTransactionResult.Builder; - /** - * Adds the provided {@link ImmutableValue} to the {@link List} of - * "replaced" {@link ImmutableValue}s. The replaced values are always - * copied for every {@link DataTransactionResult} for referencing. It is - * also possible to retrieve these replaced {@link ImmutableValue}s to - * {@link DataHolder#undo(DataTransactionResult)} at a later point in - * the lifespan of the {@link DataHolder}. - */ - // @ts-ignore - public replace(value: org.spongepowered.api.data.value.immutable.ImmutableValue): org.spongepowered.api.data.DataTransactionResult.Builder; - /** - * Adds the provided {@link ImmutableValue}s to the {@link List} of - * "replaced" {@link ImmutableValue}s. The replaced values are always - * copied for every {@link DataTransactionResult} for referencing. It is - * also possible to retrieve these replaced {@link ImmutableValue}s to - * {@link DataHolder#undo(DataTransactionResult)} at a later point in - * the lifespan of the {@link DataHolder}. - */ - // @ts-ignore - public replace(values: any): org.spongepowered.api.data.DataTransactionResult.Builder; - /** - * Adds the provided {@link ImmutableValue} to the {@link List} of - * "rejected" {@link ImmutableValue}s. The rejected values are always - * copied for every {@link DataTransactionResult} for referencing. It is - * also possible to retrieve these rejected {@link ImmutableValue}s to - * {@link DataHolder#undo(DataTransactionResult)} at a later point in - * the lifespan of the {@link DataHolder}. - */ - // @ts-ignore - public reject(value: org.spongepowered.api.data.value.immutable.ImmutableValue): org.spongepowered.api.data.DataTransactionResult.Builder; - /** - * Adds the provided {@link ImmutableValue}s to the {@link List} of - * "rejected" {@link ImmutableValue}s. The rejected values are always - * copied for every {@link DataTransactionResult} for referencing. It is - * also possible to retrieve these rejected {@link ImmutableValue}s to - * {@link DataHolder#undo(DataTransactionResult)} at a later point in - * the lifespan of the {@link DataHolder}. - */ - // @ts-ignore - public reject(values: any): org.spongepowered.api.data.DataTransactionResult.Builder; - /** - * Adds the provided {@link ImmutableValue} to the {@link List} of - * "successful" {@link ImmutableValue}s. The rejected values are always - * copied for every {@link DataTransactionResult} for referencing. It is - * also possible to retrieve these successful {@link ImmutableValue}s to - * {@link DataHolder#undo(DataTransactionResult)} at a later point in - * the lifespan of the {@link DataHolder}. - */ - // @ts-ignore - public success(value: org.spongepowered.api.data.value.immutable.ImmutableValue): org.spongepowered.api.data.DataTransactionResult.Builder; - /** - * Adds the provided {@link ImmutableValue}s to the {@link List} of - * "successful" {@link ImmutableValue}s. The rejected values are always - * copied for every {@link DataTransactionResult} for referencing. It is - * also possible to retrieve these successful {@link ImmutableValue}s to - * {@link DataHolder#undo(DataTransactionResult)} at a later point in - * the lifespan of the {@link DataHolder}. - */ - // @ts-ignore - public success(values: any): org.spongepowered.api.data.DataTransactionResult.Builder; - /** - * Combines the currently building {@link DataTransactionResult} with the - * one provided. Usually, this means that there is some merging of the - * {@link ImmutableValue}s based on {@link Key}. If this builder already - * has an {@link ImmutableValue} as being successfully offered, and the - * provided result shows the same key as being rejected, the rejected - * {@link ImmutableValue} will remain in the final result. - */ - // @ts-ignore - public absorbResult(result: org.spongepowered.api.data.DataTransactionResult): org.spongepowered.api.data.DataTransactionResult.Builder; - /** - * Builds a new {@link DataTransactionResult} with the providing - * {@link List}s of {@link ImmutableValue}s that are successfully - * offered, {@link ImmutableValue}s that were replaced, and - * {@link ImmutableValue}s that were rejected. - */ - // @ts-ignore - public build(): org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - public from(value: org.spongepowered.api.data.DataTransactionResult): org.spongepowered.api.data.DataTransactionResult.Builder; - // @ts-ignore - public reset(): org.spongepowered.api.data.DataTransactionResult.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataTransactionResult.Type.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataTransactionResult.Type.ts deleted file mode 100644 index 09b19313..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataTransactionResult.Type.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace DataTransactionResult { - // @ts-ignore - class Type { - // @ts-ignore - public static UNDEFINED: org.spongepowered.api.data.DataTransactionResult.Type; - // @ts-ignore - public static SUCCESS: org.spongepowered.api.data.DataTransactionResult.Type; - // @ts-ignore - public static FAILURE: org.spongepowered.api.data.DataTransactionResult.Type; - // @ts-ignore - public static ERROR: org.spongepowered.api.data.DataTransactionResult.Type; - // @ts-ignore - public static CANCELLED: org.spongepowered.api.data.DataTransactionResult.Type; - // @ts-ignore - public static values(): org.spongepowered.api.data.DataTransactionResult.Type[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.data.DataTransactionResult.Type; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataTransactionResult.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataTransactionResult.ts deleted file mode 100644 index 1a9f9d66..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataTransactionResult.ts +++ /dev/null @@ -1,164 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - class DataTransactionResult { - /** - * Gets a new {@link Builder} to build a new - * {@link DataTransactionResult}. - */ - // @ts-ignore - public static builder(): org.spongepowered.api.data.DataTransactionResult.Builder; - /** - * Creates a {@link DataTransactionResult} with no data successfully added, - * removed, or rejected, and with the - * {@link Type} of - * {@link Type#SUCCESS} - * result type. - */ - // @ts-ignore - public static successNoData(): org.spongepowered.api.data.DataTransactionResult; - /** - * Creates a new {@link DataTransactionResult} with the provided - * {@link ImmutableValue} being the successful addition. The result type is - * still {@link Type#SUCCESS}. If a {@link Value} is - * necessary, use {@link Value#asImmutable()} to use this method. A - * {@link DataTransactionResult} is always immutable once created, and any - * {@link BaseValue}s should be provided as {@link ImmutableValue}s or - * transformed into {@link ImmutableValue}s. - */ - // @ts-ignore - public static successResult(value: org.spongepowered.api.data.value.immutable.ImmutableValue): org.spongepowered.api.data.DataTransactionResult; - /** - * Creates a new {@link DataTransactionResult} with the provided - * {@link ImmutableValue} being the successful addition. The result type is - * still {@link Type#SUCCESS}. If a {@link Value} is - * necessary, use {@link Value#asImmutable()} to use this method. A - * {@link DataTransactionResult} is always immutable once created, and any - * {@link BaseValue}s should be provided as {@link ImmutableValue}s or - * transformed into {@link ImmutableValue}s. - */ - // @ts-ignore - public static successReplaceResult(successful: org.spongepowered.api.data.value.immutable.ImmutableValue, replaced: org.spongepowered.api.data.value.immutable.ImmutableValue): org.spongepowered.api.data.DataTransactionResult; - /** - * Creates a new {@link DataTransactionResult} with the provided - * {@link ImmutableValue}s being the successful additions and - * the provided {@link ImmutableValue}s that were replaced. The result type - * is still {@link Type#SUCCESS}. If a {@link Value} - * is necessary, use {@link Value#asImmutable()} to use this method. A - * {@link DataTransactionResult} is always immutable once created, and any - * {@link BaseValue}s should be provided as {@link ImmutableValue}s or - * transformed into {@link ImmutableValue}s. - */ - // @ts-ignore - public static successReplaceResult(successful: any[] /*java.util.Collection*/, replaced: any[] /*java.util.Collection*/): org.spongepowered.api.data.DataTransactionResult; - /** - * Creates a {@link DataTransactionResult} with the provided - * {@link ImmutableValue}s being successfully removed. The result type is - * still {@link Type#SUCCESS}. If a {@link Value} is necessary, use - * {@link Value#asImmutable()} to use this method. A {@link DataTransactionResult} - * is always immutable once created, and any {@link BaseValue}s should be provided - * as {@link ImmutableValue}s or transformed into {@link ImmutableValue}s. - */ - // @ts-ignore - public static successRemove(removed: any[] /*java.util.Collection*/): org.spongepowered.api.data.DataTransactionResult; - /** - * Creates a {@link DataTransactionResult} with the provided - * {@link ImmutableValue} being successfully removed. The result type is - * still {@link Type#SUCCESS}. If a {@link Value} is necessary, use - * {@link Value#asImmutable()} to use this method. A - * {@link DataTransactionResult} is always immutable once created, and a - * {@link BaseValue} should be provided as an {@link ImmutableValue} or - * transformed into an {@link ImmutableValue}. - */ - // @ts-ignore - public static successRemove(removed: org.spongepowered.api.data.value.immutable.ImmutableValue): org.spongepowered.api.data.DataTransactionResult; - /** - * Creates a new {@link DataTransactionResult} that ends in failure. The - * provided {@link ImmutableValue} is considered "rejected" and was not - * successfully added. - */ - // @ts-ignore - public static failResult(value: org.spongepowered.api.data.value.immutable.ImmutableValue): org.spongepowered.api.data.DataTransactionResult; - /** - * Creates a new {@link DataTransactionResult} that ends in failure. The - * provided {@link ImmutableValue}s are considered "rejected" and were not - * successfully added. - */ - // @ts-ignore - public static failResult(values: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Creates a new {@link DataTransactionResult} that ends in failure. There - * is no additional data to include. - */ - // @ts-ignore - public static failNoData(): org.spongepowered.api.data.DataTransactionResult; - /** - * Creates a new {@link DataTransactionResult} that ends in failure. The - * provided {@link ImmutableValue} is considered "incompatible" and was not - * successfully added. - */ - // @ts-ignore - public static errorResult(value: org.spongepowered.api.data.value.immutable.ImmutableValue): org.spongepowered.api.data.DataTransactionResult; - /** - * Gets the type of result. - */ - // @ts-ignore - public getType(): org.spongepowered.api.data.DataTransactionResult.Type; - /** - * Gets whether this {@link DataTransactionResult} was successful or not. - */ - // @ts-ignore - public isSuccessful(): boolean; - /** - * If any {@link BaseValue}s applied onto a {@link CompositeValueStore} were - * successful, they'll be stored in the given list. - */ - // @ts-ignore - public getSuccessfulData(): any[] /*java.util.List*/; - /** - * If {@link Value}s were supplied to the operation, this - * collection will return any {@link ImmutableValue}s which were rejected - * by the target {@link DataHolder}. - */ - // @ts-ignore - public getRejectedData(): any[] /*java.util.List*/; - /** - * If the operation replaced any {@link Value}s, this returns a collection - * of the replaced {@link ImmutableValue}s. - */ - // @ts-ignore - public getReplacedData(): any[] /*java.util.List*/; - /** - * If this result of {@link #isSuccessful()} returns {@code true}, - * the provided {@link Consumer} is called provided a list of all - * "successful" data as retrieved from {@link #getSuccessfulData()}. - */ - // @ts-ignore - public ifSuccessful(consumer: any): void; - /** - * If this result of {@link #isSuccessful()} returns {@code true}, - * the provided {@link Consumer} is called provided a list of all - * "successful" data as retrieved from {@link #getSuccessfulData()}. - */ - // @ts-ignore - public ifSucessful(consumer: any): void; - /** - * Used to call a {@link Supplier} for an {@link Exception} of type - * {@code E} such that if this transaction's {@link #isSuccessful()} - * returns {@code false}, the supplier's exception is thrown. - */ - // @ts-ignore - public ifNotSuccessful(supplier: any): void; - // @ts-ignore - public toString(): string; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataView.SafetyMode.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataView.SafetyMode.ts deleted file mode 100644 index cef6dac1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataView.SafetyMode.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace DataView { - // @ts-ignore - class SafetyMode { - // @ts-ignore - public static ALL_DATA_CLONED: org.spongepowered.api.data.DataView.SafetyMode; - // @ts-ignore - public static CLONED_ON_SET: org.spongepowered.api.data.DataView.SafetyMode; - // @ts-ignore - public static NO_DATA_CLONED: org.spongepowered.api.data.DataView.SafetyMode; - // @ts-ignore - public static values(): org.spongepowered.api.data.DataView.SafetyMode[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.data.DataView.SafetyMode; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.DataView.ts b/packages/sponge/src/typings/org.spongepowered.api.data.DataView.ts deleted file mode 100644 index f6afbf3d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.DataView.ts +++ /dev/null @@ -1,391 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - interface DataView { - /** - * Gets the parent container of this DataView. - *

Every DataView will always have a {@link DataContainer}.

- *

For any {@link DataContainer}, this will return itself.

- */ - // @ts-ignore - getContainer(): org.spongepowered.api.data.DataContainer; - /** - * Gets the current path of this {@link DataView} from its root - * {@link DataContainer}. - *

For any {@link DataContainer} itself, this will return an - * empty string as it is the root of the path.

- *

The full path will always include this {@link DataView}s name - * at the end of the path.

- */ - // @ts-ignore - getCurrentPath(): org.spongepowered.api.data.DataQuery; - /** - * Gets the name of this individual {@link DataView} in the path. - *

This will always be the final substring of the full path - * from {@link #getCurrentPath()}.

- */ - // @ts-ignore - getName(): string; - /** - * Gets the parent {@link DataView} of this view. The parent directly - * contains this view according to the {@link #getCurrentPath()}. - *

For any {@link DataContainer}, this will return an absent parent.

- */ - // @ts-ignore - getParent(): any; - /** - * Gets a collection containing all keys in this {@link DataView}. - *

If deep is set to true, then this will contain all the keys - * within any child {@link DataView}s (and their children, etc). - * These will be in a valid path notation for you to use.

- *

If deep is set to false, then this will contain only the keys - * of any direct children, and not their own children.

- */ - // @ts-ignore - getKeys(deep: boolean): any[] /*java.util.Set*/; - /** - * Gets a Map containing all keys and their values for this {@link DataView}. - *

If deep is set to true, then this will contain all the keys and - * values within any child {@link DataView}s (and their children, - * etc). These keys will be in a valid path notation for you to use.

- *

If deep is set to false, then this will contain only the keys and - * values of any direct children, and not their own children.

- */ - // @ts-ignore - getValues(deep: boolean): Map /*java.util.Map*/; - /** - * Returns whether this {@link DataView} contains the given path. - */ - // @ts-ignore - contains(path: org.spongepowered.api.data.DataQuery): boolean; - /** - * Returns whether this {@link DataView} contains an entry for all - * provided {@link DataQuery} objects. - */ - // @ts-ignore - contains(path: org.spongepowered.api.data.DataQuery, paths: org.spongepowered.api.data.DataQuery): boolean; - /** - * Returns whether this {@link DataView} contains the given {@link Key}'s - * defaulted {@link DataQuery}. - */ - // @ts-ignore - contains(key: org.spongepowered.api.data.key.Key): boolean; - /** - * Returns whether this {@link DataView} contains the given {@link Key}es - * defaulted {@link DataQuery}. - */ - // @ts-ignore - contains(key: org.spongepowered.api.data.key.Key, keys: org.spongepowered.api.data.key.Key): boolean; - /** - * Gets an object from the desired path. If the path is not defined, - * an absent Optional is returned. - */ - // @ts-ignore - get(path: org.spongepowered.api.data.DataQuery): any; - /** - * Sets the given Object value according to the given path relative to - * this {@link DataView}'s path. - */ - // @ts-ignore - set(path: org.spongepowered.api.data.DataQuery, value: any): org.spongepowered.api.data.DataView; - /** - * Sets the given {@link Key}ed value according to the provided - * {@link Key}'s {@link Key#getQuery()}. - */ - // @ts-ignore - set(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.data.DataView; - /** - * Removes the data associated to the given path relative to this - * {@link DataView}'s path. - *

Path can not be empty, to remove this {@link DataView}, call - * the associated parent to remove this views name.

- */ - // @ts-ignore - remove(path: org.spongepowered.api.data.DataQuery): org.spongepowered.api.data.DataView; - /** - * Creates a new {@link DataView} at the desired path. - *

If any data existed at the given path, that data will be - * overwritten with the newly constructed {@link DataView}.

- */ - // @ts-ignore - createView(path: org.spongepowered.api.data.DataQuery): org.spongepowered.api.data.DataView; - /** - * Creates a new {@link DataView} with the given data at the desired - * path. - *

If any data existed at the given path, that data will be overwritten - * with the newly constructed {@link DataView}.

- */ - // @ts-ignore - createView(path: org.spongepowered.api.data.DataQuery, map: Map /*java.util.Map*/): org.spongepowered.api.data.DataView; - /** - * Gets the {@link DataView} by path, if available. - *

If a {@link DataView} does not exist, or the data residing at - * the path is not an instance of a {@link DataView}, an absent is - * returned.

- */ - // @ts-ignore - getView(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the underlying {@link Map} by path, if available. - *

If a {@link Map} does not exist, or data residing at the path is not - * an instance of a {@link Map}, an absent is returned.

- */ - // @ts-ignore - getMap(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link Boolean} by path, if available. - *

If a {@link Boolean} does not exist, or the data residing at - * the path is not an instance of a {@link Boolean}, an absent is - * returned.

- */ - // @ts-ignore - getBoolean(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link Short} by path, if available. - *

If a {@link Short} does not exist, or the data residing at - * the path is not an instance of a {@link Short}, an absent is - * returned.

- */ - // @ts-ignore - getShort(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link Byte} by path, if available. - *

If a {@link Byte} does not exist, or the data residing at - * the path is not an instance of a {@link Byte}, an absent is - * returned.

- */ - // @ts-ignore - getByte(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link Integer} by path, if available. - *

If a {@link Integer} does not exist, or the data residing at - * the path is not an instance of a {@link Integer}, an absent is - * returned.

- */ - // @ts-ignore - getInt(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link Long} by path, if available. - *

If a {@link Long} does not exist, or the data residing at - * the path is not an instance of a {@link Long}, an absent is - * returned.

- */ - // @ts-ignore - getLong(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link Float} by path, if available. - *

If a {@link Float} does not exist, or the data residing at - * the path is not an instance of a {@link Float}, an absent is - * returned.

- */ - // @ts-ignore - getFloat(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link Double} by path, if available. - *

If a {@link Double} does not exist, or the data residing at - * the path is not an instance of a {@link Double}, an absent is - * returned.

- */ - // @ts-ignore - getDouble(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link String} by path, if available. - *

If a {@link String} does not exist, or the data residing at - * the path is not an instance of a {@link String}, an absent is - * returned.

- */ - // @ts-ignore - getString(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link List} of something by path, if available. - *

If a {@link List} of something does not exist, or the data - * residing at the path is not an instance of a {@link List} of something, - * an absent is returned.

- */ - // @ts-ignore - getList(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link List} of {@link String} by path, if available. - *

If a {@link List} of {@link String} does not exist, or the data - * residing at the path is not an instance of a {@link List} of - * {@link String}, an absent is returned.

- */ - // @ts-ignore - getStringList(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link List} of {@link Character} by path, if available. - *

If a {@link List} of {@link Character} does not exist, or the data - * residing at the path is not an instance of a {@link List} of - * {@link Character}, an absent is returned.

- */ - // @ts-ignore - getCharacterList(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link List} of {@link Boolean} by path, if available. - *

If a {@link List} of {@link Boolean} does not exist, or the data - * residing at the path is not an instance of a {@link List} of - * {@link Boolean}, an absent is returned.

- */ - // @ts-ignore - getBooleanList(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link List} of {@link Byte} by path, if available. - *

If a {@link List} of {@link Byte} does not exist, or the data - * residing at the path is not an instance of a {@link List} of - * {@link Byte}, an absent is returned.

- */ - // @ts-ignore - getByteList(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link List} of {@link Short} by path, if available. - *

If a {@link List} of {@link Short} does not exist, or the data - * residing at the path is not an instance of a {@link List} of - * {@link Short}, an absent is returned.

- */ - // @ts-ignore - getShortList(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link List} of {@link Integer} by path, if available. - *

If a {@link List} of {@link Integer} does not exist, or the data - * residing at the path is not an instance of a {@link List} of - * {@link Integer}, an absent is returned.

- */ - // @ts-ignore - getIntegerList(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link List} of {@link Long} by path, if available. - *

If a {@link List} of {@link Long} does not exist, or the data - * residing at the path is not an instance of a {@link List} of - * {@link Long}, an absent is returned.

- */ - // @ts-ignore - getLongList(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link List} of {@link Float} by path, if available. - *

If a {@link List} of {@link Float} does not exist, or the data - * residing at the path is not an instance of a {@link List} of - * {@link Float}, an absent is returned.

- */ - // @ts-ignore - getFloatList(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link List} of {@link Double} by path, if available. - *

If a {@link List} of {@link Double} does not exist, or the data - * residing at the path is not an instance of a {@link List} of - * {@link Double}, an absent is returned.

- */ - // @ts-ignore - getDoubleList(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link List} of {@link Map} by path, if available. - *

If a {@link List} of {@link Map} does not exist, or the data - * residing at the path is not an instance of a {@link List} of - * {@link Map}, an absent is returned.

- */ - // @ts-ignore - getMapList(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link List} of {@link DataView} by path, if available. - *

If a {@link List} of {@link DataView} does not exist, or the data - * residing at the path is not an instance of a {@link List} of - * {@link DataView}, an absent is returned.

- */ - // @ts-ignore - getViewList(path: org.spongepowered.api.data.DataQuery): any; - /** - * Gets the {@link DataSerializable} object by path, if available. - *

If a {@link DataSerializable} exists, but is not the proper class - * type, or there is no data at the path given, an absent is returned.

- *

It is important that the {@link DataManager} provided is - * the same one that has registered many of the - * {@link DataBuilder}s to ensure the {@link DataSerializable} - * requested can be returned.

- */ - // @ts-ignore - getSerializable(path: org.spongepowered.api.data.DataQuery, clazz: any): any; - /** - * Gets the {@link List} of {@link DataSerializable} by path, if available. - *

If a {@link List} exists, but the contents of the list are not - * considered {@link DataSerializable} or are not of the proper type of - * {@link DataSerializable}, an absent is returned.

- *

It is important that the {@link DataManager} provided is - * the same one that has registered many of the - * {@link DataBuilder}s to ensure the {@link DataSerializable} - * requested can be returned.

- */ - // @ts-ignore - getSerializableList(path: org.spongepowered.api.data.DataQuery, clazz: any): any; - /** - * Gets the {@link Object} object by path, if available. - *

If a {@link Object} exists, but is not the proper class - * type, or there is no data at the path given, an absent is returned.

- *

It is important that the {@link DataManager} provided is - * the same one that has registered many of the - * {@link DataTranslator}s to ensure the {@link DataSerializable} - * requested can be returned.

- */ - // @ts-ignore - getObject(path: org.spongepowered.api.data.DataQuery, objectClass: any): any; - /** - * Gets the {@link List} of {@link DataSerializable} by path, if available. - *

If a {@link List} exists, but the contents of the list are not - * considered {@link DataTranslator}"able" or are not of the proper type of - * {@link DataTranslator}, an absent is returned.

- *

It is important that the {@link DataManager} provided is - * the same one that has registered many of the - * {@link DataTranslator}s to ensure the {@link Object} - * requested can be returned.

- */ - // @ts-ignore - getObjectList(path: org.spongepowered.api.data.DataQuery, objectClass: any): any; - /** - * Gets the {@link CatalogType} object by path, if available. - *

If a {@link CatalogType} exists, but is not named properly, not - * existing in a registry, or simply an invalid value will return - * an empty value.

- */ - // @ts-ignore - getCatalogType(path: org.spongepowered.api.data.DataQuery, catalogType: any): any; - /** - * Gets the {@link List} of {@link CatalogType}s by path, if available. - *

If a {@link List} exists, but contents of the list are not - * considered {@link CatalogType}s or are not of the proper type - * of {@link CatalogType}, an absent is returned.

- */ - // @ts-ignore - getCatalogTypeList(path: org.spongepowered.api.data.DataQuery, catalogType: any): any; - /** - * Copies this {@link DataView} and all of it's contents into a new - * {@link DataContainer}. - *

Note that the copy will not have the same path as this - * {@link DataView} since it will be constructed with the top level path - * being itself.

- */ - // @ts-ignore - copy(): org.spongepowered.api.data.DataContainer; - /** - * Copies this {@link DataView} and all of it's contents into a new - * {@link DataContainer} with the given safety mode. - *

Note that the copy will not have the same path as this - * {@link DataView} since it will be constructed with the top level path - * being itself.

- */ - // @ts-ignore - copy(safety: org.spongepowered.api.data.DataView.SafetyMode): org.spongepowered.api.data.DataContainer; - /** - * Gets if this view contains no data. - */ - // @ts-ignore - isEmpty(): boolean; - /** - * Gets the {@link org.spongepowered.api.data.DataView.SafetyMode} of this data view. - */ - // @ts-ignore - getSafetyMode(): org.spongepowered.api.data.DataView.SafetyMode; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.ImmutableDataBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.ImmutableDataBuilder.ts deleted file mode 100644 index bb7b268f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.ImmutableDataBuilder.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - interface ImmutableDataBuilder extends org.spongepowered.api.data.persistence.DataBuilder { - /** - * Adds the given {@link DataManipulator} to the builder. The - * {@link DataManipulator} is copied when the {@link ImmutableDataHolder} - * is created. - */ - // @ts-ignore - add(manipulator: org.spongepowered.api.data.manipulator.DataManipulator): org.spongepowered.api.data.ImmutableDataBuilder; - /** - * Adds the given {@link ImmutableDataManipulator} to the builder. - */ - // @ts-ignore - add(manipulator: org.spongepowered.api.data.manipulator.ImmutableDataManipulator): org.spongepowered.api.data.ImmutableDataBuilder; - /** - * Adds the given {@link Key} with the given value. - */ - // @ts-ignore - add(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.data.ImmutableDataBuilder; - /** - * Copies all known {@link DataManipulator}s from the given - * {@link ImmutableDataHolder}. This is a defensive copy as - * {@link DataManipulator} is mutable. - */ - // @ts-ignore - from(holder: org.spongepowered.api.data.ImmutableDataHolder): org.spongepowered.api.data.ImmutableDataBuilder; - /** - * Attempts to build a new {@link ImmutableDataHolder}. - */ - // @ts-ignore - build(): org.spongepowered.api.data.ImmutableDataHolder; - // @ts-ignore - reset(): org.spongepowered.api.data.ImmutableDataBuilder; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.ImmutableDataHolder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.ImmutableDataHolder.ts deleted file mode 100644 index 341dfda5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.ImmutableDataHolder.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - interface ImmutableDataHolder extends org.spongepowered.api.data.DataSerializable, org.spongepowered.api.data.property.PropertyHolder, org.spongepowered.api.data.value.immutable.ImmutableValueStore { - /** - * Gets a copy of all properties defined on this - * {@link ImmutableDataHolder}, with their current values. - */ - // @ts-ignore - getManipulators(): any[] /*java.util.List*/; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.LocatableSnapshot.ts b/packages/sponge/src/typings/org.spongepowered.api.data.LocatableSnapshot.ts deleted file mode 100644 index adaccafb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.LocatableSnapshot.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - interface LocatableSnapshot extends org.spongepowered.api.data.ImmutableDataHolder { - /** - * Gets the {@link UUID} of the world. - */ - // @ts-ignore - getWorldUniqueId(): any; - /** - * Gets the saved block position. - */ - // @ts-ignore - getPosition(): any /*Vector3i*/; - /** - * Gets the {@link Location} of the snapshot at which it may have been - * taken from. The {@link Location} being immutable signifies that the - * {@link LocatableSnapshot} can be re-created at the desired - * {@link Location}. - */ - // @ts-ignore - getLocation(): any; - /** - * Creates a copy of the snapshot with the provided - * {@link Location}. - */ - // @ts-ignore - withLocation(location: org.spongepowered.api.world.Location): org.spongepowered.api.data.LocatableSnapshot; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.MemoryDataContainer.ts b/packages/sponge/src/typings/org.spongepowered.api.data.MemoryDataContainer.ts deleted file mode 100644 index 56af53fb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.MemoryDataContainer.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - class MemoryDataContainer extends org.spongepowered.api.data.MemoryDataView implements org.spongepowered.api.data.DataContainer { - /** - * Creates a new {@link MemoryDataContainer} with a default - * {@link org.spongepowered.api.data.DataView.SafetyMode} of - * {@link org.spongepowered.api.data.DataView.SafetyMode#ALL_DATA_CLONED}. - */ - constructor() - /** - * Creates a new {@link MemoryDataContainer} with the provided - * {@link org.spongepowered.api.data.DataView.SafetyMode}. - */ - constructor(safety: org.spongepowered.api.data.DataView.SafetyMode) - // @ts-ignore - public getParent(): any; - // @ts-ignore - public getContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public set(path: org.spongepowered.api.data.DataQuery, value: any): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public set(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public remove(path: org.spongepowered.api.data.DataQuery): org.spongepowered.api.data.DataContainer; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.MemoryDataView.ts b/packages/sponge/src/typings/org.spongepowered.api.data.MemoryDataView.ts deleted file mode 100644 index 423cc7ad..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.MemoryDataView.ts +++ /dev/null @@ -1,111 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - class MemoryDataView implements org.spongepowered.api.data.DataView { - constructor(safety: org.spongepowered.api.data.DataView.SafetyMode) - constructor(parent: org.spongepowered.api.data.DataView, path: org.spongepowered.api.data.DataQuery, safety: org.spongepowered.api.data.DataView.SafetyMode) - // @ts-ignore - public getContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public getCurrentPath(): org.spongepowered.api.data.DataQuery; - // @ts-ignore - public getName(): string; - // @ts-ignore - public getParent(): any; - // @ts-ignore - public getKeys(deep: boolean): any[] /*java.util.Set*/; - // @ts-ignore - public getValues(deep: boolean): Map /*java.util.Map*/; - // @ts-ignore - public contains(path: org.spongepowered.api.data.DataQuery): boolean; - // @ts-ignore - public contains(path: org.spongepowered.api.data.DataQuery, paths: org.spongepowered.api.data.DataQuery): boolean; - // @ts-ignore - public get(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public set(path: org.spongepowered.api.data.DataQuery, value: any): org.spongepowered.api.data.DataView; - // @ts-ignore - public set(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.data.DataView; - // @ts-ignore - public remove(path: org.spongepowered.api.data.DataQuery): org.spongepowered.api.data.DataView; - // @ts-ignore - public createView(path: org.spongepowered.api.data.DataQuery): org.spongepowered.api.data.DataView; - // @ts-ignore - public createView(path: org.spongepowered.api.data.DataQuery, map: Map /*java.util.Map*/): org.spongepowered.api.data.DataView; - // @ts-ignore - public getView(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getMap(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getBoolean(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getByte(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getShort(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getInt(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getLong(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getFloat(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getDouble(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getString(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getList(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getStringList(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getCharacterList(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getBooleanList(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getByteList(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getShortList(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getIntegerList(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getLongList(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getFloatList(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getDoubleList(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getMapList(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getViewList(path: org.spongepowered.api.data.DataQuery): any; - // @ts-ignore - public getSerializable(path: org.spongepowered.api.data.DataQuery, clazz: any): any; - // @ts-ignore - public getSerializableList(path: org.spongepowered.api.data.DataQuery, clazz: any): any; - // @ts-ignore - public getCatalogType(path: org.spongepowered.api.data.DataQuery, catalogType: any): any; - // @ts-ignore - public getCatalogTypeList(path: org.spongepowered.api.data.DataQuery, catalogType: any): any; - // @ts-ignore - public getObject(path: org.spongepowered.api.data.DataQuery, objectClass: any): any; - // @ts-ignore - public getObjectList(path: org.spongepowered.api.data.DataQuery, objectClass: any): any; - // @ts-ignore - public copy(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public copy(safety: org.spongepowered.api.data.DataView.SafetyMode): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public isEmpty(): boolean; - // @ts-ignore - public getSafetyMode(): org.spongepowered.api.data.DataView.SafetyMode; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public toString(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.Property.Operator.ts b/packages/sponge/src/typings/org.spongepowered.api.data.Property.Operator.ts deleted file mode 100644 index 08926ff2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.Property.Operator.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace Property { - // @ts-ignore - class Operator { - // @ts-ignore - public static DELEGATE: org.spongepowered.api.data.Property.Operator; - // @ts-ignore - public static EQUAL: org.spongepowered.api.data.Property.Operator; - // @ts-ignore - public static NOTEQUAL: org.spongepowered.api.data.Property.Operator; - // @ts-ignore - public static GREATER: org.spongepowered.api.data.Property.Operator; - // @ts-ignore - public static GEQUAL: org.spongepowered.api.data.Property.Operator; - // @ts-ignore - public static LESS: org.spongepowered.api.data.Property.Operator; - // @ts-ignore - public static LEQUAL: org.spongepowered.api.data.Property.Operator; - // @ts-ignore - public static values(): org.spongepowered.api.data.Property.Operator[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.data.Property.Operator; - /** - *

Compare the two operands by applying this operator infix - * with respect to them. For example, if this object is - * {@link Operator#GREATER} then calling this method with - * object1 and object2 would effectively - * return:

- *
returnValue = object1 > object2; - *
- */ - // @ts-ignore - public compare(operand1: org.spongepowered.api.data.Property, operand2: org.spongepowered.api.data.Property): boolean; - /** - * Stub for subclasses to implement their logic. Used so we can get the - * null comparison logic out of the way first and then only proceed with - * comparison if both arguments are non-null. - */ - // @ts-ignore - protected apply(operand1: org.spongepowered.api.data.Property, operand2: org.spongepowered.api.data.Property): boolean; - /** - * Gets the default operator to use if none is specified. - */ - // @ts-ignore - public static defaultOperator(): org.spongepowered.api.data.Property.Operator; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.Property.ts b/packages/sponge/src/typings/org.spongepowered.api.data.Property.ts deleted file mode 100644 index 3f6d1811..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.Property.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - interface Property { - /** - * Gets the key for this property. Key is only used if an item stack can - * have more than one property of a particular type. If the property has no - * specific key, the property class name is returned so that properties of - * the same type are implicitly comparable. - */ - // @ts-ignore - getKey(): any; - /** - * Gets the "value" of this property. "Value" may have different meanings - * depending on the exact type of this property. - */ - // @ts-ignore - getValue(): any; - /** - * Gets the operator to use when comparing another property with this - * property. - */ - // @ts-ignore - getOperator(): org.spongepowered.api.data.Property.Operator; - /** - *

Compares this property to other using this property's - * operator. This is equivalent to the code:

- *
- *
thisObject.getOperator().compare(thisObject, other);
- *
- *

The order of the operands is important, since {@link Operator} treats - * its type as infix between the two operands, and thus (for example) if - * this property's operator is set to GREATER, then when calling this method - * we want to know whether this is GREATER than other - * and must pass in the operands in the corresponding order.

- */ - // @ts-ignore - matches(other: org.spongepowered.api.data.Property): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.Queries.ts b/packages/sponge/src/typings/org.spongepowered.api.data.Queries.ts deleted file mode 100644 index f8a47a47..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.Queries.ts +++ /dev/null @@ -1,85 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - class Queries { - // @ts-ignore - public static CONTENT_VERSION: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static TYPE_CLASS: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static ORIGINAL: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static DEFAULT_REPLACEMENT: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static CUSTOM_REPLACEMENT: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static VALID: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static WEIGHTED_SERIALIZABLE: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static WEIGHTED_SERIALIZABLE_WEIGHT: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static ENCHANTMENT_ID: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static LEVEL: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static WEIGHTED_ITEM_QUANTITY: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static WORLD_NAME: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static WORLD_ID: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static CHUNK_X: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static CHUNK_Y: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static CHUNK_Z: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static BLOCK_TYPE: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static POSITION_X: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static POSITION_Y: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static POSITION_Z: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static VARIABLE_CHANCE: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static VARIABLE_BASE: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static VARIABLE_VARIANCE: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static VARIABLE_AMOUNT: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static COLOR_RED: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static COLOR_BLUE: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static COLOR_GREEN: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static CREATOR_ID: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static NOTIFIER_ID: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static JSON: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static TEXT_TITLE: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static TEXT_AUTHOR: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static TEXT_PAGE_LIST: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static FORCED_SPAWN: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static UUID_LEAST: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static UUID_MOST: org.spongepowered.api.data.DataQuery; - // @ts-ignore - public static POSITION: org.spongepowered.api.data.DataQuery; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.Transaction.ts b/packages/sponge/src/typings/org.spongepowered.api.data.Transaction.ts deleted file mode 100644 index 0607266b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.Transaction.ts +++ /dev/null @@ -1,88 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - // @ts-ignore - class Transaction implements org.spongepowered.api.data.DataSerializable { - /** - * Creates a new transaction. - */ - constructor(original: org.spongepowered.api.data.DataSerializable, defaultReplacement: org.spongepowered.api.data.DataSerializable) - /** - * Creates a new {@link Transaction} with the added possibility of - * intermediary transactions that may have taken place between - * what is {@link #getOriginal() original} and {@link #getDefault() - * the default result}. The list may be {@code null}, however the list - * will wrapped to become an unmodifiable list. - *

It is imperative that the provided list is not to be modified - * outside this created {@link Transaction} synchronously and - * asynchronously as consumers of the provided list will not be able - * to react accordingly.

- */ - constructor(original: org.spongepowered.api.data.DataSerializable, defaultReplacement: org.spongepowered.api.data.DataSerializable, intermediary: any[] /*java.util.List*/) - /** - * Gets the original snapshot. - */ - // @ts-ignore - public getOriginal(): org.spongepowered.api.data.DataSerializable; - /** - * Gets the default replacement snapshot. - */ - // @ts-ignore - public getDefault(): org.spongepowered.api.data.DataSerializable; - /** - * Gets a {@link List} of any and all intermediary transactions that may - * have taken place to get the final {@link Transaction} of - * {@link #getOriginal() the original} and {@link #getDefault() the default} - * results. This is exposed for monitoring purposes only, as the provided - * list is not modifiable. The list may be {@link List#isEmpty() empty} - * by default, but will never be {@code null}. - *

Note that special processing with this list may sometimes only take - * place if {@link #getCustom() a custom} result has not been set by a plugin, - * or if {@link #isValid()} returns {@code false}.

- */ - // @ts-ignore - public getIntermediary(): any[] /*java.util.List*/; - /** - * Gets the custom snapshot if one was set. - */ - // @ts-ignore - public getCustom(): any; - /** - * Sets the custom snapshot. If setting null, this will - * reset to use the {@link #getDefault()} snapshot. - */ - // @ts-ignore - public setCustom(custom: org.spongepowered.api.data.DataSerializable): void; - /** - * Gets the proposed final snapshot, if the {@link #getCustom()} returns - * {@link Optional#isPresent()}, the custom is returned, otherwise, - * {@link #getDefault()} is returned. - */ - // @ts-ignore - public getFinal(): org.spongepowered.api.data.DataSerializable; - /** - * Gets whether this transaction is marked as valid. - */ - // @ts-ignore - public isValid(): boolean; - /** - * Sets whether this transaction is valid or not. - */ - // @ts-ignore - public setValid(valid: boolean): void; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public toString(): string; - // @ts-ignore - public getContentVersion(): number; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.key.Key.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.key.Key.Builder.ts deleted file mode 100644 index 976848d8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.key.Key.Builder.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace key { - namespace Key { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.CatalogBuilder { - /** - * Starter method for the builder, to be used immediately after - * {@link Key#builder()} is called. This defines the generics for the - * builder itself to provide the properly generified {@link Key}. - *

Common {@link TypeToken TypeTokens} can be found in - * {@link TypeTokens}. If a new TypeToken is to be created, it is - * recommended to create an anonymous class instance of a token, - * as recommended by Guava's wiki found - * here. - *

- */ - // @ts-ignore - type(token: any): org.spongepowered.api.data.key.Key.Builder; - // @ts-ignore - id(id: string): org.spongepowered.api.data.key.Key.Builder; - // @ts-ignore - name(name: string): org.spongepowered.api.data.key.Key.Builder; - /** - * Sets the {@link DataQuery} recommended for use with - * {@link DataContainer}s. See {@link Key#getQuery()}. - */ - // @ts-ignore - query(query: org.spongepowered.api.data.DataQuery): org.spongepowered.api.data.key.Key.Builder; - /** - * Builds a new {@link Key}, provided that the - * {@link #type(TypeToken)}, {@link #id(String)}, - * {@link #name(String)}, and {@link #query(DataQuery)} - * are set. - */ - // @ts-ignore - build(): org.spongepowered.api.data.key.Key; - // @ts-ignore - from(value: org.spongepowered.api.data.key.Key): org.spongepowered.api.data.key.Key.Builder; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.key.Key.ts b/packages/sponge/src/typings/org.spongepowered.api.data.key.Key.ts deleted file mode 100644 index cb2c9c7e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.key.Key.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace key { - // @ts-ignore - interface Key extends org.spongepowered.api.CatalogType { - /** - * Creates a {@link Key.Builder} which allows creation of a {@link Key} - * to later be registered for accessing values from - * a {@link ValueContainer}. - */ - // @ts-ignore - builder(): org.spongepowered.api.data.key.Key.Builder; - /** - * Gets the class of the {@link BaseValue} this {@link Key} is representing. - */ - // @ts-ignore - getValueToken(): any; - /** - * Gets the class of the element of the {@link BaseValue} this {@link Key} - * is representing. On occasion, if the element is a {@link Collection} type, - * one can occasionally use {@link TypeToken#resolveType(Type)} with - * {@link Class#getTypeParameters()} as the type parameter of a collection - * is retrievable, such as the element type parameter for {@link List} or - * {@link Map}. - */ - // @ts-ignore - getElementToken(): any; - /** - * Gets the {@link DataQuery} for recommended use with - * {@link DataContainer}s. - */ - // @ts-ignore - getQuery(): org.spongepowered.api.data.DataQuery; - /** - * Register an event listener which listens to the value the key accesses - * changing. - */ - // @ts-ignore - registerEvent(holderFilter: any, listener: org.spongepowered.api.event.EventListener): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.key.KeyFactory.ts b/packages/sponge/src/typings/org.spongepowered.api.data.key.KeyFactory.ts deleted file mode 100644 index 8a98a0ab..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.key.KeyFactory.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace key { - // @ts-ignore - class KeyFactory { - /** - * Creates a new {@link Key} with the provided E element class - * and V {@link Value} class along with the provided default - * {@link DataQuery} to be used with the generated {@link Key}. - *

Note that {@link Key}s are not registered, but it is recommended to - * avoid generating {@link Key}s of potentially conflicting - * {@link DataQuery}(s).

- */ - // @ts-ignore - public static makeSingleKey(elementToken: any, valueToken: any, query: org.spongepowered.api.data.DataQuery, id: string, name: string): org.spongepowered.api.data.key.Key; - /** - * Creates a new {@link Key} based on a {@link ListValue} of a type - * E element along with the provided {@link DataQuery}. - */ - // @ts-ignore - public static makeListKey(elementToken: any, valueToken: any, query: org.spongepowered.api.data.DataQuery, id: string, name: string): org.spongepowered.api.data.key.Key; - /** - * Creates a new {@link Key} based on a {@link SetValue} of a type - * E element along with the provided {@link DataQuery}. - */ - // @ts-ignore - public static makeSetKey(elementToken: any, valueToken: any, query: org.spongepowered.api.data.DataQuery, id: string, name: string): org.spongepowered.api.data.key.Key; - /** - * Creates a new {@link Key} based on a {@link MapValue} of the types - * K keys and V values with the provided - * {@link DataQuery} for accessing the {@link Map} in {@link DataView}s. - */ - // @ts-ignore - public static makeMapKey(elementToken: any, valueToken: any, query: org.spongepowered.api.data.DataQuery, id: string, name: string): org.spongepowered.api.data.key.Key; - /** - * Creates a new {@link Key} based on an {@link OptionalValue} of the type - * E element type with the provided {@link DataQuery} for - * accessing the optionally null value in {@link DataView}s. - */ - // @ts-ignore - public static makeOptionalKey(elementToken: any, valueToken: any, query: org.spongepowered.api.data.DataQuery, id: string, name: string): org.spongepowered.api.data.key.Key; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.key.Keys.ts b/packages/sponge/src/typings/org.spongepowered.api.data.key.Keys.ts deleted file mode 100644 index 9e712eac..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.key.Keys.ts +++ /dev/null @@ -1,539 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace key { - // @ts-ignore - class Keys { - // @ts-ignore - public static ABSORPTION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ACCELERATION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ACTIVE_ITEM: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AFFECTS_SPAWNING: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AGE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AI_ENABLED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ANGER: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ANGRY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AREA_EFFECT_CLOUD_AGE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AREA_EFFECT_CLOUD_COLOR: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AREA_EFFECT_CLOUD_DURATION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AREA_EFFECT_CLOUD_DURATION_ON_USE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AREA_EFFECT_CLOUD_PARTICLE_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AREA_EFFECT_CLOUD_RADIUS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AREA_EFFECT_CLOUD_RADIUS_ON_USE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AREA_EFFECT_CLOUD_RADIUS_PER_TICK: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AREA_EFFECT_CLOUD_REAPPLICATION_DELAY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AREA_EFFECT_CLOUD_WAIT_TIME: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ARMOR_STAND_HAS_ARMS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ARMOR_STAND_HAS_BASE_PLATE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ARMOR_STAND_IS_SMALL: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ARMOR_STAND_MARKER: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ARMOR_STAND_TAKING_DISABLED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ARMOR_STAND_PLACING_DISABLED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ART: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ATTACHED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ATTACK_DAMAGE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static AXIS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static BANNER_BASE_COLOR: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static BANNER_PATTERNS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static BASE_SIZE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static BASE_VEHICLE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static BEACON_PRIMARY_EFFECT: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static BEACON_SECONDARY_EFFECT: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static BIG_MUSHROOM_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static BODY_ROTATIONS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static BOOK_AUTHOR: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static BOOK_PAGES: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static BREAKABLE_BLOCK_TYPES: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static BRICK_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CAN_BREED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CAN_DROP_AS_ITEM: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CAN_FLY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CAN_GRIEF: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CAN_PLACE_AS_BLOCK: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CAREER: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CHEST_ROTATION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static COAL_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static COLOR: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static COMMAND: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static COMPARATOR_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CONNECTED_DIRECTIONS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CONNECTED_EAST: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CONNECTED_NORTH: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CONNECTED_SOUTH: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CONNECTED_WEST: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CONTAINED_EXPERIENCE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static COOKED_FISH: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static COOLDOWN: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CREEPER_CHARGED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CRITICAL_HIT: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static CUSTOM_NAME_VISIBLE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static DAMAGE_ENTITY_MAP: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static DECAYABLE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static DELAY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static DESPAWN_DELAY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static DIRECTION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static DIRT_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static DISARMED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static DISGUISED_BLOCK_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static DISPLAY_NAME: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static DOMINANT_HAND: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static DOUBLE_PLANT_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static DYE_COLOR: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static END_GATEWAY_AGE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static END_GATEWAY_TELEPORT_COOLDOWN: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static EXACT_TELEPORT: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static EXHAUSTION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static EXIT_POSITION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static EXPERIENCE_FROM_START_OF_LEVEL: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static EXPERIENCE_LEVEL: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static EXPERIENCE_SINCE_LEVEL: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static EXPIRATION_TICKS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static EXPLOSION_RADIUS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static EXTENDED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FALLING_BLOCK_CAN_HURT_ENTITIES: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FALLING_BLOCK_STATE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FALL_DAMAGE_PER_BLOCK: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FALL_DISTANCE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FALL_TIME: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FILLED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FIREWORK_EFFECTS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FIREWORK_FLIGHT_MODIFIER: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FIRE_DAMAGE_DELAY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FIRE_TICKS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FIRST_DATE_PLAYED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FISH_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FLUID_ITEM_STACK: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FLUID_LEVEL: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FLUID_TANK_CONTENTS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FLYING_SPEED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FOOD_LEVEL: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static FUSE_DURATION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static GAME_MODE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static GENERATION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static GLOWING: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static GOLDEN_APPLE_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static GROWTH_STAGE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HAS_GRAVITY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HEAD_ROTATION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HEALTH: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HEALTH_SCALE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HEIGHT: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HIDE_ATTRIBUTES: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HIDE_CAN_DESTROY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HIDE_CAN_PLACE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HIDE_ENCHANTMENTS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HIDE_MISCELLANEOUS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HIDE_UNBREAKABLE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HINGE_POSITION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HORSE_COLOR: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static HORSE_STYLE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static INFINITE_DESPAWN_DELAY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static INFINITE_PICKUP_DELAY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static INVISIBLE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static INVULNERABILITY_TICKS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static INVULNERABLE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IN_WALL: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_ADULT: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_AFLAME: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_ELYTRA_FLYING: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_FLYING: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_JOHNNY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_PLAYING: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_SCREAMING: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_SHEARED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_SILENT: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_SITTING: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_SLEEPING: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_SNEAKING: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_SPRINTING: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static IS_WET: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ITEM_BLOCKSTATE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ITEM_DURABILITY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ITEM_ENCHANTMENTS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ITEM_LORE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static JOHNNY_VINDICATOR: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static KNOCKBACK_STRENGTH: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static LAST_ATTACKER: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static LAST_COMMAND_OUTPUT: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static LAST_DAMAGE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static LAST_DATE_PLAYED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static LAYER: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static LEFT_ARM_ROTATION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static LEFT_LEG_ROTATION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static LLAMA_STRENGTH: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static LLAMA_VARIANT: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static LOCK_TOKEN: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static LOG_AXIS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static MAX_AIR: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static MAX_BURN_TIME: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static MAX_COOK_TIME: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static MAX_FALL_DAMAGE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static MAX_HEALTH: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static MOISTURE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static NOTE_PITCH: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static OCCUPIED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static OCELOT_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static OFFSET: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static OPEN: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PARROT_VARIANT: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PASSED_BURN_TIME: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PASSED_COOK_TIME: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PASSENGERS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PERSISTS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PICKUP_DELAY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PICKUP_RULE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PIG_SADDLE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PISTON_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PLACEABLE_BLOCKS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PLAIN_BOOK_PAGES: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PLANT_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PLAYER_CREATED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PORTION_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static POTION_EFFECTS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static POTION_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static POWER: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static POWERED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static PRISMARINE_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static QUARTZ_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static RABBIT_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static RAIL_DIRECTION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static REMAINING_AIR: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static REMAINING_BREW_TIME: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static REPRESENTED_BLOCK: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static REPRESENTED_ITEM: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static REPRESENTED_PLAYER: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static RESPAWN_LOCATIONS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static RIGHT_ARM_ROTATION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static RIGHT_LEG_ROTATION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static ROTATION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SANDSTONE_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SAND_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SATURATION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SCALE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SEAMLESS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SHOULD_DROP: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SHRUB_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SIGN_LINES: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SKIN_UNIQUE_ID: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SKULL_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SLAB_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SLIME_SIZE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SNOWED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SPAWNABLE_ENTITY_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SPAWNER_ENTITIES: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SPAWNER_MAXIMUM_DELAY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SPAWNER_MAXIMUM_NEARBY_ENTITIES: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SPAWNER_MINIMUM_DELAY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SPAWNER_NEXT_ENTITY_TO_SPAWN: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SPAWNER_REMAINING_DELAY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SPAWNER_REQUIRED_PLAYER_RANGE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SPAWNER_SPAWN_COUNT: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SPAWNER_SPAWN_RANGE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STAIR_SHAPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STATISTICS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STONE_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STORED_ENCHANTMENTS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STRUCTURE_AUTHOR: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STRUCTURE_IGNORE_ENTITIES: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STRUCTURE_INTEGRITY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STRUCTURE_MODE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STRUCTURE_POSITION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STRUCTURE_POWERED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STRUCTURE_SEED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STRUCTURE_SHOW_AIR: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STRUCTURE_SHOW_BOUNDING_BOX: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STRUCTURE_SIZE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static STUCK_ARROWS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SUCCESS_COUNT: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static SUSPENDED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static TAMED_OWNER: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static TARGETED_ENTITY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static TARGETED_LOCATION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static TICKS_REMAINING: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static TOTAL_EXPERIENCE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static TRACKS_OUTPUT: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static TRADE_OFFERS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static TREE_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static UNBREAKABLE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static VANISH: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static VANISH_IGNORES_COLLISION: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static VANISH_PREVENTS_TARGETING: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static VEHICLE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static VELOCITY: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static WALKING_SPEED: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static WALL_TYPE: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static WILL_SHATTER: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static WIRE_ATTACHMENTS: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static WIRE_ATTACHMENT_EAST: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static WIRE_ATTACHMENT_NORTH: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static WIRE_ATTACHMENT_SOUTH: org.spongepowered.api.data.key.Key; - // @ts-ignore - public static WIRE_ATTACHMENT_WEST: org.spongepowered.api.data.key.Key; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.DataManipulator.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.DataManipulator.ts deleted file mode 100644 index 4accf010..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.DataManipulator.ts +++ /dev/null @@ -1,103 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - // @ts-ignore - interface DataManipulator extends org.spongepowered.api.data.DataSerializable, org.spongepowered.api.data.value.ValueContainer { - /** - * Attempts to read data from the given {@link DataHolder} and fills the - * associated data onto this {@link DataManipulator}. - *

Any data that overlaps existing data from the {@link DataHolder} will - * take priority and be overwritten from the pre-existing data from the - * {@link DataHolder}. It is recommended that a call from - * {@link DataHolder#supports(Class)} is checked prior to using this - * method on any {@link DataHolder}.

- */ - // @ts-ignore - fill(dataHolder: org.spongepowered.api.data.DataHolder): any; - /** - * Attempts to read data from the given {@link DataHolder} and fills the - * associated data onto this {@link DataManipulator}. Any data that - * overlaps between this and the given {@link DataHolder} will be resolved - * using the given {@link MergeFunction}. - *

Any data that overlaps existing data from the {@link DataHolder} will - * take priority and be overwritten from the pre-existing data from the - * {@link DataHolder}. It is recommended that a call from - * {@link DataHolder#supports(Class)} is checked prior to using this - * method on any {@link DataHolder}.

- */ - // @ts-ignore - fill(dataHolder: org.spongepowered.api.data.DataHolder, overlap: org.spongepowered.api.data.merge.MergeFunction): any; - /** - * Attempts to read the raw data from the provided {@link DataContainer}. - * This manipulator should be "reset" to a default state and apply all data - * from the given {@link DataContainer}. If data is missing from the - * {@link DataContainer}, {@link Optional#empty()} can be returned. - */ - // @ts-ignore - from(container: org.spongepowered.api.data.DataContainer): any; - /** - * Sets the supported {@link Key}'s value such that the value is set on - * this {@link DataManipulator} without having to directly set the - * {@link Value} and {@link #set(BaseValue)} afterwards. The requirement - * for this to succeed is that the {@link Key} must be checked that it is - * supported via {@link #supports(BaseValue)} or {@link #supports(Key)} - * otherwise an {@link IllegalArgumentException} may be thrown. For - * fluency, after setting, this {@link DataManipulator} is returned. - */ - // @ts-ignore - set(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.data.manipulator.DataManipulator; - /** - * Sets the supported {@link BaseValue} onto this {@link DataManipulator}. - * The requirement for this to succeed is that the {@link BaseValue} is - * checked for support via {@link #supports(BaseValue)} or - * {@link #supports(Key)} otherwise an {@link IllegalArgumentException} - * may be thrown. For fluency, after setting, this {@link DataManipulator} - * is returned. - */ - // @ts-ignore - set(value: org.spongepowered.api.data.value.BaseValue): org.spongepowered.api.data.manipulator.DataManipulator; - /** - * Sets the supported {@link BaseValue}s onto this {@link DataManipulator}. - * The requirement for this to succeed is that the {@link BaseValue} is - * checked for support via {@link #supports(BaseValue)} or - * {@link #supports(Key)} otherwise an {@link IllegalArgumentException} - * may be thrown. For fluency, after setting, this {@link DataManipulator} - * is returned. - */ - // @ts-ignore - set(values: org.spongepowered.api.data.value.BaseValue): org.spongepowered.api.data.manipulator.DataManipulator; - /** - * Sets the supported {@link BaseValue}s onto this {@link DataManipulator}. - * The requirement for this to succeed is that the {@link BaseValue} is - * checked for support via {@link #supports(BaseValue)} or - * {@link #supports(Key)} otherwise an {@link IllegalArgumentException} - * may be thrown. For fluency, after setting, this {@link DataManipulator} - * is returned. - */ - // @ts-ignore - set(values: any): org.spongepowered.api.data.manipulator.DataManipulator; - /** - * Applies a transformation on the provided value if available. This is - * the same as {@link CompositeValueStore#transform(Key, Function)}. - */ - // @ts-ignore - transform(key: org.spongepowered.api.data.key.Key, func: any): org.spongepowered.api.data.manipulator.DataManipulator; - // @ts-ignore - copy(): org.spongepowered.api.data.manipulator.DataManipulator; - /** - * Gets an {@link ImmutableDataManipulator} copy of this - * {@link DataManipulator} such that all backed {@link Value}s are copied - * into {@link ImmutableValue} counterparts. Any changes to this - * {@link DataManipulator} will NOT be reflected on the returned - * {@link ImmutableDataManipulator} and vice versa. - */ - // @ts-ignore - asImmutable(): org.spongepowered.api.data.manipulator.ImmutableDataManipulator; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.DataManipulatorBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.DataManipulatorBuilder.ts deleted file mode 100644 index 3ec81df5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.DataManipulatorBuilder.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - // @ts-ignore - interface DataManipulatorBuilder extends org.spongepowered.api.data.persistence.DataBuilder { - /** - * Creates a new specific {@link DataManipulator} for consumption. - */ - // @ts-ignore - create(): org.spongepowered.api.data.manipulator.DataManipulator; - /** - * Attempts to read data from the given {@link DataHolder} and constructs - * a new copy of the {@link DataManipulator} as an instance of - * T. - *

If the {@link DataHolder} does not contain the necessary information - * to pre-populate the {@link DataManipulator}, a fresh new - * {@link DataManipulator} is returned. If the {@link DataManipulator} is - * incompatible with the {@link DataHolder}, {@link Optional#empty()} is - * returned.

- */ - // @ts-ignore - createFrom(dataHolder: org.spongepowered.api.data.DataHolder): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.ImmutableDataManipulator.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.ImmutableDataManipulator.ts deleted file mode 100644 index 741aa998..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.ImmutableDataManipulator.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - // @ts-ignore - interface ImmutableDataManipulator extends org.spongepowered.api.data.DataSerializable, org.spongepowered.api.data.value.ValueContainer { - /** - * Creates a new {@link ImmutableDataManipulator} with the provided value - * if the {@link Key} is supported by this {@link ImmutableDataManipulator} - * without exception. - */ - // @ts-ignore - with(key: org.spongepowered.api.data.key.Key, value: any): any; - /** - * Creates a new {@link ImmutableDataManipulator} with the provided - * {@link BaseValue} provided that the {@link BaseValue} is supported by - * this {@link ImmutableDataManipulator}. A simple check can be called for - * {@link #supports(BaseValue)} prior to ensure - * {@link Optional#isPresent()} returns {@code true}. - */ - // @ts-ignore - with(value: org.spongepowered.api.data.value.BaseValue): any; - // @ts-ignore - copy(): org.spongepowered.api.data.manipulator.ImmutableDataManipulator; - /** - * Gets a {@link DataManipulator} copy of this - * {@link ImmutableDataManipulator} such that all backed - * {@link ImmutableValue}s are copied into their {@link Value} - * counterparts. Any changes to this {@link ImmutableDataManipulator} will - * NOT be reflected on the returned {@link DataManipulator} and vice versa. - */ - // @ts-ignore - asMutable(): org.spongepowered.api.data.manipulator.DataManipulator; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.ImmutableDataManipulatorBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.ImmutableDataManipulatorBuilder.ts deleted file mode 100644 index 7ce9aabc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.ImmutableDataManipulatorBuilder.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - // @ts-ignore - interface ImmutableDataManipulatorBuilder extends org.spongepowered.api.data.persistence.DataBuilder { - /** - * Creates a new specific {@link ImmutableDataManipulator} for consumption. - */ - // @ts-ignore - createImmutable(): org.spongepowered.api.data.manipulator.ImmutableDataManipulator; - /** - * Attempts to read data from the given {@link DataHolder} and constructs - * a new copy of the {@link DataManipulator} as an instance of - * T. - *

If the {@link DataHolder} does not contain the necessary information - * to pre-populate the {@link DataManipulator}, a fresh new - * {@link DataManipulator} is returned. If the {@link DataManipulator} is - * incompatible with the {@link DataHolder}, {@link Optional#empty()} is - * returned.

- */ - // @ts-ignore - createFrom(dataHolder: org.spongepowered.api.data.DataHolder): any; - /** - * Creates the desired {@link ImmutableDataManipulator} from the provided - * {@link ImmutableDataHolder}, if it is supported. - */ - // @ts-ignore - createFrom(dataHolder: org.spongepowered.api.data.ImmutableDataHolder): any; - // @ts-ignore - reset(): org.spongepowered.api.data.manipulator.ImmutableDataManipulatorBuilder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogBlockData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogBlockData.ts deleted file mode 100644 index 7803ecfc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogBlockData.ts +++ /dev/null @@ -1,103 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace catalog { - // @ts-ignore - class CatalogBlockData { - // @ts-ignore - public static ATTACHED_DATA: any; - // @ts-ignore - public static AXIS_DATA: any; - // @ts-ignore - public static BIG_MUSHROOM_DATA: any; - // @ts-ignore - public static BRICK_DATA: any; - // @ts-ignore - public static CONNECTED_DIRECTION_DATA: any; - // @ts-ignore - public static DECAYABLE_DATA: any; - // @ts-ignore - public static DELAYABLE_DATA: any; - // @ts-ignore - public static DIRECTIONAL_DATA: any; - // @ts-ignore - public static DIRT_DATA: any; - // @ts-ignore - public static DISARMED_DATA: any; - // @ts-ignore - public static DISGUISED_BLOCK_DATA: any; - // @ts-ignore - public static DOUBLE_PLANT_DATA: any; - // @ts-ignore - public static DYEABLE_DATA: any; - // @ts-ignore - public static EXTENDED_DATA: any; - // @ts-ignore - public static FILLED_DATA: any; - // @ts-ignore - public static FLUID_LEVEL_DATA: any; - // @ts-ignore - public static GROWTH_DATA: any; - // @ts-ignore - public static HINGE_DATA: any; - // @ts-ignore - public static IN_WALL_DATA: any; - // @ts-ignore - public static LAYERED_DATA: any; - // @ts-ignore - public static MOISTURE_DATA: any; - // @ts-ignore - public static NO_DROP_DATA: any; - // @ts-ignore - public static OCCUPIED_DATA: any; - // @ts-ignore - public static OPEN_DATA: any; - // @ts-ignore - public static PISTON_DATA: any; - // @ts-ignore - public static PORTION_DATA: any; - // @ts-ignore - public static POWERED_DATA: any; - // @ts-ignore - public static PRISMARINE_DATA: any; - // @ts-ignore - public static QUARTZ_DATA: any; - // @ts-ignore - public static RAIL_DIRECTION_DATA: any; - // @ts-ignore - public static REDSTONE_POWERED_DATA: any; - // @ts-ignore - public static ROTATIONAL_DATA: any; - // @ts-ignore - public static SAND_DATA: any; - // @ts-ignore - public static SANDSTONE_DATA: any; - // @ts-ignore - public static SEAMLESS_DATA: any; - // @ts-ignore - public static SHRUB_DATA: any; - // @ts-ignore - public static SLAB_DATA: any; - // @ts-ignore - public static SNOWED_DATA: any; - // @ts-ignore - public static STAIR_SHAPE_DATA: any; - // @ts-ignore - public static STONE_DATA: any; - // @ts-ignore - public static TREE_DATA: any; - // @ts-ignore - public static WALL_DATA: any; - // @ts-ignore - public static WET_DATA: any; - // @ts-ignore - public static WIRE_ATTACHMENT_DATA: any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogEntityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogEntityData.ts deleted file mode 100644 index 29ee0dfa..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogEntityData.ts +++ /dev/null @@ -1,149 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace catalog { - // @ts-ignore - class CatalogEntityData { - // @ts-ignore - public static ACCELERATION_DATA: any; - // @ts-ignore - public static AGEABLE_DATA: any; - // @ts-ignore - public static AGENT_DATA: any; - // @ts-ignore - public static AGGRESSIVE_DATA: any; - // @ts-ignore - public static ANGERABLE_DATA: any; - // @ts-ignore - public static DISABLED_SLOTS_DATA: any; - // @ts-ignore - public static ART_DATA: any; - // @ts-ignore - public static BODY_PART_ROTATIONAL_DATA: any; - // @ts-ignore - public static BREATHING_DATA: any; - // @ts-ignore - public static BREEDABLE_DATA: any; - // @ts-ignore - public static CAREER_DATA: any; - // @ts-ignore - public static CHARGED_DATA: any; - // @ts-ignore - public static CRITICAL_HIT_DATA: any; - // @ts-ignore - public static DAMAGEABLE_DATA: any; - // @ts-ignore - public static DAMAGING_DATA: any; - // @ts-ignore - public static DISPLAY_NAME_DATA: any; - // @ts-ignore - public static DOMINANT_HAND_DATA: any; - // @ts-ignore - public static DYEABLE_DATA: any; - // @ts-ignore - public static EXPERIENCE_HOLDER_DATA: any; - // @ts-ignore - public static EXPIRABLE_DATA_CLASS: any; - // @ts-ignore - public static EXPLOSIVE_RADIUS_DATA: any; - // @ts-ignore - public static FALLING_BLOCK_DATA: any; - // @ts-ignore - public static FIREWORK_EFFECT_DATA: any; - // @ts-ignore - public static FIREWORK_ROCKET_DATA: any; - // @ts-ignore - public static FLYING_DATA: any; - // @ts-ignore - public static FOOD_DATA: any; - // @ts-ignore - public static FUSE_DATA: any; - // @ts-ignore - public static GAME_MODE_DATA: any; - // @ts-ignore - public static GLOWING_DATA: any; - // @ts-ignore - public static GRAVITY_DATA: any; - // @ts-ignore - public static GRIEFING_DATA: any; - // @ts-ignore - public static HEALTH_DATA: any; - // @ts-ignore - public static HORSE_DATA: any; - // @ts-ignore - public static IGNITEABLE_DATA: any; - // @ts-ignore - public static INVISIBILITY_DATA: any; - // @ts-ignore - public static JOHNNY_DATA: any; - // @ts-ignore - public static JOIN_DATA: any; - // @ts-ignore - public static KNOCKBACK_DATA: any; - // @ts-ignore - public static LEASH_DATA: any; - // @ts-ignore - public static TARGETED_ENTITY_DATA: any; - // @ts-ignore - public static LOCATION_DATA: any; - // @ts-ignore - public static MINECART_BLOCK_DATA: any; - // @ts-ignore - public static OCELOT_DATA: any; - // @ts-ignore - public static ORB_DATA: any; - // @ts-ignore - public static PASSENGER_DATA: any; - // @ts-ignore - public static PERSISTING_DATA: any; - // @ts-ignore - public static PLAYER_CREATED_DATA: any; - // @ts-ignore - public static PLAYING_DATA: any; - // @ts-ignore - public static POTION_EFFECT_DATA: any; - // @ts-ignore - public static RABBIT_DATA: any; - // @ts-ignore - public static REPRESENTED_ITEM_DATA: any; - // @ts-ignore - public static RESPAWN_LOCATION_DATA: any; - // @ts-ignore - public static PIG_SADDLE_DATA: any; - // @ts-ignore - public static SCREAMING_DATA: any; - // @ts-ignore - public static SILENT_DATA: any; - // @ts-ignore - public static SHATTERING_DATA: any; - // @ts-ignore - public static SHEARED_DATA: any; - // @ts-ignore - public static SITTING_DATA: any; - // @ts-ignore - public static SIZE_DATA: any; - // @ts-ignore - public static SLEEPING_DATA: any; - // @ts-ignore - public static SLIME_DATA: any; - // @ts-ignore - public static SNEAKING_DATA: any; - // @ts-ignore - public static STATISTIC_DATA: any; - // @ts-ignore - public static TAMEABLE_DATA: any; - // @ts-ignore - public static VEHICLE_DATA: any; - // @ts-ignore - public static VELOCITY_DATA: any; - // @ts-ignore - public static WET_DATA: any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogItemData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogItemData.ts deleted file mode 100644 index 815cf3e5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogItemData.ts +++ /dev/null @@ -1,63 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace catalog { - // @ts-ignore - class CatalogItemData { - // @ts-ignore - public static BLOCK_ITEM_DATA: any; - // @ts-ignore - public static BREAKABLE_DATA: any; - // @ts-ignore - public static CLONEABLE_DATA: any; - // @ts-ignore - public static COAL_ITEM_DATA: any; - // @ts-ignore - public static COLORED_ITEM_DATA: any; - // @ts-ignore - public static COOKED_FISH_ITEM_DATA: any; - // @ts-ignore - public static DISPLAY_NAME_DATA: any; - // @ts-ignore - public static DURABILITY_DATA: any; - // @ts-ignore - public static DYEABLE_DATA: any; - // @ts-ignore - public static ENCHANTMENT_DATA: any; - // @ts-ignore - public static FIREWORK_EFFECT_DATA: any; - // @ts-ignore - public static FIREWORK_ROCKET_DATA: any; - // @ts-ignore - public static FISH_DATA: any; - // @ts-ignore - public static GOLDEN_APPLE_ITEM_DATA: any; - // @ts-ignore - public static INVENTORY_ITEM_DATA: any; - // @ts-ignore - public static LORE_DATA: any; - // @ts-ignore - public static MAP_ITEM_DATA: any; - // @ts-ignore - public static PAGED_DATA: any; - // @ts-ignore - public static PLACEABLE_DATA: any; - // @ts-ignore - public static POTION_EFFECT_DATA: any; - // @ts-ignore - public static POTION_TYPE_DATA: any; - // @ts-ignore - public static SPAWNABLE_DATA: any; - // @ts-ignore - public static STORED_ENCHANTMENT_DATA: any; - // @ts-ignore - public static TARGETED_LOCATION_DATA: any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogTileEntityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogTileEntityData.ts deleted file mode 100644 index c4f9be23..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.catalog.CatalogTileEntityData.ts +++ /dev/null @@ -1,43 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace catalog { - // @ts-ignore - class CatalogTileEntityData { - // @ts-ignore - public static BANNER_DATA: any; - // @ts-ignore - public static BEACON_DATA: any; - // @ts-ignore - public static BREWING_DATA: any; - // @ts-ignore - public static COMMAND_DATA: any; - // @ts-ignore - public static COMPARISON_DATA: any; - // @ts-ignore - public static COOLDOWN_DATA: any; - // @ts-ignore - public static DISPLAY_NAME_DATA: any; - // @ts-ignore - public static FURNACE_DATA: any; - // @ts-ignore - public static LOCKABLE_DATA: any; - // @ts-ignore - public static NOTE_DATA: any; - // @ts-ignore - public static REPRESENTED_PLAYER_DATA: any; - // @ts-ignore - public static JUKEBOX_DATA: any; - // @ts-ignore - public static SIGN_DATA: any; - // @ts-ignore - public static MOB_SPAWNER_DATA: any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData.ts deleted file mode 100644 index 11064ad8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableColoredData.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableColoredData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the {@link Color}. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData.ts deleted file mode 100644 index cdb03a49..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableCommandData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the currently stored command. - */ - // @ts-ignore - storedCommand(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the success count of the last executed command. - *

The success count is the number of times the most recently used - * command of this command block succeeded. Most commands can only succeed - * once per execution, but certain commands (such as those which accept - * players as arguments) can succeed multiple times, and this value will be - * set accordingly. This success count can also be polled via a redstone - * comparator.

- */ - // @ts-ignore - successCount(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets whether this command block will keep track of the output from the - * last command it executed. - */ - // @ts-ignore - doesTrackOutput(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the last command output. - *

This will only be available if {@link #doesTrackOutput()} is set to - * true, otherwise {@link Optional#empty()} will be returned.

- */ - // @ts-ignore - lastOutput(): org.spongepowered.api.data.value.immutable.ImmutableOptionalValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableDisplayNameData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableDisplayNameData.ts deleted file mode 100644 index df417d24..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableDisplayNameData.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableDisplayNameData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the display name as a {@link Text}. The display name may be - * player set, or it may be undefined. - */ - // @ts-ignore - displayName(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableDyeableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableDyeableData.ts deleted file mode 100644 index 3fd8da41..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableDyeableData.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableDyeableData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableFireworkEffectData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableFireworkEffectData.ts deleted file mode 100644 index a6bdb721..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableFireworkEffectData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableFireworkEffectData extends org.spongepowered.api.data.manipulator.immutable.ImmutableListData { - /** - * Gets the {@link ImmutableListValue} of {@link FireworkEffect}s. - *

Note that for {@link ItemTypes#FIREWORK_CHARGE} only the first effect - * will apply to the charge.

- */ - // @ts-ignore - effects(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableFireworkRocketData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableFireworkRocketData.ts deleted file mode 100644 index d9260a58..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableFireworkRocketData.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableFireworkRocketData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the flight modifier. - *

Flight modifiers are tiered ranks of flight duration. Generally, - * the modifier is used to calculate the fuse time of a firework when - * launched. This can be approximated by multiplying 10 and the modifier, - * and adding a random number between 0 and 13. Again, this is a general - * approximation of what vanilla Minecraft performs.

- */ - // @ts-ignore - flightModifier(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableListData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableListData.ts deleted file mode 100644 index 6a4e972e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableListData.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableListData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableListValue} of this {@link ImmutableListData}. - */ - // @ts-ignore - getListValue(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - /** - * Gets the {@link List} value itself from this manipulator. - */ - // @ts-ignore - asList(): any[] /*java.util.List*/; - /** - * Gets an element of type {@code E} by the provided {@code index}. - */ - // @ts-ignore - get(index: number): any; - /** - * Returns whether the underlying {@link List} contains the provided - * {@code element}. - */ - // @ts-ignore - contains(element: any): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableMappedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableMappedData.ts deleted file mode 100644 index 7bd83a1f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableMappedData.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableMappedData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@code value} for the provided {@code key}, if available. - */ - // @ts-ignore - get(key: any): any; - /** - * Gets a {@link Set} of {@code keys} available in this manipulator. - */ - // @ts-ignore - getMapKeys(): any[] /*java.util.Set*/; - /** - * Gets the {@link java.util.Map.Entry} {@link Set} of values. - */ - // @ts-ignore - getMapValues(): any[] /*java.util.Set*/; - /** - * Gets the {@link ImmutableMapValue} of this manipulator. - */ - // @ts-ignore - getMapValue(): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - /** - * Gets this manipulator as a {@link Map}. - */ - // @ts-ignore - asMap(): Map /*java.util.Map*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableMobSpawnerData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableMobSpawnerData.ts deleted file mode 100644 index fb145162..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableMobSpawnerData.ts +++ /dev/null @@ -1,80 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableMobSpawnerData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the remaining delay before - * a new attempt at spawning an {@link Entity} is made. - */ - // @ts-ignore - remainingDelay(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the minimum spawn delay - * required between attempts to spawn an {@link Entity}. - */ - // @ts-ignore - minimumSpawnDelay(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the maximum spawn delay - * required between attempts to spawn an {@link Entity}. - */ - // @ts-ignore - maximumSpawnDelay(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the count of successful - * spawns of all {@link Entity} instances from the owning spawner. This - * count is simply a total count, there is no limitation on how many - * attempts are made to spawn an {@link Entity}. - */ - // @ts-ignore - spawnCount(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the limitation on the number - * of nearby {@link Entity} instances can exist near the owning spawner. The - * limitation is that if there are more {@link Entity} instances than the - * provided value, no attempts to spawn a new {@link Entity} will be made. - */ - // @ts-ignore - maximumNearbyEntities(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the minimum range a - * {@link Player} must remain in proximity of the spawner, such that if a - * {@link Player} is NOT within the provided range, no attempts to spawn an - * {@link Entity} is made. - */ - // @ts-ignore - requiredPlayerRange(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the maximum range that an - * {@link Entity} can be spawned from the spawner. - */ - // @ts-ignore - spawnRange(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableValue} for the overridden - * {@link WeightedSerializableObject}{@code } to spawn next. If possible, the next entity to - * spawn may be chosen from the already provided - * {@link #possibleEntitiesToSpawn()}. - */ - // @ts-ignore - nextEntityToSpawn(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableWeightedCollectionValue} of all possible - * {@link Entity} instances that can be spawned by the spawner. As they - * are all {@link WeightedSerializableObject} instances, their weight is - * defined as a {@link Random} to determine the next {@link Entity} that - * will be spawned, unless overriden by {@link #nextEntityToSpawn()}. - */ - // @ts-ignore - possibleEntitiesToSpawn(): org.spongepowered.api.data.value.immutable.ImmutableWeightedCollectionValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData.ts deleted file mode 100644 index 6269a9c6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutablePotionEffectData.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutablePotionEffectData extends org.spongepowered.api.data.manipulator.immutable.ImmutableListData { - /** - * Gets the {@link ImmutableListValue} of the {@link PotionEffect}s. - */ - // @ts-ignore - effects(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutablePotionTypeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutablePotionTypeData.ts deleted file mode 100644 index 03aa1e54..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutablePotionTypeData.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutablePotionTypeData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} of the {@link PotionType}. - */ - // @ts-ignore - type(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableRepresentedItemData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableRepresentedItemData.ts deleted file mode 100644 index d54d9b6a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableRepresentedItemData.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableRepresentedItemData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the represented {@link ItemStack} - * as an {@link ItemStackSnapshot}. - */ - // @ts-ignore - item(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableRepresentedPlayerData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableRepresentedPlayerData.ts deleted file mode 100644 index 1a0f8dae..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableRepresentedPlayerData.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableRepresentedPlayerData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the {@link GameProfile} that is - * represented by the {@link DataHolder}. - */ - // @ts-ignore - owner(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableRotationalData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableRotationalData.ts deleted file mode 100644 index 097ddf92..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableRotationalData.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableRotationalData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableSkullData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableSkullData.ts deleted file mode 100644 index 38e6db1c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableSkullData.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableSkullData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableTargetedLocationData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableTargetedLocationData.ts deleted file mode 100644 index 8d6c9bf4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableTargetedLocationData.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableTargetedLocationData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the targeted {@link Vector3d}. - */ - // @ts-ignore - target(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData.ts deleted file mode 100644 index 8d4e3e65..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableVariantData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} of the the element type. - */ - // @ts-ignore - type(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableWetData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableWetData.ts deleted file mode 100644 index 65122f9f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.ImmutableWetData.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableWetData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "wet" state. - */ - // @ts-ignore - wet(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableAttachedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableAttachedData.ts deleted file mode 100644 index 9490c1c2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableAttachedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableAttachedData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "attached" state. - */ - // @ts-ignore - attached(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableAxisData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableAxisData.ts deleted file mode 100644 index 8505e69f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableAxisData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableAxisData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - /** - * Gets the {@link ImmutableValue} for the {@link Axis} value. - */ - // @ts-ignore - axis(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableBigMushroomData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableBigMushroomData.ts deleted file mode 100644 index 04096ea6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableBigMushroomData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableBigMushroomData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableBrickData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableBrickData.ts deleted file mode 100644 index 41428a6f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableBrickData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableBrickData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableComparatorData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableComparatorData.ts deleted file mode 100644 index 0589d03e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableComparatorData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableComparatorData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableConnectedDirectionData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableConnectedDirectionData.ts deleted file mode 100644 index 3df93e8d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableConnectedDirectionData.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableConnectedDirectionData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableSetValue} for the currently "connected" - * {@link Direction}s. - */ - // @ts-ignore - connectedDirections(): org.spongepowered.api.data.value.immutable.ImmutableSetValue; - /** - * Gets the {@link ImmutableValue} for whether {@link Direction#NORTH} is - * "connected". - */ - // @ts-ignore - connectedNorth(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for whether {@link Direction#SOUTH} is - * "connected". - */ - // @ts-ignore - connectedSouth(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for whether {@link Direction#EAST} is - * "connected". - */ - // @ts-ignore - connectedEast(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for whether {@link Direction#WEST} is - * "connected". - */ - // @ts-ignore - connectedWest(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDecayableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDecayableData.ts deleted file mode 100644 index 5049078e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDecayableData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableDecayableData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for whether the "decayable" state is - * {@code true} or {@code false}. - */ - // @ts-ignore - decayable(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDelayableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDelayableData.ts deleted file mode 100644 index d2781d8b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDelayableData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableDelayableData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the delay. - */ - // @ts-ignore - delay(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDirectionalData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDirectionalData.ts deleted file mode 100644 index 171a9f6d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDirectionalData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableDirectionalData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the current "facing" - * {@link Direction}. - */ - // @ts-ignore - direction(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDirtData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDirtData.ts deleted file mode 100644 index 04c5ecba..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDirtData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableDirtData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDisarmedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDisarmedData.ts deleted file mode 100644 index acaf7128..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDisarmedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableDisarmedData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the current "disarmed" state. - */ - // @ts-ignore - disarmed(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDisguisedBlockData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDisguisedBlockData.ts deleted file mode 100644 index f1e5d801..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDisguisedBlockData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableDisguisedBlockData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDoublePlantData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDoublePlantData.ts deleted file mode 100644 index 2c6f6711..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDoublePlantData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableDoublePlantData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDropData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDropData.ts deleted file mode 100644 index 48fc6457..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableDropData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableDropData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "droppable" state. - */ - // @ts-ignore - willDrop(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableExtendedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableExtendedData.ts deleted file mode 100644 index a62e42f1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableExtendedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableExtendedData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "extended" state. - */ - // @ts-ignore - extended(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableFilledData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableFilledData.ts deleted file mode 100644 index 60173f0a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableFilledData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableFilledData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "filled" state. - */ - // @ts-ignore - filled(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableFluidLevelData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableFluidLevelData.ts deleted file mode 100644 index 1160e204..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableFluidLevelData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableFluidLevelData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} of the "fluid level" state. - */ - // @ts-ignore - level(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableGrowthData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableGrowthData.ts deleted file mode 100644 index 3843805d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableGrowthData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableGrowthData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the "growth" stage. - */ - // @ts-ignore - growthStage(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableHingeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableHingeData.ts deleted file mode 100644 index 2a15507d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableHingeData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableHingeData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableInWallData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableInWallData.ts deleted file mode 100644 index c32a78e3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableInWallData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableInWallData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "in-wall" state. - */ - // @ts-ignore - inWall(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableLayeredData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableLayeredData.ts deleted file mode 100644 index 81e9b61b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableLayeredData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableLayeredData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the "layer" state. - */ - // @ts-ignore - layer(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableLogAxisData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableLogAxisData.ts deleted file mode 100644 index 358344ec..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableLogAxisData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableLogAxisData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableMoistureData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableMoistureData.ts deleted file mode 100644 index 544af2ec..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableMoistureData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableMoistureData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the "moisture" state. - */ - // @ts-ignore - moisture(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableOccupiedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableOccupiedData.ts deleted file mode 100644 index aa48f6d5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableOccupiedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableOccupiedData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "occupied" state. - */ - // @ts-ignore - occupied(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableOpenData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableOpenData.ts deleted file mode 100644 index 386b8fa9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableOpenData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableOpenData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "open" state. - */ - // @ts-ignore - open(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePistonData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePistonData.ts deleted file mode 100644 index 8eb75c89..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePistonData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutablePistonData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePlantData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePlantData.ts deleted file mode 100644 index 1efc5b83..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePlantData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutablePlantData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePortionData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePortionData.ts deleted file mode 100644 index 240992cb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePortionData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutablePortionData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePoweredData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePoweredData.ts deleted file mode 100644 index 3561dde8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePoweredData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutablePoweredData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "powered" state. - */ - // @ts-ignore - powered(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePrismarineData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePrismarineData.ts deleted file mode 100644 index 4f00e5cd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutablePrismarineData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutablePrismarineData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableQuartzData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableQuartzData.ts deleted file mode 100644 index aac72076..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableQuartzData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableQuartzData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableRailDirectionData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableRailDirectionData.ts deleted file mode 100644 index f1fcfb06..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableRailDirectionData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableRailDirectionData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableRedstonePoweredData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableRedstonePoweredData.ts deleted file mode 100644 index e9a532c2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableRedstonePoweredData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableRedstonePoweredData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the output of "redstone - * power". - */ - // @ts-ignore - power(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSandData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSandData.ts deleted file mode 100644 index a2648fa7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSandData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableSandData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSandstoneData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSandstoneData.ts deleted file mode 100644 index 8c678d41..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSandstoneData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableSandstoneData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSeamlessData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSeamlessData.ts deleted file mode 100644 index c746094c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSeamlessData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableSeamlessData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "seamless" state. - */ - // @ts-ignore - seamless(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableShrubData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableShrubData.ts deleted file mode 100644 index 33159e46..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableShrubData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableShrubData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSlabData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSlabData.ts deleted file mode 100644 index d8d53a22..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSlabData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableSlabData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSnowedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSnowedData.ts deleted file mode 100644 index a3a5a94e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableSnowedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableSnowedData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "snowed" state. - */ - // @ts-ignore - hasSnow(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableStairShapeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableStairShapeData.ts deleted file mode 100644 index 84250c20..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableStairShapeData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableStairShapeData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableStoneData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableStoneData.ts deleted file mode 100644 index 3ef033bd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableStoneData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableStoneData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableTreeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableTreeData.ts deleted file mode 100644 index 4e812437..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableTreeData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableTreeData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableWallData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableWallData.ts deleted file mode 100644 index 0b8b4129..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableWallData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableWallData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableWireAttachmentData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableWireAttachmentData.ts deleted file mode 100644 index 910915d4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.block.ImmutableWireAttachmentData.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace block { - // @ts-ignore - interface ImmutableWireAttachmentData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the current {@link ImmutableMapValue} for the available - * {@link Direction}s and associated{@link WireAttachmentType}s. - */ - // @ts-ignore - wireAttachments(): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - /** - * Gets the {@link ImmutableValue} for the {@link Direction#NORTH}'s - * {@link WireAttachmentType}. - */ - // @ts-ignore - wireAttachmentNorth(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the {@link Direction#SOUTH}'s - * {@link WireAttachmentType}. - */ - // @ts-ignore - wireAttachmentSouth(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the {@link Direction#EAST}'s - * {@link WireAttachmentType}. - */ - // @ts-ignore - wireAttachmentEast(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the {@link Direction#WEST}'s - * {@link WireAttachmentType}. - */ - // @ts-ignore - wireAttachmentWest(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableBooleanData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableBooleanData.ts deleted file mode 100644 index 4bc1a57b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableBooleanData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace common { - // @ts-ignore - abstract class AbstractImmutableBooleanData extends org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleData { - constructor(value: boolean, usedKey: org.spongepowered.api.data.key.Key, defaultValue: boolean) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: boolean) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: boolean, defaultValue: boolean) - // @ts-ignore - protected getValueGetter(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableBoundedComparableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableBoundedComparableData.ts deleted file mode 100644 index 6ecdab74..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableBoundedComparableData.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace common { - // @ts-ignore - abstract class AbstractImmutableBoundedComparableData extends org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleData { - constructor(value: any, usedKey: org.spongepowered.api.data.key.Key, comparator: any, lowerBound: any, upperBound: any, defaultValue: any) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any, lowerBound: any, upperBound: any, comparator: any) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any, defaultValue: any, lowerBound: any, upperBound: any, comparator: any) - // @ts-ignore - protected comparator: any; - // @ts-ignore - protected lowerBound: any; - // @ts-ignore - protected upperBound: any; - // @ts-ignore - protected defaultValue: any; - // @ts-ignore - protected getValueGetter(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableData.ts deleted file mode 100644 index c49e4521..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableData.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace common { - // @ts-ignore - abstract class AbstractImmutableData implements org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - constructor() - /** - * Simple registration method for the keys to value return methods. - *

Note that this is still usable with Java 8 method references. - * Referencing {@code this::getfoo()} is recommended.

- */ - // @ts-ignore - protected registerKeyValue(key: org.spongepowered.api.data.key.Key, func: any): void; - /** - * Simple registration method for the keys to field getter methods. - *

Note that this is still usable with Java 8 method references. - * Referencing {@code this::getfoo()} is recommended.

- */ - // @ts-ignore - protected registerFieldGetter(key: org.spongepowered.api.data.key.Key, func: any): void; - // @ts-ignore - protected abstract registerGetters(): void; - // @ts-ignore - public copy(): org.spongepowered.api.data.manipulator.ImmutableDataManipulator; - // @ts-ignore - public get(key: org.spongepowered.api.data.key.Key): any; - // @ts-ignore - public getValue(key: org.spongepowered.api.data.key.Key): any; - // @ts-ignore - public supports(key: org.spongepowered.api.data.key.Key): boolean; - // @ts-ignore - public getKeys(): any[] /*java.util.Set*/; - // @ts-ignore - public getValues(): any[] /*java.util.Set*/; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - /** - * Implement this method to add the data to be persisted. - */ - // @ts-ignore - protected fillContainer(dataContainer: org.spongepowered.api.data.DataContainer): org.spongepowered.api.data.DataContainer; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableListData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableListData.ts deleted file mode 100644 index a9e4ff3d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableListData.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace common { - // @ts-ignore - abstract class AbstractImmutableListData extends org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleData implements org.spongepowered.api.data.manipulator.immutable.ImmutableListData { - constructor(value: any[] /*java.util.List*/, usedKey: org.spongepowered.api.data.key.Key) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any[] /*java.util.List*/) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any[] /*java.util.List*/, defaultValue: any[] /*java.util.List*/) - // @ts-ignore - protected getValueGetter(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - // @ts-ignore - public getListValue(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - // @ts-ignore - public asList(): any[] /*java.util.List*/; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableMappedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableMappedData.ts deleted file mode 100644 index 7c09e9f4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableMappedData.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace common { - // @ts-ignore - abstract class AbstractImmutableMappedData extends org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleData implements org.spongepowered.api.data.manipulator.immutable.ImmutableMappedData { - constructor(value: Map /*java.util.Map*/, usedKey: org.spongepowered.api.data.key.Key) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: Map /*java.util.Map*/) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: Map /*java.util.Map*/, defaultValue: Map /*java.util.Map*/) - // @ts-ignore - protected getValueGetter(): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - // @ts-ignore - public get(key: any): any; - // @ts-ignore - public getMapKeys(): any[] /*java.util.Set*/; - // @ts-ignore - public getMapValue(): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleCatalogData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleCatalogData.ts deleted file mode 100644 index 0facd785..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleCatalogData.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace common { - // @ts-ignore - abstract class AbstractImmutableSingleCatalogData extends org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleData implements org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - constructor(value: org.spongepowered.api.CatalogType, defaultValue: org.spongepowered.api.CatalogType, usedKey: org.spongepowered.api.data.key.Key) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: org.spongepowered.api.CatalogType) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: org.spongepowered.api.CatalogType, defaultValue: org.spongepowered.api.CatalogType) - // @ts-ignore - protected getValueGetter(): org.spongepowered.api.data.value.immutable.ImmutableValue; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public type(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleData.ts deleted file mode 100644 index 510ff996..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleData.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace common { - // @ts-ignore - abstract class AbstractImmutableSingleData extends org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableData { - constructor(value: any, usedKey: org.spongepowered.api.data.key.Key) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any, defaultValue: any) - // @ts-ignore - protected usedKey: org.spongepowered.api.data.key.Key; - // @ts-ignore - protected value: any; - // @ts-ignore - protected defaultValue: any; - // @ts-ignore - protected abstract getValueGetter(): org.spongepowered.api.data.value.immutable.ImmutableValue; - // @ts-ignore - protected getValue(): any; - // @ts-ignore - public abstract asMutable(): org.spongepowered.api.data.manipulator.DataManipulator; - // @ts-ignore - protected registerGetters(): void; - // @ts-ignore - public get(key: org.spongepowered.api.data.key.Key): any; - // @ts-ignore - public supports(key: org.spongepowered.api.data.key.Key): boolean; - // @ts-ignore - public getKeys(): any[] /*java.util.Set*/; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleEnumData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleEnumData.ts deleted file mode 100644 index c2b48699..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleEnumData.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace common { - // @ts-ignore - abstract class AbstractImmutableSingleEnumData extends org.spongepowered.api.data.manipulator.immutable.common.AbstractImmutableSingleData { - constructor(value: any, defaultValue: any, usedKey: org.spongepowered.api.data.key.Key) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any, defaultValue: any) - // @ts-ignore - protected enumType(): org.spongepowered.api.data.value.immutable.ImmutableValue; - // @ts-ignore - protected getValueGetter(): org.spongepowered.api.data.value.immutable.ImmutableValue; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - protected fillContainer(dataContainer: org.spongepowered.api.data.DataContainer): org.spongepowered.api.data.DataContainer; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAbsorptionData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAbsorptionData.ts deleted file mode 100644 index 79f5cc93..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAbsorptionData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableAbsorptionData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the absorption. - */ - // @ts-ignore - absorption(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAccelerationData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAccelerationData.ts deleted file mode 100644 index ea0f38a9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAccelerationData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableAccelerationData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the current acceleration as a - * {@link Vector3d}. - */ - // @ts-ignore - acceleration(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableActiveItemData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableActiveItemData.ts deleted file mode 100644 index 4c3c0733..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableActiveItemData.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableActiveItemData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the item stack snapshot of the item that is currently being used. - *

If there is no item, the snapshot will be empty. You can check this - * with {@link ItemStackSnapshot#isEmpty()}.

- */ - // @ts-ignore - activeItem(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAffectsSpawningData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAffectsSpawningData.ts deleted file mode 100644 index ca584e86..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAffectsSpawningData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableAffectsSpawningData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "affects spawning" state. - */ - // @ts-ignore - affectsSpawning(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAgeableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAgeableData.ts deleted file mode 100644 index 27c58f2f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAgeableData.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableAgeableData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the "age" state. - */ - // @ts-ignore - age(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableValue} for whether the {@link #age()} is - * considered to be an "adult". - */ - // @ts-ignore - adult(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAgentData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAgentData.ts deleted file mode 100644 index d77a4157..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAgentData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableAgentData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for whether AI tasks are enabled or not. - */ - // @ts-ignore - aiEnabled(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAggressiveData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAggressiveData.ts deleted file mode 100644 index 7955c594..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAggressiveData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableAggressiveData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "aggressive" state. - */ - // @ts-ignore - aggressive(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAngerableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAngerableData.ts deleted file mode 100644 index b2370531..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAngerableData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableAngerableData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the "anger" level. - */ - // @ts-ignore - angerLevel(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAreaEffectCloudData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAreaEffectCloudData.ts deleted file mode 100644 index 3f21cbfb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableAreaEffectCloudData.ts +++ /dev/null @@ -1,85 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableAreaEffectCloudData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link Color} of this cloud, can be changed. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@code radius} value of this cloud. - */ - // @ts-ignore - radius(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ParticleType} of this cloud. - */ - // @ts-ignore - particleType(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the bounded {@code duration} value of this cloud. - */ - // @ts-ignore - duration(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the bounded {@code waitTime} value of this cloud. The wait time - * dictates how long until this cloud will affect {@link Entity} instances - * with {@link PotionEffect}s. - */ - // @ts-ignore - waitTime(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the bounded {@code radiusOnUse} value of this cloud. - * The radius is reduced per {@link Entity} affected. - * Once the radius is {@code 0}, the cloud dissipates. - */ - // @ts-ignore - radiusOnUse(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the bounded {@code radiusPerTick} value of this cloud. - * The radius is reduced per tick (so technically can be set to - * {@code 0} to have it remain permanent until it's effects have - * been used up. - */ - // @ts-ignore - radiusPerTick(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the bounded {@code durationOnUse} value of this cloud. - * The duration on use is reduced for every time that this cloud - * applies it's {@link PotionEffect}s on an {@link Entity}. - */ - // @ts-ignore - durationOnUse(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the bounded {@code applicationDelay} value of this cloud. - * What this means is the application delay between times of application - * on an {@link Entity}. - */ - // @ts-ignore - applicationDelay(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ListValue} of {@link PotionEffect}s of this cloud. - * The potion effects will affect any {@link Entity} according to the - * various delays and ticks remaining of this cloud. - */ - // @ts-ignore - effects(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - /** - * Gets the bounded {@code age} value of this cloud. - */ - // @ts-ignore - age(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableArmorStandData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableArmorStandData.ts deleted file mode 100644 index 1d64c88b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableArmorStandData.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableArmorStandData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Returns whether this armor stand is considered a "marker" where if - * it is a "marker", then the armor stand is not rendered itself, but - * the equipment it has would still be rendered. - */ - // @ts-ignore - marker(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Returns whether this armor stand is a small armor stand or not. - */ - // @ts-ignore - small(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Returns whether this armor stand shows arms or not. - *

Arms that do not show may also not show an item in hand.

- */ - // @ts-ignore - arms(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets whether this armor stand has a visible base plate or not. - */ - // @ts-ignore - basePlate(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableArtData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableArtData.ts deleted file mode 100644 index 047e99fc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableArtData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableArtData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableBodyPartRotationalData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableBodyPartRotationalData.ts deleted file mode 100644 index e45d17d0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableBodyPartRotationalData.ts +++ /dev/null @@ -1,59 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableBodyPartRotationalData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableMapValue} of {@link BodyPart}s to - * {@link Vector3d} rotations. - */ - // @ts-ignore - partRotation(): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - /** - * Gets the individual {@link ImmutableValue} of the {@link Vector3d} - * rotation for {@link BodyParts#HEAD}. - */ - // @ts-ignore - headDirection(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the individual {@link ImmutableValue} of the {@link Vector3d} - * rotation for {@link BodyParts#CHEST}. - */ - // @ts-ignore - bodyRotation(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the individual {@link ImmutableValue} of the {@link Vector3d} - * rotation for {@link BodyParts#LEFT_ARM}. - */ - // @ts-ignore - leftArmDirection(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the individual {@link ImmutableValue} of the {@link Vector3d} - * rotation for {@link BodyParts#RIGHT_ARM}. - */ - // @ts-ignore - rightArmDirection(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the individual {@link ImmutableValue} of the {@link Vector3d} - * rotation for {@link BodyParts#LEFT_LEG}. - */ - // @ts-ignore - leftLegDirection(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the individual {@link ImmutableValue} of the {@link Vector3d} - * rotation for {@link BodyParts#RIGHT_LEG}. - */ - // @ts-ignore - rightLegDirection(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableBreathingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableBreathingData.ts deleted file mode 100644 index 2d6923af..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableBreathingData.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableBreathingData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the remaining air. Can be - * changed to {@code (air >= 0 && air <= maxAir)}. - */ - // @ts-ignore - remainingAir(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the maximum air capacity. - * The reasoning for it being bounded is that the air capacity must always - * remain at least 1. - */ - // @ts-ignore - maxAir(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableBreedableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableBreedableData.ts deleted file mode 100644 index 41ef0d10..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableBreedableData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableBreedableData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "breedable" state. - */ - // @ts-ignore - breedable(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableCareerData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableCareerData.ts deleted file mode 100644 index 8fc478d3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableCareerData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableCareerData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - /** - * Gets the {@link ImmutableValue} for the {@link Career}. - */ - // @ts-ignore - career(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableChargedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableChargedData.ts deleted file mode 100644 index f6035471..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableChargedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableChargedData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the current "charged" state. - */ - // @ts-ignore - charged(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableCriticalHitData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableCriticalHitData.ts deleted file mode 100644 index f1efff7c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableCriticalHitData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableCriticalHitData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "critical hit" state. - */ - // @ts-ignore - criticalHit(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableCustomNameVisibleData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableCustomNameVisibleData.ts deleted file mode 100644 index 069cf595..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableCustomNameVisibleData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableCustomNameVisibleData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Returns whether the display name is visible to players. - */ - // @ts-ignore - customNameVisible(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDamageableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDamageableData.ts deleted file mode 100644 index f55a0fef..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDamageableData.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableDamageableData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableOptionalValue} for the last attacker. - *

This will usually be an entity snapshot of a {@link Living}.

- *

This data will usually only be present within 100 ticks of the attack - * occurring.

- */ - // @ts-ignore - lastAttacker(): org.spongepowered.api.data.value.immutable.ImmutableOptionalValue; - /** - * Gets the last amount of damage taken by this entity as an optional value. - *

This data will usually only be present within 100 ticks of the attack - * occurring.

- */ - // @ts-ignore - lastDamage(): org.spongepowered.api.data.value.immutable.ImmutableOptionalValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDamagingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDamagingData.ts deleted file mode 100644 index 2c91c160..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDamagingData.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableDamagingData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the damage this projectile will deal to an {@link Entity} if hit. - */ - // @ts-ignore - damage(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableMapValue} for representing the custom damage - * values to use if the owner strikes an entity of that type. - *

Note that in events, the damage defined for the provided - * {@link EntityType} will take priority over the "default" damage as - * defined from {@link #damage()}.

- */ - // @ts-ignore - damageForEntityTypes(): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDespawnDelayData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDespawnDelayData.ts deleted file mode 100644 index 7275273c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDespawnDelayData.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableDespawnDelayData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the "despawn delay". - */ - // @ts-ignore - delay(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableValue} for the "is infinite" state of - * the despawn delay. - */ - // @ts-ignore - infinite(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDisabledSlotsData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDisabledSlotsData.ts deleted file mode 100644 index ed0116a7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDisabledSlotsData.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableDisabledSlotsData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Controls slots that players can't take items from. - */ - // @ts-ignore - takingDisabled(): org.spongepowered.api.data.value.immutable.ImmutableSetValue; - /** - * Controls slots that players can't place items into. - */ - // @ts-ignore - placingDisabled(): org.spongepowered.api.data.value.immutable.ImmutableSetValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDominantHandData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDominantHandData.ts deleted file mode 100644 index 94cce06f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableDominantHandData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableDominantHandData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - /** - * Gets the {@link ImmutableValue} representing the dominant {@link HandPreference} of an - * {@link Entity}. - */ - // @ts-ignore - dominantHand(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableElytraFlyingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableElytraFlyingData.ts deleted file mode 100644 index f83c75a4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableElytraFlyingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableElytraFlyingData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} elytra flying state. - */ - // @ts-ignore - elytraFlying(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExpOrbData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExpOrbData.ts deleted file mode 100644 index 0c0746b3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExpOrbData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableExpOrbData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the amount of "experience" stored. - */ - // @ts-ignore - experience(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExperienceHolderData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExperienceHolderData.ts deleted file mode 100644 index cb1dc06e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExperienceHolderData.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableExperienceHolderData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the amount of experience - * gained since the beginning of the current {@link #level()}. Normally, - * the higher the level, the more "experience" required to gain another - * level. - */ - // @ts-ignore - experienceSinceLevel(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the amount of experience - * required between the current {@link #level()} and the next level. - * This can be presumed to be the supposed "maximum" for the - * {@link #experienceSinceLevel()} amount. - */ - // @ts-ignore - experienceBetweenLevels(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the current "level" of - * experience deserved according to the {@link #totalExperience()} and - * a function from implementation defining how much experience required - * per level. - */ - // @ts-ignore - level(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the total amount of experience stored. - */ - // @ts-ignore - totalExperience(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExpirableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExpirableData.ts deleted file mode 100644 index ba15ad26..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExpirableData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableExpirableData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the amount of "ticks" - * remaining before the "expiration" occurs. - */ - // @ts-ignore - expireTicks(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExplosionRadiusData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExplosionRadiusData.ts deleted file mode 100644 index 2ae6d9d2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExplosionRadiusData.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableExplosionRadiusData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * The radius in blocks that the explosion will affect. This value may be - * missing if the explosion radius is unknown such as when it is generated - * randomly on detonation. Setting this value on such explosives will - * override that behavior. - */ - // @ts-ignore - explosionRadius(): org.spongepowered.api.data.value.immutable.ImmutableOptionalValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFallDistanceData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFallDistanceData.ts deleted file mode 100644 index 2247b8eb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFallDistanceData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableFallDistanceData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the current fall distance. - */ - // @ts-ignore - fallDistance(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFallingBlockData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFallingBlockData.ts deleted file mode 100644 index 3d5fb48a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFallingBlockData.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableFallingBlockData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the damage to deal per block - * the {@link FallingBlock} has fallen. - */ - // @ts-ignore - fallDamagePerBlock(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the maximum damage the {@link FallingBlock} can deal to another - * entity for falling on the entity. - */ - // @ts-ignore - maxFallDamage(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link BlockState} the falling block is representing. - */ - // @ts-ignore - blockState(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets whether this falling block will try to place itself where - * it lands. - */ - // @ts-ignore - canPlaceAsBlock(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets whether this falling block can drop as an item if it lands in a - * way that it can not be placed. - */ - // @ts-ignore - canDropAsItem(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the time the block has been falling if spawning a entity in air - * this will need to be set to 1 or it will be instantly removed. - */ - // @ts-ignore - fallTime(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets whether this falling block will damage entities where it lands. - */ - // @ts-ignore - canHurtEntities(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFlammableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFlammableData.ts deleted file mode 100644 index 94b721dc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFlammableData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableFlammableData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "aflame" state. - */ - // @ts-ignore - flammable(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFlyingAbilityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFlyingAbilityData.ts deleted file mode 100644 index 26a49cf1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFlyingAbilityData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableFlyingAbilityData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for whether the owner can "fly". - */ - // @ts-ignore - canFly(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFlyingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFlyingData.ts deleted file mode 100644 index 98668a56..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFlyingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableFlyingData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "flying" state. - */ - // @ts-ignore - flying(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFoodData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFoodData.ts deleted file mode 100644 index dcfcff31..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFoodData.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableFoodData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the current food level as an {@link ImmutableBoundedValue}. - *

Food level has health effects, depending on game difficulty and - * hunger levels. If the food level is high enough, the human entity - * may heal. If the food level is at 0, the human entity may starve.

- */ - // @ts-ignore - foodLevel(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the "exhaustion" level. - *

When the exhaustion level reaches 0, saturation is usually diminished - * such that saturation is decreased and then exhaustion is reset to the - * maximum. This type of effect occurs over time and can be modified by - * movements and actions performed by the {@link Humanoid} entity.

- */ - // @ts-ignore - exhaustion(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the "exhaustion" level. - *

When the saturation level reaches 0, the food level is usually - * diminished such that the food level is decreased by 1, then - * saturation is reset to the maximum value. This type of effect occurs - * over time and can be modified by movements and actions performed by the - * {@link Humanoid} entity.

- */ - // @ts-ignore - saturation(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFuseData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFuseData.ts deleted file mode 100644 index 0a987edc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFuseData.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableFuseData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * The amount of ticks before the {@link FusedExplosive} detonates when - * primed. - */ - // @ts-ignore - fuseDuration(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * The amount of ticks before {@link FusedExplosive} detonates. This value - * may be zero if the {@link FusedExplosive} is not currently primed nor - * will setting this value have any effect if the {@link FusedExplosive} is - * not primed. - */ - // @ts-ignore - ticksRemaining(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGameModeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGameModeData.ts deleted file mode 100644 index cc8511a5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGameModeData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableGameModeData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGlowingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGlowingData.ts deleted file mode 100644 index 336ab0f7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGlowingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableGlowingData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link Value} representing whether something is glowing. - */ - // @ts-ignore - glowing(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGravityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGravityData.ts deleted file mode 100644 index 54c625b7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGravityData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableGravityData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} of the gravity of an {@link Entity}. - * Returns true when the {@link Entity} has gravity. - */ - // @ts-ignore - gravity(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGriefingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGriefingData.ts deleted file mode 100644 index 45714e3c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableGriefingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableGriefingData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "griefing" state. - */ - // @ts-ignore - canGrief(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableHealthData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableHealthData.ts deleted file mode 100644 index 56ac8021..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableHealthData.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableHealthData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets an {@link ImmutableBoundedValue} for the current health. - *

The range of the health depends on the object on which this - * method is defined. For players in Minecraft, the nominal range is - * between 0 and 20, inclusive, but the range can be adjusted.

- *

Convention dictates that health does not follow below 0 but this - * convention may be broken for any reason.

- */ - // @ts-ignore - health(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets an {@link ImmutableBoundedValue} for the maximum health. - *

The maximum health set here may affect the attribute increasing - * health points. The base health should be minded that it may be lower - * than the total maximum health of this entity.

- */ - // @ts-ignore - maxHealth(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableHealthScalingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableHealthScalingData.ts deleted file mode 100644 index 4042171e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableHealthScalingData.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableHealthScalingData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Defines the amount of health to show client-side (in hearts) such that - * the maximum health is the value of this scale, and the current health - * is scaled as a ratio. - *

If the current maximum health is 400, and the player has 200, but the - * scale dictates 20, then the client will see 5 hearts (or 10 half hearts) - * out of 10 hearts.

- */ - // @ts-ignore - healthScale(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableHorseData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableHorseData.ts deleted file mode 100644 index 7700f1d5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableHorseData.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableHorseData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets an {@link ImmutableValue} for the {@link HorseColor}. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets an {@link ImmutableValue} for the {@link HorseStyle}. - */ - // @ts-ignore - style(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableIgniteableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableIgniteableData.ts deleted file mode 100644 index 497d8b56..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableIgniteableData.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableIgniteableData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the remaining amount of - * "ticks" the {@link Entity} remains on fire. - */ - // @ts-ignore - fireTicks(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the remaining amount of - * "ticks" before the fire will damage the owning {@link Entity}. - */ - // @ts-ignore - fireDelay(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableInvisibilityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableInvisibilityData.ts deleted file mode 100644 index 3d87a624..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableInvisibilityData.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableInvisibilityData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} of the "invisible" state of an - * {@link Entity}. - *

Note that this is different from the {@link #vanish()} state as when an - * {@link Entity} is "invisible", update packets are still sent to all clients - * and the server. Likewise, no

- */ - // @ts-ignore - invisible(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} of the "vanish" state of an - * {@link Entity}. - */ - // @ts-ignore - vanish(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link Value} of whether an {@link Entity} that is "vanished" will - * be ignored for collision detection. The collision detection can affect - * collisions with other {@link Entity entities}, blocks, etc. - */ - // @ts-ignore - ignoresCollisionDetection(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link Value} of whether an {@link Entity} that is "vanished" will - * be ignored when other {@link Entity entities} are processing possible "targets" - * for their AI. - */ - // @ts-ignore - untargetable(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableInvulnerabilityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableInvulnerabilityData.ts deleted file mode 100644 index 8597f732..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableInvulnerabilityData.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableInvulnerabilityData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the amount of "ticks" of - * "invulnerability". - */ - // @ts-ignore - invulnerableTicks(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the boolean {@link ImmutableValue} which represents if an entity is - * invulnerable from most damage sources besides besides the void, - * players in creative mode, and manual killing like the /kill command. - *

This does not cover creative mode, where players can also - * be invulnerable.

- */ - // @ts-ignore - invulnerable(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableJohnnyData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableJohnnyData.ts deleted file mode 100644 index 6d95d013..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableJohnnyData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableJohnnyData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for whether this mob is exhibiting - * "johnny" behavior. - */ - // @ts-ignore - johnny(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableJoinData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableJoinData.ts deleted file mode 100644 index 10a138af..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableJoinData.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableJoinData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} of the {@link Instant} that a - * {@link Player} joined the {@link Server} the first time. - */ - // @ts-ignore - firstPlayed(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} of the {@link Instant} that a - * {@link Player} joined the {@link Server} the last time. - */ - // @ts-ignore - lastPlayed(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableKnockbackData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableKnockbackData.ts deleted file mode 100644 index d87a0ea7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableKnockbackData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableKnockbackData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the "knockback strength. - */ - // @ts-ignore - knockbackStrength(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableLeashData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableLeashData.ts deleted file mode 100644 index 0e11308f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableLeashData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableLeashData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "leash holder". - */ - // @ts-ignore - leashHolder(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableMinecartBlockData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableMinecartBlockData.ts deleted file mode 100644 index 0ba1d419..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableMinecartBlockData.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableMinecartBlockData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link BlockState} represented by the {@link Minecart}. - */ - // @ts-ignore - block(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the offset of the represented block, in "pixels". - *

Positive values move the block upwards in relation to the minecart, - * and negative values move the block downwards.

- */ - // @ts-ignore - offset(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableMovementSpeedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableMovementSpeedData.ts deleted file mode 100644 index 020d1fed..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableMovementSpeedData.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableMovementSpeedData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the "walking" speed. - */ - // @ts-ignore - walkSpeed(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableBoundedValue} for the "flying" speed. - */ - // @ts-ignore - flySpeed(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableOcelotData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableOcelotData.ts deleted file mode 100644 index cfe03e61..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableOcelotData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableOcelotData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableParrotData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableParrotData.ts deleted file mode 100644 index 9229086d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableParrotData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableParrotData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePassengerData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePassengerData.ts deleted file mode 100644 index a5d87bb1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePassengerData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutablePassengerData extends org.spongepowered.api.data.manipulator.immutable.ImmutableListData { - /** - * Gets the {@link ImmutableListValue} for the current {@link Entity} - * acting as a passenger. - */ - // @ts-ignore - passengers(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePersistingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePersistingData.ts deleted file mode 100644 index 3fed27c4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePersistingData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutablePersistingData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "persist" state of an - * {@link Entity}. - */ - // @ts-ignore - persists(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePickupDelayData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePickupDelayData.ts deleted file mode 100644 index 4eb96e06..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePickupDelayData.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutablePickupDelayData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the "pickup delay". - */ - // @ts-ignore - delay(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableValue} for the "is infinite" state of - * the pickup delay. - */ - // @ts-ignore - infinite(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePickupRuleData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePickupRuleData.ts deleted file mode 100644 index a4cdbdf7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePickupRuleData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutablePickupRuleData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePigSaddleData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePigSaddleData.ts deleted file mode 100644 index dc95d93a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePigSaddleData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutablePigSaddleData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "saddled" state. - */ - // @ts-ignore - saddle(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePlayerCreatedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePlayerCreatedData.ts deleted file mode 100644 index 29709160..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePlayerCreatedData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutablePlayerCreatedData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "player created" state of an - * {@link IronGolem}. - */ - // @ts-ignore - playerCreated(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePlayingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePlayingData.ts deleted file mode 100644 index 4d6773b2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutablePlayingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutablePlayingData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "playing" state. - */ - // @ts-ignore - playing(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableRabbitData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableRabbitData.ts deleted file mode 100644 index 2206a786..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableRabbitData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableRabbitData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableRespawnLocation.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableRespawnLocation.ts deleted file mode 100644 index 90b1491c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableRespawnLocation.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableRespawnLocation extends org.spongepowered.api.data.manipulator.immutable.ImmutableMappedData { - /** - * Gets the {@link ImmutableMapValue} for the "respawn" locations set for - * various {@link World#getUniqueId()} such that a {@link Player} may not - * have a respawn point for a particular {@link World}, but may have - * multiple respawn points for other {@link World}s. - */ - // @ts-ignore - respawnLocation(): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - /** - * Gets the respawn location for the given world, if available. If the - * respawn point for that world has not been set, {@link Optional#empty()} - * is returned. - */ - // @ts-ignore - getForWorld(world: org.spongepowered.api.world.World): any; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableScreamingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableScreamingData.ts deleted file mode 100644 index cf277b64..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableScreamingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableScreamingData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "screaming" state. - */ - // @ts-ignore - screaming(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableShatteringData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableShatteringData.ts deleted file mode 100644 index b7acd1fb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableShatteringData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableShatteringData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "shattering" state of an - * {@link EnderPearl}. - */ - // @ts-ignore - willShatter(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableShearedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableShearedData.ts deleted file mode 100644 index 90108696..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableShearedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableShearedData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} of the "sheared" state. - */ - // @ts-ignore - sheared(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSilentData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSilentData.ts deleted file mode 100644 index 1f808f5b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSilentData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableSilentData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "silent state". - */ - // @ts-ignore - silent(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSittingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSittingData.ts deleted file mode 100644 index 937a7bf3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSittingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableSittingData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "sitting" state. - */ - // @ts-ignore - sitting(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSizeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSizeData.ts deleted file mode 100644 index 89ba2ce9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSizeData.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableSizeData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "base" size. - */ - // @ts-ignore - base(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the "height" size. - */ - // @ts-ignore - height(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the "scale" size. - */ - // @ts-ignore - scale(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSkinData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSkinData.ts deleted file mode 100644 index 180efed3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSkinData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableSkinData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the {@link UUID} of the skin to - * display on a {@link Humanoid} entity for customization. - */ - // @ts-ignore - skinUniqueId(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSleepingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSleepingData.ts deleted file mode 100644 index 9827eb72..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSleepingData.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableSleepingData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "sleeping" state. - */ - // @ts-ignore - sleeping(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for whether the owning {@link Player}'s - * "sleeping" state is ignored when vanilla mechanics dictate that all - * {@link Player}s must be sleeping to advance through the night. - */ - // @ts-ignore - ignoreSleeping(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSlimeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSlimeData.ts deleted file mode 100644 index 580f8add..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSlimeData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableSlimeData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "size" of a slime. - */ - // @ts-ignore - size(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSneakingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSneakingData.ts deleted file mode 100644 index 46dab6b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSneakingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableSneakingData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "sneaking" state. - */ - // @ts-ignore - sneaking(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSprintData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSprintData.ts deleted file mode 100644 index faf4be4c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableSprintData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableSprintData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "sprinting" state. - */ - // @ts-ignore - sprinting(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableStatisticData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableStatisticData.ts deleted file mode 100644 index 8f05bc30..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableStatisticData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableStatisticData extends org.spongepowered.api.data.manipulator.immutable.ImmutableMappedData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableStuckArrowsData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableStuckArrowsData.ts deleted file mode 100644 index 40c3df43..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableStuckArrowsData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableStuckArrowsData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the stuck arrows. - */ - // @ts-ignore - stuckArrows(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTameableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTameableData.ts deleted file mode 100644 index 7920998c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTameableData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableTameableData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableOptionalValue} for the {@link UUID} of the - * {@link Tamer}. - */ - // @ts-ignore - owner(): org.spongepowered.api.data.value.immutable.ImmutableOptionalValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTargetedEntityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTargetedEntityData.ts deleted file mode 100644 index 0a0f9575..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTargetedEntityData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableTargetedEntityData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the targeted {@link Entity}. - */ - // @ts-ignore - value(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTradeOfferData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTradeOfferData.ts deleted file mode 100644 index c696580b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableTradeOfferData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableTradeOfferData extends org.spongepowered.api.data.manipulator.immutable.ImmutableListData { - /** - * Gets the {@link ImmutableListValue} of {@link TradeOffer}s that can be - * offered. - */ - // @ts-ignore - tradeOffers(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVehicleData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVehicleData.ts deleted file mode 100644 index 67d4fc24..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVehicleData.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableVehicleData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the current "vehicle" being ridden. - */ - // @ts-ignore - vehicle(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the base {@link ImmutableValue} for the "base vehicle" being ridden - * such that the current vehicle may be riding another {@link Entity}, - * causing that entity to be called the "base vehicle". - */ - // @ts-ignore - baseVehicle(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVelocityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVelocityData.ts deleted file mode 100644 index 1a5d3fb8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVelocityData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace entity { - // @ts-ignore - interface ImmutableVelocityData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the current velocity as a - * {@link Vector3d}. - */ - // @ts-ignore - velocity(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableAuthorData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableAuthorData.ts deleted file mode 100644 index 7b1b8a61..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableAuthorData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableAuthorData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "author" of a book. - */ - // @ts-ignore - author(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableBlockItemData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableBlockItemData.ts deleted file mode 100644 index fc93fe21..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableBlockItemData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableBlockItemData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the currently represented - * {@link BlockState}. - */ - // @ts-ignore - state(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData.ts deleted file mode 100644 index 5eca65e5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableBreakableData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableBreakableData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableSetValue} for all known {@link BlockType}s that - * can be broken by the owning {@link ItemStack}. - */ - // @ts-ignore - breakable(): org.spongepowered.api.data.value.immutable.ImmutableSetValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableCoalData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableCoalData.ts deleted file mode 100644 index 2f614e1e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableCoalData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableCoalData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableCookedFishData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableCookedFishData.ts deleted file mode 100644 index b7ffc4b4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableCookedFishData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableCookedFishData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableDurabilityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableDurabilityData.ts deleted file mode 100644 index df36cf8e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableDurabilityData.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableDurabilityData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the "durability" remaining. - * The durability is a number signifying how many "uses' remain on the - * item. When the durability reaches 0, usually, the item breaks. - */ - // @ts-ignore - durability(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableValue} for the "unbreakable" state of the - * {@link ItemStack}. While the {@link ItemStack} is "unbreakable", - * the durability can not change. - */ - // @ts-ignore - unbreakable(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableEnchantmentData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableEnchantmentData.ts deleted file mode 100644 index 734ef2e1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableEnchantmentData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableEnchantmentData extends org.spongepowered.api.data.manipulator.immutable.ImmutableListData { - /** - * Gets the {@link ImmutableListValue} of {@link Enchantment}s on - * item stacks. - */ - // @ts-ignore - enchantments(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableFishData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableFishData.ts deleted file mode 100644 index c725cd7a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableFishData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableFishData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableGenerationData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableGenerationData.ts deleted file mode 100644 index 37f348d3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableGenerationData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableGenerationData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} that represents the "generation" - * state of a book. - */ - // @ts-ignore - generation(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableGoldenAppleData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableGoldenAppleData.ts deleted file mode 100644 index 937c485a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableGoldenAppleData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableGoldenAppleData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableHideData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableHideData.ts deleted file mode 100644 index bd347c33..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableHideData.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableHideData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "enchantments hidden" state of an itemstack. - */ - // @ts-ignore - hideEnchantments(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the "attributes hidden" state of an itemstack. - */ - // @ts-ignore - hideAttributes(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the "unbreakable hidden" state of an itemstack. - */ - // @ts-ignore - hideUnbreakable(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the "can destroy hidden" state of an itemstack. - */ - // @ts-ignore - hideCanDestroy(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the "can destroy hidden" state of an itemstack. - */ - // @ts-ignore - hideCanPlace(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the "miscellaneous hidden" state of an itemstack. - */ - // @ts-ignore - hideMiscellaneous(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableInventoryItemData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableInventoryItemData.ts deleted file mode 100644 index 0d7750bc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableInventoryItemData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableInventoryItemData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator, org.spongepowered.api.item.inventory.Carrier { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableLoreData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableLoreData.ts deleted file mode 100644 index 813f6bd0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableLoreData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableLoreData extends org.spongepowered.api.data.manipulator.immutable.ImmutableListData { - /** - * Gets the {@link ImmutableListValue} of the "lore" {@link Text}. - */ - // @ts-ignore - lore(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableMapItemData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableMapItemData.ts deleted file mode 100644 index 12bc62b5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableMapItemData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableMapItemData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutablePagedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutablePagedData.ts deleted file mode 100644 index cb95bbc8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutablePagedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutablePagedData extends org.spongepowered.api.data.manipulator.immutable.ImmutableListData { - /** - * Gets the {@link ImmutableListValue} for the {@link Text} pages. - */ - // @ts-ignore - pages(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlaceableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlaceableData.ts deleted file mode 100644 index 0b3cd8cc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlaceableData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutablePlaceableData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableSetValue} of {@link BlockType}s the - * {@link ItemType} can be placed on. - */ - // @ts-ignore - placeable(): org.spongepowered.api.data.value.immutable.ImmutableSetValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlainPagedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlainPagedData.ts deleted file mode 100644 index 11053c0a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutablePlainPagedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutablePlainPagedData extends org.spongepowered.api.data.manipulator.immutable.ImmutableListData { - /** - * Gets the {@link ImmutableListValue} for the {@link Text} pages. - */ - // @ts-ignore - pages(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableSpawnableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableSpawnableData.ts deleted file mode 100644 index 85291cc2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableSpawnableData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableSpawnableData extends org.spongepowered.api.data.manipulator.immutable.ImmutableVariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableStoredEnchantmentData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableStoredEnchantmentData.ts deleted file mode 100644 index 20bdfe77..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.item.ImmutableStoredEnchantmentData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace item { - // @ts-ignore - interface ImmutableStoredEnchantmentData extends org.spongepowered.api.data.manipulator.immutable.ImmutableListData { - /** - * Gets the {@link ImmutableListValue} of {@link Enchantment}s stored - * such that it can be applied to an {@link ItemStack}. - */ - // @ts-ignore - enchantments(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBannerData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBannerData.ts deleted file mode 100644 index ce649cd6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBannerData.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace tileentity { - // @ts-ignore - interface ImmutableBannerData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the base {@link DyeColor}. - */ - // @ts-ignore - baseColor(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutablePatternListValue} of all patterns for the - * {@link Banner}. - */ - // @ts-ignore - patterns(): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBeaconData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBeaconData.ts deleted file mode 100644 index e9a79ac7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBeaconData.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace tileentity { - // @ts-ignore - interface ImmutableBeaconData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableOptionalValue} for the primary - * {@link PotionEffectType}. - */ - // @ts-ignore - primaryEffect(): org.spongepowered.api.data.value.immutable.ImmutableOptionalValue; - /** - * Gets the {@link ImmutableOptionalValue} for the secondary - * {@link PotionEffectType}. - */ - // @ts-ignore - secondaryEffect(): org.spongepowered.api.data.value.immutable.ImmutableOptionalValue; - /** - * Creates a new {@link ImmutableBeaconData} with {@link Optional#empty()} - * values for the primary and secondary {@link PotionEffectType}s. - */ - // @ts-ignore - clearEffects(): org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBeaconData; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBedData.ts deleted file mode 100644 index 0cfb38a6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace tileentity { - // @ts-ignore - interface ImmutableBedData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the {@link DyeColor color}. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBrewingStandData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBrewingStandData.ts deleted file mode 100644 index da317e7b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableBrewingStandData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace tileentity { - // @ts-ignore - interface ImmutableBrewingStandData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the remaining brew time. - *

If nothing is brewing the immutable value is 0.

- */ - // @ts-ignore - remainingBrewTime(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableCooldownData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableCooldownData.ts deleted file mode 100644 index 6645dc00..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableCooldownData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace tileentity { - // @ts-ignore - interface ImmutableCooldownData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "cooldown" remaining. - */ - // @ts-ignore - cooldown(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableEndGatewayData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableEndGatewayData.ts deleted file mode 100644 index a755ae4a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableEndGatewayData.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace tileentity { - // @ts-ignore - interface ImmutableEndGatewayData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the exit portal location of - * the {@link EndGateway}. - */ - // @ts-ignore - exitPortal(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the "should use exact teleport - * location" state of the {@link EndGateway}. - */ - // @ts-ignore - exactTeleport(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the age of the {@link EndGateway}. - */ - // @ts-ignore - age(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the teleport cooldown of the - * {@link EndGateway}. - */ - // @ts-ignore - teleportCooldown(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableFurnaceData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableFurnaceData.ts deleted file mode 100644 index 47e7d0dd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableFurnaceData.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace tileentity { - // @ts-ignore - interface ImmutableFurnaceData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableBoundedValue} for the already passed burn - * time of the {@link Furnace}. When the {@code #passedBurnTime()} is equal - * to the {@link #maxBurnTime()}, the current used fuel is depleted. - */ - // @ts-ignore - passedBurnTime(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the maximum amount of fuel - * that can be supplied with the used fuel item. - *

This is represented by the flame icon in the {@link Furnace}, if the - * flame is 100% filled the value is exactly this one. So its the maximum - * of the {@link #passedBurnTime()}.

- */ - // @ts-ignore - maxBurnTime(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the already passed cook time - * of the {@link ItemStack} in the {@link Furnace}. When this is equal - * to the {@link #maxCookTime()}, the {@link ItemStack} is cooked. - */ - // @ts-ignore - passedCookTime(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the total time the - * {@link ItemStack} has to cook until it is cooked. - */ - // @ts-ignore - maxCookTime(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableLockableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableLockableData.ts deleted file mode 100644 index 1c70913d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableLockableData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace tileentity { - // @ts-ignore - interface ImmutableLockableData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the "lock" token. - */ - // @ts-ignore - lockToken(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableNoteData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableNoteData.ts deleted file mode 100644 index 994db9b5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableNoteData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace tileentity { - // @ts-ignore - interface ImmutableNoteData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the {@link NotePitch}. - */ - // @ts-ignore - note(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableSignData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableSignData.ts deleted file mode 100644 index eba281ca..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableSignData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace tileentity { - // @ts-ignore - interface ImmutableSignData extends org.spongepowered.api.data.manipulator.immutable.ImmutableListData { - /** - * Gets the {@link ImmutableListValue} of {@link Text} for the {@link Sign} - * to show. - */ - // @ts-ignore - lines(): org.spongepowered.api.data.value.immutable.ImmutableListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableStructureData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableStructureData.ts deleted file mode 100644 index 731f4b9b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableStructureData.ts +++ /dev/null @@ -1,67 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace immutable { - namespace tileentity { - // @ts-ignore - interface ImmutableStructureData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} for the author of the {@link Structure}. - */ - // @ts-ignore - author(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the ignore entities state of the {@link Structure}. - */ - // @ts-ignore - ignoreEntities(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the integrity of the {@link Structure}. - */ - // @ts-ignore - integrity(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the mode of the {@link Structure}. - */ - // @ts-ignore - mode(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the position of the {@link Structure}. - */ - // @ts-ignore - position(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the powered state of the {@link Structure}. - */ - // @ts-ignore - powered(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the seed of the {@link Structure}. - */ - // @ts-ignore - seed(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the show air state of the {@link Structure}. - */ - // @ts-ignore - showAir(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the show bounding box state of the {@link Structure}. - */ - // @ts-ignore - showBoundingBox(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Gets the {@link ImmutableValue} for the size of the {@link Structure}. - */ - // @ts-ignore - size(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.ColoredData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.ColoredData.ts deleted file mode 100644 index e1cc99ff..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.ColoredData.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface ColoredData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the {@link Color}. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.CommandData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.CommandData.ts deleted file mode 100644 index e90ad698..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.CommandData.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface CommandData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the currently stored command. - */ - // @ts-ignore - storedCommand(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the success count of the last executed command. - *

The success count is the number of times the most recently used - * command of this command block succeeded. Most commands can only succeed - * once per execution, but certain commands (such as those which accept - * players as arguments) can succeed multiple times, and this value will be - * set accordingly. This success count can also be polled via a redstone - * comparator.

- */ - // @ts-ignore - successCount(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets whether this command block will keep track of the output from the - * last command it executed. - */ - // @ts-ignore - doesTrackOutput(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the last command output. - *

This will only be available if {@link #doesTrackOutput()} is set to - * true, otherwise {@link Optional#empty()} will be returned.

- */ - // @ts-ignore - lastOutput(): org.spongepowered.api.data.value.mutable.OptionalValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.DisplayNameData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.DisplayNameData.ts deleted file mode 100644 index c308ad01..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.DisplayNameData.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface DisplayNameData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the display name as a {@link Text}. The display name may be - * player set, or it may be undefined. - */ - // @ts-ignore - displayName(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.DyeableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.DyeableData.ts deleted file mode 100644 index c1f2ea1c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.DyeableData.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface DyeableData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.FireworkEffectData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.FireworkEffectData.ts deleted file mode 100644 index 5b89812a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.FireworkEffectData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface FireworkEffectData extends org.spongepowered.api.data.manipulator.mutable.ListData { - /** - * Gets the {@link ListValue} of {@link FireworkEffect}s. - *

Note that for {@link ItemTypes#FIREWORK_CHARGE} only the first effect - * will apply to the charge.

- */ - // @ts-ignore - effects(): org.spongepowered.api.data.value.mutable.ListValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.FireworkRocketData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.FireworkRocketData.ts deleted file mode 100644 index c19d9a32..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.FireworkRocketData.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface FireworkRocketData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the flight modifier for this firework. - *

Flight modifiers are tiered ranks of flight duration. Generally, - * the modifier is used to calculate the fuse time of a firework when - * launched. This can be approximated by multiplying 10 and the modifier, - * and adding a random number between 0 and 13. Again, this is a general - * approximation of what vanilla Minecraft performs.

- */ - // @ts-ignore - flightModifier(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.ListData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.ListData.ts deleted file mode 100644 index 84dd164c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.ListData.ts +++ /dev/null @@ -1,88 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface ListData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link ListValue} of this {@link ListData}. - */ - // @ts-ignore - getListValue(): org.spongepowered.api.data.value.mutable.ListValue; - /** - * Gets the {@link List} value itself from this manipulator. - */ - // @ts-ignore - asList(): any[] /*java.util.List*/; - /** - * Gets an element of type {@code E} by the provided {@code index}. - */ - // @ts-ignore - get(index: number): any; - /** - * Returns whether the underlying {@link List} contains the provided - * {@code element}. - */ - // @ts-ignore - contains(element: any): boolean; - /** - * Replaces the element at the specified position in this list with the - * specified element (optional operation). - */ - // @ts-ignore - setElement(index: number, element: any): org.spongepowered.api.data.manipulator.mutable.ListData; - /** - * Replaces the underlying list of elements with the provided {@link List} - * of elements. - */ - // @ts-ignore - setElements(elements: any[] /*java.util.List*/): org.spongepowered.api.data.manipulator.mutable.ListData; - /** - * Appends the provided element at the end of the underlying {@link List}. - */ - // @ts-ignore - addElement(element: any): org.spongepowered.api.data.manipulator.mutable.ListData; - /** - * Inserts the specified element at the specified position in this list. - * Shifts the element currently at that position (if any) and any - * subsequent elements to the right (adds one to their indices). - */ - // @ts-ignore - addElement(index: number, element: any): org.spongepowered.api.data.manipulator.mutable.ListData; - /** - * Appends the provided {@code E} elements to the end of the internal list - * of elements. - */ - // @ts-ignore - addElements(elements: any): org.spongepowered.api.data.manipulator.mutable.ListData; - /** - * Removes the desired {@code element} from the desired {@code index}. - */ - // @ts-ignore - remove(index: number): org.spongepowered.api.data.manipulator.mutable.ListData; - /** - * Removes the desired {@code element} from the underlying {@link List}. - */ - // @ts-ignore - remove(element: any): org.spongepowered.api.data.manipulator.mutable.ListData; - /** - * Removes all of the provided {@code elements} from the underlying - * {@link List}. - */ - // @ts-ignore - removeAll(elements: any): org.spongepowered.api.data.manipulator.mutable.ListData; - /** - * Removes any and all {@code elements} that match {@code true} to - * the provided {@link Predicate} from the underlying {@link List}. - */ - // @ts-ignore - removeAll(predicate: any): org.spongepowered.api.data.manipulator.mutable.ListData; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.MappedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.MappedData.ts deleted file mode 100644 index f3b35096..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.MappedData.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface MappedData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@code value} for the provided {@code key}, if available. - */ - // @ts-ignore - get(key: any): any; - /** - * Gets a {@link Set} of {@code keys} available in this manipulator. - */ - // @ts-ignore - getMapKeys(): any[] /*java.util.Set*/; - /** - * Gets the {@link java.util.Map.Entry} {@link Set} of values. - */ - // @ts-ignore - getMapValues(): any[] /*java.util.Set*/; - /** - * Gets the {@link MapValue} of this manipulator. - */ - // @ts-ignore - getMapValue(): org.spongepowered.api.data.value.mutable.MapValue; - /** - * Gets this manipulator as a {@link Map}. - */ - // @ts-ignore - asMap(): Map /*java.util.Map*/; - /** - * Sets the {@code value} with the provided {@code key}. - */ - // @ts-ignore - put(key: any, value: any): org.spongepowered.api.data.manipulator.mutable.MappedData; - /** - * Sets all available {@link Map#entrySet()} values into this - * {@link MappedData} manipulator. - */ - // @ts-ignore - putAll(map: Map /*java.util.Map*/): org.spongepowered.api.data.manipulator.mutable.MappedData; - /** - * Removes any values keyed to the provided {@code key}. - */ - // @ts-ignore - remove(key: any): org.spongepowered.api.data.manipulator.mutable.MappedData; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.MobSpawnerData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.MobSpawnerData.ts deleted file mode 100644 index 171dbd7b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.MobSpawnerData.ts +++ /dev/null @@ -1,81 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface MobSpawnerData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the remaining delay before - * a new attempt at spawning an {@link Entity} is made. - */ - // @ts-ignore - remainingDelay(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the minimum spawn delay - * required between attempts to spawn an {@link Entity}. - */ - // @ts-ignore - minimumSpawnDelay(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the maximum spawn delay - * required between attempts to spawn an {@link Entity}. - */ - // @ts-ignore - maximumSpawnDelay(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the count of successful - * spawns of all {@link Entity} instances from the owning spawner. This - * count is simply a total count, there is no limitation on how many - * attempts are made to spawn an {@link Entity}. - */ - // @ts-ignore - spawnCount(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the limitation on the number - * of nearby {@link Entity} instances can exist near the owning spawner. The - * limitation is that if there are more {@link Entity} instances than the - * provided value, no attempts to spawn a new {@link Entity} will be made. - */ - // @ts-ignore - maximumNearbyEntities(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the minimum range a - * {@link Player} must remain in proximity of the spawner, such that if a - * {@link Player} is NOT within the provided range, no attempts to spawn an - * {@link Entity} is made. - */ - // @ts-ignore - requiredPlayerRange(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the maximum range that an - * {@link Entity} can be spawned from the spawner. - */ - // @ts-ignore - spawnRange(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link Value} for the overridden - * {@link WeightedSerializableObject}{@code } to spawn - * next. If possible, the next entity to spawn may be chosen from the - * already provided {@link #possibleEntitiesToSpawn()}. - */ - // @ts-ignore - nextEntityToSpawn(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link WeightedCollectionValue} of all possible - * {@link Entity} instances that can be spawned by the spawner. As they - * are all {@link WeightedSerializableObject}{@code } - * instances, their weight is defined as a {@link Random} to determine - * the next {@link Entity} that will be spawned, unless overridden by - * {@link #nextEntityToSpawn()}. - */ - // @ts-ignore - possibleEntitiesToSpawn(): org.spongepowered.api.data.value.mutable.WeightedCollectionValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.PotionEffectData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.PotionEffectData.ts deleted file mode 100644 index 175a552c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.PotionEffectData.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface PotionEffectData extends org.spongepowered.api.data.manipulator.mutable.ListData { - /** - * Gets the {@link ListValue} of the {@link PotionEffect}s. - */ - // @ts-ignore - effects(): org.spongepowered.api.data.value.mutable.ListValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.PotionTypeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.PotionTypeData.ts deleted file mode 100644 index 18e49d4a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.PotionTypeData.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface PotionTypeData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the potion type. - */ - // @ts-ignore - type(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.RepresentedItemData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.RepresentedItemData.ts deleted file mode 100644 index b76d33d2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.RepresentedItemData.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface RepresentedItemData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the represented {@link ItemStack} as - * an {@link ItemStackSnapshot}. - */ - // @ts-ignore - item(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.RepresentedPlayerData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.RepresentedPlayerData.ts deleted file mode 100644 index ce550ddb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.RepresentedPlayerData.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface RepresentedPlayerData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value}{@link GameProfile} that is - * represented by the {@link DataHolder}. - */ - // @ts-ignore - owner(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.RotationalData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.RotationalData.ts deleted file mode 100644 index 29e09c03..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.RotationalData.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface RotationalData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.SkullData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.SkullData.ts deleted file mode 100644 index f0bf3135..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.SkullData.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface SkullData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.TargetedLocationData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.TargetedLocationData.ts deleted file mode 100644 index bba6bd30..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.TargetedLocationData.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface TargetedLocationData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the targeted {@link Vector3d}. - */ - // @ts-ignore - target(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.VariantData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.VariantData.ts deleted file mode 100644 index 576dd6b1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.VariantData.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface VariantData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} of the the element type. - */ - // @ts-ignore - type(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.WetData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.WetData.ts deleted file mode 100644 index 00a5ed76..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.WetData.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface WetData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "wet" state. - */ - // @ts-ignore - wet(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.AttachedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.AttachedData.ts deleted file mode 100644 index aace8f66..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.AttachedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface AttachedData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "attached" state. - */ - // @ts-ignore - attached(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.AxisData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.AxisData.ts deleted file mode 100644 index 0a9325dc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.AxisData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface AxisData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.BigMushroomData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.BigMushroomData.ts deleted file mode 100644 index d633b9e8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.BigMushroomData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface BigMushroomData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.BrickData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.BrickData.ts deleted file mode 100644 index 577d4f4d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.BrickData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface BrickData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ComparatorData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ComparatorData.ts deleted file mode 100644 index 74afcd64..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ComparatorData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface ComparatorData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ConnectedDirectionData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ConnectedDirectionData.ts deleted file mode 100644 index ffc91578..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ConnectedDirectionData.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface ConnectedDirectionData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link SetValue} for the currently "connected" - * {@link Direction}s. - */ - // @ts-ignore - connectedDirections(): org.spongepowered.api.data.value.mutable.SetValue; - /** - * Gets the {@link Value} for whether {@link Direction#NORTH} is - * "connected". - */ - // @ts-ignore - connectedNorth(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for whether {@link Direction#SOUTH} is - * "connected". - */ - // @ts-ignore - connectedSouth(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for whether {@link Direction#EAST} is - * "connected". - */ - // @ts-ignore - connectedEast(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for whether {@link Direction#WEST} is - * "connected". - */ - // @ts-ignore - connectedWest(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DecayableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DecayableData.ts deleted file mode 100644 index feddbf81..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DecayableData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface DecayableData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for whether the "decayable" state is - * {@code true} or {@code false}. - */ - // @ts-ignore - decayable(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DelayableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DelayableData.ts deleted file mode 100644 index 0b11c3c2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DelayableData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface DelayableData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the delay. - */ - // @ts-ignore - delay(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DirectionalData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DirectionalData.ts deleted file mode 100644 index adb07a34..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DirectionalData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface DirectionalData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the current "facing" {@link Direction}. - */ - // @ts-ignore - direction(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DirtData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DirtData.ts deleted file mode 100644 index fc7ab827..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DirtData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface DirtData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DisarmedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DisarmedData.ts deleted file mode 100644 index 2fc2b9e8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DisarmedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface DisarmedData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the current "disarmed" state. - */ - // @ts-ignore - disarmed(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DisguisedBlockData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DisguisedBlockData.ts deleted file mode 100644 index 7ac00402..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DisguisedBlockData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface DisguisedBlockData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DoublePlantData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DoublePlantData.ts deleted file mode 100644 index d02f64be..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DoublePlantData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface DoublePlantData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DropData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DropData.ts deleted file mode 100644 index 1009b4ce..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.DropData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface DropData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "droppable" state. - */ - // @ts-ignore - willDrop(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ExtendedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ExtendedData.ts deleted file mode 100644 index a0dbda24..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ExtendedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface ExtendedData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "extended" state. - */ - // @ts-ignore - extended(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.FilledData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.FilledData.ts deleted file mode 100644 index 6fefe1b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.FilledData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface FilledData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "filled" state. - */ - // @ts-ignore - filled(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.FluidLevelData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.FluidLevelData.ts deleted file mode 100644 index beb2cc7c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.FluidLevelData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface FluidLevelData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} of the "fluid level" state. - */ - // @ts-ignore - level(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.GrowthData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.GrowthData.ts deleted file mode 100644 index a1106096..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.GrowthData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface GrowthData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the "growth" stage. - */ - // @ts-ignore - growthStage(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.HingeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.HingeData.ts deleted file mode 100644 index a0f1b6e4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.HingeData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface HingeData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.InWallData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.InWallData.ts deleted file mode 100644 index aaeab692..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.InWallData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface InWallData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "in-wall" state. - */ - // @ts-ignore - inWall(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.LayeredData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.LayeredData.ts deleted file mode 100644 index 0209e609..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.LayeredData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface LayeredData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the "layer" state. - */ - // @ts-ignore - layer(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.LogAxisData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.LogAxisData.ts deleted file mode 100644 index efb1ac2c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.LogAxisData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface LogAxisData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.MoistureData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.MoistureData.ts deleted file mode 100644 index ba89f0ad..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.MoistureData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface MoistureData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the "moisture" state. - */ - // @ts-ignore - moisture(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.OccupiedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.OccupiedData.ts deleted file mode 100644 index 7fd1339c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.OccupiedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface OccupiedData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "occupied" state. - */ - // @ts-ignore - occupied(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.OpenData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.OpenData.ts deleted file mode 100644 index 3235c76a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.OpenData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface OpenData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "open" state. - */ - // @ts-ignore - open(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PistonData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PistonData.ts deleted file mode 100644 index 500efcb2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PistonData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface PistonData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PlantData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PlantData.ts deleted file mode 100644 index c2fc6e17..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PlantData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface PlantData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PortionData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PortionData.ts deleted file mode 100644 index ca9e9ef9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PortionData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface PortionData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PoweredData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PoweredData.ts deleted file mode 100644 index e1d09a4a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PoweredData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface PoweredData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "powered" state. - */ - // @ts-ignore - powered(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PrismarineData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PrismarineData.ts deleted file mode 100644 index 384b21cd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.PrismarineData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface PrismarineData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.QuartzData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.QuartzData.ts deleted file mode 100644 index 855dd8e3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.QuartzData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface QuartzData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.RailDirectionData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.RailDirectionData.ts deleted file mode 100644 index 773b7c33..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.RailDirectionData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface RailDirectionData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.RedstonePoweredData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.RedstonePoweredData.ts deleted file mode 100644 index 42e370bf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.RedstonePoweredData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface RedstonePoweredData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the output of "redstone - * power". - */ - // @ts-ignore - power(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SandData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SandData.ts deleted file mode 100644 index b5a94c50..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SandData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface SandData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SandstoneData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SandstoneData.ts deleted file mode 100644 index 2031e8f0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SandstoneData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface SandstoneData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SeamlessData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SeamlessData.ts deleted file mode 100644 index cbd1d698..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SeamlessData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface SeamlessData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "seamless" state. - */ - // @ts-ignore - seamless(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ShrubData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ShrubData.ts deleted file mode 100644 index bcefaa85..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.ShrubData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface ShrubData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SlabData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SlabData.ts deleted file mode 100644 index 81bbce39..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SlabData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface SlabData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SnowedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SnowedData.ts deleted file mode 100644 index 13246ca6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.SnowedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface SnowedData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "snowed" state. - */ - // @ts-ignore - hasSnow(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.StairShapeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.StairShapeData.ts deleted file mode 100644 index b9869fca..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.StairShapeData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface StairShapeData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.StoneData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.StoneData.ts deleted file mode 100644 index 3d1e058d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.StoneData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface StoneData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.TreeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.TreeData.ts deleted file mode 100644 index a4d5effe..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.TreeData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface TreeData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.WallData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.WallData.ts deleted file mode 100644 index 356512fc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.WallData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface WallData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.WireAttachmentData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.WireAttachmentData.ts deleted file mode 100644 index a0df5657..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.block.WireAttachmentData.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace block { - // @ts-ignore - interface WireAttachmentData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the current {@link MapValue} for the available {@link Direction}s - * and associated{@link WireAttachmentType}s. - */ - // @ts-ignore - wireAttachments(): org.spongepowered.api.data.value.mutable.MapValue; - /** - * Gets the {@link Value} for the {@link Direction#NORTH}'s - * {@link WireAttachmentType}. - */ - // @ts-ignore - wireAttachmentNorth(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the {@link Direction#SOUTH}'s - * {@link WireAttachmentType}. - */ - // @ts-ignore - wireAttachmentSouth(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the {@link Direction#EAST}'s - * {@link WireAttachmentType}. - */ - // @ts-ignore - wireAttachmentEast(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the {@link Direction#WEST}'s - * {@link WireAttachmentType}. - */ - // @ts-ignore - wireAttachmentWest(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractBooleanData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractBooleanData.ts deleted file mode 100644 index 985896cf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractBooleanData.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace common { - // @ts-ignore - abstract class AbstractBooleanData extends org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleData { - constructor(value: boolean, usedKey: org.spongepowered.api.data.key.Key, defaultValue: boolean) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: boolean) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: boolean, defaultValue: boolean) - // @ts-ignore - protected getValueGetter(): org.spongepowered.api.data.value.mutable.Value; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractBoundedComparableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractBoundedComparableData.ts deleted file mode 100644 index 1a26bee5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractBoundedComparableData.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace common { - // @ts-ignore - abstract class AbstractBoundedComparableData extends org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleData { - constructor(value: any, usedKey: org.spongepowered.api.data.key.Key, comparator: any, lowerBound: any, upperBound: any, defaultValue: any) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any, lowerBound: any, upperBound: any, comparator: any) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any, defaultValue: any, lowerBound: any, upperBound: any, comparator: any) - // @ts-ignore - protected comparator: any; - // @ts-ignore - protected lowerBound: any; - // @ts-ignore - protected upperBound: any; - // @ts-ignore - protected defaultValue: any; - // @ts-ignore - protected getValueGetter(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - // @ts-ignore - public setValue(value: any): org.spongepowered.api.data.manipulator.DataManipulator; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractData.ts deleted file mode 100644 index cd1b7329..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractData.ts +++ /dev/null @@ -1,72 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace common { - // @ts-ignore - abstract class AbstractData implements org.spongepowered.api.data.manipulator.DataManipulator { - constructor() - /** - * Simple registration method for the keys to value return methods. - *

Note that this is still usable with Java 8 method references. - * Referencing {@code this::getfoo()} is recommended.

- */ - // @ts-ignore - protected registerKeyValue(key: org.spongepowered.api.data.key.Key, func: any): void; - /** - * Simple registration method for the keys to field getter methods. - *

Note that this is still usable with Java 8 method references. - * Referencing {@code this::getfoo()} is recommended.

- */ - // @ts-ignore - protected registerFieldGetter(key: org.spongepowered.api.data.key.Key, func: any): void; - /** - * Simple registration method for the keys to field setter methods. - *

Note that this is still usable with Java 8 method references. - * Referencing {@code this::setFoo(something)} is recommended.

- */ - // @ts-ignore - protected registerFieldSetter(key: org.spongepowered.api.data.key.Key, func: any): void; - /** - * A required registration method for registering the various fields and - * value getters. It's suggested that if multiple fields are used, each - * field can be represented as a {@link Value} such that there is an - * associated {@link Key} to "get" that field value. - */ - // @ts-ignore - protected abstract registerGettersAndSetters(): void; - // @ts-ignore - public set(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.data.manipulator.DataManipulator; - // @ts-ignore - public transform(key: org.spongepowered.api.data.key.Key, func: any): org.spongepowered.api.data.manipulator.DataManipulator; - // @ts-ignore - public get(key: org.spongepowered.api.data.key.Key): any; - // @ts-ignore - public getValue(key: org.spongepowered.api.data.key.Key): any; - // @ts-ignore - public supports(key: org.spongepowered.api.data.key.Key): boolean; - // @ts-ignore - public getKeys(): any[] /*java.util.Set*/; - // @ts-ignore - public getValues(): any[] /*java.util.Set*/; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - /** - * Implement this method to add the data to be persisted. - */ - // @ts-ignore - protected fillContainer(dataContainer: org.spongepowered.api.data.DataContainer): org.spongepowered.api.data.DataContainer; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractIntData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractIntData.ts deleted file mode 100644 index b7a0bc0b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractIntData.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace common { - // @ts-ignore - abstract class AbstractIntData extends org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleData { - constructor(value: number, usedKey: org.spongepowered.api.data.key.Key) - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractListData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractListData.ts deleted file mode 100644 index f8659d84..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractListData.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace common { - // @ts-ignore - abstract class AbstractListData extends org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleData implements org.spongepowered.api.data.manipulator.mutable.ListData { - constructor(value: any[] /*java.util.List*/, usedKey: org.spongepowered.api.data.key.Key) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any[] /*java.util.List*/) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any[] /*java.util.List*/, defaultValue: any[] /*java.util.List*/) - // @ts-ignore - protected getValueGetter(): org.spongepowered.api.data.value.mutable.ListValue; - // @ts-ignore - public get(key: org.spongepowered.api.data.key.Key): any; - // @ts-ignore - public supports(key: org.spongepowered.api.data.key.Key): boolean; - // @ts-ignore - public abstract asImmutable(): org.spongepowered.api.data.manipulator.immutable.ImmutableListData; - // @ts-ignore - protected getValue(): any[] /*java.util.List*/; - // @ts-ignore - protected setValue(value: any[] /*java.util.List*/): org.spongepowered.api.data.manipulator.mutable.ListData; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public getListValue(): org.spongepowered.api.data.value.mutable.ListValue; - // @ts-ignore - public asList(): any[] /*java.util.List*/; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractMappedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractMappedData.ts deleted file mode 100644 index 7a6bf96b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractMappedData.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace common { - // @ts-ignore - abstract class AbstractMappedData extends org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleData implements org.spongepowered.api.data.manipulator.mutable.MappedData { - constructor(value: Map /*java.util.Map*/, usedKey: org.spongepowered.api.data.key.Key) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: Map /*java.util.Map*/) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: Map /*java.util.Map*/, defaultValue: Map /*java.util.Map*/) - // @ts-ignore - protected getValueGetter(): org.spongepowered.api.data.value.mutable.MapValue; - // @ts-ignore - protected getValue(): Map /*java.util.Map*/; - // @ts-ignore - protected setValue(value: Map /*java.util.Map*/): org.spongepowered.api.data.manipulator.mutable.MappedData; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public getMapValue(): org.spongepowered.api.data.value.mutable.MapValue; - // @ts-ignore - public asMap(): Map /*java.util.Map*/; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleCatalogData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleCatalogData.ts deleted file mode 100644 index 21a2c1da..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleCatalogData.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace common { - // @ts-ignore - abstract class AbstractSingleCatalogData extends org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleData implements org.spongepowered.api.data.manipulator.mutable.VariantData { - constructor(value: org.spongepowered.api.CatalogType, usedKey: org.spongepowered.api.data.key.Key) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: org.spongepowered.api.CatalogType) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: org.spongepowered.api.CatalogType, defaultValue: org.spongepowered.api.CatalogType) - // @ts-ignore - protected getValueGetter(): org.spongepowered.api.data.value.mutable.Value; - // @ts-ignore - public type(): org.spongepowered.api.data.value.mutable.Value; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleData.ts deleted file mode 100644 index 630e22f1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleData.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace common { - // @ts-ignore - abstract class AbstractSingleData extends org.spongepowered.api.data.manipulator.mutable.common.AbstractData { - constructor(value: any, usedKey: org.spongepowered.api.data.key.Key) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any, defaultValue: any) - // @ts-ignore - protected usedKey: org.spongepowered.api.data.key.Key; - // @ts-ignore - protected defaultValue: any; - // @ts-ignore - protected value: any; - // @ts-ignore - protected registerGettersAndSetters(): void; - /** - * Gets the {@link Value} as a method since this manipulator only focuses - * on a single value. - */ - // @ts-ignore - protected abstract getValueGetter(): org.spongepowered.api.data.value.mutable.Value; - // @ts-ignore - public get(key: org.spongepowered.api.data.key.Key): any; - // @ts-ignore - public supports(key: org.spongepowered.api.data.key.Key): boolean; - // @ts-ignore - public abstract asImmutable(): org.spongepowered.api.data.manipulator.ImmutableDataManipulator; - /** - * A simple getter for usage with a {@link Supplier} for - * the {@link #registerFieldGetter(Key, Supplier)} method. - */ - // @ts-ignore - protected getValue(): any; - /** - * A simple setter for usage with a {@link Consumer} for - * the {@link #registerFieldSetter(Key, Consumer)} method. - */ - // @ts-ignore - protected setValue(value: any): org.spongepowered.api.data.manipulator.DataManipulator; - // @ts-ignore - protected fillContainer(dataContainer: org.spongepowered.api.data.DataContainer): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleEnumData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleEnumData.ts deleted file mode 100644 index 23384452..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleEnumData.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace common { - // @ts-ignore - abstract class AbstractSingleEnumData extends org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleData { - constructor(value: any, usedKey: org.spongepowered.api.data.key.Key, defaultValue: any) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any) - constructor(usedKey: org.spongepowered.api.data.key.Key, value: any, defaultValue: any) - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - protected fillContainer(dataContainer: org.spongepowered.api.data.DataContainer): org.spongepowered.api.data.DataContainer; - // @ts-ignore - protected getValueGetter(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AbsorptionData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AbsorptionData.ts deleted file mode 100644 index 3b75e26c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AbsorptionData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface AbsorptionData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the absorption. - */ - // @ts-ignore - absorption(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AccelerationData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AccelerationData.ts deleted file mode 100644 index 65f28314..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AccelerationData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface AccelerationData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the current acceleration as a - * {@link Vector3d}. - */ - // @ts-ignore - acceleration(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ActiveItemData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ActiveItemData.ts deleted file mode 100644 index 1a9f4c7a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ActiveItemData.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface ActiveItemData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the item stack snapshot of the item that is currently being used. - *

If there is no item, the snapshot will be empty. You can check this - * with {@link ItemStackSnapshot#isEmpty()}.

- */ - // @ts-ignore - activeItem(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AffectsSpawningData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AffectsSpawningData.ts deleted file mode 100644 index 39105fcc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AffectsSpawningData.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface AffectsSpawningData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "affects spawning" state. - *

A {@link Player} who does not affect spawning will be treated as a - * spectator in regards to spawning. A {@link MobSpawner} will not be - * activated by his presence and mobs around him may naturally despawn - * if there is no other Player around who affects spawning.

- */ - // @ts-ignore - affectsSpawning(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AgeableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AgeableData.ts deleted file mode 100644 index e8ff9202..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AgeableData.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface AgeableData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the "age" state. - */ - // @ts-ignore - age(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link Value} for whether the {@link #age()} is - * considered to be an "adult". - */ - // @ts-ignore - adult(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AgentData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AgentData.ts deleted file mode 100644 index 6d8528d1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AgentData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface AgentData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for whether AI tasks are enabled or not. - */ - // @ts-ignore - aiEnabled(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AggressiveData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AggressiveData.ts deleted file mode 100644 index 469c06c5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AggressiveData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface AggressiveData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "aggressive" state. - */ - // @ts-ignore - aggressive(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AngerableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AngerableData.ts deleted file mode 100644 index f7535597..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AngerableData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface AngerableData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the "anger" level. - */ - // @ts-ignore - angerLevel(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AreaEffectCloudData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AreaEffectCloudData.ts deleted file mode 100644 index d430eee7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.AreaEffectCloudData.ts +++ /dev/null @@ -1,91 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface AreaEffectCloudData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Color} of this cloud, can be changed. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@code radius} value of this cloud. - */ - // @ts-ignore - radius(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link ParticleType} of this cloud. - */ - // @ts-ignore - particleType(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the bounded {@code duration} value of this cloud. - */ - // @ts-ignore - duration(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the bounded {@code waitTime} value of this cloud. The wait time - * dictates how long until this cloud will affect {@link Entity} instances - * with {@link PotionEffect}s. - */ - // @ts-ignore - waitTime(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the bounded {@code radiusOnUse} value of this cloud. - * The radius is modified per {@link Entity} affected. - * Once the radius is {@code 0}, the cloud dissipates. - *

A positive radiusOnUse value will make the cloud grow, a negative - * one will make it shrink.

- */ - // @ts-ignore - radiusOnUse(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the bounded {@code radiusPerTick} value of this cloud. - *

The radius is increased every tick. A radiusPerTick of 0 will cause - * the cloud to stay at its original size until its duration runs out, a - * positive number will make it grow, and a negative number will make it - * shrink whenever it applies its effect. - */ - // @ts-ignore - radiusPerTick(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the bounded {@code durationOnUse} value of this cloud. - * The duration on use is added to the duration for every time - * that this cloud applies it's {@link PotionEffect}s on an - * {@link Entity}. - *

If the duration on use is negative, every application of - * an effect to an entity will decrease the cloud's duration

- */ - // @ts-ignore - durationOnUse(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the bounded {@code applicationDelay} value of this cloud. - * What this means is the application delay between times of application - * on an {@link Entity}. - */ - // @ts-ignore - applicationDelay(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link ListValue} of {@link PotionEffect}s of this cloud. - * The potion effects will affect any {@link Entity} according to the - * various delays and ticks remaining of this cloud. - */ - // @ts-ignore - effects(): org.spongepowered.api.data.value.mutable.ListValue; - /** - * Gets the bounded {@code age} value of this cloud. - */ - // @ts-ignore - age(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ArmorStandData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ArmorStandData.ts deleted file mode 100644 index f70bfb83..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ArmorStandData.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface ArmorStandData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Returns whether this armor stand is rendered invisible and simply a - * "marker". The inventory contents and nameplate will still show, but - * the body itself of the armor stand will not be visible. - */ - // @ts-ignore - marker(): org.spongepowered.api.data.value.mutable.Value; - /** - * Returns whether this armor stand is a small armor stand or not. - */ - // @ts-ignore - small(): org.spongepowered.api.data.value.mutable.Value; - /** - * Returns whether this armor stand shows arms or not. - *

Arms that do not show may also not show an item in hand.

- */ - // @ts-ignore - arms(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets whether this armor stand has a visible base plate or not. - */ - // @ts-ignore - basePlate(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ArtData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ArtData.ts deleted file mode 100644 index fddb2855..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ArtData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface ArtData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.BodyPartRotationalData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.BodyPartRotationalData.ts deleted file mode 100644 index 2c67623a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.BodyPartRotationalData.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface BodyPartRotationalData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MapValue} of {@link BodyPart}s to {@link Vector3d} - * rotations. - */ - // @ts-ignore - partRotation(): org.spongepowered.api.data.value.mutable.MapValue; - /** - * Gets the direction the headpiece is aiming at. - */ - // @ts-ignore - headDirection(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the direction the body is aiming at. - */ - // @ts-ignore - bodyRotation(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the direction the left arm is aiming at. - */ - // @ts-ignore - leftArmDirection(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the direction the right arm is aiming at. - */ - // @ts-ignore - rightArmDirection(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the direction the left leg is aiming at. - */ - // @ts-ignore - leftLegDirection(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the direction the right leg is aiming at. - */ - // @ts-ignore - rightLegDirection(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.BreathingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.BreathingData.ts deleted file mode 100644 index 512451a6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.BreathingData.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface BreathingData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the remaining air. Can be - * changed to {@code (air >= 0 && air <= maxAir)}. - */ - // @ts-ignore - remainingAir(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the maximum air capacity. - * The reasoning for it being bounded is that the air capacity must always - * remain at least 1. - */ - // @ts-ignore - maxAir(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.BreedableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.BreedableData.ts deleted file mode 100644 index 0fe74926..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.BreedableData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface BreedableData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "breedable" state. - */ - // @ts-ignore - breedable(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.CareerData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.CareerData.ts deleted file mode 100644 index d1a5494f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.CareerData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface CareerData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ChargedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ChargedData.ts deleted file mode 100644 index b0cb82d9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ChargedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface ChargedData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the current "charged" state. - */ - // @ts-ignore - charged(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.CriticalHitData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.CriticalHitData.ts deleted file mode 100644 index 158bfd5f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.CriticalHitData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface CriticalHitData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "critical hit" state. - */ - // @ts-ignore - criticalHit(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.CustomNameVisibleData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.CustomNameVisibleData.ts deleted file mode 100644 index e98b168f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.CustomNameVisibleData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface CustomNameVisibleData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Returns whether the display name is visible to players. - */ - // @ts-ignore - customNameVisible(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DamageableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DamageableData.ts deleted file mode 100644 index e431c935..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DamageableData.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface DamageableData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link OptionalValue} for the last attacker. - *

This will usually be an entity snapshot of a {@link Living}.

- *

This data will usually only be present within 100 ticks of the attack - * occurring.

- */ - // @ts-ignore - lastAttacker(): org.spongepowered.api.data.value.mutable.OptionalValue; - /** - * Gets the last amount of damage taken by this entity as an optional value. - *

This data will usually only be present within 100 ticks of the attack - * occurring.

- */ - // @ts-ignore - lastDamage(): org.spongepowered.api.data.value.mutable.OptionalValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DamagingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DamagingData.ts deleted file mode 100644 index 236e4145..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DamagingData.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface DamagingData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the damage this projectile will deal to a {@link Living} - * if hit. - */ - // @ts-ignore - damage(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MapValue} for representing the custom damage - * values to use if the owner strikes an entity of that type. - *

Note that in events, the damage defined for the provided - * {@link EntityType} will take priority over the "default" damage as - * defined from {@link #damage()}.

- */ - // @ts-ignore - damageForEntity(): org.spongepowered.api.data.value.mutable.MapValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DespawnDelayData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DespawnDelayData.ts deleted file mode 100644 index 1d349377..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DespawnDelayData.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface DespawnDelayData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the "despawn delay". - */ - // @ts-ignore - delay(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link Value} for the "is infinite" state of - * the despawn delay. - */ - // @ts-ignore - infinite(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DisabledSlotsData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DisabledSlotsData.ts deleted file mode 100644 index c2236a74..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DisabledSlotsData.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface DisabledSlotsData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Controls slots that players can't take items from. - */ - // @ts-ignore - takingDisabled(): org.spongepowered.api.data.value.mutable.SetValue; - /** - * Controls slots that players can't place items into. - */ - // @ts-ignore - placingDisabled(): org.spongepowered.api.data.value.mutable.SetValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DominantHandData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DominantHandData.ts deleted file mode 100644 index 444b6f20..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.DominantHandData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface DominantHandData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - /** - * Gets the {@link Value} representing the dominant {@link HandPreference} of an - * {@link Entity}. - */ - // @ts-ignore - dominantHand(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ElytraFlyingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ElytraFlyingData.ts deleted file mode 100644 index de3314a5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ElytraFlyingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface ElytraFlyingData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} elytra flying state. - */ - // @ts-ignore - elytraFlying(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExpOrbData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExpOrbData.ts deleted file mode 100644 index 52c9e01f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExpOrbData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface ExpOrbData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the amount of "experience" stored. - */ - // @ts-ignore - experience(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExperienceHolderData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExperienceHolderData.ts deleted file mode 100644 index 46ba1517..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExperienceHolderData.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface ExperienceHolderData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the amount of experience - * gained since the beginning of the current {@link #level()}. Normally, - * the higher the level, the more "experience" required to gain another - * level. - */ - // @ts-ignore - experienceSinceLevel(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link ImmutableBoundedValue} for the amount of experience - * required between the current {@link #level()} and the next level. - * This can be presumed to be the supposed "maximum" for the - * {@link #experienceSinceLevel()} amount. - */ - // @ts-ignore - getExperienceBetweenLevels(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the current "level" of - * experience deserved according to the {@link #totalExperience()} and - * a function from implementation defining how much experience required - * per level. - */ - // @ts-ignore - level(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the total amount of experience stored. - */ - // @ts-ignore - totalExperience(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExpirableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExpirableData.ts deleted file mode 100644 index 0a6d2d48..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExpirableData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface ExpirableData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the amount of "ticks" - * remaining before the "expiration" occurs. - */ - // @ts-ignore - expireTicks(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExplosionRadiusData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExplosionRadiusData.ts deleted file mode 100644 index 87d3695e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ExplosionRadiusData.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface ExplosionRadiusData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * The radius in blocks that the explosion will affect. This value may be - * missing if the explosion radius is unknown such as when it is generated - * randomly on detonation. Setting this value on such explosives will - * override that behavior. - */ - // @ts-ignore - explosionRadius(): org.spongepowered.api.data.value.mutable.OptionalValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FallDistanceData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FallDistanceData.ts deleted file mode 100644 index 6ff1c65a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FallDistanceData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface FallDistanceData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the current fall distance. - */ - // @ts-ignore - fallDistance(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FallingBlockData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FallingBlockData.ts deleted file mode 100644 index aaeabd29..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FallingBlockData.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface FallingBlockData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the damage to deal per block - * the {@link FallingBlock} has fallen. - */ - // @ts-ignore - fallDamagePerBlock(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the maximum damage the {@link FallingBlock} can deal to another - * entity for falling on the entity. - */ - // @ts-ignore - maxFallDamage(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link BlockState} the falling block is representing. - */ - // @ts-ignore - blockState(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets whether this falling block will try to place itself where - * it lands. - */ - // @ts-ignore - canPlaceAsBlock(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets whether this falling block can drop as an item if it lands in a - * way that it can not be placed. - */ - // @ts-ignore - canDropAsItem(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the number of ticks the block has been falling for. - */ - // @ts-ignore - fallTime(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets whether this falling block will damage entities where it lands. - */ - // @ts-ignore - canHurtEntities(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FlammableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FlammableData.ts deleted file mode 100644 index b900eea0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FlammableData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface FlammableData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "aflame" state. - */ - // @ts-ignore - flammable(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FlyingAbilityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FlyingAbilityData.ts deleted file mode 100644 index 05fcb9b1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FlyingAbilityData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface FlyingAbilityData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for whether the owner can "fly". - */ - // @ts-ignore - canFly(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FlyingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FlyingData.ts deleted file mode 100644 index fb8d3409..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FlyingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface FlyingData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "flying" state. - */ - // @ts-ignore - flying(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FoodData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FoodData.ts deleted file mode 100644 index 6c313cde..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FoodData.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface FoodData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the current food level as an {@link MutableBoundedValue}. - *

Food level has health effects, depending on game difficulty and - * hunger levels. If the food level is high enough, the human entity - * may heal. If the food level is at 0, the human entity may starve.

- */ - // @ts-ignore - foodLevel(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the "exhaustion" level. - *

When the exhaustion level reaches 0, saturation is usually diminished - * such that saturation is decreased and then exhaustion is reset to the - * maximum. This type of effect occurs over time and can be modified by - * movements and actions performed by the {@link Humanoid} entity.

- */ - // @ts-ignore - exhaustion(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the "saturation" level. - *

When the saturation level reaches 0, the food level is usually - * diminished such that the food level is decreased by 1, then - * saturation is reset to the maximum value. This type of effect occurs - * over time and can be modified by movements and actions performed by the - * {@link Humanoid} entity.

- */ - // @ts-ignore - saturation(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FuseData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FuseData.ts deleted file mode 100644 index cd30d8c9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.FuseData.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface FuseData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * The amount of ticks before the {@link FusedExplosive} detonates when - * primed. - */ - // @ts-ignore - fuseDuration(): org.spongepowered.api.data.value.mutable.Value; - /** - * The amount of ticks before {@link FusedExplosive} detonates. Setting - * this value has no effect if the explosive is not currently - * primed and is set to an arbitrary value that differs from explosive to - * explosive when not-primed. Therefore, this value should be ignored when - * the explosive is not primed. Instead, set the fuse duration of the - * explosive which is the value used to initialize this value when the - * explosive is primed. - */ - // @ts-ignore - ticksRemaining(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GameModeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GameModeData.ts deleted file mode 100644 index 99657012..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GameModeData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface GameModeData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GlowingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GlowingData.ts deleted file mode 100644 index 1aee01ec..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GlowingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface GlowingData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} representing whether an entity is glowing. - */ - // @ts-ignore - glowing(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GravityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GravityData.ts deleted file mode 100644 index c8edb79c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GravityData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface GravityData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} of the gravity of an {@link Entity}. Returns true - * when the {@link Entity} has gravity. - */ - // @ts-ignore - gravity(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GriefingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GriefingData.ts deleted file mode 100644 index bee37262..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.GriefingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface GriefingData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "griefing" state. - */ - // @ts-ignore - canGrief(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.HealthData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.HealthData.ts deleted file mode 100644 index 19e5fe0f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.HealthData.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface HealthData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Returns the health amount. - *

The range of the health depends on the object on which this - * method is defined. For players in Minecraft, the nominal range is - * between 0 and 20, inclusive, but the range can be adjusted.

- *

Convention dictates that health does not follow below 0 but this - * convention may be broken.

- */ - // @ts-ignore - health(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the current maximum health. - *

The maximum health set here may affect the attribute increasing - * health points. The base health should be minded that it may be lower - * than the total maximum health of this entity.

- */ - // @ts-ignore - maxHealth(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.HealthScalingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.HealthScalingData.ts deleted file mode 100644 index c183a829..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.HealthScalingData.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface HealthScalingData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Defines the amount of health to show client-side (in hearts) such that - * the maximum health is the value of this scale, and the current health - * is scaled as a ratio. - *

If the current maximum health is 400, and the player has 200, but the - * scale dictates 20, then the client will see 5 hearts (or 10 half hearts) - * out of 10 hearts.

- */ - // @ts-ignore - healthScale(): org.spongepowered.api.data.value.BoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.HorseData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.HorseData.ts deleted file mode 100644 index 0228f7ee..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.HorseData.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface HorseData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets a {@link Value} for the {@link HorseColor}. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets a {@link Value} for the {@link HorseStyle}. - */ - // @ts-ignore - style(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.IgniteableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.IgniteableData.ts deleted file mode 100644 index 14067b70..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.IgniteableData.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface IgniteableData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the remaining amount of - * "ticks" the {@link Entity} remains on fire. - */ - // @ts-ignore - fireTicks(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the remaining amount of - * "ticks" before the fire will damage the owning {@link Entity}. - */ - // @ts-ignore - fireDelay(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.InvisibilityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.InvisibilityData.ts deleted file mode 100644 index 0a1a046c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.InvisibilityData.ts +++ /dev/null @@ -1,50 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface InvisibilityData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} of the "invisible" state of an {@link Entity}. - *

Note that this is different from the {@link #vanish()} state as when an - * {@link Entity} is "invisible", update packets are still sent to all clients - * and the server.

- */ - // @ts-ignore - invisible(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} of the "vanish" state of an {@link Entity}. - *

The presence of a vanished entity will not be made known to a client; - * no packets pertaining to this entity are sent. Client-side, this entity - * will cease to exist. Server-side it may still be targeted by hostile - * entities or collide with other entities.

- *

Vanishing an {@link Entity} ridden by other entities (see - * {@link PassengerData}) will cause problems.

- */ - // @ts-ignore - vanish(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} of whether an {@link Entity} that is "vanished" will - * be ignored for collision detection. The collision detection can affect - * collisions with other {@link Entity entities}, blocks, etc. - */ - // @ts-ignore - ignoresCollisionDetection(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} of whether an {@link Entity} that is "vanished" will - * be ignored when other {@link Entity entities} are processing possible "targets" - * for their AI. - */ - // @ts-ignore - untargetable(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.InvulnerabilityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.InvulnerabilityData.ts deleted file mode 100644 index 69e446b3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.InvulnerabilityData.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface InvulnerabilityData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the amount of "ticks" of - * "invulnerability" an entity has because of being hurt recently. - */ - // @ts-ignore - invulnerableTicks(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the boolean {@link Value} which represents if an entity is - * invulnerable from most damage sources besides besides the void, - * players in creative mode, and manual killing like the /kill command. - *

This does not cover creative mode, where players can also - * be invulnerable.

- */ - // @ts-ignore - invulnerable(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.JohnnyData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.JohnnyData.ts deleted file mode 100644 index b62f1007..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.JohnnyData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface JohnnyData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for whether this mob is exhibiting - * "johnny" behavior. - */ - // @ts-ignore - johnny(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.JoinData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.JoinData.ts deleted file mode 100644 index 86afc9e1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.JoinData.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface JoinData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} of the {@link Instant} that a {@link Player} joined - * the {@link Server} the first time. - */ - // @ts-ignore - firstPlayed(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} of the {@link Instant} that a {@link Player} joined - * the {@link Server} the last time. - */ - // @ts-ignore - lastPlayed(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.KnockbackData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.KnockbackData.ts deleted file mode 100644 index c3cac0c1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.KnockbackData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface KnockbackData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the "knockback strength. - */ - // @ts-ignore - knockbackStrength(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.LeashData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.LeashData.ts deleted file mode 100644 index 3473d414..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.LeashData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface LeashData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "leash holder". - */ - // @ts-ignore - leashHolder(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.MinecartBlockData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.MinecartBlockData.ts deleted file mode 100644 index cb772827..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.MinecartBlockData.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface MinecartBlockData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link BlockState} represented by the {@link Minecart}. - */ - // @ts-ignore - block(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the offset of the represented block, in "pixels". - *

Positive values move the block upwards in relation to the minecart, - * and negative values move the block downwards.

- */ - // @ts-ignore - offset(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.MovementSpeedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.MovementSpeedData.ts deleted file mode 100644 index 9ad132e1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.MovementSpeedData.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface MovementSpeedData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the "walking" speed. - */ - // @ts-ignore - walkSpeed(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link MutableBoundedValue} for the "flying" speed. - */ - // @ts-ignore - flySpeed(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.OcelotData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.OcelotData.ts deleted file mode 100644 index 12a7ae50..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.OcelotData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface OcelotData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ParrotData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ParrotData.ts deleted file mode 100644 index 20e399fd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ParrotData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface ParrotData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PassengerData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PassengerData.ts deleted file mode 100644 index 915a8850..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PassengerData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface PassengerData extends org.spongepowered.api.data.manipulator.mutable.ListData { - /** - * Gets the {@link Value} for the current {@link Entity} acting - * as a passenger. - */ - // @ts-ignore - passengers(): org.spongepowered.api.data.value.mutable.ListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PersistingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PersistingData.ts deleted file mode 100644 index bfd8fce0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PersistingData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface PersistingData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "persist" state of an - * {@link Entity}. - */ - // @ts-ignore - persists(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PickupDelayData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PickupDelayData.ts deleted file mode 100644 index 3c9abfa0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PickupDelayData.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface PickupDelayData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the "pickup delay". - */ - // @ts-ignore - delay(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link Value} for the "is infinite" state of - * the pickup delay. - */ - // @ts-ignore - infinite(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PickupRuleData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PickupRuleData.ts deleted file mode 100644 index e2ec8009..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PickupRuleData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface PickupRuleData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PigSaddleData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PigSaddleData.ts deleted file mode 100644 index adafbfd7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PigSaddleData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface PigSaddleData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the the "saddled" state. - */ - // @ts-ignore - saddle(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PlayerCreatedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PlayerCreatedData.ts deleted file mode 100644 index bd5c987e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PlayerCreatedData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface PlayerCreatedData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "player created" state of an - * {@link IronGolem}. - */ - // @ts-ignore - playerCreated(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PlayingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PlayingData.ts deleted file mode 100644 index 7bca6cba..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.PlayingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface PlayingData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "playing" state. - */ - // @ts-ignore - playing(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.RabbitData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.RabbitData.ts deleted file mode 100644 index 05f9c56e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.RabbitData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface RabbitData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.RespawnLocationData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.RespawnLocationData.ts deleted file mode 100644 index 4c310f3b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.RespawnLocationData.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface RespawnLocationData extends org.spongepowered.api.data.manipulator.mutable.MappedData { - /** - * Gets the {@link MapValue} for the "respawn" locations set for various - * {@link World#getUniqueId()} such that a {@link Player} may not have a - * respawn point for a particular {@link World}, but may have multiple - * respawn points for other {@link World}s. - */ - // @ts-ignore - respawnLocation(): org.spongepowered.api.data.value.mutable.MapValue; - /** - * Gets the respawn location for the given world, if available. If the - * respawn point for that world has not been set, {@link Optional#empty()} - * is returned. - */ - // @ts-ignore - getForWorld(world: org.spongepowered.api.world.World): any; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ScreamingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ScreamingData.ts deleted file mode 100644 index d058aab4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ScreamingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface ScreamingData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "screaming" state. - */ - // @ts-ignore - screaming(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ShatteringData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ShatteringData.ts deleted file mode 100644 index 8ee99f73..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ShatteringData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface ShatteringData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "shattering" state of an - * {@link EyeOfEnder}. - */ - // @ts-ignore - willShatter(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ShearedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ShearedData.ts deleted file mode 100644 index aebcf3d8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.ShearedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface ShearedData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} of the "sheared" state. - */ - // @ts-ignore - sheared(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SilentData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SilentData.ts deleted file mode 100644 index e8c64081..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SilentData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface SilentData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "silent state". - */ - // @ts-ignore - silent(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SittingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SittingData.ts deleted file mode 100644 index adee41a6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SittingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface SittingData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "sitting" state. - */ - // @ts-ignore - sitting(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SizeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SizeData.ts deleted file mode 100644 index e227f14d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SizeData.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface SizeData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the current x/z size of this entity. - */ - // @ts-ignore - base(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the current y height of this entity. - */ - // @ts-ignore - height(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link MutableBoundedValue} for the "scale" size. - */ - // @ts-ignore - scale(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SkinData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SkinData.ts deleted file mode 100644 index 35cd9cbf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SkinData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface SkinData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the {@link UUID} of the skin to display on a - * {@link Humanoid} entity for customization. - */ - // @ts-ignore - skinUniqueId(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SleepingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SleepingData.ts deleted file mode 100644 index c3223cd0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SleepingData.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface SleepingData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for whether the owning {@link Player}'s - * "sleeping" state is ignored when vanilla mechanics dictate that all - * {@link Player}s must be sleeping to advance through the night. - */ - // @ts-ignore - sleeping(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SlimeData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SlimeData.ts deleted file mode 100644 index 15335ed1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SlimeData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface SlimeData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the "size" of a slime. - */ - // @ts-ignore - size(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SneakingData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SneakingData.ts deleted file mode 100644 index d0fb4f34..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SneakingData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface SneakingData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "sneaking" state. - */ - // @ts-ignore - sneaking(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SprintData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SprintData.ts deleted file mode 100644 index a4e61987..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.SprintData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface SprintData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "sprinting" state. - */ - // @ts-ignore - sprinting(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.StatisticData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.StatisticData.ts deleted file mode 100644 index 1d01fd63..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.StatisticData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface StatisticData extends org.spongepowered.api.data.manipulator.mutable.MappedData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.StuckArrowsData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.StuckArrowsData.ts deleted file mode 100644 index e52d63b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.StuckArrowsData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface StuckArrowsData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the stuck arrows. - */ - // @ts-ignore - stuckArrows(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.TameableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.TameableData.ts deleted file mode 100644 index 1c350f97..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.TameableData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface TameableData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link OptionalValue} for the {@link UUID} of the - * {@link Tamer}. - */ - // @ts-ignore - owner(): org.spongepowered.api.data.value.mutable.OptionalValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.TargetedEntityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.TargetedEntityData.ts deleted file mode 100644 index e765d0b6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.TargetedEntityData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface TargetedEntityData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the targeted {@link Entity}. - */ - // @ts-ignore - value(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.TradeOfferData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.TradeOfferData.ts deleted file mode 100644 index dd68efda..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.TradeOfferData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface TradeOfferData extends org.spongepowered.api.data.manipulator.mutable.ListData { - /** - * Gets the {@link ListValue} of {@link TradeOffer}s that can be - * offered. - */ - // @ts-ignore - tradeOffers(): org.spongepowered.api.data.value.mutable.ListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.VehicleData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.VehicleData.ts deleted file mode 100644 index 7f2be010..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.VehicleData.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface VehicleData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the current "vehicle" being ridden. - */ - // @ts-ignore - vehicle(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the base {@link Value} for the "base vehicle" being ridden - * such that the current vehicle may be riding another {@link Entity}, - * causing that entity to be called the "base vehicle". - */ - // @ts-ignore - baseVehicle(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.VelocityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.VelocityData.ts deleted file mode 100644 index b5ca44b9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.entity.VelocityData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace entity { - // @ts-ignore - interface VelocityData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the current velocity as a - * {@link Vector3d}. - */ - // @ts-ignore - velocity(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.AuthorData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.AuthorData.ts deleted file mode 100644 index 921b0dcd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.AuthorData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface AuthorData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the author of this item. - */ - // @ts-ignore - author(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.BlockItemData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.BlockItemData.ts deleted file mode 100644 index 6bb0de63..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.BlockItemData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface BlockItemData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the currently represented - * {@link BlockState}. - */ - // @ts-ignore - state(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.BreakableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.BreakableData.ts deleted file mode 100644 index be34174f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.BreakableData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface BreakableData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link SetValue} for all known {@link BlockType}s that - * can be broken by the owning {@link ItemStack}. - */ - // @ts-ignore - breakable(): org.spongepowered.api.data.value.mutable.SetValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.CoalData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.CoalData.ts deleted file mode 100644 index 9f2a5136..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.CoalData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface CoalData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.CookedFishData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.CookedFishData.ts deleted file mode 100644 index 6e61fef2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.CookedFishData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface CookedFishData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.DurabilityData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.DurabilityData.ts deleted file mode 100644 index 6d6b22ce..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.DurabilityData.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface DurabilityData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the "durability" remaining. - * The durability is a number signifying how many "uses' remain on the - * item. When the durability reaches 0, usually, the item breaks. - */ - // @ts-ignore - durability(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link Value} for the "unbreakable" state of the - * {@link ItemStack}. While the {@link ItemStack} is "unbreakable", - * the durability can not change. - */ - // @ts-ignore - unbreakable(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.EnchantmentData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.EnchantmentData.ts deleted file mode 100644 index 265a49d3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.EnchantmentData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface EnchantmentData extends org.spongepowered.api.data.manipulator.mutable.ListData { - /** - * Gets the {@link ListValue} of {@link Enchantment}s on item stacks. - */ - // @ts-ignore - enchantments(): org.spongepowered.api.data.value.mutable.ListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.FishData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.FishData.ts deleted file mode 100644 index 54cdb0c6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.FishData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface FishData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.GenerationData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.GenerationData.ts deleted file mode 100644 index 0cd8b98f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.GenerationData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface GenerationData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} that represents the "generation" - * state of a book. - */ - // @ts-ignore - generation(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.GoldenAppleData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.GoldenAppleData.ts deleted file mode 100644 index d7c694e3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.GoldenAppleData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface GoldenAppleData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.HideData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.HideData.ts deleted file mode 100644 index e33cff45..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.HideData.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface HideData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "enchantments hidden" state of an itemstack. - */ - // @ts-ignore - hideEnchantments(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the "attributes hidden" state of an itemstack. - */ - // @ts-ignore - hideAttributes(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the "unbreakable hidden" state of an itemstack. - */ - // @ts-ignore - hideUnbreakable(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the "can destroy hidden" state of an itemstack. - */ - // @ts-ignore - hideCanDestroy(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the "can place hidden" state of an itemstack. - */ - // @ts-ignore - hideCanPlace(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the "miscellaneous hidden" state of an itemstack. - */ - // @ts-ignore - hideMiscellaneous(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.InventoryItemData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.InventoryItemData.ts deleted file mode 100644 index b9de3c91..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.InventoryItemData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface InventoryItemData extends org.spongepowered.api.data.manipulator.DataManipulator, org.spongepowered.api.item.inventory.Carrier { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.LoreData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.LoreData.ts deleted file mode 100644 index b832b8bf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.LoreData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface LoreData extends org.spongepowered.api.data.manipulator.mutable.ListData { - /** - * Gets the {@link ListValue} of the "lore" {@link Text}. - */ - // @ts-ignore - lore(): org.spongepowered.api.data.value.mutable.ListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.MapItemData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.MapItemData.ts deleted file mode 100644 index 46d83938..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.MapItemData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface MapItemData extends org.spongepowered.api.data.manipulator.DataManipulator { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.PagedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.PagedData.ts deleted file mode 100644 index ee5357a2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.PagedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface PagedData extends org.spongepowered.api.data.manipulator.mutable.ListData { - /** - * Gets the {@link ListValue} for the {@link Text} pages. - */ - // @ts-ignore - pages(): org.spongepowered.api.data.value.mutable.ListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.PlaceableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.PlaceableData.ts deleted file mode 100644 index 46f95d46..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.PlaceableData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface PlaceableData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link SetValue} of {@link BlockType}s the - * {@link ItemType} can be placed on. - */ - // @ts-ignore - placeable(): org.spongepowered.api.data.value.mutable.SetValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.PlainPagedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.PlainPagedData.ts deleted file mode 100644 index f330b144..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.PlainPagedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface PlainPagedData extends org.spongepowered.api.data.manipulator.mutable.ListData { - /** - * Gets the {@link ListValue} for the {@link Text} pages. - */ - // @ts-ignore - pages(): org.spongepowered.api.data.value.mutable.ListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.SpawnableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.SpawnableData.ts deleted file mode 100644 index 9861f0f5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.SpawnableData.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface SpawnableData extends org.spongepowered.api.data.manipulator.mutable.VariantData { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.StoredEnchantmentData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.StoredEnchantmentData.ts deleted file mode 100644 index 4163d793..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.item.StoredEnchantmentData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace item { - // @ts-ignore - interface StoredEnchantmentData extends org.spongepowered.api.data.manipulator.mutable.ListData { - /** - * Gets the {@link ListValue} of {@link Enchantment}s stored such - * that it can be applied to an {@link ItemStack}. - */ - // @ts-ignore - enchantments(): org.spongepowered.api.data.value.mutable.ListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BannerData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BannerData.ts deleted file mode 100644 index 0e5358e6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BannerData.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace tileentity { - // @ts-ignore - interface BannerData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the base {@link DyeColor}. - */ - // @ts-ignore - baseColor(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link PatternListValue} of all patterns for the - * {@link Banner}. - */ - // @ts-ignore - patternsList(): org.spongepowered.api.data.value.mutable.PatternListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BeaconData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BeaconData.ts deleted file mode 100644 index 0685a93b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BeaconData.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace tileentity { - // @ts-ignore - interface BeaconData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link OptionalValue} for the primary - * {@link PotionEffectType}. - */ - // @ts-ignore - primaryEffect(): org.spongepowered.api.data.value.mutable.OptionalValue; - /** - * Gets the {@link OptionalValue} for the secondary - * {@link PotionEffectType}. - */ - // @ts-ignore - secondaryEffect(): org.spongepowered.api.data.value.mutable.OptionalValue; - /** - * Fills the primary and secondary {@link PotionEffectType}s - * with {@link Optional#empty()} values as a semi "reset" state. - */ - // @ts-ignore - clearEffects(): org.spongepowered.api.data.manipulator.mutable.tileentity.BeaconData; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BedData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BedData.ts deleted file mode 100644 index 33718d2f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BedData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace tileentity { - // @ts-ignore - interface BedData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the {@link DyeColor color}. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BrewingStandData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BrewingStandData.ts deleted file mode 100644 index e55f6e71..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.BrewingStandData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace tileentity { - // @ts-ignore - interface BrewingStandData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the remaining brew time. - *

If nothing is brewing the value is 0.

- */ - // @ts-ignore - remainingBrewTime(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.CooldownData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.CooldownData.ts deleted file mode 100644 index 6053a024..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.CooldownData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace tileentity { - // @ts-ignore - interface CooldownData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "cooldown" remaining. - */ - // @ts-ignore - cooldown(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.EndGatewayData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.EndGatewayData.ts deleted file mode 100644 index f7279881..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.EndGatewayData.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace tileentity { - // @ts-ignore - interface EndGatewayData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the exit portal location of - * the {@link EndGateway}. - */ - // @ts-ignore - exitPosition(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the "should use exact teleport location" - * state of the {@link EndGateway}. - */ - // @ts-ignore - exactTeleport(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the age of the {@link EndGateway}. - */ - // @ts-ignore - age(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the teleport cooldown of the {@link EndGateway}. - */ - // @ts-ignore - teleportCooldown(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.FurnaceData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.FurnaceData.ts deleted file mode 100644 index a4bd5198..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.FurnaceData.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace tileentity { - // @ts-ignore - interface FurnaceData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link MutableBoundedValue} for the already passed burn time of - * the {@link Furnace}. When this is equal to the {@link #maxBurnTime()}, - * the current used fuel is depleted. - */ - // @ts-ignore - passedBurnTime(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the maximum amount of fuel that - * can be supplied with the used fuel item. - *

This is represented by the flame icon in the {@link Furnace}, if the - * flame is 100% filled the value is exactly this one. So its the maximum - * of the {@link #passedBurnTime()}.

- */ - // @ts-ignore - maxBurnTime(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the already passed cook time of - * the {@link ItemStack} in the {@link Furnace}. When this is equal to the - * {@link #maxCookTime()}, the {@link ItemStack} is cooked. - */ - // @ts-ignore - passedCookTime(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the total time the - * {@link ItemStack} has to cook until it is cooked. - *

This is represented by the arrow icon in the {@link Furnace}, if the - * arrow is 100% filled the value is exact this one. So its the maximum of - * the {@link #passedCookTime()}.

- */ - // @ts-ignore - maxCookTime(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.LockableData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.LockableData.ts deleted file mode 100644 index d7133713..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.LockableData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace tileentity { - // @ts-ignore - interface LockableData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the "lock" token. - */ - // @ts-ignore - lockToken(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.NoteData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.NoteData.ts deleted file mode 100644 index 52dd712c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.NoteData.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace tileentity { - // @ts-ignore - interface NoteData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the {@link NotePitch}. - */ - // @ts-ignore - note(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.SignData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.SignData.ts deleted file mode 100644 index 6d6fc031..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.SignData.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace tileentity { - // @ts-ignore - interface SignData extends org.spongepowered.api.data.manipulator.mutable.ListData { - /** - * Gets the {@link ListValue} of {@link Text} for the {@link Sign} - * to show. - */ - // @ts-ignore - lines(): org.spongepowered.api.data.value.mutable.ListValue; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.StructureData.ts b/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.StructureData.ts deleted file mode 100644 index 47396c04..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.manipulator.mutable.tileentity.StructureData.ts +++ /dev/null @@ -1,67 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace manipulator { - namespace mutable { - namespace tileentity { - // @ts-ignore - interface StructureData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link Value} for the author of the {@link Structure}. - */ - // @ts-ignore - author(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the ignore entities state of the {@link Structure}. - */ - // @ts-ignore - ignoreEntities(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the integrity of the {@link Structure}. - */ - // @ts-ignore - integrity(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the mode of the {@link Structure}. - */ - // @ts-ignore - mode(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the position of the {@link Structure}. - */ - // @ts-ignore - position(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the powered state of the {@link Structure}. - */ - // @ts-ignore - powered(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the seed of the {@link Structure}. - */ - // @ts-ignore - seed(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the show air state of the {@link Structure}. - */ - // @ts-ignore - showAir(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the show bounding box state of the {@link Structure}. - */ - // @ts-ignore - showBoundingBox(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} for the size of the {@link Structure}. - */ - // @ts-ignore - size(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.merge.MergeFunction.ts b/packages/sponge/src/typings/org.spongepowered.api.data.merge.MergeFunction.ts deleted file mode 100644 index f4a925fd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.merge.MergeFunction.ts +++ /dev/null @@ -1,55 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace merge { - // @ts-ignore - interface MergeFunction { - // @ts-ignore - IGNORE_ALL: org.spongepowered.api.data.merge.MergeFunction; - // @ts-ignore - FORCE_NOTHING: org.spongepowered.api.data.merge.MergeFunction; - /** - * Performs a merge of a type of {@link ValueContainer} such that a merge - * of the contained {@link BaseValue}s has been performed and the resulting - * merged {@link ValueContainer} is returned. It is suffice to say that - * only one of the {@link ValueContainer} containers may be {@code null}, - * such that
 {@code
-                         * if (original == null) {
-                         * return checkNotNull(replacement);
-                         * } else if (replacement == null) {
-                         * return original;
-                         * } else {
-                         * // do something merging the necessary values
-                         * }
-                         * }
- * It can be therefor discerned that both values are passed in as copies - * and therefor either one can be modified and returned. - *

Since - * {@link CompositeValueStore#copyFrom(CompositeValueStore, MergeFunction)} - * accepts only a single {@link MergeFunction}, and a - * {@link CompositeValueStore} may have multiple {@link ValueContainer}s, - * as provided by {@link CompositeValueStore#getContainers()}, the merge - * function may be called for every single number of {@link ValueContainer}. - * This way, a {@link MergeFunction} can be fully customized to merge - * specific {@link ValueContainer}s of matching types.

- */ - // @ts-ignore - merge(original: org.spongepowered.api.data.value.ValueContainer, replacement: org.spongepowered.api.data.value.ValueContainer): org.spongepowered.api.data.value.ValueContainer; - /** - * Creates a new {@link MergeFunction} chaining this current merge function - * with the provided merge function. The order of the merge is this - * performs {@link #merge(ValueContainer, ValueContainer)} then, the - * provided {@link MergeFunction} merges the returned merged - * {@link ValueContainer} and the {@code replacement}. This can be used to - * apply a custom merge strategy after a pre-defined {@link MergeFunction} - * is applied. - */ - // @ts-ignore - andThen(that: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.merge.MergeFunction; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.meta.PatternLayer.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.meta.PatternLayer.Builder.ts deleted file mode 100644 index a52c3ac2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.meta.PatternLayer.Builder.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace meta { - namespace PatternLayer { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.persistence.DataBuilder { - /** - * Sets the {@link BannerPatternShape} to be used. - */ - // @ts-ignore - pattern(shape: org.spongepowered.api.data.type.BannerPatternShape): org.spongepowered.api.data.meta.PatternLayer.Builder; - /** - * Sets the {@link DyeColor} to be used. - */ - // @ts-ignore - color(color: org.spongepowered.api.data.type.DyeColor): org.spongepowered.api.data.meta.PatternLayer.Builder; - /** - * Builds a {@link PatternLayer} provided that the - * color and pattern are set. - */ - // @ts-ignore - build(): org.spongepowered.api.data.meta.PatternLayer; - // @ts-ignore - reset(): org.spongepowered.api.data.meta.PatternLayer.Builder; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.meta.PatternLayer.ts b/packages/sponge/src/typings/org.spongepowered.api.data.meta.PatternLayer.ts deleted file mode 100644 index 7a032874..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.meta.PatternLayer.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace meta { - // @ts-ignore - interface PatternLayer extends org.spongepowered.api.data.DataSerializable { - /** - * Creates a {@link PatternLayer} with the desired - * {@link BannerPatternShape} and {@link DyeColor}. - */ - // @ts-ignore - of(shape: org.spongepowered.api.data.type.BannerPatternShape, color: org.spongepowered.api.data.type.DyeColor): org.spongepowered.api.data.meta.PatternLayer; - /** - * Gets the pattern shape for this layer. - */ - // @ts-ignore - getShape(): org.spongepowered.api.data.type.BannerPatternShape; - /** - * Gets the color for this layer. - */ - // @ts-ignore - getColor(): org.spongepowered.api.data.type.DyeColor; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.AbstractDataBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.persistence.AbstractDataBuilder.ts deleted file mode 100644 index cf731794..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.AbstractDataBuilder.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace persistence { - // @ts-ignore - abstract class AbstractDataBuilder implements org.spongepowered.api.data.persistence.DataBuilder { - constructor(requiredClass: any, supportedVersion: number) - /** - * Builds the currently {@link #supportedVersion} variant of the intended - * {@link DataSerializable}, such that all content upgrades have already - * been handled by {@link #build(DataView)}. This otherwise follows the - * same contract as {@link DataBuilder#build(DataView)}. - */ - // @ts-ignore - protected abstract buildContent(container: org.spongepowered.api.data.DataView): any; - // @ts-ignore - public build(container: org.spongepowered.api.data.DataView): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataBuilder.ts deleted file mode 100644 index 8e02c633..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataBuilder.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace persistence { - // @ts-ignore - interface DataBuilder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Attempts to build the provided {@link DataSerializable} from the given - * {@link DataView}. If the {@link DataView} is invalid or - * missing necessary information to complete building the - * {@link DataSerializable}, {@link Optional#empty()} may be returned. - */ - // @ts-ignore - build(container: org.spongepowered.api.data.DataView): any; - // @ts-ignore - reset(): org.spongepowered.api.data.persistence.DataBuilder; - // @ts-ignore - from(value: org.spongepowered.api.data.DataSerializable): org.spongepowered.api.data.persistence.DataBuilder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataContentUpdater.ts b/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataContentUpdater.ts deleted file mode 100644 index a6b48e48..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataContentUpdater.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace persistence { - // @ts-ignore - interface DataContentUpdater extends org.spongepowered.api.util.Updater { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataFormat.ts b/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataFormat.ts deleted file mode 100644 index 057ac4c0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataFormat.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace persistence { - // @ts-ignore - interface DataFormat extends org.spongepowered.api.CatalogType { - /** - * Creates a new {@link DataContainer} from the contents of the given - * {@link InputStream}. - */ - // @ts-ignore - readFrom(input: any): org.spongepowered.api.data.DataContainer; - /** - * Writes the given {@link DataView} to the given {@link OutputStream} using - * the format specified by this {@link DataFormat}. - */ - // @ts-ignore - writeTo(output: any, data: org.spongepowered.api.data.DataView): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataFormats.ts b/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataFormats.ts deleted file mode 100644 index 53a89bf1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataFormats.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace persistence { - // @ts-ignore - class DataFormats { - // @ts-ignore - public static HOCON: org.spongepowered.api.data.persistence.StringDataFormat; - // @ts-ignore - public static JSON: org.spongepowered.api.data.persistence.StringDataFormat; - // @ts-ignore - public static NBT: org.spongepowered.api.data.persistence.DataFormat; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataTranslator.ts b/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataTranslator.ts deleted file mode 100644 index 9537906f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataTranslator.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace persistence { - // @ts-ignore - interface DataTranslator extends org.spongepowered.api.CatalogType { - /** - * Gets the {@link TypeToken} of this translator. - */ - // @ts-ignore - getToken(): any; - /** - * Attempts to translate the {@code T} object from the provided - * {@link DataView}. - */ - // @ts-ignore - translate(view: org.spongepowered.api.data.DataView): any; - /** - * Serializes the provided object to a {@link DataContainer}. - */ - // @ts-ignore - translate(obj: any): org.spongepowered.api.data.DataContainer; - /** - * Serializes the {@code T} object and applies the provided - * data to the provided {@link DataView} instead of creating - * a new {@link DataContainer}, reducing nested information. - */ - // @ts-ignore - addTo(obj: any, dataView: org.spongepowered.api.data.DataView): org.spongepowered.api.data.DataView; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataTranslators.ts b/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataTranslators.ts deleted file mode 100644 index 20492409..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.DataTranslators.ts +++ /dev/null @@ -1,63 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace persistence { - // @ts-ignore - class DataTranslators { - // @ts-ignore - public static SCHEMATIC: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static LEGACY_SCHEMATIC: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static CONFIGURATION_NODE: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static UUID: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static VECTOR_2_D: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static VECTOR_2_F: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static VECTOR_2_I: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static VECTOR_2_L: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static VECTOR_3_D: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static VECTOR_3_F: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static VECTOR_3_I: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static VECTOR_3_L: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static VECTOR_4_D: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static VECTOR_4_F: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static VECTOR_4_I: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static VECTOR_4_L: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static COMPLEXD: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static COMPLEXF: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static QUATERNIOND: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static QUATERNIONF: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static LOCAL_TIME: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static LOCAL_DATE: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static LOCAL_DATE_TIME: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static INSTANT: org.spongepowered.api.data.persistence.DataTranslator; - // @ts-ignore - public static ZONED_DATE_TIME: org.spongepowered.api.data.persistence.DataTranslator; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.InvalidDataException.ts b/packages/sponge/src/typings/org.spongepowered.api.data.persistence.InvalidDataException.ts deleted file mode 100644 index 1a170fbd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.InvalidDataException.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace persistence { - // @ts-ignore - class InvalidDataException { - /** - * Constructs a new {@link InvalidDataException}. - */ - constructor() - /** - * Constructs a new {@link InvalidDataException} with a message. - */ - constructor(message: string) - /** - * Constructs a new {@link InvalidDataException} with the specified message and - * cause. - */ - constructor(message: string, cause: any) - /** - * Constructs a new {@link InvalidDataException} with the specified cause and a - * null message. - */ - constructor(cause: any) - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.InvalidDataFormatException.ts b/packages/sponge/src/typings/org.spongepowered.api.data.persistence.InvalidDataFormatException.ts deleted file mode 100644 index 07ec59a8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.InvalidDataFormatException.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace persistence { - // @ts-ignore - class InvalidDataFormatException { - /** - * Constructs a new {@link InvalidDataFormatException}. - */ - constructor() - /** - * Constructs a new {@link InvalidDataFormatException} with a message. - */ - constructor(message: string) - /** - * Constructs a new {@link InvalidDataFormatException} with the specified - * message and cause. - */ - constructor(message: string, cause: any) - /** - * Constructs a new {@link InvalidDataFormatException} with the specified - * cause and a null message. - */ - constructor(cause: any) - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.StringDataFormat.ts b/packages/sponge/src/typings/org.spongepowered.api.data.persistence.StringDataFormat.ts deleted file mode 100644 index 9d3cde79..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.persistence.StringDataFormat.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace persistence { - // @ts-ignore - interface StringDataFormat extends org.spongepowered.api.data.persistence.DataFormat { - /** - * Creates a new {@link DataContainer} from the contents of the given - * {@link String}. - */ - // @ts-ignore - read(input: string): org.spongepowered.api.data.DataContainer; - /** - * Creates a new {@link DataContainer} from the contents of the given - * {@link Reader}. - */ - // @ts-ignore - readFrom(input: any): org.spongepowered.api.data.DataContainer; - /** - * Serializes the given {@link DataView} to a {@link String} using - * the format specified by this {@link DataFormat}. - */ - // @ts-ignore - write(data: org.spongepowered.api.data.DataView): string; - /** - * Writes the given {@link DataView} to the given {@link Writer} using - * the format specified by this {@link DataFormat}. - */ - // @ts-ignore - writeTo(output: any, data: org.spongepowered.api.data.DataView): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.AbstractProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.AbstractProperty.ts deleted file mode 100644 index 074d6d35..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.AbstractProperty.ts +++ /dev/null @@ -1,69 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - // @ts-ignore - abstract class AbstractProperty implements org.spongepowered.api.data.Property { - /** - * Initialise internal values to defaults, use this ctor if you plan to - * override {@link #getKey} and {@link #getValue} yourself. - */ - constructor() - /** - * Initialise key to default, and value to the supplied value. - */ - constructor(value: any) - /** - * Initialise the value to the specified value and use the specified - * operator, use the default key. - */ - constructor(value: any, op: org.spongepowered.api.data.Property.Operator) - /** - * Use the specified key and value and set operator to the default. - */ - constructor(key: any, value: any) - constructor(key: any, value: any, op: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - protected operator: org.spongepowered.api.data.Property.Operator; - // @ts-ignore - protected value: any; - /** - * Gets the default value for {@link #key}, used in case null is passed in - * (since we can't have a null key). In general this should return the class - * name of the property itself but subclasses are free to alter this - * behaviour if they wish. - */ - // @ts-ignore - protected getDefaultKey(value: any): any; - /** - * Return the default operator to use, based on the supplied key and value. - */ - // @ts-ignore - protected getDefaultOperator(key: any, value: any): org.spongepowered.api.data.Property.Operator; - // @ts-ignore - public getKey(): any; - // @ts-ignore - public getValue(): any; - // @ts-ignore - public getOperator(): org.spongepowered.api.data.Property.Operator; - // @ts-ignore - public matches(other: org.spongepowered.api.data.Property): boolean; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - /** - * Convenience method to avoid null-checking. Returns 0 if value is - * null. - */ - // @ts-ignore - protected hashCodeOf(value: any): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.BooleanProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.BooleanProperty.ts deleted file mode 100644 index 74c60120..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.BooleanProperty.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - // @ts-ignore - class BooleanProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Create a new integer property with the specified value. - */ - constructor(value: boolean) - /** - * Create a new integer property with the specified value and logical - * operator. - */ - constructor(value: boolean, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new integer property with the specified value and logical - * operator. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.DirectionRelativePropertyHolder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.DirectionRelativePropertyHolder.ts deleted file mode 100644 index ded57ba6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.DirectionRelativePropertyHolder.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - // @ts-ignore - interface DirectionRelativePropertyHolder { - /** - * Gets the desired property from this property holder when facing towards - * the desired {@link Direction}. - */ - // @ts-ignore - getProperty(direction: org.spongepowered.api.util.Direction, clazz: any): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.DisplacementProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.DisplacementProperty.ts deleted file mode 100644 index e7d15638..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.DisplacementProperty.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - // @ts-ignore - class DisplacementProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Creates a {@link DisplacementProperty} with a specific set of - * {@link BlockType}s. - */ - constructor(value: any[] /*java.util.Set*/) - /** - * Creates a {@link DisplacementProperty} with a specific set of - * {@link BlockType}s. - */ - constructor(value: any[] /*java.util.Set*/, op: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(o: org.spongepowered.api.data.Property): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.DoubleProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.DoubleProperty.ts deleted file mode 100644 index 76e96d4a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.DoubleProperty.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - // @ts-ignore - class DoubleProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Create a new integer property with the specified value. - */ - constructor(value: number) - /** - * Create a new integer property with the specified value and logical - * operator. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new integer property with the specified value and logical - * operator. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.IntProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.IntProperty.ts deleted file mode 100644 index ed8c8d3d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.IntProperty.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - // @ts-ignore - class IntProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Create a new integer property with the specified value. - */ - constructor(value: number) - /** - * Create a new integer property with the specified value and logical - * operator. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new integer property with the specified value and logical - * operator. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.LocationBasePropertyHolder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.LocationBasePropertyHolder.ts deleted file mode 100644 index 14ef8e19..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.LocationBasePropertyHolder.ts +++ /dev/null @@ -1,83 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - // @ts-ignore - interface LocationBasePropertyHolder { - /** - * Attempts to retrieve a specific {@link Property} type of the block at the - * specific location. If the property is not applicable, - * {@link Optional#empty()} is returned. - *

{@link Property}s can define various immutable information about a - * {@link PropertyHolder} that is dependent on the instance of the holder. - * As {@link Property}s cannot be changed, the {@link PropertyHolder} can - * not change the information about it's own properties either.

- */ - // @ts-ignore - getProperty(coords: any /*Vector3i*/, propertyClass: any): any; - /** - * Attempts to retrieve a specific {@link Property} type of this - * {@link PropertyHolder}. If the property is not applicable, - * {@link Optional#empty()} is returned. - *

{@link Property}s can define various immutable information about a - * {@link PropertyHolder} that is dependent on the instance of the holder. - * As {@link Property}s cannot be changed, the {@link PropertyHolder} can - * not change the information about it's own properties either.

- */ - // @ts-ignore - getProperty(x: number, y: number, z: number, propertyClass: any): any; - /** - * Attempts to retrieve a specific {@link Property} type of the block at the - * specific location on the given block face. If the property is not - * applicable, {@link Optional#empty()} is returned. - *

{@link Property}s can define various immutable information about a - * {@link PropertyHolder} that is dependent on the instance of the holder. - * As {@link Property}s cannot be changed, the {@link PropertyHolder} can - * not change the information about it's own properties either.

- */ - // @ts-ignore - getProperty(coords: any /*Vector3i*/, direction: org.spongepowered.api.util.Direction, propertyClass: any): any; - /** - * Attempts to retrieve a specific {@link Property} type of the block at the - * specific location on the given block face. If the property is not - * applicable, {@link Optional#empty()} is returned. - *

{@link Property}s can define various immutable information about a - * {@link PropertyHolder} that is dependent on the instance of the holder. - * As {@link Property}s cannot be changed, the {@link PropertyHolder} can - * not change the information about it's own properties either.

- */ - // @ts-ignore - getProperty(x: number, y: number, z: number, direction: org.spongepowered.api.util.Direction, propertyClass: any): any; - /** - * Gets an immutable collection of all known {@link Property}s pertaining to - * this {@link PropertyHolder}. - *

{@link Property}s can not be changed such that the property is - * attached to the instance of the residing {@link PropertyHolder}.

- */ - // @ts-ignore - getProperties(coords: any /*Vector3i*/): any[] /*java.util.Collection*/; - /** - * Gets an immutable collection of all known {@link Property}s pertaining to - * this {@link PropertyHolder}. - *

{@link Property}s can not be changed such that the property is - * attached to the instance of the residing {@link PropertyHolder}.

- */ - // @ts-ignore - getProperties(x: number, y: number, z: number): any[] /*java.util.Collection*/; - /** - * Gets all the faces of this block that have the given property. - */ - // @ts-ignore - getFacesWithProperty(coords: any /*Vector3i*/, propertyClass: any): any[] /*java.util.Collection*/; - /** - * Gets all the faces of this block that have the given property. - */ - // @ts-ignore - getFacesWithProperty(x: number, y: number, z: number, propertyClass: any): any[] /*java.util.Collection*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.PropertyHolder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.PropertyHolder.ts deleted file mode 100644 index 7a15e1c3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.PropertyHolder.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - // @ts-ignore - interface PropertyHolder { - /** - * Attempts to retrieve a specific {@link Property} type of this - * {@link PropertyHolder}. If the property is not applicable, - * {@link Optional#empty()} is returned. - *

{@link Property}s can define various immutable information about a - * {@link PropertyHolder} that is dependent on the instance of the holder. - * As {@link Property}s cannot be changed, the {@link PropertyHolder} can - * not change the information about it's own properties either.

- */ - // @ts-ignore - getProperty(propertyClass: any): any; - /** - * Gets an immutable collection of all known {@link Property}s pertaining - * to this {@link PropertyHolder}. - *

{@link Property}s can not be changed such that the property is - * attached to the instance of the residing {@link PropertyHolder}.

- */ - // @ts-ignore - getApplicableProperties(): any[] /*java.util.Collection*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.PropertyRegistry.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.PropertyRegistry.ts deleted file mode 100644 index d5a8b6b7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.PropertyRegistry.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - // @ts-ignore - interface PropertyRegistry { - /** - * Registers the provided {@link PropertyStore} for the given - * {@link Property} {@link Class}. Note that only a single - * {@link PropertyStore} can be registered per {@link Property}. Multiple - * registrations will result in exceptions being thrown. - */ - // @ts-ignore - register(propertyClass: any, propertyStore: org.spongepowered.api.data.property.PropertyStore): void; - /** - * Retrieves the {@link PropertyStore} associated for the provided - * {@link Property} class. - */ - // @ts-ignore - getStore(propertyClass: any): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.PropertyStore.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.PropertyStore.ts deleted file mode 100644 index b43244ed..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.PropertyStore.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - // @ts-ignore - interface PropertyStore { - /** - * Gets the desired property for the provided {@link PropertyHolder} at - * present time. A property may not be the same throughout the course of - * the lifetime of the {@link PropertyHolder}. - */ - // @ts-ignore - getFor(propertyHolder: org.spongepowered.api.data.property.PropertyHolder): any; - /** - * Gets the desired property for the provided {@link Location} at present - * time. A property may not be the same throughout the course of the - * lifetime of the {@link Location}. - */ - // @ts-ignore - getFor(location: org.spongepowered.api.world.Location): any; - /** - * Gets the desired property for the provided {@link Location} at present - * time, in relation to the provided {@link Direction}. - */ - // @ts-ignore - getFor(location: org.spongepowered.api.world.Location, direction: org.spongepowered.api.util.Direction): any; - /** - * Gets the priority of which this {@link PropertyStore} is used for - * handling a particular {@link PropertyHolder}. This is useful for - * multiple possible handlers of a {@link Property} being available - * in customized {@link PropertyHolder}s. - *

The priority is a measurement where the higher the priority, the - * sooner this {@link PropertyStore} is queried such that if - * {@link #getFor(PropertyHolder)} is called and returns a present value, - * that present value is returned. Usually, Sponge implemented - * {@link PropertyStore}s have a priority of 100.

- */ - // @ts-ignore - getPriority(): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.BlastResistanceProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.BlastResistanceProperty.ts deleted file mode 100644 index 34ee63a5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.BlastResistanceProperty.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class BlastResistanceProperty extends org.spongepowered.api.data.property.DoubleProperty { - /** - * Creates a new {@link BlastResistanceProperty}. - */ - constructor(value: number) - /** - * Creates a new {@link BlastResistanceProperty}. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.CollectiveProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.CollectiveProperty.ts deleted file mode 100644 index 7af83174..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.CollectiveProperty.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - abstract class CollectiveProperty implements org.spongepowered.api.data.Property { - constructor() - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.FlammableProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.FlammableProperty.ts deleted file mode 100644 index cc93756e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.FlammableProperty.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class FlammableProperty extends org.spongepowered.api.data.property.BooleanProperty { - /** - * Creates a new {@link FlammableProperty} with the provided {@code boolean} - * value. - */ - constructor(value: boolean) - /** - * Creates a new {@link FlammableProperty} with the provided {@code boolean} - * value and {@link org.spongepowered.api.data.Property.Operator comparison operator}. - */ - constructor(value: boolean, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.FullBlockSelectionBoxProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.FullBlockSelectionBoxProperty.ts deleted file mode 100644 index ceaaa185..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.FullBlockSelectionBoxProperty.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class FullBlockSelectionBoxProperty extends org.spongepowered.api.data.property.BooleanProperty { - /** - * Creates a new {@link FullBlockSelectionBoxProperty} with the provided - * value. - */ - constructor(value: boolean) - /** - * Creates a new {@link FullBlockSelectionBoxProperty} with the provided - * value. - */ - constructor(value: boolean, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.GravityAffectedProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.GravityAffectedProperty.ts deleted file mode 100644 index 56b5315d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.GravityAffectedProperty.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class GravityAffectedProperty extends org.spongepowered.api.data.property.BooleanProperty { - /** - * Creates a new {@link GravityAffectedProperty} with the provided {@code value}. - */ - constructor(value: boolean) - /** - * Creates a new {@link GravityAffectedProperty} with the provided {@code value} - * and {@link org.spongepowered.api.data.Property.Operator comparison operator}. - */ - constructor(value: boolean, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.GroundLuminanceProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.GroundLuminanceProperty.ts deleted file mode 100644 index e460758e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.GroundLuminanceProperty.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class GroundLuminanceProperty extends org.spongepowered.api.data.property.DoubleProperty { - /** - * Create a new {@link GroundLuminanceProperty} with the specified value. - */ - constructor(value: number) - /** - * Create a new {@link GroundLuminanceProperty} with the specified value and - * logical operator. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new {@link GroundLuminanceProperty} with the specified value and - * logical operator. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.HardnessProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.HardnessProperty.ts deleted file mode 100644 index 338ba38a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.HardnessProperty.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class HardnessProperty extends org.spongepowered.api.data.property.DoubleProperty { - /** - * Creates a new {@link HardnessProperty}. - */ - constructor(value: number) - /** - * Creates a new {@link HardnessProperty}. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.HeldItemProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.HeldItemProperty.ts deleted file mode 100644 index b9a1a97b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.HeldItemProperty.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class HeldItemProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Creates a new {@link HeldItemProperty} with the provided {@link ItemType}. - */ - constructor(value: org.spongepowered.api.item.ItemType) - /** - * Creates a new {@link HeldItemProperty} with the provided {@link ItemType} - * and {@link org.spongepowered.api.data.Property.Operator comparison operator}. - */ - constructor(value: org.spongepowered.api.item.ItemType, op: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(o: org.spongepowered.api.data.Property): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.IndirectlyPoweredProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.IndirectlyPoweredProperty.ts deleted file mode 100644 index 4d8b843e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.IndirectlyPoweredProperty.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class IndirectlyPoweredProperty extends org.spongepowered.api.data.property.BooleanProperty { - /** - * Creates a new {@link IndirectlyPoweredProperty}. - */ - constructor(value: boolean) - /** - * Creates a new {@link IndirectlyPoweredProperty}. - */ - constructor(value: boolean, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.InstrumentProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.InstrumentProperty.ts deleted file mode 100644 index 04d4b25a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.InstrumentProperty.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class InstrumentProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Constructs a new {@link InstrumentProperty} with the - * specified {@link InstrumentType}. - */ - constructor(instrument: org.spongepowered.api.data.type.InstrumentType) - // @ts-ignore - public compareTo(o: org.spongepowered.api.data.Property): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.LightEmissionProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.LightEmissionProperty.ts deleted file mode 100644 index 0caad34b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.LightEmissionProperty.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class LightEmissionProperty extends org.spongepowered.api.data.property.IntProperty { - /** - * Create a new {@link LightEmissionProperty} with the specified value. - */ - constructor(value: number) - /** - * Create a new {@link LightEmissionProperty} with the specified value and - * logical operator. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new {@link LightEmissionProperty} with the specified value and - * logical operator. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.MatterProperty.Matter.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.MatterProperty.Matter.ts deleted file mode 100644 index 00fd2843..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.MatterProperty.Matter.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - namespace MatterProperty { - // @ts-ignore - class Matter { - // @ts-ignore - public static SOLID: org.spongepowered.api.data.property.block.MatterProperty.Matter; - // @ts-ignore - public static LIQUID: org.spongepowered.api.data.property.block.MatterProperty.Matter; - // @ts-ignore - public static GAS: org.spongepowered.api.data.property.block.MatterProperty.Matter; - // @ts-ignore - public static values(): org.spongepowered.api.data.property.block.MatterProperty.Matter[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.data.property.block.MatterProperty.Matter; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.MatterProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.MatterProperty.ts deleted file mode 100644 index 776b4fb3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.MatterProperty.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class MatterProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Creates a new {@link MatterProperty} with the provided {@link Matter} - * state. - */ - constructor(value: org.spongepowered.api.data.property.block.MatterProperty.Matter) - /** - * Creates a new {@link MatterProperty} with the provided {@link Matter} - * state. - */ - constructor(value: org.spongepowered.api.data.property.block.MatterProperty.Matter, op: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(o: org.spongepowered.api.data.Property): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.PassableProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.PassableProperty.ts deleted file mode 100644 index 54d57106..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.PassableProperty.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class PassableProperty extends org.spongepowered.api.data.property.BooleanProperty { - /** - * Creates a new {@link PassableProperty}. - */ - constructor(value: boolean) - /** - * Creates a new {@link PassableProperty}. - */ - constructor(value: boolean, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.PoweredProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.PoweredProperty.ts deleted file mode 100644 index 580b7332..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.PoweredProperty.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class PoweredProperty extends org.spongepowered.api.data.property.BooleanProperty { - /** - * Creates a new {@link PoweredProperty}. - */ - constructor(value: boolean) - /** - * Creates a new {@link PoweredProperty}. - */ - constructor(value: boolean, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.ReplaceableProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.ReplaceableProperty.ts deleted file mode 100644 index 1fd3fd72..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.ReplaceableProperty.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class ReplaceableProperty extends org.spongepowered.api.data.property.BooleanProperty { - /** - * Creates a new {@link ReplaceableProperty} with the provided - * {@code value}. - */ - constructor(value: boolean) - /** - * Creates a new {@link ReplaceableProperty} with the provided - * {@code value} and - * {@link org.spongepowered.api.data.Property.Operator operator} for - * comparisons. - */ - constructor(value: boolean, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.SkyLuminanceProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.SkyLuminanceProperty.ts deleted file mode 100644 index 35142731..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.SkyLuminanceProperty.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class SkyLuminanceProperty extends org.spongepowered.api.data.property.DoubleProperty { - /** - * Create a new {@link SkyLuminanceProperty} with the specified value. - */ - constructor(value: number) - /** - * Create a new {@link SkyLuminanceProperty} with the specified value and - * logical operator. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new {@link SkyLuminanceProperty} with the specified value and - * logical operator. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.SolidCubeProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.SolidCubeProperty.ts deleted file mode 100644 index 6a4d4269..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.SolidCubeProperty.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class SolidCubeProperty extends org.spongepowered.api.data.property.BooleanProperty { - /** - * Creates a new {@link SolidCubeProperty} with the provided value. - */ - constructor(value: boolean) - /** - * Creates a new {@link SolidCubeProperty} with the provided value. - */ - constructor(value: boolean, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.StatisticsTrackedProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.StatisticsTrackedProperty.ts deleted file mode 100644 index 7d7cfb06..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.StatisticsTrackedProperty.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class StatisticsTrackedProperty extends org.spongepowered.api.data.property.BooleanProperty { - /** - * Creates a new {@link StatisticsTrackedProperty} for the provided - * {@code value}. Usually applicable to blocks, whether those blocks - * are statistically tracked. - */ - constructor(value: boolean) - /** - * Creates a new {@link StatisticsTrackedProperty} for the provided - * {@code value} and {@link org.spongepowered.api.data.Property.Operator}. - * Usually applicable to blocks, whether those blocks are statistically - * tracked. - */ - constructor(value: boolean, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.SurrogateBlockProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.SurrogateBlockProperty.ts deleted file mode 100644 index 070b87f4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.SurrogateBlockProperty.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class SurrogateBlockProperty extends org.spongepowered.api.data.property.BooleanProperty { - /** - * Creates a new {@link SurrogateBlockProperty}. - */ - constructor(value: boolean) - /** - * Creates a new {@link SurrogateBlockProperty}. - */ - constructor(value: boolean, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.TemperatureProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.TemperatureProperty.ts deleted file mode 100644 index 8ebf1ceb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.TemperatureProperty.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class TemperatureProperty extends org.spongepowered.api.data.property.DoubleProperty { - /** - * Creates a new {@link TemperatureProperty}. - */ - constructor(value: number) - /** - * Creates a new {@link TemperatureProperty}. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.UnbreakableProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.block.UnbreakableProperty.ts deleted file mode 100644 index 70ee7f09..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.block.UnbreakableProperty.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace block { - // @ts-ignore - class UnbreakableProperty extends org.spongepowered.api.data.property.BooleanProperty { - /** - * Creates a new {@link UnbreakableProperty} with the provided - * {@code value}. - */ - constructor(value: boolean) - /** - * Creates a new {@link UnbreakableProperty} with the provided - * {@code value} and - * {@link org.spongepowered.api.data.Property.Operator}. - */ - constructor(value: boolean, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.entity.DominantHandProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.entity.DominantHandProperty.ts deleted file mode 100644 index d6e66563..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.entity.DominantHandProperty.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace entity { - // @ts-ignore - class DominantHandProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Creates a new {@link DominantHandProperty} with the provided - * {@link HandPreference} value. - */ - constructor(value: org.spongepowered.api.data.type.HandPreference) - /** - * Creates a new {@link DominantHandProperty} with the provided - * {@link HandPreference} - * and {@link org.spongepowered.api.data.Property.Operator} value. - */ - constructor(value: org.spongepowered.api.data.type.HandPreference, op: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(o: org.spongepowered.api.data.Property): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.entity.EyeHeightProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.entity.EyeHeightProperty.ts deleted file mode 100644 index 92e6ebf7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.entity.EyeHeightProperty.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace entity { - // @ts-ignore - class EyeHeightProperty extends org.spongepowered.api.data.property.DoubleProperty { - /** - * Creates a new {@link EyeHeightProperty} based on the provided - * {@code value}. - */ - constructor(value: number) - /** - * Creates a new {@link EyeHeightProperty} based on the provided - * {@code value} and {@link org.spongepowered.api.data.Property.Operator comparison operator}. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.entity.EyeLocationProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.entity.EyeLocationProperty.ts deleted file mode 100644 index 4e3a33af..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.entity.EyeLocationProperty.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace entity { - // @ts-ignore - class EyeLocationProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Creates a new {@link EyeLocationProperty} based on the provided - * {@code position}. - */ - constructor(value: any /*Vector3d*/) - /** - * Creates a new {@link EyeLocationProperty} based on the provided - * {@link Vector3d position} and - * {@link org.spongepowered.api.data.Property.Operator comparison operator}. - */ - constructor(value: any /*Vector3d*/, op: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(o: org.spongepowered.api.data.Property): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.ApplicableEffectProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.item.ApplicableEffectProperty.ts deleted file mode 100644 index e07688a3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.ApplicableEffectProperty.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace item { - // @ts-ignore - class ApplicableEffectProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Creates a {@link ApplicableEffectProperty} with a specific set of {@link PotionEffect}s. - */ - constructor(value: any[] /*java.util.Set*/) - /** - * Creates a {@link ApplicableEffectProperty} with a specific set of {@link PotionEffect}s. - */ - constructor(value: any[] /*java.util.Set*/, op: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(o: org.spongepowered.api.data.Property): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.ArmorTypeProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.item.ArmorTypeProperty.ts deleted file mode 100644 index 1813f804..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.ArmorTypeProperty.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace item { - // @ts-ignore - class ArmorTypeProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Construct a new {@link ArmorTypeProperty} with the desired - * {@link ArmorType}. - */ - constructor(value: org.spongepowered.api.data.type.ArmorType) - /** - * Construct a new {@link ArmorTypeProperty} with the desired - * {@link ArmorType} and - * {@link org.spongepowered.api.data.Property.Operator}. - */ - constructor(value: org.spongepowered.api.data.type.ArmorType, op: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(o: org.spongepowered.api.data.Property): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.BurningFuelProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.item.BurningFuelProperty.ts deleted file mode 100644 index 279b04cc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.BurningFuelProperty.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace item { - // @ts-ignore - class BurningFuelProperty extends org.spongepowered.api.data.property.IntProperty { - /** - * Creates a new {@link BurningFuelProperty} with the given amount of - * fuel ticks. - */ - constructor(value: number) - /** - * Creates a new {@link BurningFuelProperty} with the given amount of - * fuel ticks. - */ - constructor(value: number, op: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.DamageAbsorptionProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.item.DamageAbsorptionProperty.ts deleted file mode 100644 index 0dc849e3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.DamageAbsorptionProperty.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace item { - // @ts-ignore - class DamageAbsorptionProperty extends org.spongepowered.api.data.property.IntProperty { - /** - * Creates a new {@link DamageAbsorptionProperty} with the given amount of - * damage absorption per hit. - */ - constructor(value: number) - /** - * Creates a new {@link DamageAbsorptionProperty} with the given amount of - * damage absorption per hit. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - /** - * Creates a new {@link DamageAbsorptionProperty} with the given amount of - * damage absorption per hit. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.EfficiencyProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.item.EfficiencyProperty.ts deleted file mode 100644 index c2412f37..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.EfficiencyProperty.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace item { - // @ts-ignore - class EfficiencyProperty extends org.spongepowered.api.data.property.DoubleProperty { - /** - * Creates a new EfficiencyProperty property for the specified value. - */ - constructor(value: number) - /** - * Creates a new EfficiencyProperty property for the specified value - * and operator. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - /** - * Creates a new EfficiencyProperty property for the specified value - * and operator. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.EquipmentProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.item.EquipmentProperty.ts deleted file mode 100644 index 2d1d035c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.EquipmentProperty.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace item { - // @ts-ignore - class EquipmentProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Constructs a new {@link EquipmentProperty}. - */ - constructor(value: org.spongepowered.api.item.inventory.equipment.EquipmentType) - /** - * Constructs a new {@link EquipmentProperty}. - */ - constructor(value: org.spongepowered.api.item.inventory.equipment.EquipmentType, op: org.spongepowered.api.data.Property.Operator) - /** - * Constructs a new {@link EquipmentProperty}. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(o: org.spongepowered.api.data.Property): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.FoodRestorationProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.item.FoodRestorationProperty.ts deleted file mode 100644 index 50ac957f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.FoodRestorationProperty.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace item { - // @ts-ignore - class FoodRestorationProperty extends org.spongepowered.api.data.property.IntProperty { - /** - * Creates a new {@link FoodRestorationProperty}. - */ - constructor(value: number) - /** - * Creates a new {@link FoodRestorationProperty}. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - /** - * Creates a new {@link FoodRestorationProperty}. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.HarvestingProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.item.HarvestingProperty.ts deleted file mode 100644 index 9e6d26b4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.HarvestingProperty.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace item { - // @ts-ignore - class HarvestingProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Creates a {@link HarvestingProperty} with a specific set of {@link BlockType}s. - */ - constructor(value: any[] /*java.util.Set*/) - /** - * Creates a {@link HarvestingProperty} with a specific set of {@link BlockType}s. - */ - constructor(value: any[] /*java.util.Set*/, op: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(o: org.spongepowered.api.data.Property): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.RecordProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.item.RecordProperty.ts deleted file mode 100644 index eeb16422..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.RecordProperty.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace item { - // @ts-ignore - class RecordProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Constructs a new record property with the specified record type. - */ - constructor(instrument: org.spongepowered.api.effect.sound.record.RecordType) - // @ts-ignore - public compareTo(o: org.spongepowered.api.data.Property): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.SaturationProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.item.SaturationProperty.ts deleted file mode 100644 index cab839eb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.SaturationProperty.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace item { - // @ts-ignore - class SaturationProperty extends org.spongepowered.api.data.property.DoubleProperty { - /** - * Creates a new {@link SaturationProperty}. - */ - constructor(value: any) - /** - * Creates a new {@link SaturationProperty}. - */ - constructor(value: any, op: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.SmeltableProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.item.SmeltableProperty.ts deleted file mode 100644 index b486a27b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.SmeltableProperty.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace item { - // @ts-ignore - class SmeltableProperty extends org.spongepowered.api.data.property.BooleanProperty { - /** - * Creates a new {@link SmeltableProperty}. - */ - constructor(value: boolean) - /** - * Creates a new {@link SmeltableProperty}. - */ - constructor(value: boolean, operator: org.spongepowered.api.data.Property.Operator) - /** - * Creates a new {@link SmeltableProperty}. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.ToolTypeProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.item.ToolTypeProperty.ts deleted file mode 100644 index 698cc97b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.ToolTypeProperty.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace item { - // @ts-ignore - class ToolTypeProperty extends org.spongepowered.api.data.property.AbstractProperty { - /** - * Creates a new {@link ToolTypeProperty} with the provided - * {@link ToolType} value. - */ - constructor(value: org.spongepowered.api.data.type.ToolType) - /** - * Creates a new {@link ToolTypeProperty} with the provided - * {@link ToolType} value and - * {@link org.spongepowered.api.data.Property.Operator} - * for comparisons. - */ - constructor(value: org.spongepowered.api.data.type.ToolType, op: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(o: org.spongepowered.api.data.Property): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.UseLimitProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.data.property.item.UseLimitProperty.ts deleted file mode 100644 index 00cb3186..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.property.item.UseLimitProperty.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace property { - namespace item { - // @ts-ignore - class UseLimitProperty extends org.spongepowered.api.data.property.IntProperty { - /** - * Creates a new {@link UseLimitProperty}. - */ - constructor(value: number) - /** - * Creates a new {@link UseLimitProperty}. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - /** - * Creates a new {@link UseLimitProperty}. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.ArmorType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.ArmorType.ts deleted file mode 100644 index 91567a48..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.ArmorType.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface ArmorType extends org.spongepowered.api.CatalogType { - /** - * Gets the {@link ItemType} that can be used to - * "repair" the armor type. - */ - // @ts-ignore - getRepairItemType(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.ArmorTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.ArmorTypes.ts deleted file mode 100644 index 3a0dca41..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.ArmorTypes.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class ArmorTypes { - // @ts-ignore - public static CHAIN: org.spongepowered.api.data.type.ArmorType; - // @ts-ignore - public static DIAMOND: org.spongepowered.api.data.type.ArmorType; - // @ts-ignore - public static GOLD: org.spongepowered.api.data.type.ArmorType; - // @ts-ignore - public static IRON: org.spongepowered.api.data.type.ArmorType; - // @ts-ignore - public static LEATHER: org.spongepowered.api.data.type.ArmorType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.Art.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.Art.ts deleted file mode 100644 index 4c44c61b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.Art.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface Art extends org.spongepowered.api.CatalogType { - /** - * Gets the height in blocks this art piece spans. - */ - // @ts-ignore - getHeight(): number; - /** - * Gets the width in blocks this art piece spans. - */ - // @ts-ignore - getWidth(): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.Arts.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.Arts.ts deleted file mode 100644 index 27dab11e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.Arts.ts +++ /dev/null @@ -1,65 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class Arts { - // @ts-ignore - public static ALBAN: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static AZTEC: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static AZTEC_2: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static BOMB: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static BURNING_SKULL: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static BUST: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static COURBET: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static CREEBET: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static DONKEY_KONG: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static FIGHTERS: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static GRAHAM: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static KEBAB: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static MATCH: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static PIGSCENE: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static PLANT: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static POINTER: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static POOL: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static SEA: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static SKELETON: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static SKULL_AND_ROSES: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static STAGE: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static SUNSET: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static VOID: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static WANDERER: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static WASTELAND: org.spongepowered.api.data.type.Art; - // @ts-ignore - public static WITHER: org.spongepowered.api.data.type.Art; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.BannerPatternShape.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.BannerPatternShape.ts deleted file mode 100644 index 963ccb08..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.BannerPatternShape.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface BannerPatternShape extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.BannerPatternShapes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.BannerPatternShapes.ts deleted file mode 100644 index 33dd6a3e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.BannerPatternShapes.ts +++ /dev/null @@ -1,91 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class BannerPatternShapes { - // @ts-ignore - public static BASE: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static BORDER: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static BRICKS: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static CIRCLE_MIDDLE: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static CREEPER: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static CROSS: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static CURLY_BORDER: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static DIAGONAL_LEFT: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static DIAGONAL_LEFT_MIRROR: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static DIAGONAL_RIGHT: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static DIAGONAL_RIGHT_MIRROR: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static FLOWER: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static GRADIENT: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static GRADIENT_UP: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static HALF_HORIZONTAL: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static HALF_HORIZONTAL_MIRROR: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static HALF_VERTICAL: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static HALF_VERTICAL_MIRROR: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static MOJANG: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static RHOMBUS_MIDDLE: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static SKULL: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static SQUARE_BOTTOM_LEFT: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static SQUARE_BOTTOM_RIGHT: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static SQUARE_TOP_LEFT: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static SQUARE_TOP_RIGHT: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static STRAIGHT_CROSS: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static STRIPE_BOTTOM: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static STRIPE_CENTER: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static STRIPE_DOWNLEFT: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static STRIPE_DOWNRIGHT: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static STRIPE_LEFT: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static STRIPE_MIDDLE: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static STRIPE_RIGHT: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static STRIPE_SMALL: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static STRIPE_TOP: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static TRIANGLES_BOTTOM: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static TRIANGLES_TOP: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static TRIANGLE_BOTTOM: org.spongepowered.api.data.type.BannerPatternShape; - // @ts-ignore - public static TRIANGLE_TOP: org.spongepowered.api.data.type.BannerPatternShape; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.BigMushroomType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.BigMushroomType.ts deleted file mode 100644 index 887dc075..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.BigMushroomType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface BigMushroomType extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.BigMushroomTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.BigMushroomTypes.ts deleted file mode 100644 index 5afacaa1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.BigMushroomTypes.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class BigMushroomTypes { - // @ts-ignore - public static ALL_INSIDE: org.spongepowered.api.data.type.BigMushroomType; - // @ts-ignore - public static ALL_OUTSIDE: org.spongepowered.api.data.type.BigMushroomType; - // @ts-ignore - public static ALL_STEM: org.spongepowered.api.data.type.BigMushroomType; - // @ts-ignore - public static CENTER: org.spongepowered.api.data.type.BigMushroomType; - // @ts-ignore - public static EAST: org.spongepowered.api.data.type.BigMushroomType; - // @ts-ignore - public static NORTH: org.spongepowered.api.data.type.BigMushroomType; - // @ts-ignore - public static NORTH_EAST: org.spongepowered.api.data.type.BigMushroomType; - // @ts-ignore - public static NORTH_WEST: org.spongepowered.api.data.type.BigMushroomType; - // @ts-ignore - public static SOUTH: org.spongepowered.api.data.type.BigMushroomType; - // @ts-ignore - public static SOUTH_EAST: org.spongepowered.api.data.type.BigMushroomType; - // @ts-ignore - public static SOUTH_WEST: org.spongepowered.api.data.type.BigMushroomType; - // @ts-ignore - public static STEM: org.spongepowered.api.data.type.BigMushroomType; - // @ts-ignore - public static WEST: org.spongepowered.api.data.type.BigMushroomType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.BodyPart.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.BodyPart.ts deleted file mode 100644 index 33d0cc1f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.BodyPart.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface BodyPart extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.BodyParts.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.BodyParts.ts deleted file mode 100644 index 84e6d2bf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.BodyParts.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class BodyParts { - // @ts-ignore - public static CHEST: org.spongepowered.api.data.type.BodyPart; - // @ts-ignore - public static HEAD: org.spongepowered.api.data.type.BodyPart; - // @ts-ignore - public static LEFT_ARM: org.spongepowered.api.data.type.BodyPart; - // @ts-ignore - public static LEFT_LEG: org.spongepowered.api.data.type.BodyPart; - // @ts-ignore - public static RIGHT_ARM: org.spongepowered.api.data.type.BodyPart; - // @ts-ignore - public static RIGHT_LEG: org.spongepowered.api.data.type.BodyPart; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.BrickType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.BrickType.ts deleted file mode 100644 index e412f7ff..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.BrickType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface BrickType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.BrickTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.BrickTypes.ts deleted file mode 100644 index 2290df77..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.BrickTypes.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class BrickTypes { - // @ts-ignore - public static CHISELED: org.spongepowered.api.data.type.BrickType; - // @ts-ignore - public static CRACKED: org.spongepowered.api.data.type.BrickType; - // @ts-ignore - public static DEFAULT: org.spongepowered.api.data.type.BrickType; - // @ts-ignore - public static MOSSY: org.spongepowered.api.data.type.BrickType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.Career.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.Career.ts deleted file mode 100644 index 0b6fab6e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.Career.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface Career extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - /** - * Gets the parent profession of this career. The profession is permanent - * and can not be changed. - */ - // @ts-ignore - getProfession(): org.spongepowered.api.data.type.Profession; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.Careers.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.Careers.ts deleted file mode 100644 index 4f7119a7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.Careers.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class Careers { - // @ts-ignore - public static ARMORER: org.spongepowered.api.data.type.Career; - // @ts-ignore - public static BUTCHER: org.spongepowered.api.data.type.Career; - // @ts-ignore - public static CARTOGRAPHER: org.spongepowered.api.data.type.Career; - // @ts-ignore - public static CLERIC: org.spongepowered.api.data.type.Career; - // @ts-ignore - public static FARMER: org.spongepowered.api.data.type.Career; - // @ts-ignore - public static FISHERMAN: org.spongepowered.api.data.type.Career; - // @ts-ignore - public static FLETCHER: org.spongepowered.api.data.type.Career; - // @ts-ignore - public static LEATHERWORKER: org.spongepowered.api.data.type.Career; - // @ts-ignore - public static LIBRARIAN: org.spongepowered.api.data.type.Career; - // @ts-ignore - public static SHEPHERD: org.spongepowered.api.data.type.Career; - // @ts-ignore - public static TOOL_SMITH: org.spongepowered.api.data.type.Career; - // @ts-ignore - public static WEAPON_SMITH: org.spongepowered.api.data.type.Career; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.CoalType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.CoalType.ts deleted file mode 100644 index dad46fed..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.CoalType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface CoalType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.CoalTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.CoalTypes.ts deleted file mode 100644 index 6f8613e3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.CoalTypes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class CoalTypes { - // @ts-ignore - public static CHARCOAL: org.spongepowered.api.data.type.CoalType; - // @ts-ignore - public static COAL: org.spongepowered.api.data.type.CoalType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.ComparatorType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.ComparatorType.ts deleted file mode 100644 index 8b8e97f8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.ComparatorType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface ComparatorType extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.ComparatorTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.ComparatorTypes.ts deleted file mode 100644 index d8b73dd2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.ComparatorTypes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class ComparatorTypes { - // @ts-ignore - public static COMPARE: org.spongepowered.api.data.type.ComparatorType; - // @ts-ignore - public static SUBTRACT: org.spongepowered.api.data.type.ComparatorType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.CookedFish.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.CookedFish.ts deleted file mode 100644 index 98041dc0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.CookedFish.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface CookedFish extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - /** - * Gets this cooked fish type's corresponding {@link Fish} type. - */ - // @ts-ignore - getRawFish(): org.spongepowered.api.data.type.Fish; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.CookedFishes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.CookedFishes.ts deleted file mode 100644 index 7644faef..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.CookedFishes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class CookedFishes { - // @ts-ignore - public static COD: org.spongepowered.api.data.type.CookedFish; - // @ts-ignore - public static SALMON: org.spongepowered.api.data.type.CookedFish; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.DirtType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.DirtType.ts deleted file mode 100644 index 33cc160f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.DirtType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface DirtType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.DirtTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.DirtTypes.ts deleted file mode 100644 index 561f8c81..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.DirtTypes.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class DirtTypes { - // @ts-ignore - public static COARSE_DIRT: org.spongepowered.api.data.type.DirtType; - // @ts-ignore - public static DIRT: org.spongepowered.api.data.type.DirtType; - // @ts-ignore - public static PODZOL: org.spongepowered.api.data.type.DirtType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.DisguisedBlockType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.DisguisedBlockType.ts deleted file mode 100644 index 02d7aeff..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.DisguisedBlockType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface DisguisedBlockType extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.DisguisedBlockTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.DisguisedBlockTypes.ts deleted file mode 100644 index e3fa6fbb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.DisguisedBlockTypes.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class DisguisedBlockTypes { - // @ts-ignore - public static CHISELED_STONEBRICK: org.spongepowered.api.data.type.DisguisedBlockType; - // @ts-ignore - public static COBBLESTONE: org.spongepowered.api.data.type.DisguisedBlockType; - // @ts-ignore - public static CRACKED_STONEBRICK: org.spongepowered.api.data.type.DisguisedBlockType; - // @ts-ignore - public static MOSSY_STONEBRICK: org.spongepowered.api.data.type.DisguisedBlockType; - // @ts-ignore - public static STONE: org.spongepowered.api.data.type.DisguisedBlockType; - // @ts-ignore - public static STONEBRICK: org.spongepowered.api.data.type.DisguisedBlockType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.DoublePlantType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.DoublePlantType.ts deleted file mode 100644 index 64c81585..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.DoublePlantType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface DoublePlantType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.DoublePlantTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.DoublePlantTypes.ts deleted file mode 100644 index 3f7a5eb8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.DoublePlantTypes.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class DoublePlantTypes { - // @ts-ignore - public static FERN: org.spongepowered.api.data.type.DoublePlantType; - // @ts-ignore - public static GRASS: org.spongepowered.api.data.type.DoublePlantType; - // @ts-ignore - public static PAEONIA: org.spongepowered.api.data.type.DoublePlantType; - // @ts-ignore - public static ROSE: org.spongepowered.api.data.type.DoublePlantType; - // @ts-ignore - public static SUNFLOWER: org.spongepowered.api.data.type.DoublePlantType; - // @ts-ignore - public static SYRINGA: org.spongepowered.api.data.type.DoublePlantType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.DyeColor.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.DyeColor.ts deleted file mode 100644 index bab4975a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.DyeColor.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface DyeColor extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - /** - * Gets this dye color as a {@link Color} for easy translation. - */ - // @ts-ignore - getColor(): org.spongepowered.api.util.Color; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.DyeColors.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.DyeColors.ts deleted file mode 100644 index 374aff15..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.DyeColors.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class DyeColors { - // @ts-ignore - public static BLACK: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static BLUE: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static BROWN: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static CYAN: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static GRAY: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static GREEN: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static LIGHT_BLUE: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static LIME: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static MAGENTA: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static ORANGE: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static PINK: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static PURPLE: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static RED: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static SILVER: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static WHITE: org.spongepowered.api.data.type.DyeColor; - // @ts-ignore - public static YELLOW: org.spongepowered.api.data.type.DyeColor; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.Fish.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.Fish.ts deleted file mode 100644 index a85d2c30..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.Fish.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface Fish extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - /** - * Gets this raw fish type's corresponding {@link CookedFish} type. - */ - // @ts-ignore - getCookedFish(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.Fishes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.Fishes.ts deleted file mode 100644 index fe36dc08..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.Fishes.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class Fishes { - // @ts-ignore - public static CLOWNFISH: org.spongepowered.api.data.type.Fish; - // @ts-ignore - public static COD: org.spongepowered.api.data.type.Fish; - // @ts-ignore - public static PUFFERFISH: org.spongepowered.api.data.type.Fish; - // @ts-ignore - public static SALMON: org.spongepowered.api.data.type.Fish; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.GoldenApple.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.GoldenApple.ts deleted file mode 100644 index 1eb918cd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.GoldenApple.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface GoldenApple extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.GoldenApples.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.GoldenApples.ts deleted file mode 100644 index 97aba7b6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.GoldenApples.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class GoldenApples { - // @ts-ignore - public static ENCHANTED_GOLDEN_APPLE: org.spongepowered.api.data.type.GoldenApple; - // @ts-ignore - public static GOLDEN_APPLE: org.spongepowered.api.data.type.GoldenApple; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.HandPreference.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.HandPreference.ts deleted file mode 100644 index 59a2fbf9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.HandPreference.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface HandPreference extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.HandPreferences.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.HandPreferences.ts deleted file mode 100644 index 00651f8e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.HandPreferences.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class HandPreferences { - // @ts-ignore - public static LEFT: org.spongepowered.api.data.type.HandPreference; - // @ts-ignore - public static RIGHT: org.spongepowered.api.data.type.HandPreference; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.HandType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.HandType.ts deleted file mode 100644 index b68f3b9b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.HandType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface HandType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.HandTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.HandTypes.ts deleted file mode 100644 index 5ff40a10..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.HandTypes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class HandTypes { - // @ts-ignore - public static MAIN_HAND: org.spongepowered.api.data.type.HandType; - // @ts-ignore - public static OFF_HAND: org.spongepowered.api.data.type.HandType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.Hinge.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.Hinge.ts deleted file mode 100644 index d9f6e9ec..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.Hinge.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface Hinge extends org.spongepowered.api.CatalogType, org.spongepowered.api.util.Cycleable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.Hinges.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.Hinges.ts deleted file mode 100644 index 2d4543a0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.Hinges.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class Hinges { - // @ts-ignore - public static LEFT: org.spongepowered.api.data.type.Hinge; - // @ts-ignore - public static RIGHT: org.spongepowered.api.data.type.Hinge; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.HorseColor.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.HorseColor.ts deleted file mode 100644 index 25e441a3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.HorseColor.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface HorseColor extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.HorseColors.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.HorseColors.ts deleted file mode 100644 index 4ebedd51..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.HorseColors.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class HorseColors { - // @ts-ignore - public static BLACK: org.spongepowered.api.data.type.HorseColor; - // @ts-ignore - public static BROWN: org.spongepowered.api.data.type.HorseColor; - // @ts-ignore - public static CHESTNUT: org.spongepowered.api.data.type.HorseColor; - // @ts-ignore - public static CREAMY: org.spongepowered.api.data.type.HorseColor; - // @ts-ignore - public static DARK_BROWN: org.spongepowered.api.data.type.HorseColor; - // @ts-ignore - public static GRAY: org.spongepowered.api.data.type.HorseColor; - // @ts-ignore - public static WHITE: org.spongepowered.api.data.type.HorseColor; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.HorseStyle.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.HorseStyle.ts deleted file mode 100644 index d6fd2d96..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.HorseStyle.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface HorseStyle extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.HorseStyles.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.HorseStyles.ts deleted file mode 100644 index c88e818b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.HorseStyles.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class HorseStyles { - // @ts-ignore - public static BLACK_DOTS: org.spongepowered.api.data.type.HorseStyle; - // @ts-ignore - public static NONE: org.spongepowered.api.data.type.HorseStyle; - // @ts-ignore - public static WHITE: org.spongepowered.api.data.type.HorseStyle; - // @ts-ignore - public static WHITEFIELD: org.spongepowered.api.data.type.HorseStyle; - // @ts-ignore - public static WHITE_DOTS: org.spongepowered.api.data.type.HorseStyle; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.InstrumentType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.InstrumentType.ts deleted file mode 100644 index c2793cfc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.InstrumentType.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface InstrumentType extends org.spongepowered.api.CatalogType { - /** - * Gets the {@link SoundType} that is used by - * this {@link InstrumentType}. - */ - // @ts-ignore - getSound(): org.spongepowered.api.effect.sound.SoundType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.InstrumentTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.InstrumentTypes.ts deleted file mode 100644 index bea3e961..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.InstrumentTypes.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class InstrumentTypes { - // @ts-ignore - public static BASS_ATTACK: org.spongepowered.api.data.type.InstrumentType; - // @ts-ignore - public static BASS_DRUM: org.spongepowered.api.data.type.InstrumentType; - // @ts-ignore - public static BELL: org.spongepowered.api.data.type.InstrumentType; - // @ts-ignore - public static CHIME: org.spongepowered.api.data.type.InstrumentType; - // @ts-ignore - public static FLUTE: org.spongepowered.api.data.type.InstrumentType; - // @ts-ignore - public static GUITAR: org.spongepowered.api.data.type.InstrumentType; - // @ts-ignore - public static HARP: org.spongepowered.api.data.type.InstrumentType; - // @ts-ignore - public static HIGH_HAT: org.spongepowered.api.data.type.InstrumentType; - // @ts-ignore - public static SNARE: org.spongepowered.api.data.type.InstrumentType; - // @ts-ignore - public static XYLOPHONE: org.spongepowered.api.data.type.InstrumentType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.LlamaVariant.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.LlamaVariant.ts deleted file mode 100644 index f7e46a86..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.LlamaVariant.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface LlamaVariant extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.LlamaVariants.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.LlamaVariants.ts deleted file mode 100644 index 4e404bb9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.LlamaVariants.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class LlamaVariants { - // @ts-ignore - public static CREAMY: org.spongepowered.api.data.type.LlamaVariant; - // @ts-ignore - public static WHITE: org.spongepowered.api.data.type.LlamaVariant; - // @ts-ignore - public static BROWN: org.spongepowered.api.data.type.LlamaVariant; - // @ts-ignore - public static GRAY: org.spongepowered.api.data.type.LlamaVariant; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.LogAxes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.LogAxes.ts deleted file mode 100644 index cd951b2a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.LogAxes.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class LogAxes { - // @ts-ignore - public static NONE: org.spongepowered.api.data.type.LogAxis; - // @ts-ignore - public static X: org.spongepowered.api.data.type.LogAxis; - // @ts-ignore - public static Y: org.spongepowered.api.data.type.LogAxis; - // @ts-ignore - public static Z: org.spongepowered.api.data.type.LogAxis; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.LogAxis.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.LogAxis.ts deleted file mode 100644 index d252a1a1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.LogAxis.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface LogAxis extends org.spongepowered.api.CatalogType, org.spongepowered.api.util.Cycleable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.NotePitch.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.NotePitch.ts deleted file mode 100644 index 3f380c9c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.NotePitch.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface NotePitch extends org.spongepowered.api.CatalogType, org.spongepowered.api.util.Cycleable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.NotePitches.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.NotePitches.ts deleted file mode 100644 index 4105e558..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.NotePitches.ts +++ /dev/null @@ -1,63 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class NotePitches { - // @ts-ignore - public static A1: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static A2: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static A_SHARP1: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static A_SHARP2: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static B1: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static B2: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static C1: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static C2: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static C_SHARP1: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static C_SHARP2: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static D1: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static D2: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static D_SHARP1: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static D_SHARP2: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static E1: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static E2: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static F1: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static F2: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static F_SHARP0: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static F_SHARP1: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static F_SHARP2: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static G0: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static G1: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static G_SHARP0: org.spongepowered.api.data.type.NotePitch; - // @ts-ignore - public static G_SHARP1: org.spongepowered.api.data.type.NotePitch; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.OcelotType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.OcelotType.ts deleted file mode 100644 index d290d856..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.OcelotType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface OcelotType extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.OcelotTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.OcelotTypes.ts deleted file mode 100644 index 6a263446..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.OcelotTypes.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class OcelotTypes { - // @ts-ignore - public static BLACK_CAT: org.spongepowered.api.data.type.OcelotType; - // @ts-ignore - public static RED_CAT: org.spongepowered.api.data.type.OcelotType; - // @ts-ignore - public static SIAMESE_CAT: org.spongepowered.api.data.type.OcelotType; - // @ts-ignore - public static WILD_OCELOT: org.spongepowered.api.data.type.OcelotType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.ParrotVariant.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.ParrotVariant.ts deleted file mode 100644 index d32e9600..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.ParrotVariant.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface ParrotVariant extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.ParrotVariants.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.ParrotVariants.ts deleted file mode 100644 index a714f6d8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.ParrotVariants.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class ParrotVariants { - // @ts-ignore - public static BLUE: org.spongepowered.api.data.type.ParrotVariant; - // @ts-ignore - public static CYAN: org.spongepowered.api.data.type.ParrotVariant; - // @ts-ignore - public static GRAY: org.spongepowered.api.data.type.ParrotVariant; - // @ts-ignore - public static GREEN: org.spongepowered.api.data.type.ParrotVariant; - // @ts-ignore - public static RED: org.spongepowered.api.data.type.ParrotVariant; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.PickupRule.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.PickupRule.ts deleted file mode 100644 index a2907997..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.PickupRule.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface PickupRule extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.PickupRules.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.PickupRules.ts deleted file mode 100644 index 59509e85..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.PickupRules.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class PickupRules { - // @ts-ignore - public static ALLOWED: org.spongepowered.api.data.type.PickupRule; - // @ts-ignore - public static CREATIVE_ONLY: org.spongepowered.api.data.type.PickupRule; - // @ts-ignore - public static DISALLOWED: org.spongepowered.api.data.type.PickupRule; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.PistonType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.PistonType.ts deleted file mode 100644 index 8ec988b5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.PistonType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface PistonType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.PistonTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.PistonTypes.ts deleted file mode 100644 index 1e934c2a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.PistonTypes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class PistonTypes { - // @ts-ignore - public static NORMAL: org.spongepowered.api.data.type.PistonType; - // @ts-ignore - public static STICKY: org.spongepowered.api.data.type.PistonType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.PlantType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.PlantType.ts deleted file mode 100644 index f40a1072..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.PlantType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface PlantType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.PlantTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.PlantTypes.ts deleted file mode 100644 index 2c74f340..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.PlantTypes.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class PlantTypes { - // @ts-ignore - public static ALLIUM: org.spongepowered.api.data.type.PlantType; - // @ts-ignore - public static BLUE_ORCHID: org.spongepowered.api.data.type.PlantType; - // @ts-ignore - public static DANDELION: org.spongepowered.api.data.type.PlantType; - // @ts-ignore - public static HOUSTONIA: org.spongepowered.api.data.type.PlantType; - // @ts-ignore - public static ORANGE_TULIP: org.spongepowered.api.data.type.PlantType; - // @ts-ignore - public static OXEYE_DAISY: org.spongepowered.api.data.type.PlantType; - // @ts-ignore - public static PINK_TULIP: org.spongepowered.api.data.type.PlantType; - // @ts-ignore - public static POPPY: org.spongepowered.api.data.type.PlantType; - // @ts-ignore - public static RED_TULIP: org.spongepowered.api.data.type.PlantType; - // @ts-ignore - public static WHITE_TULIP: org.spongepowered.api.data.type.PlantType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.PortionType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.PortionType.ts deleted file mode 100644 index 34d059ef..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.PortionType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface PortionType extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.PortionTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.PortionTypes.ts deleted file mode 100644 index 46492941..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.PortionTypes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class PortionTypes { - // @ts-ignore - public static BOTTOM: org.spongepowered.api.data.type.PortionType; - // @ts-ignore - public static TOP: org.spongepowered.api.data.type.PortionType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.PrismarineType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.PrismarineType.ts deleted file mode 100644 index 619d1908..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.PrismarineType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface PrismarineType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.PrismarineTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.PrismarineTypes.ts deleted file mode 100644 index 12f887a0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.PrismarineTypes.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class PrismarineTypes { - // @ts-ignore - public static BRICKS: org.spongepowered.api.data.type.PrismarineType; - // @ts-ignore - public static DARK: org.spongepowered.api.data.type.PrismarineType; - // @ts-ignore - public static ROUGH: org.spongepowered.api.data.type.PrismarineType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.Profession.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.Profession.ts deleted file mode 100644 index 77f9fef7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.Profession.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface Profession extends org.spongepowered.api.CatalogType { - /** - * Gets the collection of available {@link Career}s. - */ - // @ts-ignore - getCareers(): any[] /*java.util.Collection*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.Professions.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.Professions.ts deleted file mode 100644 index 9f0ccadb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.Professions.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class Professions { - // @ts-ignore - public static BLACKSMITH: org.spongepowered.api.data.type.Profession; - // @ts-ignore - public static BUTCHER: org.spongepowered.api.data.type.Profession; - // @ts-ignore - public static FARMER: org.spongepowered.api.data.type.Profession; - // @ts-ignore - public static LIBRARIAN: org.spongepowered.api.data.type.Profession; - // @ts-ignore - public static PRIEST: org.spongepowered.api.data.type.Profession; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.QuartzType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.QuartzType.ts deleted file mode 100644 index 0f4fd2c5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.QuartzType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface QuartzType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.QuartzTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.QuartzTypes.ts deleted file mode 100644 index 32e33794..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.QuartzTypes.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class QuartzTypes { - // @ts-ignore - public static CHISELED: org.spongepowered.api.data.type.QuartzType; - // @ts-ignore - public static DEFAULT: org.spongepowered.api.data.type.QuartzType; - // @ts-ignore - public static LINES_X: org.spongepowered.api.data.type.QuartzType; - // @ts-ignore - public static LINES_Y: org.spongepowered.api.data.type.QuartzType; - // @ts-ignore - public static LINES_Z: org.spongepowered.api.data.type.QuartzType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.RabbitType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.RabbitType.ts deleted file mode 100644 index d8c72a27..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.RabbitType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface RabbitType extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.RabbitTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.RabbitTypes.ts deleted file mode 100644 index bceed93d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.RabbitTypes.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class RabbitTypes { - // @ts-ignore - public static BLACK: org.spongepowered.api.data.type.RabbitType; - // @ts-ignore - public static BLACK_AND_WHITE: org.spongepowered.api.data.type.RabbitType; - // @ts-ignore - public static BROWN: org.spongepowered.api.data.type.RabbitType; - // @ts-ignore - public static GOLD: org.spongepowered.api.data.type.RabbitType; - // @ts-ignore - public static KILLER: org.spongepowered.api.data.type.RabbitType; - // @ts-ignore - public static SALT_AND_PEPPER: org.spongepowered.api.data.type.RabbitType; - // @ts-ignore - public static WHITE: org.spongepowered.api.data.type.RabbitType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.RailDirection.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.RailDirection.ts deleted file mode 100644 index fe83c577..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.RailDirection.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface RailDirection extends org.spongepowered.api.CatalogType, org.spongepowered.api.util.Cycleable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.RailDirections.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.RailDirections.ts deleted file mode 100644 index c135c2b6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.RailDirections.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class RailDirections { - // @ts-ignore - public static ASCENDING_EAST: org.spongepowered.api.data.type.RailDirection; - // @ts-ignore - public static ASCENDING_NORTH: org.spongepowered.api.data.type.RailDirection; - // @ts-ignore - public static ASCENDING_SOUTH: org.spongepowered.api.data.type.RailDirection; - // @ts-ignore - public static ASCENDING_WEST: org.spongepowered.api.data.type.RailDirection; - // @ts-ignore - public static EAST_WEST: org.spongepowered.api.data.type.RailDirection; - // @ts-ignore - public static NORTH_EAST: org.spongepowered.api.data.type.RailDirection; - // @ts-ignore - public static NORTH_SOUTH: org.spongepowered.api.data.type.RailDirection; - // @ts-ignore - public static NORTH_WEST: org.spongepowered.api.data.type.RailDirection; - // @ts-ignore - public static SOUTH_EAST: org.spongepowered.api.data.type.RailDirection; - // @ts-ignore - public static SOUTH_WEST: org.spongepowered.api.data.type.RailDirection; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.SandType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.SandType.ts deleted file mode 100644 index 9ec767d7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.SandType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface SandType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.SandTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.SandTypes.ts deleted file mode 100644 index 633c5165..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.SandTypes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class SandTypes { - // @ts-ignore - public static NORMAL: org.spongepowered.api.data.type.SandType; - // @ts-ignore - public static RED: org.spongepowered.api.data.type.SandType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.SandstoneType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.SandstoneType.ts deleted file mode 100644 index 4de4002b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.SandstoneType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface SandstoneType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.SandstoneTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.SandstoneTypes.ts deleted file mode 100644 index bddf25b7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.SandstoneTypes.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class SandstoneTypes { - // @ts-ignore - public static CHISELED: org.spongepowered.api.data.type.SandstoneType; - // @ts-ignore - public static DEFAULT: org.spongepowered.api.data.type.SandstoneType; - // @ts-ignore - public static SMOOTH: org.spongepowered.api.data.type.SandstoneType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.ShrubType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.ShrubType.ts deleted file mode 100644 index a9de8dac..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.ShrubType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface ShrubType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.ShrubTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.ShrubTypes.ts deleted file mode 100644 index 358c9a5e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.ShrubTypes.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class ShrubTypes { - // @ts-ignore - public static DEAD_BUSH: org.spongepowered.api.data.type.ShrubType; - // @ts-ignore - public static FERN: org.spongepowered.api.data.type.ShrubType; - // @ts-ignore - public static TALL_GRASS: org.spongepowered.api.data.type.ShrubType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.SkinPart.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.SkinPart.ts deleted file mode 100644 index 4b0c4f85..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.SkinPart.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface SkinPart extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.SkinParts.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.SkinParts.ts deleted file mode 100644 index e47742a5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.SkinParts.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class SkinParts { - // @ts-ignore - public static CAPE: org.spongepowered.api.data.type.SkinPart; - // @ts-ignore - public static HAT: org.spongepowered.api.data.type.SkinPart; - // @ts-ignore - public static JACKET: org.spongepowered.api.data.type.SkinPart; - // @ts-ignore - public static LEFT_PANTS_LEG: org.spongepowered.api.data.type.SkinPart; - // @ts-ignore - public static LEFT_SLEEVE: org.spongepowered.api.data.type.SkinPart; - // @ts-ignore - public static RIGHT_PANTS_LEG: org.spongepowered.api.data.type.SkinPart; - // @ts-ignore - public static RIGHT_SLEEVE: org.spongepowered.api.data.type.SkinPart; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.SkullType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.SkullType.ts deleted file mode 100644 index 94fa58df..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.SkullType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface SkullType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.SkullTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.SkullTypes.ts deleted file mode 100644 index 6f8bbfd4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.SkullTypes.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class SkullTypes { - // @ts-ignore - public static CREEPER: org.spongepowered.api.data.type.SkullType; - // @ts-ignore - public static ENDER_DRAGON: org.spongepowered.api.data.type.SkullType; - // @ts-ignore - public static PLAYER: org.spongepowered.api.data.type.SkullType; - // @ts-ignore - public static SKELETON: org.spongepowered.api.data.type.SkullType; - // @ts-ignore - public static WITHER_SKELETON: org.spongepowered.api.data.type.SkullType; - // @ts-ignore - public static ZOMBIE: org.spongepowered.api.data.type.SkullType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.SlabType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.SlabType.ts deleted file mode 100644 index f3b95d50..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.SlabType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface SlabType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.SlabTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.SlabTypes.ts deleted file mode 100644 index 88ebe83d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.SlabTypes.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class SlabTypes { - // @ts-ignore - public static BRICK: org.spongepowered.api.data.type.SlabType; - // @ts-ignore - public static COBBLESTONE: org.spongepowered.api.data.type.SlabType; - // @ts-ignore - public static NETHERBRICK: org.spongepowered.api.data.type.SlabType; - // @ts-ignore - public static QUARTZ: org.spongepowered.api.data.type.SlabType; - // @ts-ignore - public static RED_SAND: org.spongepowered.api.data.type.SlabType; - // @ts-ignore - public static SAND: org.spongepowered.api.data.type.SlabType; - // @ts-ignore - public static SMOOTH_BRICK: org.spongepowered.api.data.type.SlabType; - // @ts-ignore - public static STONE: org.spongepowered.api.data.type.SlabType; - // @ts-ignore - public static WOOD: org.spongepowered.api.data.type.SlabType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.StairShape.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.StairShape.ts deleted file mode 100644 index 967649ed..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.StairShape.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface StairShape extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.StairShapes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.StairShapes.ts deleted file mode 100644 index e2f042ce..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.StairShapes.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class StairShapes { - // @ts-ignore - public static INNER_LEFT: org.spongepowered.api.data.type.StairShape; - // @ts-ignore - public static INNER_RIGHT: org.spongepowered.api.data.type.StairShape; - // @ts-ignore - public static OUTER_LEFT: org.spongepowered.api.data.type.StairShape; - // @ts-ignore - public static OUTER_RIGHT: org.spongepowered.api.data.type.StairShape; - // @ts-ignore - public static STRAIGHT: org.spongepowered.api.data.type.StairShape; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.StoneType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.StoneType.ts deleted file mode 100644 index 60df8fe5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.StoneType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface StoneType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.StoneTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.StoneTypes.ts deleted file mode 100644 index 2a848884..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.StoneTypes.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class StoneTypes { - // @ts-ignore - public static ANDESITE: org.spongepowered.api.data.type.StoneType; - // @ts-ignore - public static DIORITE: org.spongepowered.api.data.type.StoneType; - // @ts-ignore - public static GRANITE: org.spongepowered.api.data.type.StoneType; - // @ts-ignore - public static SMOOTH_ANDESITE: org.spongepowered.api.data.type.StoneType; - // @ts-ignore - public static SMOOTH_DIORITE: org.spongepowered.api.data.type.StoneType; - // @ts-ignore - public static SMOOTH_GRANITE: org.spongepowered.api.data.type.StoneType; - // @ts-ignore - public static STONE: org.spongepowered.api.data.type.StoneType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.StructureMode.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.StructureMode.ts deleted file mode 100644 index bc604629..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.StructureMode.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface StructureMode extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.StructureModes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.StructureModes.ts deleted file mode 100644 index fc0326cd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.StructureModes.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class StructureModes { - // @ts-ignore - public static CORNER: org.spongepowered.api.data.type.StructureMode; - // @ts-ignore - public static DATA: org.spongepowered.api.data.type.StructureMode; - // @ts-ignore - public static LOAD: org.spongepowered.api.data.type.StructureMode; - // @ts-ignore - public static SAVE: org.spongepowered.api.data.type.StructureMode; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.ToolType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.ToolType.ts deleted file mode 100644 index 9ff49753..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.ToolType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface ToolType extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.ToolTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.ToolTypes.ts deleted file mode 100644 index 9fafd37a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.ToolTypes.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class ToolTypes { - // @ts-ignore - public static DIAMOND: org.spongepowered.api.data.type.ToolType; - // @ts-ignore - public static GOLD: org.spongepowered.api.data.type.ToolType; - // @ts-ignore - public static IRON: org.spongepowered.api.data.type.ToolType; - // @ts-ignore - public static STONE: org.spongepowered.api.data.type.ToolType; - // @ts-ignore - public static WOOD: org.spongepowered.api.data.type.ToolType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.TreeType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.TreeType.ts deleted file mode 100644 index 8e13bf34..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.TreeType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface TreeType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.TreeTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.TreeTypes.ts deleted file mode 100644 index 25763a89..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.TreeTypes.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class TreeTypes { - // @ts-ignore - public static ACACIA: org.spongepowered.api.data.type.TreeType; - // @ts-ignore - public static BIRCH: org.spongepowered.api.data.type.TreeType; - // @ts-ignore - public static DARK_OAK: org.spongepowered.api.data.type.TreeType; - // @ts-ignore - public static JUNGLE: org.spongepowered.api.data.type.TreeType; - // @ts-ignore - public static OAK: org.spongepowered.api.data.type.TreeType; - // @ts-ignore - public static SPRUCE: org.spongepowered.api.data.type.TreeType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.WallType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.WallType.ts deleted file mode 100644 index e6fce2a1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.WallType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface WallType extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.WallTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.WallTypes.ts deleted file mode 100644 index 82982772..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.WallTypes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class WallTypes { - // @ts-ignore - public static MOSSY: org.spongepowered.api.data.type.WallType; - // @ts-ignore - public static NORMAL: org.spongepowered.api.data.type.WallType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.WireAttachmentType.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.WireAttachmentType.ts deleted file mode 100644 index 96316888..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.WireAttachmentType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - interface WireAttachmentType extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.type.WireAttachmentTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.data.type.WireAttachmentTypes.ts deleted file mode 100644 index c6baeb3a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.type.WireAttachmentTypes.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace type { - // @ts-ignore - class WireAttachmentTypes { - // @ts-ignore - public static NONE: org.spongepowered.api.data.type.WireAttachmentType; - // @ts-ignore - public static SIDE: org.spongepowered.api.data.type.WireAttachmentType; - // @ts-ignore - public static UP: org.spongepowered.api.data.type.WireAttachmentType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.BaseValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.BaseValue.ts deleted file mode 100644 index b447d0f9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.BaseValue.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - // @ts-ignore - interface BaseValue { - /** - * Gets the held value. Usually all held values are "filled" and not - * "defaulted"; however, in the case that the actual value is not set or - * {@link #exists()} returns false, the {@link #getDefault()} value is - * returned. - */ - // @ts-ignore - get(): any; - /** - * Checks that the underlying value exists (or "set"). - */ - // @ts-ignore - exists(): boolean; - /** - * Gets the default value. There is always a default value, however, - * usability of the default value may be questionable in certain - * circumstances. - */ - // @ts-ignore - getDefault(): any; - /** - * Gets the direct value. Since some values may be absent for various - * reasons, the {@link #get()} would return the {@link #getDefault()} when - * necessary. - */ - // @ts-ignore - getDirect(): any; - /** - * Gets the key for this {@link BaseValue}. - */ - // @ts-ignore - getKey(): org.spongepowered.api.data.key.Key; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.BoundedValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.BoundedValue.ts deleted file mode 100644 index 96863359..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.BoundedValue.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - // @ts-ignore - interface BoundedValue extends org.spongepowered.api.data.value.BaseValue { - /** - * Gets the required "minimum" value such that the value is only valid if - * the following is true: - *
{@code if (getComparator().compare(getValue(), getMinValue()) <= 0)
-                         * }
. - */ - // @ts-ignore - getMinValue(): any; - /** - * Gets the required "maximum" value such that the value is only valid if - * the following is true: - *
{@code if (getComparator().compare(getValue(), getMaxValue()) >= 0)
-                         * }
. - */ - // @ts-ignore - getMaxValue(): any; - /** - * The comparator used to compare a value of the proper type. Can be used - * for validation with the {@link #getMinValue()} and - * {@link #getMaxValue()}. - */ - // @ts-ignore - getComparator(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.ValueContainer.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.ValueContainer.ts deleted file mode 100644 index 2f72ae03..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.ValueContainer.ts +++ /dev/null @@ -1,83 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - // @ts-ignore - interface ValueContainer { - /** - * Attempts to get the underlying value backed by a {@link BaseValue} - * linked to the provided {@link Key}. If the {@link Key} is not - * supported, {@link Optional#empty()} is returned. It is important - * to check for support of a {@link Key} by either calling - * {@link #supports(BaseValue)} or {@link #supports(Key)}. - */ - // @ts-ignore - get(key: org.spongepowered.api.data.key.Key): any; - /** - * Attempts to get the underlying value backed by a {@link BaseValue} - * linked to the provided {@link Key}. - *

If the {@link Key} is not supported or - * available, {@link NoSuchElementException} will be thrown.

- */ - // @ts-ignore - require(key: org.spongepowered.api.data.key.Key): any; - /** - * Attempts to get the underlying value if available and supported. If the - * {@link BaseValue} is not supported whatsoever by this - * {@link ValueContainer}, an exception is thrown. - */ - // @ts-ignore - getOrNull(key: org.spongepowered.api.data.key.Key): any; - /** - * Attempts to get the underlying value if available. If the value is not - * set, the given {@code defaultValue} is returned, if the - * {@link BaseValue} is even supported. - */ - // @ts-ignore - getOrElse(key: org.spongepowered.api.data.key.Key, defaultValue: any): any; - /** - * Gets the {@link BaseValue} for the given {@link Key}. - */ - // @ts-ignore - getValue(key: org.spongepowered.api.data.key.Key): any; - /** - * Checks if the given {@link Key} is supported by this - * {@link ValueContainer}. - */ - // @ts-ignore - supports(key: org.spongepowered.api.data.key.Key): boolean; - /** - * Checks if the provided {@link BaseValue} is supported. - */ - // @ts-ignore - supports(baseValue: org.spongepowered.api.data.value.BaseValue): boolean; - /** - * Creates a clone copy of this {@link ValueContainer} as a new - * {@link ValueContainer} such that all the {@link BaseValue}s are - * safely duplicated to the new instance. - */ - // @ts-ignore - copy(): org.spongepowered.api.data.value.ValueContainer; - /** - * Gets all applicable {@link Key}s for this {@link ValueContainer}. - * Changes can not be made to the set to alter the {@link ValueContainer}, - * nor can the {@link BaseValue}s be changed with the provided - * {@link ImmutableSet}. - */ - // @ts-ignore - getKeys(): any[] /*java.util.Set*/; - /** - * Gets all applicable {@link BaseValue}s associated with this - * {@link ValueContainer}. As the data backed by the values are copied, - * any modifications to the {@link BaseValue}s will not be reflected onto - * this {@link ValueContainer}. - */ - // @ts-ignore - getValues(): any[] /*java.util.Set*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.ValueFactory.BoundedValueBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.ValueFactory.BoundedValueBuilder.ts deleted file mode 100644 index 05581101..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.ValueFactory.BoundedValueBuilder.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace ValueFactory { - // @ts-ignore - interface BoundedValueBuilder { - /** - * If E is not {@link Comparable}, a {@link Comparator} - * is required. The builder by default will attempt to check if - * the type is a {@link Comparable} and delegate to the default - * {@link Comparable#compareTo(Object)} for comparisons. In short, the - * {@link Comparator} is only required if the element is not - * {@link Comparable}, or custom comparisons are required. - */ - // @ts-ignore - comparator(comparator: any): org.spongepowered.api.data.value.ValueFactory.BoundedValueBuilder; - /** - * Sets the minimum supported value. - */ - // @ts-ignore - minimum(min: any): org.spongepowered.api.data.value.ValueFactory.BoundedValueBuilder; - /** - * Sets the maximum supported value. - */ - // @ts-ignore - maximum(max: any): org.spongepowered.api.data.value.ValueFactory.BoundedValueBuilder; - /** - * Sets the default value. This is required. If no value is set, - * the default value transitively sets the value. - */ - // @ts-ignore - defaultValue(defaultValue: any): org.spongepowered.api.data.value.ValueFactory.BoundedValueBuilder; - /** - * Sets the actual value. Though not required, if the value is - * different from the {@link #defaultValue(Object)}, it should be - * set. - */ - // @ts-ignore - actualValue(actual: any): org.spongepowered.api.data.value.ValueFactory.BoundedValueBuilder; - /** - * Builds a new {@link MutableBoundedValue}. The requirements are - * that the {@link #minimum(Object)}, {@link #maximum(Object)}, - * {@link #defaultValue(Object)} are set, and if the E is - * not {@link Comparable}, {@link #comparator(Comparator)} is set. - */ - // @ts-ignore - build(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.ValueFactory.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.ValueFactory.ts deleted file mode 100644 index ad145e93..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.ValueFactory.ts +++ /dev/null @@ -1,82 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - // @ts-ignore - interface ValueFactory { - /** - * Creates a new {@link Value} with the provided {@link Key} and the - * E element. - */ - // @ts-ignore - createValue(key: org.spongepowered.api.data.key.Key, element: any): org.spongepowered.api.data.value.mutable.Value; - /** - * Creates a new {@link Value} with the provided {@link Key} and the - * E element and the provided E default value. - */ - // @ts-ignore - createValue(key: org.spongepowered.api.data.key.Key, element: any, defaultValue: any): org.spongepowered.api.data.value.mutable.Value; - /** - * Creates a new {@link ListValue} with the provided {@link Key} and - * {@link List} of elements. The default value will be an empty list. - */ - // @ts-ignore - createListValue(key: org.spongepowered.api.data.key.Key, elements: any[] /*java.util.List*/): org.spongepowered.api.data.value.mutable.ListValue; - /** - * Creates a new {@link ListValue} with the provided {@link Key} and - * {@link List} of elements. - */ - // @ts-ignore - createListValue(key: org.spongepowered.api.data.key.Key, elements: any[] /*java.util.List*/, defaults: any[] /*java.util.List*/): org.spongepowered.api.data.value.mutable.ListValue; - /** - * Creates a new {@link SetValue} with the provided {@link Key} and - * {@link Set} of elements. - */ - // @ts-ignore - createSetValue(key: org.spongepowered.api.data.key.Key, elements: any[] /*java.util.Set*/): org.spongepowered.api.data.value.mutable.SetValue; - /** - * Creates a new {@link SetValue} with the provided {@link Key} and - * {@link Set} of elements. - */ - // @ts-ignore - createSetValue(key: org.spongepowered.api.data.key.Key, elements: any[] /*java.util.Set*/, defaults: any[] /*java.util.Set*/): org.spongepowered.api.data.value.mutable.SetValue; - /** - * Creates a new {@link MapValue} of the provided {@link Key} with the - * types K and V. - */ - // @ts-ignore - createMapValue(key: org.spongepowered.api.data.key.Key, map: Map /*java.util.Map*/): org.spongepowered.api.data.value.mutable.MapValue; - /** - * Creates a new {@link MapValue} of the provided {@link Key} with the - * types K and V along with the provided - * {@link Map} defaults. - */ - // @ts-ignore - createMapValue(key: org.spongepowered.api.data.key.Key, map: Map /*java.util.Map*/, defaults: Map /*java.util.Map*/): org.spongepowered.api.data.value.mutable.MapValue; - /** - * Creates a {@link BoundedValueBuilder} - */ - // @ts-ignore - createBoundedValueBuilder(key: org.spongepowered.api.data.key.Key): org.spongepowered.api.data.value.ValueFactory.BoundedValueBuilder; - /** - * Creates an {@link OptionalValue} where even the default value may be - * {@link Optional#empty()}. These types of values should be restricted - * to values that are live, that can be potentially large to retain a - * reference to, and otherwise, not thread safe. - */ - // @ts-ignore - createOptionalValue(key: org.spongepowered.api.data.key.Key, element: any): org.spongepowered.api.data.value.mutable.OptionalValue; - /** - * Creates an {@link OptionalValue} where the default is NOT - * null, such that the actual value may be retained as - * null. - */ - // @ts-ignore - createOptionalValue(key: org.spongepowered.api.data.key.Key, element: any, defaultElement: any): org.spongepowered.api.data.value.mutable.OptionalValue; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableBoundedValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableBoundedValue.ts deleted file mode 100644 index 271a128e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableBoundedValue.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace immutable { - // @ts-ignore - interface ImmutableBoundedValue extends org.spongepowered.api.data.value.BoundedValue, org.spongepowered.api.data.value.immutable.ImmutableValue { - // @ts-ignore - transform(func: any): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - // @ts-ignore - asMutable(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableCollectionValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableCollectionValue.ts deleted file mode 100644 index 1c6f2bea..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableCollectionValue.ts +++ /dev/null @@ -1,84 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace immutable { - // @ts-ignore - interface ImmutableCollectionValue extends org.spongepowered.api.data.value.immutable.ImmutableValue { - /** - * Gets the size of the underlying collection of elements. - */ - // @ts-ignore - size(): number; - /** - * Checks if the backed {@link Collection} is empty. - */ - // @ts-ignore - isEmpty(): boolean; - // @ts-ignore - with(collection: any[] /*java.util.Collection*/): org.spongepowered.api.data.value.immutable.ImmutableCollectionValue; - /** - * Creates a new {@link ImmutableCollectionValue} with the given values - * along with any pre-existing values within this value. - */ - // @ts-ignore - withElement(elements: any): org.spongepowered.api.data.value.immutable.ImmutableCollectionValue; - // @ts-ignore - transform(func: any): org.spongepowered.api.data.value.immutable.ImmutableCollectionValue; - /** - * Creates a new {@link ImmutableCollectionValue} with the given elements - * along with any pre-existing values within this value. - */ - // @ts-ignore - withAll(elements: any): org.spongepowered.api.data.value.immutable.ImmutableCollectionValue; - /** - * Creates a new {@link ImmutableCollectionValue} without the given - * E element. - */ - // @ts-ignore - without(element: any): org.spongepowered.api.data.value.immutable.ImmutableCollectionValue; - /** - * Creates a new {@link ImmutableCollectionValue} without the given - * elements of the provided {@link Iterable}. - */ - // @ts-ignore - withoutAll(elements: any): org.spongepowered.api.data.value.immutable.ImmutableCollectionValue; - /** - * Creates a new {@link ImmutableCollectionValue} with elements that - * when the given {@link Predicate} is {@link Predicate#test(Object)} on - * the element and {@code true} is returned, the element will remain in the - * new {@link ImmutableCollectionValue}. - */ - // @ts-ignore - withoutAll(predicate: any): org.spongepowered.api.data.value.immutable.ImmutableCollectionValue; - /** - * Checks if the given E element is contained within the - * backed {@link Collection}. - */ - // @ts-ignore - contains(element: any): boolean; - /** - * Checks if all of the given elements in the provided {@link Iterable} are - * contained within the backed {@link Collection}. - */ - // @ts-ignore - containsAll(iterable: any): boolean; - /** - * Creates a new {@link Collection} of the proper type C with - * all elements copied to the new collection. Any modifications to the new - * collection are not reflected to this {@link ImmutableCollectionValue}. - * Likewise, no modifications to this {@link ImmutableCollectionValue} are - * reflected to the returned {@link Collection}. - */ - // @ts-ignore - getAll(): any[] /*java.util.Collection*/; - // @ts-ignore - asMutable(): org.spongepowered.api.data.value.mutable.CollectionValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableListValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableListValue.ts deleted file mode 100644 index f1a90195..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableListValue.ts +++ /dev/null @@ -1,55 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace immutable { - // @ts-ignore - interface ImmutableListValue extends org.spongepowered.api.data.value.immutable.ImmutableCollectionValue { - /** - * Gets the desired element at the desired index. - */ - // @ts-ignore - get(index: number): any; - /** - * Creates a new {@link ImmutableListValue} with the specified element - * at the specified position in the list. As well, the element at the - * provided index is shifted to the right, increasing its and the elements - * thereafter their indices by one. - */ - // @ts-ignore - with(index: number, value: any): org.spongepowered.api.data.value.immutable.ImmutableListValue; - /** - * Creates a new {@link ImmutableListValue} with the specified elements - * in the order that they are iterated to the list at the specified index. - * The element at the provided index and elements thereafter are shifted to - * the right, increasing their indices by one. - */ - // @ts-ignore - with(index: number, values: any): org.spongepowered.api.data.value.immutable.ImmutableListValue; - /** - * Creates a new {@link ImmutableListValue} without the element at the - * specified index. Shifts any subsequent elements to the left, subtracts - * one from their indices. - */ - // @ts-ignore - without(index: number): org.spongepowered.api.data.value.immutable.ImmutableListValue; - /** - * Creates a new {@link ImmutableListValue} with the desired element at - * the desired index. - */ - // @ts-ignore - set(index: number, element: any): org.spongepowered.api.data.value.immutable.ImmutableListValue; - /** - * Queries for the index of the provided element. If the element is - * not contained in this list, -1 is returned. - */ - // @ts-ignore - indexOf(element: any): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableMapValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableMapValue.ts deleted file mode 100644 index a9000011..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableMapValue.ts +++ /dev/null @@ -1,87 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace immutable { - // @ts-ignore - interface ImmutableMapValue extends org.spongepowered.api.data.value.immutable.ImmutableValue { - /** - * Gets the size of this map. - */ - // @ts-ignore - size(): number; - /** - * Associates the provided key to the provided value in the new map. If - * there already exists a value for the provided key, the value is - * replaced. - */ - // @ts-ignore - with(key: any, value: any): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - // @ts-ignore - with(value: Map /*java.util.Map*/): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - /** - * Associates all provided {@link Entry} along with all pre-existing - * map entries in a new {@link ImmutableMapValue}. - */ - // @ts-ignore - withAll(map: Map /*java.util.Map*/): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - /** - * Creates a new {@link ImmutableMapValue} without the provided key and the - * associated value. - */ - // @ts-ignore - without(key: any): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - /** - * Creates a new {@link ImmutableMapValue} without the provided keys and - * their associated values. - */ - // @ts-ignore - withoutAll(keys: any): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - /** - * Creates a new {@link ImmutableMapValue} such that all entries are - * filtered by the provided {@link Predicate}, any that return - * {@code true} are retained in the new value. Elements that return - * true from {@link Predicate#test(Object)} are kept, and - * those that return false are excluded. - */ - // @ts-ignore - withoutAll(predicate: any): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - /** - * Checks if the provided key is contained within this map. - */ - // @ts-ignore - containsKey(key: any): boolean; - /** - * Checks if the provided value is contained within this map. - */ - // @ts-ignore - containsValue(value: any): boolean; - /** - * Gets an {@link ImmutableSet} of all keys contained in this map value. - */ - // @ts-ignore - keySet(): any; - /** - * Retrieves an {@link ImmutableSet} of the {@link Entry}s contained - * within this map value. - */ - // @ts-ignore - entrySet(): any; - /** - * Retrieves an {@link ImmutableCollection} of all available values within - * this map. - */ - // @ts-ignore - values(): any; - // @ts-ignore - transform(func: any): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - // @ts-ignore - asMutable(): org.spongepowered.api.data.value.mutable.MapValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableOptionalValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableOptionalValue.ts deleted file mode 100644 index 4720603e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableOptionalValue.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace immutable { - // @ts-ignore - interface ImmutableOptionalValue extends org.spongepowered.api.data.value.immutable.ImmutableValue { - // @ts-ignore - with(value: any): org.spongepowered.api.data.value.immutable.ImmutableOptionalValue; - // @ts-ignore - transform(func: any): org.spongepowered.api.data.value.immutable.ImmutableOptionalValue; - /** - * Creates a new {@link ImmutableOptionalValue} with the provided value, - * may be null. - */ - // @ts-ignore - instead(value: any): org.spongepowered.api.data.value.immutable.ImmutableOptionalValue; - /** - * Provides the value such that if the underlying value is - * {@code null}, the default value is returned as an - * {@link ImmutableValue}, if the underlying value is present, the - * underlying value is returned as a {@link ImmutableValue}. - */ - // @ts-ignore - or(value: any): org.spongepowered.api.data.value.immutable.ImmutableValue; - // @ts-ignore - asMutable(): org.spongepowered.api.data.value.mutable.OptionalValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutablePatternListValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutablePatternListValue.ts deleted file mode 100644 index bac646b2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutablePatternListValue.ts +++ /dev/null @@ -1,59 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace immutable { - // @ts-ignore - interface ImmutablePatternListValue extends org.spongepowered.api.data.value.immutable.ImmutableListValue { - /** - * Creates and adds a {@link PatternLayer} based on the - * {@link BannerPatternShape} and {@link DyeColor} at the desired index - * such that the element at the provided index is shifted to the left. This - * returns a new {@link ImmutablePatternListValue}. - */ - // @ts-ignore - with(patternShape: org.spongepowered.api.data.type.BannerPatternShape, color: org.spongepowered.api.data.type.DyeColor): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - // @ts-ignore - with(index: number, value: org.spongepowered.api.data.meta.PatternLayer): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - // @ts-ignore - with(index: number, values: any): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - /** - * Creates and adds a {@link PatternLayer} based on the - * {@link BannerPatternShape} and {@link DyeColor} at the desired index - * such that the element at the provided index is shifted to the left. - */ - // @ts-ignore - with(index: number, patternShape: org.spongepowered.api.data.type.BannerPatternShape, color: org.spongepowered.api.data.type.DyeColor): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - // @ts-ignore - with(collection: any[] /*java.util.List*/): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - // @ts-ignore - withElement(elements: org.spongepowered.api.data.meta.PatternLayer): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - // @ts-ignore - withAll(elements: any): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - /** - * Creates and adds a {@link PatternLayer} based on the - * {@link BannerPatternShape} and {@link DyeColor} at the desired index - * such that the element at the provided index is shifted to the left. - */ - // @ts-ignore - set(index: number, patternShape: org.spongepowered.api.data.type.BannerPatternShape, color: org.spongepowered.api.data.type.DyeColor): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - // @ts-ignore - set(index: number, element: org.spongepowered.api.data.meta.PatternLayer): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - // @ts-ignore - without(element: org.spongepowered.api.data.meta.PatternLayer): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - // @ts-ignore - without(index: number): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - // @ts-ignore - withoutAll(elements: any): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - // @ts-ignore - withoutAll(predicate: any): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - // @ts-ignore - asMutable(): org.spongepowered.api.data.value.mutable.PatternListValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableSetValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableSetValue.ts deleted file mode 100644 index 3df8c0b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableSetValue.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace immutable { - // @ts-ignore - interface ImmutableSetValue extends org.spongepowered.api.data.value.immutable.ImmutableCollectionValue { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableValue.ts deleted file mode 100644 index d75ad43b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableValue.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace immutable { - // @ts-ignore - interface ImmutableValue extends org.spongepowered.api.data.value.BaseValue { - /** - * Creates a new {@link ImmutableValue} with the given E typed - * value, such that if the owning {@link ValueContainer} is immutable, the - * {@link ValueContainer} too is recreated as a new instance with the new - * {@link ImmutableValue}. - */ - // @ts-ignore - with(value: any): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Retrieves the underlying value for this {@link ImmutableValue} and - * applies the given {@link Function} onto that value, after which, the - * product is sent to a new {@link ImmutableValue} replacing this one. - *

If the {@link ValueContainer} too is immutable, a new instance of - * the {@link ValueContainer} may be created. If the {@link ValueContainer} - * is mutable, the same instance of the {@link ValueContainer} is retained. - *

- */ - // @ts-ignore - transform(func: any): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Creates a mutable {@link Value} for this {@link ImmutableValue}. - */ - // @ts-ignore - asMutable(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableValueStore.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableValueStore.ts deleted file mode 100644 index a266a6a3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableValueStore.ts +++ /dev/null @@ -1,158 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace immutable { - // @ts-ignore - interface ImmutableValueStore extends org.spongepowered.api.data.value.ValueContainer { - /** - *

Gets the desired {@link ValueContainer} of type H if the - * {@link ValueContainer} is compatible. Since the return type is an - * {@link Optional}, a short way of checking compatibility and presence - * of the requested data is to mimic the following:

- *
// MyCompositeValueStore extends - * CompositeValueStore<MyCompositeValueStore, - * DataManipulator<?>>
MyCompositeValueStore valueStore;
- * final Optional<DisplayNameData> displayOptional = - * valueStore.get(DisplayNameData.class);
- * if (displayOptional.isPresent()) {
    - * // We know that we have a present DataManipulator and it's supported - *
    System.out.println( - * displayOptional.get().displayName().get().toString());
- * }
- *

This is the equivalent to performing the following:

- *
- * MyCompositeValueStore valueStore;
- * if (valueStore.supports(DisplayNameData.class)) {
- *     - * System.out.println(valueStore.getOrNull(DisplayNameData.class - * ).displayName().get().toString());
}
- *

The advantage of this returning an {@link Optional} is that the - * {@link ValueContainer} may be unsupported, the required data missing - * and ignoring the possibility of {@code null}s, it is a guarantee that if - * the {@link Optional#isPresent()} is {@code true}, the - * {@link ValueContainer} not only is supported, but there is already pre- - * existing data for the {@link ValueContainer}.

- *

If it is necessary to ignore the {@link Optional}, - * {@link Optional#orElse(Object)} can be used to return a potentially - * {@code null} {@link ValueContainer}.

- */ - // @ts-ignore - get(containerClass: any): any; - /** - *

Gets the desired {@link ValueContainer} of type H if the - * {@link ValueContainer} is compatible. If insufficient data is available - * to provide a {@link ValueContainer} with all {@link ImmutableValue}s - * preset, a new instance of the {@link ValueContainer} is returned with - * "default" values. Since the return type is an {@link Optional}, a short - * way of checking compatibility and presence of the requested data is to - * mimic the following:

- *
// MyCompositeValueStore extends - * CompositeValueStore<MyCompositeValueStore, - * DataManipulator<?>>
- * MyCompositeValueStore valueStore;
- * final Optional<DisplayNameData> displayOptional = - * valueStore.getOrCreate(DisplayNameData.class);
- * if (displayOptional.isPresent()) {
    // We know that we - * have a present DataManipulator and it's supported
    - * System.out.println(displayOptional.get().displayName().get().toString()); - *
}
- *

This is the equivalent to performing the following:

- *
MyCompositeValueStore valueStore;
- * if (valueStore.supports(DisplayNameData.class)) {
    - * System.out.println(valueStore.getOrNull(DisplayNameData.class - * ).displayName().get().toString());
}
- *

The advantage of this returning an {@link Optional} is that the - * {@link ValueContainer} may be unsupported, the required data missing - * and ignoring the possibility of {@code null}s, it is a guarantee that if - * the {@link Optional#isPresent()} is {@code true}, the - * {@link ValueContainer} not only is supported, but there is already pre- - * existing data for the {@link ValueContainer}.

- *

If it is necessary to ignore the {@link Optional}, - * {@link Optional#orElse(Object)} can be used to return a potentially - * {@code null} {@link ValueContainer}.

- */ - // @ts-ignore - getOrCreate(containerClass: any): any; - /** - * Checks if the given {@link Class} of type {@link ValueContainer} is - * supported by this {@link ImmutableValueStore}. - */ - // @ts-ignore - supports(containerClass: any): boolean; - /** - * Applies a transformation on the provided {@link BaseValue} such that - * the return value of {@link Function#apply(Object)} will become the end - * resulting value set into the newly created {@link ImmutableValueStore}. - */ - // @ts-ignore - transform(key: org.spongepowered.api.data.key.Key, func: any): any; - /** - * Creates a new {@link ImmutableValueStore} with the provided - * value by {@link Key}. If the key is supported by this value store, - * the returned value store will be present. - */ - // @ts-ignore - with(key: org.spongepowered.api.data.key.Key, value: any): any; - /** - * Offers the given {@code value} as defined by the provided {@link Key} - * such that if the {@link Key} is supported, a new - * {@link ImmutableValueStore} is created. - */ - // @ts-ignore - with(value: org.spongepowered.api.data.value.BaseValue): any; - /** - * Offers the given {@link ValueContainer} such that all of the available - * {@link BaseValue}s from the given {@link ValueContainer} are offered - * to the newly created {@link ImmutableValueStore}. - */ - // @ts-ignore - with(valueContainer: org.spongepowered.api.data.value.ValueContainer): any; - /** - * Gets an altered copy of this {@link ImmutableValueStore} with the given - * {@link DataManipulator} modified data. If the data is not compatible for - * any reason, {@link Optional#empty()} is returned. - *

This does not alter the current {@link ImmutableValueStore}.

- */ - // @ts-ignore - with(valueContainers: any): any; - /** - * Gets an altered copy of this {@link ImmutableValueStore} without the - * given {@link ValueContainer} class. If the data represented by the - * manipulator can not exist without a "default state" of the - * {@link ValueContainer}, the {@link ValueContainer} is reset to the - * "default" state. - */ - // @ts-ignore - without(containerClass: any): any; - /** - * Attempts to merge the {@link ImmutableValue}s from this - * {@link ImmutableValueStore} and the given {@link ImmutableValueStore} to - * produce a new instance of the merged result. - */ - // @ts-ignore - merge(that: org.spongepowered.api.data.value.immutable.ImmutableValueStore): org.spongepowered.api.data.value.immutable.ImmutableValueStore; - /** - * Attempts to merge the {@link ImmutableValue}s from this - * {@link ImmutableValueStore} and the given {@link ImmutableValueStore} to - * produce a new instance of the merged result. Any overlapping - * {@link ValueContainer}s are merged through the {@link MergeFunction}. - */ - // @ts-ignore - merge(that: org.spongepowered.api.data.value.immutable.ImmutableValueStore, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.value.immutable.ImmutableValueStore; - /** - * Gets an copied collection of all known {@link ValueContainer}s - * belonging to this {@link ImmutableValueStore}. An individual - * {@link ValueContainer} can be used for data processing for various - * purposes. - */ - // @ts-ignore - getContainers(): any[] /*java.util.List*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableWeightedCollectionValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableWeightedCollectionValue.ts deleted file mode 100644 index eab24619..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.immutable.ImmutableWeightedCollectionValue.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace immutable { - // @ts-ignore - interface ImmutableWeightedCollectionValue extends org.spongepowered.api.data.value.immutable.ImmutableCollectionValue { - /** - * Selects a random value from this list based on their weight. - *

If the list is empty then null will be returned.

- */ - // @ts-ignore - get(random: any): any[] /*java.util.List*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.CollectionValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.CollectionValue.ts deleted file mode 100644 index a6fb0fde..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.CollectionValue.ts +++ /dev/null @@ -1,92 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace mutable { - // @ts-ignore - interface CollectionValue extends org.spongepowered.api.data.value.mutable.Value { - // @ts-ignore - set(value: any[] /*java.util.Collection*/): org.spongepowered.api.data.value.mutable.CollectionValue; - // @ts-ignore - transform(func: any): org.spongepowered.api.data.value.mutable.CollectionValue; - /** - * Gets the size of the underlying collection of elements. - */ - // @ts-ignore - size(): number; - /** - * Checks if the backed {@link Collection} is empty. - */ - // @ts-ignore - isEmpty(): boolean; - /** - * Adds the given {@code element} to this {@link CollectionValue}. - */ - // @ts-ignore - add(element: any): org.spongepowered.api.data.value.mutable.CollectionValue; - /** - * Adds all the given {@link Iterable} {@code elements} to the underlying - * {@link Collection}. - */ - // @ts-ignore - addAll(elements: any): org.spongepowered.api.data.value.mutable.CollectionValue; - /** - * Removes the given {@code element} from the backed {@link Collection}. - */ - // @ts-ignore - remove(element: any): org.spongepowered.api.data.value.mutable.CollectionValue; - /** - * Removes all elements from the {@link Iterable} from the backed - * {@link Collection}. - */ - // @ts-ignore - removeAll(elements: any): org.spongepowered.api.data.value.mutable.CollectionValue; - /** - * Iterates over all existing elements and removes any elements that - * {@link Predicate#test(Object)} returns {@code true}. - */ - // @ts-ignore - removeAll(predicate: any): org.spongepowered.api.data.value.mutable.CollectionValue; - /** - * Checks if the given E element is contained within the backed - * {@link Collection}. - */ - // @ts-ignore - contains(element: any): boolean; - /** - * Checks if all of the given {@link Iterable} elements are contained - * within the backed {@link Collection}. - */ - // @ts-ignore - containsAll(iterable: any[] /*java.util.Collection*/): boolean; - /** - * Applies a {@link Predicate} to filter the underlying elements in the - * backed {@link Collection} to create a new {@link CollectionValue} - * separate from this {@link CollectionValue}. This value is not modified, - * nor is the underlying {@link Collection}. Elements that return - * true from {@link Predicate#test(Object)} are kept, and - * those that return false are excluded. - */ - // @ts-ignore - filter(predicate: any): org.spongepowered.api.data.value.mutable.CollectionValue; - /** - * Creates a new {@link Collection} of the proper type C with - * all elements copied to the new collection. Any modifications to the new - * collection are not reflected to this {@link CollectionValue}. Likewise, - * no modifications to this {@link CollectionValue} are reflected to the - * returned {@link Collection}. - */ - // @ts-ignore - getAll(): any[] /*java.util.Collection*/; - // @ts-ignore - asImmutable(): org.spongepowered.api.data.value.immutable.ImmutableCollectionValue; - // @ts-ignore - copy(): org.spongepowered.api.data.value.mutable.CollectionValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.CompositeValueStore.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.CompositeValueStore.ts deleted file mode 100644 index 82a35a78..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.CompositeValueStore.ts +++ /dev/null @@ -1,261 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace mutable { - // @ts-ignore - interface CompositeValueStore extends org.spongepowered.api.data.value.ValueContainer { - /** - *

Gets the desired {@link ValueContainer} of type H if the - * {@link ValueContainer} is compatible. Since the return type is an - * {@link Optional}, a short way of checking compatibility and presence - * of the requested data is to mimic the following:

- *
// MyCompositeValueStore extends - * CompositeValueStore<MyCompositeValueStore, - * DataManipulator<?>>
- * MyCompositeValueStore valueStore;
- * final Optional<DisplayNameData> displayOptional = - * valueStore.get(DisplayNameData.class);
- * if (displayOptional.isPresent()) {
- *     // We know that we have a present DataManipulator and it's - * supported
    - * System.out.println(displayOptional.get().displayName().get().toString()); - *
}
- *

This is the equivalent to performing the following:

- *
MyCompositeValueStore valueStore;
- * if (valueStore.supports(DisplayNameData.class)) {
    - * System.out.println(valueStore.getOrNull(DisplayNameData.class - * ).displayName().get().toString());
}
- *

The advantage of this returning an {@link Optional} is that the - * {@link ValueContainer} may be unsupported, the required data missing - * and ignoring the possibility of {@code null}s, it is a guarantee that if - * the {@link Optional#isPresent()} is {@code true}, the - * {@link ValueContainer} not only is supported, but there is already pre- - * existing data for the {@link ValueContainer}.

- *

If it is necessary to ignore the {@link Optional}, - * {@link Optional#orElse(Object)} can be used to return a potentially - * null {@link ValueContainer}.

- */ - // @ts-ignore - get(containerClass: any): any; - /** - * Gets the desired {@link ValueContainer} of type H if the - * {@link ValueContainer} is compatible. - *

If the container class is not supported or - * available, {@link NoSuchElementException} will be thrown.

- */ - // @ts-ignore - require(containerClass: any): org.spongepowered.api.data.value.ValueContainer; - /** - *

Gets the desired {@link ValueContainer} of type H if the - * {@link ValueContainer} is compatible. If insufficient data is available - * to provide a {@link ValueContainer} with all {@link Value}s preset, a - * new instance of the {@link ValueContainer} is returned with "default" - * values. Since the return type is an {@link Optional}, a short way of - * checking compatibility and presence of the requested data is to mimic - * the following:

- *
// MyCompositeValueStore extends - * CompositeValueStore<MyCompositeValueStore, - * DataManipulator<?>>
- * MyCompositeValueStore valueStore;
- * final Optional<DisplayNameData> displayOptional = - * valueStore.getOrCreate(DisplayNameData.class);
- * if (displayOptional.isPresent()) {
- *     // We know that we have a present DataManipulator and it's - * supported
    - * System.out.println(displayOptional.get().displayName().get().toString() - * );
}
- *

This is the equivalent to performing the following:

- *
MyCompositeValueStore valueStore;
- * if (valueStore.supports(DisplayNameData.class)) {
    - * System.out.println(valueStore.get(DisplayNameData.class - * ).get().displayName().get().toString());
}
- *

The advantage of this returning an {@link Optional} is that the - * {@link ValueContainer} may be unsupported, the required data missing - * and ignoring the possibility of {@code null}s, it is a guarantee that if - * the {@link Optional#isPresent()} is {@code true}, the - * {@link ValueContainer} not only is supported, but some default values - * can be generated to create the desired {@link ValueContainer}.

- *

If it is necessary to ignore the {@link Optional}, - * {@link Optional#orElse(Object)} can be used to return a potentially - * null {@link ValueContainer}.

- */ - // @ts-ignore - getOrCreate(containerClass: any): any; - /** - * Checks if the given {@link Class} of type {@link ValueContainer} is - * supported by this {@link CompositeValueStore}. - */ - // @ts-ignore - supports(holderClass: any): boolean; - /** - * Applies a transformation on the provided {@link BaseValue} such that - * the return value of {@link Function#apply(Object)} will become the end - * resulting value set into this {@link CompositeValueStore}. It is not - * necessary that the input is actually present, in which case the - * {@link Key}ed data is compatible, but not necessarily present. Writing - * a {@link Function} to properly handle the potential for a null input - * is required for this method to execute without exception. - */ - // @ts-ignore - transform(key: org.spongepowered.api.data.key.Key, func: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@code value} as defined by the provided {@link Key} - * such that a {@link DataTransactionResult} is returned for any - * successful, rejected, and replaced {@link BaseValue}s from this - * {@link CompositeValueStore}. - */ - // @ts-ignore - offer(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@link BaseValue} as defined by the provided - * {@link Key} such that a {@link DataTransactionResult} is returned for - * any successful, rejected, and replaced {@link BaseValue}s from this - * {@link CompositeValueStore}. - */ - // @ts-ignore - offer(value: org.spongepowered.api.data.value.BaseValue): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@link ValueContainer} such that all of the available - * {@link BaseValue}s from the given {@link ValueContainer} are offered - * to this {@link CompositeValueStore}. The end result of the values - * successfully offered, rejected, and replaced are stored in the returned - * {@link DataTransactionResult}. - */ - // @ts-ignore - offer(valueContainer: org.spongepowered.api.data.value.ValueContainer): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@link ValueContainer} such that all of the available - * {@link BaseValue}s from the given {@link ValueContainer} are offered - * to this {@link CompositeValueStore}. The end result of the values - * successfully offered, rejected, and replaced are stored in the returned - * {@link DataTransactionResult}. Any overlaps of data are merged via - * the {@link MergeFunction}. - */ - // @ts-ignore - offer(valueContainer: org.spongepowered.api.data.value.ValueContainer, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers all provided {@link ValueContainer}s to this - * {@link CompositeValueStore} much like {@link #offer(ValueContainer)} - * except all in a single batch. The end result of the values successfully - * offered, rejected, and replaced are stored in the returned - * {@link DataTransactionResult}. - */ - // @ts-ignore - offer(valueContainers: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers all provided {@link ValueContainer}s to this - * {@link CompositeValueStore} much like {@link #offer(ValueContainer)} - * except all in a single batch. The end result of the values successfully - * offered, rejected, and replaced are stored in the returned - * {@link DataTransactionResult}. Any merge conflicts are resolved through - * the {@link MergeFunction}. - */ - // @ts-ignore - offer(valueContainers: any, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@code value} as defined by the provided {@link Key} - * such that a {@link DataTransactionResult} is returned for any - * successful {@link BaseValue}s from this {@link CompositeValueStore}. - * Intentionally, however, this differs from {@link #offer(Key, Object)} - * as it will intentionally throw an exception if the result was a failure. - */ - // @ts-ignore - tryOffer(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@code value} as defined by the provided {@link Key} - * such that a {@link DataTransactionResult} is returned for any - * successful {@link BaseValue}s from this {@link CompositeValueStore}. - * Intentionally, however, this differs from {@link #offer(Key, Object)} - * as it will intentionally throw an exception if the result was a failure. - */ - // @ts-ignore - tryOffer(value: org.spongepowered.api.data.value.BaseValue): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@link ValueContainer} such that all of the available - * {@link BaseValue}s from the given {@link ValueContainer} are offered - * to this {@link CompositeValueStore}. Intentionally, however, this differs - * from {@link #offer(ValueContainer)} as it will intentionally throw an - * exception if the result was a failure. - */ - // @ts-ignore - tryOffer(valueContainer: org.spongepowered.api.data.value.ValueContainer): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@link ValueContainer} such that all of the available - * {@link BaseValue}s from the given {@link ValueContainer} are offered - * to this {@link CompositeValueStore}. Any overlaps of data are merged via - * the {@link MergeFunction}. Intentionally, however, this differs - * from {@link #offer(ValueContainer)} as it will intentionally throw an - * exception if the result was a failure. - */ - // @ts-ignore - tryOffer(valueContainer: org.spongepowered.api.data.value.ValueContainer, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to remove all {@link Value}s associated with the class of the - * provided {@link ValueContainer} class. All values that were successfully - * removed will be provided in - * {@link DataTransactionResult#getReplacedData()}. If the data can not be - * removed, the result will be an expected - * {@link org.spongepowered.api.data.DataTransactionResult.Type#FAILURE}. - */ - // @ts-ignore - remove(containerClass: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to remove the provided {@link BaseValue}. All values that were - * successfully removed will be provided in - * {@link DataTransactionResult#getReplacedData()}. If the data can not be - * removed, the result will be an expected - * {@link org.spongepowered.api.data.DataTransactionResult.Type#FAILURE}. - */ - // @ts-ignore - remove(value: org.spongepowered.api.data.value.BaseValue): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to remove the data associated with the provided {@link Key}. - * All values that were successfully removed will be provided in - * {@link DataTransactionResult#getReplacedData()}. If the data can not be - * removed, the result will be an expected - * {@link org.spongepowered.api.data.DataTransactionResult.Type#FAILURE}. - */ - // @ts-ignore - remove(key: org.spongepowered.api.data.key.Key): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to "revert" a {@link DataTransactionResult} such that any - * of the {@link DataTransactionResult#getReplacedData()} are offered - * back, and any {@link DataTransactionResult#getSuccessfulData()} are - * removed if they were not the same types as any exising in the - * replaced values. - */ - // @ts-ignore - undo(result: org.spongepowered.api.data.DataTransactionResult): org.spongepowered.api.data.DataTransactionResult; - /** - * Performs an absolute copy of all {@link Value}s and - * {@link ValueContainer}s to this {@link CompositeValueStore} such that - * any overlapping {@link Value}s are offered for replacement. The - * result is provided as a {@link DataTransactionResult}. - */ - // @ts-ignore - copyFrom(that: org.spongepowered.api.data.value.mutable.CompositeValueStore): org.spongepowered.api.data.DataTransactionResult; - /** - * Performs an absolute copy of all {@link Value}s and - * {@link ValueContainer}s to this {@link CompositeValueStore} such that - * any overlapping {@link Value}s are offered for replacement. The - * result is provided as a {@link DataTransactionResult}. - */ - // @ts-ignore - copyFrom(that: org.spongepowered.api.data.value.mutable.CompositeValueStore, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - /** - * Gets an copied collection of all known {@link ValueContainer}s - * belonging to this {@link CompositeValueStore}. An individual - * {@link ValueContainer} can be used for data processing for various - * purposes. - */ - // @ts-ignore - getContainers(): any[] /*java.util.Collection*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.ListValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.ListValue.ts deleted file mode 100644 index eca3807a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.ListValue.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace mutable { - // @ts-ignore - interface ListValue extends org.spongepowered.api.data.value.mutable.CollectionValue { - /** - * Gets the desired element at the desired index. - */ - // @ts-ignore - get(index: number): any; - /** - * Adds the specified element at the specified position in the list. - * As well, the element at the provided index is shifted to the right, - * increasing its and the elements thereafter their indices by one. - */ - // @ts-ignore - add(index: number, value: any): org.spongepowered.api.data.value.mutable.ListValue; - /** - * Adds the specified elements in the order that they are iterated - * to the list at the specified index. The element at the provided - * index and elements thereafter are shifted to the right, increasing - * their indices by one. - */ - // @ts-ignore - add(index: number, values: any): org.spongepowered.api.data.value.mutable.ListValue; - /** - * Removes the element at the specified position in this list (optional - * operation). Shifts any subsequent elements to the left, subtracts - * one from their indices. - */ - // @ts-ignore - remove(index: number): org.spongepowered.api.data.value.mutable.ListValue; - /** - * Replaces the element at the specified index in this list with the - * specified element. - */ - // @ts-ignore - set(index: number, element: any): org.spongepowered.api.data.value.mutable.ListValue; - /** - * Queries for the index of the provided element. If the element is - * not contained in this list, -1 is returned. - */ - // @ts-ignore - indexOf(element: any): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.MapValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.MapValue.ts deleted file mode 100644 index 09142a51..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.MapValue.ts +++ /dev/null @@ -1,82 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace mutable { - // @ts-ignore - interface MapValue extends org.spongepowered.api.data.value.mutable.Value { - /** - * Gets the size of this map. - */ - // @ts-ignore - size(): number; - /** - * Associates the provided key to the provided value. If there already - * exists a value for the provided key, the value is replaced. - */ - // @ts-ignore - put(key: any, value: any): org.spongepowered.api.data.value.mutable.MapValue; - /** - * Associates all provided {@link Entry} to this map value. - */ - // @ts-ignore - putAll(map: Map /*java.util.Map*/): org.spongepowered.api.data.value.mutable.MapValue; - /** - * Removes the association of the provided key to the value currently - * associated. - */ - // @ts-ignore - remove(key: any): org.spongepowered.api.data.value.mutable.MapValue; - /** - * Removes all key value associations of the provided keys. - */ - // @ts-ignore - removeAll(keys: any): org.spongepowered.api.data.value.mutable.MapValue; - /** - * Applies the {@link Predicate} to all {@link Entry} within this - * {@link MapValue}. Any entries that are false will be removed from the - * map value. - */ - // @ts-ignore - removeAll(predicate: any): org.spongepowered.api.data.value.mutable.MapValue; - /** - * Checks if the provided key is contained within this map. - */ - // @ts-ignore - containsKey(key: any): boolean; - /** - * Checks if the provided value is contained within this map. - */ - // @ts-ignore - containsValue(value: any): boolean; - /** - * Gets an {@link ImmutableSet} of all keys contained in this map value. - */ - // @ts-ignore - keySet(): any; - /** - * Retrieves an {@link ImmutableSet} of the {@link Entry}s contained - * within this map value. - */ - // @ts-ignore - entrySet(): any; - /** - * Retrieves an {@link ImmutableCollection} of all available values within - * this map. - */ - // @ts-ignore - values(): any; - // @ts-ignore - transform(func: any): org.spongepowered.api.data.value.mutable.MapValue; - // @ts-ignore - asImmutable(): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - // @ts-ignore - copy(): org.spongepowered.api.data.value.mutable.MapValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.MutableBoundedValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.MutableBoundedValue.ts deleted file mode 100644 index 1ea021d7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.MutableBoundedValue.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace mutable { - // @ts-ignore - interface MutableBoundedValue extends org.spongepowered.api.data.value.BoundedValue, org.spongepowered.api.data.value.mutable.Value { - // @ts-ignore - asImmutable(): org.spongepowered.api.data.value.immutable.ImmutableBoundedValue; - // @ts-ignore - copy(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.OptionalValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.OptionalValue.ts deleted file mode 100644 index 84469c45..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.OptionalValue.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace mutable { - // @ts-ignore - interface OptionalValue extends org.spongepowered.api.data.value.mutable.Value { - // @ts-ignore - set(value: any): org.spongepowered.api.data.value.mutable.OptionalValue; - /** - * Sets the underlying value, may be null. - */ - // @ts-ignore - setTo(value: any): org.spongepowered.api.data.value.mutable.OptionalValue; - /** - * Provides the value such that if the underlying value is - * {@code null}, the default value is returned as a {@link Value}, if - * the underlying value is present, the underlying value is returned - * as a {@link Value}. - */ - // @ts-ignore - or(defaultValue: any): org.spongepowered.api.data.value.mutable.Value; - // @ts-ignore - copy(): org.spongepowered.api.data.value.mutable.OptionalValue; - // @ts-ignore - asImmutable(): org.spongepowered.api.data.value.immutable.ImmutableOptionalValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.PatternListValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.PatternListValue.ts deleted file mode 100644 index 69aa1846..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.PatternListValue.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace mutable { - // @ts-ignore - interface PatternListValue extends org.spongepowered.api.data.value.mutable.ListValue { - // @ts-ignore - add(element: org.spongepowered.api.data.meta.PatternLayer): org.spongepowered.api.data.value.mutable.PatternListValue; - /** - * Creates and adds a new {@link PatternLayer} based on the provided - * {@link BannerPatternShape} and {@link DyeColor}. - */ - // @ts-ignore - add(patternShape: org.spongepowered.api.data.type.BannerPatternShape, color: org.spongepowered.api.data.type.DyeColor): org.spongepowered.api.data.value.mutable.PatternListValue; - // @ts-ignore - add(index: number, value: org.spongepowered.api.data.meta.PatternLayer): org.spongepowered.api.data.value.mutable.PatternListValue; - /** - * Creates and adds a {@link PatternLayer} based on the - * {@link BannerPatternShape} and {@link DyeColor} at the desired index - * such that the element at the provided index is shifted to the left. - */ - // @ts-ignore - add(index: number, patternShape: org.spongepowered.api.data.type.BannerPatternShape, color: org.spongepowered.api.data.type.DyeColor): org.spongepowered.api.data.value.mutable.PatternListValue; - // @ts-ignore - add(index: number, values: any): org.spongepowered.api.data.value.mutable.PatternListValue; - // @ts-ignore - set(index: number, element: org.spongepowered.api.data.meta.PatternLayer): org.spongepowered.api.data.value.mutable.PatternListValue; - // @ts-ignore - set(value: any[] /*java.util.List*/): org.spongepowered.api.data.value.mutable.PatternListValue; - // @ts-ignore - transform(func: any): org.spongepowered.api.data.value.mutable.PatternListValue; - // @ts-ignore - addAll(elements: any): org.spongepowered.api.data.value.mutable.PatternListValue; - // @ts-ignore - remove(index: number): org.spongepowered.api.data.value.mutable.PatternListValue; - // @ts-ignore - remove(element: org.spongepowered.api.data.meta.PatternLayer): org.spongepowered.api.data.value.mutable.PatternListValue; - // @ts-ignore - removeAll(elements: any): org.spongepowered.api.data.value.mutable.PatternListValue; - // @ts-ignore - removeAll(predicate: any): org.spongepowered.api.data.value.mutable.PatternListValue; - // @ts-ignore - filter(predicate: any): org.spongepowered.api.data.value.mutable.PatternListValue; - // @ts-ignore - asImmutable(): org.spongepowered.api.data.value.immutable.ImmutablePatternListValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.SetValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.SetValue.ts deleted file mode 100644 index ebdc1228..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.SetValue.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace mutable { - // @ts-ignore - interface SetValue extends org.spongepowered.api.data.value.mutable.CollectionValue { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.Value.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.Value.ts deleted file mode 100644 index 341ad257..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.Value.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace mutable { - // @ts-ignore - interface Value extends org.spongepowered.api.data.value.BaseValue { - /** - * Sets the underlying value to the provided {@code value}. - */ - // @ts-ignore - set(value: any): org.spongepowered.api.data.value.mutable.Value; - /** - * Attempts to transform the underlying value based on the provided - * {@link Function} such that the result of {@link Function#apply(Object)} - * will replace the underlying value. - */ - // @ts-ignore - transform(func: any): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link ImmutableValue} version of this {@link Value} such that - * all data is duplicated across to the new {@link ImmutableValue}. Note - * that once created, the {@link ImmutableValue} is not going to change. - */ - // @ts-ignore - asImmutable(): org.spongepowered.api.data.value.immutable.ImmutableValue; - /** - * Makes an independent copy of this {@link Value} with the same initial - * data. Both this value and the new value will refer to the same object - * initially. - */ - // @ts-ignore - copy(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.WeightedCollectionValue.ts b/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.WeightedCollectionValue.ts deleted file mode 100644 index f29b415f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.data.value.mutable.WeightedCollectionValue.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace data { - namespace value { - namespace mutable { - // @ts-ignore - interface WeightedCollectionValue extends org.spongepowered.api.data.value.mutable.CollectionValue { - /** - * Selects a random value from this list based on their weight. - *

If the list is empty then null will be returned.

- */ - // @ts-ignore - get(random: any): any[] /*java.util.List*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.Viewer.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.Viewer.ts deleted file mode 100644 index 0ce04581..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.Viewer.ts +++ /dev/null @@ -1,149 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - // @ts-ignore - interface Viewer { - /** - * Spawn a {@link ParticleEffect} at a given position. - * All players within a default radius around the position will see the - * particles. - */ - // @ts-ignore - spawnParticles(particleEffect: org.spongepowered.api.effect.particle.ParticleEffect, position: any /*Vector3d*/): void; - /** - * Spawn a {@link ParticleEffect} at a given position. - * All players within a given radius around the position will see the - * particles. - */ - // @ts-ignore - spawnParticles(particleEffect: org.spongepowered.api.effect.particle.ParticleEffect, position: any /*Vector3d*/, radius: number): void; - /** - * Plays the given {@link SoundType} at the given position, with the - * category {@link SoundCategories#MASTER}. All players within range - * will hear the sound with the given volume. - */ - // @ts-ignore - playSound(sound: org.spongepowered.api.effect.sound.SoundType, position: any /*Vector3d*/, volume: number): void; - /** - * Plays the given {@link SoundType} at the given position. All - * players within range will hear the sound with the given volume. - */ - // @ts-ignore - playSound(sound: org.spongepowered.api.effect.sound.SoundType, category: org.spongepowered.api.effect.sound.SoundCategory, position: any /*Vector3d*/, volume: number): void; - /** - * Plays the given {@link SoundType} at the given position, with the - * category {@link SoundCategories#MASTER}. All players within range - * will hear the sound with the given volume. - */ - // @ts-ignore - playSound(sound: org.spongepowered.api.effect.sound.SoundType, position: any /*Vector3d*/, volume: number, pitch: number): void; - /** - * Plays the given {@link SoundType} at the given position, with the - * category {@link SoundCategories#MASTER}. All players within range - * will hear the sound with the given volume. - */ - // @ts-ignore - playSound(sound: org.spongepowered.api.effect.sound.SoundType, category: org.spongepowered.api.effect.sound.SoundCategory, position: any /*Vector3d*/, volume: number, pitch: number): void; - /** - * Plays the given {@link SoundType} at the given position, with the - * category {@link SoundCategories#MASTER}. All players within range - * will hear the sound with the given volume. - */ - // @ts-ignore - playSound(sound: org.spongepowered.api.effect.sound.SoundType, position: any /*Vector3d*/, volume: number, pitch: number, minVolume: number): void; - /** - * Plays the given {@link SoundType} at the given position. All - * players within range will hear the sound with the given volume. - */ - // @ts-ignore - playSound(sound: org.spongepowered.api.effect.sound.SoundType, category: org.spongepowered.api.effect.sound.SoundCategory, position: any /*Vector3d*/, volume: number, pitch: number, minVolume: number): void; - /** - * Stops all the sounds. - */ - // @ts-ignore - stopSounds(): void; - /** - * Stops all the sounds of the given {@link SoundType}. - */ - // @ts-ignore - stopSounds(sound: org.spongepowered.api.effect.sound.SoundType): void; - /** - * Stops all the sounds that are played in the - * given {@link SoundCategory}. - */ - // @ts-ignore - stopSounds(category: org.spongepowered.api.effect.sound.SoundCategory): void; - /** - * Stops all the sounds of the given {@link SoundType} that - * are played in the given {@link SoundCategory}. - */ - // @ts-ignore - stopSounds(sound: org.spongepowered.api.effect.sound.SoundType, category: org.spongepowered.api.effect.sound.SoundCategory): void; - /** - * Plays the given {@link RecordType} at the given position. The benefit of playing - * {@link RecordType} instead of a {@link SoundType} allows you to stop them through - * the {@link #stopRecord(Vector3i)}. Playing a new {@link RecordType} at the same - * position will cancel the currently playing one. - */ - // @ts-ignore - playRecord(position: any /*Vector3i*/, recordType: org.spongepowered.api.effect.sound.record.RecordType): void; - /** - * Stops the record that is playing at the given position. - */ - // @ts-ignore - stopRecord(position: any /*Vector3i*/): void; - /** - * Sends a {@link Title} to this player. - */ - // @ts-ignore - sendTitle(title: org.spongepowered.api.text.title.Title): void; - /** - * Removes the currently displayed {@link Title} from the player and resets - * all settings back to default values. - */ - // @ts-ignore - resetTitle(): void; - /** - * Removes the currently displayed {@link Title} from the player's screen. - */ - // @ts-ignore - clearTitle(): void; - /** - * Sends a {@link BookView} to this viewer. - */ - // @ts-ignore - sendBookView(bookView: org.spongepowered.api.text.BookView): void; - /** - * Sends a client-only block change. - *

This will not change the {@link World} in any way.

- */ - // @ts-ignore - sendBlockChange(vec: any /*Vector3i*/, state: org.spongepowered.api.block.BlockState): void; - /** - * Sends a client-only block change. - *

This will not change the {@link World} in any way.

- */ - // @ts-ignore - sendBlockChange(x: number, y: number, z: number, state: org.spongepowered.api.block.BlockState): void; - /** - * Resets the client's view of the provided position to what - * actually exists in the {@link World}. - *

This is useful for resetting what the client sees - * after sending a {@link #sendBlockChange block change}.

- */ - // @ts-ignore - resetBlockChange(vec: any /*Vector3i*/): void; - /** - * Resets the client's view of the provided position to what - * actually exists in the {@link World}. - *

This is useful for resetting what the client sees - * after sending a {@link #sendBlockChange block change}.

- */ - // @ts-ignore - resetBlockChange(x: number, y: number, z: number): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleEffect.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleEffect.Builder.ts deleted file mode 100644 index 150b09ea..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleEffect.Builder.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace particle { - namespace ParticleEffect { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.persistence.DataBuilder { - // @ts-ignore - from(particleEffect: org.spongepowered.api.effect.particle.ParticleEffect): org.spongepowered.api.effect.particle.ParticleEffect.Builder; - // @ts-ignore - reset(): org.spongepowered.api.effect.particle.ParticleEffect.Builder; - /** - * Sets the particle type for the particle effect. - */ - // @ts-ignore - type(particleType: org.spongepowered.api.effect.particle.ParticleType): org.spongepowered.api.effect.particle.ParticleEffect.Builder; - /** - * Sets the value of the specified {@link ParticleOption}. - */ - // @ts-ignore - option(option: org.spongepowered.api.effect.particle.ParticleOption, value: any): org.spongepowered.api.effect.particle.ParticleEffect.Builder; - /** - * Sets the velocity of the particle effect. - *

The default velocity is {@link Vector3d#ZERO}.

- */ - // @ts-ignore - velocity(velocity: any /*Vector3d*/): org.spongepowered.api.effect.particle.ParticleEffect.Builder; - /** - * Sets the offset of the particle effect. - *

The default offset is {@link Vector3d#ZERO}.

- */ - // @ts-ignore - offset(offset: any /*Vector3d*/): org.spongepowered.api.effect.particle.ParticleEffect.Builder; - /** - * Sets the amount of particles of the particle effect. - *

The default quantity is 1.

- */ - // @ts-ignore - quantity(quantity: number): org.spongepowered.api.effect.particle.ParticleEffect.Builder; - /** - * Builds an instance of a ParticleEffect. - */ - // @ts-ignore - build(): org.spongepowered.api.effect.particle.ParticleEffect; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleEffect.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleEffect.ts deleted file mode 100644 index 41ae7348..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleEffect.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace particle { - // @ts-ignore - interface ParticleEffect extends org.spongepowered.api.data.DataSerializable { - /** - * Creates a new {@link Builder} to build a {@link ParticleEffect}. - */ - // @ts-ignore - builder(): org.spongepowered.api.effect.particle.ParticleEffect.Builder; - /** - * Gets the type of the particle effect. - */ - // @ts-ignore - getType(): org.spongepowered.api.effect.particle.ParticleType; - /** - * Gets the value for the specified {@link ParticleOption}. - */ - // @ts-ignore - getOption(option: org.spongepowered.api.effect.particle.ParticleOption): any; - /** - * Gets the value for the specified {@link ParticleOption} or - * the default value if not present. - */ - // @ts-ignore - getOptionOrDefault(option: org.spongepowered.api.effect.particle.ParticleOption): any; - /** - * Gets a immutable {@link Map} with all the available - * {@link ParticleOption}s and their values. - */ - // @ts-ignore - getOptions(): Map /*java.util.Map*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleOption.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleOption.ts deleted file mode 100644 index 7a5bc338..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleOption.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace particle { - // @ts-ignore - interface ParticleOption extends org.spongepowered.api.CatalogType { - /** - * Gets the type of the value. - */ - // @ts-ignore - getValueType(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleOptions.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleOptions.ts deleted file mode 100644 index 6dd4538e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleOptions.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace particle { - // @ts-ignore - class ParticleOptions { - // @ts-ignore - public static BLOCK_STATE: org.spongepowered.api.effect.particle.ParticleOption; - // @ts-ignore - public static COLOR: org.spongepowered.api.effect.particle.ParticleOption; - // @ts-ignore - public static DIRECTION: org.spongepowered.api.effect.particle.ParticleOption; - // @ts-ignore - public static FIREWORK_EFFECTS: org.spongepowered.api.effect.particle.ParticleOption; - // @ts-ignore - public static ITEM_STACK_SNAPSHOT: org.spongepowered.api.effect.particle.ParticleOption; - // @ts-ignore - public static NOTE: org.spongepowered.api.effect.particle.ParticleOption; - // @ts-ignore - public static OFFSET: org.spongepowered.api.effect.particle.ParticleOption; - // @ts-ignore - public static POTION_EFFECT_TYPE: org.spongepowered.api.effect.particle.ParticleOption; - // @ts-ignore - public static QUANTITY: org.spongepowered.api.effect.particle.ParticleOption; - // @ts-ignore - public static SCALE: org.spongepowered.api.effect.particle.ParticleOption; - // @ts-ignore - public static SLOW_HORIZONTAL_VELOCITY: org.spongepowered.api.effect.particle.ParticleOption; - // @ts-ignore - public static VELOCITY: org.spongepowered.api.effect.particle.ParticleOption; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleType.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleType.ts deleted file mode 100644 index 195cb0a7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleType.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace particle { - // @ts-ignore - interface ParticleType extends org.spongepowered.api.CatalogType { - /** - * Gets the default value for the specified {@link ParticleOption}, it may - * return {@link Optional#empty()} if the particle option isn't supported - * by this particle type. - */ - // @ts-ignore - getDefaultOption(option: org.spongepowered.api.effect.particle.ParticleOption): any; - /** - * Gets a immutable {@link Map} with all the available - * {@link ParticleOption}s and their values. When a option isn't - * available inside this {@link Map} it's most likely not supported - * by this particle type. - */ - // @ts-ignore - getDefaultOptions(): Map /*java.util.Map*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleTypes.ts deleted file mode 100644 index c54a7c03..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.particle.ParticleTypes.ts +++ /dev/null @@ -1,121 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace particle { - // @ts-ignore - class ParticleTypes { - // @ts-ignore - public static AMBIENT_MOB_SPELL: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static ANGRY_VILLAGER: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static BARRIER: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static BLOCK_CRACK: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static BLOCK_DUST: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static BREAK_BLOCK: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static CLOUD: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static CRITICAL_HIT: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static DAMAGE_INDICATOR: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static DRAGON_BREATH: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static DRAGON_BREATH_ATTACK: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static DRIP_LAVA: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static DRIP_WATER: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static ENCHANTING_GLYPHS: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static ENDER_TELEPORT: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static END_ROD: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static EXPLOSION: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static FALLING_DUST: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static FERTILIZER: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static FIREWORKS: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static FIREWORKS_SPARK: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static FIRE_SMOKE: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static FLAME: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static FOOTSTEP: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static GUARDIAN_APPEARANCE: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static HAPPY_VILLAGER: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static HEART: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static HUGE_EXPLOSION: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static INSTANT_SPELL: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static ITEM_CRACK: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static LARGE_EXPLOSION: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static LARGE_SMOKE: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static LAVA: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static MAGIC_CRITICAL_HIT: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static MOBSPAWNER_FLAMES: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static MOB_SPELL: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static NOTE: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static PORTAL: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static REDSTONE_DUST: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static SLIME: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static SMOKE: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static SNOWBALL: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static SNOW_SHOVEL: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static SPELL: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static SPLASH_POTION: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static SUSPENDED: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static SUSPENDED_DEPTH: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static SWEEP_ATTACK: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static TOWN_AURA: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static WATER_BUBBLE: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static WATER_DROP: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static WATER_SPLASH: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static WATER_WAKE: org.spongepowered.api.effect.particle.ParticleType; - // @ts-ignore - public static WITCH_SPELL: org.spongepowered.api.effect.particle.ParticleType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffect.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffect.Builder.ts deleted file mode 100644 index 31b99dfe..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffect.Builder.ts +++ /dev/null @@ -1,50 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace potion { - namespace PotionEffect { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.persistence.DataBuilder { - // @ts-ignore - from(potionEffect: org.spongepowered.api.effect.potion.PotionEffect): org.spongepowered.api.effect.potion.PotionEffect.Builder; - /** - * Sets the {@link PotionEffectType} of the potion. - */ - // @ts-ignore - potionType(potionEffectType: org.spongepowered.api.effect.potion.PotionEffectType): org.spongepowered.api.effect.potion.PotionEffect.Builder; - /** - * Sets the duration in ticks of the potion effect. - */ - // @ts-ignore - duration(duration: number): org.spongepowered.api.effect.potion.PotionEffect.Builder; - /** - * Sets the amplifier power of the potion effect. - *

Amplifiers must be above zero.

- */ - // @ts-ignore - amplifier(amplifier: number): org.spongepowered.api.effect.potion.PotionEffect.Builder; - /** - * Sets the potion effect to be ambient or not. - */ - // @ts-ignore - ambience(ambience: boolean): org.spongepowered.api.effect.potion.PotionEffect.Builder; - /** - * Sets the potion effect to show particles when applied or not. - */ - // @ts-ignore - particles(showsParticles: boolean): org.spongepowered.api.effect.potion.PotionEffect.Builder; - /** - * Builds an instance of a PotionEffect. - */ - // @ts-ignore - build(): org.spongepowered.api.effect.potion.PotionEffect; - // @ts-ignore - reset(): org.spongepowered.api.effect.potion.PotionEffect.Builder; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffect.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffect.ts deleted file mode 100644 index c923e3ff..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffect.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace potion { - // @ts-ignore - interface PotionEffect extends org.spongepowered.api.data.DataSerializable, org.spongepowered.api.data.property.PropertyHolder { - /** - * Creates a new {@link Builder} to build a {@link PotionEffect}. - */ - // @ts-ignore - builder(): org.spongepowered.api.effect.potion.PotionEffect.Builder; - /** - * Creates a new {@link PotionEffect} with the provided - * {@link PotionEffectType}, the provided amplifier, and the provided - * duration in ticks. - */ - // @ts-ignore - of(type: org.spongepowered.api.effect.potion.PotionEffectType, amplifier: number, duration: number): org.spongepowered.api.effect.potion.PotionEffect; - /** - * Gets the {@link PotionEffectType} of this potion. - */ - // @ts-ignore - getType(): org.spongepowered.api.effect.potion.PotionEffectType; - /** - * Gets the duration in ticks for which this potion effect - * will apply for. - */ - // @ts-ignore - getDuration(): number; - /** - * Gets the amplifier at which this potion effect - * will apply effects. - */ - // @ts-ignore - getAmplifier(): number; - /** - * Gets if the potion effect is an ambient effect. - */ - // @ts-ignore - isAmbient(): boolean; - /** - * Gets whether or not this potion effect should - * show particles. - */ - // @ts-ignore - getShowParticles(): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffectType.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffectType.ts deleted file mode 100644 index c4eb9585..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffectType.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace potion { - // @ts-ignore - interface PotionEffectType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - /** - * Gets whether this potion effect is applied instantly or over time. - */ - // @ts-ignore - isInstant(): boolean; - /** - * Gets the {@link Translation} for this potion effect type as a potion - * name. - */ - // @ts-ignore - getPotionTranslation(): org.spongepowered.api.text.translation.Translation; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffectTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffectTypes.ts deleted file mode 100644 index 16bcfe33..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.potion.PotionEffectTypes.ts +++ /dev/null @@ -1,67 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace potion { - // @ts-ignore - class PotionEffectTypes { - // @ts-ignore - public static ABSORPTION: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static BLINDNESS: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static FIRE_RESISTANCE: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static GLOWING: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static HASTE: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static HEALTH_BOOST: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static HUNGER: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static INSTANT_DAMAGE: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static INSTANT_HEALTH: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static INVISIBILITY: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static JUMP_BOOST: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static LEVITATION: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static LUCK: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static MINING_FATIGUE: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static NAUSEA: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static NIGHT_VISION: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static POISON: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static REGENERATION: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static RESISTANCE: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static SATURATION: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static SLOWNESS: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static SPEED: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static STRENGTH: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static UNLUCK: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static WATER_BREATHING: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static WEAKNESS: org.spongepowered.api.effect.potion.PotionEffectType; - // @ts-ignore - public static WITHER: org.spongepowered.api.effect.potion.PotionEffectType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.PitchModulation.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.sound.PitchModulation.ts deleted file mode 100644 index c4e6c992..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.PitchModulation.ts +++ /dev/null @@ -1,93 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace sound { - // @ts-ignore - class PitchModulation { - // @ts-ignore - public static FSHARP0: number; - // @ts-ignore - public static G0: number; - // @ts-ignore - public static GSHARP0: number; - // @ts-ignore - public static A0: number; - // @ts-ignore - public static ASHARP0: number; - // @ts-ignore - public static B0: number; - // @ts-ignore - public static C1: number; - // @ts-ignore - public static CSHARP1: number; - // @ts-ignore - public static D1: number; - // @ts-ignore - public static DSHARP1: number; - // @ts-ignore - public static E1: number; - // @ts-ignore - public static F1: number; - // @ts-ignore - public static FSHARP1: number; - // @ts-ignore - public static G1: number; - // @ts-ignore - public static GSHARP1: number; - // @ts-ignore - public static A1: number; - // @ts-ignore - public static ASHARP1: number; - // @ts-ignore - public static B1: number; - // @ts-ignore - public static C2: number; - // @ts-ignore - public static CSHARP2: number; - // @ts-ignore - public static D2: number; - // @ts-ignore - public static DSHARP2: number; - // @ts-ignore - public static E2: number; - // @ts-ignore - public static F2: number; - // @ts-ignore - public static FSHARP2: number; - // @ts-ignore - public static GFLAT0: number; - // @ts-ignore - public static AFLAT0: number; - // @ts-ignore - public static BFLAT0: number; - // @ts-ignore - public static CFLAT0: number; - // @ts-ignore - public static DFLAT1: number; - // @ts-ignore - public static EFLAT1: number; - // @ts-ignore - public static FFLAT1: number; - // @ts-ignore - public static GFLAT1: number; - // @ts-ignore - public static AFLAT1: number; - // @ts-ignore - public static BFLAT1: number; - // @ts-ignore - public static CFLAT1: number; - // @ts-ignore - public static DFLAT2: number; - // @ts-ignore - public static EFLAT2: number; - // @ts-ignore - public static FFLAT2: number; - // @ts-ignore - public static GFLAT2: number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundCategories.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundCategories.ts deleted file mode 100644 index 1cecddef..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundCategories.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace sound { - // @ts-ignore - class SoundCategories { - // @ts-ignore - public static AMBIENT: org.spongepowered.api.effect.sound.SoundCategory; - // @ts-ignore - public static BLOCK: org.spongepowered.api.effect.sound.SoundCategory; - // @ts-ignore - public static HOSTILE: org.spongepowered.api.effect.sound.SoundCategory; - // @ts-ignore - public static MASTER: org.spongepowered.api.effect.sound.SoundCategory; - // @ts-ignore - public static MUSIC: org.spongepowered.api.effect.sound.SoundCategory; - // @ts-ignore - public static NEUTRAL: org.spongepowered.api.effect.sound.SoundCategory; - // @ts-ignore - public static PLAYER: org.spongepowered.api.effect.sound.SoundCategory; - // @ts-ignore - public static RECORD: org.spongepowered.api.effect.sound.SoundCategory; - // @ts-ignore - public static VOICE: org.spongepowered.api.effect.sound.SoundCategory; - // @ts-ignore - public static WEATHER: org.spongepowered.api.effect.sound.SoundCategory; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundCategory.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundCategory.ts deleted file mode 100644 index ea62a459..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundCategory.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace sound { - // @ts-ignore - interface SoundCategory extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundType.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundType.Builder.ts deleted file mode 100644 index 1c11bbdc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundType.Builder.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace sound { - namespace SoundType { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Builds a new instance of a {@link SoundType}. - *

Note: If no domain (indicated by the string before ':') is present - * in the id, the default "minecraft" domain will be used.

- */ - // @ts-ignore - build(id: string): org.spongepowered.api.effect.sound.SoundType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundType.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundType.ts deleted file mode 100644 index 93e4964f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundType.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace sound { - // @ts-ignore - interface SoundType extends org.spongepowered.api.CatalogType { - /** - * Creates a new {@link Builder} for building SoundTypes. - */ - // @ts-ignore - builder(): org.spongepowered.api.effect.sound.SoundType.Builder; - /** - * Creates a newSoundType from the given ID. To fetch existing types, - * use {@link GameRegistry#getType(Class, String)}. - */ - // @ts-ignore - of(id: string): org.spongepowered.api.effect.sound.SoundType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundTypes.ts deleted file mode 100644 index a7ac0445..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.SoundTypes.ts +++ /dev/null @@ -1,1111 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace sound { - // @ts-ignore - class SoundTypes { - // @ts-ignore - public static AMBIENT_CAVE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_ANVIL_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_ANVIL_DESTROY: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_ANVIL_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_ANVIL_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_ANVIL_LAND: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_ANVIL_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_ANVIL_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_ANVIL_USE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_BREWING_STAND_BREW: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_CHEST_CLOSE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_CHEST_LOCKED: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_CHEST_OPEN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_CHORUS_FLOWER_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_CHORUS_FLOWER_GROW: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_CLOTH_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_CLOTH_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_CLOTH_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_CLOTH_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_CLOTH_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_COMPARATOR_CLICK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_DISPENSER_DISPENSE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_DISPENSER_FAIL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_DISPENSER_LAUNCH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_ENCHANTMENT_TABLE_USE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_ENDERCHEST_CLOSE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_ENDERCHEST_OPEN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_END_GATEWAY_SPAWN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_END_PORTAL_FRAME_FILL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_END_PORTAL_SPAWN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_FENCE_GATE_CLOSE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_FENCE_GATE_OPEN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_FIRE_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_FIRE_EXTINGUISH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_FURNACE_FIRE_CRACKLE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GLASS_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GLASS_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GLASS_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GLASS_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GLASS_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GRASS_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GRASS_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GRASS_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GRASS_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GRASS_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GRAVEL_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GRAVEL_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GRAVEL_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GRAVEL_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_GRAVEL_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_IRON_DOOR_CLOSE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_IRON_DOOR_OPEN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_IRON_TRAPDOOR_CLOSE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_IRON_TRAPDOOR_OPEN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_LADDER_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_LADDER_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_LADDER_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_LADDER_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_LADDER_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_LAVA_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_LAVA_EXTINGUISH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_LAVA_POP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_LEVER_CLICK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_METAL_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_METAL_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_METAL_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_METAL_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_METAL_PRESSUREPLATE_CLICK_OFF: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_METAL_PRESSUREPLATE_CLICK_ON: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_METAL_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_NOTE_BASEDRUM: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_NOTE_BASS: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_NOTE_BELL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_NOTE_CHIME: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_NOTE_FLUTE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_NOTE_GUITAR: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_NOTE_HARP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_NOTE_HAT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_NOTE_PLING: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_NOTE_SNARE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_NOTE_XYLOPHONE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_PISTON_CONTRACT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_PISTON_EXTEND: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_PORTAL_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_PORTAL_TRAVEL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_PORTAL_TRIGGER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_REDSTONE_TORCH_BURNOUT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SAND_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SAND_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SAND_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SAND_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SAND_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SHULKER_BOX_CLOSE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SHULKER_BOX_OPEN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SLIME_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SLIME_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SLIME_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SLIME_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SLIME_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SNOW_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SNOW_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SNOW_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SNOW_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_SNOW_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_STONE_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_STONE_BUTTON_CLICK_OFF: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_STONE_BUTTON_CLICK_ON: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_STONE_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_STONE_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_STONE_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_STONE_PRESSUREPLATE_CLICK_OFF: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_STONE_PRESSUREPLATE_CLICK_ON: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_STONE_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_TRIPWIRE_ATTACH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_TRIPWIRE_CLICK_OFF: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_TRIPWIRE_CLICK_ON: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_TRIPWIRE_DETACH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WATERLILY_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WATER_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WOODEN_DOOR_CLOSE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WOODEN_DOOR_OPEN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WOODEN_TRAPDOOR_CLOSE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WOODEN_TRAPDOOR_OPEN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WOOD_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WOOD_BUTTON_CLICK_OFF: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WOOD_BUTTON_CLICK_ON: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WOOD_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WOOD_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WOOD_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WOOD_PRESSUREPLATE_CLICK_OFF: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WOOD_PRESSUREPLATE_CLICK_ON: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static BLOCK_WOOD_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENCHANT_THORNS_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ARMORSTAND_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ARMORSTAND_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ARMORSTAND_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ARMORSTAND_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ARROW_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ARROW_HIT_PLAYER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ARROW_SHOOT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BAT_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BAT_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BAT_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BAT_LOOP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BAT_TAKEOFF: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BLAZE_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BLAZE_BURN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BLAZE_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BLAZE_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BLAZE_SHOOT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BOAT_PADDLE_LAND: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BOAT_PADDLE_WATER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BOBBER_RETRIEVE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BOBBER_SPLASH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_BOBBER_THROW: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CAT_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CAT_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CAT_HISS: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CAT_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CAT_PURR: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CAT_PURREOW: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CHICKEN_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CHICKEN_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CHICKEN_EGG: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CHICKEN_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CHICKEN_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_COW_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_COW_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_COW_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_COW_MILK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_COW_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CREEPER_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CREEPER_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_CREEPER_PRIMED: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_DONKEY_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_DONKEY_ANGRY: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_DONKEY_CHEST: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_DONKEY_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_DONKEY_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_EGG_THROW: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ELDER_GUARDIAN_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ELDER_GUARDIAN_AMBIENT_LAND: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ELDER_GUARDIAN_CURSE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ELDER_GUARDIAN_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ELDER_GUARDIAN_DEATH_LAND: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ELDER_GUARDIAN_FLOP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ELDER_GUARDIAN_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ELDER_GUARDIAN_HURT_LAND: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERDRAGON_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERDRAGON_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERDRAGON_FIREBALL_EXPLODE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERDRAGON_FLAP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERDRAGON_GROWL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERDRAGON_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERDRAGON_SHOOT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDEREYE_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDEREYE_LAUNCH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERMEN_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERMEN_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERMEN_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERMEN_SCREAM: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERMEN_STARE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERMEN_TELEPORT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERMITE_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERMITE_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERMITE_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERMITE_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ENDERPEARL_THROW: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_EVOCATION_FANGS_ATTACK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_EVOCATION_ILLAGER_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_EVOCATION_ILLAGER_CAST_SPELL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_EVOCATION_ILLAGER_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_EVOCATION_ILLAGER_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_EVOCATION_ILLAGER_PREPARE_ATTACK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_EVOCATION_ILLAGER_PREPARE_SUMMON: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_EVOCATION_ILLAGER_PREPARE_WOLOLO: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_EXPERIENCE_BOTTLE_THROW: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_EXPERIENCE_ORB_PICKUP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_FIREWORK_BLAST: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_FIREWORK_BLAST_FAR: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_FIREWORK_LARGE_BLAST: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_FIREWORK_LARGE_BLAST_FAR: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_FIREWORK_LAUNCH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_FIREWORK_SHOOT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_FIREWORK_TWINKLE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_FIREWORK_TWINKLE_FAR: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GENERIC_BIG_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GENERIC_BURN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GENERIC_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GENERIC_DRINK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GENERIC_EAT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GENERIC_EXPLODE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GENERIC_EXTINGUISH_FIRE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GENERIC_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GENERIC_SMALL_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GENERIC_SPLASH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GENERIC_SWIM: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GHAST_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GHAST_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GHAST_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GHAST_SCREAM: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GHAST_SHOOT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GHAST_WARN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GUARDIAN_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GUARDIAN_AMBIENT_LAND: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GUARDIAN_ATTACK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GUARDIAN_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GUARDIAN_DEATH_LAND: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GUARDIAN_FLOP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GUARDIAN_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_GUARDIAN_HURT_LAND: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HORSE_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HORSE_ANGRY: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HORSE_ARMOR: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HORSE_BREATHE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HORSE_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HORSE_EAT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HORSE_GALLOP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HORSE_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HORSE_JUMP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HORSE_LAND: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HORSE_SADDLE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HORSE_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HORSE_STEP_WOOD: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HOSTILE_BIG_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HOSTILE_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HOSTILE_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HOSTILE_SMALL_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HOSTILE_SPLASH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HOSTILE_SWIM: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HUSK_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HUSK_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HUSK_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_HUSK_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ILLUSION_ILLAGER_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ILLUSION_ILLAGER_CAST_SPELL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ILLUSION_ILLAGER_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ILLUSION_ILLAGER_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ILLUSION_ILLAGER_MIRROR_MOVE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ILLUSION_ILLAGER_PREPARE_BLINDNESS: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ILLUSION_ILLAGER_PREPARE_MIRROR: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_IRONGOLEM_ATTACK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_IRONGOLEM_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_IRONGOLEM_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_IRONGOLEM_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ITEMFRAME_ADD_ITEM: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ITEMFRAME_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ITEMFRAME_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ITEMFRAME_REMOVE_ITEM: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ITEMFRAME_ROTATE_ITEM: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ITEM_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ITEM_PICKUP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LEASHKNOT_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LEASHKNOT_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LIGHTNING_IMPACT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LIGHTNING_THUNDER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LINGERINGPOTION_THROW: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LLAMA_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LLAMA_ANGRY: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LLAMA_CHEST: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LLAMA_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LLAMA_EAT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LLAMA_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LLAMA_SPIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LLAMA_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_LLAMA_SWAG: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_MAGMACUBE_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_MAGMACUBE_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_MAGMACUBE_JUMP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_MAGMACUBE_SQUISH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_MINECART_INSIDE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_MINECART_RIDING: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_MOOSHROOM_SHEAR: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_MULE_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_MULE_CHEST: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_MULE_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_MULE_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PAINTING_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PAINTING_PLACE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_EAT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_FLY: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_BLAZE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_CREEPER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_ELDER_GUARDIAN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_ENDERDRAGON: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_ENDERMAN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_ENDERMITE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_EVOCATION_ILLAGER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_GHAST: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_HUSK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_ILLUSION_ILLAGER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_MAGMACUBE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_POLAR_BEAR: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_SHULKER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_SILVERFISH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_SKELETON: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_SLIME: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_SPIDER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_STRAY: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_VEX: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_VINDICATION_ILLAGER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_WITCH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_WITHER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_WITHER_SKELETON: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_WOLF: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_ZOMBIE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_ZOMBIE_PIGMAN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_IMITATE_ZOMBIE_VILLAGER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PARROT_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PIG_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PIG_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PIG_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PIG_SADDLE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PIG_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_ATTACK_CRIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_ATTACK_KNOCKBACK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_ATTACK_NODAMAGE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_ATTACK_STRONG: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_ATTACK_SWEEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_ATTACK_WEAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_BIG_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_BREATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_BURP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_HURT_DROWN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_HURT_ON_FIRE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_LEVELUP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_SMALL_FALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_SPLASH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_PLAYER_SWIM: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_POLAR_BEAR_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_POLAR_BEAR_BABY_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_POLAR_BEAR_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_POLAR_BEAR_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_POLAR_BEAR_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_POLAR_BEAR_WARNING: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_RABBIT_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_RABBIT_ATTACK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_RABBIT_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_RABBIT_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_RABBIT_JUMP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHEEP_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHEEP_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHEEP_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHEEP_SHEAR: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHEEP_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHULKER_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHULKER_BULLET_HIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHULKER_BULLET_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHULKER_CLOSE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHULKER_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHULKER_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHULKER_HURT_CLOSED: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHULKER_OPEN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHULKER_SHOOT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SHULKER_TELEPORT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SILVERFISH_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SILVERFISH_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SILVERFISH_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SILVERFISH_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SKELETON_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SKELETON_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SKELETON_HORSE_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SKELETON_HORSE_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SKELETON_HORSE_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SKELETON_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SKELETON_SHOOT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SKELETON_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SLIME_ATTACK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SLIME_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SLIME_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SLIME_JUMP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SLIME_SQUISH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SMALL_MAGMACUBE_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SMALL_MAGMACUBE_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SMALL_MAGMACUBE_SQUISH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SMALL_SLIME_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SMALL_SLIME_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SMALL_SLIME_JUMP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SMALL_SLIME_SQUISH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SNOWBALL_THROW: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SNOWMAN_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SNOWMAN_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SNOWMAN_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SNOWMAN_SHOOT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SPIDER_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SPIDER_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SPIDER_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SPIDER_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SPLASH_POTION_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SPLASH_POTION_THROW: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SQUID_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SQUID_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_SQUID_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_STRAY_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_STRAY_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_STRAY_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_STRAY_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_TNT_PRIMED: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_VEX_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_VEX_CHARGE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_VEX_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_VEX_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_VILLAGER_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_VILLAGER_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_VILLAGER_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_VILLAGER_NO: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_VILLAGER_TRADING: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_VILLAGER_YES: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_VINDICATION_ILLAGER_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_VINDICATION_ILLAGER_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_VINDICATION_ILLAGER_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITCH_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITCH_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITCH_DRINK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITCH_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITCH_THROW: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITHER_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITHER_BREAK_BLOCK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITHER_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITHER_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITHER_SHOOT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITHER_SKELETON_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITHER_SKELETON_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITHER_SKELETON_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITHER_SKELETON_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WITHER_SPAWN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WOLF_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WOLF_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WOLF_GROWL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WOLF_HOWL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WOLF_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WOLF_PANT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WOLF_SHAKE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WOLF_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_WOLF_WHINE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_ATTACK_DOOR_WOOD: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_ATTACK_IRON_DOOR: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_BREAK_DOOR_WOOD: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_HORSE_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_HORSE_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_HORSE_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_INFECT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_PIG_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_PIG_ANGRY: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_PIG_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_PIG_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_VILLAGER_AMBIENT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_VILLAGER_CONVERTED: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_VILLAGER_CURE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_VILLAGER_DEATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_VILLAGER_HURT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ENTITY_ZOMBIE_VILLAGER_STEP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_ARMOR_EQUIP_CHAIN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_ARMOR_EQUIP_DIAMOND: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_ARMOR_EQUIP_ELYTRA: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_ARMOR_EQUIP_GENERIC: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_ARMOR_EQUIP_GOLD: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_ARMOR_EQUIP_IRON: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_ARMOR_EQUIP_LEATHER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_BOTTLE_EMPTY: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_BOTTLE_FILL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_BOTTLE_FILL_DRAGONBREATH: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_BUCKET_EMPTY: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_BUCKET_EMPTY_LAVA: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_BUCKET_FILL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_BUCKET_FILL_LAVA: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_CHORUS_FRUIT_TELEPORT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_ELYTRA_FLYING: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_FIRECHARGE_USE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_FLINTANDSTEEL_USE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_HOE_TILL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_SHIELD_BLOCK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_SHIELD_BREAK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_SHOVEL_FLATTEN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static ITEM_TOTEM_USE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static MUSIC_CREATIVE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static MUSIC_CREDITS: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static MUSIC_DRAGON: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static MUSIC_END: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static MUSIC_GAME: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static MUSIC_MENU: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static MUSIC_NETHER: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static RECORD_11: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static RECORD_13: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static RECORD_BLOCKS: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static RECORD_CAT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static RECORD_CHIRP: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static RECORD_FAR: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static RECORD_MALL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static RECORD_MELLOHI: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static RECORD_STAL: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static RECORD_STRAD: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static RECORD_WAIT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static RECORD_WARD: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static UI_BUTTON_CLICK: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static UI_TOAST_CHALLENGE_COMPLETE: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static UI_TOAST_IN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static UI_TOAST_OUT: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static WEATHER_RAIN: org.spongepowered.api.effect.sound.SoundType; - // @ts-ignore - public static WEATHER_RAIN_ABOVE: org.spongepowered.api.effect.sound.SoundType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.record.RecordType.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.sound.record.RecordType.ts deleted file mode 100644 index aaa25657..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.record.RecordType.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace sound { - namespace record { - // @ts-ignore - interface RecordType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - /** - * Gets the {@link SoundType} that is used - * by this {@link RecordType}. - */ - // @ts-ignore - getSound(): org.spongepowered.api.effect.sound.SoundType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.record.RecordTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.effect.sound.record.RecordTypes.ts deleted file mode 100644 index 0c9de805..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.effect.sound.record.RecordTypes.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace effect { - namespace sound { - namespace record { - // @ts-ignore - class RecordTypes { - // @ts-ignore - public static BLOCKS: org.spongepowered.api.effect.sound.record.RecordType; - // @ts-ignore - public static CAT: org.spongepowered.api.effect.sound.record.RecordType; - // @ts-ignore - public static CHIRP: org.spongepowered.api.effect.sound.record.RecordType; - // @ts-ignore - public static ELEVEN: org.spongepowered.api.effect.sound.record.RecordType; - // @ts-ignore - public static FAR: org.spongepowered.api.effect.sound.record.RecordType; - // @ts-ignore - public static MALL: org.spongepowered.api.effect.sound.record.RecordType; - // @ts-ignore - public static MELLOHI: org.spongepowered.api.effect.sound.record.RecordType; - // @ts-ignore - public static STAL: org.spongepowered.api.effect.sound.record.RecordType; - // @ts-ignore - public static STRAD: org.spongepowered.api.effect.sound.record.RecordType; - // @ts-ignore - public static THIRTEEN: org.spongepowered.api.effect.sound.record.RecordType; - // @ts-ignore - public static WAIT: org.spongepowered.api.effect.sound.record.RecordType; - // @ts-ignore - public static WARD: org.spongepowered.api.effect.sound.record.RecordType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.AreaEffectCloud.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.AreaEffectCloud.ts deleted file mode 100644 index 4513c518..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.AreaEffectCloud.ts +++ /dev/null @@ -1,83 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - interface AreaEffectCloud extends org.spongepowered.api.entity.Entity { - /** - * Gets the {@link AreaEffectCloudData} for this cloud. - */ - // @ts-ignore - getAreaEffectCloudData(): org.spongepowered.api.data.manipulator.mutable.entity.AreaEffectCloudData; - /** - * Gets the {@link Color} of this cloud, can be changed. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@code radius} value of this cloud. - */ - // @ts-ignore - radius(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link ParticleType} of this cloud. - */ - // @ts-ignore - particleType(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the bounded {@code duration} value of this cloud. - */ - // @ts-ignore - duration(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the bounded {@code waitTime} value of this cloud. The wait time - * dictates how long until this cloud will affect {@link Entity} instances - * with {@link PotionEffect}s. - */ - // @ts-ignore - waitTime(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the bounded {@code radiusOnUse} value of this cloud. The radius is - * reduced per {@link Entity} affected. Once the radius is {@code 0}, the - * cloud dissipates. - */ - // @ts-ignore - radiusOnUse(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the bounded {@code radiusPerTick} value of this cloud. The radius is - * reduced per tick (so technically can be set to {@code 0} to have it - * remain permanent until it's effects have been used up. - */ - // @ts-ignore - radiusPerTick(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the bounded {@code durationOnUse} value of this cloud. The duration - * on use is reduced for every time that this cloud applies its - * {@link PotionEffect}s on an {@link Entity}. - */ - // @ts-ignore - durationOnUse(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the bounded {@code applicationDelay} value of this cloud. What this - * means is the application delay between times of application on an - * {@link Entity}. - */ - // @ts-ignore - applicationDelay(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link ListValue} of {@link PotionEffect}s of this cloud. The - * potion effects will affect any {@link Entity} according to the various - * delays and ticks remaining of this cloud. - */ - // @ts-ignore - effects(): org.spongepowered.api.data.value.mutable.ListValue; - /** - * Gets the bounded {@code age} value of this cloud. - */ - // @ts-ignore - age(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ArmorEquipable.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ArmorEquipable.ts deleted file mode 100644 index 9559b3b6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ArmorEquipable.ts +++ /dev/null @@ -1,81 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - interface ArmorEquipable extends org.spongepowered.api.entity.Equipable { - /** - * Gets the helmet currently being worn by this entity. - *

Having the helmet as null will result in having nothing equipped in - * the helmet slot.

- */ - // @ts-ignore - getHelmet(): any; - /** - * Sets the helmet currently being worn by this entity. - *

Having the helmet as null will result in having nothing equipped in - * the helmet slot.

- */ - // @ts-ignore - setHelmet(helmet: org.spongepowered.api.item.inventory.ItemStack): void; - /** - * Gets the chestplate currently being worn by this entity. - *

Having the chestplate as null will result in having nothing equipped - * in the chestplate slot.

- */ - // @ts-ignore - getChestplate(): any; - /** - * Sets the chestplate currently being worn by this entity. - *

Having the chestplate as null will result in having nothing equipped - * in the chestplate slot.

- */ - // @ts-ignore - setChestplate(chestplate: org.spongepowered.api.item.inventory.ItemStack): void; - /** - * Gets the leggings currently being worn by this entity. - *

Having the leggings as null will result in having nothing equipped in - * the leggings slot.

- */ - // @ts-ignore - getLeggings(): any; - /** - * Sets the leggings currently being worn by this entity. - *

Having the leggings as null will result in having nothing equipped in - * the leggings slot.

- */ - // @ts-ignore - setLeggings(leggings: org.spongepowered.api.item.inventory.ItemStack): void; - /** - * Gets the boots currently being worn by this entity. - *

Having the boots as null will result in having nothing equipped in the - * boots slot.

- */ - // @ts-ignore - getBoots(): any; - /** - * Sets the boots currently being worn by this entity. - *

Having the boots as null will result in having nothing equipped in the - * boots slot.

- */ - // @ts-ignore - setBoots(boots: org.spongepowered.api.item.inventory.ItemStack): void; - /** - * Gets the current equipped item in hand if available. - *

Having the item in hand as null will result in having nothing equipped - * in the item in hand slot.

- */ - // @ts-ignore - getItemInHand(handType: org.spongepowered.api.data.type.HandType): any; - /** - * Sets the item in hand for this entity. - *

Having the item in hand as null will result in having nothing equipped - * in the item in hand slot.

- */ - // @ts-ignore - setItemInHand(hand: org.spongepowered.api.data.type.HandType, itemInHand: org.spongepowered.api.item.inventory.ItemStack): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.EnderCrystal.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.EnderCrystal.ts deleted file mode 100644 index fd4ffcfb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.EnderCrystal.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - interface EnderCrystal extends org.spongepowered.api.entity.explosive.Explosive { - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.Entity.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.Entity.ts deleted file mode 100644 index 3cf420a8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.Entity.ts +++ /dev/null @@ -1,293 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - interface Entity extends org.spongepowered.api.util.Identifiable, org.spongepowered.api.world.Locatable, org.spongepowered.api.data.DataHolder, org.spongepowered.api.text.translation.Translatable { - /** - * Gets the type of entity. - */ - // @ts-ignore - getType(): org.spongepowered.api.entity.EntityType; - /** - * Creates a {@link EntitySnapshot} containing the {@link EntityType} and - * data of this entity. - */ - // @ts-ignore - createSnapshot(): org.spongepowered.api.entity.EntitySnapshot; - /** - * Gets the Random Number Generator (RNG) for this entity. - */ - // @ts-ignore - getRandom(): any; - /** - * Sets the location of this entity. This is equivalent to a teleport, and - * also moves this entity's passengers. - */ - // @ts-ignore - setLocation(location: org.spongepowered.api.world.Location): boolean; - /** - * Sets the location of this entity using a safe one from - * {@link TeleportHelper#getSafeLocation(Location)}. This is equivalent to a - * teleport and also moves this entity's passengers. - */ - // @ts-ignore - setLocationSafely(location: org.spongepowered.api.world.Location): boolean; - /** - * Gets the rotation. - *

The format of the rotation is represented by:

- *

{@code x -> pitch}, {@code y -> yaw}, {@code z -> roll}

- */ - // @ts-ignore - getRotation(): any /*Vector3d*/; - /** - * Sets the rotation of this entity. - *

The format of the rotation is represented by:

- *

{@code x -> pitch}, {@code y -> yaw}, {@code z -> roll}

- */ - // @ts-ignore - setRotation(rotation: any /*Vector3d*/): void; - /** - * Moves the entity to the specified location, and sets the rotation. - *

The format of the rotation is represented by:

- *

{@code x -> pitch}, {@code y -> yaw}, {@code z -> roll}

- */ - // @ts-ignore - setLocationAndRotation(location: org.spongepowered.api.world.Location, rotation: any /*Vector3d*/): boolean; - /** - * Moves the entity to the specified location, and sets the rotation. - * {@link RelativePositions} listed inside the EnumSet are considered - * relative. - *

The format of the rotation is represented by:

- *

{@code x -> pitch}, {@code y -> yaw}, {@code z -> roll}

- */ - // @ts-ignore - setLocationAndRotation(location: org.spongepowered.api.world.Location, rotation: any /*Vector3d*/, relativePositions: any): boolean; - /** - * Sets the location using a safe one from - * {@link TeleportHelper#getSafeLocation(Location)} and the rotation of this - * entity. - *

The format of the rotation is represented by:

- *

{@code x -> pitch}, {@code y -> yaw}, {@code z -> roll}

- */ - // @ts-ignore - setLocationAndRotationSafely(location: org.spongepowered.api.world.Location, rotation: any /*Vector3d*/): boolean; - /** - * Sets the location using a safe one from - * {@link TeleportHelper#getSafeLocation(Location)} and the rotation of this - * entity. {@link RelativePositions} listed inside the EnumSet are - * considered relative. - *

The format of the rotation is represented by:

- *

{@code x -> pitch}, {@code y -> yaw}, {@code z -> roll}

- */ - // @ts-ignore - setLocationAndRotationSafely(location: org.spongepowered.api.world.Location, rotation: any /*Vector3d*/, relativePositions: any): boolean; - /** - * Gets the entity scale. Not currently used. Returns {@link Vector3d#ONE}. - */ - // @ts-ignore - getScale(): any /*Vector3d*/; - /** - * Sets the entity scale. Not currently used. Does nothing. - */ - // @ts-ignore - setScale(scale: any /*Vector3d*/): void; - /** - * Returns the entity transform as a new copy. Combines the position, - * rotation and scale. - */ - // @ts-ignore - getTransform(): org.spongepowered.api.entity.Transform; - /** - * Sets the entity transform. Sets the position, rotation and scale at once. - */ - // @ts-ignore - setTransform(transform: org.spongepowered.api.entity.Transform): boolean; - /** - * Sets the transformation of this entity using a safe location from - * {@link TeleportHelper#getSafeLocation(Location)}. - */ - // @ts-ignore - setTransformSafely(transform: org.spongepowered.api.entity.Transform): boolean; - /** - * Sets the {@link Location} of this entity to the {@link World}'s spawn - * point. - *

This is equivalent to setting the location via - * {@link TargetedLocationData}.

- */ - // @ts-ignore - transferToWorld(world: org.spongepowered.api.world.World): boolean; - /** - * Sets the {@link Location} of this entity to a new position in a world. - *

This is equivalent to setting the location via - * {@link TargetedLocationData}.

- */ - // @ts-ignore - transferToWorld(world: org.spongepowered.api.world.World, position: any /*Vector3d*/): boolean; - /** - * Sets the location of this entity to a new position in a world which does - * not have to be loaded (but must at least be enabled). - *

If the target world is loaded then this is equivalent to - * setting the location via {@link TargetedLocationData}.

- *

If the target world is unloaded but is enabled according to its - * {@link WorldArchetype#isEnabled()} then this will first load the world - * before transferring the entity to that world.

- *

If the target world is unloaded and not enabled then the transfer - * will fail.

- */ - // @ts-ignore - transferToWorld(worldName: string, position: any /*Vector3d*/): boolean; - /** - * Sets the location of this entity to a new position in a world which does - * not have to be loaded (but must at least be enabled). - *

If the target world is loaded then this is equivalent to setting the - * location via {@link TargetedLocationData}.

- *

If the target world is unloaded but is enabled according to its - * {@link WorldArchetype#isEnabled()} then this will first load the world - * before transferring the entity to that world.

- *

If the target world is unloaded and not enabled then the transfer - * will fail.

- */ - // @ts-ignore - transferToWorld(uuid: any, position: any /*Vector3d*/): boolean; - /** - * Gets the entity's bounding box, usually for collisions and interaction. - * The box has an offset matching the entity's positions. That is to say, it - * is absolutely positioned and not relative to the entity. - */ - // @ts-ignore - getBoundingBox(): any; - /** - * Gets the entity passenger that rides this entity, if available. - */ - // @ts-ignore - getPassengers(): any[] /*java.util.List*/; - /** - * Checks if the given entity is a passenger. - */ - // @ts-ignore - hasPassenger(entity: org.spongepowered.api.entity.Entity): boolean; - /** - * Sets the passenger entity(the entity that rides this one). - */ - // @ts-ignore - addPassenger(entity: org.spongepowered.api.entity.Entity): boolean; - /** - * Removes the given entity as a passenger. - */ - // @ts-ignore - removePassenger(entity: org.spongepowered.api.entity.Entity): void; - /** - * Removes all currently riding passengers from this entity. - */ - // @ts-ignore - clearPassengers(): void; - /** - * Gets the entity vehicle that this entity is riding, if available. - */ - // @ts-ignore - getVehicle(): any; - /** - * Sets the vehicle entity(the entity that is ridden by this one). - */ - // @ts-ignore - setVehicle(entity: org.spongepowered.api.entity.Entity): boolean; - /** - * Gets the entity vehicle that is the base of what ever stack the current - * entity is a part of. This can be the current entity, if it is not riding - * any vehicle. - *

The returned entity can never ride another entity, that would make the - * ridden entity the base of the stack.

- */ - // @ts-ignore - getBaseVehicle(): org.spongepowered.api.entity.Entity; - /** - * Gets the {@link Vector3d} representation of this entity's current - * velocity. - */ - // @ts-ignore - getVelocity(): any /*Vector3d*/; - /** - * Sets the velocity for this entity. - */ - // @ts-ignore - setVelocity(vector3d: any /*Vector3d*/): org.spongepowered.api.data.DataTransactionResult; - /** - * Returns whether this entity is on the ground (not in the air) or not. - */ - // @ts-ignore - isOnGround(): boolean; - /** - * Returns whether this entity has been removed. - */ - // @ts-ignore - isRemoved(): boolean; - /** - * Returns whether this entity is still loaded in a world/chunk. - */ - // @ts-ignore - isLoaded(): boolean; - /** - * Mark this entity for removal in the very near future, preferably - * within one game tick. - */ - // @ts-ignore - remove(): void; - /** - * Damages this {@link Entity} with the given {@link DamageSource}. - */ - // @ts-ignore - damage(damage: number, damageSource: org.spongepowered.api.event.cause.entity.damage.source.DamageSource): boolean; - /** - * Gets the nearby entities within the desired distance. - */ - // @ts-ignore - getNearbyEntities(distance: number): any[] /*java.util.Collection*/; - /** - * Gets the nearby entities that satisfy the desired predicate. - */ - // @ts-ignore - getNearbyEntities(predicate: any): any[] /*java.util.Collection*/; - /** - * Gets the {@link UUID}, if available, of the user who created this - * {@link Entity}. - */ - // @ts-ignore - getCreator(): any; - /** - * Gets the {@link UUID}, if available, of the user who last notified this - * {@link Entity}. - */ - // @ts-ignore - getNotifier(): any; - /** - * Sets the {@link UUID} of the user who created this {@link Entity}. - */ - // @ts-ignore - setCreator(uuid: any): void; - /** - * Sets the {@link UUID} of the user who last notified this {@link Entity}. - */ - // @ts-ignore - setNotifier(uuid: any): void; - /** - * Returns whether this entity can see the provided {@link Entity}. - */ - // @ts-ignore - canSee(entity: org.spongepowered.api.entity.Entity): boolean; - /** - * Creates a new {@link EntityArchetype} for use with {@link Schematic}s and - * placing the archetype in multiple locations. - */ - // @ts-ignore - createArchetype(): org.spongepowered.api.entity.EntityArchetype; - /** - * Returns whether this entity has gravity. - */ - // @ts-ignore - gravity(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.EntityArchetype.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.EntityArchetype.Builder.ts deleted file mode 100644 index c8586686..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.EntityArchetype.Builder.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace EntityArchetype { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.persistence.DataBuilder { - // @ts-ignore - reset(): org.spongepowered.api.entity.EntityArchetype.Builder; - // @ts-ignore - from(value: org.spongepowered.api.entity.EntityArchetype): org.spongepowered.api.entity.EntityArchetype.Builder; - /** - * Sets all possible bits of information from the provided {@link Entity}. - */ - // @ts-ignore - from(entity: org.spongepowered.api.entity.Entity): org.spongepowered.api.entity.EntityArchetype.Builder; - /** - * Sets the desired {@link EntityType} of the produced {@link EntityArchetype}. - */ - // @ts-ignore - type(type: org.spongepowered.api.entity.EntityType): org.spongepowered.api.entity.EntityArchetype.Builder; - /** - * Sets the desired {@link EntityType} of the produced {@link EntityArchetype}. - */ - // @ts-ignore - entityData(view: org.spongepowered.api.data.DataView): org.spongepowered.api.entity.EntityArchetype.Builder; - /** - * Sets the desired {@link EntityType} of the produced {@link EntityArchetype}. - */ - // @ts-ignore - setData(manipulator: org.spongepowered.api.data.manipulator.DataManipulator): org.spongepowered.api.entity.EntityArchetype.Builder; - /** - * Sets the desired {@link EntityType} of the produced {@link EntityArchetype}. - */ - // @ts-ignore - set(value: org.spongepowered.api.data.value.BaseValue): org.spongepowered.api.entity.EntityArchetype.Builder; - /** - * Sets the desired {@link EntityType} of the produced {@link EntityArchetype}. - */ - // @ts-ignore - set(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.entity.EntityArchetype.Builder; - /** - * Constructs a new {@link EntityArchetype}. - */ - // @ts-ignore - build(): org.spongepowered.api.entity.EntityArchetype; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.EntityArchetype.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.EntityArchetype.ts deleted file mode 100644 index 2bf9c6ec..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.EntityArchetype.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - interface EntityArchetype extends org.spongepowered.api.data.Archetype { - /** - * Creates a {@link Builder} to get {@link EntityArchetype}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.entity.EntityArchetype.Builder; - /** - * Creates a new {@link EntityArchetype} with the specified {@link EntityType}. - */ - // @ts-ignore - of(type: org.spongepowered.api.entity.EntityType): org.spongepowered.api.entity.EntityArchetype; - /** - * Gets the {@link EntityType} of the entity contained in this archetype. - */ - // @ts-ignore - getType(): org.spongepowered.api.entity.EntityType; - /** - * Gets the raw {@link Entity} data that would be applied to the generated - * entity. Note that this is a copied container. - *

Note: While normally, an archetype does not contain position information, - * it is possible that {@link Queries#POSITION} are included as required by - * {@link Schematic}s. - *

- */ - // @ts-ignore - getEntityData(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - setRawData(container: org.spongepowered.api.data.DataView): void; - // @ts-ignore - copy(): org.spongepowered.api.entity.EntityArchetype; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.EntitySnapshot.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.EntitySnapshot.Builder.ts deleted file mode 100644 index 2b3c6192..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.EntitySnapshot.Builder.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace EntitySnapshot { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.ImmutableDataBuilder { - /** - * Sets the {@link WorldProperties} for this {@link EntitySnapshot}. - *

This is used to grab the {@link UUID} of the World for this - * snapshot.

- */ - // @ts-ignore - world(worldProperties: org.spongepowered.api.world.storage.WorldProperties): org.spongepowered.api.entity.EntitySnapshot.Builder; - /** - * Sets the {@link EntityType} for this {@link EntitySnapshot}. - */ - // @ts-ignore - type(entityType: org.spongepowered.api.entity.EntityType): org.spongepowered.api.entity.EntitySnapshot.Builder; - /** - * Sets the coordinates of this {@link EntitySnapshot} from a - * {@link Vector3i}. - */ - // @ts-ignore - position(position: any /*Vector3d*/): org.spongepowered.api.entity.EntitySnapshot.Builder; - /** - * Copies over data from an {@link Entity}. - */ - // @ts-ignore - from(entity: org.spongepowered.api.entity.Entity): org.spongepowered.api.entity.EntitySnapshot.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.EntitySnapshot.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.EntitySnapshot.ts deleted file mode 100644 index 68d76db0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.EntitySnapshot.ts +++ /dev/null @@ -1,51 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - interface EntitySnapshot extends org.spongepowered.api.data.LocatableSnapshot { - /** - * Creates a new {@link Builder} to build an {@link EntitySnapshot}. - */ - // @ts-ignore - builder(): org.spongepowered.api.entity.EntitySnapshot.Builder; - /** - * Gets an {@link Optional} containing the {@link UUID} of the - * {@link Entity} that this {@link EntitySnapshot} is representing. If the - * {@link Optional} is {@link Optional#empty()}, then this snapshot must - * have been created by an {@link Builder} without an {@link Entity} as a - * source. - */ - // @ts-ignore - getUniqueId(): any; - /** - * Gets the {@link Transform} as an {@link Optional} as the {@link Location} - * may be undefined if this {@link EntitySnapshot} was built without a - * location. This method is linked to {@link #getLocation()} such that if - * there is a {@link Location}, there is usually a {@link Transform}. - */ - // @ts-ignore - getTransform(): any; - /** - * Gets the {@link EntityType}. - */ - // @ts-ignore - getType(): org.spongepowered.api.entity.EntityType; - /** - * Restores the {@link EntitySnapshot} to the {@link Location} stored within - * the snapshot. If the {@link Location} is not available, the snapshot will - * not be restored. - */ - // @ts-ignore - restore(): any; - /** - * Creates a new {@link EntityArchetype} for use with {@link Schematic}s and - * placing the archetype in multiple locations. - */ - // @ts-ignore - createArchetype(): org.spongepowered.api.entity.EntityArchetype; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.EntityType.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.EntityType.ts deleted file mode 100644 index 059a3b2c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.EntityType.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - interface EntityType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - /** - * Returns the entity class for this type. - */ - // @ts-ignore - getEntityClass(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.EntityTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.EntityTypes.ts deleted file mode 100644 index 6e5d3446..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.EntityTypes.ts +++ /dev/null @@ -1,191 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - class EntityTypes { - // @ts-ignore - public static AREA_EFFECT_CLOUD: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static ARMOR_STAND: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static BAT: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static BLAZE: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static BOAT: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static CAVE_SPIDER: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static CHESTED_MINECART: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static CHICKEN: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static COMMANDBLOCK_MINECART: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static COMPLEX_PART: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static COW: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static CREEPER: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static DONKEY: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static DRAGON_FIREBALL: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static EGG: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static ELDER_GUARDIAN: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static ENDERMAN: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static ENDERMITE: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static ENDER_CRYSTAL: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static ENDER_DRAGON: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static ENDER_PEARL: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static EVOCATION_FANGS: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static EVOCATION_ILLAGER: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static EXPERIENCE_ORB: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static EYE_OF_ENDER: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static FALLING_BLOCK: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static FIREBALL: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static FIREWORK: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static FISHING_HOOK: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static FURNACE_MINECART: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static GHAST: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static GIANT: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static GUARDIAN: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static HOPPER_MINECART: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static HORSE: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static HUMAN: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static HUSK: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static ILLUSION_ILLAGER: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static IRON_GOLEM: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static ITEM: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static ITEM_FRAME: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static LEASH_HITCH: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static LIGHTNING: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static LLAMA: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static LLAMA_SPIT: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static MAGMA_CUBE: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static MOB_SPAWNER_MINECART: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static MULE: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static MUSHROOM_COW: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static OCELOT: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static PAINTING: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static PARROT: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static PIG: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static PIG_ZOMBIE: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static PLAYER: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static POLAR_BEAR: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static PRIMED_TNT: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static RABBIT: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static RIDEABLE_MINECART: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SHEEP: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SHULKER: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SHULKER_BULLET: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SILVERFISH: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SKELETON: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SKELETON_HORSE: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SLIME: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SMALL_FIREBALL: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SNOWBALL: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SNOWMAN: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SPECTRAL_ARROW: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SPIDER: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SPLASH_POTION: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static SQUID: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static STRAY: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static THROWN_EXP_BOTTLE: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static TIPPED_ARROW: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static TNT_MINECART: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static UNKNOWN: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static VEX: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static VILLAGER: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static VINDICATION_ILLAGER: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static WEATHER: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static WITCH: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static WITHER: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static WITHER_SKELETON: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static WITHER_SKULL: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static WOLF: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static ZOMBIE: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static ZOMBIE_HORSE: org.spongepowered.api.entity.EntityType; - // @ts-ignore - public static ZOMBIE_VILLAGER: org.spongepowered.api.entity.EntityType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.Equipable.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.Equipable.ts deleted file mode 100644 index 341f14d4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.Equipable.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - interface Equipable extends org.spongepowered.api.util.Identifiable, org.spongepowered.api.item.inventory.Carrier { - /** - * Gets whether this entity can equip equipment of the specified type (eg. - * whether calling {@link #equip} will fail because the entity doesn't - * have this type of slot. - */ - // @ts-ignore - canEquip(type: org.spongepowered.api.item.inventory.equipment.EquipmentType): boolean; - /** - * Gets whether this entity can equip the supplied equipment in its slot of - * the specified type (eg. whether calling {@link #equip} with the specified - * slot type and item will succeed) - */ - // @ts-ignore - canEquip(type: org.spongepowered.api.item.inventory.equipment.EquipmentType, equipment: org.spongepowered.api.item.inventory.ItemStack): boolean; - /** - * Gets the item currently equipped by this entity in the specified slot. - */ - // @ts-ignore - getEquipped(type: org.spongepowered.api.item.inventory.equipment.EquipmentType): any; - /** - * Sets the item currently equipped by the entity in the specified slot, if - * the entity has such a slot. - *

Supplying null will unequip any currently equipped item.

- */ - // @ts-ignore - equip(type: org.spongepowered.api.item.inventory.equipment.EquipmentType, equipment: org.spongepowered.api.item.inventory.ItemStack): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ExperienceOrb.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ExperienceOrb.ts deleted file mode 100644 index 8cdf14e4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ExperienceOrb.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - interface ExperienceOrb extends org.spongepowered.api.entity.Entity { - /** - * Gets a copy of the {@link ExpOrbData} associated with this - * {@link ExperienceOrb}. - */ - // @ts-ignore - experienceHeld(): org.spongepowered.api.data.manipulator.mutable.entity.ExpOrbData; - /** - * Gets the {@link Value} for the amount of "experience" stored. - */ - // @ts-ignore - experience(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.FallingBlock.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.FallingBlock.ts deleted file mode 100644 index b7999a9e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.FallingBlock.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - interface FallingBlock extends org.spongepowered.api.entity.Entity { - /** - * Gets a copy of the currently used {@link FallingBlockData}. - */ - // @ts-ignore - getFallingBlockData(): org.spongepowered.api.data.manipulator.mutable.entity.FallingBlockData; - /** - * Gets the {@link Value} for the damage to deal per block the - * {@link FallingBlock} has fallen. - */ - // @ts-ignore - fallDamagePerBlock(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the maximum damage the {@link FallingBlock} can deal to another - * entity for falling on the entity. - */ - // @ts-ignore - maxFallDamage(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link BlockState} the falling block is representing. - */ - // @ts-ignore - blockState(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets whether this falling block will try to place itself where it lands. - */ - // @ts-ignore - canPlaceAsBlock(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets whether this falling block can drop as an item if it lands in a way - * that it can not be placed. - */ - // @ts-ignore - canDropAsItem(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the time the block has been falling. Defaults to a value of 1. - */ - // @ts-ignore - fallTime(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets whether this falling block will damage entities where it lands. - */ - // @ts-ignore - canHurtEntities(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.Item.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.Item.ts deleted file mode 100644 index 94af7353..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.Item.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - interface Item extends org.spongepowered.api.entity.Entity { - /** - * Gets a copy of the current {@link RepresentedItemData} this item is - * representing. - */ - // @ts-ignore - getItemData(): org.spongepowered.api.data.manipulator.mutable.RepresentedItemData; - /** - * Gets the {@link Value} for the represented {@link ItemStack} as - * an {@link ItemStackSnapshot}. - */ - // @ts-ignore - item(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link ItemType} represented by this {@link Item} entity. - */ - // @ts-ignore - getItemType(): org.spongepowered.api.item.ItemType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ShulkerBullet.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ShulkerBullet.ts deleted file mode 100644 index 29d5cf00..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ShulkerBullet.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - interface ShulkerBullet extends org.spongepowered.api.entity.projectile.EntityTargetingProjectile, org.spongepowered.api.entity.projectile.DamagingProjectile { - /** - * Gets a copy of the {@link DirectionalData} being used for this - * {@link ShulkerBullet} entity. - */ - // @ts-ignore - getDirectionalData(): org.spongepowered.api.data.manipulator.mutable.block.DirectionalData; - /** - * Gets the {@link Value} for the current direction this - * {@link ShulkerBullet} is going to. - */ - // @ts-ignore - direction(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.Tamer.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.Tamer.ts deleted file mode 100644 index df3fc31d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.Tamer.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - interface Tamer extends org.spongepowered.api.util.Identifiable { - /** - * Gets the name of this tamer to reference on tamed entities. - */ - // @ts-ignore - getName(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.Transform.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.Transform.ts deleted file mode 100644 index 6d8aa370..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.Transform.ts +++ /dev/null @@ -1,205 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - // @ts-ignore - class Transform { - /** - * Creates a new {@link Transform} based on the provided {@link Location}. - */ - constructor(location: org.spongepowered.api.world.Location) - /** - * Creates a new {@link Transform} with the provided {@link Extent extent}. - * The default position is {@link Vector3d#ZERO}. - */ - constructor(extent: org.spongepowered.api.world.extent.Extent) - /** - * Creates a new {@link Transform} with the provided {@link Extent extent} - * and {@link Vector3d position}. - */ - constructor(extent: org.spongepowered.api.world.extent.Extent, position: any /*Vector3d*/) - /** - * Creates a new {@link Transform} with the provided {@link Extent extent}, - * {@link Vector3d position}, and {@link Vector3d rotation}. - */ - constructor(extent: org.spongepowered.api.world.extent.Extent, position: any /*Vector3d*/, rotation: any /*Vector3d*/) - /** - * Creates a new {@link Transform} with the provided {@link Location}, - * {@link Vector3d rotation}, and {@link Vector3d scale}. - */ - constructor(location: org.spongepowered.api.world.Location, rotation: any /*Vector3d*/, scale: any /*Vector3d*/) - /** - * Creates a new {@link Transform}. - */ - constructor(extent: org.spongepowered.api.world.extent.Extent, position: any /*Vector3d*/, rotation: any /*Vector3d*/, scale: any /*Vector3d*/) - /** - * Gets the {@link Location} this transform contains. This is the position - * and the extent. - */ - // @ts-ignore - public getLocation(): org.spongepowered.api.world.Location; - /** - * Creates a copy of this transform and sets the {@link Location}. This sets - * both the position and the extent. - */ - // @ts-ignore - public setLocation(location: org.spongepowered.api.world.Location): org.spongepowered.api.entity.Transform; - /** - * Gets the {@link Extent} this transform contains. - *

Note: This can be null if the {@link Extent} is unloaded and garbage - * collected.

- */ - // @ts-ignore - public getExtent(): org.spongepowered.api.world.extent.Extent; - /** - * Creates a copy of this transform and sets the {@link Extent}. - */ - // @ts-ignore - public setExtent(extent: org.spongepowered.api.world.extent.Extent): org.spongepowered.api.entity.Transform; - /** - * Gets the coordinates of this transform. - */ - // @ts-ignore - public getPosition(): any /*Vector3d*/; - /** - * Creates a copy of this transform while setting the position of the new - * one. - */ - // @ts-ignore - public setPosition(position: any /*Vector3d*/): org.spongepowered.api.entity.Transform; - /** - * Gets the rotation of this transform, as a {@link Vector3d}. - *

The format of the rotation is represented by:

- *
    - *
  • x -> pitch
  • - *
  • y -> yaw
  • - *
  • z -> roll
  • - *
- */ - // @ts-ignore - public getRotation(): any /*Vector3d*/; - /** - * Creates a copy of this transform and sets the rotation. - *

The format of the rotation is represented by:

- *
    - *
  • x -> pitch
  • - *
  • y -> yaw
  • - *
  • z -> roll
  • - *
- */ - // @ts-ignore - public setRotation(rotation: any /*Quaterniond*/): org.spongepowered.api.entity.Transform; - /** - * Creates a copy of this transform and sets the rotation as a quaternion. - *

Quaternions are objectively better than the Euler angles preferred by - * Minecraft. This is for compatibility with the flow-math library.

- */ - // @ts-ignore - public setRotation(rotation: any /*Vector3d*/): org.spongepowered.api.entity.Transform; - /** - * Returns the rotation as a quaternion. - *

Quaternions are objectively better than the Euler angles preferred by - * Minecraft. This is for compatibility with the flow-math library.

- */ - // @ts-ignore - public getRotationAsQuaternion(): any /*Quaterniond*/; - /** - * Gets the pitch component of this transform rotation. - */ - // @ts-ignore - public getPitch(): number; - /** - * Gets the yaw component of this transform rotation. - */ - // @ts-ignore - public getYaw(): number; - /** - * Gets the roll component of this transform rotation. - */ - // @ts-ignore - public getRoll(): number; - /** - * Gets the scale of the transform for each axis. - */ - // @ts-ignore - public getScale(): any /*Vector3d*/; - /** - * Creates a copy of this transform and sets the scale for each axis. - */ - // @ts-ignore - public setScale(scale: any /*Vector3d*/): org.spongepowered.api.entity.Transform; - /** - * "Adds" another transform to this one. This is equivalent to adding the - * translation, rotation and scale individually. - *

Returns the results as a new copy.

- */ - // @ts-ignore - public add(other: org.spongepowered.api.entity.Transform): org.spongepowered.api.entity.Transform; - /** - * Adds a translation to this transform. - *

Returns the results as a new copy.

- */ - // @ts-ignore - public addTranslation(translation: any /*Vector3d*/): org.spongepowered.api.entity.Transform; - /** - * Adds a rotation to this transform. Returns the results as a new copy. - */ - // @ts-ignore - public addRotation(rotation: any /*Vector3d*/): org.spongepowered.api.entity.Transform; - /** - * Adds a rotation to this transform. - *

Quaternions are objectively better than the Euler angles preferred by - * Minecraft. This is the preferred method when dealing with rotation - * additions. This is for compatibility with the flow-math library.

- *

Returns the results as a new copy.

- */ - // @ts-ignore - public addRotation(rotation: any /*Quaterniond*/): org.spongepowered.api.entity.Transform; - /** - * "Adds" a scale to this transform. Scales are multiplicative, so this - * actually multiplies the current scale. - *

Returns the results as a new copy.

- */ - // @ts-ignore - public addScale(scale: any /*Vector3d*/): org.spongepowered.api.entity.Transform; - /** - * Returns a matrix representation of this transform. - *

This includes the position, rotation and scale. To apply the transform - * to a vector, use the following:

- *
Vector3d original = ...;
- * Transform transform = ...;

- * Vector3d transformed = - * transform.toMatrix().transform(original.toVector4(1)).toVector3();
- * }
- *

This converts the original 3D vector to 4D by appending 1 as the w - * coordinate, applies the transformation, then converts it back to 3D by - * dropping the w coordinate.

- *

Using a 4D matrix and a w coordinate with value 1 is what allows for - * the position to be included in the transformation applied by the matrix. - *

- */ - // @ts-ignore - public toMatrix(): any /*Matrix4d*/; - /** - * Returns if this {@link Transform} is still valid. - *

Examples of invalid Transforms are:

- *
    - *
  • A Transform without an {@link Extent}
  • - *
  • A Transform whose {@link Extent} object is no longer present
  • - *
  • A Transform whose coordinates are illegal (defined by the - * implementation)
  • - *
- */ - // @ts-ignore - public isValid(): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(other: any): boolean; - // @ts-ignore - public toString(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.Goal.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.Goal.ts deleted file mode 100644 index ba946707..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.Goal.ts +++ /dev/null @@ -1,55 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - // @ts-ignore - interface Goal { - /** - * The type of this goal. - */ - // @ts-ignore - getType(): org.spongepowered.api.entity.ai.GoalType; - /** - * The {@link Agent} that owns this goal. - */ - // @ts-ignore - getOwner(): org.spongepowered.api.entity.living.Agent; - /** - * Adds a new {@link AITask} to this goal. - */ - // @ts-ignore - addTask(priority: number, task: org.spongepowered.api.entity.ai.task.AITask): org.spongepowered.api.entity.ai.Goal; - /** - * Removes a specific {@link AITask} from this goal. - */ - // @ts-ignore - removeTask(task: org.spongepowered.api.entity.ai.task.AITask): org.spongepowered.api.entity.ai.Goal; - /** - * Removes all {@link AITask}s whose {@link AITaskType} matches - * the provided type. - */ - // @ts-ignore - removeTasks(type: org.spongepowered.api.entity.ai.task.AITaskType): org.spongepowered.api.entity.ai.Goal; - /** - * Gets all {@link AITask}s whose {@link AITaskType} matches - * the provided type. - */ - // @ts-ignore - getTasksByType(type: org.spongepowered.api.entity.ai.task.AITaskType): any[] /*java.util.List*/; - /** - * Gets all {@link AITask}s in this goal. - */ - // @ts-ignore - getTasks(): any[] /*java.util.List*/; - /** - * Clears all {@link AITask}s from this goal. - */ - // @ts-ignore - clear(): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.GoalType.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.GoalType.ts deleted file mode 100644 index 998f78ad..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.GoalType.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - // @ts-ignore - interface GoalType extends org.spongepowered.api.CatalogType { - /** - * Gets the {@link Goal} class that this type represents. - */ - // @ts-ignore - getGoalClass(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.GoalTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.GoalTypes.ts deleted file mode 100644 index 912b93bf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.GoalTypes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - // @ts-ignore - class GoalTypes { - // @ts-ignore - public static NORMAL: org.spongepowered.api.entity.ai.GoalType; - // @ts-ignore - public static TARGET: org.spongepowered.api.entity.ai.GoalType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITask.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITask.ts deleted file mode 100644 index 5947cc9a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITask.ts +++ /dev/null @@ -1,66 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - // @ts-ignore - interface AITask { - /** - * Gets the {@link AITaskType} of this task. - */ - // @ts-ignore - getType(): org.spongepowered.api.entity.ai.task.AITaskType; - /** - * Gets the {@link Goal} that is updating this task, if any. - */ - // @ts-ignore - getGoal(): any; - /** - * Gets the {@link Agent} that owns this task, if any. - */ - // @ts-ignore - getOwner(): any; - /** - * Tests if the provided {@link AITask} is allowed to be ran concurrently - * with this task. - *

This plays a role in determining if tasks should be updated or not. - * If this method - * is being called on this task, that means:

- *
    - *
  1. This task has higher priority than the provided task for our - * {@link AITask#getGoal()}.
  2. - *
  3. Returning "false" will remove the provided task from the list of - * updated tasks, if not - * there already.
  4. - *
  5. Returning "true" will add the provided task to the list of updated - * tasks, if not there - * already.
  6. - *
- */ - // @ts-ignore - canRunConcurrentWith(other: org.spongepowered.api.entity.ai.task.AITask): boolean; - /** - * Returns if this task can be interrupted. This determines if this task - * can be added to the list of updated tasks as well as if it should - * continue updating. - *

Thought should be made before blindly returning true or false here. - * In Minecraft, all tasks can be interrupted by higher priority tasks - * (tasks added with lower numerical values in - * {@link Goal#addTask(int, AITask)}) but a task being created by a plugin - * might be deemed critical and as such should return false.

- *

Due note that the meaning of "true" changes based on the state of the - * {@link Goal}. To put it simply, this value can mean "Should I be added - * as an updating task or "Should I continue updating?". Regardless of the - * question, the next step that happens is transferring from this method to - * {@link AITask#canRunConcurrentWith(AITask)} in the next AI tick loop.

- */ - // @ts-ignore - canBeInterrupted(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITaskBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITaskBuilder.ts deleted file mode 100644 index 2539a2bc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITaskBuilder.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - // @ts-ignore - interface AITaskBuilder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Builds the {@link AITask}. - */ - // @ts-ignore - build(owner: org.spongepowered.api.entity.living.Agent): org.spongepowered.api.entity.ai.task.AITask; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITaskType.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITaskType.ts deleted file mode 100644 index 136f808c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITaskType.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - // @ts-ignore - interface AITaskType extends org.spongepowered.api.CatalogType { - /** - * Gets the {@link AITask} class that this type represents. - */ - // @ts-ignore - getAIClass(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITaskTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITaskTypes.ts deleted file mode 100644 index 75461ebf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AITaskTypes.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - // @ts-ignore - class AITaskTypes { - // @ts-ignore - public static AVOID_ENTITY: org.spongepowered.api.entity.ai.task.AITaskType; - // @ts-ignore - public static RUN_AROUND_LIKE_CRAZY: org.spongepowered.api.entity.ai.task.AITaskType; - // @ts-ignore - public static SWIMMING: org.spongepowered.api.entity.ai.task.AITaskType; - // @ts-ignore - public static WANDER: org.spongepowered.api.entity.ai.task.AITaskType; - // @ts-ignore - public static WATCH_CLOSEST: org.spongepowered.api.entity.ai.task.AITaskType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AbstractAITask.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AbstractAITask.ts deleted file mode 100644 index 689f36ea..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.AbstractAITask.ts +++ /dev/null @@ -1,64 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - // @ts-ignore - abstract class AbstractAITask implements org.spongepowered.api.entity.ai.task.AITask { - /** - * Creates a new {@link AbstractAITask} with the provided - * {@link AITask}. - */ - constructor(type: org.spongepowered.api.entity.ai.task.AITaskType) - // @ts-ignore - public getType(): org.spongepowered.api.entity.ai.task.AITaskType; - // @ts-ignore - public getGoal(): any; - /** - * Invoked when the task is "started". A "start" of a task occurs at the - * "start" of the "AI" is "ticking". Depending on the case where - * {@link #shouldUpdate()} returns {@code false}, an {@link AITask} is - * NOT going to be called, so this method would not be - * called at the "start" of the tick to "prepare" for {@link #update()}. - */ - // @ts-ignore - public abstract start(): void; - /** - * Determines whether this {@link AITask} should be considered for "ticking" - * or {@link #start()}, {@link #update()}, and {@link #reset()} are called - * for that "AI" tick. - */ - // @ts-ignore - public abstract shouldUpdate(): boolean; - /** - * Performs any customary logic for this "task" to modify the parent - * {@link Agent} in any way, including navigation, health, potion effects, - * etc. Only called when {@link #shouldUpdate()} returns {@code true}, - * and after {@link #start()} has completed. Likewise, if - * {@link #continueUpdating()} - */ - // @ts-ignore - public abstract update(): void; - /** - * Called to verify that this {@link AITask} needs to {@link #update()} - * in this tick. If this returns {@code false}, this {@link AITask} - * is removed from use and {@link #reset()} is called. - */ - // @ts-ignore - public abstract continueUpdating(): boolean; - /** - * Performs any reset necessary for this task during the current tick. - *

Note that this may be called during any state during {@link #start()} - * or {@link #update()} such that the task is removed from use for the - * current "AI" tick.

- */ - // @ts-ignore - public abstract reset(): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.LookIdleAITask.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.LookIdleAITask.Builder.ts deleted file mode 100644 index 47c6d01a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.LookIdleAITask.Builder.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace LookIdleAITask { - // @ts-ignore - interface Builder extends org.spongepowered.api.entity.ai.task.AITaskBuilder { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.LookIdleAITask.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.LookIdleAITask.ts deleted file mode 100644 index 43ede57d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.LookIdleAITask.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - // @ts-ignore - interface LookIdleAITask extends org.spongepowered.api.entity.ai.task.AITask { - /** - * Creates a new {@link Builder} to build a new {@link LookIdleAITask}. - */ - // @ts-ignore - builder(): org.spongepowered.api.entity.ai.task.builtin.LookIdleAITask.Builder; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.SwimmingAITask.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.SwimmingAITask.Builder.ts deleted file mode 100644 index 75f8a8a7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.SwimmingAITask.Builder.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace SwimmingAITask { - // @ts-ignore - interface Builder extends org.spongepowered.api.entity.ai.task.AITaskBuilder { - // @ts-ignore - swimChance(chance: number): org.spongepowered.api.entity.ai.task.builtin.SwimmingAITask.Builder; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.SwimmingAITask.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.SwimmingAITask.ts deleted file mode 100644 index 448ba5e3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.SwimmingAITask.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - // @ts-ignore - interface SwimmingAITask extends org.spongepowered.api.entity.ai.task.AITask { - /** - * Creates a new {@link Builder} to build a new - * {@link SwimmingAITask}. - */ - // @ts-ignore - builder(): org.spongepowered.api.entity.ai.task.builtin.SwimmingAITask.Builder; - /** - * Gets the chance that the owning {@link Agent} will perform - * a "jump". The chance is limited between {@code 0} and {@code 1}, - * to where the higher the chance, the more likely the entity will - * "jump" to appear "swimming". - */ - // @ts-ignore - getSwimChance(): number; - /** - * Sets the chance that the owning {@link Agent} will perform - * a "jump". The chance is limited between {@code 0} and {@code 1}, - * to where the higher the chance, the more likely the entity will - * "jump" to appear "swimming". - */ - // @ts-ignore - setSwimChance(chance: number): void; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask.Builder.ts deleted file mode 100644 index ffbc852a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask.Builder.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace WatchClosestAITask { - // @ts-ignore - interface Builder extends org.spongepowered.api.entity.ai.task.AITaskBuilder { - // @ts-ignore - watch(watchClass: any): org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask.Builder; - // @ts-ignore - maxDistance(maxDistance: number): org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask.Builder; - // @ts-ignore - chance(chance: number): org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask.Builder; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask.ts deleted file mode 100644 index e7f4c328..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - // @ts-ignore - interface WatchClosestAITask extends org.spongepowered.api.entity.ai.task.AITask { - /** - * Creates a new {@link Builder} to build a new - * {@link WatchClosestAITask}. - */ - // @ts-ignore - builder(): org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask.Builder; - /** - * Gets the {@link Class} of the {@link Entity} type to "stare" or - * "watch" when that type of entity is nearby. - */ - // @ts-ignore - getWatchedClass(): any; - /** - * Sets the {@link Class} of the {@link Entity} type to "stare" or - * "watch" when that type of entity is nearby. - */ - // @ts-ignore - setWatchedClass(watchedClass: any): org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask; - /** - * Gets the maximum distance to "watch" a targeted {@link Entity}. - */ - // @ts-ignore - getMaxDistance(): number; - /** - * Sets the maximum distance to "watch" a targeted {@link Entity}. - */ - // @ts-ignore - setMaxDistance(maxDistance: number): org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask; - /** - * Gets the chance that an {@link Entity} will "watch" a targeted - * {@link Entity}. - */ - // @ts-ignore - getChance(): number; - /** - * SEts the chance to "watch" a targeted {@link Entity}. - */ - // @ts-ignore - setChance(chance: number): org.spongepowered.api.entity.ai.task.builtin.WatchClosestAITask; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AttackLivingAITask.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AttackLivingAITask.Builder.ts deleted file mode 100644 index 1c18b4cd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AttackLivingAITask.Builder.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - namespace AttackLivingAITask { - // @ts-ignore - interface Builder extends org.spongepowered.api.entity.ai.task.AITaskBuilder { - /** - * Sets the speed modifier at which the owning {@link Agent} will be - * moving towards a targeted {@link Entity}. - */ - // @ts-ignore - speed(speed: number): org.spongepowered.api.entity.ai.task.builtin.creature.AttackLivingAITask.Builder; - /** - * Sets whether the task will force the owning {@link Agent} to - * persist targeting an {@link Entity} after a direct path is - * no longer available. - */ - // @ts-ignore - longMemory(): org.spongepowered.api.entity.ai.task.builtin.creature.AttackLivingAITask.Builder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AttackLivingAITask.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AttackLivingAITask.ts deleted file mode 100644 index 9113e430..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AttackLivingAITask.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - // @ts-ignore - interface AttackLivingAITask extends org.spongepowered.api.entity.ai.task.AITask { - /** - * Creates a new {@link Builder} to build a new - * {@link AttackLivingAITask}. - */ - // @ts-ignore - builder(): org.spongepowered.api.entity.ai.task.builtin.creature.AttackLivingAITask.Builder; - /** - * Gets the "movement" speed modifier when targeting towards a - * targeted {@link Entity}. - */ - // @ts-ignore - getSpeed(): number; - /** - * Sets the movement speed modifier when the parent {@link Creature} - * is targeting an {@link Entity}. - */ - // @ts-ignore - setSpeed(speed: number): org.spongepowered.api.entity.ai.task.builtin.creature.AttackLivingAITask; - /** - * Gets whether the navigator will attempt to continue to "target" - * an {@link Entity} after certain circumstances have been met, - * sometimes whether a targeted {@link Entity} has moved too far away, - * moved to where there is an obstacle between the parent and the - * targeted entity, etc. - */ - // @ts-ignore - hasLongMemory(): boolean; - /** - * Sets whether the task will continue to navigate the parent - * {@link Agent} to continue targeting an {@link Entity} after the - * entity has moved to where a direct navigation path is no longer - * available. - */ - // @ts-ignore - setLongMemory(longMemory: boolean): org.spongepowered.api.entity.ai.task.builtin.creature.AttackLivingAITask; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask.Builder.ts deleted file mode 100644 index c8ed5056..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask.Builder.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - namespace AvoidEntityAITask { - // @ts-ignore - interface Builder extends org.spongepowered.api.entity.ai.task.AITaskBuilder { - /** - * Sets the {@link Predicate} for filtering which {@link Entity} instances - * are considered to be "avoided" by the owning {@link Agent}. - */ - // @ts-ignore - targetSelector(predicate: any): org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask.Builder; - /** - * Sets the search distance at which any {@link Entity} instances in a - * radius of the parent {@link Agent} are considered for avoiding. - */ - // @ts-ignore - searchDistance(distance: number): org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask.Builder; - /** - * Sets the peed "modifier" for which the parent {@link Agent} will - * move away from a found {@link Entity} to "avoid" when in close - * range. Close range is currently defined as {@code 7} blocks. - */ - // @ts-ignore - closeRangeSpeed(speed: number): org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask.Builder; - /** - * Sets the close range speed "modifier" for which the parent {@link Agent} - * will move away from a found {@link Entity} to "avoid" when in - * a farther range than 7 blocks. - */ - // @ts-ignore - farRangeSpeed(speed: number): org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask.Builder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask.ts deleted file mode 100644 index 7a30c27f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask.ts +++ /dev/null @@ -1,78 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - // @ts-ignore - interface AvoidEntityAITask extends org.spongepowered.api.entity.ai.task.AITask { - /** - * Creates a new {@link Builder} for creating a new {@link AvoidEntityAITask}. - */ - // @ts-ignore - builder(): org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask.Builder; - /** - * Gets the {@link Predicate} for filtering which {@link Entity} instances - * are qualified to have the owning {@link Agent} move away from the - * {@link Entity} of which the {@link Predicate#test(Object)} returns - * {@code true}. - */ - // @ts-ignore - getTargetSelector(): any; - /** - * Sets the {@link Predicate} for filtering which {@link Entity} instances - * are considered to be "avoided" by the owning {@link Agent}. - */ - // @ts-ignore - setTargetSelector(predicate: any): org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask; - /** - * Gets the search distance at which any {@link Entity} instances in a - * radius of the parent {@link Agent} are considered for avoiding. - */ - // @ts-ignore - getSearchDistance(): number; - /** - * Sets the search distance at which any {@link Entity} instances in a - * radius of the parent {@link Agent} are considered for avoiding. - */ - // @ts-ignore - setSearchDistance(distance: number): org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask; - /** - * Gets the speed "modifier" for which the parent {@link Agent} will - * move away from a found {@link Entity} to "avoid" when in close - * range. Close range is currently defined as {@code 7} blocks. - */ - // @ts-ignore - getCloseRangeSpeed(): number; - /** - * Sets the peed "modifier" for which the parent {@link Agent} will - * move away from a found {@link Entity} to "avoid" when in close - * range. Close range is currently defined as {@code 7} blocks. - */ - // @ts-ignore - setCloseRangeSpeed(speed: number): org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask; - /** - * Gets the close range speed "modifier" for which the parent {@link Agent} - * will move away from a found {@link Entity} to "avoid" when in - * a farther range than 7 blocks. - */ - // @ts-ignore - getFarRangeSpeed(): number; - /** - * Sets the close range speed "modifier" for which the parent {@link Agent} - * will move away from a found {@link Entity} to "avoid" when in - * a farther range than 7 blocks. - */ - // @ts-ignore - setFarRangeSpeed(speed: number): org.spongepowered.api.entity.ai.task.builtin.creature.AvoidEntityAITask; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask.Builder.ts deleted file mode 100644 index 8787377a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask.Builder.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - namespace RangeAgentAITask { - // @ts-ignore - interface Builder extends org.spongepowered.api.entity.ai.task.AITaskBuilder { - // @ts-ignore - moveSpeed(speed: number): org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask.Builder; - // @ts-ignore - delayBetweenAttacks(delay: number): org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask.Builder; - // @ts-ignore - attackRadius(radius: number): org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask.Builder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask.ts deleted file mode 100644 index bbef376c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask.ts +++ /dev/null @@ -1,60 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - // @ts-ignore - interface RangeAgentAITask extends org.spongepowered.api.entity.ai.task.AITask { - /** - * Creates a new {@link Builder} to build a new {@link RangeAgentAITask}. - */ - // @ts-ignore - builder(): org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask.Builder; - /** - * Gets the movement speed modifier for moving towards a targeted - * {@link Entity}. - */ - // @ts-ignore - getMoveSpeed(): number; - /** - * Sets the movement speed modifier for moving towards a targeted - * {@link Entity}. - */ - // @ts-ignore - setMoveSpeed(speed: number): org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask; - /** - * Gets the delay in ticks between attempts to attack the targeted - * {@link Entity}. - */ - // @ts-ignore - getDelayBetweenAttacks(): number; - /** - * The time, in ticks, this {@link Ranger} will wait before attacking - * again. - */ - // @ts-ignore - setDelayBetweenAttacks(delay: number): org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask; - /** - * Gets the radius of which the owning {@link Ranger} will attempt to - * attack a targeted {@link Entity}. - */ - // @ts-ignore - getAttackRadius(): number; - /** - * Sets the radius of which the owning {@link Ranger} will attempt to - * attack a targeted {@link Entity}. - */ - // @ts-ignore - setAttackRadius(radius: number): org.spongepowered.api.entity.ai.task.builtin.creature.RangeAgentAITask; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.WanderAITask.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.WanderAITask.Builder.ts deleted file mode 100644 index 166105c5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.WanderAITask.Builder.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - namespace WanderAITask { - // @ts-ignore - interface Builder extends org.spongepowered.api.entity.ai.task.AITaskBuilder { - // @ts-ignore - speed(speed: number): org.spongepowered.api.entity.ai.task.builtin.creature.WanderAITask.Builder; - // @ts-ignore - executionChance(executionChance: number): org.spongepowered.api.entity.ai.task.builtin.creature.WanderAITask.Builder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.WanderAITask.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.WanderAITask.ts deleted file mode 100644 index eadcacdd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.WanderAITask.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - // @ts-ignore - interface WanderAITask extends org.spongepowered.api.entity.ai.task.AITask { - /** - * Creates a new {@link Builder} to build a new - * {@link WanderAITask}. - */ - // @ts-ignore - builder(): org.spongepowered.api.entity.ai.task.builtin.creature.WanderAITask.Builder; - /** - * Gets the speed modifier at which the owning {@link Entity} - * will move around to appear to "wander". - */ - // @ts-ignore - getSpeed(): number; - /** - * Sets the speed modifier at which the owning {@link Entity} - * will move around to appear to "wander". - */ - // @ts-ignore - setSpeed(speed: number): org.spongepowered.api.entity.ai.task.builtin.creature.WanderAITask; - /** - * Gets the chance that the owning {@link Entity} will "wander". - */ - // @ts-ignore - getExecutionChance(): number; - /** - * Sets the chance that the owning {@link Entity} will perform - * a "wander". - */ - // @ts-ignore - setExecutionChance(executionChance: number): org.spongepowered.api.entity.ai.task.builtin.creature.WanderAITask; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.horse.RunAroundLikeCrazyAITask.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.horse.RunAroundLikeCrazyAITask.Builder.ts deleted file mode 100644 index 52d40d1f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.horse.RunAroundLikeCrazyAITask.Builder.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - namespace horse { - namespace RunAroundLikeCrazyAITask { - // @ts-ignore - interface Builder extends org.spongepowered.api.entity.ai.task.AITaskBuilder { - // @ts-ignore - speed(speed: number): org.spongepowered.api.entity.ai.task.builtin.creature.horse.RunAroundLikeCrazyAITask.Builder; - } - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.horse.RunAroundLikeCrazyAITask.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.horse.RunAroundLikeCrazyAITask.ts deleted file mode 100644 index 508b7b10..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.horse.RunAroundLikeCrazyAITask.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - namespace horse { - // @ts-ignore - interface RunAroundLikeCrazyAITask extends org.spongepowered.api.entity.ai.task.AITask { - /** - * Creates a new {@link Builder} to build a new - * {@link RunAroundLikeCrazyAITask}. - */ - // @ts-ignore - builder(): org.spongepowered.api.entity.ai.task.builtin.creature.horse.RunAroundLikeCrazyAITask.Builder; - /** - * Gets the speed modifier at which when an {@link Entity} is running - * around, the movement speed is amplified by this modifier. - */ - // @ts-ignore - getSpeed(): number; - /** - * Sets the speed modifier at which when an {@link Entity} is running - * around, the movement speed is amplified by this modifier. - */ - // @ts-ignore - setSpeed(speed: number): org.spongepowered.api.entity.ai.task.builtin.creature.horse.RunAroundLikeCrazyAITask; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask.Builder.ts deleted file mode 100644 index 26a439d8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask.Builder.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - namespace target { - namespace FindNearestAttackableTargetAITask { - // @ts-ignore - interface Builder extends org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask.Builder { - // @ts-ignore - target(targetClass: any): org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask.Builder; - // @ts-ignore - chance(chance: number): org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask.Builder; - // @ts-ignore - filter(predicate: any): org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask.Builder; - } - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask.ts deleted file mode 100644 index 02898b68..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask.ts +++ /dev/null @@ -1,60 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - namespace target { - // @ts-ignore - interface FindNearestAttackableTargetAITask extends org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask { - /** - * Creates a new {@link Builder} for building a new {@link FindNearestAttackableTargetAITask}. - */ - // @ts-ignore - builder(): org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask.Builder; - /** - * Gets the {@link Class entity class} that can be targeted. - */ - // @ts-ignore - getTargetClass(): any; - /** - * Sets the {@link Class entity class} that can be targeted. - */ - // @ts-ignore - setTargetClass(targetClass: any): org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask; - /** - * Gets the chance that this task will go through and attempt to find a - * new target. - */ - // @ts-ignore - getChance(): number; - /** - * Sets the chance that this task will go through and attempt to find a - * new target. - */ - // @ts-ignore - setChance(chance: number): org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask; - /** - * Sets the {@link Predicate} filter to determine whether a {@link Living} - * entity can be targeted. - */ - // @ts-ignore - filter(predicate: any): org.spongepowered.api.entity.ai.task.builtin.creature.target.FindNearestAttackableTargetAITask; - /** - * Gets the {@link Predicate} filter to determine whether a {@link Living living entity} - * can be targeted. - */ - // @ts-ignore - getFilter(): any; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask.Builder.ts deleted file mode 100644 index e07391c8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask.Builder.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - namespace target { - namespace TargetAITask { - // @ts-ignore - interface Builder extends org.spongepowered.api.entity.ai.task.AITaskBuilder { - // @ts-ignore - checkSight(): org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask.Builder; - // @ts-ignore - onlyNearby(): org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask.Builder; - // @ts-ignore - reset(): org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask.Builder; - } - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask.ts deleted file mode 100644 index f3701f8f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace ai { - namespace task { - namespace builtin { - namespace creature { - namespace target { - // @ts-ignore - interface TargetAITask extends org.spongepowered.api.entity.ai.task.AITask { - /** - * Gets whether the owning {@link Agent} can visibly "see" the - * {@link Entity} being targeted such that any {@link BlockType}s that - * are visibly opaque will prevent the owning {@link Agent} from - * targeting that {@link Entity}. - */ - // @ts-ignore - shouldCheckSight(): boolean; - /** - * Sets whether the owning {@link Agent} can visibly "see" the - * {@link Entity} being targeted such that any {@link BlockType}s that - * are visibly opaque will prevent the owning {@link Agent} from - * targeting that {@link Entity}. - */ - // @ts-ignore - setCheckSight(checkSight: boolean): org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask; - /** - * Gets whether an {@link Entity} can only be targeted within a "short" - * radius from the owning {@link Agent}. - */ - // @ts-ignore - onlyNearby(): boolean; - /** - * Sets whether an {@link Entity} can only be targeted within a "short" - * radius from the owning {@link Agent}. - */ - // @ts-ignore - setOnlyNearby(nearby: boolean): org.spongepowered.api.entity.ai.task.builtin.creature.target.TargetAITask; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.explosive.Explosive.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.explosive.Explosive.ts deleted file mode 100644 index 2e191f0b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.explosive.Explosive.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace explosive { - // @ts-ignore - interface Explosive extends org.spongepowered.api.entity.Entity { - /** - * Returns the {@link ExplosionRadiusData} for this explosive. - */ - // @ts-ignore - getExplosionRadiusData(): org.spongepowered.api.data.manipulator.mutable.entity.ExplosionRadiusData; - /** - * The radius in blocks that the explosion will affect. This value may be - * missing if the explosion radius is unknown such as when it is generated - * randomly on detonation. Setting this value on such explosives will - * override that behavior. - */ - // @ts-ignore - explosionRadius(): org.spongepowered.api.data.value.mutable.OptionalValue; - /** - * Detonates this explosive as soon as possible. - */ - // @ts-ignore - detonate(): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.explosive.FusedExplosive.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.explosive.FusedExplosive.ts deleted file mode 100644 index dbb715cd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.explosive.FusedExplosive.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace explosive { - // @ts-ignore - interface FusedExplosive extends org.spongepowered.api.entity.explosive.Explosive { - /** - * Returns the {@link FuseData} for this explosive. - */ - // @ts-ignore - getFuseData(): org.spongepowered.api.data.manipulator.mutable.entity.FuseData; - /** - * Returns true if this explosive is currently primed. - */ - // @ts-ignore - isPrimed(): boolean; - /** - * Primes this explosive to detonate after the amount of ticks that - * this entity explodes in defined by {@link Keys#FUSE_DURATION}. - */ - // @ts-ignore - prime(): void; - /** - * Cancels an actively primed explosive. - */ - // @ts-ignore - defuse(): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.explosive.PrimedTNT.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.explosive.PrimedTNT.ts deleted file mode 100644 index 1695d08c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.explosive.PrimedTNT.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace explosive { - // @ts-ignore - interface PrimedTNT extends org.spongepowered.api.entity.explosive.FusedExplosive { - /** - * Gets the living entity that set off this primed TNT. - */ - // @ts-ignore - getDetonator(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.hanging.Hanging.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.hanging.Hanging.ts deleted file mode 100644 index 1827a028..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.hanging.Hanging.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace hanging { - // @ts-ignore - interface Hanging extends org.spongepowered.api.entity.Entity { - /** - * Gets a copy of the {@link DirectionalData} being used for this - * {@link Hanging} entity. - */ - // @ts-ignore - getDirectionalData(): org.spongepowered.api.data.manipulator.mutable.block.DirectionalData; - /** - * Gets the {@link Value} for the current "facing" {@link Direction}. - */ - // @ts-ignore - direction(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.hanging.ItemFrame.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.hanging.ItemFrame.ts deleted file mode 100644 index 90566a72..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.hanging.ItemFrame.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace hanging { - // @ts-ignore - interface ItemFrame extends org.spongepowered.api.entity.hanging.Hanging { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.hanging.LeashHitch.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.hanging.LeashHitch.ts deleted file mode 100644 index f5dc88a6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.hanging.LeashHitch.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace hanging { - // @ts-ignore - interface LeashHitch extends org.spongepowered.api.entity.hanging.Hanging { - /** - * Gets the currently leashed {@link Entity}. - *

Usually, a {@link LeashHitch} will always exist so long as there is - * a leashed {@link Entity} attached. If the leash is broken, the leash - * hitch is removed.

- */ - // @ts-ignore - getLeashedEntity(): org.spongepowered.api.entity.Entity; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.hanging.Painting.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.hanging.Painting.ts deleted file mode 100644 index d301f25a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.hanging.Painting.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace hanging { - // @ts-ignore - interface Painting extends org.spongepowered.api.entity.hanging.Hanging { - /** - * Gets a copy of the {@link ArtData} represented by this {@link Painting}. - */ - // @ts-ignore - getArtData(): org.spongepowered.api.data.manipulator.mutable.entity.ArtData; - /** - * Gets the current {@link Art} value represented by this {@link Painting}. - */ - // @ts-ignore - art(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Aerial.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Aerial.ts deleted file mode 100644 index b411178e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Aerial.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Aerial extends org.spongepowered.api.entity.living.Agent { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Ageable.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Ageable.ts deleted file mode 100644 index 1c5d9935..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Ageable.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Ageable extends org.spongepowered.api.entity.living.Creature { - /** - * Sets the scaling to be 1 if this entity is an adult and 0.5 if it is - * a baby. - */ - // @ts-ignore - setScaleForAge(): void; - /** - * Gets the {@link AgeableData} that represents age determining whether an - * {@link Entity} is a child or an adult. - */ - // @ts-ignore - getAgeData(): org.spongepowered.api.data.manipulator.mutable.entity.AgeableData; - /** - * Gets the {@link MutableBoundedValue} for the "age" state. - */ - // @ts-ignore - age(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link Value} for the "adult" state. - */ - // @ts-ignore - adult(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Agent.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Agent.ts deleted file mode 100644 index d8e026f0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Agent.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Agent extends org.spongepowered.api.entity.living.Living { - /** - * Gets the current target, usually according to the various - * {@link AITask}s that are acting on this agent. - */ - // @ts-ignore - getTarget(): any; - /** - * Sets the current target, usually to bypass what the {@link AITask}s are - * deciding to be the target. - */ - // @ts-ignore - setTarget(target: org.spongepowered.api.entity.Entity): void; - /** - * Gets a copy of the {@link AgentData} associated with this {@link Agent}. - */ - // @ts-ignore - getAgentData(): org.spongepowered.api.data.manipulator.mutable.entity.AgentData; - /** - * Gets the {@link Value} for whether AI tasks are enabled or not. - */ - // @ts-ignore - aiEnabled(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets a {@link Goal} based on the {@link GoalType}. - */ - // @ts-ignore - getGoal(type: org.spongepowered.api.entity.ai.GoalType): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Ambient.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Ambient.ts deleted file mode 100644 index e679e748..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Ambient.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Ambient extends org.spongepowered.api.entity.living.Agent { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Aquatic.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Aquatic.ts deleted file mode 100644 index b470530b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Aquatic.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Aquatic extends org.spongepowered.api.entity.living.Creature { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.ArmorStand.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.ArmorStand.ts deleted file mode 100644 index 20df3851..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.ArmorStand.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface ArmorStand extends org.spongepowered.api.entity.living.Living, org.spongepowered.api.entity.ArmorEquipable { - /** - * Gets a copy of the current {@link BodyPartRotationalData} used by this - * {@link ArmorStand}. - */ - // @ts-ignore - getBodyPartRotationalData(): org.spongepowered.api.data.manipulator.mutable.entity.BodyPartRotationalData; - /** - * Gets the {@link Boolean} {@link Value} of whether this - * {@link ArmorStand} is considered a "marker" stand. If - * {@code true}, the armor stand's bounding box is near - * impossible to see, and the armor stand can no longer be - * interacted with. - */ - // @ts-ignore - marker(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Boolean} {@link Value} of whether this - * {@link ArmorStand} is considered a "small" armor stand. - */ - // @ts-ignore - small(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Boolean} {@link Value} of whether this - * {@link ArmorStand} will show that it has a base plate - * visible to players. - */ - // @ts-ignore - basePlate(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Boolean} {@link Value} of whether this - * {@link ArmorStand} will show that it has "arms". - */ - // @ts-ignore - arms(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link ArmorStandData} for this armor stand. - */ - // @ts-ignore - getArmorStandData(): org.spongepowered.api.data.manipulator.mutable.entity.ArmorStandData; - // @ts-ignore - placingDisabled(): org.spongepowered.api.data.value.mutable.SetValue; - // @ts-ignore - takingDisabled(): org.spongepowered.api.data.value.mutable.SetValue; - // @ts-ignore - getDisabledSlotsData(): org.spongepowered.api.data.manipulator.mutable.entity.DisabledSlotsData; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Bat.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Bat.ts deleted file mode 100644 index b969961a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Bat.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Bat extends org.spongepowered.api.entity.living.Ambient, org.spongepowered.api.entity.living.Aerial { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Creature.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Creature.ts deleted file mode 100644 index b22de380..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Creature.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Creature extends org.spongepowered.api.entity.living.Agent { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Hostile.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Hostile.ts deleted file mode 100644 index 2f6be36b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Hostile.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Hostile extends org.spongepowered.api.entity.living.Living { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Human.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Human.ts deleted file mode 100644 index 60faa3c7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Human.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Human extends org.spongepowered.api.entity.living.Creature, org.spongepowered.api.entity.living.Humanoid { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Humanoid.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Humanoid.ts deleted file mode 100644 index 39c1b1e5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Humanoid.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Humanoid extends org.spongepowered.api.entity.living.Living, org.spongepowered.api.entity.projectile.ProjectileLauncher, org.spongepowered.api.entity.ArmorEquipable, org.spongepowered.api.entity.Tamer { - /** - * Gets a copy of the current {@link FoodData} for this {@link Humanoid}. - */ - // @ts-ignore - getFoodData(): org.spongepowered.api.data.manipulator.mutable.entity.FoodData; - /** - * Gets the current food level as an {@link MutableBoundedValue}. - *

Food level has health effects, depending on game difficulty and - * hunger levels. If the food level is high enough, the human entity - * may heal. If the food level is at 0, the human entity may starve.

- */ - // @ts-ignore - foodLevel(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the "exhaustion" level. - *

When the exhaustion level reaches 0, saturation is usually diminished - * such that saturation is decreased and then exhaustion is reset to the - * maximum. This type of effect occurs over time and can be modified by - * movements and actions performed by the {@link Humanoid} entity.

- */ - // @ts-ignore - exhaustion(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MutableBoundedValue} for the "saturation" level. - *

When the saturation level reaches 0, the food level is usually - * diminished such that the food level is decreased by 1, then - * saturation is reset to the maximum value. This type of effect occurs - * over time and can be modified by movements and actions performed by the - * {@link Humanoid} entity.

- */ - // @ts-ignore - saturation(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Living.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Living.ts deleted file mode 100644 index db163cda..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Living.ts +++ /dev/null @@ -1,78 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Living extends org.spongepowered.api.entity.Entity, org.spongepowered.api.entity.projectile.source.ProjectileSource, org.spongepowered.api.scoreboard.TeamMember { - /** - * Gets a copy of the current {@link HealthData}. - */ - // @ts-ignore - getHealthData(): org.spongepowered.api.data.manipulator.mutable.entity.HealthData; - /** - * Returns the health amount. - *

The range of the health depends on the object on which this - * method is defined. For players in Minecraft, the nominal range is - * between 0 and 20, inclusive, but the range can be adjusted.

- *

Convention dictates that health does not follow below 0 but this - * convention may be broken.

- */ - // @ts-ignore - health(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the current maximum health. - *

The maximum health set here may affect the attribute increasing - * health points. The base health should be minded that it may be lower - * than the total maximum health of this entity.

- */ - // @ts-ignore - maxHealth(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets a copy of the current {@link DamageableData}. - */ - // @ts-ignore - getDamageableData(): org.spongepowered.api.data.manipulator.mutable.entity.DamageableData; - /** - * Gets the {@link OptionalValue} for the last attacker. - *

This is generally an entity snapshot of a {@link Living}.

- */ - // @ts-ignore - lastAttacker(): org.spongepowered.api.data.value.mutable.OptionalValue; - /** - * Gets the last amount of damage dealt as an optional value. - */ - // @ts-ignore - lastDamage(): org.spongepowered.api.data.value.mutable.OptionalValue; - /** - * Returns this entity's head rotation. - *

The format of the rotation is represented by:

- *
    x -> pitch, y -> yaw, z -> roll - *
- *

Note that the pitch will be the same x value returned by - * {@link Entity#getRotation()} and Minecraft does not currently support - * head roll so the z value will always be zero.

- */ - // @ts-ignore - getHeadRotation(): any /*Vector3d*/; - /** - * Sets the entity's head rotation. - *

The format of the rotation is represented by:

- *
    x -> pitch, y -> yaw, z -> roll - *
- *

Note that the pitch (x value) supplied will update the entity's pitch - * via {@link Entity#setRotation(Vector3d)}.

- */ - // @ts-ignore - setHeadRotation(rotation: any /*Vector3d*/): void; - /** - * Makes the entity look at the specified target position. - */ - // @ts-ignore - lookAt(targetPos: any /*Vector3d*/): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Ranger.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Ranger.ts deleted file mode 100644 index 82794c0a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Ranger.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Ranger extends org.spongepowered.api.entity.living.Agent, org.spongepowered.api.entity.projectile.ProjectileLauncher { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Squid.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Squid.ts deleted file mode 100644 index 3fab25ac..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Squid.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Squid extends org.spongepowered.api.entity.living.Aquatic { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Villager.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.Villager.ts deleted file mode 100644 index 52de5655..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.Villager.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - // @ts-ignore - interface Villager extends org.spongepowered.api.entity.living.Ageable, org.spongepowered.api.item.merchant.Merchant { - /** - * Returns true if this villager is currently trading with another - * {@link Humanoid}. A villager is normally - * unable to trade with multiple HumanEntities at the same time. - */ - // @ts-ignore - isTrading(): boolean; - /** - * Gets a copy of the current {@link CareerData} for this {@link Villager} - * entity. - */ - // @ts-ignore - getCareerData(): org.spongepowered.api.data.manipulator.mutable.entity.CareerData; - /** - * Gets the current {@link Career} of this villager. - */ - // @ts-ignore - career(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Animal.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Animal.ts deleted file mode 100644 index dd512d78..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Animal.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Animal extends org.spongepowered.api.entity.living.Ageable { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Chicken.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Chicken.ts deleted file mode 100644 index c5398a41..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Chicken.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Chicken extends org.spongepowered.api.entity.living.animal.Animal { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Cow.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Cow.ts deleted file mode 100644 index 952ba760..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Cow.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Cow extends org.spongepowered.api.entity.living.animal.Animal { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Donkey.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Donkey.ts deleted file mode 100644 index 78137872..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Donkey.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Donkey extends org.spongepowered.api.entity.living.animal.Horse { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Horse.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Horse.ts deleted file mode 100644 index 177832bf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Horse.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Horse extends org.spongepowered.api.entity.living.animal.Animal, org.spongepowered.api.item.inventory.Carrier { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Llama.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Llama.ts deleted file mode 100644 index c10fb81d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Llama.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Llama extends org.spongepowered.api.entity.living.animal.Horse, org.spongepowered.api.entity.projectile.ProjectileLauncher { - /** - * Gets the {@link Value} for the {@link Keys#LLAMA_STRENGTH llama strength} - * when attacking. - */ - // @ts-ignore - strength(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link Value} for the {@link Keys#LLAMA_VARIANT llama variant}. - */ - // @ts-ignore - llamaVariant(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Mooshroom.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Mooshroom.ts deleted file mode 100644 index d55471d6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Mooshroom.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Mooshroom extends org.spongepowered.api.entity.living.animal.Cow { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Mule.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Mule.ts deleted file mode 100644 index c07f398c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Mule.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Mule extends org.spongepowered.api.entity.living.animal.Horse { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Ocelot.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Ocelot.ts deleted file mode 100644 index 43e41e20..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Ocelot.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Ocelot extends org.spongepowered.api.entity.living.animal.Animal { - /** - * Gets a copy of the current {@link OcelotData} being represented by - * this {@link Ocelot}. - */ - // @ts-ignore - getOcelotData(): org.spongepowered.api.data.manipulator.mutable.entity.OcelotData; - /** - * Gets the {@link Value} for the {@link OcelotType} of this - * {@link Ocelot}. - */ - // @ts-ignore - variant(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Parrot.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Parrot.ts deleted file mode 100644 index b91c7553..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Parrot.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Parrot extends org.spongepowered.api.entity.living.animal.Animal { - /** - * Gets a copy of the current {@link ParrotData} being represented by - * this {@link Parrot}. - */ - // @ts-ignore - getParrotData(): org.spongepowered.api.data.manipulator.mutable.entity.ParrotData; - /** - * Gets the {@link Value} for the {@link ParrotVariant} of this - * {@link Parrot}. - */ - // @ts-ignore - variant(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Pig.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Pig.ts deleted file mode 100644 index 7550c138..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Pig.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Pig extends org.spongepowered.api.entity.living.animal.Animal { - /** - * Gets the {@link PigSaddleData} for this {@link Pig}. - */ - // @ts-ignore - getPigSaddleData(): org.spongepowered.api.data.manipulator.mutable.entity.PigSaddleData; - /** - * Gets the {@link Value} for whether this {@link Pig} is saddled. - */ - // @ts-ignore - saddled(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.PolarBear.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.PolarBear.ts deleted file mode 100644 index 94535ded..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.PolarBear.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface PolarBear extends org.spongepowered.api.entity.living.animal.Animal { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Rabbit.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Rabbit.ts deleted file mode 100644 index d7fac9b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Rabbit.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Rabbit extends org.spongepowered.api.entity.living.animal.Animal { - /** - * Gets a copy of the {@link RabbitData} representing the specific data for - * this {@link Rabbit}. - */ - // @ts-ignore - getRabbitData(): org.spongepowered.api.data.manipulator.mutable.entity.RabbitData; - /** - * Gets the {@link Value} for the {@link RabbitType} of this {@link Rabbit}. - */ - // @ts-ignore - variant(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.RideableHorse.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.RideableHorse.ts deleted file mode 100644 index 1e741081..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.RideableHorse.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface RideableHorse extends org.spongepowered.api.entity.living.animal.Horse { - /** - * Gets a copy of the {@link HorseData} representing this {@link RideableHorse}. - */ - // @ts-ignore - getHorseData(): org.spongepowered.api.data.manipulator.mutable.entity.HorseData; - /** - * Gets the style of the horse. - */ - // @ts-ignore - style(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the color of the horse. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Sheep.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Sheep.ts deleted file mode 100644 index ab35980a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Sheep.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Sheep extends org.spongepowered.api.entity.living.animal.Animal { - /** - * Gets a copy of the {@link DyeableData} representing the color of this - * {@link Sheep} entity. - */ - // @ts-ignore - getDyeData(): org.spongepowered.api.data.manipulator.mutable.DyeableData; - /** - * Gets the current {@link Value} of {@link DyeColor} for this - * {@link Sheep}. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.SkeletonHorse.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.SkeletonHorse.ts deleted file mode 100644 index 9f96764e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.SkeletonHorse.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface SkeletonHorse extends org.spongepowered.api.entity.living.animal.Horse { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Wolf.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Wolf.ts deleted file mode 100644 index b1f94b58..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.Wolf.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface Wolf extends org.spongepowered.api.entity.living.animal.Animal { - /** - * Gets a copy of the current {@link AggressiveData} for this - * {@link Wolf}. - */ - // @ts-ignore - getAggressiveData(): org.spongepowered.api.data.manipulator.mutable.entity.AggressiveData; - /** - * Gets if this {@link Wolf} is currently aggressive, as a {@link Value}. - */ - // @ts-ignore - aggressive(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets a copy of the current {@link DyeableData} for this - * {@link Wolf}'s collar. - */ - // @ts-ignore - getCollarColorData(): org.spongepowered.api.data.manipulator.mutable.DyeableData; - /** - * Gets the {@link Wolf}'s {@link DyeColor} of it's collar. - */ - // @ts-ignore - collarColor(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.ZombieHorse.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.ZombieHorse.ts deleted file mode 100644 index 750680db..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.animal.ZombieHorse.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace animal { - // @ts-ignore - interface ZombieHorse extends org.spongepowered.api.entity.living.animal.Horse { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.ComplexLiving.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.ComplexLiving.ts deleted file mode 100644 index 8af5657c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.ComplexLiving.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace complex { - // @ts-ignore - interface ComplexLiving extends org.spongepowered.api.entity.living.Living { - /** - * Gets the set of parts belonging to this complex entity. - */ - // @ts-ignore - getParts(): any[] /*java.util.Set*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.ComplexLivingPart.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.ComplexLivingPart.ts deleted file mode 100644 index f0186786..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.ComplexLivingPart.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace complex { - // @ts-ignore - interface ComplexLivingPart extends org.spongepowered.api.entity.Entity { - /** - * Gets the associated parent of this part. - */ - // @ts-ignore - getParent(): org.spongepowered.api.entity.living.complex.ComplexLiving; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.EnderDragon.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.EnderDragon.ts deleted file mode 100644 index 46826493..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.EnderDragon.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace complex { - // @ts-ignore - interface EnderDragon extends org.spongepowered.api.entity.living.complex.ComplexLiving, org.spongepowered.api.entity.living.monster.Boss, org.spongepowered.api.entity.living.Aerial, org.spongepowered.api.entity.projectile.ProjectileLauncher { - // @ts-ignore - getParts(): any[] /*java.util.Set*/; - /** - * Returns the current {@code EnderCrystal} that is healing this - * ender dragon. - */ - // @ts-ignore - getHealingCrystal(): any; - /** - * Gets the boss bar this dragon uses. - */ - // @ts-ignore - getBossBar(): org.spongepowered.api.boss.ServerBossBar; - /** - * Gets the phase manager. - *

The phase manager controls the active {@link EnderDragonPhase} of - * the dragon in The End.

- */ - // @ts-ignore - getPhaseManager(): org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseManager; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.EnderDragonPart.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.EnderDragonPart.ts deleted file mode 100644 index bfb60e25..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.EnderDragonPart.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace complex { - // @ts-ignore - interface EnderDragonPart extends org.spongepowered.api.entity.living.complex.ComplexLivingPart { - // @ts-ignore - getParent(): org.spongepowered.api.entity.living.complex.EnderDragon; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhase.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhase.ts deleted file mode 100644 index 4b141eaf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhase.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace complex { - namespace dragon { - namespace phase { - // @ts-ignore - interface EnderDragonPhase { - /** - * Gets the type of this phase. - */ - // @ts-ignore - getType(): org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType; - /** - * Gets the position the dragon is flying towards. - */ - // @ts-ignore - getTargetPosition(): any; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseManager.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseManager.ts deleted file mode 100644 index 7ae2a3a6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseManager.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace complex { - namespace dragon { - namespace phase { - // @ts-ignore - interface EnderDragonPhaseManager { - /** - * Gets the current dragon phase. - */ - // @ts-ignore - getPhase(): org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhase; - /** - * Sets the dragon phase. - */ - // @ts-ignore - setPhase(phase: org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType): org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhase; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType.ts deleted file mode 100644 index edad10ce..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace complex { - namespace dragon { - namespace phase { - // @ts-ignore - interface EnderDragonPhaseType extends org.spongepowered.api.CatalogType { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseTypes.ts deleted file mode 100644 index f4f37c14..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseTypes.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace complex { - namespace dragon { - namespace phase { - // @ts-ignore - class EnderDragonPhaseTypes { - // @ts-ignore - public static DYING: org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType; - // @ts-ignore - public static HOLDING_PATTERN: org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType; - // @ts-ignore - public static HOVER: org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType; - // @ts-ignore - public static CHARGING_PLAYER: org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType; - // @ts-ignore - public static LANDING: org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType; - // @ts-ignore - public static LANDING_APPROACH: org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType; - // @ts-ignore - public static SITTING_ATTACKING: org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType; - // @ts-ignore - public static SITTING_FLAMING: org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType; - // @ts-ignore - public static SITTING_SCANNING: org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType; - // @ts-ignore - public static STRAFE_PLAYER: org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType; - // @ts-ignore - public static TAKEOFF: org.spongepowered.api.entity.living.complex.dragon.phase.EnderDragonPhaseType; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.Golem.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.Golem.ts deleted file mode 100644 index 5e80b9c8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.Golem.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace golem { - // @ts-ignore - interface Golem extends org.spongepowered.api.entity.living.Creature { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.IronGolem.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.IronGolem.ts deleted file mode 100644 index 26413be6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.IronGolem.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace golem { - // @ts-ignore - interface IronGolem extends org.spongepowered.api.entity.living.golem.Golem { - /** - * Gets the {@link Value} for whether this {@link IronGolem} was created - * by a {@link Player}. - */ - // @ts-ignore - playerCreated(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.Shulker.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.Shulker.ts deleted file mode 100644 index d52203c9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.Shulker.ts +++ /dev/null @@ -1,43 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace golem { - // @ts-ignore - interface Shulker extends org.spongepowered.api.entity.living.golem.Golem, org.spongepowered.api.entity.projectile.source.ProjectileSource { - /** - * Gets a copy of the {@link DyeableData} representing the color of this - * {@link Shulker} entity. - */ - // @ts-ignore - getDyeData(): org.spongepowered.api.data.manipulator.mutable.DyeableData; - /** - * Gets the current {@link Value} of {@link DyeColor} for this - * {@link Shulker}. - */ - // @ts-ignore - color(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets a copy of the {@link DirectionalData} representing the direction this - * {@link Shulker} is oriented towards. - */ - // @ts-ignore - getDirectionalData(): org.spongepowered.api.data.manipulator.mutable.block.DirectionalData; - /** - * Gets the current {@link Value} of {@link Direction} for this {@link Shulker}. - */ - // @ts-ignore - direction(): org.spongepowered.api.data.value.mutable.Value; - /** - * Launches a new {@link EntityTargetingProjectile} from this {@link Shulker}. - */ - // @ts-ignore - launchWithTarget(projectileClass: any, target: org.spongepowered.api.entity.Entity): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.SnowGolem.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.SnowGolem.ts deleted file mode 100644 index 22ae7d6d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.golem.SnowGolem.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace golem { - // @ts-ignore - interface SnowGolem extends org.spongepowered.api.entity.living.golem.Golem, org.spongepowered.api.entity.living.Ranger { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Blaze.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Blaze.ts deleted file mode 100644 index 7625d221..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Blaze.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Blaze extends org.spongepowered.api.entity.living.monster.Monster, org.spongepowered.api.entity.living.Aerial, org.spongepowered.api.entity.projectile.ProjectileLauncher { - /** - * Gets the current {@link Value value} for whether this {@link Blaze} - * is considered "aflame". - */ - // @ts-ignore - aflame(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Boss.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Boss.ts deleted file mode 100644 index 39885a1a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Boss.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Boss extends org.spongepowered.api.entity.living.Hostile { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.CaveSpider.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.CaveSpider.ts deleted file mode 100644 index 6c41e09f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.CaveSpider.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface CaveSpider extends org.spongepowered.api.entity.living.monster.Spider { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Creeper.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Creeper.ts deleted file mode 100644 index 1529bd03..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Creeper.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Creeper extends org.spongepowered.api.entity.living.monster.Monster, org.spongepowered.api.entity.explosive.FusedExplosive { - /** - * Gets the current {@link Value value} of whether this {@link Creeper} - * is considered "charged". Note that "charged" creepers will likely - * cause larger than normal explosions. - */ - // @ts-ignore - charged(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Enderman.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Enderman.ts deleted file mode 100644 index 73071d41..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Enderman.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Enderman extends org.spongepowered.api.entity.living.monster.Monster, org.spongepowered.api.item.inventory.Carrier { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Endermite.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Endermite.ts deleted file mode 100644 index 89baeaca..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Endermite.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Endermite extends org.spongepowered.api.entity.living.monster.Monster { - /** - * Gets a copy of the {@link ExpirableData} for this endermite. - */ - // @ts-ignore - getExpirableData(): org.spongepowered.api.data.manipulator.mutable.entity.ExpirableData; - /** - * Gets the {@link MutableBoundedValue} for the amount of "ticks" - * remaining before the "expiration" occurs. - */ - // @ts-ignore - expireTicks(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Evoker.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Evoker.ts deleted file mode 100644 index 7f8e5895..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Evoker.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Evoker extends org.spongepowered.api.entity.living.monster.Monster { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Ghast.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Ghast.ts deleted file mode 100644 index 09246c39..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Ghast.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Ghast extends org.spongepowered.api.entity.living.Aerial, org.spongepowered.api.entity.living.Hostile, org.spongepowered.api.entity.projectile.ProjectileLauncher { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Giant.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Giant.ts deleted file mode 100644 index 74e7d2ed..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Giant.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Giant extends org.spongepowered.api.entity.living.monster.Monster, org.spongepowered.api.entity.ArmorEquipable { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Guardian.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Guardian.ts deleted file mode 100644 index 68101ae0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Guardian.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Guardian extends org.spongepowered.api.entity.living.Aquatic, org.spongepowered.api.entity.living.monster.Monster { - /** - * Gets the target of the guardian's beam or {@link Optional#empty()} otherwise. - */ - // @ts-ignore - getBeamTarget(): any; - /** - * Sets the target of the guardian's beam. Setting a null value removes the - * target. - */ - // @ts-ignore - setBeamTarget(entity: org.spongepowered.api.entity.living.Living): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Husk.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Husk.ts deleted file mode 100644 index 7cf176fb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Husk.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Husk extends org.spongepowered.api.entity.living.monster.Zombie { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Illusioner.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Illusioner.ts deleted file mode 100644 index 7299a596..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Illusioner.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Illusioner extends org.spongepowered.api.entity.living.monster.Monster { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.MagmaCube.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.MagmaCube.ts deleted file mode 100644 index b03728e3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.MagmaCube.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface MagmaCube extends org.spongepowered.api.entity.living.monster.Slime { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Monster.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Monster.ts deleted file mode 100644 index 0a033b7a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Monster.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Monster extends org.spongepowered.api.entity.living.Hostile, org.spongepowered.api.entity.living.Creature { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Silverfish.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Silverfish.ts deleted file mode 100644 index 4eb02f4b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Silverfish.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Silverfish extends org.spongepowered.api.entity.living.monster.Monster { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Skeleton.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Skeleton.ts deleted file mode 100644 index ce9611f8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Skeleton.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Skeleton extends org.spongepowered.api.entity.living.monster.Monster, org.spongepowered.api.entity.ArmorEquipable, org.spongepowered.api.entity.living.Ranger { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Slime.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Slime.ts deleted file mode 100644 index 46dd8ab6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Slime.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Slime extends org.spongepowered.api.entity.living.monster.Monster { - /** - * Gets a copy of the current {@link SlimeData} for this {@link Slime}. - */ - // @ts-ignore - getSlimeData(): org.spongepowered.api.data.manipulator.mutable.entity.SlimeData; - /** - * Gets the {@link MutableBoundedValue value} of this - * {@link Slime slime's} current size. - */ - // @ts-ignore - slimeSize(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Spider.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Spider.ts deleted file mode 100644 index 624f0738..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Spider.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Spider extends org.spongepowered.api.entity.living.monster.Monster { - /** - * Gets whether or not the spider is currently climbing a wall. - */ - // @ts-ignore - isClimbing(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Stray.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Stray.ts deleted file mode 100644 index 5d7c9cef..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Stray.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Stray extends org.spongepowered.api.entity.living.monster.Skeleton { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Vex.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Vex.ts deleted file mode 100644 index dc88e0cf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Vex.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Vex extends org.spongepowered.api.entity.living.monster.Monster { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Vindicator.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Vindicator.ts deleted file mode 100644 index 10033b9b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Vindicator.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Vindicator extends org.spongepowered.api.entity.living.monster.Monster { - /** - * Gets the {@link Value} for whether this vindicator is considered a - * "johnny" vindicator. "Johnny" vindicators will deal more damage and - * often times carry an {@link ItemTypes#IRON_AXE} of sorts. - */ - // @ts-ignore - johnny(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.WhiteSkeleton.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.WhiteSkeleton.ts deleted file mode 100644 index e546fbb9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.WhiteSkeleton.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface WhiteSkeleton extends org.spongepowered.api.entity.living.monster.Skeleton { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Witch.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Witch.ts deleted file mode 100644 index ea41a9ec..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Witch.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Witch extends org.spongepowered.api.entity.living.monster.Monster, org.spongepowered.api.entity.living.Ranger { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Wither.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Wither.ts deleted file mode 100644 index e71bcfa7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Wither.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Wither extends org.spongepowered.api.entity.living.monster.Monster, org.spongepowered.api.entity.living.Ranger, org.spongepowered.api.entity.living.monster.Boss, org.spongepowered.api.entity.living.Aerial, org.spongepowered.api.entity.explosive.FusedExplosive { - /** - * Gets the list of {@link Living} targets that this wither is targeting. - * Usually, as an {@link Agent}, {@link #getTarget()} would be sufficient, - * however, due to a Wither having the possibility of 3 targets, this - * is preferred use. - */ - // @ts-ignore - getTargets(): any[] /*java.util.List*/; - /** - * Sets the list of living targets. - */ - // @ts-ignore - setTargets(targets: any[] /*java.util.List*/): void; - /** - * Gets the boss bar this wither uses. - */ - // @ts-ignore - getBossBar(): org.spongepowered.api.boss.ServerBossBar; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.WitherSkeleton.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.WitherSkeleton.ts deleted file mode 100644 index ae6a489c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.WitherSkeleton.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface WitherSkeleton extends org.spongepowered.api.entity.living.monster.Skeleton { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Zombie.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Zombie.ts deleted file mode 100644 index 4d835afd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.Zombie.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface Zombie extends org.spongepowered.api.entity.living.monster.Monster, org.spongepowered.api.entity.ArmorEquipable, org.spongepowered.api.entity.living.Ageable { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.ZombiePigman.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.ZombiePigman.ts deleted file mode 100644 index 7636a802..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.ZombiePigman.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface ZombiePigman extends org.spongepowered.api.entity.living.monster.Zombie { - /** - * Gets a copy of the {@link AngerableData} for this {@link ZombiePigman}. - */ - // @ts-ignore - getAngerData(): org.spongepowered.api.data.manipulator.mutable.entity.AngerableData; - /** - * Gets the {@link MutableBoundedValue value} of the current "anger" level - * of this {@link ZombiePigman pigzombie}. - */ - // @ts-ignore - angerLevel(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.ZombieVillager.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.ZombieVillager.ts deleted file mode 100644 index d57a3aa4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.monster.ZombieVillager.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace monster { - // @ts-ignore - interface ZombieVillager extends org.spongepowered.api.entity.living.monster.Zombie { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.CooldownTracker.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.CooldownTracker.ts deleted file mode 100644 index 530624b2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.CooldownTracker.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace player { - // @ts-ignore - interface CooldownTracker { - /** - * Checks if the specified {@link ItemType} is currently on cooldown - * for the player. - */ - // @ts-ignore - hasCooldown(type: org.spongepowered.api.item.ItemType): boolean; - /** - * Gets the cooldown of the specified {@link ItemType} in ticks for the - * player, or empty if the the item type is currently not on cooldown. - */ - // @ts-ignore - getCooldown(type: org.spongepowered.api.item.ItemType): any; - /** - * Sets the cooldown for the specified {@link ItemType} for the - * specified amount of ticks. - */ - // @ts-ignore - setCooldown(type: org.spongepowered.api.item.ItemType, ticks: number): boolean; - /** - * Resets the cooldown of the specified {@link ItemType} for the - * player. - */ - // @ts-ignore - resetCooldown(type: org.spongepowered.api.item.ItemType): boolean; - /** - * Gets the fraction of the specified {@link ItemType}'s cooldown that - * is remaining for the player, or empty if the the item type - * is currently not on cooldown. - *

If present, this value will be between 0.0 and 1.0.

- */ - // @ts-ignore - getFractionRemaining(type: org.spongepowered.api.item.ItemType): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.Player.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.Player.ts deleted file mode 100644 index 87efee5a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.Player.ts +++ /dev/null @@ -1,228 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace player { - // @ts-ignore - interface Player extends org.spongepowered.api.entity.living.Humanoid, org.spongepowered.api.entity.living.player.User, org.spongepowered.api.command.source.RemoteSource, org.spongepowered.api.effect.Viewer, org.spongepowered.api.text.channel.ChatTypeMessageReceiver { - /** - * Returns whether this player has an open inventory at the moment - * or not. - */ - // @ts-ignore - isViewingInventory(): boolean; - /** - * Gets the currently viewed inventory of this player, if it is - * currently viewing one. - */ - // @ts-ignore - getOpenInventory(): any; - /** - * Opens the given Inventory for the player to view. - */ - // @ts-ignore - openInventory(inventory: org.spongepowered.api.item.inventory.Inventory): any; - /** - * Opens a given Inventory for the player to view with a custom displayName. - *

Note that not all inventories support a custom display name.

- */ - // @ts-ignore - openInventory(inventory: org.spongepowered.api.item.inventory.Inventory, displayName: org.spongepowered.api.text.Text): any; - /** - * Closes the currently viewed entity of this player, if it is currently - * viewing one. - */ - // @ts-ignore - closeInventory(): boolean; - /** - * Gets the view distance setting of the player. This value represents the - * radius (around the player) in unit chunks. - */ - // @ts-ignore - getViewDistance(): number; - /** - * Gets the current player chat visibility setting. - */ - // @ts-ignore - getChatVisibility(): org.spongepowered.api.text.chat.ChatVisibility; - /** - * Gets whether the player has colors enabled in chat. - */ - // @ts-ignore - isChatColorsEnabled(): boolean; - /** - * Simulates a chat message from a player. - *

This method sends a message as if it came from this player. - * To send a message to this player instead, see - * {@link MessageReceiver#sendMessage(Text)} or - * {@link ChatTypeMessageReceiver#sendMessage(ChatType, Text)}.

- *

Commands cannot be sent using this method. To send commands, use - * {@link CommandManager#process(CommandSource, String)}.

- *

If text formatting is not supported in the implementation - * it will be displayed as plain text.

- */ - // @ts-ignore - simulateChat(message: org.spongepowered.api.text.Text, cause: org.spongepowered.api.event.cause.Cause): org.spongepowered.api.event.message.MessageChannelEvent.Chat; - /** - * Gets the skin parts that this player has allowed to render. - */ - // @ts-ignore - getDisplayedSkinParts(): any[] /*java.util.Set*/; - /** - * Gets the appropriate {@link PlayerConnection} linking this Player - * to a client. - */ - // @ts-ignore - getConnection(): org.spongepowered.api.network.PlayerConnection; - /** - * Sends a given {@link ResourcePack} to this player. - */ - // @ts-ignore - sendResourcePack(pack: org.spongepowered.api.resourcepack.ResourcePack): void; - /** - * Gets this player's {@link TabList}. - */ - // @ts-ignore - getTabList(): org.spongepowered.api.entity.living.player.tab.TabList; - /** - * Kicks the player, showing the default kick reason (the translation key - * {@code disconnect.disconnected}). - */ - // @ts-ignore - kick(): void; - /** - * Kicks the player given a reason. - */ - // @ts-ignore - kick(reason: org.spongepowered.api.text.Text): void; - /** - * Gets the {@link Scoreboard} displayed to the player. - */ - // @ts-ignore - getScoreboard(): org.spongepowered.api.scoreboard.Scoreboard; - /** - * Sets the {@link Scoreboard} displayed to the player. - */ - // @ts-ignore - setScoreboard(scoreboard: org.spongepowered.api.scoreboard.Scoreboard): void; - /** - * Gets a copy of the current {@link JoinData}. - *

Since a {@link Player} is already online, it means that the player - * has joined the server at least once, meaning there is a guaranteed - * initial join {@link Instant}. Users may not have ever joined a server - * before.

- */ - // @ts-ignore - getJoinData(): org.spongepowered.api.data.manipulator.mutable.entity.JoinData; - /** - * Gets the {@link Value} of the {@link Instant} that a {@link Player} - * joined the {@link Server} the first time. - */ - // @ts-ignore - firstPlayed(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets the {@link Value} of the {@link Instant} that a {@link Player} - * joined the {@link Server} the last time. - */ - // @ts-ignore - lastPlayed(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets if the {@link Player} has played on the {@link Server} before. Added - * as a utility. - */ - // @ts-ignore - hasPlayedBefore(): boolean; - /** - * Gets a copy of the current {@link DisplayNameData} for this - * {@link Player}. - */ - // @ts-ignore - getDisplayNameData(): org.spongepowered.api.data.manipulator.mutable.DisplayNameData; - /** - * Gets a copy of the current {@link GameModeData} for this {@link Player}. - */ - // @ts-ignore - getGameModeData(): org.spongepowered.api.data.manipulator.mutable.entity.GameModeData; - /** - * Gets the current {@link GameMode} for this {@link Player}. - */ - // @ts-ignore - gameMode(): org.spongepowered.api.data.value.mutable.Value; - /** - * Gets whether this {@link Player} will be ignored when checking whether to - * skip the night due to players sleeping. The time in a world will be - * advanced to day if all players in it either are sleeping or have this - * tag. - */ - // @ts-ignore - isSleepingIgnored(): boolean; - /** - * Sets whether this {@link Player} will be ignored when checking whether - * to skip the night due to players sleeping. The time in a world will be - * advanced to day if all players in it either are sleeping or have this - * tag. - */ - // @ts-ignore - setSleepingIgnored(sleepingIgnored: boolean): void; - /** - * Gets the {@link Inventory} available for this Player's shared {@link EnderChest} - * contents. - */ - // @ts-ignore - getEnderChestInventory(): org.spongepowered.api.item.inventory.Inventory; - /** - * Manually respawns the player. - *

If the player is not dead, this method will return false

- */ - // @ts-ignore - respawnPlayer(): boolean; - /** - * Gets the {@link Entity} followed by the camera when in the - * {@link GameModes#SPECTATOR spectator gamemode}. - */ - // @ts-ignore - getSpectatorTarget(): any; - /** - * Sets the {@link Entity} followed by the camera when in the - * {@link GameModes#SPECTATOR spectator gamemode}. - */ - // @ts-ignore - setSpectatorTarget(entity: org.spongepowered.api.entity.Entity): void; - /** - * Gets the {@link WorldBorder} for this player, if present. If no border is - * set, an empty {@code Optional} is returned. - */ - // @ts-ignore - getWorldBorder(): any; - /** - * Sets the {@link WorldBorder} instance for this player to the given world - * border. If {@code null} is passed, the world border is unset. - */ - // @ts-ignore - setWorldBorder(border: org.spongepowered.api.world.WorldBorder, cause: org.spongepowered.api.event.cause.Cause): void; - /** - * Gets the {@link CooldownTracker} for this player, allowing control - * over the player's item cooldowns. - */ - // @ts-ignore - getCooldownTracker(): org.spongepowered.api.entity.living.player.CooldownTracker; - /** - * Gets the {@link AdvancementProgress} for the - * specified {@link Advancement}. - */ - // @ts-ignore - getProgress(advancement: org.spongepowered.api.advancement.Advancement): org.spongepowered.api.advancement.AdvancementProgress; - /** - * Gets all the {@link AdvancementTree}s that this - * {@link Player} already unlocked. - */ - // @ts-ignore - getUnlockedAdvancementTrees(): any[] /*java.util.Collection*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.User.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.User.ts deleted file mode 100644 index 34e298b4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.User.ts +++ /dev/null @@ -1,79 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace player { - // @ts-ignore - interface User extends org.spongepowered.api.data.DataHolder, org.spongepowered.api.entity.ArmorEquipable, org.spongepowered.api.entity.Tamer, org.spongepowered.api.service.permission.Subject { - /** - * Gets the associated {@link GameProfile} of this player. - */ - // @ts-ignore - getProfile(): org.spongepowered.api.profile.GameProfile; - /** - * Gets the player's last known username. - */ - // @ts-ignore - getName(): string; - /** - * Checks if this user is online or not. - */ - // @ts-ignore - isOnline(): boolean; - /** - * Gets the related online {@link Player} if the player is - * in fact online. - */ - // @ts-ignore - getPlayer(): any; - /** - * Gets the position of this User - */ - // @ts-ignore - getPosition(): any /*Vector3d*/; - /** - * Gets the World UUID of this User. - *

May return empty when the world the player is in does not exist anymore

- */ - // @ts-ignore - getWorldUniqueId(): any; - /** - * Sets the position and world of this User. - *

The UUID must belong to an existing world.

- *

When the User {@link #isOnline()} this redirects to {@link Entity#setLocation(Location)}

- */ - // @ts-ignore - setLocation(position: any /*Vector3d*/, world: any): boolean; - /** - * Sets the rotation of this entity. - *

The format of the rotation is represented by:

- *

{@code x -> pitch}, {@code y -> yaw}, {@code z -> roll}

- */ - // @ts-ignore - setRotation(rotation: any /*Vector3d*/): void; - /** - * Gets the rotation. - *

The format of the rotation is represented by:

- *

{@code x -> pitch}, {@code y -> yaw}, {@code z -> roll}

- */ - // @ts-ignore - getRotation(): any /*Vector3d*/; - /** - * Gets a copy of the {@link StatisticData} for this user. - */ - // @ts-ignore - getStatisticData(): org.spongepowered.api.data.manipulator.mutable.entity.StatisticData; - /** - * Gets the {@link Inventory} available for this Player's shared {@link EnderChest} - * contents. - */ - // @ts-ignore - getEnderChestInventory(): org.spongepowered.api.item.inventory.Inventory; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.gamemode.GameMode.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.gamemode.GameMode.ts deleted file mode 100644 index 1c1b57db..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.gamemode.GameMode.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace player { - namespace gamemode { - // @ts-ignore - interface GameMode extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.gamemode.GameModes.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.gamemode.GameModes.ts deleted file mode 100644 index 4f7f9613..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.gamemode.GameModes.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace player { - namespace gamemode { - // @ts-ignore - class GameModes { - // @ts-ignore - public static ADVENTURE: org.spongepowered.api.entity.living.player.gamemode.GameMode; - // @ts-ignore - public static CREATIVE: org.spongepowered.api.entity.living.player.gamemode.GameMode; - // @ts-ignore - public static NOT_SET: org.spongepowered.api.entity.living.player.gamemode.GameMode; - // @ts-ignore - public static SPECTATOR: org.spongepowered.api.entity.living.player.gamemode.GameMode; - // @ts-ignore - public static SURVIVAL: org.spongepowered.api.entity.living.player.gamemode.GameMode; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.tab.TabList.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.tab.TabList.ts deleted file mode 100644 index e473c3f2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.tab.TabList.ts +++ /dev/null @@ -1,76 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace player { - namespace tab { - // @ts-ignore - interface TabList { - /** - * Gets the associated {@link Player} with this {@link TabList}. - */ - // @ts-ignore - getPlayer(): org.spongepowered.api.entity.living.player.Player; - /** - * Gets this list's header. - */ - // @ts-ignore - getHeader(): any; - /** - * Sets this list's header. - *

When {@code null} is passed, an empty {@link Text} will - * be sent.

- */ - // @ts-ignore - setHeader(header: org.spongepowered.api.text.Text): org.spongepowered.api.entity.living.player.tab.TabList; - /** - * Gets this list's footer. - */ - // @ts-ignore - getFooter(): any; - /** - * Sets this list's footer. - *

When {@code null} is passed, an empty {@link Text} will - * be sent.

- */ - // @ts-ignore - setFooter(footer: org.spongepowered.api.text.Text): org.spongepowered.api.entity.living.player.tab.TabList; - /** - * Sets this list's header and footer. - *

When {@code null} is passed, an empty {@link Text} will - * be sent.

- */ - // @ts-ignore - setHeaderAndFooter(header: org.spongepowered.api.text.Text, footer: org.spongepowered.api.text.Text): org.spongepowered.api.entity.living.player.tab.TabList; - /** - * Gets the entries on the list. - *

The returned collection should be immutable.

- */ - // @ts-ignore - getEntries(): any[] /*java.util.Collection*/; - /** - * Gets a {@link TabListEntry} matching the specified unique id. - */ - // @ts-ignore - getEntry(uniqueId: any): any; - /** - * Adds an entry to the list. - */ - // @ts-ignore - addEntry(entry: org.spongepowered.api.entity.living.player.tab.TabListEntry): org.spongepowered.api.entity.living.player.tab.TabList; - /** - * Removes an entry from the list. - *

Note that if this is used on a player, but they remain visible - * in-game, their skin will not work.

- */ - // @ts-ignore - removeEntry(uniqueId: any): any; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.tab.TabListEntry.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.tab.TabListEntry.Builder.ts deleted file mode 100644 index 79ad0f81..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.tab.TabListEntry.Builder.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace player { - namespace tab { - namespace TabListEntry { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the {@link TabList} this entry is owned by. - */ - // @ts-ignore - list(list: org.spongepowered.api.entity.living.player.tab.TabList): org.spongepowered.api.entity.living.player.tab.TabListEntry.Builder; - /** - * Sets the profile for entries created by this builder. - */ - // @ts-ignore - profile(profile: org.spongepowered.api.profile.GameProfile): org.spongepowered.api.entity.living.player.tab.TabListEntry.Builder; - /** - * Sets the display name for entries created by this builder. - */ - // @ts-ignore - displayName(displayName: org.spongepowered.api.text.Text): org.spongepowered.api.entity.living.player.tab.TabListEntry.Builder; - /** - * Sets the latency for entries created by this builder. - */ - // @ts-ignore - latency(latency: number): org.spongepowered.api.entity.living.player.tab.TabListEntry.Builder; - /** - * Sets the gamemode for entries created by this builder. - */ - // @ts-ignore - gameMode(gameMode: org.spongepowered.api.entity.living.player.gamemode.GameMode): org.spongepowered.api.entity.living.player.tab.TabListEntry.Builder; - /** - * Builds an entry based off the values of this builder. - */ - // @ts-ignore - build(): org.spongepowered.api.entity.living.player.tab.TabListEntry; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.tab.TabListEntry.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.tab.TabListEntry.ts deleted file mode 100644 index 588d8720..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.living.player.tab.TabListEntry.ts +++ /dev/null @@ -1,100 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace living { - namespace player { - namespace tab { - // @ts-ignore - interface TabListEntry { - /** - * Creates a new {@link Builder} to create {@link TabListEntry}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.entity.living.player.tab.TabListEntry.Builder; - /** - * Gets the {@link TabList} that owns this entry. - */ - // @ts-ignore - getList(): org.spongepowered.api.entity.living.player.tab.TabList; - /** - * Gets the {@link GameProfile} associated with this entry. - */ - // @ts-ignore - getProfile(): org.spongepowered.api.profile.GameProfile; - /** - * Gets this entry's display name. - */ - // @ts-ignore - getDisplayName(): any; - /** - * Sets this entry's display name. - */ - // @ts-ignore - setDisplayName(displayName: org.spongepowered.api.text.Text): org.spongepowered.api.entity.living.player.tab.TabListEntry; - /** - * Gets the latency for this entry. - */ - // @ts-ignore - getLatency(): number; - /** - * Sets the latency for this entry. - *

The client displays connection bars based on this number.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
BarsTime
0Less than 0
11000+
2600 - 999
3300 - 599
4150 - 299
50 - 149
- */ - // @ts-ignore - setLatency(latency: number): org.spongepowered.api.entity.living.player.tab.TabListEntry; - /** - * Gets the {@link GameMode} this entry is in. - */ - // @ts-ignore - getGameMode(): org.spongepowered.api.entity.living.player.gamemode.GameMode; - /** - * Sets this entry's gamemode. - *

When using {@link GameModes#SPECTATOR} and this entry is of an - * online {@link Player}, the player will have "spectator effects". Such - * effects can include invisibility and noclip.

- */ - // @ts-ignore - setGameMode(gameMode: org.spongepowered.api.entity.living.player.gamemode.GameMode): org.spongepowered.api.entity.living.player.tab.TabListEntry; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.DamagingProjectile.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.DamagingProjectile.ts deleted file mode 100644 index 1b0e432a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.DamagingProjectile.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - // @ts-ignore - interface DamagingProjectile extends org.spongepowered.api.entity.projectile.Projectile { - /** - * Gets the damaging data for this {@link DamagingProjectile}. - *

The damaging data defines how much damage the projectile will deal - * upon hitting an {@link Entity}, before the explosion.

- */ - // @ts-ignore - getDamagingData(): org.spongepowered.api.data.manipulator.mutable.entity.DamagingData; - /** - * Gets the damage this projectile will deal to a {@link Living} - * if hit. - */ - // @ts-ignore - damage(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - /** - * Gets the {@link MapValue} for representing the custom damage values to - * use if the owner strikes an entity of that type. - *

Note that in events, the damage defined for the provided - * {@link EntityType} will take priority over the "default" damage as - * defined from {@link #damage()}.

- */ - // @ts-ignore - damageForEntity(): org.spongepowered.api.data.value.mutable.MapValue; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Egg.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Egg.ts deleted file mode 100644 index d484d657..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Egg.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - // @ts-ignore - interface Egg extends org.spongepowered.api.entity.projectile.DamagingProjectile { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.EnderPearl.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.EnderPearl.ts deleted file mode 100644 index 4a1c13bb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.EnderPearl.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - // @ts-ignore - interface EnderPearl extends org.spongepowered.api.entity.projectile.DamagingProjectile { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.EntityTargetingProjectile.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.EntityTargetingProjectile.ts deleted file mode 100644 index ee394854..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.EntityTargetingProjectile.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - // @ts-ignore - interface EntityTargetingProjectile extends org.spongepowered.api.entity.projectile.Projectile { - /** - * Gets the targeted entity data for this {@link EntityTargetingProjectile}. - *

The targeted entity data defines which entity this projectile will target.

- */ - // @ts-ignore - getTargetData(): org.spongepowered.api.data.manipulator.mutable.entity.TargetedEntityData; - /** - * Gets the entity this projectile will target. - */ - // @ts-ignore - target(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.EyeOfEnder.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.EyeOfEnder.ts deleted file mode 100644 index 763e460e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.EyeOfEnder.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - // @ts-ignore - interface EyeOfEnder extends org.spongepowered.api.entity.projectile.Projectile { - /** - * Gets a copy of the {@link TargetedLocationData} this {@link EyeOfEnder} - * is "flying" towards. - */ - // @ts-ignore - getTargetLocationData(): org.spongepowered.api.data.manipulator.mutable.TargetedLocationData; - /** - * Gets the {@link Value} for the targeted {@link Location}. - */ - // @ts-ignore - target(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Firework.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Firework.ts deleted file mode 100644 index b5e97c58..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Firework.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - // @ts-ignore - interface Firework extends org.spongepowered.api.entity.projectile.Projectile, org.spongepowered.api.entity.explosive.FusedExplosive { - /** - * Gets a copy of the {@link FireworkEffectData} for this firework. - */ - // @ts-ignore - getFireworkData(): org.spongepowered.api.data.manipulator.mutable.FireworkEffectData; - /** - * Gets the {@link ListValue} of {@link FireworkEffect}s. - *

Note that for {@link ItemTypes#FIREWORK_CHARGE} only the first effect - * will apply to the charge.

- */ - // @ts-ignore - effects(): org.spongepowered.api.data.value.mutable.ListValue; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.FishHook.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.FishHook.ts deleted file mode 100644 index f8617f78..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.FishHook.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - // @ts-ignore - interface FishHook extends org.spongepowered.api.entity.projectile.Projectile { - /** - * Gets the hooked entity for this fish hook. - *

Fishooks can attach to {@link Entity} objects in the world, as though - * they are temporarily leashed. The hooked entity may also be null.

- */ - // @ts-ignore - getHookedEntity(): any; - /** - * Sets the hooked entity for this fish hook. - *

Fishhooks can attach to {@link Entity} objects in the world, as though - * they are temporarily leashed. The hooked entity may also be null.

- */ - // @ts-ignore - setHookedEntity(entity: org.spongepowered.api.entity.Entity): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.LlamaSpit.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.LlamaSpit.ts deleted file mode 100644 index 4a20324e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.LlamaSpit.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - // @ts-ignore - interface LlamaSpit extends org.spongepowered.api.entity.projectile.Projectile { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Projectile.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Projectile.ts deleted file mode 100644 index de29b4df..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Projectile.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - // @ts-ignore - interface Projectile extends org.spongepowered.api.entity.Entity { - /** - * Gets the shooter of this projectile. - *

All projectiles have a {@link ProjectileSource} regardless of whether - * the projectile was launched via plugin or mod.

- */ - // @ts-ignore - getShooter(): org.spongepowered.api.entity.projectile.source.ProjectileSource; - /** - * Sets the shooter of this projectile. - *

All projectiles have a {@link ProjectileSource} regardless of whether - * the projectile was launched via plugin or mod.

- */ - // @ts-ignore - setShooter(shooter: org.spongepowered.api.entity.projectile.source.ProjectileSource): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.ProjectileLauncher.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.ProjectileLauncher.ts deleted file mode 100644 index 5ad64fa7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.ProjectileLauncher.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - // @ts-ignore - interface ProjectileLauncher { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Snowball.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Snowball.ts deleted file mode 100644 index 337effa8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.Snowball.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - // @ts-ignore - interface Snowball extends org.spongepowered.api.entity.projectile.DamagingProjectile { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.ThrownExpBottle.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.ThrownExpBottle.ts deleted file mode 100644 index 010c4c24..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.ThrownExpBottle.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - // @ts-ignore - interface ThrownExpBottle extends org.spongepowered.api.entity.projectile.Projectile { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.ThrownPotion.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.ThrownPotion.ts deleted file mode 100644 index 8f6dd335..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.ThrownPotion.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - // @ts-ignore - interface ThrownPotion extends org.spongepowered.api.entity.projectile.Projectile { - /** - * Gets a copy of the {@link RepresentedItemData} used by this potion. - */ - // @ts-ignore - getPotionItemData(): org.spongepowered.api.data.manipulator.mutable.RepresentedItemData; - /** - * Gets the {@link Value} for the represented {@link ItemStack} as an - * {@link ItemStackSnapshot}. - */ - // @ts-ignore - item(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.arrow.Arrow.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.arrow.Arrow.ts deleted file mode 100644 index ee1b1c3f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.arrow.Arrow.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - namespace arrow { - // @ts-ignore - interface Arrow extends org.spongepowered.api.entity.projectile.DamagingProjectile { - /** - * Gets a copy of the current {@link KnockbackData} that this arrow - * has. - */ - // @ts-ignore - getKnockbackData(): org.spongepowered.api.data.manipulator.mutable.entity.KnockbackData; - /** - * Gets the {@link MutableBoundedValue} for the "knockback strength" - * that this arrow has. - */ - // @ts-ignore - knockbackStrength(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.arrow.SpectralArrow.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.arrow.SpectralArrow.ts deleted file mode 100644 index 4708fbb6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.arrow.SpectralArrow.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - namespace arrow { - // @ts-ignore - interface SpectralArrow extends org.spongepowered.api.entity.projectile.arrow.Arrow { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.arrow.TippedArrow.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.arrow.TippedArrow.ts deleted file mode 100644 index 6b44ce23..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.arrow.TippedArrow.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - namespace arrow { - // @ts-ignore - interface TippedArrow extends org.spongepowered.api.entity.projectile.arrow.Arrow { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.DragonFireball.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.DragonFireball.ts deleted file mode 100644 index dc586b96..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.DragonFireball.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - namespace explosive { - // @ts-ignore - interface DragonFireball extends org.spongepowered.api.entity.projectile.explosive.fireball.Fireball { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.WitherSkull.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.WitherSkull.ts deleted file mode 100644 index d0bd8944..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.WitherSkull.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - namespace explosive { - // @ts-ignore - interface WitherSkull extends org.spongepowered.api.entity.projectile.explosive.fireball.Fireball, org.spongepowered.api.entity.explosive.Explosive { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.fireball.Fireball.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.fireball.Fireball.ts deleted file mode 100644 index 92c6fabc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.fireball.Fireball.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - namespace explosive { - namespace fireball { - // @ts-ignore - interface Fireball extends org.spongepowered.api.entity.projectile.DamagingProjectile { - // @ts-ignore - acceleration(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.fireball.LargeFireball.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.fireball.LargeFireball.ts deleted file mode 100644 index e89b3181..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.fireball.LargeFireball.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - namespace explosive { - namespace fireball { - // @ts-ignore - interface LargeFireball extends org.spongepowered.api.entity.projectile.explosive.fireball.Fireball, org.spongepowered.api.entity.explosive.Explosive { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.fireball.SmallFireball.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.fireball.SmallFireball.ts deleted file mode 100644 index 03c5a52a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.explosive.fireball.SmallFireball.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - namespace explosive { - namespace fireball { - // @ts-ignore - interface SmallFireball extends org.spongepowered.api.entity.projectile.explosive.fireball.Fireball { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.source.BlockProjectileSource.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.source.BlockProjectileSource.ts deleted file mode 100644 index d99d2963..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.source.BlockProjectileSource.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - namespace source { - // @ts-ignore - interface BlockProjectileSource extends org.spongepowered.api.entity.projectile.source.ProjectileSource { - /** - * Gets the {@link Location} where the projectile source is at. - */ - // @ts-ignore - getLocation(): org.spongepowered.api.world.Location; - /** - * Gets the {@link BlockState} of the projectile source. - */ - // @ts-ignore - getBlock(): org.spongepowered.api.block.BlockState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.source.ProjectileSource.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.source.ProjectileSource.ts deleted file mode 100644 index edb1f7ec..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.source.ProjectileSource.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - namespace source { - // @ts-ignore - interface ProjectileSource { - // @ts-ignore - UNKNOWN: org.spongepowered.api.entity.projectile.source.UnknownProjectileSource; - /** - * Launches a {@link Projectile} from this projectile source. - */ - // @ts-ignore - launchProjectile(projectileClass: any): any; - /** - * Launches a {@link Projectile} from this projectile source. - */ - // @ts-ignore - launchProjectile(projectileClass: any, velocity: any /*Vector3d*/): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.source.UnknownProjectileSource.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.source.UnknownProjectileSource.ts deleted file mode 100644 index dec36dce..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.projectile.source.UnknownProjectileSource.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace projectile { - namespace source { - // @ts-ignore - class UnknownProjectileSource implements org.spongepowered.api.entity.projectile.source.ProjectileSource { - // @ts-ignore - public launchProjectile(projectileClass: any): any; - // @ts-ignore - public launchProjectile(projectileClass: any, velocity: any /*Vector3d*/): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.Boat.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.Boat.ts deleted file mode 100644 index cb3fa567..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.Boat.ts +++ /dev/null @@ -1,60 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace vehicle { - // @ts-ignore - interface Boat extends org.spongepowered.api.entity.Entity { - /** - * Gets whether this boat is currently in water. - */ - // @ts-ignore - isInWater(): boolean; - /** - * Gets the maximum speed that this boat is allowed to travel at. - *

The Default value is 0.4.

- */ - // @ts-ignore - getMaxSpeed(): number; - /** - * Sets the maximum speed that this boat is allowed to travel at. - *

The Default value is 0.4.

- */ - // @ts-ignore - setMaxSpeed(maxSpeed: number): void; - /** - * Gets whether or not the boat is able to move freely on land. - */ - // @ts-ignore - canMoveOnLand(): boolean; - /** - * Gets whether or not the boat is able to move freely on land. - */ - // @ts-ignore - setMoveOnLand(moveOnLand: boolean): void; - /** - * Gets the rate at which occupied boats decelerate. - */ - // @ts-ignore - getOccupiedDeceleration(): number; - /** - * Sets the rate at which occupied boats decelerate. - */ - // @ts-ignore - setOccupiedDeceleration(occupiedDeceleration: number): void; - /** - * Gets the rate at which unoccupied boats decelerate. - */ - // @ts-ignore - getUnoccupiedDeceleration(): number; - /** - * Sets the rate at which unoccupied boats decelerate. - */ - // @ts-ignore - setUnoccupiedDeceleration(unoccupiedDeceleration: number): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.ChestMinecart.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.ChestMinecart.ts deleted file mode 100644 index 4cde41d6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.ChestMinecart.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace vehicle { - namespace minecart { - // @ts-ignore - interface ChestMinecart extends org.spongepowered.api.entity.vehicle.minecart.ContainerMinecart { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.CommandBlockMinecart.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.CommandBlockMinecart.ts deleted file mode 100644 index b92cbb8d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.CommandBlockMinecart.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace vehicle { - namespace minecart { - // @ts-ignore - interface CommandBlockMinecart extends org.spongepowered.api.entity.vehicle.minecart.Minecart, org.spongepowered.api.command.source.CommandBlockSource { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.ContainerMinecart.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.ContainerMinecart.ts deleted file mode 100644 index 0d28ddeb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.ContainerMinecart.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace vehicle { - namespace minecart { - // @ts-ignore - interface ContainerMinecart extends org.spongepowered.api.entity.vehicle.minecart.Minecart, org.spongepowered.api.item.inventory.Carrier, org.spongepowered.api.item.inventory.type.CarriedInventory { - // @ts-ignore - getInventory(): org.spongepowered.api.item.inventory.type.CarriedInventory; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.FurnaceMinecart.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.FurnaceMinecart.ts deleted file mode 100644 index 011c0110..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.FurnaceMinecart.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace vehicle { - namespace minecart { - // @ts-ignore - interface FurnaceMinecart extends org.spongepowered.api.entity.vehicle.minecart.Minecart { - /** - * Gets the current fuel time in ticks. - *

Usually, the fuel time will decay until reaching 0. At zero, the fuel - * minecart will decelerate to a stop.

- */ - // @ts-ignore - getFuel(): number; - /** - * Sets the fuel time in ticks. - *

Usually, the fuel time will decay until reaching 0. At zero, the fuel - * minecart will decelerate to a stop.

- */ - // @ts-ignore - setFuel(fuel: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.HopperMinecart.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.HopperMinecart.ts deleted file mode 100644 index b5250f5f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.HopperMinecart.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace vehicle { - namespace minecart { - // @ts-ignore - interface HopperMinecart extends org.spongepowered.api.entity.vehicle.minecart.ContainerMinecart { - /** - * Gets a copy of the {@link CooldownData}. The cooldown data represents the - * delay before this {@link HopperMinecart} will attempt to transfer an - * {@link ItemStack}. - */ - // @ts-ignore - getCooldownData(): org.spongepowered.api.data.manipulator.mutable.tileentity.CooldownData; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.Minecart.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.Minecart.ts deleted file mode 100644 index 450453dc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.Minecart.ts +++ /dev/null @@ -1,71 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace vehicle { - namespace minecart { - // @ts-ignore - interface Minecart extends org.spongepowered.api.entity.Entity { - /** - * Gets whether or not the minecart is currently on a valid rail block. - */ - // @ts-ignore - isOnRail(): boolean; - /** - * Gets the absolute maximum speed that this cart is allowed to travel at. - *

The default value is 0.4.

- */ - // @ts-ignore - getSwiftness(): number; - /** - * Sets the absolute maximum speed that this cart is allowed to travel at. - *

The default value is 0.4.

- */ - // @ts-ignore - setSwiftness(swiftness: number): void; - /** - * Gets the maximum speed that this cart is allowed to travel at the instant - * this method is called. - *

This differs from {@link Minecart#getSwiftness()} in that its value is - * affected by the block/rail beneath the cart. However, it is still - * impacted and limited by the cart's swiftness.

- */ - // @ts-ignore - getPotentialMaxSpeed(): number; - /** - * Gets whether or not the minecart slows down faster without a passenger. - */ - // @ts-ignore - doesSlowWhenEmpty(): boolean; - /** - * Sets whether or not the minecart slows down faster without a passenger. - */ - // @ts-ignore - setSlowWhenEmpty(slowWhenEmpty: boolean): void; - /** - * Gets the velocity modifier applied when the minecart is airborne. - */ - // @ts-ignore - getAirborneVelocityMod(): any /*Vector3d*/; - /** - * Sets the velocity modifier applied when the minecart is airborne. - */ - // @ts-ignore - setAirborneVelocityMod(airborneVelocityMod: any /*Vector3d*/): void; - /** - * Gets the velocity modifier applied when the minecart is not on rails. - */ - // @ts-ignore - getDerailedVelocityMod(): any /*Vector3d*/; - /** - * Sets the velocity modifier applied when the minecart is not on rails. - */ - // @ts-ignore - setDerailedVelocityMod(derailedVelocityMod: any /*Vector3d*/): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.MobSpawnerMinecart.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.MobSpawnerMinecart.ts deleted file mode 100644 index 68adbdf1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.MobSpawnerMinecart.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace vehicle { - namespace minecart { - // @ts-ignore - interface MobSpawnerMinecart extends org.spongepowered.api.entity.vehicle.minecart.Minecart { - /** - * Gets a copy of the {@link MobSpawnerData}. - */ - // @ts-ignore - getSpawnerData(): org.spongepowered.api.data.manipulator.mutable.MobSpawnerData; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.RideableMinecart.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.RideableMinecart.ts deleted file mode 100644 index 43e31479..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.RideableMinecart.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace vehicle { - namespace minecart { - // @ts-ignore - interface RideableMinecart extends org.spongepowered.api.entity.vehicle.minecart.Minecart { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.TNTMinecart.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.TNTMinecart.ts deleted file mode 100644 index 32660830..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.vehicle.minecart.TNTMinecart.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace vehicle { - namespace minecart { - // @ts-ignore - interface TNTMinecart extends org.spongepowered.api.entity.vehicle.minecart.Minecart, org.spongepowered.api.entity.explosive.FusedExplosive { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.weather.Lightning.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.weather.Lightning.ts deleted file mode 100644 index 60e97815..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.weather.Lightning.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace weather { - // @ts-ignore - interface Lightning extends org.spongepowered.api.entity.weather.WeatherEffect { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.entity.weather.WeatherEffect.ts b/packages/sponge/src/typings/org.spongepowered.api.entity.weather.WeatherEffect.ts deleted file mode 100644 index faabff28..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.entity.weather.WeatherEffect.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace entity { - namespace weather { - // @ts-ignore - interface WeatherEffect extends org.spongepowered.api.entity.Entity { - /** - * Returns whether this weather effect is an effect and doesn't deal damage. - */ - // @ts-ignore - isEffect(): boolean; - /** - * Sets whether this weather effect is an effect and doesn't deal damage. - */ - // @ts-ignore - setEffect(effect: boolean): void; - /** - * Gets a copy of the {@link ExpirableData} for this weather entity. - */ - // @ts-ignore - getExpiringData(): org.spongepowered.api.data.manipulator.mutable.entity.ExpirableData; - /** - * Gets the {@link MutableBoundedValue} for the amount of "ticks" remaining - * before the "expiration" occurs. - */ - // @ts-ignore - expireTicks(): org.spongepowered.api.data.value.mutable.MutableBoundedValue; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.Cancellable.ts b/packages/sponge/src/typings/org.spongepowered.api.event.Cancellable.ts deleted file mode 100644 index a3df6a63..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.Cancellable.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - // @ts-ignore - interface Cancellable { - /** - * Gets if the {@link Event} has been cancelled. - */ - // @ts-ignore - isCancelled(): boolean; - /** - * Sets the cancelled state of the {@link Event}. - */ - // @ts-ignore - setCancelled(cancel: boolean): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.CauseStackManager.StackFrame.ts b/packages/sponge/src/typings/org.spongepowered.api.event.CauseStackManager.StackFrame.ts deleted file mode 100644 index 050cdaa8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.CauseStackManager.StackFrame.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace CauseStackManager { - // @ts-ignore - interface StackFrame { - /** - * Gets the current {@link Cause} object from the current cause stack. - */ - // @ts-ignore - getCurrentCause(): org.spongepowered.api.event.cause.Cause; - /** - * Gets an {@link EventContext} object on the current contextual - * information. - */ - // @ts-ignore - getCurrentContext(): org.spongepowered.api.event.cause.EventContext; - /** - * Pushes an object to the current cause stack which will associate - * it with all events through from api actions until it is - * popped off again. - */ - // @ts-ignore - pushCause(obj: any): org.spongepowered.api.event.CauseStackManager.StackFrame; - /** - * Pops the most recently pushed cause object off of the stack and - * returns it. - */ - // @ts-ignore - popCause(): any; - /** - * Adds the given object to the current context under the given key. - */ - // @ts-ignore - addContext(key: org.spongepowered.api.event.cause.EventContextKey, value: any): org.spongepowered.api.event.CauseStackManager.StackFrame; - /** - * Removes the given context key from the current context. - */ - // @ts-ignore - removeContext(key: org.spongepowered.api.event.cause.EventContextKey): any; - // @ts-ignore - close(): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.CauseStackManager.ts b/packages/sponge/src/typings/org.spongepowered.api.event.CauseStackManager.ts deleted file mode 100644 index da02fefd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.CauseStackManager.ts +++ /dev/null @@ -1,81 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - // @ts-ignore - interface CauseStackManager { - /** - * Gets the current {@link Cause} object from the current cause stack. - */ - // @ts-ignore - getCurrentCause(): org.spongepowered.api.event.cause.Cause; - /** - * Gets an {@link EventContext} object on the current contextual - * information. - */ - // @ts-ignore - getCurrentContext(): org.spongepowered.api.event.cause.EventContext; - /** - * Pushes an object to the current cause stack which will associate it with - * all events through from api actions until it is popped off again. - */ - // @ts-ignore - pushCause(obj: any): org.spongepowered.api.event.CauseStackManager; - /** - * Pops the most recently pushed cause object off of the stack and returns - * it. - */ - // @ts-ignore - popCause(): any; - /** - * Pops the most recently n pushed cause objects off of the stack. - */ - // @ts-ignore - popCauses(n: number): void; - /** - * Retrieves but does not remove the most recently pushed cause object. - */ - // @ts-ignore - peekCause(): any; - /** - * Pushes a frame of the current cause stack and context state. - */ - // @ts-ignore - pushCauseFrame(): org.spongepowered.api.event.CauseStackManager.StackFrame; - /** - * Replaces the current cause stack and context with the cause frame at the - * top of the frame stack. - *

The frame handle is required to ensure that frames are popped of in - * order and are not left in the stack. If an attempt is made to pop a frame - * which is not the head of the frame stack then an error will be thrown as - * this indicates that a frame was not popped properly.

- */ - // @ts-ignore - popCauseFrame(handle: org.spongepowered.api.event.CauseStackManager.StackFrame): void; - /** - * Adds the given object to the current context under the given key. - */ - // @ts-ignore - addContext(key: org.spongepowered.api.event.cause.EventContextKey, value: any): org.spongepowered.api.event.CauseStackManager; - /** - * Gets the context value with the given key. - */ - // @ts-ignore - getContext(key: org.spongepowered.api.event.cause.EventContextKey): any; - /** - * Gets the context value with the given key. - *

If the key is not available, {@link NoSuchElementException} will be - * thrown.

- */ - // @ts-ignore - requireContext(key: org.spongepowered.api.event.cause.EventContextKey): any; - /** - * Removes the given context key from the current context. - */ - // @ts-ignore - removeContext(key: org.spongepowered.api.event.cause.EventContextKey): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.Event.ts b/packages/sponge/src/typings/org.spongepowered.api.event.Event.ts deleted file mode 100644 index 6552a61c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.Event.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - // @ts-ignore - interface Event { - /** - * Gets the cause for the event. The Cause of the event - * is an object which implements the Iterable interface. - * So, when investigating the Cause of the event a common - * idiom is to use operations (functions) on the result - * of getCause as follows: - * Use-case: Getting the Player (if any) responsible: - * {@code Optional optPlayer = event.getCause().first(Player.class);} - */ - // @ts-ignore - getCause(): org.spongepowered.api.event.cause.Cause; - /** - * Gets the source of the event (the first object in the cause). - */ - // @ts-ignore - getSource(): any; - /** - * Gets the context of the event. - */ - // @ts-ignore - getContext(): org.spongepowered.api.event.cause.EventContext; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.EventListener.ts b/packages/sponge/src/typings/org.spongepowered.api.event.EventListener.ts deleted file mode 100644 index cf85bd90..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.EventListener.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - // @ts-ignore - interface EventListener { - /** - * Called when a {@link Event} registered to this listener is called. - */ - // @ts-ignore - handle(event: org.spongepowered.api.event.Event): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.EventManager.ts b/packages/sponge/src/typings/org.spongepowered.api.event.EventManager.ts deleted file mode 100644 index 77df9813..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.EventManager.ts +++ /dev/null @@ -1,92 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - // @ts-ignore - interface EventManager { - /** - * Registers {@link Event} methods annotated with @{@link Listener} in the - * specified object. - *

Only methods that are public will be registered and the class must be - * public as well.

- */ - // @ts-ignore - registerListeners(plugin: any, obj: any): void; - /** - * Registers an event listener for a specific event class. - *

Normally, the annotation-based way in - * {@link #registerListeners(Object, Object)} should be preferred over this way. This - * method exists primarily to support dynamic event registration like needed - * in scripting plugins.

- */ - // @ts-ignore - registerListener(plugin: any, eventClass: any, listener: org.spongepowered.api.event.EventListener): void; - /** - * Registers an event listener for a specific event {@link TypeToken}. - *

Normally, the annotation-based way in - * {@link #registerListeners(Object, Object)} should be preferred over this way. This - * method exists primarily to support dynamic event registration like needed - * in scripting plugins.

- */ - // @ts-ignore - registerListener(plugin: any, eventType: any, listener: org.spongepowered.api.event.EventListener): void; - /** - * Registers an event listener with the specified order for a specific event - * class. - *

Normally, the annotation-based way in - * {@link #registerListeners(Object, Object)} should be preferred over this way. This - * method exists primarily to support dynamic event registration like needed - * in scripting plugins.

- */ - // @ts-ignore - registerListener(plugin: any, eventClass: any, order: org.spongepowered.api.event.Order, listener: org.spongepowered.api.event.EventListener): void; - /** - * Registers an event listener with the specified order for a specific event - * {@link TypeToken}. - *

Normally, the annotation-based way in - * {@link #registerListeners(Object, Object)} should be preferred over this way. This - * method exists primarily to support dynamic event registration like needed - * in scripting plugins.

- */ - // @ts-ignore - registerListener(plugin: any, eventType: any, order: org.spongepowered.api.event.Order, listener: org.spongepowered.api.event.EventListener): void; - /** - * Registers an event listener with the specified order for a specific event - * class. - *

Normally, the annotation-based way in - * {@link #registerListeners(Object, Object)} should be preferred over this way. This - * method exists primarily to support dynamic event registration like needed - * in scripting plugins.

- */ - // @ts-ignore - registerListener(plugin: any, eventClass: any, order: org.spongepowered.api.event.Order, beforeModifications: boolean, listener: org.spongepowered.api.event.EventListener): void; - /** - * Registers an event listener with the specified order for a specific event - * class. - *

Normally, the annotation-based way in - * {@link #registerListeners(Object, Object)} should be preferred over this way. This - * method exists primarily to support dynamic event registration like needed - * in scripting plugins.

- */ - // @ts-ignore - registerListener(plugin: any, eventType: any, order: org.spongepowered.api.event.Order, beforeModifications: boolean, listener: org.spongepowered.api.event.EventListener): void; - /** - * Un-registers an object from receiving {@link Event}s. - */ - // @ts-ignore - unregisterListeners(obj: any): void; - /** - * Un-registers all event listeners of a plugin. - */ - // @ts-ignore - unregisterPluginListeners(plugin: any): void; - /** - * Calls a {@link Event} to all listeners that listen to it. - */ - // @ts-ignore - post(event: org.spongepowered.api.event.Event): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.GenericEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.GenericEvent.ts deleted file mode 100644 index a2e477f6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.GenericEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - // @ts-ignore - interface GenericEvent extends org.spongepowered.api.event.Event { - /** - * Gets the generic {@link TypeToken} used - * by this {@link Event}. - */ - // @ts-ignore - getGenericType(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.Listener.ts b/packages/sponge/src/typings/org.spongepowered.api.event.Listener.ts deleted file mode 100644 index 0faf9f98..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.Listener.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - // @ts-ignore - interface Listener { - /** - * The order this listener should be called in relation to other listeners - * in the {@link EventManager}. - */ - // @ts-ignore - order(): org.spongepowered.api.event.Order; - /** - * Whether this listener should be called before any other server mods, such - * as Forge mods. All Sponge event listeners are called after mods, unless - * they specify the {@code #beforeModifications()} flag to be true. - */ - // @ts-ignore - beforeModifications(): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.Order.ts b/packages/sponge/src/typings/org.spongepowered.api.event.Order.ts deleted file mode 100644 index 2d642fbc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.Order.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - // @ts-ignore - class Order { - // @ts-ignore - public static PRE: org.spongepowered.api.event.Order; - // @ts-ignore - public static AFTER_PRE: org.spongepowered.api.event.Order; - // @ts-ignore - public static FIRST: org.spongepowered.api.event.Order; - // @ts-ignore - public static EARLY: org.spongepowered.api.event.Order; - // @ts-ignore - public static DEFAULT: org.spongepowered.api.event.Order; - // @ts-ignore - public static LATE: org.spongepowered.api.event.Order; - // @ts-ignore - public static LAST: org.spongepowered.api.event.Order; - // @ts-ignore - public static BEFORE_POST: org.spongepowered.api.event.Order; - // @ts-ignore - public static POST: org.spongepowered.api.event.Order; - // @ts-ignore - public static values(): org.spongepowered.api.event.Order[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.event.Order; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.TristateResult.Result.ts b/packages/sponge/src/typings/org.spongepowered.api.event.TristateResult.Result.ts deleted file mode 100644 index 5ba235d9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.TristateResult.Result.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace TristateResult { - // @ts-ignore - class Result { - // @ts-ignore - public static DENY: org.spongepowered.api.event.TristateResult.Result; - // @ts-ignore - public static DEFAULT: org.spongepowered.api.event.TristateResult.Result; - // @ts-ignore - public static ALLOW: org.spongepowered.api.event.TristateResult.Result; - // @ts-ignore - public static values(): org.spongepowered.api.event.TristateResult.Result[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.event.TristateResult.Result; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.TristateResult.ts b/packages/sponge/src/typings/org.spongepowered.api.event.TristateResult.ts deleted file mode 100644 index 99bfc7d2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.TristateResult.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - // @ts-ignore - interface TristateResult { - /** - * Returns whether the - * {@link TristateResult.Result#ALLOW} can be - * used. - */ - // @ts-ignore - hasAllowResult(): boolean; - /** - * Returns the original {@link Result} of this event. - */ - // @ts-ignore - getOriginalResult(): org.spongepowered.api.event.TristateResult.Result; - /** - * Returns the {@link Result} of this event. - */ - // @ts-ignore - getResult(): org.spongepowered.api.event.TristateResult.Result; - /** - * Sets the result value for this event. - *

Note: The functionality of setting the {@link Result} is defined on a - * per-event basis.

- */ - // @ts-ignore - setResult(value: org.spongepowered.api.event.TristateResult.Result): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.CollideEvent.Impact.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.CollideEvent.Impact.ts deleted file mode 100644 index 9452d9f0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.CollideEvent.Impact.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - namespace CollideEvent { - // @ts-ignore - interface Impact extends org.spongepowered.api.event.action.CollideEvent { - /** - * Gets the {@link Location} where the impact took place. - */ - // @ts-ignore - getImpactPoint(): org.spongepowered.api.world.Location; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.CollideEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.CollideEvent.ts deleted file mode 100644 index da927743..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.CollideEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - // @ts-ignore - interface CollideEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.HookEntity.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.HookEntity.ts deleted file mode 100644 index 65e39e94..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.HookEntity.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - namespace FishingEvent { - // @ts-ignore - interface HookEntity extends org.spongepowered.api.event.action.FishingEvent, org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.Start.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.Start.ts deleted file mode 100644 index e42761ce..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.Start.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - namespace FishingEvent { - // @ts-ignore - interface Start extends org.spongepowered.api.event.action.FishingEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.Stop.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.Stop.ts deleted file mode 100644 index 486fac97..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.Stop.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - namespace FishingEvent { - // @ts-ignore - interface Stop extends org.spongepowered.api.event.action.FishingEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets a list of {@link Transaction}s for each {@link ItemStackSnapshot} - * that will be spawned if this event is not cancelled. - */ - // @ts-ignore - getTransactions(): any[] /*java.util.List*/; - /** - * Gets a list of {@link Transaction}s for each {@link ItemStackSnapshot} - * that will be spawned if this event is not cancelled. - */ - // @ts-ignore - getItemStackTransaction(): any[] /*java.util.List*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.ts deleted file mode 100644 index dad0ed96..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.FishingEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - // @ts-ignore - interface FishingEvent extends org.spongepowered.api.event.Event { - /** - * Gets the {@link FishHook} related with this event. - */ - // @ts-ignore - getFishHook(): org.spongepowered.api.entity.projectile.FishHook; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.InteractEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.InteractEvent.ts deleted file mode 100644 index 822da09e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.InteractEvent.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - // @ts-ignore - interface InteractEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets the point of interaction where the interaction occurred as - * a {@link Vector3d}. - */ - // @ts-ignore - getInteractionPoint(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.Post.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.Post.ts deleted file mode 100644 index 7d10fea4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.Post.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - namespace LightningEvent { - // @ts-ignore - interface Post extends org.spongepowered.api.event.action.LightningEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.Pre.ts deleted file mode 100644 index a4d257b0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.Pre.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - namespace LightningEvent { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.action.LightningEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.Strike.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.Strike.ts deleted file mode 100644 index 81db4bc8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.Strike.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - namespace LightningEvent { - // @ts-ignore - interface Strike extends org.spongepowered.api.event.action.LightningEvent, org.spongepowered.api.event.entity.AffectEntityEvent, org.spongepowered.api.event.block.ChangeBlockEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.ts deleted file mode 100644 index 46b45801..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.LightningEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - // @ts-ignore - interface LightningEvent extends org.spongepowered.api.event.Event { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Finish.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Finish.ts deleted file mode 100644 index 14772142..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Finish.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - namespace SleepingEvent { - // @ts-ignore - interface Finish extends org.spongepowered.api.event.action.SleepingEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Post.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Post.ts deleted file mode 100644 index e947a34a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Post.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - namespace SleepingEvent { - // @ts-ignore - interface Post extends org.spongepowered.api.event.action.SleepingEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets whether the spawn transform for the human was set. - *

The case that spawn may have not been set includes:

- *
  • A player attempting to sleep in a bed in the nether
- */ - // @ts-ignore - isSpawnSet(): boolean; - /** - * Gets a copy of the spawn transform of the human when leaving the bed. - *

This may have not been set by the event, so checking - * {@link #isSpawnSet()} is advisable. If spawn has not been set, - * it will return {@link Optional#empty()}.

- */ - // @ts-ignore - getSpawnTransform(): any; - /** - * Sets the new spawn transform of the human leaving the bed. - *

If spawn {@link #isSpawnSet()} was not in fact set by this event, - * this does not override the return value. The given spawn should be - * a valid location.

- */ - // @ts-ignore - setSpawnTransform(transform: org.spongepowered.api.entity.Transform): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Pre.ts deleted file mode 100644 index 0bb4a8ea..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Pre.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - namespace SleepingEvent { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.action.SleepingEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Tick.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Tick.ts deleted file mode 100644 index 27d1035d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.Tick.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - namespace SleepingEvent { - // @ts-ignore - interface Tick extends org.spongepowered.api.event.action.SleepingEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.ts deleted file mode 100644 index f58e2e1a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.action.SleepingEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace action { - // @ts-ignore - interface SleepingEvent extends org.spongepowered.api.event.entity.TargetEntityEvent { - /** - * Gets the {@link BlockSnapshot} of the bed being used to sleep. - */ - // @ts-ignore - getBed(): org.spongepowered.api.block.BlockSnapshot; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementEvent.Grant.ts b/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementEvent.Grant.ts deleted file mode 100644 index c953fa59..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementEvent.Grant.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace advancement { - namespace AdvancementEvent { - // @ts-ignore - interface Grant extends org.spongepowered.api.event.advancement.AdvancementEvent, org.spongepowered.api.event.message.MessageChannelEvent { - /** - * Gets the {@link Instant} at which the {@link Advancement} - * was unlocked. - */ - // @ts-ignore - getTime(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementEvent.Revoke.ts b/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementEvent.Revoke.ts deleted file mode 100644 index 8d4e4331..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementEvent.Revoke.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace advancement { - namespace AdvancementEvent { - // @ts-ignore - interface Revoke extends org.spongepowered.api.event.advancement.AdvancementEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementEvent.ts deleted file mode 100644 index 05e88bbe..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace advancement { - // @ts-ignore - interface AdvancementEvent extends org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent { - /** - * Gets the {@link Advancement} that is being targeted. - */ - // @ts-ignore - getAdvancement(): org.spongepowered.api.advancement.Advancement; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementTreeEvent.GenerateLayout.ts b/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementTreeEvent.GenerateLayout.ts deleted file mode 100644 index 767d7426..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementTreeEvent.GenerateLayout.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace advancement { - namespace AdvancementTreeEvent { - // @ts-ignore - interface GenerateLayout extends org.spongepowered.api.event.advancement.AdvancementTreeEvent { - /** - * Gets the {@link TreeLayout} that got generated. - */ - // @ts-ignore - getLayout(): org.spongepowered.api.advancement.TreeLayout; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementTreeEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementTreeEvent.ts deleted file mode 100644 index d739b2ef..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.AdvancementTreeEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace advancement { - // @ts-ignore - interface AdvancementTreeEvent extends org.spongepowered.api.event.Event { - /** - * Gets the {@link AdvancementTree}. - */ - // @ts-ignore - getTree(): org.spongepowered.api.advancement.AdvancementTree; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Grant.ts b/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Grant.ts deleted file mode 100644 index e520292c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Grant.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace advancement { - namespace CriterionEvent { - // @ts-ignore - interface Grant extends org.spongepowered.api.event.advancement.CriterionEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the {@link Instant} at which the {@link AdvancementCriterion} - * was unlocked. - */ - // @ts-ignore - getTime(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Revoke.ts b/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Revoke.ts deleted file mode 100644 index 1d183470..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Revoke.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace advancement { - namespace CriterionEvent { - // @ts-ignore - interface Revoke extends org.spongepowered.api.event.advancement.CriterionEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.Change.ts b/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.Change.ts deleted file mode 100644 index 310ff69d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.Change.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace advancement { - namespace CriterionEvent { - namespace Score { - // @ts-ignore - interface Change extends org.spongepowered.api.event.advancement.CriterionEvent.Score, org.spongepowered.api.event.Cancellable { - /** - * Gets the previous score. - */ - // @ts-ignore - getPreviousScore(): number; - /** - * Gets the new score. - */ - // @ts-ignore - getNewScore(): number; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.Grant.ts b/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.Grant.ts deleted file mode 100644 index 4f5612d0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.Grant.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace advancement { - namespace CriterionEvent { - namespace Score { - // @ts-ignore - interface Grant extends org.spongepowered.api.event.advancement.CriterionEvent.Score.Change, org.spongepowered.api.event.advancement.CriterionEvent.Grant { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.Revoke.ts b/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.Revoke.ts deleted file mode 100644 index e4f9899e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.Revoke.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace advancement { - namespace CriterionEvent { - namespace Score { - // @ts-ignore - interface Revoke extends org.spongepowered.api.event.advancement.CriterionEvent.Score.Change, org.spongepowered.api.event.advancement.CriterionEvent.Revoke { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.ts b/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.ts deleted file mode 100644 index 6ba0697f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Score.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace advancement { - namespace CriterionEvent { - // @ts-ignore - interface Score extends org.spongepowered.api.event.advancement.CriterionEvent { - // @ts-ignore - getCriterion(): org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Trigger.ts b/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Trigger.ts deleted file mode 100644 index ea4789bf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.Trigger.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace advancement { - namespace CriterionEvent { - // @ts-ignore - interface Trigger extends org.spongepowered.api.event.advancement.CriterionEvent, org.spongepowered.api.event.GenericEvent { - /** - * Gets the {@link FilteredTrigger} - * that is being processed. - */ - // @ts-ignore - getTrigger(): org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger; - /** - * Gets the result of the trigger event. - */ - // @ts-ignore - getResult(): boolean; - /** - * Sets the result of the trigger event. - */ - // @ts-ignore - setResult(result: boolean): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.ts deleted file mode 100644 index 5d872ceb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.advancement.CriterionEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace advancement { - // @ts-ignore - interface CriterionEvent extends org.spongepowered.api.event.advancement.AdvancementEvent { - /** - * Gets the {@link AdvancementCriterion} that was met. - */ - // @ts-ignore - getCriterion(): org.spongepowered.api.advancement.criteria.AdvancementCriterion; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Break.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Break.ts deleted file mode 100644 index 8b3c6ab3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Break.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace ChangeBlockEvent { - // @ts-ignore - interface Break extends org.spongepowered.api.event.block.ChangeBlockEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Decay.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Decay.ts deleted file mode 100644 index c7f48835..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Decay.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace ChangeBlockEvent { - // @ts-ignore - interface Decay extends org.spongepowered.api.event.block.ChangeBlockEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Grow.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Grow.ts deleted file mode 100644 index 4e1c50f8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Grow.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace ChangeBlockEvent { - // @ts-ignore - interface Grow extends org.spongepowered.api.event.block.ChangeBlockEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Modify.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Modify.ts deleted file mode 100644 index 76d94928..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Modify.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace ChangeBlockEvent { - // @ts-ignore - interface Modify extends org.spongepowered.api.event.block.ChangeBlockEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Place.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Place.ts deleted file mode 100644 index bc576f6a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Place.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace ChangeBlockEvent { - // @ts-ignore - interface Place extends org.spongepowered.api.event.block.ChangeBlockEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Post.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Post.ts deleted file mode 100644 index 4d61975e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Post.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace ChangeBlockEvent { - // @ts-ignore - interface Post extends org.spongepowered.api.event.block.ChangeBlockEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Pre.ts deleted file mode 100644 index 0a641685..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.Pre.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace ChangeBlockEvent { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Represents a list of one or more {@link Location}'s where - * {@link BlockState} changes can occur. - *

Canceling this event will prevent block logic from running - * and also stop {@link BlockSnapshot}'s from being generated.

- *

Note: This event is not intended to always be fired before - * changing a {@link BlockState} but rather it is primarily used to - * prevent one or more {@link BlockState}'s from being changed.

- */ - // @ts-ignore - getLocations(): any[] /*java.util.List*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.ts deleted file mode 100644 index d04449da..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.ChangeBlockEvent.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - // @ts-ignore - interface ChangeBlockEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets a list of the {@link Transaction}s for this event. If a - * transaction is requested to be marked as "invalid", - * {@link Transaction#setValid(boolean)} can be used. - */ - // @ts-ignore - getTransactions(): any[] /*java.util.List*/; - /** - * Applies the provided {@link Predicate} to the {@link List} of - * {@link Transaction}s from {@link #getTransactions()} such that - * any time that {@link Predicate#test(Object)} returns false - * on the location of the {@link Transaction}, the {@link Transaction} is - * marked as "invalid" and will not apply post event. - *

{@link Transaction#getOriginal()} is used to get the {@link Location}

- */ - // @ts-ignore - filter(predicate: any): any[] /*java.util.List*/; - /** - * Invalidates the list as such that all {@link Transaction}s are - * marked as "invalid" and will not apply post event. - */ - // @ts-ignore - filterAll(): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.CollideBlockEvent.Impact.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.CollideBlockEvent.Impact.ts deleted file mode 100644 index 0e243424..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.CollideBlockEvent.Impact.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace CollideBlockEvent { - // @ts-ignore - interface Impact extends org.spongepowered.api.event.block.CollideBlockEvent, org.spongepowered.api.event.action.CollideEvent.Impact { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.CollideBlockEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.CollideBlockEvent.ts deleted file mode 100644 index 2d40209b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.CollideBlockEvent.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - // @ts-ignore - interface CollideBlockEvent extends org.spongepowered.api.event.action.CollideEvent { - /** - * Gets the target {@link Location} being interacted with. - */ - // @ts-ignore - getTargetLocation(): org.spongepowered.api.world.Location; - /** - * Gets the target {@link BlockState} being interacted with. - */ - // @ts-ignore - getTargetBlock(): org.spongepowered.api.block.BlockState; - /** - * Gets the target "side" of the {@link BlockState} being interacted with - * or {@link Direction#NONE} if not known. - */ - // @ts-ignore - getTargetSide(): org.spongepowered.api.util.Direction; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Primary.MainHand.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Primary.MainHand.ts deleted file mode 100644 index 466cc4df..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Primary.MainHand.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace InteractBlockEvent { - namespace Primary { - // @ts-ignore - interface MainHand extends org.spongepowered.api.event.block.InteractBlockEvent.Primary { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Primary.OffHand.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Primary.OffHand.ts deleted file mode 100644 index b243186d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Primary.OffHand.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace InteractBlockEvent { - namespace Primary { - // @ts-ignore - interface OffHand extends org.spongepowered.api.event.block.InteractBlockEvent.Primary { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Primary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Primary.ts deleted file mode 100644 index 1ddbee15..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Primary.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace InteractBlockEvent { - // @ts-ignore - interface Primary extends org.spongepowered.api.event.block.InteractBlockEvent, org.spongepowered.api.event.entity.living.humanoid.HandInteractEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Secondary.MainHand.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Secondary.MainHand.ts deleted file mode 100644 index f6e09473..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Secondary.MainHand.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace InteractBlockEvent { - namespace Secondary { - // @ts-ignore - interface MainHand extends org.spongepowered.api.event.block.InteractBlockEvent.Secondary { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Secondary.OffHand.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Secondary.OffHand.ts deleted file mode 100644 index d3b2e8ba..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Secondary.OffHand.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace InteractBlockEvent { - namespace Secondary { - // @ts-ignore - interface OffHand extends org.spongepowered.api.event.block.InteractBlockEvent.Secondary { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Secondary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Secondary.ts deleted file mode 100644 index 9cb914cf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.Secondary.ts +++ /dev/null @@ -1,68 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace InteractBlockEvent { - // @ts-ignore - interface Secondary extends org.spongepowered.api.event.block.InteractBlockEvent, org.spongepowered.api.event.entity.living.humanoid.HandInteractEvent { - // @ts-ignore - getOriginalUseItemResult(): org.spongepowered.api.util.Tristate; - /** - * Gets the original {@link #getUseBlockResult}. - */ - // @ts-ignore - getOriginalUseBlockResult(): org.spongepowered.api.util.Tristate; - /** - * Gets whether the {@link Player#getItemInHand} should be used. - *
    - *
  • FALSE: The {@link ItemStack} will never be used.
  • - *
  • UNDEFINED: The {@link ItemStack} will be used if the block fails. - *
  • - *
  • TRUE: The {@link ItemStack} will always be used.
  • - *
- *

Note: These results may differ depending on implementation.

- */ - // @ts-ignore - getUseItemResult(): org.spongepowered.api.util.Tristate; - /** - * Gets whether the interacted {@link BlockSnapshot} should be used. - *
    - *
  • FALSE: {@link BlockSnapshot} will never be used.
  • - *
  • UNDEFINED: {@link BlockSnapshot} will be used as normal.
  • - *
  • TRUE: {@link BlockSnapshot} will always be used.
  • - *
- *

Note: These results may differ depending on implementation.

- */ - // @ts-ignore - getUseBlockResult(): org.spongepowered.api.util.Tristate; - /** - * Sets whether the {@link Player#getItemInHand} should be used. - *
    - *
  • FALSE: The {@link ItemStack} will never be used.
  • - *
  • UNDEFINED: The {@link ItemStack} will be used if the block fails. - *
  • - *
  • TRUE: The {@link ItemStack} will always be used.
  • - *
- *

Note: These results may differ depending on implementation.

- */ - // @ts-ignore - setUseItemResult(result: org.spongepowered.api.util.Tristate): void; - /** - * Sets whether the interacted {@link BlockSnapshot} should be used. - *
    - *
  • FALSE: {@link BlockSnapshot} will never be used.
  • - *
  • UNDEFINED: {@link BlockSnapshot} will be used as normal.
  • - *
  • TRUE: {@link BlockSnapshot} will always be used.
  • - *
- *

Note: These results may differ depending on implementation.

- */ - // @ts-ignore - setUseBlockResult(result: org.spongepowered.api.util.Tristate): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.ts deleted file mode 100644 index 77ca36df..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.InteractBlockEvent.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - // @ts-ignore - interface InteractBlockEvent extends org.spongepowered.api.event.action.InteractEvent, org.spongepowered.api.event.block.TargetBlockEvent { - /** - * Gets the target "side" of the {@link BlockState} being interacted with - * or {@link Direction#NONE} if not known. - */ - // @ts-ignore - getTargetSide(): org.spongepowered.api.util.Direction; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.NotifyNeighborBlockEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.NotifyNeighborBlockEvent.ts deleted file mode 100644 index b7140790..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.NotifyNeighborBlockEvent.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - // @ts-ignore - interface NotifyNeighborBlockEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets the immutable {@link Map} of {@link Direction} to {@link - * BlockState} of the {@link BlockType} that would normally be - * notified of changes. - */ - // @ts-ignore - getOriginalNeighbors(): Map /*java.util.Map*/; - /** - * Gets an immutable {@link Map} of {@link Direction} to - * {@link BlockState} of the {@link BlockType} that will be notified of - * an update. If a {@link Direction} is not required or needing to be - * excluded from an update, {@link #filterDirections(Predicate)} will - * perform that exclusion. - */ - // @ts-ignore - getNeighbors(): Map /*java.util.Map*/; - /** - * Filters out {@link Direction}s of the {@link BlockState}s to be - * marked as "valid" after this event. If the - * {@link Predicate#test(Object)} returns false, the - * {@link BlockState} is removed from {@link #getNeighbors()} map. - */ - // @ts-ignore - filterDirections(predicate: any): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.TargetBlockEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.TargetBlockEvent.ts deleted file mode 100644 index 06376c08..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.TargetBlockEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - // @ts-ignore - interface TargetBlockEvent extends org.spongepowered.api.event.Event { - /** - * Gets the target {@link BlockSnapshot} of this {@link Event}. - */ - // @ts-ignore - getTargetBlock(): org.spongepowered.api.block.BlockSnapshot; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.TickBlockEvent.Random.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.TickBlockEvent.Random.ts deleted file mode 100644 index 1b2b86d9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.TickBlockEvent.Random.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace TickBlockEvent { - // @ts-ignore - interface Random extends org.spongepowered.api.event.block.TickBlockEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.TickBlockEvent.Scheduled.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.TickBlockEvent.Scheduled.ts deleted file mode 100644 index 62146a0d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.TickBlockEvent.Scheduled.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace TickBlockEvent { - // @ts-ignore - interface Scheduled extends org.spongepowered.api.event.block.TickBlockEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.TickBlockEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.TickBlockEvent.ts deleted file mode 100644 index 94f9f7b3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.TickBlockEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - // @ts-ignore - interface TickBlockEvent extends org.spongepowered.api.event.block.TargetBlockEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Finish.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Finish.ts deleted file mode 100644 index 9b31eefe..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Finish.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace tileentity { - namespace BrewingEvent { - // @ts-ignore - interface Finish extends org.spongepowered.api.event.block.tileentity.BrewingEvent { - /** - * Gets an immutable {@link List} of {@link ItemStackSnapshot}s that are the result - * of the brew. - */ - // @ts-ignore - getBrewedItemStacks(): any[] /*java.util.List*/; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Interrupt.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Interrupt.ts deleted file mode 100644 index a6d6002a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Interrupt.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace tileentity { - namespace BrewingEvent { - // @ts-ignore - interface Interrupt extends org.spongepowered.api.event.block.tileentity.BrewingEvent { - /** - * Gets an immutable {@link List} of {@link ItemStackSnapshot}s that are the result - * of the brew. - */ - // @ts-ignore - getBrewedItemStacks(): any[] /*java.util.List*/; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Start.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Start.ts deleted file mode 100644 index d6010d25..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Start.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace tileentity { - namespace BrewingEvent { - // @ts-ignore - interface Start extends org.spongepowered.api.event.block.tileentity.BrewingEvent, org.spongepowered.api.event.item.inventory.AffectItemStackEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Tick.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Tick.ts deleted file mode 100644 index e2f8fa44..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.Tick.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace tileentity { - namespace BrewingEvent { - // @ts-ignore - interface Tick extends org.spongepowered.api.event.block.tileentity.BrewingEvent, org.spongepowered.api.event.item.inventory.AffectItemStackEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.ts deleted file mode 100644 index 7410e96e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.BrewingEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace tileentity { - // @ts-ignore - interface BrewingEvent extends org.spongepowered.api.event.block.tileentity.TargetTileEntityEvent { - // @ts-ignore - getTargetTile(): org.spongepowered.api.block.tileentity.carrier.BrewingStand; - /** - * Gets the {@link ItemStackSnapshot} as the ingredient used. - */ - // @ts-ignore - getIngredient(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.ChangeSignEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.ChangeSignEvent.ts deleted file mode 100644 index 9360b52b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.ChangeSignEvent.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace tileentity { - // @ts-ignore - interface ChangeSignEvent extends org.spongepowered.api.event.block.tileentity.TargetTileEntityEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the target {@link Sign} being changed. - */ - // @ts-ignore - getTargetTile(): org.spongepowered.api.block.tileentity.Sign; - /** - * Gets the original {@link ImmutableSignData} before event changes. - */ - // @ts-ignore - getOriginalText(): org.spongepowered.api.data.manipulator.immutable.tileentity.ImmutableSignData; - /** - * Gets the {@link SignData} to be applied to the {@link Sign} after event resolution. - */ - // @ts-ignore - getText(): org.spongepowered.api.data.manipulator.mutable.tileentity.SignData; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.ConsumeFuel.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.ConsumeFuel.ts deleted file mode 100644 index f8fea882..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.ConsumeFuel.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace tileentity { - namespace SmeltEvent { - // @ts-ignore - interface ConsumeFuel extends org.spongepowered.api.event.block.tileentity.SmeltEvent, org.spongepowered.api.event.item.inventory.AffectItemStackEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Finish.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Finish.ts deleted file mode 100644 index bd26d1fe..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Finish.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace tileentity { - namespace SmeltEvent { - // @ts-ignore - interface Finish extends org.spongepowered.api.event.block.tileentity.SmeltEvent { - /** - * Gets an immutable {@link List} of {@link ItemStackSnapshot}s that are the result of the smelt. - * Always exactly one item. - */ - // @ts-ignore - getSmeltedItems(): any[] /*java.util.List*/; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Interrupt.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Interrupt.ts deleted file mode 100644 index 7ff3dde2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Interrupt.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace tileentity { - namespace SmeltEvent { - // @ts-ignore - interface Interrupt extends org.spongepowered.api.event.block.tileentity.SmeltEvent { - /** - * Gets an immutable {@link List} of {@link ItemStackSnapshot}s that are the result - * of the smelt. - */ - // @ts-ignore - getSmeltedItems(): any[] /*java.util.List*/; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Start.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Start.ts deleted file mode 100644 index c01f7fd2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Start.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace tileentity { - namespace SmeltEvent { - // @ts-ignore - interface Start extends org.spongepowered.api.event.block.tileentity.SmeltEvent, org.spongepowered.api.event.item.inventory.AffectItemStackEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Tick.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Tick.ts deleted file mode 100644 index e531e118..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.Tick.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace tileentity { - namespace SmeltEvent { - // @ts-ignore - interface Tick extends org.spongepowered.api.event.block.tileentity.SmeltEvent, org.spongepowered.api.event.item.inventory.AffectItemStackEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.ts deleted file mode 100644 index d6321d9d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.SmeltEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace tileentity { - // @ts-ignore - interface SmeltEvent extends org.spongepowered.api.event.block.tileentity.TargetTileEntityEvent { - // @ts-ignore - getTargetTile(): org.spongepowered.api.block.tileentity.carrier.Furnace; - /** - * Gets the fuel represented as an {@link ItemStackSnapshot}. - */ - // @ts-ignore - getFuel(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.TargetTileEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.TargetTileEntityEvent.ts deleted file mode 100644 index f7bdb6bf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.block.tileentity.TargetTileEntityEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace block { - namespace tileentity { - // @ts-ignore - interface TargetTileEntityEvent extends org.spongepowered.api.event.Event { - /** - * Gets the target tile entity. - */ - // @ts-ignore - getTargetTile(): org.spongepowered.api.block.tileentity.TileEntity; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.Cause.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.Cause.Builder.ts deleted file mode 100644 index 0cfb8888..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.Cause.Builder.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace Cause { - // @ts-ignore - class Builder implements org.spongepowered.api.util.ResettableBuilder { - /** - * Appends the specified object to the cause. - */ - // @ts-ignore - public append(cause: any): org.spongepowered.api.event.cause.Cause.Builder; - /** - * Inserts the specified object into the cause. - */ - // @ts-ignore - public insert(position: number, cause: any): org.spongepowered.api.event.cause.Cause.Builder; - /** - * Appends all specified objects onto the cause. - */ - // @ts-ignore - public appendAll(causes: any[] /*java.util.Collection*/): org.spongepowered.api.event.cause.Cause.Builder; - /** - * Constructs a new {@link Cause} with information added to the builder. - */ - // @ts-ignore - public build(ctx: org.spongepowered.api.event.cause.EventContext): org.spongepowered.api.event.cause.Cause; - // @ts-ignore - public from(value: org.spongepowered.api.event.cause.Cause): org.spongepowered.api.event.cause.Cause.Builder; - // @ts-ignore - public reset(): org.spongepowered.api.event.cause.Cause.Builder; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.Cause.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.Cause.ts deleted file mode 100644 index 3df2ae3a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.Cause.ts +++ /dev/null @@ -1,127 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - // @ts-ignore - class Cause { - /** - * Creates a new {@link Builder} to make a new {@link Cause}. - */ - // @ts-ignore - public static builder(): org.spongepowered.api.event.cause.Cause.Builder; - /** - * Constructs a new cause with the specified event context and cause. - */ - // @ts-ignore - public static of(ctx: org.spongepowered.api.event.cause.EventContext, cause: any): org.spongepowered.api.event.cause.Cause; - /** - * Constructs a new cause with the specified event context and causes. - */ - // @ts-ignore - public static of(ctx: org.spongepowered.api.event.cause.EventContext, cause: any, causes: any): org.spongepowered.api.event.cause.Cause; - /** - * Constructs a new cause with the specified event context and causes. - */ - // @ts-ignore - public static of(ctx: org.spongepowered.api.event.cause.EventContext, iterable: any): org.spongepowered.api.event.cause.Cause; - /** - * Gets the event context relating to this cause. - */ - // @ts-ignore - public getContext(): org.spongepowered.api.event.cause.EventContext; - /** - * Gets the root {@link Object} of this cause. - */ - // @ts-ignore - public root(): any; - /** - * Gets the first T object of this {@link Cause}, if available. - */ - // @ts-ignore - public first(target: any): any; - /** - * Gets the last object instance of the {@link Class} of type - * T. - */ - // @ts-ignore - public last(target: any): any; - /** - * Gets the object immediately before the object that is an instance of the - * {@link Class} passed in. - */ - // @ts-ignore - public before(clazz: any): any; - /** - * Gets the object immediately after the object that is an instance of the - * {@link Class} passed in. - */ - // @ts-ignore - public after(clazz: any): any; - /** - * Returns whether the target class matches any object of this {@link Cause} - * . - */ - // @ts-ignore - public containsType(target: any): boolean; - /** - * Checks if this cause contains of any of the provided {@link Object}. This - * is the equivalent to checking based on {@link #equals(Object)} for each - * object in this cause. - */ - // @ts-ignore - public contains(object: any): boolean; - /** - * Gets an {@link ImmutableList} of all objects that are instances of the - * given {@link Class} type T. - */ - // @ts-ignore - public allOf(target: any): any[] /*java.util.List*/; - /** - * Gets an immutable {@link List} with all object causes that are not - * instances of the provided {@link Class}. - */ - // @ts-ignore - public noneOf(ignoredClass: any): any[] /*java.util.List*/; - /** - * Gets an {@link List} of all causes within this {@link Cause}. - */ - // @ts-ignore - public all(): any[] /*java.util.List*/; - /** - * Creates a new {@link Cause} where the objects are added at the end of the - * cause array of objects. - */ - // @ts-ignore - public with(additional: any): org.spongepowered.api.event.cause.Cause; - /** - * Creates a new {@link Cause} where the objects are added at the end of the - * cause array of objects. - */ - // @ts-ignore - public with(additional: any, additionals: any): org.spongepowered.api.event.cause.Cause; - /** - * Creates a new {@link Cause} where the objects are added at the end of the - * cause array of objects. - */ - // @ts-ignore - public with(iterable: any): org.spongepowered.api.event.cause.Cause; - /** - * Merges this cause with the other cause. - */ - // @ts-ignore - public with(cause: org.spongepowered.api.event.cause.Cause): org.spongepowered.api.event.cause.Cause; - // @ts-ignore - public iterator(): any; - // @ts-ignore - public equals(object: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContext.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContext.Builder.ts deleted file mode 100644 index c1cbcfad..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContext.Builder.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace EventContext { - // @ts-ignore - class Builder implements org.spongepowered.api.util.ResettableBuilder { - /** - * Adds the given context key value pair to the context. - */ - // @ts-ignore - public add(key: org.spongepowered.api.event.cause.EventContextKey, value: any): org.spongepowered.api.event.cause.EventContext.Builder; - // @ts-ignore - public from(value: org.spongepowered.api.event.cause.EventContext): org.spongepowered.api.event.cause.EventContext.Builder; - // @ts-ignore - public reset(): org.spongepowered.api.event.cause.EventContext.Builder; - /** - * Creates a new {@link EventContext}. - */ - // @ts-ignore - public build(): org.spongepowered.api.event.cause.EventContext; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContext.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContext.ts deleted file mode 100644 index a545078c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContext.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - // @ts-ignore - class EventContext { - /** - * Gets an empty context. - */ - // @ts-ignore - public static empty(): org.spongepowered.api.event.cause.EventContext; - /** - * Creates a new {@link EventContext} from the given map of entries. - */ - // @ts-ignore - public static of(entries: Map /*java.util.Map*/): org.spongepowered.api.event.cause.EventContext; - /** - * Creates a new builder for creating an {@link EventContext}. - */ - // @ts-ignore - public static builder(): org.spongepowered.api.event.cause.EventContext.Builder; - /** - * Gets the value corresponding to the given key from the context. - */ - // @ts-ignore - public get(key: org.spongepowered.api.event.cause.EventContextKey): any; - /** - * Gets the value corresponding to the given key from the context. - *

If the key is not available, {@link NoSuchElementException} will be - * thrown.

- */ - // @ts-ignore - public require(key: org.spongepowered.api.event.cause.EventContextKey): any; - /** - * Gets whether the provided {@link EventContextKey} is included in this - * context. - */ - // @ts-ignore - public containsKey(key: org.spongepowered.api.event.cause.EventContextKey): boolean; - /** - * Gets all {@link EventContextKey}s present in this context. - */ - // @ts-ignore - public keySet(): any[] /*java.util.Set*/; - /** - * Gets this event context as a {@link Map} of EventContextKeys to Objects. - */ - // @ts-ignore - public asMap(): Map /*java.util.Map*/; - // @ts-ignore - public equals(object: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContextKey.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContextKey.Builder.ts deleted file mode 100644 index a50b7679..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContextKey.Builder.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace EventContextKey { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - // @ts-ignore - type(tClass: any): org.spongepowered.api.event.cause.EventContextKey.Builder; - // @ts-ignore - id(id: string): org.spongepowered.api.event.cause.EventContextKey.Builder; - // @ts-ignore - name(name: string): org.spongepowered.api.event.cause.EventContextKey.Builder; - // @ts-ignore - build(): org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - from(value: org.spongepowered.api.event.cause.EventContextKey): org.spongepowered.api.event.cause.EventContextKey.Builder; - // @ts-ignore - reset(): org.spongepowered.api.event.cause.EventContextKey.Builder; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContextKey.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContextKey.ts deleted file mode 100644 index d72c3557..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContextKey.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - // @ts-ignore - interface EventContextKey extends org.spongepowered.api.CatalogType { - /** - * Creates a builder to be used for creating a new {@link EventContextKey}. - */ - // @ts-ignore - builder(clazz: any): org.spongepowered.api.event.cause.EventContextKey.Builder; - /** - * Gets the allowed type for the value of this key. - */ - // @ts-ignore - getAllowedType(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContextKeys.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContextKeys.ts deleted file mode 100644 index 7e6f6b64..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.EventContextKeys.ts +++ /dev/null @@ -1,91 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - // @ts-ignore - class EventContextKeys { - // @ts-ignore - public static BLOCK_EVENT_QUEUE: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static BLOCK_EVENT_PROCESS: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static BLOCK_HIT: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static BREAK_EVENT: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static PLACE_EVENT: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static MODIFY_EVENT: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static DECAY_EVENT: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static GROW_EVENT: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static GROWTH_ORIGIN: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static CREATOR: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static DAMAGE_TYPE: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static DISMOUNT_TYPE: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static ENTITY_HIT: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static FAKE_PLAYER: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static FIRE_SPREAD: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static IGNITER: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static LAST_DAMAGE_SOURCE: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static LEAVES_DECAY: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static LIQUID_BREAK: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static LIQUID_FLOW: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static LIQUID_MIX: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static NEIGHBOR_NOTIFY_SOURCE: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static NOTIFIER: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static OWNER: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static PISTON_EXTEND: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static PISTON_RETRACT: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static PLAYER: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static PLAYER_BREAK: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static PLAYER_PLACE: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static PLAYER_SIMULATED: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static PLUGIN: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static PROJECTILE_SOURCE: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static SERVICE_MANAGER: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static SPAWN_TYPE: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static TELEPORT_TYPE: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static THROWER: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static USED_ITEM: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static USED_HAND: org.spongepowered.api.event.cause.EventContextKey; - // @ts-ignore - public static WEAPON: org.spongepowered.api.event.cause.EventContextKey; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.ModifierFunction.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.ModifierFunction.ts deleted file mode 100644 index 07deb688..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.ModifierFunction.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - // @ts-ignore - interface ModifierFunction { - /** - * Gets the modifier used by this modifier function. - */ - // @ts-ignore - getModifier(): any; - /** - * Gets the double unary operator used by this function. - */ - // @ts-ignore - getFunction(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageFunction.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageFunction.ts deleted file mode 100644 index 05b0edad..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageFunction.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - // @ts-ignore - class DamageFunction implements org.spongepowered.api.event.cause.entity.ModifierFunction { - /** - * Creates a new {@link DamageFunction} with the provided - * {@link DamageModifier}. The caveat is that the provided - * {@link DamageFunction} is by default going to provide {@code 0} - * damage modifications. - */ - constructor(modifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier) - /** - * Creates a new {@link DamageFunction} with the provided - * {@link DamageModifier} and {@link DoubleUnaryOperator}. - */ - constructor(modifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any) - // @ts-ignore - public static ZERO_DAMAGE: any; - /** - * Constructs a new damage function. - */ - // @ts-ignore - public static of(first: org.spongepowered.api.event.cause.entity.damage.DamageModifier, second: any): org.spongepowered.api.event.cause.entity.damage.DamageFunction; - /** - * Gets the {@link DamageModifier} for this function. - */ - // @ts-ignore - public getModifier(): org.spongepowered.api.event.cause.entity.damage.DamageModifier; - /** - * Gets the {@link DoubleUnaryOperator} for this function. - */ - // @ts-ignore - public getFunction(): any; - // @ts-ignore - public toString(): string; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifier.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifier.Builder.ts deleted file mode 100644 index 64fcf825..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifier.Builder.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace DamageModifier { - // @ts-ignore - class Builder implements org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the {@link DamageModifierType} for the {@link DamageModifier} to - * build. - */ - // @ts-ignore - public type(damageModifierType: org.spongepowered.api.event.cause.entity.damage.DamageModifierType): org.spongepowered.api.event.cause.entity.damage.DamageModifier.Builder; - // @ts-ignore - public item(itemStack: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.event.cause.entity.damage.DamageModifier.Builder; - // @ts-ignore - public item(snapshot: org.spongepowered.api.item.inventory.ItemStackSnapshot): org.spongepowered.api.event.cause.entity.damage.DamageModifier.Builder; - /** - * Sets the {@link Cause} for the {@link DamageModifier} to build. - */ - // @ts-ignore - public cause(cause: org.spongepowered.api.event.cause.Cause): org.spongepowered.api.event.cause.entity.damage.DamageModifier.Builder; - /** - * Creates a new {@link DamageModifier} with this builder's provided - * {@link Cause} and {@link DamageModifierType}. - */ - // @ts-ignore - public build(): org.spongepowered.api.event.cause.entity.damage.DamageModifier; - // @ts-ignore - public from(value: org.spongepowered.api.event.cause.entity.damage.DamageModifier): org.spongepowered.api.event.cause.entity.damage.DamageModifier.Builder; - // @ts-ignore - public reset(): org.spongepowered.api.event.cause.entity.damage.DamageModifier.Builder; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifier.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifier.ts deleted file mode 100644 index 0b540a22..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifier.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - // @ts-ignore - interface DamageModifier { - /** - * Creates a new {@link Builder} for constructing a {@link DamageModifier}. - */ - // @ts-ignore - builder(): org.spongepowered.api.event.cause.entity.damage.DamageModifier.Builder; - /** - * Gets the {@link DamageModifierType} for this {@link DamageModifier}. - */ - // @ts-ignore - getType(): org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - /** - * Gets the cause of this {@link DamageModifier}. - */ - // @ts-ignore - getCause(): org.spongepowered.api.event.cause.Cause; - /** - * Gets the contributing {@link ItemStackSnapshot} that provided the - * "reason" for this {@link DamageModifier} to exist. An example of a - * contributing {@link ItemStack} is if an {@link ItemTypes#DIAMOND_SWORD} - * provided an {@link Enchantment} that provided a - * {@link DamageModifierTypes#WEAPON_ENCHANTMENT}, this modifier would have - * the {@link ItemStackSnapshot} for the weapon used. Some modifiers however, - * do not require an {@link ItemStack} to be the contributing factor for - * this modifier to exist. - */ - // @ts-ignore - getContributingItem(): any; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifierType.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifierType.ts deleted file mode 100644 index 72d2f91f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifierType.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - // @ts-ignore - interface DamageModifierType extends org.spongepowered.api.CatalogType { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifierTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifierTypes.ts deleted file mode 100644 index 61c0c808..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageModifierTypes.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - // @ts-ignore - class DamageModifierTypes { - // @ts-ignore - public static ABSORPTION: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static ARMOR: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static ARMOR_ENCHANTMENT: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static ATTACK_COOLDOWN: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static CRITICAL_HIT: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static DEFENSIVE_POTION_EFFECT: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static DIFFICULTY: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static HARD_HAT: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static MAGIC: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static NEGATIVE_POTION_EFFECT: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static OFFENSIVE_POTION_EFFECT: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static SHIELD: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static SWEEPING: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static SWEAPING: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - // @ts-ignore - public static WEAPON_ENCHANTMENT: org.spongepowered.api.event.cause.entity.damage.DamageModifierType; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageType.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageType.ts deleted file mode 100644 index 3257cf7c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageType.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - // @ts-ignore - interface DamageType extends org.spongepowered.api.CatalogType { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageTypes.ts deleted file mode 100644 index a770a3b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.DamageTypes.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - // @ts-ignore - class DamageTypes { - // @ts-ignore - public static ATTACK: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static CONTACT: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static CUSTOM: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static DROWN: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static EXPLOSIVE: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static FALL: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static FIRE: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static GENERIC: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static HUNGER: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static MAGIC: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static MAGMA: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static PROJECTILE: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static SUFFOCATE: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static SWEEPING_ATTACK: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public static VOID: org.spongepowered.api.event.cause.entity.damage.DamageType; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource.Builder.ts deleted file mode 100644 index cc8a3ad2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource.Builder.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace BlockDamageSource { - // @ts-ignore - interface Builder extends org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder { - /** - * Sets the {@link Location} to use as a "source". - */ - // @ts-ignore - block(location: org.spongepowered.api.world.Location): org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource.Builder; - /** - * Sets the {@link BlockSnapshot} to act as the "damage source". - */ - // @ts-ignore - block(blockState: org.spongepowered.api.block.BlockSnapshot): org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource.Builder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource.ts deleted file mode 100644 index 6346817d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - // @ts-ignore - interface BlockDamageSource extends org.spongepowered.api.event.cause.entity.damage.source.DamageSource { - /** - * Creates a new {@link Builder builder} for building a - * {@link BlockDamageSource}. - */ - // @ts-ignore - builder(): org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource.Builder; - /** - * Gets the location of the {@link BlockSnapshot}. - */ - // @ts-ignore - getLocation(): org.spongepowered.api.world.Location; - /** - * Gets the {@link BlockSnapshot} of the source. - */ - // @ts-ignore - getBlockSnapshot(): org.spongepowered.api.block.BlockSnapshot; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSource.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSource.Builder.ts deleted file mode 100644 index bb67a6c6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSource.Builder.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace DamageSource { - // @ts-ignore - interface Builder extends org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder { - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder.ts deleted file mode 100644 index d43eb8b1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder.ts +++ /dev/null @@ -1,87 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace DamageSource { - // @ts-ignore - interface DamageSourceBuilder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets this {@link DamageSource}'s damage to be scaled - * by {@link Difficulty}. - */ - // @ts-ignore - scalesWithDifficulty(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - /** - * Sets this {@link DamageSource} as dealing damage that - * bypasses armor modifiers. - *

This sets the exhaustion increase caused - * by this source to 0. You can override this - * with {@link #exhaustion(double)}.

- */ - // @ts-ignore - bypassesArmor(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - /** - * Sets this {@link DamageSource} as an explosion. - */ - // @ts-ignore - explosion(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - /** - * Sets whether this {@link DamageSource}'s damage is absolute and - * will ignore potion effects and enchantments. - *

This sets the exhaustion increase caused - * by this source to 0. You can override this - * with {@link #exhaustion(double)}.

- */ - // @ts-ignore - absolute(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - /** - * Sets this {@link DamageSource} as considered to be magical - * damage. An example is potions. - */ - // @ts-ignore - magical(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - /** - * Sets this {@link DamageSource} as considered to damage creative, or - * otherwise "normally unharmable" players. - */ - // @ts-ignore - creative(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - /** - * Sets the amount of exhaustion this {@link DamageSource} will - * add to the entity, generally only to players. - *

In vanilla gameplay, the default is 0.1, unless if the damage - * is absolute or bypasses armor, where the exhaustion gets set to 0. - * This builder follows this mechanic, but if you set the exhaustion - * through this method that will be overridden.

- *

If you don't set this exhaustion manually, calling - * {@link #absolute()} or {@link #bypassesArmor()} will - * set this 0 and if you don't this will default to 0.1.

- */ - // @ts-ignore - exhaustion(exhaustion: number): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - /** - * Sets the {@link DamageType} of this source. - *

This is required to be set.

- */ - // @ts-ignore - type(damageType: org.spongepowered.api.event.cause.entity.damage.DamageType): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - /** - * Builds an instance of this damage source, based on - * the values you inputted into the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSource.ts deleted file mode 100644 index bd3a9049..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSource.ts +++ /dev/null @@ -1,74 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - // @ts-ignore - interface DamageSource { - /** - * Creates a new {@link Builder builder} to build a {@link DamageSource}. - */ - // @ts-ignore - builder(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.Builder; - /** - * Gets the {@link DamageType} of this source. - */ - // @ts-ignore - getType(): org.spongepowered.api.event.cause.entity.damage.DamageType; - /** - * Gets whether this {@link DamageSource}'s damage is absolute and - * will ignore potion effects and enchantments. - */ - // @ts-ignore - isAbsolute(): boolean; - /** - * Gets whether this {@link DamageSource} will deal damage that - * bypasses any armor. - */ - // @ts-ignore - isBypassingArmor(): boolean; - /** - * Gets whether this {@link DamageSource}'s damage is scaled by - * {@link Difficulty}. - */ - // @ts-ignore - isScaledByDifficulty(): boolean; - /** - * Gets whether this {@link DamageSource} is an explosion. - */ - // @ts-ignore - isExplosive(): boolean; - /** - * Gets whether this {@link DamageSource} is considered to be magical - * damage, such as potions, or other sources. - */ - // @ts-ignore - isMagic(): boolean; - /** - * Gets whether this {@link DamageSource} is considered to damage creative, or - * otherwise "normally unharmable" players. Usually associated with - * {@link DamageTypes#VOID}. - */ - // @ts-ignore - doesAffectCreative(): boolean; - /** - * Gets the amount of exhaustion this {@link DamageSource} will - * add to the entity, generally only to players. - *

In vanilla gameplay this is set to 0.1 by default and - * overridden to 0 if the source is set to be absolute or - * as overriding armor.

- */ - // @ts-ignore - getExhaustion(): number; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSources.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSources.ts deleted file mode 100644 index e4ee7862..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.DamageSources.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - // @ts-ignore - class DamageSources { - // @ts-ignore - public static DRAGON_BREATH: org.spongepowered.api.event.cause.entity.damage.source.DamageSource; - // @ts-ignore - public static DROWNING: org.spongepowered.api.event.cause.entity.damage.source.DamageSource; - // @ts-ignore - public static FALLING: org.spongepowered.api.event.cause.entity.damage.source.DamageSource; - // @ts-ignore - public static FIRE_TICK: org.spongepowered.api.event.cause.entity.damage.source.DamageSource; - // @ts-ignore - public static GENERIC: org.spongepowered.api.event.cause.entity.damage.source.DamageSource; - // @ts-ignore - public static MAGIC: org.spongepowered.api.event.cause.entity.damage.source.DamageSource; - // @ts-ignore - public static MELTING: org.spongepowered.api.event.cause.entity.damage.source.DamageSource; - // @ts-ignore - public static POISON: org.spongepowered.api.event.cause.entity.damage.source.DamageSource; - // @ts-ignore - public static STARVATION: org.spongepowered.api.event.cause.entity.damage.source.DamageSource; - // @ts-ignore - public static VOID: org.spongepowered.api.event.cause.entity.damage.source.DamageSource; - // @ts-ignore - public static WITHER: org.spongepowered.api.event.cause.entity.damage.source.DamageSource; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.Builder.ts deleted file mode 100644 index 33f4fa37..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.Builder.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace EntityDamageSource { - // @ts-ignore - interface Builder extends org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.EntityDamageSourceBuilder { - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.EntityDamageSourceBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.EntityDamageSourceBuilder.ts deleted file mode 100644 index f1023998..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.EntityDamageSourceBuilder.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace EntityDamageSource { - // @ts-ignore - interface EntityDamageSourceBuilder extends org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder { - /** - * Sets the {@link Entity} as the damage "source". - */ - // @ts-ignore - entity(entity: org.spongepowered.api.entity.Entity): org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.EntityDamageSourceBuilder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.ts deleted file mode 100644 index 7deff3f6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - // @ts-ignore - interface EntityDamageSource extends org.spongepowered.api.event.cause.entity.damage.source.DamageSource { - /** - * Creates a new {@link Builder} for building an {@link EntityDamageSource}. - */ - // @ts-ignore - builder(): org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.Builder; - /** - * Gets the {@link Entity} that is the source. - */ - // @ts-ignore - getSource(): org.spongepowered.api.entity.Entity; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.FallingBlockDamageSource.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.FallingBlockDamageSource.Builder.ts deleted file mode 100644 index a8103d0f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.FallingBlockDamageSource.Builder.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace FallingBlockDamageSource { - // @ts-ignore - interface Builder extends org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.EntityDamageSourceBuilder { - /** - * Sets the {@link ImmutableFallingBlockData} for the damage source. - */ - // @ts-ignore - fallingBlock(fallingBlock: org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFallingBlockData): org.spongepowered.api.event.cause.entity.damage.source.FallingBlockDamageSource.Builder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.FallingBlockDamageSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.FallingBlockDamageSource.ts deleted file mode 100644 index 75724155..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.FallingBlockDamageSource.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - // @ts-ignore - interface FallingBlockDamageSource extends org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource { - /** - * Creates a new {@link Builder} for constructing a new {@link FallingBlockDamageSource}. - */ - // @ts-ignore - builder(): org.spongepowered.api.event.cause.entity.damage.source.FallingBlockDamageSource.Builder; - // @ts-ignore - getSource(): org.spongepowered.api.entity.FallingBlock; - /** - * Gets the {@link ImmutableFallingBlockData} backing the - * {@link FallingBlock}. - */ - // @ts-ignore - getFallingBlockData(): org.spongepowered.api.data.manipulator.immutable.entity.ImmutableFallingBlockData; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.AbstractBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.AbstractBuilder.ts deleted file mode 100644 index 18a31e20..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.AbstractBuilder.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace IndirectEntityDamageSource { - // @ts-ignore - interface AbstractBuilder extends org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.EntityDamageSourceBuilder { - /** - * Sets the {@link Entity} that is indirectly damaging. - */ - // @ts-ignore - proxySource(proxy: org.spongepowered.api.entity.Entity): org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.AbstractBuilder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.Builder.ts deleted file mode 100644 index dd1fe1b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.Builder.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace IndirectEntityDamageSource { - // @ts-ignore - interface Builder extends org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.AbstractBuilder { - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.ts deleted file mode 100644 index 7c8c1262..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - // @ts-ignore - interface IndirectEntityDamageSource extends org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource { - /** - * Creates a new {@link Builder} for constructing - * {@link IndirectEntityDamageSource}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.Builder; - /** - * Gets the {@link Entity} that is indirectly using the {@link #getSource()} - * to cause damage. - */ - // @ts-ignore - getIndirectSource(): org.spongepowered.api.entity.Entity; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractDamageSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractDamageSource.ts deleted file mode 100644 index 24f786ee..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractDamageSource.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace common { - // @ts-ignore - abstract class AbstractDamageSource implements org.spongepowered.api.event.cause.entity.damage.source.DamageSource { - constructor(builder: org.spongepowered.api.event.cause.entity.damage.source.common.AbstractDamageSourceBuilder) - // @ts-ignore - public getType(): org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public isAbsolute(): boolean; - // @ts-ignore - public isBypassingArmor(): boolean; - // @ts-ignore - public isScaledByDifficulty(): boolean; - // @ts-ignore - public isExplosive(): boolean; - // @ts-ignore - public isMagic(): boolean; - // @ts-ignore - public doesAffectCreative(): boolean; - // @ts-ignore - public getExhaustion(): number; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractDamageSourceBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractDamageSourceBuilder.ts deleted file mode 100644 index c3c33e15..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractDamageSourceBuilder.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace common { - // @ts-ignore - abstract class AbstractDamageSourceBuilder implements org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder { - constructor() - // @ts-ignore - protected scales: boolean; - // @ts-ignore - protected bypasses: boolean; - // @ts-ignore - protected damageType: org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public scalesWithDifficulty(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - // @ts-ignore - public bypassesArmor(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - // @ts-ignore - public explosion(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - // @ts-ignore - public absolute(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - // @ts-ignore - public magical(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - // @ts-ignore - public creative(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - // @ts-ignore - public exhaustion(exhaustion: number): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - // @ts-ignore - public type(damageType: org.spongepowered.api.event.cause.entity.damage.DamageType): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - // @ts-ignore - public from(value: org.spongepowered.api.event.cause.entity.damage.source.DamageSource): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - // @ts-ignore - public reset(): org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder.ts deleted file mode 100644 index 83ee37bc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace common { - namespace AbstractEntityDamageSource { - // @ts-ignore - abstract class AbstractEntityDamageSourceBuilder extends org.spongepowered.api.event.cause.entity.damage.source.common.AbstractDamageSourceBuilder implements org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.EntityDamageSourceBuilder { - constructor() - // @ts-ignore - protected source: org.spongepowered.api.entity.Entity; - // @ts-ignore - public entity(entity: org.spongepowered.api.entity.Entity): org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.EntityDamageSourceBuilder; - // @ts-ignore - public reset(): org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource.EntityDamageSourceBuilder; - } - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractEntityDamageSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractEntityDamageSource.ts deleted file mode 100644 index 52df3e95..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractEntityDamageSource.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace common { - // @ts-ignore - abstract class AbstractEntityDamageSource implements org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource { - constructor(builder: org.spongepowered.api.event.cause.entity.damage.source.common.AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder) - // @ts-ignore - public getSource(): org.spongepowered.api.entity.Entity; - // @ts-ignore - public getType(): org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public isAbsolute(): boolean; - // @ts-ignore - public isBypassingArmor(): boolean; - // @ts-ignore - public isScaledByDifficulty(): boolean; - // @ts-ignore - public isExplosive(): boolean; - // @ts-ignore - public isMagic(): boolean; - // @ts-ignore - public doesAffectCreative(): boolean; - // @ts-ignore - public getExhaustion(): number; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractIndirectEntityDamageSource.AbstractIndirectEntityDamageSourceBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractIndirectEntityDamageSource.AbstractIndirectEntityDamageSourceBuilder.ts deleted file mode 100644 index 24076ffb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractIndirectEntityDamageSource.AbstractIndirectEntityDamageSourceBuilder.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace common { - namespace AbstractIndirectEntityDamageSource { - // @ts-ignore - abstract class AbstractIndirectEntityDamageSourceBuilder extends org.spongepowered.api.event.cause.entity.damage.source.common.AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder implements org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.AbstractBuilder { - constructor() - // @ts-ignore - protected sourceEntity: org.spongepowered.api.entity.Entity; - // @ts-ignore - protected indirect: org.spongepowered.api.entity.Entity; - // @ts-ignore - public entity(entity: org.spongepowered.api.entity.Entity): org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.AbstractBuilder; - // @ts-ignore - public proxySource(projectile: org.spongepowered.api.entity.Entity): org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.AbstractBuilder; - // @ts-ignore - public reset(): org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource.AbstractBuilder; - } - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractIndirectEntityDamageSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractIndirectEntityDamageSource.ts deleted file mode 100644 index 38ab8965..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.damage.source.common.AbstractIndirectEntityDamageSource.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace damage { - namespace source { - namespace common { - // @ts-ignore - abstract class AbstractIndirectEntityDamageSource implements org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource { - constructor(builder: org.spongepowered.api.event.cause.entity.damage.source.common.AbstractIndirectEntityDamageSource.AbstractIndirectEntityDamageSourceBuilder) - // @ts-ignore - public getSource(): org.spongepowered.api.entity.Entity; - // @ts-ignore - public getType(): org.spongepowered.api.event.cause.entity.damage.DamageType; - // @ts-ignore - public isAbsolute(): boolean; - // @ts-ignore - public isBypassingArmor(): boolean; - // @ts-ignore - public isScaledByDifficulty(): boolean; - // @ts-ignore - public isExplosive(): boolean; - // @ts-ignore - public isMagic(): boolean; - // @ts-ignore - public doesAffectCreative(): boolean; - // @ts-ignore - public getIndirectSource(): org.spongepowered.api.entity.Entity; - // @ts-ignore - public getExhaustion(): number; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.dismount.DismountType.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.dismount.DismountType.ts deleted file mode 100644 index 80c62179..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.dismount.DismountType.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace dismount { - // @ts-ignore - interface DismountType extends org.spongepowered.api.CatalogType { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.dismount.DismountTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.dismount.DismountTypes.ts deleted file mode 100644 index 28b0a004..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.dismount.DismountTypes.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace dismount { - // @ts-ignore - class DismountTypes { - // @ts-ignore - public static DEATH: org.spongepowered.api.event.cause.entity.dismount.DismountType; - // @ts-ignore - public static DERAIL: org.spongepowered.api.event.cause.entity.dismount.DismountType; - // @ts-ignore - public static PLAYER: org.spongepowered.api.event.cause.entity.dismount.DismountType; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealingType.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealingType.ts deleted file mode 100644 index 509d3600..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealingType.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - // @ts-ignore - interface HealingType extends org.spongepowered.api.CatalogType { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealingTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealingTypes.ts deleted file mode 100644 index 743dc6b3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealingTypes.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - // @ts-ignore - class HealingTypes { - // @ts-ignore - public static BOSS: org.spongepowered.api.event.cause.entity.health.HealingType; - // @ts-ignore - public static FOOD: org.spongepowered.api.event.cause.entity.health.HealingType; - // @ts-ignore - public static PLUGIN: org.spongepowered.api.event.cause.entity.health.HealingType; - // @ts-ignore - public static POTION: org.spongepowered.api.event.cause.entity.health.HealingType; - // @ts-ignore - public static UNDEAD: org.spongepowered.api.event.cause.entity.health.HealingType; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthFunction.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthFunction.ts deleted file mode 100644 index 97e0633b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthFunction.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - // @ts-ignore - class HealthFunction implements org.spongepowered.api.event.cause.entity.ModifierFunction { - /** - * Creates a new {@link HealthFunction} with the provided - * {@link HealthModifier}. The caveat is that the provided - * {@link DoubleUnaryOperator} is by default going to provide {@code 0} - * healing modifications. - */ - constructor(modifier: org.spongepowered.api.event.cause.entity.health.HealthModifier) - /** - * Creates a new {@link HealthFunction} with the provided - * {@link HealthModifier} and function. - */ - constructor(modifier: org.spongepowered.api.event.cause.entity.health.HealthModifier, func: any) - // @ts-ignore - public static NO_HEALTH: any; - /** - * Constructs a new health function. - */ - // @ts-ignore - public static of(first: org.spongepowered.api.event.cause.entity.health.HealthModifier, second: any): org.spongepowered.api.event.cause.entity.health.HealthFunction; - /** - * Gets the {@link HealthModifier} for this function. - */ - // @ts-ignore - public getModifier(): org.spongepowered.api.event.cause.entity.health.HealthModifier; - /** - * Gets the {@link DoubleUnaryOperator} for this function. - */ - // @ts-ignore - public getFunction(): any; - // @ts-ignore - public toString(): string; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifier.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifier.Builder.ts deleted file mode 100644 index 40058e2f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifier.Builder.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace HealthModifier { - // @ts-ignore - class Builder implements org.spongepowered.api.util.ResettableBuilder { - /** - * Creates a new {@link Builder}. - */ - // @ts-ignore - public static builder(): org.spongepowered.api.event.cause.entity.health.HealthModifier.Builder; - /** - * Sets the {@link HealthModifierType} for the {@link HealthModifier} to - * build. - */ - // @ts-ignore - public type(healthModifierType: org.spongepowered.api.event.cause.entity.health.HealthModifierType): org.spongepowered.api.event.cause.entity.health.HealthModifier.Builder; - /** - * Sets the {@link Cause} for the {@link HealthModifier} to build. - */ - // @ts-ignore - public cause(cause: org.spongepowered.api.event.cause.Cause): org.spongepowered.api.event.cause.entity.health.HealthModifier.Builder; - /** - * Creates a new {@link HealthModifier} with this builder's provided - * {@link Cause} and {@link HealthModifierType}. - */ - // @ts-ignore - public build(): org.spongepowered.api.event.cause.entity.health.HealthModifier; - // @ts-ignore - public from(value: org.spongepowered.api.event.cause.entity.health.HealthModifier): org.spongepowered.api.event.cause.entity.health.HealthModifier.Builder; - // @ts-ignore - public reset(): org.spongepowered.api.event.cause.entity.health.HealthModifier.Builder; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifier.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifier.ts deleted file mode 100644 index 264705ec..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifier.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - // @ts-ignore - interface HealthModifier { - /** - * Creates a new {@link Builder} for constructing new {@link HealthModifier}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.event.cause.entity.health.HealthModifier.Builder; - /** - * Gets the {@link HealthModifierType} for this {@link HealthModifier}. - */ - // @ts-ignore - getType(): org.spongepowered.api.event.cause.entity.health.HealthModifierType; - /** - * Gets the cause of this {@link HealthModifier}. - */ - // @ts-ignore - getCause(): org.spongepowered.api.event.cause.Cause; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifierType.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifierType.ts deleted file mode 100644 index 6b17d379..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifierType.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - // @ts-ignore - interface HealthModifierType extends org.spongepowered.api.CatalogType { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifierTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifierTypes.ts deleted file mode 100644 index 0ab448fe..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.HealthModifierTypes.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - // @ts-ignore - class HealthModifierTypes { - // @ts-ignore - public static ABSORPTION: org.spongepowered.api.event.cause.entity.health.HealthModifierType; - // @ts-ignore - public static ARMOR: org.spongepowered.api.event.cause.entity.health.HealthModifierType; - // @ts-ignore - public static DEFENSIVE_POTION_EFFECT: org.spongepowered.api.event.cause.entity.health.HealthModifierType; - // @ts-ignore - public static DIFFICULTY: org.spongepowered.api.event.cause.entity.health.HealthModifierType; - // @ts-ignore - public static MAGIC: org.spongepowered.api.event.cause.entity.health.HealthModifierType; - // @ts-ignore - public static OFFENSIVE_POTION_EFFECT: org.spongepowered.api.event.cause.entity.health.HealthModifierType; - // @ts-ignore - public static WEAPON_ENCHANTMENT: org.spongepowered.api.event.cause.entity.health.HealthModifierType; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.BlockHealingSource.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.BlockHealingSource.Builder.ts deleted file mode 100644 index 7cebc1f3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.BlockHealingSource.Builder.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - namespace BlockHealingSource { - // @ts-ignore - interface Builder extends org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder { - // @ts-ignore - block(location: org.spongepowered.api.world.Location): org.spongepowered.api.event.cause.entity.health.source.BlockHealingSource.Builder; - // @ts-ignore - block(blockState: org.spongepowered.api.block.BlockSnapshot): org.spongepowered.api.event.cause.entity.health.source.BlockHealingSource.Builder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.BlockHealingSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.BlockHealingSource.ts deleted file mode 100644 index d34c0e66..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.BlockHealingSource.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - // @ts-ignore - interface BlockHealingSource extends org.spongepowered.api.event.cause.entity.health.source.HealingSource { - /** - * Creates a builder for building a {@link BlockHealingSource}. - */ - // @ts-ignore - builder(): org.spongepowered.api.event.cause.entity.health.source.BlockHealingSource.Builder; - /** - * Gets the location of the block that acted as the healing source. - */ - // @ts-ignore - getLocation(): org.spongepowered.api.world.Location; - /** - * Gets the block snapshot that is acting as the healing source. - */ - // @ts-ignore - getBlock(): org.spongepowered.api.block.BlockSnapshot; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.Builder.ts deleted file mode 100644 index 2d9cefde..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.Builder.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - namespace EntityHealingSource { - // @ts-ignore - interface Builder extends org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.EntityHealingSourceBuilder { - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.EntityHealingSourceBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.EntityHealingSourceBuilder.ts deleted file mode 100644 index e577552c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.EntityHealingSourceBuilder.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - namespace EntityHealingSource { - // @ts-ignore - interface EntityHealingSourceBuilder extends org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder { - // @ts-ignore - entity(entity: org.spongepowered.api.entity.Entity): org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.EntityHealingSourceBuilder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.ts deleted file mode 100644 index bc9b6b35..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - // @ts-ignore - interface EntityHealingSource extends org.spongepowered.api.event.cause.entity.health.source.HealingSource { - /** - * Gets a new builder to build a new {@link EntityHealingSource}. - */ - // @ts-ignore - builder(): org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.Builder; - /** - * Gets the source entity acting as the healing source. - */ - // @ts-ignore - getSource(): org.spongepowered.api.entity.Entity; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSource.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSource.Builder.ts deleted file mode 100644 index 55249d87..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSource.Builder.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - namespace HealingSource { - // @ts-ignore - interface Builder extends org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder { - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder.ts deleted file mode 100644 index 4a0df715..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - namespace HealingSource { - // @ts-ignore - interface HealingSourceBuilder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets for the built {@link HealingSource} to have scaled with - * difficulty, usually meaning that the amount is scaled. - */ - // @ts-ignore - scalesWithDifficulty(): org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder; - /** - * Sets that the built {@link HealingSource} to have been a "magical" - * source. - */ - // @ts-ignore - magical(): org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder; - /** - * Sets the {@link HealingType}. - */ - // @ts-ignore - type(healingType: org.spongepowered.api.event.cause.entity.health.HealingType): org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder; - // @ts-ignore - build(): org.spongepowered.api.event.cause.entity.health.source.HealingSource; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSource.ts deleted file mode 100644 index 6df064ac..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSource.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - // @ts-ignore - interface HealingSource { - /** - * Creates a new {@link Builder} to construct a new {@link HealingSource}. - */ - // @ts-ignore - builder(): org.spongepowered.api.event.cause.entity.health.source.HealingSource.Builder; - /** - * Gets the {@link HealingType} for this source. - */ - // @ts-ignore - getHealingType(): org.spongepowered.api.event.cause.entity.health.HealingType; - /** - * Gets whether this {@link HealingSource}'s healing amount is scaled by - * {@link Difficulty}. - */ - // @ts-ignore - isDifficultyScaled(): boolean; - /** - * Gets whether this {@link HealingSource} is considered to be magical - * healing, such as potions, or other sources. - */ - // @ts-ignore - isMagic(): boolean; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSources.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSources.ts deleted file mode 100644 index 8192db2c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.HealingSources.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - // @ts-ignore - class HealingSources { - // @ts-ignore - public static FOOD: org.spongepowered.api.event.cause.entity.health.source.HealingSource; - // @ts-ignore - public static GENERIC: org.spongepowered.api.event.cause.entity.health.source.HealingSource; - // @ts-ignore - public static MAGIC: org.spongepowered.api.event.cause.entity.health.source.HealingSource; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.Builder.ts deleted file mode 100644 index f7dbb9ec..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.Builder.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - namespace IndirectEntityHealingSource { - // @ts-ignore - interface Builder extends org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.IndirectEntityHealingSourceBuilder { - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.IndirectEntityHealingSourceBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.IndirectEntityHealingSourceBuilder.ts deleted file mode 100644 index ec805763..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.IndirectEntityHealingSourceBuilder.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - namespace IndirectEntityHealingSource { - // @ts-ignore - interface IndirectEntityHealingSourceBuilder extends org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.EntityHealingSourceBuilder { - /** - * Sets the indirect {@link Entity} that is providing healing. - */ - // @ts-ignore - indirectEntity(entity: org.spongepowered.api.entity.Entity): org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.IndirectEntityHealingSourceBuilder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.ts deleted file mode 100644 index 8af69a53..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - // @ts-ignore - interface IndirectEntityHealingSource extends org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource { - /** - * Creates a new {@link Builder} for constructing an {@link IndirectEntityHealingSource}. - */ - // @ts-ignore - builder(): org.spongepowered.api.event.cause.entity.health.source.IndirectEntityHealingSource.Builder; - /** - * Gets the {@link Entity} indirect source of healing. - */ - // @ts-ignore - getIndirectSource(): org.spongepowered.api.entity.Entity; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractEntityHealingSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractEntityHealingSource.ts deleted file mode 100644 index 1180ff04..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractEntityHealingSource.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - namespace common { - // @ts-ignore - class AbstractEntityHealingSource extends org.spongepowered.api.event.cause.entity.health.source.common.AbstractHealingSource implements org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource { - /** - * Create an {@link EntityHealingSource} based on this abstract one. - */ - constructor(builder: org.spongepowered.api.event.cause.entity.health.source.common.AbstractEntityHealingSourceBuilder) - // @ts-ignore - public getSource(): org.spongepowered.api.entity.Entity; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractEntityHealingSourceBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractEntityHealingSourceBuilder.ts deleted file mode 100644 index 816178d1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractEntityHealingSourceBuilder.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - namespace common { - // @ts-ignore - abstract class AbstractEntityHealingSourceBuilder extends org.spongepowered.api.event.cause.entity.health.source.common.AbstractHealingSourceBuilder implements org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.EntityHealingSourceBuilder { - constructor() - // @ts-ignore - public from(value: org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource): org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.EntityHealingSourceBuilder; - // @ts-ignore - public reset(): org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.EntityHealingSourceBuilder; - // @ts-ignore - public entity(entity: org.spongepowered.api.entity.Entity): org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource.EntityHealingSourceBuilder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractHealingSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractHealingSource.ts deleted file mode 100644 index 55d51679..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractHealingSource.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - namespace common { - // @ts-ignore - abstract class AbstractHealingSource implements org.spongepowered.api.event.cause.entity.health.source.HealingSource { - constructor(builder: org.spongepowered.api.event.cause.entity.health.source.common.AbstractHealingSourceBuilder) - // @ts-ignore - public getHealingType(): org.spongepowered.api.event.cause.entity.health.HealingType; - // @ts-ignore - public isDifficultyScaled(): boolean; - // @ts-ignore - public isMagic(): boolean; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractHealingSourceBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractHealingSourceBuilder.ts deleted file mode 100644 index dd6057e2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractHealingSourceBuilder.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - namespace common { - // @ts-ignore - abstract class AbstractHealingSourceBuilder implements org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder { - constructor() - // @ts-ignore - protected scales: boolean; - // @ts-ignore - protected healingType: org.spongepowered.api.event.cause.entity.health.HealingType; - // @ts-ignore - public scalesWithDifficulty(): org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder; - // @ts-ignore - public magical(): org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder; - // @ts-ignore - public type(healingType: org.spongepowered.api.event.cause.entity.health.HealingType): org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder; - // @ts-ignore - public from(value: org.spongepowered.api.event.cause.entity.health.source.HealingSource): org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder; - // @ts-ignore - public reset(): org.spongepowered.api.event.cause.entity.health.source.HealingSource.HealingSourceBuilder; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractIndirectEntityHealingSource.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractIndirectEntityHealingSource.ts deleted file mode 100644 index 5e51afde..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.health.source.common.AbstractIndirectEntityHealingSource.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace health { - namespace source { - namespace common { - // @ts-ignore - class AbstractIndirectEntityHealingSource { - constructor() - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.spawn.SpawnType.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.spawn.SpawnType.ts deleted file mode 100644 index b746a711..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.spawn.SpawnType.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace spawn { - // @ts-ignore - interface SpawnType extends org.spongepowered.api.CatalogType { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.spawn.SpawnTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.spawn.SpawnTypes.ts deleted file mode 100644 index 0b71defa..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.spawn.SpawnTypes.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace spawn { - // @ts-ignore - class SpawnTypes { - // @ts-ignore - public static BLOCK_SPAWNING: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static BREEDING: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static CHUNK_LOAD: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static CUSTOM: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static DISPENSE: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static DROPPED_ITEM: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static EXPERIENCE: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static FALLING_BLOCK: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static MOB_SPAWNER: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static PASSIVE: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static PLACEMENT: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static PLUGIN: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static PROJECTILE: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static SPAWN_EGG: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static STRUCTURE: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static TNT_IGNITE: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static WEATHER: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - // @ts-ignore - public static WORLD_SPAWNER: org.spongepowered.api.event.cause.entity.spawn.SpawnType; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.teleport.TeleportType.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.teleport.TeleportType.ts deleted file mode 100644 index 74b38756..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.teleport.TeleportType.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace teleport { - // @ts-ignore - interface TeleportType extends org.spongepowered.api.CatalogType { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.teleport.TeleportTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.teleport.TeleportTypes.ts deleted file mode 100644 index 0abc80fe..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.cause.entity.teleport.TeleportTypes.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace cause { - namespace entity { - namespace teleport { - // @ts-ignore - class TeleportTypes { - // @ts-ignore - public static COMMAND: org.spongepowered.api.event.cause.entity.teleport.TeleportType; - // @ts-ignore - public static ENTITY_TELEPORT: org.spongepowered.api.event.cause.entity.teleport.TeleportType; - // @ts-ignore - public static PLUGIN: org.spongepowered.api.event.cause.entity.teleport.TeleportType; - // @ts-ignore - public static PORTAL: org.spongepowered.api.event.cause.entity.teleport.TeleportType; - // @ts-ignore - public static UNKNOWN: org.spongepowered.api.event.cause.entity.teleport.TeleportType; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.command.SendCommandEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.command.SendCommandEvent.ts deleted file mode 100644 index 75fde707..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.command.SendCommandEvent.ts +++ /dev/null @@ -1,51 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace command { - // @ts-ignore - interface SendCommandEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets the command as a string, without any sort of command prefix. - *

For example, if the message was {@code /example bob 3 -f}, then - * the command would be {@code example}.

- */ - // @ts-ignore - getCommand(): string; - /** - * Sets the command as a string, without any sort of command prefix. - *

For example, if the message was {@code /example bob 3 -f}, then - * the command would be {@code example}.

- */ - // @ts-ignore - setCommand(command: string): void; - /** - * Gets the arguments as a string. - *

For example, if the message was {@code /example bob 3 -f}, then - * the arguments would be {@code bob 3 -f}.

- */ - // @ts-ignore - getArguments(): string; - /** - * Sets the arguments as a string. - *

For example, if the message was {@code /example bob 3 -f}, then - * the arguments would be {@code bob 3 -f}.

- */ - // @ts-ignore - setArguments(arguments: string): void; - /** - * The result of the command. - */ - // @ts-ignore - getResult(): org.spongepowered.api.command.CommandResult; - /** - * Sets the result of the command. - */ - // @ts-ignore - setResult(result: org.spongepowered.api.command.CommandResult): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.command.TabCompleteEvent.Chat.ts b/packages/sponge/src/typings/org.spongepowered.api.event.command.TabCompleteEvent.Chat.ts deleted file mode 100644 index 783933cc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.command.TabCompleteEvent.Chat.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace command { - namespace TabCompleteEvent { - // @ts-ignore - interface Chat extends org.spongepowered.api.event.command.TabCompleteEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.command.TabCompleteEvent.Command.ts b/packages/sponge/src/typings/org.spongepowered.api.event.command.TabCompleteEvent.Command.ts deleted file mode 100644 index 6a024ff5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.command.TabCompleteEvent.Command.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace command { - namespace TabCompleteEvent { - // @ts-ignore - interface Command extends org.spongepowered.api.event.command.TabCompleteEvent { - /** - * Gets the command as a string, without any sort of command prefix. - *

For example, if the message was {@code /example bob 3 -f}, - * then the command would be {@code example}.

- */ - // @ts-ignore - getCommand(): string; - /** - * Gets the arguments as a string. - *

For example, if the message was {@code /example bob 3 -f}, - * then the arguments would be {@code bob 3 -f}.

- */ - // @ts-ignore - getArguments(): string; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.command.TabCompleteEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.command.TabCompleteEvent.ts deleted file mode 100644 index f54a703d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.command.TabCompleteEvent.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace command { - // @ts-ignore - interface TabCompleteEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets the message sent to the server for tab completion. - *

The Vanilla client does not send the entire contents of the chat box. - * Instead, it sends the contents of the chat box up to the cursor position - * (excluding the character after the cursor). - */ - // @ts-ignore - getRawMessage(): string; - /** - * Gets the immutable list of the suggestions originally generated. - *

In Vanilla, these suggestions are usually player names, in the case - * of {@link Chat}.

- *

Note: Entries *should not* contain spaces, as they produce strange - * behavior on the Vanilla client (tabbing between entries causes them - * to be appended to the text box, instead of replacing the existing - * entry.

- */ - // @ts-ignore - getOriginalTabCompletions(): any[] /*java.util.List*/; - /** - * Gets the list of available suggestions. This list is mutable, so - * any modifications should happen to this list. All suggestions will - * replace the last word in the arguments on the client. - */ - // @ts-ignore - getTabCompletions(): any[] /*java.util.List*/; - /** - * Gets the location of the block that the player is looking at, if - * available. - *

In Vanilla, this will be available if the player is looking at - * a block within mineable range (the wireframe is displayed on - * the client).

- */ - // @ts-ignore - getTargetPos(): any; - /** - * Gets whether the player is tab completing from a block's GUI. - *

In Vanilla, this will be true if the player is tab - * completing in a commandblock or commandblock minecart's GUI, and - * false otherwise.

- */ - // @ts-ignore - isUsingBlock(): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.data.ChangeDataHolderEvent.ValueChange.ts b/packages/sponge/src/typings/org.spongepowered.api.event.data.ChangeDataHolderEvent.ValueChange.ts deleted file mode 100644 index f4eb42c7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.data.ChangeDataHolderEvent.ValueChange.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace data { - namespace ChangeDataHolderEvent { - // @ts-ignore - interface ValueChange extends org.spongepowered.api.event.data.ChangeDataHolderEvent { - /** - * Gets the original {@link DataTransactionResult} of the {@link Value}s - * that have changed in this event. - */ - // @ts-ignore - getOriginalChanges(): org.spongepowered.api.data.DataTransactionResult; - /** - * Submits a new {@link DataTransactionResult} as a proposal of various - * {@link Value}s to be successfully offered/changed on the original - * {@link DataHolder}. - *

If the proposed {@link DataTransactionResult} provides additional - * values that were not changed in the {@link #getOriginalChanges()}, - * the provided changes suggested to be successfully offered will be - * re-offered

- */ - // @ts-ignore - proposeChanges(result: org.spongepowered.api.data.DataTransactionResult): org.spongepowered.api.event.data.ChangeDataHolderEvent.ValueChange; - /** - * Gets the ending resulting {@link DataTransactionResult} that will be - * offered to the {@link DataHolder}. - */ - // @ts-ignore - getEndResult(): org.spongepowered.api.data.DataTransactionResult; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.data.ChangeDataHolderEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.data.ChangeDataHolderEvent.ts deleted file mode 100644 index f86dfa82..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.data.ChangeDataHolderEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace data { - // @ts-ignore - interface ChangeDataHolderEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets the {@link DataHolder} targeted in this event. - */ - // @ts-ignore - getTargetHolder(): org.spongepowered.api.data.DataHolder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.economy.EconomyTransactionEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.economy.EconomyTransactionEvent.ts deleted file mode 100644 index 3fc2d134..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.economy.EconomyTransactionEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace economy { - // @ts-ignore - interface EconomyTransactionEvent extends org.spongepowered.api.event.Event { - /** - * Gets the {@link TransactionResult} for the transaction that occurred. - */ - // @ts-ignore - getTransactionResult(): org.spongepowered.api.service.economy.transaction.TransactionResult; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.AffectEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.AffectEntityEvent.ts deleted file mode 100644 index b71a4c40..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.AffectEntityEvent.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface AffectEntityEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets an {@link List} of the entity data - * un-affected by event changes. - *

This method MUST be called at {@link Order#PRE} in order - * to be properly initialized, after which it can be called at any time. - * If it is not first called at {@link Order#PRE}, it will throw an {@link IllegalStateException} - * when invoked.

- */ - // @ts-ignore - getEntitySnapshots(): any[] /*java.util.List*/; - /** - * Gets the {@link List} who will be affected after event - * resolution. - */ - // @ts-ignore - getEntities(): any[] /*java.util.List*/; - /** - * Filters out {@link Location}'s from - * {@link AffectEntityEvent#getEntities()} to be affected by this event. - *

Locations for which the predicate returns false will - * be removed from {@link #getEntities()}.

- */ - // @ts-ignore - filterEntityLocations(predicate: any): any[] /*java.util.List*/; - /** - * Filters out {@link Entity}'s from {@link AffectEntityEvent#getEntities()} - * to be affected by this event. - *

Entities for which the predicate returns false will - * be removed from {@link #getEntities()}.

- */ - // @ts-ignore - filterEntities(predicate: any): any[] /*java.util.List*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.AttackEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.AttackEntityEvent.ts deleted file mode 100644 index 9a616a06..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.AttackEntityEvent.ts +++ /dev/null @@ -1,159 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface AttackEntityEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.Cancellable { - // @ts-ignore - SOURCE: string; - // @ts-ignore - HARD_HAT_ARMOR: string; - // @ts-ignore - SHIELD: string; - // @ts-ignore - GENERAL_ARMOR: string; - // @ts-ignore - HELMET: string; - // @ts-ignore - CHESTPLATE: string; - // @ts-ignore - LEGGINGS: string; - // @ts-ignore - BOOTS: string; - // @ts-ignore - RESISTANCE: string; - // @ts-ignore - ABSORPTION: string; - // @ts-ignore - CREATOR: string; - // @ts-ignore - NOTIFIER: string; - /** - * Gets the original "raw" amount of damage to deal to the targeted - * {@link Entity}. - */ - // @ts-ignore - getOriginalDamage(): number; - /** - * Gets the original "final" amount of damage after all original - * {@link DamageModifier}s are applied to {@link #getOriginalDamage()}. - * The "final" damage is considered the amount of health being lost by - * the {@link Entity}, if health is tracked. - */ - // @ts-ignore - getOriginalFinalDamage(): number; - /** - * Gets an {@link ImmutableMap} of all original {@link DamageModifier}s - * and their associated "modified" damage. Note that ordering is not - * retained. - */ - // @ts-ignore - getOriginalDamages(): Map /*java.util.Map*/; - /** - * Gets the original damage for the provided {@link DamageModifier}. If - * the provided {@link DamageModifier} was not included in - * {@link #getOriginalDamages()}, an {@link IllegalArgumentException} is - * thrown. - */ - // @ts-ignore - getOriginalModifierDamage(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier): number; - /** - * Gets the original {@link List} of {@link DamageModifier} to - * {@link Function} that was originally passed into the event. - */ - // @ts-ignore - getOriginalFunctions(): any[] /*java.util.List*/; - /** - * Gets the "base" damage to deal to the targeted {@link Entity}. The - * "base" damage is the original value before passing along the chain of - * {@link Function}s for all known {@link DamageModifier}s. - */ - // @ts-ignore - getBaseOutputDamage(): number; - /** - * Sets the "base" damage to deal to the targeted {@link Entity}. The - * "base" damage is the original value before passing along the chain of - * {@link Function}s for all known {@link DamageModifier}s. - */ - // @ts-ignore - setBaseOutputDamage(baseDamage: number): void; - /** - * Gets the final damage that will be passed into the proceeding - * {@link AttackEntityEvent}. The final damage is the end result of the - * {@link #getBaseOutputDamage()} being applied in {@link Function#apply(Object)} - * available from all the {@link Tuple}s of {@link DamageModifier} to - * {@link Function} in {@link #getOriginalFunctions()}. - */ - // @ts-ignore - getFinalOutputDamage(): number; - /** - * Checks whether the provided {@link DamageModifier} is applicable to the - * current available {@link DamageModifier}s. - */ - // @ts-ignore - isModifierApplicable(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier): boolean; - /** - * Gets the damage for the provided {@link DamageModifier}. Providing that - * {@link #isModifierApplicable(DamageModifier)} returns true, - * the cached "damage" for the {@link DamageModifier} is returned. - */ - // @ts-ignore - getOutputDamage(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier): number; - /** - * Sets the provided {@link Function} to be used for the given - * {@link DamageModifier}. If the {@link DamageModifier} is already - * included in {@link #getModifiers()}, the {@link Function} replaces - * the existing function. If there is no {@link Tuple} for the - * {@link DamageModifier}, a new one is created and added to the end - * of the list of {@link Function}s to be applied to the - * {@link #getBaseOutputDamage()}. - *

If needing to create a custom {@link DamageModifier} is required, - * usage of the - * {@link org.spongepowered.api.event.cause.entity.damage.DamageModifier.Builder} - * is recommended.

- */ - // @ts-ignore - setOutputDamage(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any): void; - /** - * Adds the provided {@link DamageModifier} and {@link Function} to the - * list of modifiers, such that the {@link Set} containing - * {@link DamageModifierType}s provided in {@code before} will appear - * after the provided damage modifier. - */ - // @ts-ignore - addDamageModifierBefore(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any, before: any[] /*java.util.Set*/): void; - /** - * Adds the provided {@link DamageModifier} and {@link Function} to the list - * of modifiers, such that the modifier will appear in order after any - * current modifiers whose type are included in the provided {@link Set} - * of {@link DamageModifierType}s. - */ - // @ts-ignore - addDamageModifierAfter(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any, after: any[] /*java.util.Set*/): void; - /** - * Gets a list of simple {@link Tuple}s of {@link DamageModifier} keyed to - * their representative {@link Function}s. All {@link DamageModifier}s are - * applicable to the entity based on the {@link DamageSource} and any - * possible invulnerabilities due to the {@link DamageSource}. - */ - // @ts-ignore - getModifiers(): any[] /*java.util.List*/; - /** - * Gets the knock back modifier. The modifier itself will apply to the - * momentum of the attacked entity. - */ - // @ts-ignore - getKnockbackModifier(): number; - /** - * Sets the knock back modifier. The modifier itself will apply to the - * momentum of the attacked entity. - */ - // @ts-ignore - setKnockbackModifier(modifier: number): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.Breed.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.Breed.ts deleted file mode 100644 index 22abaa43..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.Breed.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace BreedEntityEvent { - // @ts-ignore - interface Breed extends org.spongepowered.api.event.entity.BreedEntityEvent { - /** - * Gets the offspring {@link Entity}. - */ - // @ts-ignore - getOffspringEntity(): org.spongepowered.api.entity.living.Ageable; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.FindMate.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.FindMate.ts deleted file mode 100644 index 3356d277..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.FindMate.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace BreedEntityEvent { - // @ts-ignore - interface FindMate extends org.spongepowered.api.event.entity.BreedEntityEvent, org.spongepowered.api.event.TristateResult { - /** - * Returns the {@link Animal} this entity will mate with. - */ - // @ts-ignore - getMatingEntity(): org.spongepowered.api.entity.living.animal.Animal; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.ReadyToMate.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.ReadyToMate.ts deleted file mode 100644 index 0da97316..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.ReadyToMate.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace BreedEntityEvent { - // @ts-ignore - interface ReadyToMate extends org.spongepowered.api.event.entity.BreedEntityEvent { - // @ts-ignore - getTargetEntity(): org.spongepowered.api.entity.living.animal.Animal; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.ts deleted file mode 100644 index c3164ead..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.BreedEntityEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface BreedEntityEvent extends org.spongepowered.api.event.entity.InteractEntityEvent { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.Break.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.Break.ts deleted file mode 100644 index c1e55e77..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.Break.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ChangeEntityEquipmentEvent { - // @ts-ignore - interface Break extends org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent, org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetPlayer { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetHumanoid.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetHumanoid.ts deleted file mode 100644 index bfe8a0cc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetHumanoid.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ChangeEntityEquipmentEvent { - // @ts-ignore - interface TargetHumanoid extends org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetLiving, org.spongepowered.api.event.entity.living.humanoid.TargetHumanoidEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetLiving.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetLiving.ts deleted file mode 100644 index 9d2c2779..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetLiving.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ChangeEntityEquipmentEvent { - // @ts-ignore - interface TargetLiving extends org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent, org.spongepowered.api.event.entity.living.TargetLivingEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetPlayer.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetPlayer.ts deleted file mode 100644 index ab5b305a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetPlayer.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ChangeEntityEquipmentEvent { - // @ts-ignore - interface TargetPlayer extends org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.TargetHumanoid, org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.ts deleted file mode 100644 index 629dabcd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface ChangeEntityEquipmentEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.item.inventory.TargetInventoryEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the previously equipped {@link ItemStack} as an - * {@link ItemStackSnapshot}. - *

The previously equipped item may have been empty.

- */ - // @ts-ignore - getOriginalItemStack(): any; - /** - * Gets the new {@link ItemStack} that is being equipped in the relative - * armor slot. - *

The itemstack may not exist or the slot is being emptied.

- */ - // @ts-ignore - getItemStack(): any; - /** - * Gets the {@link Transaction} of {@link ItemStackSnapshot}s for this event. - */ - // @ts-ignore - getTransaction(): org.spongepowered.api.data.Transaction; - // @ts-ignore - getTargetInventory(): org.spongepowered.api.item.inventory.Slot; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityExperienceEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityExperienceEvent.ts deleted file mode 100644 index 2efcc06f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityExperienceEvent.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface ChangeEntityExperienceEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the original total experience unmodified by event changes. - */ - // @ts-ignore - getOriginalExperience(): number; - /** - * Gets the original values for the experience unmodified by event changes. - */ - // @ts-ignore - getOriginalData(): org.spongepowered.api.data.manipulator.immutable.entity.ImmutableExperienceHolderData; - /** - * Gets the total experience after event changes. - */ - // @ts-ignore - getExperience(): number; - /** - * Sets the final total experience after event changes. - */ - // @ts-ignore - setExperience(experience: number): void; - /** - * Gets the experience after an event has been processed. Modify this - * data manipulator to change the final experience. - */ - // @ts-ignore - getFinalData(): org.spongepowered.api.data.manipulator.mutable.entity.ExperienceHolderData; - /** - * This method exists solely to provide backwards-compatibility with existing plugins - * using the old ChangeExperienceEvent. It should not be called directly - instead, - * plugins should use {@link SpongeEventFactory#createChangeEntityExperienceEvent(Cause, ImmutableExperienceHolderData, ExperienceHolderData, Entity)} - */ - // @ts-ignore - createChangeEntityExperienceEvent(cause: org.spongepowered.api.event.cause.Cause, originalExperience: number, experience: number, targetEntity: org.spongepowered.api.entity.Entity): org.spongepowered.api.event.entity.ChangeEntityExperienceEvent; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.Expire.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.Expire.ts deleted file mode 100644 index 42931de9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.Expire.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ChangeEntityPotionEffectEvent { - // @ts-ignore - interface Expire extends org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.Gain.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.Gain.ts deleted file mode 100644 index fb563b5b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.Gain.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ChangeEntityPotionEffectEvent { - // @ts-ignore - interface Gain extends org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent { - /** - * Gets the original potion effect involved in this event. - */ - // @ts-ignore - getOriginalPotionEffect(): org.spongepowered.api.effect.potion.PotionEffect; - /** - * Sets the potion effect to be used in this event. - */ - // @ts-ignore - setPotionEffect(effect: org.spongepowered.api.effect.potion.PotionEffect): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.Remove.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.Remove.ts deleted file mode 100644 index 638081a9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.Remove.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ChangeEntityPotionEffectEvent { - // @ts-ignore - interface Remove extends org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.ts deleted file mode 100644 index 732204e5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ChangeEntityPotionEffectEvent.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface ChangeEntityPotionEffectEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets a copy of all current effects applied on the entity. - */ - // @ts-ignore - getCurrentEffects(): any[] /*java.util.List*/; - /** - * Gets the potion effect involved in this event. - */ - // @ts-ignore - getPotionEffect(): org.spongepowered.api.effect.potion.PotionEffect; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.CollideEntityEvent.Impact.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.CollideEntityEvent.Impact.ts deleted file mode 100644 index 4a5b8dbd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.CollideEntityEvent.Impact.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace CollideEntityEvent { - // @ts-ignore - interface Impact extends org.spongepowered.api.event.entity.CollideEntityEvent, org.spongepowered.api.event.action.CollideEvent.Impact { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.CollideEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.CollideEntityEvent.ts deleted file mode 100644 index 2a354084..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.CollideEntityEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface CollideEntityEvent extends org.spongepowered.api.event.action.CollideEvent, org.spongepowered.api.event.entity.AffectEntityEvent { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ConstructEntityEvent.Post.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ConstructEntityEvent.Post.ts deleted file mode 100644 index 93906b6f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ConstructEntityEvent.Post.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ConstructEntityEvent { - // @ts-ignore - interface Post extends org.spongepowered.api.event.entity.ConstructEntityEvent, org.spongepowered.api.event.entity.TargetEntityEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ConstructEntityEvent.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ConstructEntityEvent.Pre.ts deleted file mode 100644 index 6803d1cc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ConstructEntityEvent.Pre.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ConstructEntityEvent { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.entity.ConstructEntityEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ConstructEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ConstructEntityEvent.ts deleted file mode 100644 index 29e5c878..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ConstructEntityEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface ConstructEntityEvent extends org.spongepowered.api.event.Event { - /** - * Gets the {@link Transform} that the {@link Entity} will be constructed with. - */ - // @ts-ignore - getTransform(): org.spongepowered.api.entity.Transform; - /** - * Gets the {@link EntityType} of the target {@link Entity} that is going to be - * constructed. - */ - // @ts-ignore - getTargetType(): org.spongepowered.api.entity.EntityType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.DamageEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.DamageEntityEvent.ts deleted file mode 100644 index 81f07f23..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.DamageEntityEvent.ts +++ /dev/null @@ -1,128 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface DamageEntityEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the original "raw" amount of damage to deal to the targeted - * {@link Entity}. - */ - // @ts-ignore - getOriginalDamage(): number; - /** - * Gets the original "final" amount of damage after all original - * {@link DamageModifier}s are applied to {@link #getOriginalDamage()}. - * The "final" damage is considered the amount of health being lost by - * the {@link Entity}, if health is tracked. - */ - // @ts-ignore - getOriginalFinalDamage(): number; - /** - * Gets an {@link ImmutableMap} of all original {@link DamageModifier}s - * and their associated "modified" damage. Note that ordering is not - * retained. - */ - // @ts-ignore - getOriginalDamages(): Map /*java.util.Map*/; - /** - * Gets the original damage for the provided {@link DamageModifier}. If - * the provided {@link DamageModifier} was not included in - * {@link #getOriginalDamages()}, an {@link IllegalArgumentException} is - * thrown. - */ - // @ts-ignore - getOriginalModifierDamage(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier): number; - /** - * Gets the original {@link List} of {@link DamageModifier} to - * {@link DamageFunction} that was originally passed into the event. - */ - // @ts-ignore - getOriginalFunctions(): any[] /*java.util.List*/; - /** - * Gets the "base" damage to deal to the targeted {@link Entity}. The - * "base" damage is the original value before passing along the chain of - * {@link DamageFunction}s for all known {@link DamageModifier}s. - */ - // @ts-ignore - getBaseDamage(): number; - /** - * Sets the "base" damage to deal to the targeted {@link Entity}. The - * "base" damage is the original value before passing along the chain of - * {@link DamageFunction}s for all known {@link DamageModifier}s. - */ - // @ts-ignore - setBaseDamage(baseDamage: number): void; - /** - * Gets the final damage that will be passed into the proceeding - * {@link DamageEntityEvent}. The final damage is the end result of the - * {@link #getBaseDamage()} being applied in {@link DoubleUnaryOperator#applyAsDouble(double)} - * available from all the {@link Tuple}s of {@link DamageModifier} to - * {@link DamageFunction} in {@link #getOriginalFunctions()}. - */ - // @ts-ignore - getFinalDamage(): number; - /** - * Checks whether the provided {@link DamageModifier} is applicable to the - * current available {@link DamageModifier}s. - */ - // @ts-ignore - isModifierApplicable(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier): boolean; - /** - * Gets the damage for the provided {@link DamageModifier}. Providing that - * {@link #isModifierApplicable(DamageModifier)} returns true, - * the cached "damage" for the {@link DamageModifier} is returned. - */ - // @ts-ignore - getDamage(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier): number; - /** - * Sets the provided {@link DamageFunction} to be used for the given - * {@link DamageModifier}. If the {@link DamageModifier} is already - * included in {@link #getModifiers()}, the {@link DoubleUnaryOperator} replaces - * the existing function. If there is no {@link Tuple} for the - * {@link DamageModifier}, a new one is created and added to the end - * of the list of {@link DoubleUnaryOperator}s to be applied to the - * {@link #getBaseDamage()}. - *

If needing to create a custom {@link DamageModifier} is required, - * usage of the {@link Builder} is recommended.

- */ - // @ts-ignore - setDamage(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any): void; - /** - * Adds the provided {@link DamageModifier} and {@link DoubleUnaryOperator} to the - * list of modifiers, such that the {@link Set} containing - * {@link DamageModifierType}s provided in {@code before} will appear - * after the provided damage modifier. - */ - // @ts-ignore - addDamageModifierBefore(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any, before: any[] /*java.util.Set*/): void; - /** - * Adds the provided {@link DamageModifier} and {@link DoubleUnaryOperator} to the list - * of modifiers, such that the modifier will appear in order after any - * current modifiers whose type are included in the provided {@link Set} of - * {@link DamageModifierType}s. - */ - // @ts-ignore - addModifierAfter(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any, after: any[] /*java.util.Set*/): void; - /** - * Gets a list of simple {@link Tuple}s of {@link DamageModifier} keyed to - * their representative {@link DamageFunction}s. All {@link DamageModifier}s are - * applicable to the entity based on the {@link DamageSource} and any - * possible invulnerabilities due to the {@link DamageSource}. - */ - // @ts-ignore - getModifiers(): any[] /*java.util.List*/; - /** - * Returns whether or not this event will cause the entity to die if the - * event is not cancelled. Only supported for living entities, returns false - * if {@link #getTargetEntity()} is not a living entity. - */ - // @ts-ignore - willCauseDeath(): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.DestructEntityEvent.Death.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.DestructEntityEvent.Death.ts deleted file mode 100644 index d4e3e831..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.DestructEntityEvent.Death.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace DestructEntityEvent { - // @ts-ignore - interface Death extends org.spongepowered.api.event.entity.DestructEntityEvent, org.spongepowered.api.event.entity.living.TargetLivingEvent, org.spongepowered.api.event.Cancellable { - /** - * Applies the {@link DefaultGameRules#KEEP_INVENTORY} gamerule to this - * entity alone. - *

This only works for players

- */ - // @ts-ignore - setKeepInventory(keepInventory: boolean): void; - /** - * Returns whether the inventory is kept after death. - *

By default this is the same as the - * {@link DefaultGameRules#KEEP_INVENTORY} gamerule.

- */ - // @ts-ignore - getKeepInventory(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.DestructEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.DestructEntityEvent.ts deleted file mode 100644 index a7f7e87f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.DestructEntityEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface DestructEntityEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.message.MessageChannelEvent { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ExpireEntityEvent.TargetItem.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ExpireEntityEvent.TargetItem.ts deleted file mode 100644 index dd086dc3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ExpireEntityEvent.TargetItem.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ExpireEntityEvent { - // @ts-ignore - interface TargetItem extends org.spongepowered.api.event.entity.ExpireEntityEvent, org.spongepowered.api.event.entity.item.TargetItemEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ExpireEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ExpireEntityEvent.ts deleted file mode 100644 index 41c68739..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ExpireEntityEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface ExpireEntityEvent extends org.spongepowered.api.event.entity.TargetEntityEvent { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.TargetHumanoid.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.TargetHumanoid.ts deleted file mode 100644 index f0e1c4b0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.TargetHumanoid.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace HarvestEntityEvent { - // @ts-ignore - interface TargetHumanoid extends org.spongepowered.api.event.entity.HarvestEntityEvent.TargetLiving, org.spongepowered.api.event.entity.living.humanoid.TargetHumanoidEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.TargetLiving.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.TargetLiving.ts deleted file mode 100644 index 0f28674d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.TargetLiving.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace HarvestEntityEvent { - // @ts-ignore - interface TargetLiving extends org.spongepowered.api.event.entity.HarvestEntityEvent, org.spongepowered.api.event.entity.living.TargetLivingEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.TargetPlayer.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.TargetPlayer.ts deleted file mode 100644 index a7bb3228..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.TargetPlayer.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace HarvestEntityEvent { - // @ts-ignore - interface TargetPlayer extends org.spongepowered.api.event.entity.HarvestEntityEvent.TargetHumanoid, org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent { - /** - * Gets whether the player keeps their inventory on death. - */ - // @ts-ignore - keepsInventory(): boolean; - /** - * Sets if the player keeps their inventory on death. - */ - // @ts-ignore - setKeepsInventory(keepInventory: boolean): void; - /** - * Gets whether the player keeps all of their EXP on death. - */ - // @ts-ignore - keepsLevel(): boolean; - /** - * Sets if the player keeps all of their EXP on death. - */ - // @ts-ignore - setKeepsLevel(keepLevel: boolean): void; - /** - * Gets the new level the player will have after death. - */ - // @ts-ignore - getLevel(): number; - /** - * Sets the new level the player will have after death. - */ - // @ts-ignore - setLevel(level: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.ts deleted file mode 100644 index 7e98be10..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.HarvestEntityEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface HarvestEntityEvent extends org.spongepowered.api.event.entity.ChangeEntityExperienceEvent { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.HealEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.HealEntityEvent.ts deleted file mode 100644 index 9d5ca9b2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.HealEntityEvent.ts +++ /dev/null @@ -1,106 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface HealEntityEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the original amount to "heal" the targeted {@link Entity}. - */ - // @ts-ignore - getOriginalHealAmount(): number; - /** - * Gets the original "final" amount of healing after all original - * {@link HealthModifier}s are applied to {@link #getOriginalHealAmount()}. - * The "final" heal amount is considered the amount gained by the - * {@link Entity}, if health is tracked. - */ - // @ts-ignore - getOriginalFinalHealAmount(): number; - /** - * Gets an {@link Map} of all original {@link HealthModifier}s and their - * associated "modified" heal amount. Note that ordering is not retained. - */ - // @ts-ignore - getOriginalHealingAmounts(): Map /*java.util.Map*/; - /** - * Gets the final heal amount that will be applied to the entity. The final - * heal amount is the end result of the {@link #getBaseHealAmount()} being - * applied in {@link DoubleUnaryOperator#applyAsDouble(double)} available - * from all the {@link Tuple}s of {@link HealthModifier} to - * {@link DoubleUnaryOperator} in {@link #getOriginalFunctions()}. - */ - // @ts-ignore - getFinalHealAmount(): number; - /** - * Gets the original healing amount for the provided {@link HealthModifier}. - * If the provided {@link HealthModifier} was not included in - * {@link #getOriginalHealingAmounts()}, an {@link IllegalArgumentException} - * is thrown. - */ - // @ts-ignore - getOriginalHealingModifierAmount(healthModifier: org.spongepowered.api.event.cause.entity.health.HealthModifier): number; - /** - * Gets the original {@link List} of {@link HealthFunction}s that was - * originally passed into the event. - */ - // @ts-ignore - getOriginalFunctions(): any[] /*java.util.List*/; - /** - * Gets the "base" healing amount to apply to the targeted {@link Entity}. - * The "base" heal amount is the original value before passing along the - * chain of {@link DoubleUnaryOperator}s for all known - * {@link HealthModifier}s. - */ - // @ts-ignore - getBaseHealAmount(): number; - /** - * Sets the "base" healing amount to apply to the targeted {@link Entity}. - * The "base" heal amount is the original value passed along the chain of - * {@link DoubleUnaryOperator}s for all known {@link HealthModifier}s. - */ - // @ts-ignore - setBaseHealAmount(healAmount: number): void; - /** - * Checks whether the provided {@link HealthModifier} is applicable to the - * current available {@link HealthModifier}s. - */ - // @ts-ignore - isModifierApplicable(healthModifier: org.spongepowered.api.event.cause.entity.health.HealthModifier): boolean; - /** - * Gets the heal amount for the provided {@link HealthModifier}. Providing - * that {@link #isModifierApplicable(HealthModifier)} returns - * true, the cached "heal amount" for the - * {@link HealthModifier} is returned. - */ - // @ts-ignore - getHealAmount(healthModifier: org.spongepowered.api.event.cause.entity.health.HealthModifier): number; - /** - * Sets the provided {@link DoubleUnaryOperator} to be used for the given - * {@link HealthModifier}. If the {@link HealthModifier} is already included - * in {@link #getModifiers()}, the {@link DoubleUnaryOperator} replaces the - * existing function. If there is no {@link HealthFunction} for the - * {@link HealthModifier}, a new one is created and added to the end of the - * list of {@link DoubleUnaryOperator}s to be applied to the - * {@link #getBaseHealAmount()}. - *

If needing to create a custom {@link HealthModifier} is required, - * usage of the - * {@link org.spongepowered.api.event.cause.entity.health.HealthModifier.Builder} - * is recommended.

- */ - // @ts-ignore - setHealAmount(healthModifier: org.spongepowered.api.event.cause.entity.health.HealthModifier, func: any): void; - /** - * Gets a list of simple {@link HealthFunction}s. All {@link HealthModifier} - * s are applicable to the entity based on the {@link HealingSource} and any - * possible invulnerabilities due to the {@link HealingSource}. - */ - // @ts-ignore - getModifiers(): any[] /*java.util.List*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.IgniteEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.IgniteEntityEvent.ts deleted file mode 100644 index 07b0882f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.IgniteEntityEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface IgniteEntityEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the original amount of fire ticks the entity will remain on fire. - */ - // @ts-ignore - getOriginalFireTicks(): number; - /** - * Gets the amount of ticks the entity will remain on fire. - */ - // @ts-ignore - getFireTicks(): number; - /** - * Sets the amount of ticks the entity will remain on fire. - */ - // @ts-ignore - setFireTicks(fireTicks: number): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Primary.MainHand.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Primary.MainHand.ts deleted file mode 100644 index a6c830ab..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Primary.MainHand.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace InteractEntityEvent { - namespace Primary { - // @ts-ignore - interface MainHand extends org.spongepowered.api.event.entity.InteractEntityEvent.Primary { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Primary.OffHand.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Primary.OffHand.ts deleted file mode 100644 index 02bd71c6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Primary.OffHand.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace InteractEntityEvent { - namespace Primary { - // @ts-ignore - interface OffHand extends org.spongepowered.api.event.entity.InteractEntityEvent.Primary { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Primary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Primary.ts deleted file mode 100644 index 60d4eede..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Primary.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace InteractEntityEvent { - // @ts-ignore - interface Primary extends org.spongepowered.api.event.entity.InteractEntityEvent, org.spongepowered.api.event.entity.living.humanoid.HandInteractEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Secondary.MainHand.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Secondary.MainHand.ts deleted file mode 100644 index f471b733..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Secondary.MainHand.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace InteractEntityEvent { - namespace Secondary { - // @ts-ignore - interface MainHand extends org.spongepowered.api.event.entity.InteractEntityEvent.Secondary { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Secondary.OffHand.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Secondary.OffHand.ts deleted file mode 100644 index b5b4a6ae..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Secondary.OffHand.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace InteractEntityEvent { - namespace Secondary { - // @ts-ignore - interface OffHand extends org.spongepowered.api.event.entity.InteractEntityEvent.Secondary { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Secondary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Secondary.ts deleted file mode 100644 index 544c816f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.Secondary.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace InteractEntityEvent { - // @ts-ignore - interface Secondary extends org.spongepowered.api.event.entity.InteractEntityEvent, org.spongepowered.api.event.entity.living.humanoid.HandInteractEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.ts deleted file mode 100644 index 9a57d0b5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.InteractEntityEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface InteractEntityEvent extends org.spongepowered.api.event.action.InteractEvent, org.spongepowered.api.event.entity.TargetEntityEvent { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.LeashEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.LeashEntityEvent.ts deleted file mode 100644 index d86f99f6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.LeashEntityEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface LeashEntityEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.Position.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.Position.ts deleted file mode 100644 index da3ea6e3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.Position.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace MoveEntityEvent { - // @ts-ignore - interface Position extends org.spongepowered.api.event.entity.MoveEntityEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.Teleport.Portal.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.Teleport.Portal.ts deleted file mode 100644 index 5867999e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.Teleport.Portal.ts +++ /dev/null @@ -1,64 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace MoveEntityEvent { - namespace Teleport { - // @ts-ignore - interface Portal extends org.spongepowered.api.event.entity.MoveEntityEvent.Teleport { - /** - * Sets whether the {@link PortalAgent} will be used. - *

- * If this is set to true, the {@link PortalAgent} will search for a - * portal at the {@link #getToTransform()} location and will attempt to - * create one if not found. - *

- *

- * If this is set to false, the {@link #getTargetEntity()} will only be - * teleported to the {@link #getToTransform()} location. - *

- */ - // @ts-ignore - setUsePortalAgent(usePortalAgent: boolean): void; - /** - * Gets whether the {@link PortalAgent} will be used. - *

- * If this is set to true, the {@link PortalAgent} will search for a - * Portal at the {@link #getToTransform()} location, and will attempt to - * create one if not found. - *

- *

- * If this is set to false, the {@link #getTargetEntity()} will only be - * teleported to the {@link #getToTransform()} location. - *

- */ - // @ts-ignore - getUsePortalAgent(): boolean; - /** - * Gets the {@link PortalAgent} that will be responsible for teleporting - * the {@link #getTargetEntity()} through a Portal. - */ - // @ts-ignore - getPortalAgent(): org.spongepowered.api.world.PortalAgent; - /** - * Sets the {@link PortalAgent} that will be responsible for teleporting - * the {@link #getTargetEntity()} through a Portal. - */ - // @ts-ignore - setPortalAgent(portalAgent: org.spongepowered.api.world.PortalAgent): void; - /** - * This method exists solely to provide backwards-compatibility with existing plugins - * using the old Teleport event. It should not be called directly - instead, - * plugins should use {@link SpongeEventFactory#createMoveEntityEventTeleportPortal(Cause, Transform, Transform, PortalAgent, Entity, boolean, boolean)} - */ - // @ts-ignore - createMoveEntityEventTeleportPortal(cause: org.spongepowered.api.event.cause.Cause, fromTransform: org.spongepowered.api.entity.Transform, toTransform: org.spongepowered.api.entity.Transform, portalAgent: org.spongepowered.api.world.PortalAgent, targetEntity: org.spongepowered.api.entity.Entity, usePortalAgent: boolean): org.spongepowered.api.event.entity.MoveEntityEvent.Teleport.Portal; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.Teleport.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.Teleport.ts deleted file mode 100644 index 1f7a1946..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.Teleport.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace MoveEntityEvent { - // @ts-ignore - interface Teleport extends org.spongepowered.api.event.entity.MoveEntityEvent { - /** - * Gets whether the entity teleporting will maintain its velocity - * after teleport. - */ - // @ts-ignore - getKeepsVelocity(): boolean; - /** - * Sets whether the entity teleporting will maintain its velocity - * after teleport. - */ - // @ts-ignore - setKeepsVelocity(keepsVelocity: boolean): void; - /** - * This method exists solely to provide backwards-compatibility with existing plugins - * using the old Teleport Event. It should not be called directly - instead, - * plugins should use {@link SpongeEventFactory#createMoveEntityEventTeleport(Cause, Transform, Transform, Entity, boolean)} - */ - // @ts-ignore - createMoveEntityEventTeleport(cause: org.spongepowered.api.event.cause.Cause, fromTransform: org.spongepowered.api.entity.Transform, toTransform: org.spongepowered.api.entity.Transform, targetEntity: org.spongepowered.api.entity.Entity): org.spongepowered.api.event.entity.MoveEntityEvent.Teleport; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.ts deleted file mode 100644 index bb861dd3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.MoveEntityEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface MoveEntityEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the transform that the {@link Entity} came from. - */ - // @ts-ignore - getFromTransform(): org.spongepowered.api.entity.Transform; - /** - * Gets the new transform that the {@link Entity} will change to. - */ - // @ts-ignore - getToTransform(): org.spongepowered.api.entity.Transform; - /** - * Sets the new transform that the {@link Entity} will change to. - */ - // @ts-ignore - setToTransform(transform: org.spongepowered.api.entity.Transform): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.RideEntityEvent.Dismount.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.RideEntityEvent.Dismount.ts deleted file mode 100644 index 2030b13f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.RideEntityEvent.Dismount.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace RideEntityEvent { - // @ts-ignore - interface Dismount extends org.spongepowered.api.event.entity.RideEntityEvent { - /** - * Gets the {@link DismountType} when entity is dismounted. - */ - // @ts-ignore - getDismountType(): org.spongepowered.api.event.cause.entity.dismount.DismountType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.RideEntityEvent.Mount.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.RideEntityEvent.Mount.ts deleted file mode 100644 index ca65909e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.RideEntityEvent.Mount.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace RideEntityEvent { - // @ts-ignore - interface Mount extends org.spongepowered.api.event.entity.RideEntityEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.RideEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.RideEntityEvent.ts deleted file mode 100644 index fa3a7342..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.RideEntityEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface RideEntityEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.RotateEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.RotateEntityEvent.ts deleted file mode 100644 index dfb21040..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.RotateEntityEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface RotateEntityEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the transform that the {@link Entity} rotated from. - */ - // @ts-ignore - getFromTransform(): org.spongepowered.api.entity.Transform; - /** - * Gets the new transform that the {@link Entity} will change to. - */ - // @ts-ignore - getToTransform(): org.spongepowered.api.entity.Transform; - /** - * Sets the new transform that the {@link Entity} will change to. - */ - // @ts-ignore - setToTransform(transform: org.spongepowered.api.entity.Transform): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.ChunkLoad.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.ChunkLoad.ts deleted file mode 100644 index 64346c9b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.ChunkLoad.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace SpawnEntityEvent { - // @ts-ignore - interface ChunkLoad extends org.spongepowered.api.event.entity.SpawnEntityEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.Custom.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.Custom.ts deleted file mode 100644 index 2d204a27..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.Custom.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace SpawnEntityEvent { - // @ts-ignore - interface Custom extends org.spongepowered.api.event.entity.SpawnEntityEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.Spawner.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.Spawner.ts deleted file mode 100644 index fc58fe16..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.Spawner.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace SpawnEntityEvent { - // @ts-ignore - interface Spawner extends org.spongepowered.api.event.entity.SpawnEntityEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.ts deleted file mode 100644 index 323b56e0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.SpawnEntityEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface SpawnEntityEvent extends org.spongepowered.api.event.entity.AffectEntityEvent { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.TameEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.TameEntityEvent.ts deleted file mode 100644 index 8de0df5b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.TameEntityEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface TameEntityEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.Cancellable { - // @ts-ignore - USED_ITEM: string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.TargetEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.TargetEntityEvent.ts deleted file mode 100644 index 5a7e0f2c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.TargetEntityEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface TargetEntityEvent extends org.spongepowered.api.event.Event { - /** - * Gets the target {@link Entity}. - */ - // @ts-ignore - getTargetEntity(): org.spongepowered.api.entity.Entity; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.UnleashEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.UnleashEntityEvent.ts deleted file mode 100644 index c03a4030..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.UnleashEntityEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - // @ts-ignore - interface UnleashEntityEvent extends org.spongepowered.api.event.entity.TargetEntityEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.AITaskEvent.Add.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.AITaskEvent.Add.ts deleted file mode 100644 index 1687bc4d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.AITaskEvent.Add.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ai { - namespace AITaskEvent { - // @ts-ignore - interface Add extends org.spongepowered.api.event.entity.ai.AITaskEvent { - /** - * Gets the original priority that {@link AITaskEvent#getTask()} will - * be assigned to. See {@link AITaskEvent#getPriority()}. - */ - // @ts-ignore - getOriginalPriority(): number; - /** - * Sets the priority the task will be assigned to. See - * {@link AITaskEvent#getPriority()}. - */ - // @ts-ignore - setPriority(priority: number): void; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.AITaskEvent.Remove.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.AITaskEvent.Remove.ts deleted file mode 100644 index 427b6a91..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.AITaskEvent.Remove.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ai { - namespace AITaskEvent { - // @ts-ignore - interface Remove extends org.spongepowered.api.event.entity.ai.AITaskEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.AITaskEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.AITaskEvent.ts deleted file mode 100644 index 49d0773d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.AITaskEvent.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ai { - // @ts-ignore - interface AITaskEvent extends org.spongepowered.api.event.entity.living.TargetAgentEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the {@link Goal} the task will be assigned to. - */ - // @ts-ignore - getGoal(): org.spongepowered.api.entity.ai.Goal; - /** - * Gets the {@link AITask} to be assigned. - */ - // @ts-ignore - getTask(): org.spongepowered.api.entity.ai.task.AITask; - /** - * Gets the priority the task will be assigned to. Lower numbers mean - * higher priority. - */ - // @ts-ignore - getPriority(): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.SetAITargetEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.SetAITargetEvent.ts deleted file mode 100644 index d5d350e7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.ai.SetAITargetEvent.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace ai { - // @ts-ignore - interface SetAITargetEvent extends org.spongepowered.api.event.entity.living.TargetAgentEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the {@link Agent}s new target {@link Entity}. - */ - // @ts-ignore - getTarget(): any; - /** - * Sets the {@link Agent}s new target {@link Entity}. - *

This target is set after the event when it is not cancelled.

- *

Setting a {@code null} target removes the target.

- */ - // @ts-ignore - setTarget(target: org.spongepowered.api.entity.Entity): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent.Post.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent.Post.ts deleted file mode 100644 index 9a1dbdfe..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent.Post.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace explosive { - namespace DefuseExplosiveEvent { - // @ts-ignore - interface Post extends org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent.Pre.ts deleted file mode 100644 index 6c87bbbe..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent.Pre.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace explosive { - namespace DefuseExplosiveEvent { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent.ts deleted file mode 100644 index 87e6edf6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DefuseExplosiveEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace explosive { - // @ts-ignore - interface DefuseExplosiveEvent extends org.spongepowered.api.event.entity.explosive.TargetFusedExplosiveEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DetonateExplosiveEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DetonateExplosiveEvent.ts deleted file mode 100644 index 16455c43..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.DetonateExplosiveEvent.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace explosive { - // @ts-ignore - interface DetonateExplosiveEvent extends org.spongepowered.api.event.entity.explosive.TargetExplosiveEvent, org.spongepowered.api.event.Cancellable { - /** - * Returns the explosion of the vanilla behavior that this event was - * initialized with. - */ - // @ts-ignore - getOriginalExplosion(): org.spongepowered.api.world.explosion.Explosion; - /** - * Returns the {@link Builder} that will be used to build the - * explosion for the impending detonation. - */ - // @ts-ignore - getExplosionBuilder(): org.spongepowered.api.world.explosion.Explosion.Builder; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent.Post.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent.Post.ts deleted file mode 100644 index 3ff32078..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent.Post.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace explosive { - namespace PrimeExplosiveEvent { - // @ts-ignore - interface Post extends org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent.Pre.ts deleted file mode 100644 index b684a09e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent.Pre.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace explosive { - namespace PrimeExplosiveEvent { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent.ts deleted file mode 100644 index d9f459d0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.PrimeExplosiveEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace explosive { - // @ts-ignore - interface PrimeExplosiveEvent extends org.spongepowered.api.event.entity.explosive.TargetFusedExplosiveEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.TargetExplosiveEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.TargetExplosiveEvent.ts deleted file mode 100644 index 9f3f4d76..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.TargetExplosiveEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace explosive { - // @ts-ignore - interface TargetExplosiveEvent extends org.spongepowered.api.event.entity.TargetEntityEvent { - // @ts-ignore - getTargetEntity(): org.spongepowered.api.entity.explosive.Explosive; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.TargetFusedExplosiveEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.TargetFusedExplosiveEvent.ts deleted file mode 100644 index a0977d49..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.explosive.TargetFusedExplosiveEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace explosive { - // @ts-ignore - interface TargetFusedExplosiveEvent extends org.spongepowered.api.event.entity.explosive.TargetExplosiveEvent { - // @ts-ignore - getTargetEntity(): org.spongepowered.api.entity.explosive.FusedExplosive; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.item.ItemMergeItemEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.item.ItemMergeItemEvent.ts deleted file mode 100644 index 3c6c3bb5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.item.ItemMergeItemEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace item { - // @ts-ignore - interface ItemMergeItemEvent extends org.spongepowered.api.event.entity.item.TargetItemEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets a copy of the second item to be merged. - */ - // @ts-ignore - getItemToMerge(): org.spongepowered.api.entity.Item; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.item.TargetItemEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.item.TargetItemEvent.ts deleted file mode 100644 index ca06ad47..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.item.TargetItemEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace item { - // @ts-ignore - interface TargetItemEvent extends org.spongepowered.api.event.entity.TargetEntityEvent { - // @ts-ignore - getTargetEntity(): org.spongepowered.api.entity.Item; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.TargetAgentEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.TargetAgentEvent.ts deleted file mode 100644 index 0054c385..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.TargetAgentEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - // @ts-ignore - interface TargetAgentEvent extends org.spongepowered.api.event.entity.living.TargetLivingEvent { - // @ts-ignore - getTargetEntity(): org.spongepowered.api.entity.living.Agent; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.TargetLivingEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.TargetLivingEvent.ts deleted file mode 100644 index 2742f05c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.TargetLivingEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - // @ts-ignore - interface TargetLivingEvent extends org.spongepowered.api.event.entity.TargetEntityEvent { - // @ts-ignore - getTargetEntity(): org.spongepowered.api.entity.living.Living; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.AnimateHandEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.AnimateHandEvent.ts deleted file mode 100644 index 866fcfb3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.AnimateHandEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - // @ts-ignore - interface AnimateHandEvent extends org.spongepowered.api.event.entity.living.humanoid.TargetHumanoidEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the {@link HandType} used for animation. - */ - // @ts-ignore - getHandType(): org.spongepowered.api.data.type.HandType; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeGameModeEvent.TargetPlayer.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeGameModeEvent.TargetPlayer.ts deleted file mode 100644 index 69d1b298..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeGameModeEvent.TargetPlayer.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - namespace ChangeGameModeEvent { - // @ts-ignore - interface TargetPlayer extends org.spongepowered.api.event.entity.living.humanoid.ChangeGameModeEvent, org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeGameModeEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeGameModeEvent.ts deleted file mode 100644 index 836f9d01..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeGameModeEvent.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - // @ts-ignore - interface ChangeGameModeEvent extends org.spongepowered.api.event.entity.living.humanoid.TargetHumanoidEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the original {@link GameMode}. - */ - // @ts-ignore - getOriginalGameMode(): org.spongepowered.api.entity.living.player.gamemode.GameMode; - /** - * Gets the new {@link GameMode}. - */ - // @ts-ignore - getGameMode(): org.spongepowered.api.entity.living.player.gamemode.GameMode; - /** - * Sets the new {@link GameMode}. - */ - // @ts-ignore - setGameMode(gameMode: org.spongepowered.api.entity.living.player.gamemode.GameMode): void; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeLevelEvent.TargetPlayer.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeLevelEvent.TargetPlayer.ts deleted file mode 100644 index 8f8daa55..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeLevelEvent.TargetPlayer.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - namespace ChangeLevelEvent { - // @ts-ignore - interface TargetPlayer extends org.spongepowered.api.event.entity.living.humanoid.ChangeLevelEvent, org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeLevelEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeLevelEvent.ts deleted file mode 100644 index 59c49653..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.ChangeLevelEvent.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - // @ts-ignore - interface ChangeLevelEvent extends org.spongepowered.api.event.entity.living.humanoid.TargetHumanoidEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the original level of the human. - */ - // @ts-ignore - getOriginalLevel(): number; - /** - * Gets the new level of the human. - */ - // @ts-ignore - getLevel(): number; - /** - * Sets the new level of the human. - *

Technically, this can be set to the same level to - * cancel effects of the level being changed.

- */ - // @ts-ignore - setLevel(level: number): void; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.HandInteractEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.HandInteractEvent.ts deleted file mode 100644 index 81766297..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.HandInteractEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - // @ts-ignore - interface HandInteractEvent extends org.spongepowered.api.event.action.InteractEvent { - /** - * Gets the {@link HandType} used for interaction. - */ - // @ts-ignore - getHandType(): org.spongepowered.api.data.type.HandType; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.TargetHumanoidEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.TargetHumanoidEvent.ts deleted file mode 100644 index 271a11f0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.TargetHumanoidEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - // @ts-ignore - interface TargetHumanoidEvent extends org.spongepowered.api.event.entity.living.TargetLivingEvent { - /** - * Gets the target {@link Entity}. - */ - // @ts-ignore - getTargetEntity(): org.spongepowered.api.entity.living.Humanoid; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent.End.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent.End.ts deleted file mode 100644 index fd05eece..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent.End.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - namespace player { - namespace CooldownEvent { - // @ts-ignore - interface End extends org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent { - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent.Set.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent.Set.ts deleted file mode 100644 index 1c27de93..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent.Set.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - namespace player { - namespace CooldownEvent { - // @ts-ignore - interface Set extends org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the cooldown the item type had beforehand, if it had one at all. - */ - // @ts-ignore - getStartingCooldown(): any; - /** - * Gets the original new set cooldown at the beginning of the event. - */ - // @ts-ignore - getOriginalNewCooldown(): number; - /** - * Gets the new cooldown the item type has for the player. - */ - // @ts-ignore - getNewCooldown(): number; - /** - * Sets the new cooldown for the item type for the player. - */ - // @ts-ignore - setNewCooldown(ticks: number): void; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent.ts deleted file mode 100644 index fb2b2d81..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.CooldownEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - namespace player { - // @ts-ignore - interface CooldownEvent extends org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent { - /** - * Gets the associated item type whose cooldown is being set or removed. - */ - // @ts-ignore - getItemType(): org.spongepowered.api.item.ItemType; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.KickPlayerEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.KickPlayerEvent.ts deleted file mode 100644 index 104bee8c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.KickPlayerEvent.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - namespace player { - // @ts-ignore - interface KickPlayerEvent extends org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent, org.spongepowered.api.event.message.MessageChannelEvent { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.PlayerChangeClientSettingsEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.PlayerChangeClientSettingsEvent.ts deleted file mode 100644 index af7184dd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.PlayerChangeClientSettingsEvent.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - namespace player { - // @ts-ignore - interface PlayerChangeClientSettingsEvent extends org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent { - /** - * Gets the new locale of the player. - */ - // @ts-ignore - getLocale(): any; - /** - * Gets the new view distance of the player. This value represents the - * radius in unit chunks. - */ - // @ts-ignore - getViewDistance(): number; - /** - * Gets the new chat visibility setting of the player. - */ - // @ts-ignore - getChatVisibility(): org.spongepowered.api.text.chat.ChatVisibility; - /** - * Gets the new value for whether the player has colors enabled in chat. - */ - // @ts-ignore - isChatColorsEnabled(): boolean; - /** - * Gets the new skin part's displayed. - */ - // @ts-ignore - getDisplayedSkinParts(): any[] /*java.util.Set*/; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ResourcePackStatus.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ResourcePackStatus.ts deleted file mode 100644 index 12375241..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ResourcePackStatus.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - namespace player { - namespace ResourcePackStatusEvent { - // @ts-ignore - class ResourcePackStatus { - // @ts-ignore - public static ACCEPTED: org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ResourcePackStatus; - // @ts-ignore - public static DECLINED: org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ResourcePackStatus; - // @ts-ignore - public static FAILED: org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ResourcePackStatus; - // @ts-ignore - public static SUCCESSFULLY_LOADED: org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ResourcePackStatus; - // @ts-ignore - public static values(): org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ResourcePackStatus[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ResourcePackStatus; - /** - * Gets if this status indicates that the pack was successfully set. - */ - // @ts-ignore - public wasSuccessful(): any; - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ts deleted file mode 100644 index 6767a9f2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - namespace player { - // @ts-ignore - interface ResourcePackStatusEvent extends org.spongepowered.api.event.Event { - /** - * Get the player for this event. - */ - // @ts-ignore - getPlayer(): org.spongepowered.api.entity.living.player.Player; - /** - * Gets the pack that this status corresponds to. - */ - // @ts-ignore - getPack(): org.spongepowered.api.resourcepack.ResourcePack; - /** - * Gets the status of the sent pack. - */ - // @ts-ignore - getStatus(): org.spongepowered.api.event.entity.living.humanoid.player.ResourcePackStatusEvent.ResourcePackStatus; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.RespawnPlayerEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.RespawnPlayerEvent.ts deleted file mode 100644 index 7877e670..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.RespawnPlayerEvent.ts +++ /dev/null @@ -1,50 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - namespace player { - // @ts-ignore - interface RespawnPlayerEvent extends org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent { - /** - * The original {@link Player} that this new player is a clone of. - *

When a player dies, or leaves The End, their {@link Player} is re-created.

- */ - // @ts-ignore - getOriginalPlayer(): org.spongepowered.api.entity.living.player.Player; - /** - * Gets a copy of the transform that the entity came from. - */ - // @ts-ignore - getFromTransform(): org.spongepowered.api.entity.Transform; - /** - * Gets the new transform that the {@link Player} will change to. - */ - // @ts-ignore - getToTransform(): org.spongepowered.api.entity.Transform; - /** - * Sets the new transform that the entity will change to. - */ - // @ts-ignore - setToTransform(respawnTransform: org.spongepowered.api.entity.Transform): void; - /** - * Gets whether the transform was set by a bed or not. - */ - // @ts-ignore - isBedSpawn(): boolean; - /** - * Gets whether this event was fired because the {@link Player} died. - */ - // @ts-ignore - isDeath(): boolean; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent.ts deleted file mode 100644 index 9fe587fd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace living { - namespace humanoid { - namespace player { - // @ts-ignore - interface TargetPlayerEvent extends org.spongepowered.api.event.entity.living.humanoid.TargetHumanoidEvent { - /** - * Gets the target {@link Player}. - */ - // @ts-ignore - getTargetEntity(): org.spongepowered.api.entity.living.player.Player; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.projectile.LaunchProjectileEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.projectile.LaunchProjectileEvent.ts deleted file mode 100644 index c1cf10b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.projectile.LaunchProjectileEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace projectile { - // @ts-ignore - interface LaunchProjectileEvent extends org.spongepowered.api.event.entity.projectile.TargetProjectileEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.entity.projectile.TargetProjectileEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.entity.projectile.TargetProjectileEvent.ts deleted file mode 100644 index 0f0157a5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.entity.projectile.TargetProjectileEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace entity { - namespace projectile { - // @ts-ignore - interface TargetProjectileEvent extends org.spongepowered.api.event.entity.TargetEntityEvent { - // @ts-ignore - getTargetEntity(): org.spongepowered.api.entity.projectile.Projectile; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.filter.Getter.ts b/packages/sponge/src/typings/org.spongepowered.api.event.filter.Getter.ts deleted file mode 100644 index 5543ff3e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.filter.Getter.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace filter { - // @ts-ignore - interface Getter { - /** - * The name of the method to fetch the value from within the event type. - */ - // @ts-ignore - value(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.filter.IsCancelled.ts b/packages/sponge/src/typings/org.spongepowered.api.event.filter.IsCancelled.ts deleted file mode 100644 index 50f98a78..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.filter.IsCancelled.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace filter { - // @ts-ignore - interface IsCancelled { - /** - * Gets the required cancellation state of the event for the annotated - * listener to be called. - */ - // @ts-ignore - value(): org.spongepowered.api.util.Tristate; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.After.ts b/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.After.ts deleted file mode 100644 index 9f37ec9f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.After.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace filter { - namespace cause { - // @ts-ignore - interface After { - /** - * Gets the class to use with {@link Cause#after(Class)}. - */ - // @ts-ignore - value(): any; - /** - * If specified the possible type for the returned object (normally - * specified by the type of the annotated parameter) is restricted - * to only the specified types. - *

For exampled annotating a parameter of type Monster would - * normally accept all entities extending Monster, however with the - * includes specified as Enderman and Zombie the possible Monsters returned - * would be restricted to entities extending either Enderman and Zombie.

- */ - // @ts-ignore - typeFilter(): any; - /** - * If true then the behavior of the typeFilter is reversed and the - * specified types are excluded rather than included. - */ - // @ts-ignore - inverse(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.All.ts b/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.All.ts deleted file mode 100644 index df1037cc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.All.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace filter { - namespace cause { - // @ts-ignore - interface All { - /** - * Whether this listener should be skipped if the array would be empty. - */ - // @ts-ignore - ignoreEmpty(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.Before.ts b/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.Before.ts deleted file mode 100644 index 04aef0c7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.Before.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace filter { - namespace cause { - // @ts-ignore - interface Before { - /** - * Gets the class to use with {@link Cause#before(Class)}. - */ - // @ts-ignore - value(): any; - /** - * If specified the possible type for the returned object (normally - * specified by the type of the annotated parameter) is restricted - * to only the specified types. - *

For exampled annotating a parameter of type Monster would - * normally accept all entities extending Monster, however with the - * includes specified as Enderman and Zombie the possible Monsters returned - * would be restricted to entities extending either Enderman and Zombie.

- */ - // @ts-ignore - typeFilter(): any; - /** - * If true then the behavior of the typeFilter is reversed and the - * specified types are excluded rather than included. - */ - // @ts-ignore - inverse(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.ContextValue.ts b/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.ContextValue.ts deleted file mode 100644 index a2a4e001..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.ContextValue.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace filter { - namespace cause { - // @ts-ignore - interface ContextValue { - /** - * Gets the name to use with the {@link EventContextKey}. - */ - // @ts-ignore - value(): string; - /** - * If specified the possible type for the returned object (normally - * specified by the type of the annotated parameter) is restricted to only - * the specified types. - *

For exampled annotating a parameter of type Monster would normally - * accept all entities extending Monster, however with the includes - * specified as Enderman and Zombie the possible Monsters returned would be - * restricted to entities extending either Enderman and Zombie.

- */ - // @ts-ignore - typeFilter(): any; - /** - * If true then the behavior of the typeFilter is reversed and the specified - * types are excluded rather than included. - */ - // @ts-ignore - inverse(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.First.ts b/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.First.ts deleted file mode 100644 index e6650615..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.First.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace filter { - namespace cause { - // @ts-ignore - interface First { - /** - * If specified the possible type for the returned object (normally - * specified by the type of the annotated parameter) is restricted to only - * the specified types. - *

For exampled annotating a parameter of type Monster would normally - * accept all entities extending Monster, however with the includes - * specified as Enderman and Zombie the possible Monsters returned would be - * restricted to entities extending either Enderman and Zombie.

- */ - // @ts-ignore - typeFilter(): any; - /** - * If true then the behavior of the typeFilter is reversed and the specified - * types are excluded rather than included. - */ - // @ts-ignore - inverse(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.Last.ts b/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.Last.ts deleted file mode 100644 index 204ff679..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.Last.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace filter { - namespace cause { - // @ts-ignore - interface Last { - /** - * If specified the possible type for the returned object (normally - * specified by the type of the annotated parameter) is restricted to only - * the specified types. - *

For exampled annotating a parameter of type Monster would normally - * accept all entities extending Monster, however with the includes - * specified as Enderman and Zombie the possible Monsters returned would be - * restricted to entities extending either Enderman and Zombie.

- */ - // @ts-ignore - typeFilter(): any; - /** - * If true then the behavior of the typeFilter is reversed and the specified - * types are excluded rather than included. - */ - // @ts-ignore - inverse(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.Root.ts b/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.Root.ts deleted file mode 100644 index 343a3e17..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.filter.cause.Root.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace filter { - namespace cause { - // @ts-ignore - interface Root { - /** - * If specified the possible type for the returned object (normally - * specified by the type of the annotated parameter) is restricted to only - * the specified types. - *

For example annotating a parameter of type Monster would normally - * accept all entities extending Monster, however with the includes - * specified as Enderman and Zombie the possible Monsters returned would be - * restricted to entities extending either Enderman and Zombie.

- */ - // @ts-ignore - typeFilter(): any; - /** - * If true then the behavior of the typeFilter is reversed and the specified - * types are excluded rather than included. - */ - // @ts-ignore - inverse(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.filter.data.Has.ts b/packages/sponge/src/typings/org.spongepowered.api.event.filter.data.Has.ts deleted file mode 100644 index bb6e75c9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.filter.data.Has.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace filter { - namespace data { - // @ts-ignore - interface Has { - /** - * Gets the {@link DataManipulator} type to test for. - */ - // @ts-ignore - value(): any; - /** - * If true the standard behavior of this filter is reversed and events where - * the annotated parameter does have the specified data - * manipulator type are filtered out. - */ - // @ts-ignore - inverse(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.filter.data.Supports.ts b/packages/sponge/src/typings/org.spongepowered.api.event.filter.data.Supports.ts deleted file mode 100644 index c999c9ac..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.filter.data.Supports.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace filter { - namespace data { - // @ts-ignore - interface Supports { - /** - * Gets the {@link DataManipulator} type to test for. - */ - // @ts-ignore - value(): any; - /** - * If true the standard behavior of this filter is reversed and events where - * the annotated parameter does support the specified data - * manipulator type are filtered out. - */ - // @ts-ignore - inverse(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.filter.type.Exclude.ts b/packages/sponge/src/typings/org.spongepowered.api.event.filter.type.Exclude.ts deleted file mode 100644 index 783b81e9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.filter.type.Exclude.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace filter { - namespace type { - // @ts-ignore - interface Exclude { - /** - * Gets the event types to exclude. - */ - // @ts-ignore - value(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.filter.type.Include.ts b/packages/sponge/src/typings/org.spongepowered.api.event.filter.type.Include.ts deleted file mode 100644 index 106372e8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.filter.type.Include.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace filter { - namespace type { - // @ts-ignore - interface Include { - /** - * Gets the included event types. - */ - // @ts-ignore - value(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.GameRegistryEvent.Register.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.GameRegistryEvent.Register.ts deleted file mode 100644 index e1f8bb79..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.GameRegistryEvent.Register.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace GameRegistryEvent { - // @ts-ignore - interface Register extends org.spongepowered.api.event.game.GameRegistryEvent, org.spongepowered.api.event.GenericEvent { - /** - * Gets the {@link CatalogType} that - * is allowing registrations. - */ - // @ts-ignore - getCatalogType(): any; - /** - * Gets the registry module. - */ - // @ts-ignore - getRegistryModule(): org.spongepowered.api.registry.CatalogRegistryModule; - /** - * Registers the {@link CatalogType}. - */ - // @ts-ignore - register(catalogType: org.spongepowered.api.CatalogType): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.GameRegistryEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.GameRegistryEvent.ts deleted file mode 100644 index c02e9b8c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.GameRegistryEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - // @ts-ignore - interface GameRegistryEvent extends org.spongepowered.api.event.Event { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.GameReloadEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.GameReloadEvent.ts deleted file mode 100644 index 68087a66..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.GameReloadEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - // @ts-ignore - interface GameReloadEvent extends org.spongepowered.api.event.Event { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameAboutToStartServerEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameAboutToStartServerEvent.ts deleted file mode 100644 index 696ed2ef..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameAboutToStartServerEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace state { - // @ts-ignore - interface GameAboutToStartServerEvent extends org.spongepowered.api.event.game.state.GameStateEvent { - // @ts-ignore - getState(): org.spongepowered.api.GameState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameConstructionEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameConstructionEvent.ts deleted file mode 100644 index 849440ce..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameConstructionEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace state { - // @ts-ignore - interface GameConstructionEvent extends org.spongepowered.api.event.game.state.GameStateEvent { - // @ts-ignore - getState(): org.spongepowered.api.GameState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameInitializationEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameInitializationEvent.ts deleted file mode 100644 index 4436aa03..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameInitializationEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace state { - // @ts-ignore - interface GameInitializationEvent extends org.spongepowered.api.event.game.state.GameStateEvent { - // @ts-ignore - getState(): org.spongepowered.api.GameState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameLoadCompleteEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameLoadCompleteEvent.ts deleted file mode 100644 index 41468e02..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameLoadCompleteEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace state { - // @ts-ignore - interface GameLoadCompleteEvent extends org.spongepowered.api.event.game.state.GameStateEvent { - // @ts-ignore - getState(): org.spongepowered.api.GameState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GamePostInitializationEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GamePostInitializationEvent.ts deleted file mode 100644 index 910d99a9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GamePostInitializationEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace state { - // @ts-ignore - interface GamePostInitializationEvent extends org.spongepowered.api.event.game.state.GameStateEvent { - // @ts-ignore - getState(): org.spongepowered.api.GameState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GamePreInitializationEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GamePreInitializationEvent.ts deleted file mode 100644 index ce668c35..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GamePreInitializationEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace state { - // @ts-ignore - interface GamePreInitializationEvent extends org.spongepowered.api.event.game.state.GameStateEvent { - // @ts-ignore - getState(): org.spongepowered.api.GameState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStartedServerEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStartedServerEvent.ts deleted file mode 100644 index fc168974..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStartedServerEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace state { - // @ts-ignore - interface GameStartedServerEvent extends org.spongepowered.api.event.game.state.GameStateEvent { - // @ts-ignore - getState(): org.spongepowered.api.GameState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStartingServerEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStartingServerEvent.ts deleted file mode 100644 index b37d20f1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStartingServerEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace state { - // @ts-ignore - interface GameStartingServerEvent extends org.spongepowered.api.event.game.state.GameStateEvent { - // @ts-ignore - getState(): org.spongepowered.api.GameState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStateEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStateEvent.ts deleted file mode 100644 index fdacb1d1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStateEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace state { - // @ts-ignore - interface GameStateEvent extends org.spongepowered.api.event.Event { - /** - * Gets the {@link GameState} that this event represents. - */ - // @ts-ignore - getState(): org.spongepowered.api.GameState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppedEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppedEvent.ts deleted file mode 100644 index 14ef5d37..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppedEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace state { - // @ts-ignore - interface GameStoppedEvent extends org.spongepowered.api.event.game.state.GameStateEvent { - // @ts-ignore - getState(): org.spongepowered.api.GameState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppedServerEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppedServerEvent.ts deleted file mode 100644 index 60d7b306..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppedServerEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace state { - // @ts-ignore - interface GameStoppedServerEvent extends org.spongepowered.api.event.game.state.GameStateEvent { - // @ts-ignore - getState(): org.spongepowered.api.GameState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppingEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppingEvent.ts deleted file mode 100644 index 5d6eda53..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppingEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace state { - // @ts-ignore - interface GameStoppingEvent extends org.spongepowered.api.event.game.state.GameStateEvent { - // @ts-ignore - getState(): org.spongepowered.api.GameState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppingServerEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppingServerEvent.ts deleted file mode 100644 index 28e2e686..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.game.state.GameStoppingServerEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace game { - namespace state { - // @ts-ignore - interface GameStoppingServerEvent extends org.spongepowered.api.event.game.state.GameStateEvent { - // @ts-ignore - getState(): org.spongepowered.api.GameState; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractAITaskEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractAITaskEvent.ts deleted file mode 100644 index 465ba445..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractAITaskEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace impl { - // @ts-ignore - abstract class AbstractAITaskEvent extends org.spongepowered.api.event.impl.AbstractEvent implements org.spongepowered.api.event.entity.ai.AITaskEvent { - constructor() - // @ts-ignore - public init(): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractAffectEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractAffectEntityEvent.ts deleted file mode 100644 index 053675e2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractAffectEntityEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace impl { - // @ts-ignore - abstract class AbstractAffectEntityEvent extends org.spongepowered.api.event.impl.AbstractEvent implements org.spongepowered.api.event.entity.AffectEntityEvent { - constructor() - // @ts-ignore - protected entities: any[] /*java.util.List*/; - // @ts-ignore - protected entitySnapshots: any[] /*java.util.List*/; - // @ts-ignore - public getEntitySnapshots(): any[] /*java.util.List*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractAttackEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractAttackEntityEvent.ts deleted file mode 100644 index 55f5c56b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractAttackEntityEvent.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace impl { - // @ts-ignore - abstract class AbstractAttackEntityEvent extends org.spongepowered.api.event.impl.AbstractModifierEvent implements org.spongepowered.api.event.entity.AttackEntityEvent { - constructor() - // @ts-ignore - protected originalDamage: number; - // @ts-ignore - protected originalFunctions: any[] /*java.util.List*/; - // @ts-ignore - protected baseDamage: number; - // @ts-ignore - protected init(): void; - // @ts-ignore - public getOriginalModifierDamage(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier): number; - // @ts-ignore - public getOriginalFinalDamage(): number; - // @ts-ignore - public getOriginalDamages(): Map /*java.util.Map*/; - // @ts-ignore - public getFinalOutputDamage(): number; - // @ts-ignore - public isModifierApplicable(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier): boolean; - // @ts-ignore - public getOutputDamage(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier): number; - // @ts-ignore - public setOutputDamage(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any): void; - // @ts-ignore - public addDamageModifierBefore(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any, before: any[] /*java.util.Set*/): void; - // @ts-ignore - public addDamageModifierAfter(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any, after: any[] /*java.util.Set*/): void; - // @ts-ignore - public getBaseOutputDamage(): number; - // @ts-ignore - public setBaseOutputDamage(baseDamage: number): void; - // @ts-ignore - protected convertTuple(obj: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any): org.spongepowered.api.event.cause.entity.damage.DamageFunction; - // @ts-ignore - public getModifiers(): any[] /*java.util.List*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractChangeEntityEquipmentEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractChangeEntityEquipmentEvent.ts deleted file mode 100644 index af5df6a5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractChangeEntityEquipmentEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace impl { - // @ts-ignore - abstract class AbstractChangeEntityEquipmentEvent extends org.spongepowered.api.event.impl.AbstractEvent implements org.spongepowered.api.event.entity.ChangeEntityEquipmentEvent { - constructor() - // @ts-ignore - protected transaction: org.spongepowered.api.data.Transaction; - // @ts-ignore - public getOriginalItemStack(): any; - // @ts-ignore - public getItemStack(): any; - // @ts-ignore - public getTransaction(): org.spongepowered.api.data.Transaction; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractDamageEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractDamageEntityEvent.ts deleted file mode 100644 index 563300d4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractDamageEntityEvent.ts +++ /dev/null @@ -1,50 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace impl { - // @ts-ignore - abstract class AbstractDamageEntityEvent extends org.spongepowered.api.event.impl.AbstractModifierEvent implements org.spongepowered.api.event.entity.DamageEntityEvent { - constructor() - // @ts-ignore - protected originalDamage: number; - // @ts-ignore - protected originalFunctions: any[] /*java.util.List*/; - // @ts-ignore - protected baseDamage: number; - // @ts-ignore - protected init(): void; - // @ts-ignore - public getOriginalModifierDamage(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier): number; - // @ts-ignore - public getOriginalFinalDamage(): number; - // @ts-ignore - public getOriginalDamages(): Map /*java.util.Map*/; - // @ts-ignore - public getFinalDamage(): number; - // @ts-ignore - public isModifierApplicable(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier): boolean; - // @ts-ignore - public getDamage(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier): number; - // @ts-ignore - public setDamage(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any): void; - // @ts-ignore - public addDamageModifierBefore(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any, before: any[] /*java.util.Set*/): void; - // @ts-ignore - public addModifierAfter(damageModifier: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any, after: any[] /*java.util.Set*/): void; - // @ts-ignore - protected convertTuple(obj: org.spongepowered.api.event.cause.entity.damage.DamageModifier, func: any): org.spongepowered.api.event.cause.entity.damage.DamageFunction; - // @ts-ignore - public getModifiers(): any[] /*java.util.List*/; - // @ts-ignore - public getBaseDamage(): number; - // @ts-ignore - public setBaseDamage(baseDamage: number): void; - // @ts-ignore - public willCauseDeath(): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractEvent.ts deleted file mode 100644 index e38acb46..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractEvent.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace impl { - // @ts-ignore - abstract class AbstractEvent implements org.spongepowered.api.event.Event { - constructor() - // @ts-ignore - public currentOrder: org.spongepowered.api.event.Order; - /** - * Called once all fields have been set by the generated - * constructor in a subclass. - *

This method should be used - * to initialize any fields that depend on parameters - * passed to the constructor.

- */ - // @ts-ignore - protected init(): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractGameRegistryRegisterEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractGameRegistryRegisterEvent.ts deleted file mode 100644 index 00f24f3a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractGameRegistryRegisterEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace impl { - // @ts-ignore - abstract class AbstractGameRegistryRegisterEvent extends org.spongepowered.api.event.impl.AbstractEvent implements org.spongepowered.api.event.game.GameRegistryEvent.Register { - constructor() - // @ts-ignore - public register(catalogType: org.spongepowered.api.CatalogType): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractHealEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractHealEntityEvent.ts deleted file mode 100644 index dd2d9398..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractHealEntityEvent.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace impl { - // @ts-ignore - abstract class AbstractHealEntityEvent extends org.spongepowered.api.event.impl.AbstractModifierEvent implements org.spongepowered.api.event.entity.HealEntityEvent { - constructor() - // @ts-ignore - protected originalHealAmount: number; - // @ts-ignore - protected originalFunctions: any[] /*java.util.List*/; - // @ts-ignore - protected baseHealAmount: number; - // @ts-ignore - protected init(): void; - // @ts-ignore - public getOriginalHealingModifierAmount(healthModifier: org.spongepowered.api.event.cause.entity.health.HealthModifier): number; - // @ts-ignore - public getOriginalFinalHealAmount(): number; - // @ts-ignore - public getOriginalHealingAmounts(): Map /*java.util.Map*/; - // @ts-ignore - public getFinalHealAmount(): number; - // @ts-ignore - public isModifierApplicable(healthModifier: org.spongepowered.api.event.cause.entity.health.HealthModifier): boolean; - // @ts-ignore - public getHealAmount(healthModifier: org.spongepowered.api.event.cause.entity.health.HealthModifier): number; - // @ts-ignore - public setHealAmount(healthModifier: org.spongepowered.api.event.cause.entity.health.HealthModifier, func: any): void; - // @ts-ignore - public getBaseHealAmount(): number; - // @ts-ignore - public setBaseHealAmount(baseHealAmount: number): void; - // @ts-ignore - protected convertTuple(obj: org.spongepowered.api.event.cause.entity.health.HealthModifier, func: any): org.spongepowered.api.event.cause.entity.health.HealthFunction; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractMessageEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractMessageEvent.ts deleted file mode 100644 index 2d033e45..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractMessageEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace impl { - // @ts-ignore - abstract class AbstractMessageEvent extends org.spongepowered.api.event.impl.AbstractEvent implements org.spongepowered.api.event.message.MessageEvent { - constructor() - // @ts-ignore - protected formatter: org.spongepowered.api.event.message.MessageEvent.MessageFormatter; - // @ts-ignore - protected originalMessage: org.spongepowered.api.text.Text; - // @ts-ignore - protected init(): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractModifierEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractModifierEvent.ts deleted file mode 100644 index 8ef55cf6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractModifierEvent.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace impl { - // @ts-ignore - abstract class AbstractModifierEvent extends org.spongepowered.api.event.impl.AbstractEvent { - constructor() - // @ts-ignore - protected originalFinalAmount: number; - // @ts-ignore - protected originalModifiers: any[] /*java.util.List*/; - // @ts-ignore - protected originalModifierMap: Map /*java.util.Map*/; - // @ts-ignore - protected modifiers: any; - // @ts-ignore - protected modifierFunctions: any[] /*java.util.List*/; - // @ts-ignore - protected init(originalValue: number, originalFunctions: any[] /*java.util.List*/): any; - // @ts-ignore - protected abstract convertTuple(obj: any, func: any): org.spongepowered.api.event.cause.entity.ModifierFunction; - // @ts-ignore - protected recalculateDamages(baseAmount: number): void; - // @ts-ignore - protected getFinalAmount(baseAmount: number): number; - /** - * Gets the modifiers affecting this event. - */ - // @ts-ignore - public getModifiers(): any[] /*java.util.List*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractSpawnEntityEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractSpawnEntityEvent.ts deleted file mode 100644 index 8e359c79..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractSpawnEntityEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace impl { - // @ts-ignore - abstract class AbstractSpawnEntityEvent extends org.spongepowered.api.event.impl.AbstractEvent implements org.spongepowered.api.event.entity.SpawnEntityEvent { - constructor() - // @ts-ignore - protected init(): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractValueChangeEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractValueChangeEvent.ts deleted file mode 100644 index c51ee9dd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.impl.AbstractValueChangeEvent.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace impl { - // @ts-ignore - abstract class AbstractValueChangeEvent implements org.spongepowered.api.event.data.ChangeDataHolderEvent.ValueChange { - constructor() - // @ts-ignore - protected originalChanges: org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - protected endResult: org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - protected init(): void; - // @ts-ignore - public proposeChanges(result: org.spongepowered.api.data.DataTransactionResult): org.spongepowered.api.event.data.ChangeDataHolderEvent.ValueChange; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.AffectItemStackEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.AffectItemStackEvent.ts deleted file mode 100644 index 9bd21906..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.AffectItemStackEvent.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - // @ts-ignore - interface AffectItemStackEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets a list of the {@link Transaction}s for this event. If a - * transaction is requested to be marked as "invalid", - * {@link Transaction#setValid(boolean)} can be used. - */ - // @ts-ignore - getTransactions(): any[] /*java.util.List*/; - /** - * Applies the provided {@link Predicate} to the {@link List} of - * {@link Transaction}s from {@link #getTransactions()} such that - * any time that {@link Predicate#test(Object)} returns false - * on a {@link Transaction}, the {@link Transaction} is - * marked as "invalid" and will not apply post event. - *

{@link Transaction#getFinal()} is used to construct - * the {@link ItemStack} to pass to the predicate

- */ - // @ts-ignore - filter(predicate: any): any[] /*java.util.List*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.AffectSlotEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.AffectSlotEvent.ts deleted file mode 100644 index 8c7072ad..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.AffectSlotEvent.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - // @ts-ignore - interface AffectSlotEvent extends org.spongepowered.api.event.item.inventory.AffectItemStackEvent { - // @ts-ignore - getTransactions(): any[] /*java.util.List*/; - // @ts-ignore - filter(predicate: any): any[] /*java.util.List*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Equipment.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Equipment.ts deleted file mode 100644 index 7938f4a4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Equipment.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ChangeInventoryEvent { - // @ts-ignore - interface Equipment extends org.spongepowered.api.event.item.inventory.ChangeInventoryEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Held.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Held.ts deleted file mode 100644 index ebeeee88..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Held.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ChangeInventoryEvent { - // @ts-ignore - interface Held extends org.spongepowered.api.event.item.inventory.ChangeInventoryEvent { - /** - * The previously selected slot. - */ - // @ts-ignore - getOriginalSlot(): org.spongepowered.api.item.inventory.Slot; - /** - * The new selected slot. - */ - // @ts-ignore - getFinalSlot(): org.spongepowered.api.item.inventory.Slot; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Pickup.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Pickup.Pre.ts deleted file mode 100644 index b738219f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Pickup.Pre.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ChangeInventoryEvent { - namespace Pickup { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.item.inventory.TargetInventoryEvent, org.spongepowered.api.event.entity.item.TargetItemEvent, org.spongepowered.api.event.Cancellable { - /** - * Returns the original picked up {@link ItemStackSnapshot} - * to add to the inventory. - */ - // @ts-ignore - getOriginalStack(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * Returns the custom set list of items to add to the inventory or {@link Optional#empty()} if not set. - */ - // @ts-ignore - getCustom(): any; - /** - * Sets the items to add to the inventory. - *

If all items do not fit the inventory this event will be - * automatically canceled.

- */ - // @ts-ignore - setCustom(items: any[] /*java.util.List*/): void; - /** - * Returns the proposed final list of items to add to the inventory. - *

If a custom list was set all items have to fit the inventory - * or this event will be automatically canceled.

- */ - // @ts-ignore - getFinal(): any[] /*java.util.List*/; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Pickup.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Pickup.ts deleted file mode 100644 index 7d3b8829..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Pickup.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ChangeInventoryEvent { - // @ts-ignore - interface Pickup extends org.spongepowered.api.event.item.inventory.ChangeInventoryEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.SwapHand.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.SwapHand.ts deleted file mode 100644 index f77ab7d6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.SwapHand.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ChangeInventoryEvent { - // @ts-ignore - interface SwapHand extends org.spongepowered.api.event.item.inventory.ChangeInventoryEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Transfer.Post.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Transfer.Post.ts deleted file mode 100644 index 1a44420a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Transfer.Post.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ChangeInventoryEvent { - namespace Transfer { - // @ts-ignore - interface Post extends org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Transfer { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Transfer.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Transfer.Pre.ts deleted file mode 100644 index 3f702bac..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Transfer.Pre.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ChangeInventoryEvent { - namespace Transfer { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.item.inventory.TargetInventoryEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the source {@link Inventory} of this {@link Event}. - */ - // @ts-ignore - getSourceInventory(): org.spongepowered.api.item.inventory.Inventory; - /** - * Gets the target {@link Inventory} of this {@link Event}. - */ - // @ts-ignore - getTargetInventory(): org.spongepowered.api.item.inventory.Inventory; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Transfer.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Transfer.ts deleted file mode 100644 index c11a45a6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.Transfer.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ChangeInventoryEvent { - // @ts-ignore - interface Transfer extends org.spongepowered.api.event.item.inventory.ChangeInventoryEvent { - /** - * Gets the source {@link Inventory} of this {@link Event}. - */ - // @ts-ignore - getSourceInventory(): org.spongepowered.api.item.inventory.Inventory; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.ts deleted file mode 100644 index bd88d496..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ChangeInventoryEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - // @ts-ignore - interface ChangeInventoryEvent extends org.spongepowered.api.event.item.inventory.TargetInventoryEvent, org.spongepowered.api.event.item.inventory.AffectSlotEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Creative.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Creative.ts deleted file mode 100644 index b515f005..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Creative.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - // @ts-ignore - interface Creative extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Double.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Double.ts deleted file mode 100644 index 39dff2eb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Double.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - // @ts-ignore - interface Double extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Primary { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.Middle.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.Middle.ts deleted file mode 100644 index 5da7cc10..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.Middle.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - namespace Drag { - // @ts-ignore - interface Middle extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag, org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Middle { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.Primary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.Primary.ts deleted file mode 100644 index 843b035a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.Primary.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - namespace Drag { - // @ts-ignore - interface Primary extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag, org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Primary { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.Secondary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.Secondary.ts deleted file mode 100644 index 9d971842..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.Secondary.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - namespace Drag { - // @ts-ignore - interface Secondary extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag, org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Secondary { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.ts deleted file mode 100644 index d067a1e0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drag.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - // @ts-ignore - interface Drag extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Full.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Full.ts deleted file mode 100644 index 521d2f53..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Full.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - namespace Drop { - // @ts-ignore - interface Full extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.Creative.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.Creative.ts deleted file mode 100644 index 92de1af7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.Creative.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - namespace Drop { - namespace Outside { - // @ts-ignore - interface Creative extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside, org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Creative { - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.Primary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.Primary.ts deleted file mode 100644 index fe862d89..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.Primary.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - namespace Drop { - namespace Outside { - // @ts-ignore - interface Primary extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside, org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Primary { - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.Secondary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.Secondary.ts deleted file mode 100644 index c74a1192..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.Secondary.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - namespace Drop { - namespace Outside { - // @ts-ignore - interface Secondary extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside, org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Secondary { - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.ts deleted file mode 100644 index 3cec970f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Outside.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - namespace Drop { - // @ts-ignore - interface Outside extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Single.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Single.ts deleted file mode 100644 index 32bd2caf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.Single.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - namespace Drop { - // @ts-ignore - interface Single extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.ts deleted file mode 100644 index 084f35a3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Drop.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - // @ts-ignore - interface Drop extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent, org.spongepowered.api.event.item.inventory.DropItemEvent.Dispense { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Middle.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Middle.ts deleted file mode 100644 index b8312af7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Middle.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - // @ts-ignore - interface Middle extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.NumberPress.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.NumberPress.ts deleted file mode 100644 index a29b905c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.NumberPress.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - // @ts-ignore - interface NumberPress extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent { - // @ts-ignore - getNumber(): number; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Primary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Primary.ts deleted file mode 100644 index 0f323d55..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Primary.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - // @ts-ignore - interface Primary extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe.All.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe.All.ts deleted file mode 100644 index 24656a90..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe.All.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - namespace Recipe { - // @ts-ignore - interface All extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe.Single.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe.Single.ts deleted file mode 100644 index a9caaf43..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe.Single.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - namespace Recipe { - // @ts-ignore - interface Single extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe.ts deleted file mode 100644 index 096c47bd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Recipe.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - // @ts-ignore - interface Recipe extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent { - /** - * Returns the requested recipe. - */ - // @ts-ignore - getRecipe(): org.spongepowered.api.item.recipe.Recipe; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Secondary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Secondary.ts deleted file mode 100644 index 1ff08e8b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Secondary.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - // @ts-ignore - interface Secondary extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift.Primary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift.Primary.ts deleted file mode 100644 index 58d8d47c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift.Primary.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - namespace Shift { - // @ts-ignore - interface Primary extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift, org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Primary { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift.Secondary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift.Secondary.ts deleted file mode 100644 index 51953e48..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift.Secondary.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - namespace Shift { - // @ts-ignore - interface Secondary extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift, org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Secondary { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift.ts deleted file mode 100644 index f88ba1d4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.Shift.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace ClickInventoryEvent { - // @ts-ignore - interface Shift extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.ts deleted file mode 100644 index 5e0d4147..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.ClickInventoryEvent.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - // @ts-ignore - interface ClickInventoryEvent extends org.spongepowered.api.event.item.inventory.ChangeInventoryEvent, org.spongepowered.api.event.item.inventory.InteractInventoryEvent { - /** - * Returns the primary interaction Slot. - *

May return {@link Optional#empty()} for events that do not directly interact with a Slot

- */ - // @ts-ignore - getSlot(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.CraftItemEvent.Craft.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.CraftItemEvent.Craft.ts deleted file mode 100644 index f343b4cc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.CraftItemEvent.Craft.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace CraftItemEvent { - // @ts-ignore - interface Craft extends org.spongepowered.api.event.item.inventory.CraftItemEvent, org.spongepowered.api.event.item.inventory.ClickInventoryEvent { - /** - * The item crafted with this event. - */ - // @ts-ignore - getCrafted(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * Returns the crafting output Slot. - */ - // @ts-ignore - getSlot(): any; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.CraftItemEvent.Preview.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.CraftItemEvent.Preview.ts deleted file mode 100644 index e39ae99b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.CraftItemEvent.Preview.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace CraftItemEvent { - // @ts-ignore - interface Preview extends org.spongepowered.api.event.item.inventory.CraftItemEvent { - /** - * The SlotTransaction on the output slot. - *

Setting a custom Item here changes the result of the recipe replacing the default result

- */ - // @ts-ignore - getPreview(): org.spongepowered.api.item.inventory.transaction.SlotTransaction; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.CraftItemEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.CraftItemEvent.ts deleted file mode 100644 index ae4f6901..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.CraftItemEvent.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - // @ts-ignore - interface CraftItemEvent extends org.spongepowered.api.event.item.inventory.ChangeInventoryEvent { - /** - * Returns the crafting inventory. - *

This includes the crafting grid and one output slot

- */ - // @ts-ignore - getCraftingInventory(): org.spongepowered.api.item.inventory.crafting.CraftingInventory; - /** - * Returns the {@link Recipe} used for crafting - */ - // @ts-ignore - getRecipe(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Close.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Close.ts deleted file mode 100644 index adab1cc8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Close.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace DropItemEvent { - // @ts-ignore - interface Close extends org.spongepowered.api.event.item.inventory.DropItemEvent, org.spongepowered.api.event.entity.SpawnEntityEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Custom.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Custom.ts deleted file mode 100644 index 381404ac..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Custom.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace DropItemEvent { - // @ts-ignore - interface Custom extends org.spongepowered.api.event.item.inventory.DropItemEvent, org.spongepowered.api.event.entity.SpawnEntityEvent.Custom { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Destruct.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Destruct.ts deleted file mode 100644 index 83babd72..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Destruct.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace DropItemEvent { - // @ts-ignore - interface Destruct extends org.spongepowered.api.event.item.inventory.DropItemEvent, org.spongepowered.api.event.entity.SpawnEntityEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Dispense.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Dispense.ts deleted file mode 100644 index 38c7a0ec..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Dispense.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace DropItemEvent { - // @ts-ignore - interface Dispense extends org.spongepowered.api.event.item.inventory.DropItemEvent, org.spongepowered.api.event.entity.SpawnEntityEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Pre.ts deleted file mode 100644 index 09d0083d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.Pre.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace DropItemEvent { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.item.inventory.DropItemEvent { - /** - * Gets the original immutable list of {@link ItemStackSnapshot}s to be - * dropped. - */ - // @ts-ignore - getOriginalDroppedItems(): any[] /*java.util.List*/; - /** - * Gets the mutable list of {@link ItemStackSnapshot}s to be dropped. - */ - // @ts-ignore - getDroppedItems(): any[] /*java.util.List*/; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.ts deleted file mode 100644 index 79154614..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.DropItemEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - // @ts-ignore - interface DropItemEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.CalculateEnchantment.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.CalculateEnchantment.ts deleted file mode 100644 index 79f3a79a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.CalculateEnchantment.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace EnchantItemEvent { - // @ts-ignore - interface CalculateEnchantment extends org.spongepowered.api.event.item.inventory.EnchantItemEvent { - /** - * The itemstack to enchant. - */ - // @ts-ignore - getItem(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * The final level requirement from {@link CalculateLevelRequirement}. - *

In vanilla the maximum value is 30.

- */ - // @ts-ignore - getLevelRequirement(): number; - /** - * Returns the original list of enchantments to apply to the item. - *

The first item in the list is used for display when previewing the enchantments.

- */ - // @ts-ignore - getOriginalEnchantments(): any[] /*java.util.List*/; - /** - * Returns the list of enchantments to apply to the item. - *

The first item in the list is used for display when previewing the enchantments.

- */ - // @ts-ignore - getEnchantments(): any[] /*java.util.List*/; - /** - * Sets the list of enchantments to apply to the item. - *

The first item in the list is used for display when previewing the enchantments.

- *

Note that when modifying the enchantment list you should - * return the same enchantments for the same seed and option.

- *

See {@link Enchantment#randomListBuilder()} to generate enchantment lists.

- */ - // @ts-ignore - setEnchantments(enchantments: any[] /*java.util.List*/): void; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.CalculateLevelRequirement.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.CalculateLevelRequirement.ts deleted file mode 100644 index ad545841..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.CalculateLevelRequirement.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace EnchantItemEvent { - // @ts-ignore - interface CalculateLevelRequirement extends org.spongepowered.api.event.item.inventory.EnchantItemEvent { - /** - * The enchantment power based on bookshelves around the enchantment table. - */ - // @ts-ignore - getPower(): number; - /** - * The itemstack to enchant. - */ - // @ts-ignore - getItem(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * Returns the original level requirement - */ - // @ts-ignore - getOriginalLevelRequirement(): number; - /** - * Returns the level requirement - */ - // @ts-ignore - getLevelRequirement(): number; - /** - * Sets the new level requirement - *

In vanilla the maximum value is 30.

- *

Returning a much higher level may result in no enchantments - * because the existing enchantments are too weak.

- */ - // @ts-ignore - setLevelRequirement(value: number): void; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.Post.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.Post.ts deleted file mode 100644 index ad3a7fb5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.Post.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace EnchantItemEvent { - // @ts-ignore - interface Post extends org.spongepowered.api.event.item.inventory.ClickInventoryEvent, org.spongepowered.api.event.item.inventory.EnchantItemEvent { - /** - * Returns the slot of the enchanted item. - */ - // @ts-ignore - getEnchantingSlot(): org.spongepowered.api.item.inventory.Slot; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.ts deleted file mode 100644 index ecf47a91..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.EnchantItemEvent.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - // @ts-ignore - interface EnchantItemEvent extends org.spongepowered.api.event.item.inventory.TargetContainerEvent { - /** - * The seed for pseudo random enchantment generation. - */ - // @ts-ignore - getSeed(): number; - /** - * The enchantment option. 1, 2 or 3 - */ - // @ts-ignore - getOption(): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractInventoryEvent.Close.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractInventoryEvent.Close.ts deleted file mode 100644 index 45d1bbdc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractInventoryEvent.Close.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace InteractInventoryEvent { - // @ts-ignore - interface Close extends org.spongepowered.api.event.item.inventory.InteractInventoryEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractInventoryEvent.Open.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractInventoryEvent.Open.ts deleted file mode 100644 index f8c81b16..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractInventoryEvent.Open.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace InteractInventoryEvent { - // @ts-ignore - interface Open extends org.spongepowered.api.event.item.inventory.InteractInventoryEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractInventoryEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractInventoryEvent.ts deleted file mode 100644 index 3349bcef..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractInventoryEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - // @ts-ignore - interface InteractInventoryEvent extends org.spongepowered.api.event.item.inventory.TargetContainerEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the {@link Transaction} of {@link ItemStackSnapshot}s for this event. - */ - // @ts-ignore - getCursorTransaction(): org.spongepowered.api.data.Transaction; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary.MainHand.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary.MainHand.ts deleted file mode 100644 index 7c5031f5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary.MainHand.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace InteractItemEvent { - namespace Primary { - // @ts-ignore - interface MainHand extends org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary.OffHand.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary.OffHand.ts deleted file mode 100644 index cacb5cc8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary.OffHand.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace InteractItemEvent { - namespace Primary { - // @ts-ignore - interface OffHand extends org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary.ts deleted file mode 100644 index c1475fac..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Primary.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace InteractItemEvent { - // @ts-ignore - interface Primary extends org.spongepowered.api.event.item.inventory.InteractItemEvent, org.spongepowered.api.event.entity.living.humanoid.HandInteractEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary.MainHand.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary.MainHand.ts deleted file mode 100644 index 64b5f660..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary.MainHand.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace InteractItemEvent { - namespace Secondary { - // @ts-ignore - interface MainHand extends org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary.OffHand.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary.OffHand.ts deleted file mode 100644 index 0a33914b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary.OffHand.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace InteractItemEvent { - namespace Secondary { - // @ts-ignore - interface OffHand extends org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary { - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary.ts deleted file mode 100644 index 5785a2eb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace InteractItemEvent { - // @ts-ignore - interface Secondary extends org.spongepowered.api.event.item.inventory.InteractItemEvent, org.spongepowered.api.event.entity.living.humanoid.HandInteractEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.ts deleted file mode 100644 index 99e610e9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.InteractItemEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - // @ts-ignore - interface InteractItemEvent extends org.spongepowered.api.event.action.InteractEvent { - /** - * Gets the {@link ItemStackSnapshot} being interacted with. - */ - // @ts-ignore - getItemStack(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.TargetContainerEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.TargetContainerEvent.ts deleted file mode 100644 index 909d265d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.TargetContainerEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - // @ts-ignore - interface TargetContainerEvent extends org.spongepowered.api.event.item.inventory.TargetInventoryEvent { - // @ts-ignore - getTargetInventory(): org.spongepowered.api.item.inventory.Container; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.TargetInventoryEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.TargetInventoryEvent.ts deleted file mode 100644 index 4ede6491..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.TargetInventoryEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - // @ts-ignore - interface TargetInventoryEvent extends org.spongepowered.api.event.Event { - /** - * Gets the target {@link Inventory} of this {@link Event}. - */ - // @ts-ignore - getTargetInventory(): org.spongepowered.api.item.inventory.Inventory; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UpdateAnvilEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UpdateAnvilEvent.ts deleted file mode 100644 index 62568f09..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UpdateAnvilEvent.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - // @ts-ignore - interface UpdateAnvilEvent extends org.spongepowered.api.event.item.inventory.TargetInventoryEvent, org.spongepowered.api.event.Cancellable { - /** - * Returns the new item name. - */ - // @ts-ignore - getItemName(): string; - /** - * Returns the left input item. - */ - // @ts-ignore - getLeft(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * Returns the right input item. - */ - // @ts-ignore - getRight(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * Returns the transaction for the resulting item. - */ - // @ts-ignore - getResult(): org.spongepowered.api.data.Transaction; - /** - * Returns the transaction for the repair costs. - */ - // @ts-ignore - getCosts(): org.spongepowered.api.data.Transaction; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Finish.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Finish.ts deleted file mode 100644 index d2a1ef3f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Finish.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace UseItemStackEvent { - // @ts-ignore - interface Finish extends org.spongepowered.api.event.item.inventory.UseItemStackEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Replace.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Replace.ts deleted file mode 100644 index 0ab01e4c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Replace.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace UseItemStackEvent { - // @ts-ignore - interface Replace extends org.spongepowered.api.event.item.inventory.UseItemStackEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the {@link ItemStack} that is placed in the player's - * inventory in replacement of the stack that is currently being used. - */ - // @ts-ignore - getItemStackResult(): org.spongepowered.api.data.Transaction; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Reset.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Reset.ts deleted file mode 100644 index dcccc5af..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Reset.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace UseItemStackEvent { - // @ts-ignore - interface Reset extends org.spongepowered.api.event.item.inventory.UseItemStackEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Start.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Start.ts deleted file mode 100644 index 9343e984..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Start.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace UseItemStackEvent { - // @ts-ignore - interface Start extends org.spongepowered.api.event.item.inventory.UseItemStackEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Stop.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Stop.ts deleted file mode 100644 index f658cbb8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Stop.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace UseItemStackEvent { - // @ts-ignore - interface Stop extends org.spongepowered.api.event.item.inventory.UseItemStackEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Tick.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Tick.ts deleted file mode 100644 index 2d9da1a1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.Tick.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - namespace UseItemStackEvent { - // @ts-ignore - interface Tick extends org.spongepowered.api.event.item.inventory.UseItemStackEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.ts deleted file mode 100644 index f5f4db26..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.item.inventory.UseItemStackEvent.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace item { - namespace inventory { - // @ts-ignore - interface UseItemStackEvent extends org.spongepowered.api.event.Event { - /** - * Gets the original remaining duration of {@link ItemStack} in use. - */ - // @ts-ignore - getOriginalRemainingDuration(): number; - /** - * Gets the remaining duration of {@link ItemStack} in use. - */ - // @ts-ignore - getRemainingDuration(): number; - /** - * Sets the remaining duration of {@link ItemStack} in use. - */ - // @ts-ignore - setRemainingDuration(duration: number): void; - /** - * Gets the {@link ItemStack} being consumed. - */ - // @ts-ignore - getItemStackInUse(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageChannelEvent.Chat.ts b/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageChannelEvent.Chat.ts deleted file mode 100644 index eb508c1f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageChannelEvent.Chat.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace message { - namespace MessageChannelEvent { - // @ts-ignore - interface Chat extends org.spongepowered.api.event.message.MessageChannelEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the 'raw' chat message. - *

This message is the original chat message, without any formatting - * whatsoever.

- *

In Vanilla, this is equivalent to what a player typed into the - * chat box (no name prefix or other elements).

- */ - // @ts-ignore - getRawMessage(): org.spongepowered.api.text.Text; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageChannelEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageChannelEvent.ts deleted file mode 100644 index 78466eb7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageChannelEvent.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace message { - // @ts-ignore - interface MessageChannelEvent extends org.spongepowered.api.event.message.MessageEvent { - /** - * Gets the original channel that this message will be sent to. - */ - // @ts-ignore - getOriginalChannel(): org.spongepowered.api.text.channel.MessageChannel; - /** - * Gets the current channel that this message will be sent to. - *

Note that an {@link Optional#empty()} channel is different from a - * {@link MessageChannel#TO_NONE} channel.

- */ - // @ts-ignore - getChannel(): any; - /** - * Sets the channel for this message to go to. - *

Note that an {@link Optional#empty()} channel is different from a - * {@link MessageChannel#TO_NONE} channel.

- */ - // @ts-ignore - setChannel(channel: org.spongepowered.api.text.channel.MessageChannel): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.DefaultBodyApplier.ts b/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.DefaultBodyApplier.ts deleted file mode 100644 index 75bbb6cf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.DefaultBodyApplier.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace message { - namespace MessageEvent { - // @ts-ignore - class DefaultBodyApplier extends org.spongepowered.api.text.transform.SimpleTextTemplateApplier { - constructor(value: org.spongepowered.api.text.TextRepresentable) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.DefaultHeaderApplier.ts b/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.DefaultHeaderApplier.ts deleted file mode 100644 index 35ab4a9b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.DefaultHeaderApplier.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace message { - namespace MessageEvent { - // @ts-ignore - class DefaultHeaderApplier extends org.spongepowered.api.text.transform.SimpleTextTemplateApplier { - constructor(value: org.spongepowered.api.text.TextRepresentable) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.MessageFormatter.ts b/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.MessageFormatter.ts deleted file mode 100644 index ca20e05e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.MessageFormatter.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace message { - namespace MessageEvent { - // @ts-ignore - class MessageFormatter extends org.spongepowered.api.text.transform.FixedPartitionedTextFormatter { - constructor() - constructor(header: org.spongepowered.api.text.Text, body: org.spongepowered.api.text.Text) - constructor(body: org.spongepowered.api.text.Text) - /** - * Returns the header partition within this formatter. - */ - // @ts-ignore - public getHeader(): org.spongepowered.api.text.transform.SimpleTextFormatter; - /** - * Clears any existing components within the header partition and adds - * a new {@link TextTemplateApplier} to the partition with the - * specified value. - */ - // @ts-ignore - public setHeader(header: org.spongepowered.api.text.TextRepresentable): void; - /** - * Returns the body partition within this formatter. - */ - // @ts-ignore - public getBody(): org.spongepowered.api.text.transform.SimpleTextFormatter; - /** - * Clears any existing components within the body partition and adds - * a new {@link TextTemplateApplier} to the partition with the - * specified value. - */ - // @ts-ignore - public setBody(body: org.spongepowered.api.text.TextRepresentable): void; - /** - * Returns the footer partition within this formatter. - */ - // @ts-ignore - public getFooter(): org.spongepowered.api.text.transform.SimpleTextFormatter; - /** - * Clears any existing components within the footer partition and adds - * a new {@link TextTemplateApplier} to the partition with the - * specified value. - */ - // @ts-ignore - public setFooter(footer: org.spongepowered.api.text.TextRepresentable): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.ts deleted file mode 100644 index 01302279..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.message.MessageEvent.ts +++ /dev/null @@ -1,68 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace message { - // @ts-ignore - interface MessageEvent extends org.spongepowered.api.event.Event { - // @ts-ignore - PARAM_MESSAGE_HEADER: string; - // @ts-ignore - PARAM_MESSAGE_BODY: string; - // @ts-ignore - PARAM_MESSAGE_FOOTER: string; - /** - * Gets the original {@link Text} message. - */ - // @ts-ignore - getOriginalMessage(): org.spongepowered.api.text.Text; - /** - * Returns true if the {@link Text} returned by - * {@link #getMessage()} should not be sent. - */ - // @ts-ignore - isMessageCancelled(): boolean; - /** - * Sets whether the {@link Text} returned by - * {@link #getMessage()} should be sent. - */ - // @ts-ignore - setMessageCancelled(cancelled: boolean): void; - /** - * Returns the {@link MessageFormatter} used to mutate the event's message. - */ - // @ts-ignore - getFormatter(): org.spongepowered.api.event.message.MessageEvent.MessageFormatter; - /** - * Returns the formatted message. - */ - // @ts-ignore - getMessage(): org.spongepowered.api.text.Text; - /** - * Clears the currently set message and returns the empty formatter. - */ - // @ts-ignore - clearMessage(): org.spongepowered.api.event.message.MessageEvent.MessageFormatter; - /** - * Clears any existing components and sets the header, body, and footer - * respectively. - */ - // @ts-ignore - setMessage(header: org.spongepowered.api.text.TextRepresentable, body: org.spongepowered.api.text.TextRepresentable, footer: org.spongepowered.api.text.TextRepresentable): void; - /** - * Clears any existing components and sets the header and body - * respectively. - */ - // @ts-ignore - setMessage(header: org.spongepowered.api.text.TextRepresentable, body: org.spongepowered.api.text.TextRepresentable): void; - /** - * Clears any existing components and sets the body. - */ - // @ts-ignore - setMessage(body: org.spongepowered.api.text.TextRepresentable): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.BanIpEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.BanIpEvent.ts deleted file mode 100644 index 5caecc29..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.BanIpEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - // @ts-ignore - interface BanIpEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets the ban made in this event. - */ - // @ts-ignore - getBan(): org.spongepowered.api.util.ban.Ban.Ip; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.ChannelRegistrationEvent.Register.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.ChannelRegistrationEvent.Register.ts deleted file mode 100644 index e6d7379b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.ChannelRegistrationEvent.Register.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - namespace ChannelRegistrationEvent { - // @ts-ignore - interface Register extends org.spongepowered.api.event.network.ChannelRegistrationEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.ChannelRegistrationEvent.Unregister.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.ChannelRegistrationEvent.Unregister.ts deleted file mode 100644 index bf889147..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.ChannelRegistrationEvent.Unregister.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - namespace ChannelRegistrationEvent { - // @ts-ignore - interface Unregister extends org.spongepowered.api.event.network.ChannelRegistrationEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.ChannelRegistrationEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.ChannelRegistrationEvent.ts deleted file mode 100644 index 2c7c48cd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.ChannelRegistrationEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - // @ts-ignore - interface ChannelRegistrationEvent extends org.spongepowered.api.event.Event { - /** - * Gets the name of the channel being registered or unregistered. - */ - // @ts-ignore - getChannel(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Auth.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Auth.ts deleted file mode 100644 index f252b21d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Auth.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - namespace ClientConnectionEvent { - // @ts-ignore - interface Auth extends org.spongepowered.api.event.network.ClientConnectionEvent, org.spongepowered.api.event.message.MessageEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the {@link RemoteConnection} representing the client connection. - */ - // @ts-ignore - getConnection(): org.spongepowered.api.network.RemoteConnection; - /** - * Gets the profile of the client attempting to connect. - */ - // @ts-ignore - getProfile(): org.spongepowered.api.profile.GameProfile; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Disconnect.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Disconnect.ts deleted file mode 100644 index 1ed122b4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Disconnect.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - namespace ClientConnectionEvent { - // @ts-ignore - interface Disconnect extends org.spongepowered.api.event.network.ClientConnectionEvent, org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent, org.spongepowered.api.event.message.MessageChannelEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Join.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Join.ts deleted file mode 100644 index 29aa1ddb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Join.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - namespace ClientConnectionEvent { - // @ts-ignore - interface Join extends org.spongepowered.api.event.network.ClientConnectionEvent, org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent, org.spongepowered.api.event.message.MessageChannelEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Login.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Login.ts deleted file mode 100644 index 86756e6f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.Login.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - namespace ClientConnectionEvent { - // @ts-ignore - interface Login extends org.spongepowered.api.event.network.ClientConnectionEvent, org.spongepowered.api.event.message.MessageEvent, org.spongepowered.api.event.user.TargetUserEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the {@link RemoteConnection} representing the client connection. - */ - // @ts-ignore - getConnection(): org.spongepowered.api.network.RemoteConnection; - /** - * Gets the profile of the client attempting to connect. - */ - // @ts-ignore - getProfile(): org.spongepowered.api.profile.GameProfile; - /** - * Gets the transform that the {@link Player} came from. - */ - // @ts-ignore - getFromTransform(): org.spongepowered.api.entity.Transform; - /** - * Gets the new transform that the {@link Player} will change to. - */ - // @ts-ignore - getToTransform(): org.spongepowered.api.entity.Transform; - /** - * Sets the new transform that the {@link Player} will change to. - */ - // @ts-ignore - setToTransform(transform: org.spongepowered.api.entity.Transform): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.ts deleted file mode 100644 index 9f681308..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.ClientConnectionEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - // @ts-ignore - interface ClientConnectionEvent extends org.spongepowered.api.event.Event { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.PardonIpEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.PardonIpEvent.ts deleted file mode 100644 index c9b02120..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.PardonIpEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - // @ts-ignore - interface PardonIpEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets the ban pardoned in this event. - */ - // @ts-ignore - getBan(): org.spongepowered.api.util.ban.Ban.Ip; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.Connect.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.Connect.ts deleted file mode 100644 index a807c929..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.Connect.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - namespace rcon { - namespace RconConnectionEvent { - // @ts-ignore - interface Connect extends org.spongepowered.api.event.network.rcon.RconConnectionEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.Disconnect.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.Disconnect.ts deleted file mode 100644 index 97f15177..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.Disconnect.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - namespace rcon { - namespace RconConnectionEvent { - // @ts-ignore - interface Disconnect extends org.spongepowered.api.event.network.rcon.RconConnectionEvent { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.Login.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.Login.ts deleted file mode 100644 index b29b779a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.Login.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - namespace rcon { - namespace RconConnectionEvent { - // @ts-ignore - interface Login extends org.spongepowered.api.event.network.rcon.RconConnectionEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.ts deleted file mode 100644 index 25eed883..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.network.rcon.RconConnectionEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace network { - namespace rcon { - // @ts-ignore - interface RconConnectionEvent extends org.spongepowered.api.event.Event { - /** - * Gets the {@link RconSource} responsible for the event. - */ - // @ts-ignore - getSource(): org.spongepowered.api.command.source.RconSource; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.server.ClientPingServerEvent.Response.Players.ts b/packages/sponge/src/typings/org.spongepowered.api.event.server.ClientPingServerEvent.Response.Players.ts deleted file mode 100644 index 61c6a95e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.server.ClientPingServerEvent.Response.Players.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace server { - namespace ClientPingServerEvent { - namespace Response { - // @ts-ignore - interface Players extends org.spongepowered.api.network.status.StatusResponse.Players { - /** - * Sets the amount of online players to display on the client. - */ - // @ts-ignore - setOnline(online: number): void; - /** - * Sets the maximum amount of allowed players to display on the - * client. - */ - // @ts-ignore - setMax(max: number): void; - /** - * Gets an mutable list of online players on the server to display - * on the client. - */ - // @ts-ignore - getProfiles(): any[] /*java.util.List*/; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.server.ClientPingServerEvent.Response.ts b/packages/sponge/src/typings/org.spongepowered.api.event.server.ClientPingServerEvent.Response.ts deleted file mode 100644 index 0e8c68cf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.server.ClientPingServerEvent.Response.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace server { - namespace ClientPingServerEvent { - // @ts-ignore - interface Response extends org.spongepowered.api.network.status.StatusResponse { - /** - * Sets the description (MOTD) of the status response. - */ - // @ts-ignore - setDescription(description: org.spongepowered.api.text.Text): void; - // @ts-ignore - getPlayers(): any; - /** - * Sets whether the player count and the list of players on this server - * is hidden and doesn't get sent to the client. This will restore - * {@link #getPlayers()} if the players were previously hidden. - *

Use {@link #getPlayers()}.{@link Optional#isPresent() isPresent()} to - * check if the players are already hidden.

- *

In Vanilla, this will display {@code ???} instead of the player - * count in the server list.

- */ - // @ts-ignore - setHidePlayers(hide: boolean): void; - /** - * Sets the {@link Favicon} to display on the client. - */ - // @ts-ignore - setFavicon(favicon: org.spongepowered.api.network.status.Favicon): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.server.ClientPingServerEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.server.ClientPingServerEvent.ts deleted file mode 100644 index 69ad3614..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.server.ClientPingServerEvent.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace server { - // @ts-ignore - interface ClientPingServerEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets the client pinging the server. - */ - // @ts-ignore - getClient(): org.spongepowered.api.network.status.StatusClient; - /** - * Gets the response that is about to be sent to the client. - */ - // @ts-ignore - getResponse(): org.spongepowered.api.event.server.ClientPingServerEvent.Response; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.server.query.QueryServerEvent.Basic.ts b/packages/sponge/src/typings/org.spongepowered.api.event.server.query.QueryServerEvent.Basic.ts deleted file mode 100644 index 0d8644a2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.server.query.QueryServerEvent.Basic.ts +++ /dev/null @@ -1,114 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace server { - namespace query { - namespace QueryServerEvent { - // @ts-ignore - interface Basic extends org.spongepowered.api.event.server.query.QueryServerEvent { - /** - * Gets the MOTD to respond with. - *

By default, this is the server's current MOTD

- */ - // @ts-ignore - getMotd(): string; - /** - * Sets the MOTD to respond with. - *

If setting the string causes the message to go over the - * maximum size, the message will be automatically truncated.

- */ - // @ts-ignore - setMotd(motd: string): void; - /** - * Gets the GameType to respond with. - *

By default, this is SMP. - * If setting the string causes the message to go over the - * maximum size, the message will be automatically truncated.

- */ - // @ts-ignore - getGameType(): string; - /** - * Sets the GameType to respond with. - *

If setting the string causes the message to go over the - * maximum size, the message will be automatically truncated.

- */ - // @ts-ignore - setGameType(gameType: string): void; - /** - * Gets the map (world) to respond with. - *

By default, this is the current world on the server.

- */ - // @ts-ignore - getMap(): string; - /** - * Sets the map (world) to respond with. - *

If setting the string causes the message to go over the - * maximum size, the message will be automatically truncated.

- */ - // @ts-ignore - setMap(map: string): void; - /** - * Gets the player count to respond with. - *

By default, this is the number of players present on the server. - * If setting the string causes the message to go over the - * maximum size, the message will be automatically truncated.

- */ - // @ts-ignore - getPlayerCount(): number; - /** - * Sets the player count to respond with. - *

If setting the int causes the message to go over the - * maximum size, the message will be automatically truncated.

- */ - // @ts-ignore - setPlayerCount(playerCount: number): void; - /** - * Gets the max player count to respond with. - *

By default, this is the maximum number of players allowed on the - * server.

- */ - // @ts-ignore - getMaxPlayerCount(): number; - /** - * Sets the max player count to respond with. - *

If setting the int causes the message to go over the - * maximum size, the message will be automatically truncated.

- */ - // @ts-ignore - setMaxPlayerCount(maxPlayerCount: number): void; - /** - * Gets the address to respond with. - *

By default, this is the address the server is listening on.

- */ - // @ts-ignore - getAddress(): any; - /** - * Sets the address to respond with. - */ - // @ts-ignore - setAddress(address: any): void; - /** - * Gets the current size of the data to respond with. - *

This value is implementation-defined - it is only meaningful when - * compared with {@link #getMaxSize()}.

- */ - // @ts-ignore - getSize(): number; - /** - * Gets the maximum size of the data to respond with. - *

If the size of the data is greater than the returned value, - * it will be automatically truncated. - * This value is implementation-defined - it is only meaningful when - * compared with {@link #getSize()} ()}.

- */ - // @ts-ignore - getMaxSize(): number; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.server.query.QueryServerEvent.Full.ts b/packages/sponge/src/typings/org.spongepowered.api.event.server.query.QueryServerEvent.Full.ts deleted file mode 100644 index 69408727..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.server.query.QueryServerEvent.Full.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace server { - namespace query { - namespace QueryServerEvent { - // @ts-ignore - interface Full extends org.spongepowered.api.event.server.query.QueryServerEvent.Basic { - /** - * Gets the GameId to respond with. - *

This is currently hardcoded to MINECRAFT.

- */ - // @ts-ignore - getGameId(): string; - /** - * Gets the version to respond with. - *

By default, this is the server's Minecraft version (e.g 1.8.1). - *

- */ - // @ts-ignore - getVersion(): string; - /** - * Sets the version to respond with. - *

If setting the string causes the message to go over the - * maximum size, the message will be automatically truncated.

- */ - // @ts-ignore - setVersion(version: string): void; - /** - * Gets the list of plugins to respond with. - */ - // @ts-ignore - getPlugins(): string; - /** - * Sets the list of plugins to respond with. - *

If setting the string causes the message to go over the - * maximum size, the message will be automatically truncated.

- */ - // @ts-ignore - setPlugins(plugins: string): void; - /** - * Gets the map of custom keys and values to respond with. - *

If settings any of the keys or values causes the message - * to go over the maximum size, the message will be automatically - * truncated.

- */ - // @ts-ignore - getCustomValuesMap(): Map /*java.util.Map*/; - /** - * Gets the list of player names to respond with. - */ - // @ts-ignore - getPlayers(): any[] /*java.util.List*/; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.server.query.QueryServerEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.server.query.QueryServerEvent.ts deleted file mode 100644 index f8dea5df..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.server.query.QueryServerEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace server { - namespace query { - // @ts-ignore - interface QueryServerEvent extends org.spongepowered.api.event.Event { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.service.ChangeServiceProviderEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.service.ChangeServiceProviderEvent.ts deleted file mode 100644 index 125cc5cb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.service.ChangeServiceProviderEvent.ts +++ /dev/null @@ -1,43 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace service { - // @ts-ignore - interface ChangeServiceProviderEvent extends org.spongepowered.api.event.Event { - /** - * Gets the previous provider registration for the service, if available. - *

If a provider is being registered for the first time for the service, - * this will return {@link Optional#empty()}.

- *

If this is present, then it will always have the same - * provider as {@link #getNewProviderRegistration()}.

- */ - // @ts-ignore - getPreviousProviderRegistration(): any; - /** - * Gets the new provider registration for the service. - */ - // @ts-ignore - getNewProviderRegistration(): org.spongepowered.api.service.ProviderRegistration; - /** - * Gets whether a previous provider existed, which was replaced by the new - * provider. - */ - // @ts-ignore - isReplacement(): boolean; - /** - * Gets the service that a provider is being registered for. - */ - // @ts-ignore - getService(): any; - /** - * Gets the new provider being registered. - */ - // @ts-ignore - getNewProvider(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.AtEntity.ts b/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.AtEntity.ts deleted file mode 100644 index 2c738f50..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.AtEntity.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace sound { - namespace PlaySoundEvent { - // @ts-ignore - interface AtEntity extends org.spongepowered.api.event.sound.PlaySoundEvent { - // @ts-ignore - getPlayer(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Broadcast.ts b/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Broadcast.ts deleted file mode 100644 index 300740f4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Broadcast.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace sound { - namespace PlaySoundEvent { - // @ts-ignore - interface Broadcast extends org.spongepowered.api.event.sound.PlaySoundEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Record.Start.ts b/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Record.Start.ts deleted file mode 100644 index b7a87f4a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Record.Start.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace sound { - namespace PlaySoundEvent { - namespace Record { - // @ts-ignore - interface Start extends org.spongepowered.api.event.sound.PlaySoundEvent.Record { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Record.Stop.ts b/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Record.Stop.ts deleted file mode 100644 index 2202a0c2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Record.Stop.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace sound { - namespace PlaySoundEvent { - namespace Record { - // @ts-ignore - interface Stop extends org.spongepowered.api.event.sound.PlaySoundEvent.Record { - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Record.ts b/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Record.ts deleted file mode 100644 index ebcaa297..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.Record.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace sound { - namespace PlaySoundEvent { - // @ts-ignore - interface Record extends org.spongepowered.api.event.sound.PlaySoundEvent { - /** - * Gets the {@link Jukebox} associated with this event. - */ - // @ts-ignore - getJukebox(): org.spongepowered.api.block.tileentity.Jukebox; - /** - * Gets the {@link RecordType} associated with this event. - */ - // @ts-ignore - getRecordType(): org.spongepowered.api.effect.sound.record.RecordType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.ts deleted file mode 100644 index a133a057..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.sound.PlaySoundEvent.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace sound { - // @ts-ignore - interface PlaySoundEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets the location of the sound being played. - */ - // @ts-ignore - getLocation(): org.spongepowered.api.world.Location; - /** - * Gets the {@link SoundCategory} for the sound being played - */ - // @ts-ignore - getSoundCategory(): org.spongepowered.api.effect.sound.SoundCategory; - /** - * Gets the {@link SoundType} for the sound being played - */ - // @ts-ignore - getSoundType(): org.spongepowered.api.effect.sound.SoundType; - /** - * Gets the volume of the sound being played - */ - // @ts-ignore - getVolume(): number; - /** - * Gets the pitch of the sound being played - */ - // @ts-ignore - getPitch(): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.statistic.ChangeStatisticEvent.TargetPlayer.ts b/packages/sponge/src/typings/org.spongepowered.api.event.statistic.ChangeStatisticEvent.TargetPlayer.ts deleted file mode 100644 index 8096136f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.statistic.ChangeStatisticEvent.TargetPlayer.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace statistic { - namespace ChangeStatisticEvent { - // @ts-ignore - interface TargetPlayer extends org.spongepowered.api.event.statistic.ChangeStatisticEvent, org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.statistic.ChangeStatisticEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.statistic.ChangeStatisticEvent.ts deleted file mode 100644 index 8659dc4f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.statistic.ChangeStatisticEvent.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace statistic { - // @ts-ignore - interface ChangeStatisticEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets the {@link Statistic}. - */ - // @ts-ignore - getStatistic(): org.spongepowered.api.statistic.Statistic; - /** - * Gets the original value of the statistic. - */ - // @ts-ignore - getOriginalValue(): number; - /** - * Gets the new value of the statistic. - */ - // @ts-ignore - getValue(): number; - /** - * Sets the new value of the statistic to the given value. - */ - // @ts-ignore - setValue(value: number): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.user.BanUserEvent.TargetPlayer.ts b/packages/sponge/src/typings/org.spongepowered.api.event.user.BanUserEvent.TargetPlayer.ts deleted file mode 100644 index 65ccab57..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.user.BanUserEvent.TargetPlayer.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace user { - namespace BanUserEvent { - // @ts-ignore - interface TargetPlayer extends org.spongepowered.api.event.user.BanUserEvent, org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.user.BanUserEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.user.BanUserEvent.ts deleted file mode 100644 index 51b37b01..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.user.BanUserEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace user { - // @ts-ignore - interface BanUserEvent extends org.spongepowered.api.event.user.TargetUserEvent { - /** - * Gets the ban involved in this event. - */ - // @ts-ignore - getBan(): org.spongepowered.api.util.ban.Ban.Profile; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.user.PardonUserEvent.TargetPlayer.ts b/packages/sponge/src/typings/org.spongepowered.api.event.user.PardonUserEvent.TargetPlayer.ts deleted file mode 100644 index af3cc6be..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.user.PardonUserEvent.TargetPlayer.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace user { - namespace PardonUserEvent { - // @ts-ignore - interface TargetPlayer extends org.spongepowered.api.event.user.PardonUserEvent, org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent { - // @ts-ignore - getTargetUser(): org.spongepowered.api.entity.living.player.Player; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.user.PardonUserEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.user.PardonUserEvent.ts deleted file mode 100644 index f2c2ad17..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.user.PardonUserEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace user { - // @ts-ignore - interface PardonUserEvent extends org.spongepowered.api.event.user.TargetUserEvent { - /** - * Gets the ban involved in this event. - */ - // @ts-ignore - getBan(): org.spongepowered.api.util.ban.Ban.Profile; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.user.TargetUserEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.user.TargetUserEvent.ts deleted file mode 100644 index 89ce0c00..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.user.TargetUserEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace user { - // @ts-ignore - interface TargetUserEvent extends org.spongepowered.api.event.Event { - /** - * Gets the targeted {@link User}. - */ - // @ts-ignore - getTargetUser(): org.spongepowered.api.entity.living.player.User; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldBorderEvent.TargetPlayer.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldBorderEvent.TargetPlayer.ts deleted file mode 100644 index 3ae1906d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldBorderEvent.TargetPlayer.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace ChangeWorldBorderEvent { - // @ts-ignore - interface TargetPlayer extends org.spongepowered.api.event.world.ChangeWorldBorderEvent, org.spongepowered.api.event.entity.living.humanoid.player.TargetPlayerEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldBorderEvent.TargetWorld.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldBorderEvent.TargetWorld.ts deleted file mode 100644 index d4d0c579..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldBorderEvent.TargetWorld.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace ChangeWorldBorderEvent { - // @ts-ignore - interface TargetWorld extends org.spongepowered.api.event.world.ChangeWorldBorderEvent, org.spongepowered.api.event.world.TargetWorldEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldBorderEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldBorderEvent.ts deleted file mode 100644 index 64f75540..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldBorderEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - // @ts-ignore - interface ChangeWorldBorderEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets the border that was previously used as an {@link Optional}. There - * may be no border set for the target (especially, if it is a player), in - * which case, an empty {@code Optional} is returned. - */ - // @ts-ignore - getPreviousBorder(): any; - /** - * Gets the border that will be used as an {@link Optional}. For some - * targets, the border may be unset and therefore they may not always have a - * border. It is in these instances that an empty {@code Optional} is - * returned. - */ - // @ts-ignore - getNewBorder(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldGameRuleEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldGameRuleEvent.ts deleted file mode 100644 index 9a9344ad..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldGameRuleEvent.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - // @ts-ignore - interface ChangeWorldGameRuleEvent extends org.spongepowered.api.event.world.TargetWorldEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the original value of the GameRule. - */ - // @ts-ignore - getOriginalValue(): string; - /** - * Gets the new value of the GameRule. - */ - // @ts-ignore - getValue(): string; - /** - * Gets the name of this GameRule. - */ - // @ts-ignore - getName(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldWeatherEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldWeatherEvent.ts deleted file mode 100644 index cc8d5f8d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChangeWorldWeatherEvent.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - // @ts-ignore - interface ChangeWorldWeatherEvent extends org.spongepowered.api.event.world.TargetWorldEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the original {@link Weather} that the event is creating. - */ - // @ts-ignore - getOriginalWeather(): org.spongepowered.api.world.weather.Weather; - /** - * Gets the {@link Weather} that was happening before this event. - */ - // @ts-ignore - getInitialWeather(): org.spongepowered.api.world.weather.Weather; - /** - * Gets the {@link Weather} that this event is creating. - */ - // @ts-ignore - getWeather(): org.spongepowered.api.world.weather.Weather; - /** - * Sets what the new {@link Weather} should be with a random duration. - */ - // @ts-ignore - setWeather(weather: org.spongepowered.api.world.weather.Weather): void; - /** - * Gets the original duration of {@link ChangeWorldWeatherEvent#getWeather()} that would run after event. - */ - // @ts-ignore - getOriginalDuration(): number; - /** - * Sets the duration of the {@link Weather} (in ticks). - */ - // @ts-ignore - getDuration(): number; - /** - * Sets the duration of the {@link Weather} (in ticks). - */ - // @ts-ignore - setDuration(duration: number): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Cancelled.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Cancelled.ts deleted file mode 100644 index 65640c10..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Cancelled.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace ChunkPreGenerationEvent { - // @ts-ignore - interface Cancelled extends org.spongepowered.api.event.world.ChunkPreGenerationEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Complete.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Complete.ts deleted file mode 100644 index 002693bc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Complete.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace ChunkPreGenerationEvent { - // @ts-ignore - interface Complete extends org.spongepowered.api.event.world.ChunkPreGenerationEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Post.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Post.ts deleted file mode 100644 index 58264559..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Post.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace ChunkPreGenerationEvent { - // @ts-ignore - interface Post extends org.spongepowered.api.event.world.ChunkPreGenerationEvent, org.spongepowered.api.event.Cancellable { - /** - * The number of chunks generated during the previous step. - */ - // @ts-ignore - getChunksGeneratedThisStep(): number; - /** - * The number of chunks generated that did not need to be generated and - * were skipped over. - */ - // @ts-ignore - getChunksSkippedThisStep(): number; - /** - * The {@link Duration} of the previous step. - */ - // @ts-ignore - getTimeTakenForStep(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Pre.ts deleted file mode 100644 index e9248d46..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.Pre.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace ChunkPreGenerationEvent { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.world.ChunkPreGenerationEvent, org.spongepowered.api.event.Cancellable { - /** - * Returns whether the chunk generator will skip generation this time - * around. This only prevents the next step from being performed. - *

Use {@link #isCancelled()} to check for cancellation of the - * entire generation task.

- */ - // @ts-ignore - getSkipStep(): boolean; - /** - * Sets whether the next step should be skipped. - *

Use {@link #setCancelled(boolean)} to cancel the entire pre - * generation task.

- */ - // @ts-ignore - setSkipStep(skipStep: boolean): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.ts deleted file mode 100644 index 3b97a9de..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ChunkPreGenerationEvent.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - // @ts-ignore - interface ChunkPreGenerationEvent extends org.spongepowered.api.event.world.TargetWorldEvent { - /** - * The object that contains the progress information for the - * current {@link ChunkPreGenerate}. - */ - // @ts-ignore - getChunkPreGenerate(): org.spongepowered.api.world.ChunkPreGenerate; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ConstructPortalEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ConstructPortalEvent.ts deleted file mode 100644 index 5a399861..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ConstructPortalEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - // @ts-ignore - interface ConstructPortalEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets the position location of a portal. - */ - // @ts-ignore - getPortalLocation(): org.spongepowered.api.world.Location; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ConstructWorldPropertiesEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ConstructWorldPropertiesEvent.ts deleted file mode 100644 index c89cfd5a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ConstructWorldPropertiesEvent.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - // @ts-ignore - interface ConstructWorldPropertiesEvent extends org.spongepowered.api.event.Event { - /** - * Gets the properties of the newly created world. - */ - // @ts-ignore - getWorldProperties(): org.spongepowered.api.world.storage.WorldProperties; - /** - * Gets the {@link WorldArchetype} used to create the world. - */ - // @ts-ignore - getWorldArchetype(): org.spongepowered.api.world.WorldArchetype; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.Detonate.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.Detonate.ts deleted file mode 100644 index 44976001..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.Detonate.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace ExplosionEvent { - // @ts-ignore - interface Detonate extends org.spongepowered.api.event.world.ExplosionEvent, org.spongepowered.api.event.world.TargetWorldEvent, org.spongepowered.api.event.entity.AffectEntityEvent { - /** - * Gets the list of calculated affected locations for blocks that will - * be removed due to the explosion. Note that the list is mutable. - * However, adding new locations may cause unknown effects. - */ - // @ts-ignore - getAffectedLocations(): any[] /*java.util.List*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.Post.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.Post.ts deleted file mode 100644 index a5282aeb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.Post.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace ExplosionEvent { - // @ts-ignore - interface Post extends org.spongepowered.api.event.world.ExplosionEvent, org.spongepowered.api.event.block.ChangeBlockEvent.Post { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.Pre.ts deleted file mode 100644 index 40fb8ece..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.Pre.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace ExplosionEvent { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.world.ExplosionEvent, org.spongepowered.api.event.world.TargetWorldEvent, org.spongepowered.api.event.Cancellable { - /** - * Sets the {@link Explosion} involved for this event. This will - * override the explosion used before calculations take place with - * regards to the blocks and entities affected. - */ - // @ts-ignore - setExplosion(explosion: org.spongepowered.api.world.explosion.Explosion): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.ts deleted file mode 100644 index 9bc8c531..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.ExplosionEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - // @ts-ignore - interface ExplosionEvent extends org.spongepowered.api.event.Event { - /** - * Gets the {@link Explosion} involved in this event. - */ - // @ts-ignore - getExplosion(): org.spongepowered.api.world.explosion.Explosion; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.GenerateChunkEvent.Post.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.GenerateChunkEvent.Post.ts deleted file mode 100644 index f95d662a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.GenerateChunkEvent.Post.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace GenerateChunkEvent { - // @ts-ignore - interface Post extends org.spongepowered.api.event.world.GenerateChunkEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.GenerateChunkEvent.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.GenerateChunkEvent.Pre.ts deleted file mode 100644 index 5efc6f08..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.GenerateChunkEvent.Pre.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace GenerateChunkEvent { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.world.GenerateChunkEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.GenerateChunkEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.GenerateChunkEvent.ts deleted file mode 100644 index 6c65ae7b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.GenerateChunkEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - // @ts-ignore - interface GenerateChunkEvent extends org.spongepowered.api.event.world.chunk.TargetChunkEvent { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.LoadWorldEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.LoadWorldEvent.ts deleted file mode 100644 index d6d4d137..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.LoadWorldEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - // @ts-ignore - interface LoadWorldEvent extends org.spongepowered.api.event.world.TargetWorldEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.SaveWorldEvent.Post.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.SaveWorldEvent.Post.ts deleted file mode 100644 index 67276f55..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.SaveWorldEvent.Post.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace SaveWorldEvent { - // @ts-ignore - interface Post extends org.spongepowered.api.event.world.SaveWorldEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.SaveWorldEvent.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.SaveWorldEvent.Pre.ts deleted file mode 100644 index 00686da3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.SaveWorldEvent.Pre.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace SaveWorldEvent { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.world.SaveWorldEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.SaveWorldEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.SaveWorldEvent.ts deleted file mode 100644 index 55899f8c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.SaveWorldEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - // @ts-ignore - interface SaveWorldEvent extends org.spongepowered.api.event.world.TargetWorldEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.TargetWorldEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.TargetWorldEvent.ts deleted file mode 100644 index 8d586d9b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.TargetWorldEvent.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - // @ts-ignore - interface TargetWorldEvent extends org.spongepowered.api.event.Event { - /** - * Gets the target world of this {@link Event}. - */ - // @ts-ignore - getTargetWorld(): org.spongepowered.api.world.World; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.UnloadWorldEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.UnloadWorldEvent.ts deleted file mode 100644 index bad7a224..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.UnloadWorldEvent.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - // @ts-ignore - interface UnloadWorldEvent extends org.spongepowered.api.event.world.TargetWorldEvent, org.spongepowered.api.event.Cancellable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.ForcedChunkEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.ForcedChunkEvent.ts deleted file mode 100644 index 1fad34fa..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.ForcedChunkEvent.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace chunk { - // @ts-ignore - interface ForcedChunkEvent extends org.spongepowered.api.event.Event { - /** - * Gets the ticket that the chunk was added to. - */ - // @ts-ignore - getTicket(): org.spongepowered.api.world.ChunkTicketManager.LoadingTicket; - /** - * Gets the chunk coordinates. - */ - // @ts-ignore - getChunkCoords(): any /*Vector3i*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.LoadChunkEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.LoadChunkEvent.ts deleted file mode 100644 index 6b2b78fe..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.LoadChunkEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace chunk { - // @ts-ignore - interface LoadChunkEvent extends org.spongepowered.api.event.world.chunk.TargetChunkEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.Populate.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.Populate.ts deleted file mode 100644 index ec8e259b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.Populate.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace chunk { - namespace PopulateChunkEvent { - // @ts-ignore - interface Populate extends org.spongepowered.api.event.world.chunk.PopulateChunkEvent, org.spongepowered.api.event.Cancellable { - /** - * Gets the populator which is about to be run. - */ - // @ts-ignore - getPopulator(): org.spongepowered.api.world.gen.Populator; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.Post.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.Post.ts deleted file mode 100644 index f75b2199..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.Post.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace chunk { - namespace PopulateChunkEvent { - // @ts-ignore - interface Post extends org.spongepowered.api.event.world.chunk.PopulateChunkEvent { - /** - * Returns a copy of the {@link Populator}s that ran - * on this {@link Chunk}. - */ - // @ts-ignore - getAppliedPopulators(): any[] /*java.util.List*/; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.Pre.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.Pre.ts deleted file mode 100644 index 41e184d8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.Pre.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace chunk { - namespace PopulateChunkEvent { - // @ts-ignore - interface Pre extends org.spongepowered.api.event.world.chunk.PopulateChunkEvent { - /** - * Returns a mutable list of all pending populators. - */ - // @ts-ignore - getPendingPopulators(): any[] /*java.util.List*/; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.ts deleted file mode 100644 index 2cff7ff4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.PopulateChunkEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace chunk { - // @ts-ignore - interface PopulateChunkEvent extends org.spongepowered.api.event.world.chunk.TargetChunkEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.TargetChunkEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.TargetChunkEvent.ts deleted file mode 100644 index 166d6815..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.TargetChunkEvent.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace chunk { - // @ts-ignore - interface TargetChunkEvent extends org.spongepowered.api.event.Event { - /** - * Gets the {@link Chunk} being changed. - */ - // @ts-ignore - getTargetChunk(): org.spongepowered.api.world.Chunk; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.UnforcedChunkEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.UnforcedChunkEvent.ts deleted file mode 100644 index 64343377..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.UnforcedChunkEvent.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace chunk { - // @ts-ignore - interface UnforcedChunkEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable { - /** - * Gets the ticket that the chunk was removed from. - */ - // @ts-ignore - getTicket(): org.spongepowered.api.world.ChunkTicketManager.LoadingTicket; - /** - * Gets the chunk coordinates. - */ - // @ts-ignore - getChunkCoords(): any /*Vector3i*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.UnloadChunkEvent.ts b/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.UnloadChunkEvent.ts deleted file mode 100644 index 91defe67..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.event.world.chunk.UnloadChunkEvent.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace event { - namespace world { - namespace chunk { - // @ts-ignore - interface UnloadChunkEvent extends org.spongepowered.api.event.world.chunk.TargetChunkEvent { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStack.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStack.Builder.ts deleted file mode 100644 index c42adfc6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStack.Builder.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace fluid { - namespace FluidStack { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.persistence.DataBuilder { - /** - * Sets the {@link FluidType} to use to build the {@link FluidStack}. - */ - // @ts-ignore - fluid(fluidType: org.spongepowered.api.extra.fluid.FluidType): org.spongepowered.api.extra.fluid.FluidStack.Builder; - /** - * Sets the desired volume of the {@link FluidStack}. - *

Note that the volume is measured in "milli buckets", otherwise - * read as {@code mB}. The scaling is as follows: 1 bucket = 1000mB, - * whereas 1 block usually equals 1000mB.

- */ - // @ts-ignore - volume(volume: number): org.spongepowered.api.extra.fluid.FluidStack.Builder; - /** - * Builds a new {@link FluidStack} based on the desired volume and - * {@link FluidType}. If either are not set (invalid), an - * {@link IllegalStateException} may be thrown. - */ - // @ts-ignore - build(): org.spongepowered.api.extra.fluid.FluidStack; - /** - * Resets and fills this builder with all the information from the - * provided {@link FluidStackSnapshot}. - */ - // @ts-ignore - from(fluidStackSnapshot: org.spongepowered.api.extra.fluid.FluidStackSnapshot): org.spongepowered.api.extra.fluid.FluidStack.Builder; - // @ts-ignore - from(value: org.spongepowered.api.extra.fluid.FluidStack): org.spongepowered.api.extra.fluid.FluidStack.Builder; - // @ts-ignore - reset(): org.spongepowered.api.extra.fluid.FluidStack.Builder; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStack.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStack.ts deleted file mode 100644 index e4179b01..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStack.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace fluid { - // @ts-ignore - interface FluidStack extends org.spongepowered.api.data.DataHolder { - /** - * Creates a new {@link Builder} to make fluid stacks. - */ - // @ts-ignore - builder(): org.spongepowered.api.extra.fluid.FluidStack.Builder; - /** - * Gets the {@link FluidType} for this fluid stack. - */ - // @ts-ignore - getFluid(): org.spongepowered.api.extra.fluid.FluidType; - /** - * Gets the "volume" of this {@link FluidStack}. - *

Note that the volume is measured in "milli buckets", otherwise read - * as {@code mB}. The scaling is as follows: 1 bucket = 1000mB, whereas 1 - * block usually equals 1000mB.

- */ - // @ts-ignore - getVolume(): number; - /** - * Sets the desired volume for this stack. - *

Note that the volume is measured in "milli buckets", otherwise read - * as {@code mB}. The scaling is as follows: 1 bucket = 1000mB, whereas 1 - * block usually equals 1000mB.

- */ - // @ts-ignore - setVolume(volume: number): org.spongepowered.api.extra.fluid.FluidStack; - /** - * Creates a snapshot of this {@link FluidStack}. - */ - // @ts-ignore - createSnapshot(): org.spongepowered.api.extra.fluid.FluidStackSnapshot; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStackSnapshot.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStackSnapshot.Builder.ts deleted file mode 100644 index e50cb281..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStackSnapshot.Builder.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace fluid { - namespace FluidStackSnapshot { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.ImmutableDataBuilder { - // @ts-ignore - fluid(fluidType: org.spongepowered.api.extra.fluid.FluidType): org.spongepowered.api.extra.fluid.FluidStackSnapshot.Builder; - // @ts-ignore - volume(volume: number): org.spongepowered.api.extra.fluid.FluidStackSnapshot.Builder; - /** - * Resets this builder and accepts all data from the incoming {@link FluidStack}. - */ - // @ts-ignore - from(fluidStack: org.spongepowered.api.extra.fluid.FluidStack): org.spongepowered.api.extra.fluid.FluidStackSnapshot.Builder; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStackSnapshot.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStackSnapshot.ts deleted file mode 100644 index c84bb413..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidStackSnapshot.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace fluid { - // @ts-ignore - interface FluidStackSnapshot extends org.spongepowered.api.data.ImmutableDataHolder { - /** - * Creates a new {@link Builder} to build a new {@link FluidStackSnapshot}. - */ - // @ts-ignore - builder(): org.spongepowered.api.extra.fluid.FluidStackSnapshot.Builder; - /** - * Gets the {@link FluidType} of this snapshot. - */ - // @ts-ignore - getFluid(): org.spongepowered.api.extra.fluid.FluidType; - /** - * Gets the volume of this snapshot. - *

Note that the volume is measured in "milli buckets", otherwise read - * as {@code mB}. The scaling is as follows: 1 bucket = 1000mB, whereas 1 - * block usually equals 1000mB.

- */ - // @ts-ignore - getVolume(): number; - /** - * Creates a new {@link FluidStack} based on this snapshot. - */ - // @ts-ignore - createStack(): org.spongepowered.api.extra.fluid.FluidStack; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidType.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidType.ts deleted file mode 100644 index 6f5b0c27..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidType.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace fluid { - // @ts-ignore - interface FluidType extends org.spongepowered.api.CatalogType, org.spongepowered.api.data.property.PropertyHolder { - /** - * Gets the {@link BlockType} that normally would represent this fluid - * type if it exists as a block in the world. - */ - // @ts-ignore - getBlockTypeBase(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidTypes.ts deleted file mode 100644 index c4c57aa0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.FluidTypes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace fluid { - // @ts-ignore - class FluidTypes { - // @ts-ignore - public static WATER: org.spongepowered.api.extra.fluid.FluidType; - // @ts-ignore - public static LAVA: org.spongepowered.api.extra.fluid.FluidType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.immutable.ImmutableFluidItemData.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.immutable.ImmutableFluidItemData.ts deleted file mode 100644 index 7e64301b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.immutable.ImmutableFluidItemData.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace fluid { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableFluidItemData extends org.spongepowered.api.data.manipulator.ImmutableDataManipulator { - /** - * Gets the {@link ImmutableValue} of the {@link FluidStackSnapshot}. - */ - // @ts-ignore - fluid(): org.spongepowered.api.data.value.immutable.ImmutableValue; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.immutable.ImmutableFluidTankData.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.immutable.ImmutableFluidTankData.ts deleted file mode 100644 index 2d933c33..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.immutable.ImmutableFluidTankData.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace fluid { - namespace data { - namespace manipulator { - namespace immutable { - // @ts-ignore - interface ImmutableFluidTankData extends org.spongepowered.api.data.manipulator.immutable.ImmutableMappedData { - /** - * Gets the {@link MapValue} of the various {@link FluidStackSnapshot}s - * available from the owner. Note that a fluid tank may have multiple - * {@link FluidStack}s differing based on {@link Direction}. - */ - // @ts-ignore - fluids(): org.spongepowered.api.data.value.immutable.ImmutableMapValue; - /** - * Gets the {@link List} of {@link FluidStackSnapshot}s at a defined - * {@link Direction}. - */ - // @ts-ignore - fluidAtDirection(direction: org.spongepowered.api.util.Direction): any; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.mutable.FluidItemData.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.mutable.FluidItemData.ts deleted file mode 100644 index 17a526c3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.mutable.FluidItemData.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace fluid { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface FluidItemData extends org.spongepowered.api.data.manipulator.DataManipulator { - /** - * Gets the {@link FluidStackSnapshot} from the owner as a value. - */ - // @ts-ignore - fluid(): org.spongepowered.api.data.value.mutable.Value; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.mutable.FluidTankData.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.mutable.FluidTankData.ts deleted file mode 100644 index 69113517..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.manipulator.mutable.FluidTankData.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace fluid { - namespace data { - namespace manipulator { - namespace mutable { - // @ts-ignore - interface FluidTankData extends org.spongepowered.api.data.manipulator.mutable.MappedData { - /** - * Gets the {@link MapValue} of the various {@link FluidStackSnapshot}s - * available from the owner. Note that a fluid tank may have multiple - * {@link FluidStack}s differing based on {@link Direction}. - */ - // @ts-ignore - fluids(): org.spongepowered.api.data.value.mutable.MapValue; - /** - * Gets the {@link List} of {@link FluidStackSnapshot}s at a defined - * {@link Direction}. - */ - // @ts-ignore - fluidAtDirection(direction: org.spongepowered.api.util.Direction): any; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.property.FluidTemperatureProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.property.FluidTemperatureProperty.ts deleted file mode 100644 index 9ddbf755..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.property.FluidTemperatureProperty.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace fluid { - namespace data { - namespace property { - // @ts-ignore - class FluidTemperatureProperty extends org.spongepowered.api.data.property.IntProperty { - /** - * Creates a new {@link FluidTemperatureProperty} with the desired temperature. - */ - constructor(value: number) - /** - * Creates a new {@link FluidTemperatureProperty} with the desired temperature - * and {@link org.spongepowered.api.data.Property.Operator} for comparisons. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.property.FluidViscosityProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.property.FluidViscosityProperty.ts deleted file mode 100644 index c2e48755..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.fluid.data.property.FluidViscosityProperty.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace fluid { - namespace data { - namespace property { - // @ts-ignore - class FluidViscosityProperty extends org.spongepowered.api.data.property.IntProperty { - /** - * Creates a new {@link FluidViscosityProperty} with the desired viscosity. - */ - constructor(value: number) - /** - * Creates a new {@link FluidViscosityProperty} with the desired viscosity - * and {@link org.spongepowered.api.data.Property.Operator} for comparisons. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.empty.VoidWorldGeneratorModifier.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.empty.VoidWorldGeneratorModifier.ts deleted file mode 100644 index 91289678..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.empty.VoidWorldGeneratorModifier.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace modifier { - namespace empty { - // @ts-ignore - class VoidWorldGeneratorModifier implements org.spongepowered.api.world.gen.WorldGeneratorModifier { - constructor() - // @ts-ignore - public modifyWorldGenerator(world: org.spongepowered.api.world.storage.WorldProperties, settings: org.spongepowered.api.data.DataContainer, worldGenerator: org.spongepowered.api.world.gen.WorldGenerator): void; - // @ts-ignore - public getId(): string; - // @ts-ignore - public getName(): string; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsBiomeGenerator.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsBiomeGenerator.ts deleted file mode 100644 index c417c116..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsBiomeGenerator.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace modifier { - namespace skylands { - // @ts-ignore - class SkylandsBiomeGenerator implements org.spongepowered.api.world.gen.BiomeGenerator { - constructor() - // @ts-ignore - public generateBiomes(buffer: org.spongepowered.api.world.extent.MutableBiomeVolume): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsGrassPopulator.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsGrassPopulator.ts deleted file mode 100644 index f946a51a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsGrassPopulator.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace modifier { - namespace skylands { - // @ts-ignore - class SkylandsGrassPopulator implements org.spongepowered.api.world.gen.GenerationPopulator { - /** - * Constructs a new grass populator for the Skylands. - */ - constructor() - // @ts-ignore - public populate(world: org.spongepowered.api.world.World, buffer: org.spongepowered.api.world.extent.MutableBlockVolume, biomes: org.spongepowered.api.world.extent.ImmutableBiomeVolume): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsGroundCoverPopulator.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsGroundCoverPopulator.ts deleted file mode 100644 index 0411012c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsGroundCoverPopulator.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace modifier { - namespace skylands { - // @ts-ignore - class SkylandsGroundCoverPopulator implements org.spongepowered.api.world.gen.GenerationPopulator { - constructor() - // @ts-ignore - public populate(world: org.spongepowered.api.world.World, buffer: org.spongepowered.api.world.extent.MutableBlockVolume, biomes: org.spongepowered.api.world.extent.ImmutableBiomeVolume): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsTerrainGenerator.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsTerrainGenerator.ts deleted file mode 100644 index ee3cb142..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsTerrainGenerator.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace modifier { - namespace skylands { - // @ts-ignore - class SkylandsTerrainGenerator implements org.spongepowered.api.world.gen.GenerationPopulator { - /** - * Constructs a new Skylands terrain generator. - */ - constructor() - // @ts-ignore - public static MAX_HEIGHT: number; - // @ts-ignore - public static MIN_HEIGHT: number; - // @ts-ignore - public populate(world: org.spongepowered.api.world.World, buffer: org.spongepowered.api.world.extent.MutableBlockVolume, biomes: org.spongepowered.api.world.extent.ImmutableBiomeVolume): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsWorldGeneratorModifier.ts b/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsWorldGeneratorModifier.ts deleted file mode 100644 index 5ee87e00..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.extra.modifier.skylands.SkylandsWorldGeneratorModifier.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace extra { - namespace modifier { - namespace skylands { - // @ts-ignore - class SkylandsWorldGeneratorModifier implements org.spongepowered.api.world.gen.WorldGeneratorModifier { - constructor() - // @ts-ignore - public modifyWorldGenerator(properties: org.spongepowered.api.world.storage.WorldProperties, settings: org.spongepowered.api.data.DataContainer, worldGenerator: org.spongepowered.api.world.gen.WorldGenerator): void; - // @ts-ignore - public getId(): string; - // @ts-ignore - public getName(): string; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.FireworkEffect.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.FireworkEffect.Builder.ts deleted file mode 100644 index ec249bf3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.FireworkEffect.Builder.ts +++ /dev/null @@ -1,78 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace FireworkEffect { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets whether the {@link FireworkEffect} is going to have a trail - * or not. - */ - // @ts-ignore - trail(trail: boolean): org.spongepowered.api.item.FireworkEffect.Builder; - /** - * Sets whether the {@link FireworkEffect} is going to flicker - * on explosion. - */ - // @ts-ignore - flicker(flicker: boolean): org.spongepowered.api.item.FireworkEffect.Builder; - /** - * Adds the given {@link Color} to the initial explosion colors. - *

Colors can be mixed and matched in the order they are added - * in.

- */ - // @ts-ignore - color(color: org.spongepowered.api.util.Color): org.spongepowered.api.item.FireworkEffect.Builder; - /** - * Adds the given {@link Color}s to the initial explosion colors. - *

Colors can be mixed and matched in the order they are added - * in.

- */ - // @ts-ignore - colors(colors: org.spongepowered.api.util.Color): org.spongepowered.api.item.FireworkEffect.Builder; - /** - * Adds the given {@link Color}s to the initial explosion colors. - *

Colors can be mixed and matched in the order they are added - * in.

- */ - // @ts-ignore - colors(colors: any): org.spongepowered.api.item.FireworkEffect.Builder; - /** - * Adds the given {@link Color} to the fade colors. - *

Colors can be mixed and matched in the order they are added - * in.

- */ - // @ts-ignore - fade(color: org.spongepowered.api.util.Color): org.spongepowered.api.item.FireworkEffect.Builder; - /** - * Adds the given {@link Color}s to the fade colors. - *

Colors can be mixed and matched in the order they are added - * in.

- */ - // @ts-ignore - fades(colors: org.spongepowered.api.util.Color): org.spongepowered.api.item.FireworkEffect.Builder; - /** - * Adds the given {@link Color}s to the fade colors. - *

Colors can be mixed and matched in the order they are added - * in.

- */ - // @ts-ignore - fades(colors: any): org.spongepowered.api.item.FireworkEffect.Builder; - /** - * Sets the shape of the {@link FireworkEffect} explosion. - */ - // @ts-ignore - shape(shape: org.spongepowered.api.item.FireworkShape): org.spongepowered.api.item.FireworkEffect.Builder; - /** - * Builds a {@link FireworkEffect} based on the current state of this - * builder. - */ - // @ts-ignore - build(): org.spongepowered.api.item.FireworkEffect; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.FireworkEffect.ts b/packages/sponge/src/typings/org.spongepowered.api.item.FireworkEffect.ts deleted file mode 100644 index 12d59c40..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.FireworkEffect.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - // @ts-ignore - interface FireworkEffect extends org.spongepowered.api.data.DataSerializable { - /** - * Creates a new {@link Builder} to build a {@link FireworkEffect}. - */ - // @ts-ignore - builder(): org.spongepowered.api.item.FireworkEffect.Builder; - /** - * Gets whether this {@link FireworkEffect} will flicker when - * detonated. - */ - // @ts-ignore - flickers(): boolean; - /** - * Gets whether this {@link FireworkEffect} will have a trail - * when detonated. - */ - // @ts-ignore - hasTrail(): boolean; - /** - * Gets the ordered list of colors. - *

In some implementations, the order of colors defines the colors - * showing from edge to center of the firework explosion.

- */ - // @ts-ignore - getColors(): any[] /*java.util.List*/; - /** - * Gets the ordered list of colors. - *

Normally in vanilla, the order of colors defines the colors - * showing from edge to center of the firework explosion.

- */ - // @ts-ignore - getFadeColors(): any[] /*java.util.List*/; - /** - * Gets the explosion shape. - */ - // @ts-ignore - getShape(): org.spongepowered.api.item.FireworkShape; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.FireworkShape.ts b/packages/sponge/src/typings/org.spongepowered.api.item.FireworkShape.ts deleted file mode 100644 index 3b7e7765..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.FireworkShape.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - // @ts-ignore - interface FireworkShape extends org.spongepowered.api.CatalogType { - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.FireworkShapes.ts b/packages/sponge/src/typings/org.spongepowered.api.item.FireworkShapes.ts deleted file mode 100644 index 05bb9509..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.FireworkShapes.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - // @ts-ignore - class FireworkShapes { - // @ts-ignore - public static BALL: org.spongepowered.api.item.FireworkShape; - // @ts-ignore - public static BURST: org.spongepowered.api.item.FireworkShape; - // @ts-ignore - public static CREEPER: org.spongepowered.api.item.FireworkShape; - // @ts-ignore - public static LARGE_BALL: org.spongepowered.api.item.FireworkShape; - // @ts-ignore - public static STAR: org.spongepowered.api.item.FireworkShape; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.ItemType.ts b/packages/sponge/src/typings/org.spongepowered.api.item.ItemType.ts deleted file mode 100644 index a7916a97..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.ItemType.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - // @ts-ignore - interface ItemType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable, org.spongepowered.api.GameDictionary.Entry { - /** - * Gets the corresponding {@link BlockType} of this item if one exists. - */ - // @ts-ignore - getBlock(): any; - /** - * Gets the id of this item. - *

Ex. Minecraft registers a golden carrot as - * "minecraft:golden_carrot".

- */ - // @ts-ignore - getName(): string; - /** - * Gets the default maximum quantity for - * {@link ItemStack}s of this item. - */ - // @ts-ignore - getMaxStackQuantity(): number; - /** - * Gets the default {@link Property} of this {@link ItemType}. - *

While item stacks do have properties, generally, there is an - * intrinsic default property for many item types. However, it should be - * considered that when mods are introducing their own custom items, they - * too could introduce different item properties based on various data on - * the item stack. The default properties retrieved from here should merely - * be considered as a default, not as a definitive property.

- */ - // @ts-ignore - getDefaultProperty(propertyClass: any): any; - // @ts-ignore - getType(): org.spongepowered.api.item.ItemType; - // @ts-ignore - matches(stack: org.spongepowered.api.item.inventory.ItemStack): boolean; - // @ts-ignore - isSpecific(): boolean; - // @ts-ignore - getTemplate(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.ItemTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.item.ItemTypes.ts deleted file mode 100644 index 8dd23a5b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.ItemTypes.ts +++ /dev/null @@ -1,835 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - // @ts-ignore - class ItemTypes { - // @ts-ignore - public static ACACIA_BOAT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ACACIA_DOOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ACACIA_FENCE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ACACIA_FENCE_GATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ACACIA_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ACTIVATOR_RAIL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static AIR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ANVIL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static APPLE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ARMOR_STAND: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ARROW: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BAKED_POTATO: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BANNER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BARRIER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BEACON: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BED: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BEDROCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BEEF: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BEETROOT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BEETROOT_SEEDS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BEETROOT_SOUP: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BIRCH_BOAT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BIRCH_DOOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BIRCH_FENCE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BIRCH_FENCE_GATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BIRCH_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BLACK_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BLACK_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BLAZE_POWDER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BLAZE_ROD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BLUE_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BLUE_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BOAT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BONE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BONE_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BOOK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BOOKSHELF: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BOW: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BOWL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BREAD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BREWING_STAND: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BRICK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BRICK_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BRICK_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BROWN_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BROWN_MUSHROOM: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BROWN_MUSHROOM_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BROWN_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static BUCKET: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CACTUS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CAKE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CARPET: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CARROT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CARROT_ON_A_STICK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CAULDRON: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CHAINMAIL_BOOTS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CHAINMAIL_CHESTPLATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CHAINMAIL_HELMET: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CHAINMAIL_LEGGINGS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CHAIN_COMMAND_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CHEST: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CHEST_MINECART: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CHICKEN: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CHORUS_FLOWER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CHORUS_FRUIT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CHORUS_FRUIT_POPPED: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CHORUS_PLANT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CLAY: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CLAY_BALL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COAL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COAL_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COAL_ORE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COBBLESTONE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COBBLESTONE_WALL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COMMAND_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COMMAND_BLOCK_MINECART: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COMPARATOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COMPASS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CONCRETE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CONCRETE_POWDER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COOKED_BEEF: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COOKED_CHICKEN: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COOKED_FISH: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COOKED_MUTTON: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COOKED_PORKCHOP: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COOKED_RABBIT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static COOKIE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CRAFTING_TABLE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CYAN_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static CYAN_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DARK_OAK_BOAT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DARK_OAK_DOOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DARK_OAK_FENCE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DARK_OAK_FENCE_GATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DARK_OAK_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DAYLIGHT_DETECTOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DEADBUSH: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DETECTOR_RAIL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIAMOND: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIAMOND_AXE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIAMOND_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIAMOND_BOOTS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIAMOND_CHESTPLATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIAMOND_HELMET: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIAMOND_HOE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIAMOND_HORSE_ARMOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIAMOND_LEGGINGS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIAMOND_ORE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIAMOND_PICKAXE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIAMOND_SHOVEL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIAMOND_SWORD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DIRT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DISPENSER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DOUBLE_PLANT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DRAGON_BREATH: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DRAGON_EGG: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DROPPER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static DYE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static EGG: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ELYTRA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static EMERALD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static EMERALD_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static EMERALD_ORE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ENCHANTED_BOOK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ENCHANTING_TABLE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ENDER_CHEST: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ENDER_EYE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ENDER_PEARL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static END_BRICKS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static END_CRYSTAL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static END_PORTAL_FRAME: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static END_ROD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static END_STONE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static EXPERIENCE_BOTTLE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FARMLAND: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FEATHER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FENCE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FENCE_GATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FERMENTED_SPIDER_EYE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FILLED_MAP: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FIREWORKS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FIREWORK_CHARGE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FIRE_CHARGE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FISH: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FISHING_ROD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FLINT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FLINT_AND_STEEL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FLOWER_POT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FURNACE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static FURNACE_MINECART: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GHAST_TEAR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GLASS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GLASS_BOTTLE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GLASS_PANE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GLOWSTONE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GLOWSTONE_DUST: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLDEN_APPLE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLDEN_AXE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLDEN_BOOTS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLDEN_CARROT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLDEN_CHESTPLATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLDEN_HELMET: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLDEN_HOE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLDEN_HORSE_ARMOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLDEN_LEGGINGS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLDEN_PICKAXE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLDEN_RAIL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLDEN_SHOVEL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLDEN_SWORD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLD_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLD_INGOT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLD_NUGGET: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GOLD_ORE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GRASS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GRASS_PATH: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GRAVEL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GRAY_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GRAY_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GREEN_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GREEN_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static GUNPOWDER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static HARDENED_CLAY: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static HAY_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static HEAVY_WEIGHTED_PRESSURE_PLATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static HOPPER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static HOPPER_MINECART: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ICE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_AXE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_BARS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_BOOTS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_CHESTPLATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_DOOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_HELMET: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_HOE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_HORSE_ARMOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_INGOT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_LEGGINGS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_NUGGET: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_ORE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_PICKAXE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_SHOVEL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_SWORD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static IRON_TRAPDOOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ITEM_FRAME: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static JUKEBOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static JUNGLE_BOAT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static JUNGLE_DOOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static JUNGLE_FENCE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static JUNGLE_FENCE_GATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static JUNGLE_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static KNOWLEDGE_BOOK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LADDER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LAPIS_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LAPIS_ORE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LAVA_BUCKET: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LEAD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LEATHER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LEATHER_BOOTS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LEATHER_CHESTPLATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LEATHER_HELMET: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LEATHER_LEGGINGS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LEAVES: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LEAVES2: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LEVER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LIGHT_BLUE_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LIGHT_BLUE_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LIGHT_WEIGHTED_PRESSURE_PLATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LIME_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LIME_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LINGERING_POTION: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LIT_PUMPKIN: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LOG: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static LOG2: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MAGENTA_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MAGENTA_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MAGMA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MAGMA_CREAM: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MAP: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MELON: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MELON_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MELON_SEEDS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MILK_BUCKET: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MINECART: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MOB_SPAWNER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MONSTER_EGG: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MOSSY_COBBLESTONE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MUSHROOM_STEW: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MUTTON: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static MYCELIUM: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static NAME_TAG: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static NETHERBRICK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static NETHERRACK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static NETHER_BRICK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static NETHER_BRICK_FENCE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static NETHER_BRICK_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static NETHER_STAR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static NETHER_WART: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static NETHER_WART_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static NONE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static NOTEBLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static OAK_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static OBSERVER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static OBSIDIAN: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ORANGE_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ORANGE_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PACKED_ICE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PAINTING: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PAPER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PINK_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PINK_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PISTON: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PLANKS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static POISONOUS_POTATO: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PORKCHOP: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static POTATO: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static POTION: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PRISMARINE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PRISMARINE_CRYSTALS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PRISMARINE_SHARD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PUMPKIN: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PUMPKIN_PIE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PUMPKIN_SEEDS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PURPLE_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PURPLE_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PURPUR_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PURPUR_PILLAR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PURPUR_SLAB: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static PURPUR_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static QUARTZ: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static QUARTZ_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static QUARTZ_ORE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static QUARTZ_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RABBIT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RABBIT_FOOT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RABBIT_HIDE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RABBIT_STEW: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RAIL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RECORD_11: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RECORD_13: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RECORD_BLOCKS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RECORD_CAT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RECORD_CHIRP: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RECORD_FAR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RECORD_MALL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RECORD_MELLOHI: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RECORD_STAL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RECORD_STRAD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RECORD_WAIT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RECORD_WARD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static REDSTONE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static REDSTONE_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static REDSTONE_LAMP: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static REDSTONE_ORE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static REDSTONE_TORCH: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RED_FLOWER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RED_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RED_MUSHROOM: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RED_MUSHROOM_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RED_NETHER_BRICK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RED_SANDSTONE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RED_SANDSTONE_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static RED_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static REEDS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static REPEATER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static REPEATING_COMMAND_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static ROTTEN_FLESH: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SADDLE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SAND: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SANDSTONE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SANDSTONE_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SAPLING: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SEA_LANTERN: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SHEARS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SHIELD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SHULKER_SHELL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SIGN: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SILVER_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SILVER_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SKULL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SLIME: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SLIME_BALL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SNOW: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SNOWBALL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SNOW_LAYER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SOUL_SAND: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SPAWN_EGG: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SPECKLED_MELON: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SPECTRAL_ARROW: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SPIDER_EYE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SPLASH_POTION: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SPONGE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SPRUCE_BOAT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SPRUCE_DOOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SPRUCE_FENCE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SPRUCE_FENCE_GATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SPRUCE_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STAINED_GLASS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STAINED_GLASS_PANE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STAINED_HARDENED_CLAY: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STICK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STICKY_PISTON: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STONE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STONEBRICK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STONE_AXE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STONE_BRICK_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STONE_BUTTON: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STONE_HOE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STONE_PICKAXE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STONE_PRESSURE_PLATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STONE_SHOVEL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STONE_SLAB: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STONE_SLAB2: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STONE_STAIRS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STONE_SWORD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STRING: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STRUCTURE_BLOCK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static STRUCTURE_VOID: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static SUGAR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static TALLGRASS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static TIPPED_ARROW: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static TNT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static TNT_MINECART: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static TORCH: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static TOTEM_OF_UNDYING: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static TRAPDOOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static TRAPPED_CHEST: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static TRIPWIRE_HOOK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static VINE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WATERLILY: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WATER_BUCKET: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WEB: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WHEAT: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WHEAT_SEEDS: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WHITE_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WHITE_SHULKER_BOX: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WOODEN_AXE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WOODEN_BUTTON: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WOODEN_DOOR: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WOODEN_HOE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WOODEN_PICKAXE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WOODEN_PRESSURE_PLATE: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WOODEN_SHOVEL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WOODEN_SLAB: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WOODEN_SWORD: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WOOL: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WRITABLE_BOOK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static WRITTEN_BOOK: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static YELLOW_FLOWER: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static YELLOW_GLAZED_TERRACOTTA: org.spongepowered.api.item.ItemType; - // @ts-ignore - public static YELLOW_SHULKER_BOX: org.spongepowered.api.item.ItemType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.Enchantment.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.Enchantment.Builder.ts deleted file mode 100644 index eceb90b0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.Enchantment.Builder.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace enchantment { - namespace Enchantment { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.persistence.DataBuilder { - /** - * Sets the {@link EnchantmentType} for this enchantment. - */ - // @ts-ignore - type(enchantmentType: org.spongepowered.api.item.enchantment.EnchantmentType): org.spongepowered.api.item.enchantment.Enchantment.Builder; - /** - * Sets the level for this enchantment. - *

This level must be between {@link Short#MIN_VALUE} and - * {@link Short#MAX_VALUE}, but there is no guarantee all levels will - * work properly without error. It is recommended for reliable results - * you stay between {@link EnchantmentType#getMinimumLevel()} and - * {@link EnchantmentType#getMaximumLevel()}, or at least larger - * than 0 and less than {@link Short#MAX_VALUE}.

- */ - // @ts-ignore - level(level: number): org.spongepowered.api.item.enchantment.Enchantment.Builder; - /** - * Builds an instance of a {@link Enchantment} based on the entered - * information. - */ - // @ts-ignore - build(): org.spongepowered.api.item.enchantment.Enchantment; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.Enchantment.RandomListBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.Enchantment.RandomListBuilder.ts deleted file mode 100644 index a952700e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.Enchantment.RandomListBuilder.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace enchantment { - namespace Enchantment { - // @ts-ignore - interface RandomListBuilder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the random seed. - */ - // @ts-ignore - seed(seed: number): org.spongepowered.api.item.enchantment.Enchantment.RandomListBuilder; - /** - * Sets the enchanting option. (1-3 in vanilla) - */ - // @ts-ignore - option(option: number): org.spongepowered.api.item.enchantment.Enchantment.RandomListBuilder; - /** - * Sets the enchanting level. (max. 30 in vanilla) - */ - // @ts-ignore - level(level: number): org.spongepowered.api.item.enchantment.Enchantment.RandomListBuilder; - /** - * Sets whether to include treasure enchantments or not - */ - // @ts-ignore - treasure(treasure: boolean): org.spongepowered.api.item.enchantment.Enchantment.RandomListBuilder; - /** - * Sets a fixed pool for the random enchantments to pick from. - *

If empty a pool will be calculated based on the other values instead.

- */ - // @ts-ignore - fixedPool(pool: any[] /*java.util.List*/): org.spongepowered.api.item.enchantment.Enchantment.RandomListBuilder; - /** - * Sets the item for which the enchantments are chosen - */ - // @ts-ignore - item(item: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.enchantment.Enchantment.RandomListBuilder; - /** - * Builds an instance of a {@link Enchantment} based on the entered - * information. - */ - // @ts-ignore - build(): any[] /*java.util.List*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.Enchantment.ts b/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.Enchantment.ts deleted file mode 100644 index 5a3b8c7e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.Enchantment.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace enchantment { - // @ts-ignore - interface Enchantment extends org.spongepowered.api.data.DataSerializable { - /** - * Creates a new {@link Builder} to create an {@link Enchantment}. - */ - // @ts-ignore - builder(): org.spongepowered.api.item.enchantment.Enchantment.Builder; - // @ts-ignore - randomListBuilder(): org.spongepowered.api.item.enchantment.Enchantment.RandomListBuilder; - /** - * Creates a new {@link Enchantment} with the provided - * {@link EnchantmentType} and level. - */ - // @ts-ignore - of(enchantmentType: org.spongepowered.api.item.enchantment.EnchantmentType, level: number): org.spongepowered.api.item.enchantment.Enchantment; - /** - * Gets the {@link EnchantmentType} for this enchantment. - */ - // @ts-ignore - getType(): org.spongepowered.api.item.enchantment.EnchantmentType; - /** - * Gets the level of this enchantment. - */ - // @ts-ignore - getLevel(): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.EnchantmentType.ts b/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.EnchantmentType.ts deleted file mode 100644 index 9bf4b746..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.EnchantmentType.ts +++ /dev/null @@ -1,73 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace enchantment { - // @ts-ignore - interface EnchantmentType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - /** - * Gets the weight of this enchantment type. - *

Higher values are more common. This value is also used in the repair - * cost calculation.

- */ - // @ts-ignore - getWeight(): number; - /** - * Gets the minimum level of this enchantment type allowed where - * it is present. - */ - // @ts-ignore - getMinimumLevel(): number; - /** - * Gets the maximum level of this enchantment type normally allowed. - */ - // @ts-ignore - getMaximumLevel(): number; - /** - * Gets the minimum item enchantability for this level to be normally added - * by enchanting tables. - */ - // @ts-ignore - getMinimumEnchantabilityForLevel(level: number): number; - /** - * Gets the maximum item enchantability for this level to be normally added - * by enchanting tables. - */ - // @ts-ignore - getMaximumEnchantabilityForLevel(level: number): number; - /** - * Test if this enchantment type can be applied to an {@link ItemStack}. - */ - // @ts-ignore - canBeAppliedToStack(stack: org.spongepowered.api.item.inventory.ItemStack): boolean; - /** - * Test if this enchantment type can be applied to an {@link ItemStack} by - * the {@link EnchantmentTable}. - */ - // @ts-ignore - canBeAppliedByTable(stack: org.spongepowered.api.item.inventory.ItemStack): boolean; - /** - * Test if this enchantment type can be applied along with - * another enchantment type. - */ - // @ts-ignore - isCompatibleWith(enchantmentType: org.spongepowered.api.item.enchantment.EnchantmentType): boolean; - /** - * Gets whether or not this enchantment type is considered a "treasure" - * enchantment. - *

These do not occur naturally in enchantment tables.

- */ - // @ts-ignore - isTreasure(): boolean; - /** - * Gets whether or not this enchantment type is considered a "curse" - * enchantment. - */ - // @ts-ignore - isCurse(): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.EnchantmentTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.EnchantmentTypes.ts deleted file mode 100644 index f6c2b996..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.enchantment.EnchantmentTypes.ts +++ /dev/null @@ -1,73 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace enchantment { - // @ts-ignore - class EnchantmentTypes { - // @ts-ignore - public static AQUA_AFFINITY: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static BANE_OF_ARTHROPODS: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static BINDING_CURSE: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static BLAST_PROTECTION: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static DEPTH_STRIDER: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static EFFICIENCY: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static FEATHER_FALLING: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static FIRE_ASPECT: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static FIRE_PROTECTION: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static FLAME: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static FORTUNE: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static FROST_WALKER: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static INFINITY: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static KNOCKBACK: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static LOOTING: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static LUCK_OF_THE_SEA: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static LURE: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static MENDING: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static POWER: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static PROJECTILE_PROTECTION: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static PROTECTION: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static PUNCH: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static RESPIRATION: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static SHARPNESS: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static SILK_TOUCH: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static SMITE: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static SWEEPING: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static THORNS: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static UNBREAKING: org.spongepowered.api.item.enchantment.EnchantmentType; - // @ts-ignore - public static VANISHING_CURSE: org.spongepowered.api.item.enchantment.EnchantmentType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.AnvilCost.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.AnvilCost.ts deleted file mode 100644 index 6c67025e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.AnvilCost.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface AnvilCost extends org.spongepowered.api.data.DataSerializable { - /** - * Returns the level cost. - */ - // @ts-ignore - getLevelCost(): number; - /** - * Returns the material cost. - */ - // @ts-ignore - getMaterialCost(): number; - /** - * Returns a modified copy of the Costs - */ - // @ts-ignore - withLevelCost(levelCost: number): org.spongepowered.api.item.inventory.AnvilCost; - /** - * Returns a modified copy of the Costs - */ - // @ts-ignore - withMaterialCost(materialCost: number): org.spongepowered.api.item.inventory.AnvilCost; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.BlockCarrier.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.BlockCarrier.ts deleted file mode 100644 index 3f9fb75d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.BlockCarrier.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface BlockCarrier extends org.spongepowered.api.item.inventory.Carrier, org.spongepowered.api.world.Locatable { - /** - * Returns the Location of the Block. - */ - // @ts-ignore - getLocation(): org.spongepowered.api.world.Location; - /** - * Returns the Inventory owned by this Carrier and accessible from - * the given direction. - *

e.g. A Furnace accessed from {@link Direction#DOWN} will return its Fuel Slot

- *

When no inventory is accessible a {@link EmptyInventory} is returned

- */ - // @ts-ignore - getInventory(from: org.spongepowered.api.util.Direction): org.spongepowered.api.item.inventory.Inventory; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Carrier.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Carrier.ts deleted file mode 100644 index 9b794ade..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Carrier.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface Carrier { - /** - * Returns the inventory that this Carrier is holding. - */ - // @ts-ignore - getInventory(): org.spongepowered.api.item.inventory.type.CarriedInventory; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Container.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Container.ts deleted file mode 100644 index 23d97d94..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Container.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface Container extends org.spongepowered.api.item.inventory.type.Interactable { - /** - * Gets the current viewers looking at this Inventory. - */ - // @ts-ignore - getViewers(): any[] /*java.util.Set*/; - /** - * Checks for whether this Inventory currently has viewers. - */ - // @ts-ignore - hasViewers(): boolean; - /** - * Shows this Inventory to the given viewer. - */ - // @ts-ignore - open(viewer: org.spongepowered.api.entity.living.player.Player): void; - /** - * Stops showing this Inventory to the given viewer. - */ - // @ts-ignore - close(viewer: org.spongepowered.api.entity.living.player.Player): void; - /** - * Returns whether given slot is part of the viewed inventories - * but not part of the viewers own inventory. - *

Examples for viewed inventory slots:

- *

All the slots of the opened chest and not the player grid below.

- *

The slots of the crafting grid in the opened player inventory.

- */ - // @ts-ignore - isViewedSlot(slot: org.spongepowered.api.item.inventory.Slot): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.EmptyInventory.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.EmptyInventory.ts deleted file mode 100644 index 28bcfaa1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.EmptyInventory.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface EmptyInventory extends org.spongepowered.api.item.inventory.Inventory { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Inventory.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Inventory.Builder.ts deleted file mode 100644 index 5c3c29df..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Inventory.Builder.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace Inventory { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the base {@link InventoryArchetype} for the Inventory. - */ - // @ts-ignore - of(archetype: org.spongepowered.api.item.inventory.InventoryArchetype): org.spongepowered.api.item.inventory.Inventory.Builder; - /** - * Sets an {@link InventoryProperty}. - */ - // @ts-ignore - property(name: string, property: org.spongepowered.api.item.inventory.InventoryProperty): org.spongepowered.api.item.inventory.Inventory.Builder; - /** - * Sets an {@link InventoryProperty} with its default key. - */ - // @ts-ignore - property(property: org.spongepowered.api.item.inventory.InventoryProperty): org.spongepowered.api.item.inventory.Inventory.Builder; - /** - * Sets the {@link Carrier} that carries the Inventory. - */ - // @ts-ignore - withCarrier(carrier: org.spongepowered.api.item.inventory.Carrier): org.spongepowered.api.item.inventory.Inventory.Builder; - /** - * Registers a listener for given Event type - */ - // @ts-ignore - listener(type: any, listener: any): org.spongepowered.api.item.inventory.Inventory.Builder; - /** - * Sets the InventoryArchetype and Properties according to the - * {@link Carrier}s Inventory. - */ - // @ts-ignore - forCarrier(carrier: org.spongepowered.api.item.inventory.Carrier): org.spongepowered.api.item.inventory.Inventory.Builder; - /** - * Sets the InventoryArchetype and Properties for a default Inventory of - * given {@link Carrier}. - */ - // @ts-ignore - forCarrier(carrier: any): org.spongepowered.api.item.inventory.Inventory.Builder; - /** - * Builds the {@link Inventory}. - */ - // @ts-ignore - build(plugin: any): org.spongepowered.api.item.inventory.Inventory; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Inventory.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Inventory.ts deleted file mode 100644 index a8b6e57e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Inventory.ts +++ /dev/null @@ -1,384 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface Inventory extends org.spongepowered.api.Nameable { - /** - * Creates a new {@link Inventory.Builder} to build an {@link Inventory}. - */ - // @ts-ignore - builder(): org.spongepowered.api.item.inventory.Inventory.Builder; - /** - * Gets the parent {@link Inventory} of this {@link Inventory}. - */ - // @ts-ignore - parent(): org.spongepowered.api.item.inventory.Inventory; - /** - * Gets the root {@link Inventory} of this {@link Inventory}. - * This is equivalent to calling {@link #parent()} until it returns itself. - */ - // @ts-ignore - root(): org.spongepowered.api.item.inventory.Inventory; - /** - * Returns an iterable view of all {@link Slot}s (leaf nodes) in this - * Inventory. - */ - // @ts-ignore - slots(): any; - /** - * Return the first child inventory, effectively the same as - * Inventory::iterator().next() but more convenient when we are - * expecting a result set with only a single entry. Also use type specifier - * to allow easy pseudo-duck-typing. If no children, then returns - * this. - */ - // @ts-ignore - first(): org.spongepowered.api.item.inventory.Inventory; - /** - * Return the next sibling inventory, allows traversing the inventory - * hierarchy without using an iterator. If no more siblings, returns an - * {@link EmptyInventory}. - */ - // @ts-ignore - next(): org.spongepowered.api.item.inventory.Inventory; - /** - * Gets and remove the first available stack from this Inventory. - *

'Available' has a different meaning for different inventory types. In - * a single-slot inventory this has a fixed implication. However larger and - * more complex inventories are at liberty to implement whatever logic they - * wish to back this method. If an inventory cannot provide a meaningful - * implementation of this method then it should return - * {@link Optional#empty()} instead.

- *

For consumers, this means that just because an inventory doesn't - * return anything here, this does not imply that the inventory is empty, - * just that a more specific query is required to obtain items from it.

- */ - // @ts-ignore - poll(): any; - /** - *

Get and remove up to limit items of the type in the first - * available stack in this Inventory from all stacks in this Inventory. If - * no stack is available then {@link Optional#empty()} is returned (as per - * the usual behaviour of {@link #poll()}, otherwise a new {@link ItemStack} - * is returned containing the removed items, the contents of the stack in - * the inventory are reduced by the number of items consumed. Note that this - * method attempts to consume items into the output up to - * limit, which may consume items from an arbitrary number - * of internal slots.

- *

For example, assume an inventory containing 4 slots contains stacks as - * follows:

- *
- *
[Stone x10] [Dirt x3] [Arrows x9] [Stone x32]
- *
- *

Calling poll(16) on this inventory will consume Stone - * from the Inventory (because the first stack contains stone), and - * will then consume the remaining 6 items from the 4th slot.

- *

It is intended that this method is used in conjunction with a query - * which returns a set of slots containing a specific item type:

- *
- *
Optional<ItemStack> q = inv.query(ItemTypes.DIRT).poll(1);
-                         * 
- *
- */ - // @ts-ignore - poll(limit: number): any; - /** - * Gets without removing the first available stack from this Inventory. For - * the definition of 'available', see {@link #poll}. - */ - // @ts-ignore - peek(): any; - /** - * Uses the same semantics as {@link #poll(int)} but does not remove the - * items from the inventory. The {@link ItemStack} returned is thus a - * new ItemStack containing a copy of the items in inventory. Use - * this method only if you wish to determine whether a call to - * {@link #poll(int)} is likely to succeed. - */ - // @ts-ignore - peek(limit: number): any; - /** - * Try to put an ItemStack into this Inventory. Just like - * {@link Queue}, this method returns true if the Inventory - * accepted the stack and false if not, the size of the supplied stack is - * reduced by the number of items successfully consumed by the Inventory. - *

Unlike {@link #set}, this method's general contract does not permit - * items in the Inventory to be replaced. However trying to insert items - * that an Inventory cannot accept is not an error condition, the size of - * the supplied stack will simply not be reduced if no items are consumed by - * the Inventory.

- */ - // @ts-ignore - offer(stack: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult; - /** - * Returns true if the entire stack can fit in this inventory. - *

If this returns {@code true} {@link #offer(ItemStack)} should always succeed.

- */ - // @ts-ignore - canFit(stack: org.spongepowered.api.item.inventory.ItemStack): boolean; - /** - * Forcibly put the supplied stack into this inventory. Overwrites existing - * objects in the inventory as required to accommodate the entire stack. The - * entire stack is always consumed. - *

The general contract of this method is to prioritise insertion of the - * supplied items over items already in the Inventory. However the Inventory - * may still reject the supplied items if they are of an unsupported type - * for the target (for example trying to insert non-fuel items into a fuel - * slot) or if the number of items is larger than the total capacity of the - * inventory and not all items from the supplied stack can be consumed.

- *

For {@link Slot}s, the supplied stack is generally consumed and the - * existing contents ejected (at the discretion of the target Inventory). - * For multi-slot inventories the insertion order is up to the target - * inventory to decide, and does not have to match the traversal order of - * the leaf nodes as supplied by {@link #slots()}, although this is - * generally recommended. Inventories should document their specific - * insertion logic where the insertion order differs from the traversal - * order.

- *

Consumers should inspect the returned - * {@link InventoryTransactionResult} and act accordingly. Ejected items - * should generally be "thrown" into the world or deposited into another - * Inventory (depending on the operation in question. The supplied stack is - * not adjusted, any rejected items are returned in the operation result - * struct.

- */ - // @ts-ignore - set(stack: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult; - /** - * Clears this inventory if it is clearable. - */ - // @ts-ignore - clear(): void; - /** - * The number of non-empty slots in the Inventory. Either 1 or 0 for - * {@link Slot}s and always 0 for {@link EmptyInventory}s. - */ - // @ts-ignore - size(): number; - /** - * Returns the number total number of individual items in this - * inventory. - *

This equivalent to counting up the stack sizes of all slots.

- */ - // @ts-ignore - totalItems(): number; - /** - * The maximum number of stacks the Inventory can hold. Always 1 for - * {@link Slot}s and always 0 for {@link EmptyInventory}s. - */ - // @ts-ignore - capacity(): number; - /** - * Returns true if this Inventory contains children. If false, this does not - * imply that the Inventory accepts no items, and an Inventory is perfectly - * at liberty to provide {@link #peek}, {@link #poll}, {@link #offer} and - * {@link #set} semantics even if it has no internal storage of its own. - */ - // @ts-ignore - hasChildren(): boolean; - /** - * Checks whether the stacks quantity or more of given stack is - * contained in this Inventory. This is equivalent to calling - * !inv.query(stack).hasChildren(); To check if an - * inventory contains any amount use {@link #containsAny(ItemStack)}. - */ - // @ts-ignore - contains(stack: org.spongepowered.api.item.inventory.ItemStack): boolean; - /** - * Checks for whether there is a stack in this Inventory with the given - * ItemType. This is equivalent to calling !inv.query(stack) - * .hasChildren(); - */ - // @ts-ignore - contains(type: org.spongepowered.api.item.ItemType): boolean; - /** - * Checks whether the given stack is contained in this Inventory. - * The stack size is ignored. Note this will return true if any amount - * of the supplied stack is found. To check if an inventory contains at - * least an amount use {@link #contains(ItemStack)}. - */ - // @ts-ignore - containsAny(stack: org.spongepowered.api.item.inventory.ItemStack): boolean; - /** - * Returns the maximum size of any stack in this Inventory. - */ - // @ts-ignore - getMaxStackSize(): number; - /** - * Sets the maximum stack size of any stack in this ItemList. - */ - // @ts-ignore - setMaxStackSize(size: number): void; - /** - * Returns all properties matching the supplied type defined in - * this inventory for the specified (immediate) sub-inventory. If - * no matching properties are defined an empty collection is returned. - */ - // @ts-ignore - getProperties(child: org.spongepowered.api.item.inventory.Inventory, property: any): any[] /*java.util.Collection*/; - /** - * Gets all properties of the specified type defined directly on this - * Inventory. For sub-inventories this is effectively the same as - * inv.getParent().getProperty(inv, property); but for - * top-level inventories may include properties defined on the inventory - * directly. - */ - // @ts-ignore - getProperties(property: any): any[] /*java.util.Collection*/; - /** - * Gets the property with the specified key defined in this - * inventory for the specified (immediate) sub-inventory. - */ - // @ts-ignore - getProperty(child: org.spongepowered.api.item.inventory.Inventory, property: any, key: any): any; - /** - * Gets a property with the specified key defined directly on this Inventory - * if one is defined. For sub-inventories this is effectively the same as - * inv.getParent().getProperty(inv, property, key); but for - * top-level inventories may include properties defined on the inventory - * directly. - */ - // @ts-ignore - getProperty(property: any, key: any): any; - /** - * Gets the property with the default key defined in this - * inventory for the specified (immediate) sub-inventory. - */ - // @ts-ignore - getInventoryProperty(child: org.spongepowered.api.item.inventory.Inventory, property: any): any; - /** - * Gets a property with the default key defined directly on this Inventory - * if one is defined. For sub-inventories this is effectively the same as - * inv.getParent().getProperty(inv, property); but for - * top-level inventories may include properties defined on the inventory - * directly. - */ - // @ts-ignore - getInventoryProperty(property: any): any; - /** - * Query this inventory for inventories matching any of the supplied types. - * This is effectively an instanceof check against each child - * inventory. Logical OR is applied between operands. - */ - // @ts-ignore - query(types: any): org.spongepowered.api.item.inventory.Inventory; - /** - * Query this inventory for inventories containing any of the supplied item - * types. This query operates directly on {@link Slot} leaf nodes in the - * inventory and will always return a collection containing only - * {@link Slot} instances. Logical OR is applied between - * operands. - */ - // @ts-ignore - query(types: org.spongepowered.api.item.ItemType): org.spongepowered.api.item.inventory.Inventory; - /** - * Query this inventory for inventories containing stacks which match the - * supplied stack operand. This query operates directly on {@link Slot} - * leaf nodes in the inventory and will always return a collection - * containing only {@link Slot} instances. - * To query for stacks of any size use {@link #queryAny(ItemStack...)}. - */ - // @ts-ignore - query(types: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.inventory.Inventory; - /** - * Query this inventory for inventories which match any of the supplied - * properties. The equals method of each property is called on - * each child inventory which has the supplied property. Logical - * OR is applied between operands. This method is effectively - * the same as calling {@link #query} with an - * {@link org.spongepowered.api.data.Property.Operator} of - * {@link org.spongepowered.api.data.Property.Operator#EQUAL}. - */ - // @ts-ignore - query(props: org.spongepowered.api.item.inventory.InventoryProperty): org.spongepowered.api.item.inventory.Inventory; - /** - * Query this inventory for inventories matching any of the supplied titles. - * Logical OR is applied between operands. - */ - // @ts-ignore - query(names: org.spongepowered.api.text.translation.Translation): org.spongepowered.api.item.inventory.Inventory; - /** - *

Query this inventory by dynamically inspecting each operand. Each - * operand in turn is checked for a match against the other query methods, - * and if a matching method is found the query is performed using the - * operand. This is repeated until all operands are consumed and allows a - * union of multiple query types to be aggregated into a single view.

- *

For operands with no matching type, the behaviour is determined by the - * individual inventory. A naive match may be obtained by calling .equals() - * against the child inventory passing the unknown operand as an argument. - *

- */ - // @ts-ignore - query(args: any): org.spongepowered.api.item.inventory.Inventory; - /** - * Query this inventory for inventories containing any stacks which match - * the supplied stack operands ignoring its quantity. This query operates - * directly on {@link Slot} leaf nodes in the inventory and will always - * return a collection containing only {@link Slot} instances. Logical - * OR is applied between operands. - * This ignores stack sizes. To query for stacks of a specific size use - * {@link #query(ItemStack...)}. - */ - // @ts-ignore - queryAny(types: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.inventory.Inventory; - /** - * Query this inventory for inventories matching any of the supplied - * queries. Logical OR is applied between operands. - */ - // @ts-ignore - query(operations: org.spongepowered.api.item.inventory.query.QueryOperation): org.spongepowered.api.item.inventory.Inventory; - /** - * Returns the {@link PluginContainer} who built this inventory. - */ - // @ts-ignore - getPlugin(): org.spongepowered.api.plugin.PluginContainer; - /** - * Creates an {@link InventoryArchetype} based on this {@link Inventory}. - */ - // @ts-ignore - getArchetype(): org.spongepowered.api.item.inventory.InventoryArchetype; - /** - * Intersects the slots of both inventories. - * The resulting inventory will only contain slots - * that are present in both inventories. - */ - // @ts-ignore - intersect(inventory: org.spongepowered.api.item.inventory.Inventory): org.spongepowered.api.item.inventory.Inventory; - /** - * Constructs a union of the slots in both inventories. - *

The resulting inventory will contain all slots from - * both inventories.

- *

The slots of this inventory are ordered before the slots of the - * given inventory.

- *

If the same slot is contained in both inventories the duplicate - * in the second one is removed.

- */ - // @ts-ignore - union(inventory: org.spongepowered.api.item.inventory.Inventory): org.spongepowered.api.item.inventory.Inventory; - /** - * Returns true if the given inventory is a descendant of this one. - * This method will check for deeply nested inventories but - * will only return true if the entire inventory structure is contained. - * This means that e.g. for a query result of multiple slots the - * inventory will not return true even if all slots are contained. - * If you want to check if all slots of an inventory are contained in - * another one use {@link #intersect(Inventory)} instead. - *

- * You can use this if you want to check if a single Slot is contained - * in an inventory or an entire row is contained in a Grid. - *

- */ - // @ts-ignore - containsInventory(inventory: org.spongepowered.api.item.inventory.Inventory): boolean; - /** - * Transforms this inventory using the given transformation. - */ - // @ts-ignore - transform(transformation: org.spongepowered.api.item.inventory.InventoryTransformation): org.spongepowered.api.item.inventory.Inventory; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryArchetype.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryArchetype.Builder.ts deleted file mode 100644 index 3a6376fb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryArchetype.Builder.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace InventoryArchetype { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Adds a {@link InventoryTitle} to this Archetype. - */ - // @ts-ignore - title(title: org.spongepowered.api.text.translation.Translation): org.spongepowered.api.item.inventory.InventoryArchetype.Builder; - /** - * Adds a {@link InventoryTitle} to this Archetype. - */ - // @ts-ignore - title(title: org.spongepowered.api.text.Text): org.spongepowered.api.item.inventory.InventoryArchetype.Builder; - /** - * Adds an {@link InventoryProperty} to this Archetype. - */ - // @ts-ignore - property(property: org.spongepowered.api.item.inventory.InventoryProperty): org.spongepowered.api.item.inventory.InventoryArchetype.Builder; - /** - * Adds an {@link InventoryArchetype} to this Archetype. - */ - // @ts-ignore - with(archetype: org.spongepowered.api.item.inventory.InventoryArchetype): org.spongepowered.api.item.inventory.InventoryArchetype.Builder; - /** - * Adds multiple {@link InventoryArchetype} to this Archetype. - */ - // @ts-ignore - with(archetypes: org.spongepowered.api.item.inventory.InventoryArchetype): org.spongepowered.api.item.inventory.InventoryArchetype.Builder; - /** - * Registers the InventoryArchetype. - */ - // @ts-ignore - build(id: string, name: string): org.spongepowered.api.item.inventory.InventoryArchetype; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryArchetype.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryArchetype.ts deleted file mode 100644 index e4518ae5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryArchetype.ts +++ /dev/null @@ -1,43 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface InventoryArchetype extends org.spongepowered.api.CatalogType { - /** - * Creates a new {@link Builder} to build an {@link InventoryArchetype}. - */ - // @ts-ignore - builder(): org.spongepowered.api.item.inventory.InventoryArchetype.Builder; - /** - * Gets all child InventoryArchetypes. - */ - // @ts-ignore - getChildArchetypes(): any[] /*java.util.List*/; - /** - * Returns all properties defined on this Archetype. - */ - // @ts-ignore - getProperties(): Map /*java.util.Map*/; - /** - * Returns the Property with given key. - */ - // @ts-ignore - getProperty(key: string): any; - /** - * Returns the property with the Properties default key. - */ - // @ts-ignore - getProperty(type: any): any; - /** - * Returns the property - */ - // @ts-ignore - getProperty(type: any, key: string): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryArchetypes.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryArchetypes.ts deleted file mode 100644 index 0a8aeba8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryArchetypes.ts +++ /dev/null @@ -1,66 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - class InventoryArchetypes { - /** - * You should not be using this constructor, it will be made private in - * API 8. - */ - constructor() - // @ts-ignore - public static SLOT: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static MENU_ROW: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static MENU_GRID: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static MENU_COLUMN: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static MENU_BUTTON: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static MENU_ICON: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static MENU_CHECKBOX: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static MENU_SPINNER: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static CRAFTING: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static CHEST: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static DOUBLE_CHEST: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static HOPPER: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static DISPENSER: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static WORKBENCH: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static FURNACE: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static ENCHANTING_TABLE: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static ANVIL: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static BREWING_STAND: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static BEACON: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static HORSE: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static VILLAGER: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static HORSE_WITH_CHEST: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static PLAYER: org.spongepowered.api.item.inventory.InventoryArchetype; - // @ts-ignore - public static UNKNOWN: org.spongepowered.api.item.inventory.InventoryArchetype; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryProperty.ts deleted file mode 100644 index 7d729b73..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryProperty.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface InventoryProperty extends org.spongepowered.api.data.Property { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryTransformation.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryTransformation.Builder.ts deleted file mode 100644 index 9351913a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryTransformation.Builder.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace InventoryTransformation { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Appends one or more {@link QueryOperation}s - */ - // @ts-ignore - append(operation: org.spongepowered.api.item.inventory.query.QueryOperation): org.spongepowered.api.item.inventory.InventoryTransformation.Builder; - /** - * Builds the transformation - */ - // @ts-ignore - build(): org.spongepowered.api.item.inventory.InventoryTransformation; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryTransformation.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryTransformation.ts deleted file mode 100644 index c206422c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryTransformation.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface InventoryTransformation { - /** - * Transforms an Inventory - */ - // @ts-ignore - transform(inventory: org.spongepowered.api.item.inventory.Inventory): org.spongepowered.api.item.inventory.Inventory; - // @ts-ignore - builder(): org.spongepowered.api.item.inventory.InventoryTransformation.Builder; - /** - * Creates a new transformation based on QueryOperations. - */ - // @ts-ignore - of(operations: org.spongepowered.api.item.inventory.query.QueryOperation): org.spongepowered.api.item.inventory.InventoryTransformation; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryTransformations.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryTransformations.ts deleted file mode 100644 index d618bdd0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.InventoryTransformations.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - class InventoryTransformations { - constructor() - // @ts-ignore - public static PLAYER_MAIN_HOTBAR_FIRST: org.spongepowered.api.item.inventory.InventoryTransformation; - // @ts-ignore - public static REVERSE: org.spongepowered.api.item.inventory.InventoryTransformation; - // @ts-ignore - public static NO_OP: org.spongepowered.api.item.inventory.InventoryTransformation; - // @ts-ignore - public static EMPTY: org.spongepowered.api.item.inventory.InventoryTransformation; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStack.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStack.Builder.ts deleted file mode 100644 index 4cef6200..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStack.Builder.ts +++ /dev/null @@ -1,99 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace ItemStack { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.persistence.DataBuilder { - // @ts-ignore - from(value: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.inventory.ItemStack.Builder; - /** - * Sets the {@link ItemType} of the item stack. - */ - // @ts-ignore - itemType(itemType: org.spongepowered.api.item.ItemType): org.spongepowered.api.item.inventory.ItemStack.Builder; - // @ts-ignore - getCurrentItem(): org.spongepowered.api.item.ItemType; - /** - * Sets the quantity of the item stack. - */ - // @ts-ignore - quantity(quantity: number): org.spongepowered.api.item.inventory.ItemStack.Builder; - /** - * Adds a {@link Key} and related {@link Object} value to apply to the - * resulting {@link ItemStack}. Note that the resulting - * {@link ItemStack} may not actually accept the provided {@code Key} - * for various reasons due to support or simply that the value itself - * is not supported. Offering custom data is not supported through this, - * use {@link #itemData(DataManipulator)} instead. - */ - // @ts-ignore - keyValue(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.item.inventory.ItemStack.Builder; - /** - * Sets the {@link DataManipulator} to add to the {@link ItemStack}. - */ - // @ts-ignore - itemData(itemData: org.spongepowered.api.data.manipulator.DataManipulator): org.spongepowered.api.item.inventory.ItemStack.Builder; - /** - * Sets the {@link ImmutableDataManipulator} to add to the - * {@link ItemStack}. - */ - // @ts-ignore - itemData(itemData: org.spongepowered.api.data.manipulator.ImmutableDataManipulator): org.spongepowered.api.item.inventory.ItemStack.Builder; - /** - * Adds a {@link Key} and related {@link Object} value to apply to the - * resulting {@link ItemStack}. Note that the resulting - * {@link ItemStack} may not actually accept the provided {@code Key} - * for various reasons due to support or simply that the value itself - * is not supported. Offering custom data is not supported through this, - * use {@link #itemData(DataManipulator)} instead. - */ - // @ts-ignore - add(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.item.inventory.ItemStack.Builder; - /** - * Sets all the settings in this builder from the item stack blueprint. - */ - // @ts-ignore - fromItemStack(itemStack: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.inventory.ItemStack.Builder; - /** - * Sets the data to recreate a {@link BlockState} in a held {@link ItemStack} - * state. - */ - // @ts-ignore - fromBlockState(blockState: org.spongepowered.api.block.BlockState): org.spongepowered.api.item.inventory.ItemStack.Builder; - /** - * Attempts to reconstruct the builder with all of the data from - * {@link ItemStack#toContainer()} including all custom data. - */ - // @ts-ignore - fromContainer(container: org.spongepowered.api.data.DataView): org.spongepowered.api.item.inventory.ItemStack.Builder; - /** - * Reconstructs this builder to use the {@link ItemStackSnapshot} - * for all the values and data it may contain. - */ - // @ts-ignore - fromSnapshot(snapshot: org.spongepowered.api.item.inventory.ItemStackSnapshot): org.spongepowered.api.item.inventory.ItemStack.Builder; - /** - * Attempts to reconstruct a {@link BlockSnapshot} including all data - * and {@link TileEntity} related data if necessary for creating an - * {@link ItemStack} representation. - */ - // @ts-ignore - fromBlockSnapshot(blockSnapshot: org.spongepowered.api.block.BlockSnapshot): org.spongepowered.api.item.inventory.ItemStack.Builder; - // @ts-ignore - remove(manipulatorClass: any): org.spongepowered.api.item.inventory.ItemStack.Builder; - // @ts-ignore - apply(predicate: any, consumer: any): org.spongepowered.api.item.inventory.ItemStack.Builder; - /** - * Builds an instance of an ItemStack. - */ - // @ts-ignore - build(): org.spongepowered.api.item.inventory.ItemStack; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStack.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStack.ts deleted file mode 100644 index 03324867..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStack.ts +++ /dev/null @@ -1,89 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface ItemStack extends org.spongepowered.api.data.DataHolder, org.spongepowered.api.text.translation.Translatable { - /** - * Creates a new {@link Builder} to build an {@link ItemStack}. - */ - // @ts-ignore - builder(): org.spongepowered.api.item.inventory.ItemStack.Builder; - /** - * Creates a new {@link ItemStack} of the provided {@link ItemType} - * and quantity. - */ - // @ts-ignore - of(itemType: org.spongepowered.api.item.ItemType, quantity: number): org.spongepowered.api.item.inventory.ItemStack; - /** - * Creates a new {@link ItemStack} of the provided {@link ItemType} and quantity of 1 - */ - // @ts-ignore - of(itemType: org.spongepowered.api.item.ItemType): org.spongepowered.api.item.inventory.ItemStack; - /** - * Returns an empty {@link ItemStack}. - */ - // @ts-ignore - empty(): org.spongepowered.api.item.inventory.ItemStack; - /** - * Gets the {@link ItemType} of this {@link ItemStack}. - */ - // @ts-ignore - getItem(): org.spongepowered.api.item.ItemType; - /** - * Gets the {@link ItemType} of this {@link ItemStack}. - */ - // @ts-ignore - getType(): org.spongepowered.api.item.ItemType; - /** - * Gets the quantity of items in this stack. This may exceed the max stack - * size of the item, and if added to an inventory will then be divided by - * the max stack. - */ - // @ts-ignore - getQuantity(): number; - /** - * Sets the quantity in this stack. - */ - // @ts-ignore - setQuantity(quantity: number): void; - /** - * Gets the maximum quantity per stack. By default, returns - * {@link ItemType#getMaxStackQuantity()}, unless a - * different value has been set for this specific stack. - */ - // @ts-ignore - getMaxStackQuantity(): number; - /** - * Gets the {@link ItemStackSnapshot} of this {@link ItemStack}. All known - * {@link DataManipulator}s existing on this {@link ItemStack} are added - * as copies to the {@link ItemStackSnapshot}. - */ - // @ts-ignore - createSnapshot(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * Returns true if the specified {@link ItemStack} has the same stack - * size, {@link ItemType}, and data. Note that this method is not an - * overrider of {@link Object#equals(Object)} in order to maintain - * compatibility with the base game. Therefore, ItemStacks may not behave - * as expected when using them in equality based constructs such as - * {@link Map}s or {@link Set}s. - */ - // @ts-ignore - equalTo(that: org.spongepowered.api.item.inventory.ItemStack): boolean; - /** - * Returns true if {@link #getQuantity()} is zero and therefore this - * ItemStack is empty. - *

In Vanilla empty ItemStacks are not rendered by the client.

- */ - // @ts-ignore - isEmpty(): boolean; - // @ts-ignore - copy(): org.spongepowered.api.item.inventory.ItemStack; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackBuilderPopulators.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackBuilderPopulators.ts deleted file mode 100644 index 74b14930..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackBuilderPopulators.ts +++ /dev/null @@ -1,270 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - class ItemStackBuilderPopulators { - /** - * Creates a new {@link BiConsumer} to set the {@link ItemStack.Builder} - * to use the provided {@link ItemStackSnapshot} as a "default". Note - * that the normal behavior of the builder is to reset according to - * the snapshot. - */ - // @ts-ignore - public static itemStack(snapshot: org.spongepowered.api.item.inventory.ItemStackSnapshot): any; - /** - * Creates a new {@link BiConsumer} that uses a randomized selection - * of the provided {@link ItemStackSnapshot}s. The builder, when called will - * only use one at random selection to default to. - */ - // @ts-ignore - public static itemStacks(snapshot: org.spongepowered.api.item.inventory.ItemStackSnapshot, snapshots: org.spongepowered.api.item.inventory.ItemStackSnapshot): any; - /** - * Creates a new {@link BiConsumer} that defines the provided - * {@link ItemType}. - */ - // @ts-ignore - public static item(itemType: org.spongepowered.api.item.ItemType): any; - /** - * Creates a new {@link BiConsumer} that defines the provided - * {@link ItemType}, provided that the {@link Supplier} does not - * return null. - *

Note that the {@link Supplier} is not queried for an - * {@link ItemType} until the generated {@link BiConsumer} is - * called.

- */ - // @ts-ignore - public static item(supplier: any): any; - /** - * Creates a new {@link BiConsumer} that provides a random - * {@link ItemType} of the provided item types. - *

Note that the desired {@link ItemType} given to the builder is only - * defined at the time of calling {@link BiConsumer#accept(Object, Object)}. - *

- */ - // @ts-ignore - public static items(itemType: org.spongepowered.api.item.ItemType, itemTypes: org.spongepowered.api.item.ItemType): any; - /** - * Creates a new {@link BiConsumer} that provides a random - * {@link ItemType} from the provided collection of item types. - */ - // @ts-ignore - public static items(itemTypes: any[] /*java.util.Collection*/): any; - /** - * Creates a new {@link BiConsumer} that sets the desired quantity - * for creating an {@link ItemStack}. - *

Note that the default behavior of the item stack builder is still - * expected to take place. Negative values are not allowed.

- */ - // @ts-ignore - public static quantity(amount: org.spongepowered.api.util.weighted.VariableAmount): any; - /** - * Creates a new {@link BiConsumer} that sets the desired quantity - * for creating an {@link ItemStack}. The supplier is not queried for - * a {@link VariableAmount} until the generated bi consumer is - * called on. - *

Note that the default behavior of an item stack builder is still - * expected to take place. Negative values are not allowed.

- */ - // @ts-ignore - public static quantity(supplier: any): any; - /** - * Creates a new {@link BiConsumer} that sets the provided {@link Key}'ed - * object where the value is possibly ignored or not supported. No checks - * on whether the key or object is supported until called upon. - *

Note that custom data is not supported through this method, use - * {@link #data(Collection)} or any variant thereof for applying custom data.

- */ - // @ts-ignore - public static keyValue(key: org.spongepowered.api.data.key.Key, value: any): any; - /** - * Creates a new {@link BiConsumer} that sets a single provided - * value with the provided {@link Key}. Only a single value is chosen - * to provide to the itemstack builder. - *

Note that custom data is not supported through this method, use - * {@link #data(Collection)} or any variant thereof for applying custom data.

- */ - // @ts-ignore - public static keyValues(key: org.spongepowered.api.data.key.Key, values: any): any; - /** - * Creates a new {@link BiConsumer} where the {@link Key} is responsible - * for a {@link List} based {@link Value}. Given that the provided elements - * are chosen with a {@link Random}, it's not clear that the elements will - * be added in bundles or in the same iteration order. - *

Note that custom data is not supported through this method, use - * {@link #data(Collection)} or any variant thereof for applying custom data.

- */ - // @ts-ignore - public static listValues(key: org.spongepowered.api.data.key.Key, elementPool: any[] /*java.util.List*/, amount: org.spongepowered.api.util.weighted.VariableAmount): any; - /** - * Creates a new {@link BiConsumer} where the {@link Key} is responsible - * for a {@link List} based {@link Value}. Given that the provided elements - * are chosen with a {@link Random}, it's not clear that the elements will - * be added in bundles or in the same iteration order. The default variance - * is provided as {@link VariableAmount#baseWithRandomAddition(double, double)} - * where at the least, a single element is chosen, and at most the entire - * collection is chosen. - *

Note that custom data is not supported through this method, use - * {@link #data(Collection)} or any variant thereof for applying custom data.

- */ - // @ts-ignore - public static listValues(key: org.spongepowered.api.data.key.Key, elementPool: any[] /*java.util.List*/): any; - /** - * Creates a new {@link BiConsumer} where the {@link Key} is responsible - * for a {@link List} based {@link Value}. Given the {@link WeightedTable} - * is already generated, the values requested are only retrieved when - * the generated biconsumer is called upon. - *

Note that custom data is not supported through this method, use - * {@link #data(Collection)} or any variant thereof for applying custom data.

- */ - // @ts-ignore - public static listValues(key: org.spongepowered.api.data.key.Key, weightedTable: org.spongepowered.api.util.weighted.WeightedTable): any; - /** - * Creates a new {@link BiConsumer} where the {@link Key} is responsible - * for a {@link List} based {@link Value}. Given the - * {@link WeightedTable} is exclusively used with {@link Function}s, - * the {@link Function}s themselves are queried with a {@link Random} - * and expected to present a singular element of the defined type. It's - * expected that there are multiple functions to provide additional - * elements for a particular key'ed {@link ListValue}. - *

An example usage of this can be for generating a randomized list - * of {@link Enchantment}s with varying enchantment levels.

- *

Note that custom data is not supported through this method, use - * {@link #data(Collection)} or any variant thereof for applying custom data.

- */ - // @ts-ignore - public static listValueSuppliers(key: org.spongepowered.api.data.key.Key, weightedTable: org.spongepowered.api.util.weighted.WeightedTable): any; - /** - * Creates a new {@link BiConsumer} where the {@link Key} is responsible - * for a {@link Set} based {@link Value}. Given the {@link Set} of element - * to act as a pool, the consumer will pull a random amount of the - * given pool and apply it as a new {@link Set}. - *

Note that custom data is not supported through this method, use - * {@link #data(Collection)} or any variant thereof for applying custom data.

- */ - // @ts-ignore - public static setValues(key: org.spongepowered.api.data.key.Key, elementPool: any[] /*java.util.Set*/): any; - /** - * Creates a new {@link BiConsumer} where the {@link Key} is responsible - * for a {@link Set} based {@link Value}. Given the {@link Set} of - * elements to act as a pool, the consumer will pull a variable amount - * based on the provided {@link VariableAmount}, and apply it as a new - * {@link Set}. - *

Note that custom data is not supported through this method, use - * {@link #data(Collection)} or any variant thereof for applying custom data.

- */ - // @ts-ignore - public static setValues(key: org.spongepowered.api.data.key.Key, elementPool: any[] /*java.util.Set*/, amount: org.spongepowered.api.util.weighted.VariableAmount): any; - /** - * Creates a new {@link BiConsumer} where the {@link Key} is - * responsible for a {@link Set} based {@link Value}. Given - * the provided {@link WeightedTable}, the consumer will retrieve - * a {@link List} of values and add them as a new {@link Set}. - *

Note that custom data is not supported through this method, use - * {@link #data(Collection)} or any variant thereof for applying custom data.

- */ - // @ts-ignore - public static setValues(key: org.spongepowered.api.data.key.Key, weightedTable: org.spongepowered.api.util.weighted.WeightedTable): any; - /** - * Creates a new {@link BiConsumer} that applies the provided {@link Value} - * to the generated {@link ItemStack}. - *

Note that custom data is not supported through this method, use - * {@link #data(Collection)} or any variant thereof for applying custom data.

- */ - // @ts-ignore - public static value(value: org.spongepowered.api.data.value.BaseValue): any; - /** - * Creates a new {@link BiConsumer} that applies a random selection of the - * provided {@link BaseValue}s. - *

Note that custom data is not supported through this method, use - * {@link #data(Collection)} or any variant thereof for applying custom data.

- */ - // @ts-ignore - public static values(values: any): any; - /** - * Creates a new {@link BiConsumer} that sets a particular - * {@link DataManipulator} onto an {@link ItemStack}. Note - * that no validation can be performed, however the builder - * will ignore unsupported data. This can be used to provide - * custom data manipulators. - */ - // @ts-ignore - public static data(manipulator: org.spongepowered.api.data.manipulator.DataManipulator): any; - /** - * Creates a new {@link BiConsumer} that sets a single - * {@link DataManipulator} form the provided collection of manipulators. - * Note that no validation can be performed, however the builder will - * ignore unsupported data. This can be used to provide custom data - * manipulators. To apply multiple manipulators, use - * {@link #data(Collection, VariableAmount)}. - */ - // @ts-ignore - public static data(manipulators: any[] /*java.util.Collection*/): any; - /** - * Creates a new {@link BiConsumer} that provides a {@link VariableAmount} - * of {@link DataManipulator}s from the provided pool. Note that no - * validation can be performed, however the builder will ignore unsupported - * data. This can be used to provide custom data manipulators. - */ - // @ts-ignore - public static data(manipulators: any[] /*java.util.Collection*/, rolls: org.spongepowered.api.util.weighted.VariableAmount): any; - /** - * Creates a new {@link BiConsumer} that provides a variable - * amount of {@link DataManipulator}s from the provided - * {@link WeightedTable}. Note that no validation can be performed, however - * the builder will ignore unsupported data. This can be used to provide - * custom data manipulators. - */ - // @ts-ignore - public static data(weightedTable: org.spongepowered.api.util.weighted.WeightedTable): any; - /** - * Creates a new {@link BiConsumer} that takes the provided - * {@link EnchantmentType} and applies it to the generated {@link ItemStack}. - * The enchantmentType level is varied based on vanilla mechanics. - */ - // @ts-ignore - public static enchantment(enchantmentType: org.spongepowered.api.item.enchantment.EnchantmentType): any; - /** - * Creates a new {@link BiConsumer} that takes the provided - * {@link EnchantmentType} and applies it to the generated {@link ItemStack}. - * The enchantmentType level is defined by the variable amount provided. - */ - // @ts-ignore - public static enchantment(level: org.spongepowered.api.util.weighted.VariableAmount, enchantmentType: org.spongepowered.api.item.enchantment.EnchantmentType): any; - /** - * Creates a new {@link BiConsumer} that takes the provided - * {@link Collection} of {@link EnchantmentType}s and applies a - * singular {@link EnchantmentType} with varying levels to the generated - * {@link ItemStack}. - */ - // @ts-ignore - public static enchantmentsWithVanillaLevelVariance(enchantmentTypes: any[] /*java.util.Collection*/): any; - /** - * Creates a new {@link BiConsumer} that takes the provided - * {@link EnchantmentType}s and applies a variable amount of enchantmentTypes - * with varying levels to the generated {@link ItemStack}. - */ - // @ts-ignore - public static enchantmentsWithVanillaLevelVariance(amount: org.spongepowered.api.util.weighted.VariableAmount, enchantmentType: org.spongepowered.api.item.enchantment.EnchantmentType, enchantmentTypes: org.spongepowered.api.item.enchantment.EnchantmentType): any; - /** - * Creates a new {@link BiConsumer} that takes the provided - * {@link Collection} of {@link EnchantmentType}s and applies a varying amount - * of generated enchantments to the generated {@link ItemStack}. - */ - // @ts-ignore - public static enchantmentsWithVanillaLevelVariance(amount: org.spongepowered.api.util.weighted.VariableAmount, itemEnchantmentTypes: any[] /*java.util.Collection*/): any; - /** - * Creates a new {@link BiConsumer} that takes the provided - * {@link Collection} of coupled {@link EnchantmentType} and - * {@link VariableAmount} to apply varying enchantments of varying amounts - * to the generated {@link ItemStack}. - */ - // @ts-ignore - public static enchantments(amount: org.spongepowered.api.util.weighted.VariableAmount, enchantments: any[] /*java.util.Collection*/): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackComparators.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackComparators.ts deleted file mode 100644 index 195d05a9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackComparators.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - class ItemStackComparators { - // @ts-ignore - public static TYPE: any; - // @ts-ignore - public static SIZE: any; - // @ts-ignore - public static TYPE_SIZE: any; - // @ts-ignore - public static DEFAULT: any; - // @ts-ignore - public static PROPERTIES: any; - // @ts-ignore - public static ITEM_DATA: any; - // @ts-ignore - public static ITEM_DATA_IGNORE_DAMAGE: any; - // @ts-ignore - public static IGNORE_SIZE: any; - // @ts-ignore - public static ALL: any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackGenerator.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackGenerator.Builder.ts deleted file mode 100644 index 1594399c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackGenerator.Builder.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace ItemStackGenerator { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Adds a new biconsumer in the current order. - */ - // @ts-ignore - add(consumer: any): org.spongepowered.api.item.inventory.ItemStackGenerator.Builder; - /** - * Adds all the provided biconsumers from the provided collection. - */ - // @ts-ignore - addAll(collection: any[] /*java.util.Collection*/): org.spongepowered.api.item.inventory.ItemStackGenerator.Builder; - /** - * Sets the base {@link ItemType} for the {@link ItemStackGenerator}. A - * base type must be set to avoid issues. - */ - // @ts-ignore - baseItem(itemType: org.spongepowered.api.item.ItemType): org.spongepowered.api.item.inventory.ItemStackGenerator.Builder; - /** - * Creates a new {@link ItemStackGenerator} with all of the added - * {@link BiConsumer}s. - */ - // @ts-ignore - build(): org.spongepowered.api.item.inventory.ItemStackGenerator; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackGenerator.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackGenerator.ts deleted file mode 100644 index dfc49253..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackGenerator.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface ItemStackGenerator { - /** - * Creates a new builder to build an {@link ItemStackGenerator}. - */ - // @ts-ignore - builder(): org.spongepowered.api.item.inventory.ItemStackGenerator.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackSnapshot.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackSnapshot.ts deleted file mode 100644 index 65673bff..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.ItemStackSnapshot.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface ItemStackSnapshot extends org.spongepowered.api.data.ImmutableDataHolder, org.spongepowered.api.text.translation.Translatable { - // @ts-ignore - NONE: org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * Gets the {@link ItemType} of this {@link ItemStackSnapshot}. The - * {@link ItemType} is always available. - */ - // @ts-ignore - getType(): org.spongepowered.api.item.ItemType; - /** - * Gets the current stack size count of the {@link ItemStack} this - * {@link ItemStackSnapshot} is representing. - */ - // @ts-ignore - getCount(): number; - /** - * Gets the quantity of items in this the {@link ItemStack} this - * {@link ItemStackSnapshot} is representing. - */ - // @ts-ignore - getQuantity(): number; - /** - * Returns true if {@link #getQuantity()} is zero and therefore this - * ItemStackSnapshot is empty. - */ - // @ts-ignore - isEmpty(): boolean; - /** - * Creates a new {@link ItemStack} with all the data currently available - * on this {@link ItemStackSnapshot}. - */ - // @ts-ignore - createStack(): org.spongepowered.api.item.inventory.ItemStack; - /** - * Creates a {@link org.spongepowered.api.GameDictionary.Entry} that - * compares stacks to this {@link ItemStackSnapshot}. Note that not all - * data stored in this {@link ItemStackSnapshot} may be stored in the - * returned entry. - */ - // @ts-ignore - createGameDictionaryEntry(): org.spongepowered.api.GameDictionary.Entry; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.MultiBlockCarrier.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.MultiBlockCarrier.ts deleted file mode 100644 index 87a9e4ae..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.MultiBlockCarrier.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface MultiBlockCarrier extends org.spongepowered.api.item.inventory.BlockCarrier { - /** - * Returns the Locations of the Blocks. - */ - // @ts-ignore - getLocations(): any[] /*java.util.List*/; - /** - * Returns the Inventory at given location if owned by this Carrier. - */ - // @ts-ignore - getInventory(at: org.spongepowered.api.world.Location): any; - /** - * Returns the Inventory at given location if owned by this Carrier and - * accessible from given direction. - *

e.g. A Furnace accessed from {@link Direction#DOWN} will return - * its Fuel Slot

- */ - // @ts-ignore - getInventory(at: org.spongepowered.api.world.Location, from: org.spongepowered.api.util.Direction): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.SingleBlockCarrier.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.SingleBlockCarrier.ts deleted file mode 100644 index 0ac235b2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.SingleBlockCarrier.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface SingleBlockCarrier extends org.spongepowered.api.item.inventory.BlockCarrier { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Slot.Type.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Slot.Type.ts deleted file mode 100644 index bd52f526..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Slot.Type.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace Slot { - // @ts-ignore - class Type { - // @ts-ignore - public static INVENTORY: org.spongepowered.api.item.inventory.Slot.Type; - // @ts-ignore - public static values(): org.spongepowered.api.item.inventory.Slot.Type[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.item.inventory.Slot.Type; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Slot.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Slot.ts deleted file mode 100644 index 90f5a5c2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.Slot.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - // @ts-ignore - interface Slot extends org.spongepowered.api.item.inventory.Inventory { - /** - * Gets the size of the stack in this slot. Essentially the same as calling - * slot.peek().getQuantity(); but faster because it avoids the Optional - * boxing. - */ - // @ts-ignore - getStackSize(): number; - /** - * Transforms this Slot into given Type. - *
- *
Example
- *
In a InventoryEvent with a Container to get the actual inventory - * from Slot, you may call this with {@link Type#INVENTORY}.
- *
- */ - // @ts-ignore - transform(type: org.spongepowered.api.item.inventory.Slot.Type): org.spongepowered.api.item.inventory.Slot; - /** - * Transforms this Slot into the default Type. - */ - // @ts-ignore - transform(): org.spongepowered.api.item.inventory.Slot; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.crafting.CraftingGridInventory.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.crafting.CraftingGridInventory.ts deleted file mode 100644 index 03c32578..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.crafting.CraftingGridInventory.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace crafting { - // @ts-ignore - interface CraftingGridInventory extends org.spongepowered.api.item.inventory.type.GridInventory { - /** - * Retrieves the recipe formed by this CraftingGridInventory, if any. - */ - // @ts-ignore - getRecipe(world: org.spongepowered.api.world.World): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.crafting.CraftingInventory.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.crafting.CraftingInventory.ts deleted file mode 100644 index 9026a27b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.crafting.CraftingInventory.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace crafting { - // @ts-ignore - interface CraftingInventory extends org.spongepowered.api.item.inventory.type.OrderedInventory { - /** - * Gets the crafting matrix of this CraftingInventory. - */ - // @ts-ignore - getCraftingGrid(): org.spongepowered.api.item.inventory.crafting.CraftingGridInventory; - /** - * Gets the result slot of this CraftingInventory. - */ - // @ts-ignore - getResult(): org.spongepowered.api.item.inventory.crafting.CraftingOutput; - /** - * Retrieves the recipe formed by this CraftingInventory, if any. - */ - // @ts-ignore - getRecipe(world: org.spongepowered.api.world.World): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.crafting.CraftingOutput.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.crafting.CraftingOutput.ts deleted file mode 100644 index 4cf3c465..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.crafting.CraftingOutput.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace crafting { - // @ts-ignore - interface CraftingOutput extends org.spongepowered.api.item.inventory.slot.OutputSlot { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.Hotbar.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.Hotbar.ts deleted file mode 100644 index 256c1a3d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.Hotbar.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace entity { - // @ts-ignore - interface Hotbar extends org.spongepowered.api.item.inventory.type.InventoryRow { - /** - * Gets the index of the slot that is currently selected by the Humanoid. - */ - // @ts-ignore - getSelectedSlotIndex(): number; - /** - * Sets the slot selected by the Humanoid. - */ - // @ts-ignore - setSelectedSlotIndex(index: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.MainPlayerInventory.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.MainPlayerInventory.ts deleted file mode 100644 index c69b1b5f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.MainPlayerInventory.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace entity { - // @ts-ignore - interface MainPlayerInventory extends org.spongepowered.api.item.inventory.type.GridInventory { - /** - * Gets the hotbar of the player. - */ - // @ts-ignore - getHotbar(): org.spongepowered.api.item.inventory.entity.Hotbar; - /** - * Gets the grid of the player's main inventory. - */ - // @ts-ignore - getGrid(): org.spongepowered.api.item.inventory.type.GridInventory; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.PlayerInventory.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.PlayerInventory.ts deleted file mode 100644 index 54a3e3ff..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.PlayerInventory.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace entity { - // @ts-ignore - interface PlayerInventory extends org.spongepowered.api.item.inventory.entity.UserInventory { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.UserInventory.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.UserInventory.ts deleted file mode 100644 index 3fc88358..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.entity.UserInventory.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace entity { - // @ts-ignore - interface UserInventory extends org.spongepowered.api.item.inventory.type.CarriedInventory { - /** - * Gets the main inventory including the Hotbar. - */ - // @ts-ignore - getMain(): org.spongepowered.api.item.inventory.entity.MainPlayerInventory; - /** - * Gets the hotbar inventory. - */ - // @ts-ignore - getHotbar(): org.spongepowered.api.item.inventory.entity.Hotbar; - /** - * Gets the main inventory excluding the Hotbar. - */ - // @ts-ignore - getMainGrid(): org.spongepowered.api.item.inventory.type.GridInventory; - /** - * Gets the equipment inventory. - */ - // @ts-ignore - getEquipment(): org.spongepowered.api.item.inventory.equipment.EquipmentInventory; - /** - * Gets the offhand inventory. - */ - // @ts-ignore - getOffhand(): org.spongepowered.api.item.inventory.Slot; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.EquipmentInventory.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.EquipmentInventory.ts deleted file mode 100644 index ba674696..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.EquipmentInventory.ts +++ /dev/null @@ -1,83 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace equipment { - // @ts-ignore - interface EquipmentInventory extends org.spongepowered.api.item.inventory.type.OrderedInventory, org.spongepowered.api.item.inventory.type.CarriedInventory { - /** - * Gets and remove the stack for the specified equipment type in this - * Inventory. - */ - // @ts-ignore - poll(equipmentType: org.spongepowered.api.item.inventory.property.EquipmentSlotType): any; - /** - * Gets and remove the items from the stack for the specified equipment type - * in this Inventory. - */ - // @ts-ignore - poll(equipmentType: org.spongepowered.api.item.inventory.property.EquipmentSlotType, limit: number): any; - /** - * Gets and remove the stack for the specified equipment type in this - * Inventory. - */ - // @ts-ignore - poll(equipmentType: org.spongepowered.api.item.inventory.equipment.EquipmentType): any; - /** - * Gets and remove the items from the stack for the specified equipment type - * in this Inventory. - */ - // @ts-ignore - poll(equipmentType: org.spongepowered.api.item.inventory.equipment.EquipmentType, limit: number): any; - /** - * Gets without removing the stack for the specified equipment type in this - * Inventory. - */ - // @ts-ignore - peek(equipmentType: org.spongepowered.api.item.inventory.property.EquipmentSlotType): any; - /** - * Gets without removing the items from the stack for the specified - * equipment type in this Inventory. - */ - // @ts-ignore - peek(equipmentType: org.spongepowered.api.item.inventory.property.EquipmentSlotType, limit: number): any; - /** - * Gets without removing the stack for the specified equipment type in this - * Inventory. - */ - // @ts-ignore - peek(equipmentType: org.spongepowered.api.item.inventory.equipment.EquipmentType): any; - /** - * Gets without removing the items from the stack for the specified - * equipment type in this Inventory. - */ - // @ts-ignore - peek(equipmentType: org.spongepowered.api.item.inventory.equipment.EquipmentType, limit: number): any; - /** - * Sets the item for the specified equipment type. - */ - // @ts-ignore - set(equipmentType: org.spongepowered.api.item.inventory.property.EquipmentSlotType, stack: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult; - /** - * Sets the item for the specified equipment type. - */ - // @ts-ignore - set(equipmentType: org.spongepowered.api.item.inventory.equipment.EquipmentType, stack: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult; - /** - * Gets the {@link Slot} for the specified equipment type. - */ - // @ts-ignore - getSlot(equipmentType: org.spongepowered.api.item.inventory.property.EquipmentSlotType): any; - /** - * Gets the {@link Slot} for the specified equipment type. - */ - // @ts-ignore - getSlot(equipmentType: org.spongepowered.api.item.inventory.equipment.EquipmentType): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.EquipmentType.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.EquipmentType.ts deleted file mode 100644 index 308e7902..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.EquipmentType.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace equipment { - // @ts-ignore - interface EquipmentType extends org.spongepowered.api.CatalogType { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.EquipmentTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.EquipmentTypes.ts deleted file mode 100644 index 4a6e0a98..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.EquipmentTypes.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace equipment { - // @ts-ignore - class EquipmentTypes { - // @ts-ignore - public static ANY: org.spongepowered.api.item.inventory.equipment.EquipmentType; - // @ts-ignore - public static EQUIPPED: org.spongepowered.api.item.inventory.equipment.EquipmentType; - // @ts-ignore - public static HELD: org.spongepowered.api.item.inventory.equipment.HeldEquipmentType; - // @ts-ignore - public static MAIN_HAND: org.spongepowered.api.item.inventory.equipment.HeldEquipmentType; - // @ts-ignore - public static OFF_HAND: org.spongepowered.api.item.inventory.equipment.HeldEquipmentType; - // @ts-ignore - public static WORN: org.spongepowered.api.item.inventory.equipment.WornEquipmentType; - // @ts-ignore - public static BOOTS: org.spongepowered.api.item.inventory.equipment.WornEquipmentType; - // @ts-ignore - public static CHESTPLATE: org.spongepowered.api.item.inventory.equipment.WornEquipmentType; - // @ts-ignore - public static HEADWEAR: org.spongepowered.api.item.inventory.equipment.WornEquipmentType; - // @ts-ignore - public static LEGGINGS: org.spongepowered.api.item.inventory.equipment.WornEquipmentType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.HeldEquipmentType.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.HeldEquipmentType.ts deleted file mode 100644 index d99bee30..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.HeldEquipmentType.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace equipment { - // @ts-ignore - interface HeldEquipmentType extends org.spongepowered.api.item.inventory.equipment.EquipmentType { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.WornEquipmentType.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.WornEquipmentType.ts deleted file mode 100644 index add00272..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.equipment.WornEquipmentType.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace equipment { - // @ts-ignore - interface WornEquipmentType extends org.spongepowered.api.item.inventory.equipment.EquipmentType { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.AbstractInventoryProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.AbstractInventoryProperty.ts deleted file mode 100644 index b17227d5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.AbstractInventoryProperty.ts +++ /dev/null @@ -1,74 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - abstract class AbstractInventoryProperty implements org.spongepowered.api.item.inventory.InventoryProperty { - /** - * Initialise internal values to defaults, use this ctor if you plan to - * override {@link #getKey} and {@link #getValue} yourself. - */ - constructor() - /** - * Initialise key to default, and value to the supplied value. - */ - constructor(value: any) - /** - * Initialise the value to the specified value and use the specified - * operator, use the default key. - */ - constructor(value: any, op: org.spongepowered.api.data.Property.Operator) - /** - * Use the specified key and value and set operator to the default. - */ - constructor(key: any, value: any) - constructor(key: any, value: any, op: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - protected operator: org.spongepowered.api.data.Property.Operator; - // @ts-ignore - protected value: any; - /** - * Gets the default value for {@link #key}, used in case null is passed in - * (since we can't have a null key). In general this should return the class - * name of the property itself but subclasses are free to alter this - * behaviour if they wish. - */ - // @ts-ignore - protected getDefaultKey(value: any): any; - /** - * Gets the default key for the provided InventoryProperty class. - */ - // @ts-ignore - public static getDefaultKey(clazz: any): any; - /** - * Return the default operator to use, based on the supplied key and value. - */ - // @ts-ignore - protected getDefaultOperator(key: any, value: any): org.spongepowered.api.data.Property.Operator; - // @ts-ignore - public getKey(): any; - // @ts-ignore - public getValue(): any; - // @ts-ignore - public getOperator(): org.spongepowered.api.data.Property.Operator; - // @ts-ignore - public matches(other: org.spongepowered.api.data.Property): boolean; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public hashCode(): number; - /** - * Convenience method to avoid null-checking. Returns 0 if value is - * null. - */ - // @ts-ignore - protected hashCodeOf(value: any): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.AcceptsItems.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.AcceptsItems.ts deleted file mode 100644 index d4616d24..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.AcceptsItems.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class AcceptsItems extends org.spongepowered.api.item.inventory.property.AbstractInventoryProperty { - /** - * Create a new AcceptsItems property with the supplied value. - */ - constructor(value: any[] /*java.util.Collection*/) - /** - * Create a new AcceptsItems property with the supplied value and operator. - */ - constructor(value: any[] /*java.util.Collection*/, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new AcceptsItems property with the supplied value and operator. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - /** - * Returns true if other is also an {@link AcceptsItems} property - * and any item appearing in the other property's collection appears - * in this property's collection. In formal terms, the method returns true - * if the size of the intersection between the two item type collections is - * greater than zero. - */ - // @ts-ignore - public equals(obj: any): boolean; - /** - * Create an AcceptsItems property which matches AcceptsItems properties - * with containing one or more of the supplied values. - */ - // @ts-ignore - public static of(value: any): org.spongepowered.api.item.inventory.property.AcceptsItems; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.ArmorSlotType.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.ArmorSlotType.ts deleted file mode 100644 index efd034ae..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.ArmorSlotType.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class ArmorSlotType extends org.spongepowered.api.item.inventory.property.EquipmentSlotType { - /** - * Create a new ArmorSlotType property which matches armour slots of the - * specified type. - */ - constructor(value: org.spongepowered.api.item.inventory.equipment.WornEquipmentType) - /** - * Create a new ArmorSlotType property which matches armour slots of the - * specified type. - */ - constructor(value: org.spongepowered.api.item.inventory.equipment.WornEquipmentType, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new ArmorSlotType property which matches armour slots of the - * specified type. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create an ArmourSlotType property which matches ArmourSlotType properties - * with equal value. - */ - // @ts-ignore - public static of(value: any): org.spongepowered.api.item.inventory.property.ArmorSlotType; - /** - * Create an ArmourSlotType property which matches ArmourSlotType properties - * with unequal value. - */ - // @ts-ignore - public static not(value: any): org.spongepowered.api.item.inventory.property.ArmorSlotType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.EquipmentSlotType.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.EquipmentSlotType.ts deleted file mode 100644 index 60910482..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.EquipmentSlotType.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class EquipmentSlotType extends org.spongepowered.api.item.inventory.property.AbstractInventoryProperty { - /** - * Create a new EquipmentSlotType property to match items of the specified - * value. - */ - constructor(value: org.spongepowered.api.item.inventory.equipment.EquipmentType) - /** - * Create a new EquipmentSlotType property to match items of the specified - * value. - */ - constructor(value: org.spongepowered.api.item.inventory.equipment.EquipmentType, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new EquipmentSlotType property to match items of the specified - * value. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - /** - * Create an EquipmentSlotType property which matches EquipmentSlotType - * properties with equal value. - */ - // @ts-ignore - public static of(value: any): org.spongepowered.api.item.inventory.property.EquipmentSlotType; - /** - * Create an EquipmentSlotType property which matches EquipmentSlotType - * properties with unequal value. - */ - // @ts-ignore - public static not(value: any): org.spongepowered.api.item.inventory.property.EquipmentSlotType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.GuiId.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.GuiId.ts deleted file mode 100644 index c66c2b8c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.GuiId.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - interface GuiId extends org.spongepowered.api.CatalogType { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.GuiIdProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.GuiIdProperty.ts deleted file mode 100644 index 375c45b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.GuiIdProperty.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class GuiIdProperty extends org.spongepowered.api.item.inventory.property.AbstractInventoryProperty { - /** - * Creates a GuiID property from the specified GUI ID. - */ - constructor(value: org.spongepowered.api.item.inventory.property.GuiId) - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.GuiIds.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.GuiIds.ts deleted file mode 100644 index fdb05e9a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.GuiIds.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class GuiIds { - constructor() - // @ts-ignore - public static CHEST: org.spongepowered.api.item.inventory.property.GuiId; - // @ts-ignore - public static FURNACE: org.spongepowered.api.item.inventory.property.GuiId; - // @ts-ignore - public static DISPENSER: org.spongepowered.api.item.inventory.property.GuiId; - // @ts-ignore - public static CRAFTING_TABLE: org.spongepowered.api.item.inventory.property.GuiId; - // @ts-ignore - public static BREWING_STAND: org.spongepowered.api.item.inventory.property.GuiId; - // @ts-ignore - public static HOPPER: org.spongepowered.api.item.inventory.property.GuiId; - // @ts-ignore - public static BEACON: org.spongepowered.api.item.inventory.property.GuiId; - // @ts-ignore - public static ENCHANTING_TABLE: org.spongepowered.api.item.inventory.property.GuiId; - // @ts-ignore - public static ANVIL: org.spongepowered.api.item.inventory.property.GuiId; - // @ts-ignore - public static VILLAGER: org.spongepowered.api.item.inventory.property.GuiId; - // @ts-ignore - public static HORSE: org.spongepowered.api.item.inventory.property.GuiId; - // @ts-ignore - public static SHULKER_BOX: org.spongepowered.api.item.inventory.property.GuiId; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.Identifiable.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.Identifiable.ts deleted file mode 100644 index e4e9c340..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.Identifiable.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class Identifiable extends org.spongepowered.api.item.inventory.property.AbstractInventoryProperty { - /** - * Creates an Identifiable with a random UUID. - */ - constructor() - /** - * Creates an Identifiable with given UUID. - */ - constructor(value: any) - /** - * Creates an Identifiable with given UUID. - */ - constructor(value: any, op: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.IntProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.IntProperty.ts deleted file mode 100644 index 77a285a8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.IntProperty.ts +++ /dev/null @@ -1,67 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class IntProperty extends org.spongepowered.api.item.inventory.property.AbstractInventoryProperty { - /** - * Create a new integer property with the specified value. - */ - constructor(value: number) - /** - * Create a new integer property with the specified value and logical - * operator. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new integer property with the specified value and logical - * operator. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - /** - * Create an {@link IntProperty} property which matches {@link IntProperty} - * properties with equal value. - */ - // @ts-ignore - public static of(value: any): org.spongepowered.api.item.inventory.property.IntProperty; - /** - * Create an {@link IntProperty} property which matches {@link IntProperty} - * properties with unequal value. - */ - // @ts-ignore - public static not(value: any): org.spongepowered.api.item.inventory.property.IntProperty; - /** - * Create an {@link IntProperty} property which matches {@link IntProperty} - * properties with value greater than this value. - */ - // @ts-ignore - public static greaterThan(value: any): org.spongepowered.api.item.inventory.property.IntProperty; - /** - * Create an {@link IntProperty} property which matches {@link IntProperty} - * properties with value greater than or equal to this value. - */ - // @ts-ignore - public static greaterThanOrEqual(value: any): org.spongepowered.api.item.inventory.property.IntProperty; - /** - * Create an {@link IntProperty} property which matches {@link IntProperty} - * properties with value less than this value. - */ - // @ts-ignore - public static lessThan(value: any): org.spongepowered.api.item.inventory.property.IntProperty; - /** - * Create an {@link IntProperty} property which matches {@link IntProperty} - * properties with value less than or equal to this value. - */ - // @ts-ignore - public static lessThanOrEqual(value: any): org.spongepowered.api.item.inventory.property.IntProperty; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.InventoryCapacity.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.InventoryCapacity.ts deleted file mode 100644 index 6ace5d4e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.InventoryCapacity.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class InventoryCapacity extends org.spongepowered.api.item.inventory.property.IntProperty { - /** - * Creates a new InventoryCapacity property with the specified value. - */ - constructor(capacity: number) - /** - * Create a new InventoryCapacity property with the specified value. - */ - constructor(capacity: number, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create an InventoryCapacity property which matches InventoryCapacity - * properties with equal value. - */ - // @ts-ignore - public static of(capacity: number): org.spongepowered.api.item.inventory.property.InventoryCapacity; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.InventoryDimension.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.InventoryDimension.ts deleted file mode 100644 index e9a11420..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.InventoryDimension.ts +++ /dev/null @@ -1,87 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class InventoryDimension extends org.spongepowered.api.item.inventory.property.AbstractInventoryProperty { - /** - * Create a new InventoryDimension property with the specified value. - */ - constructor(value: any /*Vector2i*/) - /** - * Create a new InventoryDimension property with the specified dimensions. - */ - constructor(width: number, height: number) - /** - * Create a new InventoryDimension property with the specified value. - */ - constructor(value: any /*Vector2i*/, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new InventoryDimension property with the specified dimensions. - */ - constructor(width: number, height: number, operator: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public static PROPERTY_NAME: string; - /** - * Gets the number of columns in this inventory. - */ - // @ts-ignore - public getColumns(): number; - /** - * Gets the number of rows in this inventory. - */ - // @ts-ignore - public getRows(): number; - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - /** - * Create an InventoryDimension property which matches InventoryDimension - * properties with equal value. - */ - // @ts-ignore - public static of(value: any): org.spongepowered.api.item.inventory.property.InventoryDimension; - /** - * Create an InventoryDimension property which matches InventoryDimension - * properties with equal value. - */ - // @ts-ignore - public static of(width: number, height: number): org.spongepowered.api.item.inventory.property.InventoryDimension; - /** - * Create an InventoryDimension property which matches InventoryDimension - * properties with unequal value. - */ - // @ts-ignore - public static not(value: any): org.spongepowered.api.item.inventory.property.InventoryDimension; - /** - * Create an InventoryDimension property which matches InventoryDimension - * properties with value greater than this value. - */ - // @ts-ignore - public static greaterThan(value: any): org.spongepowered.api.item.inventory.property.InventoryDimension; - /** - * Create an InventoryDimension property which matches InventoryDimension - * properties with value greater than or equal to this value. - */ - // @ts-ignore - public static greaterThanOrEqual(value: any): org.spongepowered.api.item.inventory.property.InventoryDimension; - /** - * Create an InventoryDimension property which matches InventoryDimension - * properties with value less than this value. - */ - // @ts-ignore - public static lessThan(value: any): org.spongepowered.api.item.inventory.property.InventoryDimension; - /** - * Create an InventoryDimension property which matches InventoryDimension - * properties with value less than or equal to this value. - */ - // @ts-ignore - public static lessThanOrEqual(value: any): org.spongepowered.api.item.inventory.property.InventoryDimension; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.InventoryTitle.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.InventoryTitle.ts deleted file mode 100644 index d7269d8c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.InventoryTitle.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class InventoryTitle extends org.spongepowered.api.item.inventory.property.AbstractInventoryProperty { - /** - * Creates a new {@link InventoryTitle} to be displayed on an {@link Inventory}. - */ - constructor(value: org.spongepowered.api.text.Text) - // @ts-ignore - public static PROPERTY_NAME: string; - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - /** - * Creates a new {@link InventoryTitle} with the provided {@link Text}. - */ - // @ts-ignore - public static of(value: org.spongepowered.api.text.Text): org.spongepowered.api.item.inventory.property.InventoryTitle; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.MappedIntProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.MappedIntProperty.ts deleted file mode 100644 index 6099f217..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.MappedIntProperty.ts +++ /dev/null @@ -1,66 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class MappedIntProperty extends org.spongepowered.api.item.inventory.property.AbstractInventoryProperty { - /** - * Create a new MappedIntproperty with the specified key and value. - */ - constructor(key: any, value: any) - /** - * Create a new MappedIntproperty with the specified key and value. - */ - constructor(key: any, value: any, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new MappedIntproperty with the specified key and value. - */ - constructor(key: any, value: any, operator: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - /** - * Create a MappedIntproperty property which matches MappedIntproperty - * properties with equal value and matching key. - */ - // @ts-ignore - public static of(key: any, value: any): org.spongepowered.api.item.inventory.property.MappedIntProperty; - /** - * Create a MappedIntproperty property which matches MappedIntproperty - * properties with unequal value and matching key. - */ - // @ts-ignore - public static not(key: any, value: any): org.spongepowered.api.item.inventory.property.MappedIntProperty; - /** - * Create a MappedIntproperty property which matches MappedIntproperty - * properties with value greater than this value and matching key. - */ - // @ts-ignore - public static greaterThan(key: any, value: any): org.spongepowered.api.item.inventory.property.MappedIntProperty; - /** - * Create a MappedIntproperty property which matches MappedIntproperty - * properties with value greater than or equal to this value and matching - * key. - */ - // @ts-ignore - public static greaterThanOrEqual(key: any, value: any): org.spongepowered.api.item.inventory.property.MappedIntProperty; - /** - * Create a MappedIntproperty property which matches MappedIntproperty - * properties with value less than this value and matching key. - */ - // @ts-ignore - public static lessThan(key: any, value: any): org.spongepowered.api.item.inventory.property.MappedIntProperty; - /** - * Create a MappedIntproperty property which matches MappedIntproperty - * properties with value less than or equal to this value and matching key. - */ - // @ts-ignore - public static lessThanOrEqual(key: any, value: any): org.spongepowered.api.item.inventory.property.MappedIntProperty; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.SlotIndex.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.SlotIndex.ts deleted file mode 100644 index a6e4e83a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.SlotIndex.ts +++ /dev/null @@ -1,63 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class SlotIndex extends org.spongepowered.api.item.inventory.property.IntProperty { - /** - * Creates a new SlotIndex property for the specified value. - */ - constructor(value: number) - /** - * Creates a new SlotIndex property for the specified value and operator. - */ - constructor(value: number, operator: org.spongepowered.api.data.Property.Operator) - /** - * Creates a new SlotIndex property for the specified value and operator. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a SlotIndex property which matches SlotIndex properties with - * equal value. - */ - // @ts-ignore - public static of(value: any): org.spongepowered.api.item.inventory.property.SlotIndex; - /** - * Create a SlotIndex property which matches SlotIndex properties with - * unequal value. - */ - // @ts-ignore - public static not(value: any): org.spongepowered.api.item.inventory.property.SlotIndex; - /** - * Create a SlotIndex property which matches SlotIndex properties with - * value greater than this value. - */ - // @ts-ignore - public static greaterThan(value: any): org.spongepowered.api.item.inventory.property.SlotIndex; - /** - * Create a SlotIndex property which matches SlotIndex properties with - * value greater than or equal to this value. - */ - // @ts-ignore - public static greaterThanOrEqual(value: any): org.spongepowered.api.item.inventory.property.SlotIndex; - /** - * Create a SlotIndex property which matches SlotIndex properties with - * value less than this value. - */ - // @ts-ignore - public static lessThan(value: any): org.spongepowered.api.item.inventory.property.SlotIndex; - /** - * Create a SlotIndex property which matches SlotIndex properties with - * value less than or equal to this value. - */ - // @ts-ignore - public static lessThanOrEqual(value: any): org.spongepowered.api.item.inventory.property.SlotIndex; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.SlotPos.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.SlotPos.ts deleted file mode 100644 index 8064e7c0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.SlotPos.ts +++ /dev/null @@ -1,87 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class SlotPos extends org.spongepowered.api.item.inventory.property.AbstractInventoryProperty { - /** - * Create a new SlotPos property for matching the specified value. - */ - constructor(value: any /*Vector2i*/) - /** - * Create a new SlotPos property for matching the specified value. - */ - constructor(x: number, y: number) - /** - * Create a new SlotPos property for matching the specified value with the - * specified operator. - */ - constructor(value: any /*Vector2i*/, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new SlotPos property for matching the specified value with the - * specified operator. - */ - constructor(x: number, y: number, operator: org.spongepowered.api.data.Property.Operator) - /** - * Gets the X position of this slot within the queried parent. - */ - // @ts-ignore - public getX(): number; - /** - * Gets the Y position of this slot within the queried parent. - */ - // @ts-ignore - public getY(): number; - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - /** - * Create an SlotPos property which matches SlotPos properties with equal - * value. - */ - // @ts-ignore - public static of(value: any): org.spongepowered.api.item.inventory.property.SlotPos; - /** - * Create an SlotPos property which matches SlotPos properties with equal - * value. - */ - // @ts-ignore - public static of(x: number, y: number): org.spongepowered.api.item.inventory.property.SlotPos; - /** - * Create an SlotPos property which matches SlotPos properties with unequal - * value. - */ - // @ts-ignore - public static not(value: any): org.spongepowered.api.item.inventory.property.SlotPos; - /** - * Create an SlotPos property which matches SlotPos properties with value - * greater than this value. - */ - // @ts-ignore - public static greaterThan(value: any): org.spongepowered.api.item.inventory.property.SlotPos; - /** - * Create an SlotPos property which matches SlotPos properties with value - * greater than or equal to this value. - */ - // @ts-ignore - public static greaterThanOrEqual(value: any): org.spongepowered.api.item.inventory.property.SlotPos; - /** - * Create an SlotPos property which matches SlotPos properties with value - * less than this value. - */ - // @ts-ignore - public static lessThan(value: any): org.spongepowered.api.item.inventory.property.SlotPos; - /** - * Create an SlotPos property which matches SlotPos properties with value - * less than or equal to this value. - */ - // @ts-ignore - public static lessThanOrEqual(value: any): org.spongepowered.api.item.inventory.property.SlotPos; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.SlotSide.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.SlotSide.ts deleted file mode 100644 index fc98fdf6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.SlotSide.ts +++ /dev/null @@ -1,43 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class SlotSide extends org.spongepowered.api.item.inventory.property.AbstractInventoryProperty { - /** - * Create a new SlotSide property for matching the specified value. - */ - constructor(value: org.spongepowered.api.util.Direction) - /** - * Create a new SlotSide property for matching the specified value with the - * specified operator. - */ - constructor(value: org.spongepowered.api.util.Direction, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new SlotSide property for matching the specified value with the - * specified operator. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - /** - * Create a SlotSide property which matches SlotSide properties with equal - * value. - */ - // @ts-ignore - public static of(value: any): org.spongepowered.api.item.inventory.property.SlotSide; - /** - * Create a SlotSide property which matches SlotSide properties with unequal - * value. - */ - // @ts-ignore - public static not(value: any): org.spongepowered.api.item.inventory.property.SlotSide; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.StringProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.StringProperty.ts deleted file mode 100644 index 4bdc2100..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.property.StringProperty.ts +++ /dev/null @@ -1,68 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace property { - // @ts-ignore - class StringProperty extends org.spongepowered.api.item.inventory.property.AbstractInventoryProperty { - /** - * Create a new {@link StringProperty} for matching the specified value. - */ - constructor(value: string) - /** - * Create a new {@link StringProperty} for matching the specified value - * with the specified operator. - */ - constructor(value: string, operator: org.spongepowered.api.data.Property.Operator) - /** - * Create a new {@link StringProperty} for matching the specified value - * with the specified operator. - */ - constructor(value: any, operator: org.spongepowered.api.data.Property.Operator) - // @ts-ignore - public compareTo(other: org.spongepowered.api.data.Property): number; - /** - * Create a {@link StringProperty} which matches {@link StringProperty} - * properties with equal value. - */ - // @ts-ignore - public static of(value: any): org.spongepowered.api.item.inventory.property.StringProperty; - /** - * Create a {@link StringProperty} which matches {@link StringProperty} - * properties with unequal value. - */ - // @ts-ignore - public static not(value: any): org.spongepowered.api.item.inventory.property.StringProperty; - /** - * Create a {@link StringProperty} which matches {@link StringProperty} - * properties with value greater than this value. - */ - // @ts-ignore - public static greaterThan(value: any): org.spongepowered.api.item.inventory.property.StringProperty; - /** - * Create a {@link StringProperty} which matches {@link StringProperty} - * properties with value greater than or equal to this - * value. - */ - // @ts-ignore - public static greaterThanOrEqual(value: any): org.spongepowered.api.item.inventory.property.StringProperty; - /** - * Create a {@link StringProperty} which matches {@link StringProperty} - * properties with value less than this value. - */ - // @ts-ignore - public static lessThan(value: any): org.spongepowered.api.item.inventory.property.StringProperty; - /** - * Create a {@link StringProperty} which matches {@link StringProperty} - * properties with value less than or equal to this value. - */ - // @ts-ignore - public static lessThanOrEqual(value: any): org.spongepowered.api.item.inventory.property.StringProperty; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.query.QueryOperation.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.query.QueryOperation.ts deleted file mode 100644 index 3acbb756..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.query.QueryOperation.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace query { - // @ts-ignore - interface QueryOperation { - /** - * Returns the {@link QueryOperationType} used to - * {@linkplain QueryOperationType#of(Object) create} this query operation. - */ - // @ts-ignore - getType(): org.spongepowered.api.item.inventory.query.QueryOperationType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.query.QueryOperationType.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.query.QueryOperationType.ts deleted file mode 100644 index 50fb0221..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.query.QueryOperationType.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace query { - // @ts-ignore - interface QueryOperationType extends org.spongepowered.api.CatalogType { - /** - * Returns a query operation that tests for the specified argument. - */ - // @ts-ignore - of(arg: any): org.spongepowered.api.item.inventory.query.QueryOperation; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.query.QueryOperationTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.query.QueryOperationTypes.ts deleted file mode 100644 index 6461dce6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.query.QueryOperationTypes.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace query { - // @ts-ignore - class QueryOperationTypes { - // @ts-ignore - public static INVENTORY_PROPERTY: org.spongepowered.api.item.inventory.query.QueryOperationType; - // @ts-ignore - public static INVENTORY_TRANSLATION: org.spongepowered.api.item.inventory.query.QueryOperationType; - // @ts-ignore - public static INVENTORY_TYPE: org.spongepowered.api.item.inventory.query.QueryOperationType; - // @ts-ignore - public static ITEM_STACK_CUSTOM: org.spongepowered.api.item.inventory.query.QueryOperationType; - // @ts-ignore - public static ITEM_STACK_EXACT: org.spongepowered.api.item.inventory.query.QueryOperationType; - // @ts-ignore - public static ITEM_STACK_IGNORE_QUANTITY: org.spongepowered.api.item.inventory.query.QueryOperationType; - // @ts-ignore - public static ITEM_TYPE: org.spongepowered.api.item.inventory.query.QueryOperationType; - // @ts-ignore - public static TYPE: org.spongepowered.api.item.inventory.query.QueryOperationType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.EquipmentSlot.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.EquipmentSlot.ts deleted file mode 100644 index 0fd2d503..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.EquipmentSlot.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace slot { - // @ts-ignore - interface EquipmentSlot extends org.spongepowered.api.item.inventory.slot.FilteringSlot { - /** - * Check whether the supplied equipment type can be inserted into this slot. - * Returning false from this method implies that {@link #offer} would - * always return false for items of this type. - */ - // @ts-ignore - isValidItem(type: org.spongepowered.api.item.inventory.equipment.EquipmentType): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.FilteringSlot.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.FilteringSlot.ts deleted file mode 100644 index 86eb9915..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.FilteringSlot.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace slot { - // @ts-ignore - interface FilteringSlot extends org.spongepowered.api.item.inventory.Slot { - /** - * Check whether the supplied item can be inserted into this slot. Returning - * false from this method implies that {@link #offer} would always return - * false for this item. - */ - // @ts-ignore - isValidItem(stack: org.spongepowered.api.item.inventory.ItemStack): boolean; - /** - * Check whether the supplied item can be inserted into this slot. Returning - * false from this method implies that {@link #offer} would always return - * false for items of this type. - */ - // @ts-ignore - isValidItem(type: org.spongepowered.api.item.ItemType): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.FuelSlot.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.FuelSlot.ts deleted file mode 100644 index f09ea0b5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.FuelSlot.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace slot { - // @ts-ignore - interface FuelSlot extends org.spongepowered.api.item.inventory.slot.InputSlot { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.InputSlot.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.InputSlot.ts deleted file mode 100644 index b4d741b2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.InputSlot.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace slot { - // @ts-ignore - interface InputSlot extends org.spongepowered.api.item.inventory.slot.FilteringSlot { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.OutputSlot.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.OutputSlot.ts deleted file mode 100644 index 2b7e4d02..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.OutputSlot.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace slot { - // @ts-ignore - interface OutputSlot extends org.spongepowered.api.item.inventory.Slot { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.SidedSlot.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.SidedSlot.ts deleted file mode 100644 index 8702945b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.slot.SidedSlot.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace slot { - // @ts-ignore - interface SidedSlot extends org.spongepowered.api.item.inventory.Slot { - /** - * Gets whether this slot can accept the specified item from the specified - * direction. - */ - // @ts-ignore - canAccept(stack: org.spongepowered.api.item.inventory.ItemStack, from: org.spongepowered.api.util.Direction): boolean; - /** - * Attempts to insert the supplied stack into this inventory from the - * specified direction. - */ - // @ts-ignore - offer(stack: org.spongepowered.api.item.inventory.ItemStack, from: org.spongepowered.api.util.Direction): boolean; - /** - * Gets whether automation can extract the specified item from the specified - * direction. - */ - // @ts-ignore - canGet(stack: org.spongepowered.api.item.inventory.ItemStack, from: org.spongepowered.api.util.Direction): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Builder.ts deleted file mode 100644 index 52249721..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Builder.ts +++ /dev/null @@ -1,43 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace transaction { - namespace InventoryTransactionResult { - // @ts-ignore - class Builder implements org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the {@link Type} of transaction result being built. - */ - // @ts-ignore - public type(type: org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Type): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Builder; - /** - * Adds the provided {@link ItemStack itemstacks} as stacks that have been - * "rejected". - */ - // @ts-ignore - public reject(itemStacks: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Builder; - /** - * Adds the provided {@link ItemStack itemstacks} as stacks that are - * being replaced. - */ - // @ts-ignore - public replace(itemStacks: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Builder; - /** - * Creates a new {@link InventoryTransactionResult}. - */ - // @ts-ignore - public build(): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult; - // @ts-ignore - public from(value: org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Builder; - // @ts-ignore - public reset(): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Builder; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Type.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Type.ts deleted file mode 100644 index 78a4f7f2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Type.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace transaction { - namespace InventoryTransactionResult { - // @ts-ignore - class Type { - // @ts-ignore - public static UNDEFINED: org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Type; - // @ts-ignore - public static SUCCESS: org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Type; - // @ts-ignore - public static FAILURE: org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Type; - // @ts-ignore - public static ERROR: org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Type; - // @ts-ignore - public static CANCELLED: org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Type; - // @ts-ignore - public static values(): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Type[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Type; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.ts deleted file mode 100644 index 27717372..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace transaction { - // @ts-ignore - class InventoryTransactionResult { - /** - * Begin building a new InventoryTransactionResult. - */ - // @ts-ignore - public static builder(): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Builder; - /** - * Returns a builder which indicates that the transaction succeeded, but the - * transaction result was no-op. - */ - // @ts-ignore - public static successNoTransactions(): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult; - /** - * Returns a builder which indicates that the transaction failed, and the - * transaction result was no-op. - */ - // @ts-ignore - public static failNoTransactions(): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult; - /** - * Gets the type of result. - */ - // @ts-ignore - public getType(): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult.Type; - /** - * If items were supplied to the operation, this collection will return any - * items which were rejected by the target inventory. - */ - // @ts-ignore - public getRejectedItems(): any[] /*java.util.Collection*/; - /** - * If the operation replaced items in the inventory, this collection returns - * the ItemStacks which were replaced. - */ - // @ts-ignore - public getReplacedItems(): any[] /*java.util.Collection*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.SlotTransaction.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.SlotTransaction.ts deleted file mode 100644 index 08650336..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.transaction.SlotTransaction.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace transaction { - // @ts-ignore - class SlotTransaction extends org.spongepowered.api.data.Transaction { - /** - * Creates a new {@link SlotTransaction} with the provided {@link Slot}, - * {@link ItemStackSnapshot original snapshot}, and - * {@link ItemStackSnapshot replacement snapshot}. - */ - constructor(slot: org.spongepowered.api.item.inventory.Slot, original: org.spongepowered.api.item.inventory.ItemStackSnapshot, defaultReplacement: org.spongepowered.api.item.inventory.ItemStackSnapshot) - /** - * Sets the custom {@link ItemStack} output of this - * {@link SlotTransaction}. - */ - // @ts-ignore - public setCustom(stack: org.spongepowered.api.item.inventory.ItemStack): void; - /** - * Gets the {@link Slot} of this {@link SlotTransaction}. - */ - // @ts-ignore - public getSlot(): org.spongepowered.api.item.inventory.Slot; - // @ts-ignore - public toString(): string; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.CarriedInventory.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.CarriedInventory.ts deleted file mode 100644 index b72861b3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.CarriedInventory.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace type { - // @ts-ignore - interface CarriedInventory extends org.spongepowered.api.item.inventory.Inventory { - /** - * Returns the Carrier of this Inventory. It can be an entity, block, or - * other object. - */ - // @ts-ignore - getCarrier(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.GridInventory.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.GridInventory.ts deleted file mode 100644 index 62433362..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.GridInventory.ts +++ /dev/null @@ -1,72 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace type { - // @ts-ignore - interface GridInventory extends org.spongepowered.api.item.inventory.type.Inventory2D { - /** - * Gets the number of columns in the inventory. - */ - // @ts-ignore - getColumns(): number; - /** - * Gets the number of rows in the inventory. - */ - // @ts-ignore - getRows(): number; - /** - * Returns the dimensions of this GridInventory as a {@link Vector2i}. - */ - // @ts-ignore - getDimensions(): any /*Vector2i*/; - /** - * Gets and remove the stack at the supplied position in this Inventory. - */ - // @ts-ignore - poll(x: number, y: number): any; - /** - * Gets and remove the stack at the supplied position in this Inventory. - */ - // @ts-ignore - poll(x: number, y: number, limit: number): any; - /** - * Gets without removing the stack at the supplied position in this - * Inventory. - */ - // @ts-ignore - peek(x: number, y: number): any; - /** - * Gets without removing the stack at the supplied position in this - * Inventory. - */ - // @ts-ignore - peek(x: number, y: number, limit: number): any; - /** - * Sets the item in the specified slot. - */ - // @ts-ignore - set(x: number, y: number, stack: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult; - /** - * Gets the {@link Slot} at the specified position. - */ - // @ts-ignore - getSlot(x: number, y: number): any; - /** - * Gets the row at the specified index. - */ - // @ts-ignore - getRow(y: number): any; - /** - * Gets the column at the specified index. - */ - // @ts-ignore - getColumn(x: number): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.Interactable.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.Interactable.ts deleted file mode 100644 index 2a096d94..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.Interactable.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace type { - // @ts-ignore - interface Interactable extends org.spongepowered.api.item.inventory.Inventory { - /** - * Gets whether the specified player can interact with this object. - */ - // @ts-ignore - canInteractWith(player: org.spongepowered.api.entity.living.player.Player): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.Inventory2D.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.Inventory2D.ts deleted file mode 100644 index 6156b3f2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.Inventory2D.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace type { - // @ts-ignore - interface Inventory2D extends org.spongepowered.api.item.inventory.type.OrderedInventory { - /** - * Gets and remove the stack at the supplied position in this Inventory. - */ - // @ts-ignore - poll(pos: org.spongepowered.api.item.inventory.property.SlotPos): any; - /** - * Gets and remove the stack at the supplied position in this Inventory. - */ - // @ts-ignore - poll(pos: org.spongepowered.api.item.inventory.property.SlotPos, limit: number): any; - /** - * Gets without removing the stack at the supplied position in this - * Inventory. - */ - // @ts-ignore - peek(pos: org.spongepowered.api.item.inventory.property.SlotPos): any; - /** - * Gets without removing the stack at the supplied position in this - * Inventory. - */ - // @ts-ignore - peek(pos: org.spongepowered.api.item.inventory.property.SlotPos, limit: number): any; - /** - * Sets the item in the specified slot. - */ - // @ts-ignore - set(pos: org.spongepowered.api.item.inventory.property.SlotPos, stack: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult; - /** - * Gets the {@link Slot} at the specified position. - */ - // @ts-ignore - getSlot(pos: org.spongepowered.api.item.inventory.property.SlotPos): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.InventoryColumn.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.InventoryColumn.ts deleted file mode 100644 index 1a7c0aaa..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.InventoryColumn.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace type { - // @ts-ignore - interface InventoryColumn extends org.spongepowered.api.item.inventory.type.Inventory2D { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.InventoryRow.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.InventoryRow.ts deleted file mode 100644 index 136d7472..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.InventoryRow.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace type { - // @ts-ignore - interface InventoryRow extends org.spongepowered.api.item.inventory.type.Inventory2D { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.OrderedInventory.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.OrderedInventory.ts deleted file mode 100644 index 75c78ca7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.OrderedInventory.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace type { - // @ts-ignore - interface OrderedInventory extends org.spongepowered.api.item.inventory.Inventory { - /** - * Gets and remove the stack at the supplied index in this Inventory. - */ - // @ts-ignore - poll(index: org.spongepowered.api.item.inventory.property.SlotIndex): any; - /** - * Gets and remove the stack at the supplied index in this Inventory. - */ - // @ts-ignore - poll(index: org.spongepowered.api.item.inventory.property.SlotIndex, limit: number): any; - /** - * Gets without removing the stack at the supplied index in this Inventory. - */ - // @ts-ignore - peek(index: org.spongepowered.api.item.inventory.property.SlotIndex): any; - /** - * Gets without removing the stack at the supplied index in this Inventory. - */ - // @ts-ignore - peek(index: org.spongepowered.api.item.inventory.property.SlotIndex, limit: number): any; - /** - * Sets the item in the specified slot. - */ - // @ts-ignore - set(index: org.spongepowered.api.item.inventory.property.SlotIndex, stack: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult; - /** - * Gets the {@link Slot} at the specified position. - */ - // @ts-ignore - getSlot(index: org.spongepowered.api.item.inventory.property.SlotIndex): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.PersistentInventory.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.PersistentInventory.ts deleted file mode 100644 index 289d241d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.PersistentInventory.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace type { - // @ts-ignore - interface PersistentInventory extends org.spongepowered.api.item.inventory.Inventory { - /** - * Mark this inventory as dirty to serve as a flag to the serialisation - * mechanism. - */ - // @ts-ignore - markDirty(): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.TileEntityInventory.ts b/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.TileEntityInventory.ts deleted file mode 100644 index 6de6fe62..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.inventory.type.TileEntityInventory.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace inventory { - namespace type { - // @ts-ignore - interface TileEntityInventory extends org.spongepowered.api.item.inventory.type.PersistentInventory, org.spongepowered.api.item.inventory.type.Interactable, org.spongepowered.api.item.inventory.type.CarriedInventory { - /** - * Returns the owner of this Inventory. - */ - // @ts-ignore - getTileEntity(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.Merchant.ts b/packages/sponge/src/typings/org.spongepowered.api.item.merchant.Merchant.ts deleted file mode 100644 index 6d07f2f2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.Merchant.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace merchant { - // @ts-ignore - interface Merchant extends org.spongepowered.api.data.DataHolder, org.spongepowered.api.item.inventory.Carrier, org.spongepowered.api.world.Locatable { - /** - * Gets the currently trading customer with this merchant. - */ - // @ts-ignore - getCustomer(): any; - /** - * Sets the currently trading customer with this merchant. - *

If the humanoid entity is available, a new trading window may open - * with this merchant.

- */ - // @ts-ignore - setCustomer(humanoid: org.spongepowered.api.entity.living.Humanoid): void; - /** - * Gets a copy of the used {@link TradeOfferData} containing all available - * {@link TradeOffer}s this {@link Merchant} may use. - */ - // @ts-ignore - getTradeOfferData(): org.spongepowered.api.data.manipulator.mutable.entity.TradeOfferData; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOffer.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOffer.Builder.ts deleted file mode 100644 index 06ae3712..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOffer.Builder.ts +++ /dev/null @@ -1,66 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace merchant { - namespace TradeOffer { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.persistence.DataBuilder { - /** - *

Sets the first selling item of the trade offer to be - * generated.

- *

Trade offers require at least one item to be generated.

- */ - // @ts-ignore - firstBuyingItem(item: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.merchant.TradeOffer.Builder; - /** - * Sets the second selling item of the trade offer to be generated. - */ - // @ts-ignore - secondBuyingItem(item: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.merchant.TradeOffer.Builder; - /** - * Sets the selling item of the trade offer to be generated. - */ - // @ts-ignore - sellingItem(item: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.merchant.TradeOffer.Builder; - /** - * Sets the existing uses of the trade offer to be generated. A trade - * offer will become unusable when the uses surpasses the max uses. - */ - // @ts-ignore - uses(uses: number): org.spongepowered.api.item.merchant.TradeOffer.Builder; - /** - * Sets the maximum uses the generated trade offer will have. A trade - * offer will become unusable when the uses surpasses the max uses. - */ - // @ts-ignore - maxUses(maxUses: number): org.spongepowered.api.item.merchant.TradeOffer.Builder; - /** - * Sets the trade offer to be generated to grant experience upon use. - */ - // @ts-ignore - canGrantExperience(experience: boolean): org.spongepowered.api.item.merchant.TradeOffer.Builder; - /** - * Creates a new TradeOffer instance with the current state of the - * builder. - */ - // @ts-ignore - build(): org.spongepowered.api.item.merchant.TradeOffer; - /** - * Sets all the settings of this builder with the provided trade offer - * as a blueprint. - */ - // @ts-ignore - from(offer: org.spongepowered.api.item.merchant.TradeOffer): org.spongepowered.api.item.merchant.TradeOffer.Builder; - /** - * Clears all settings of this builder. - */ - // @ts-ignore - reset(): org.spongepowered.api.item.merchant.TradeOffer.Builder; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOffer.ts b/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOffer.ts deleted file mode 100644 index 80c9b31d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOffer.ts +++ /dev/null @@ -1,74 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace merchant { - // @ts-ignore - interface TradeOffer extends org.spongepowered.api.data.DataSerializable { - /** - * Creates a new {@link Builder} to build a {@link TradeOffer}. - */ - // @ts-ignore - builder(): org.spongepowered.api.item.merchant.TradeOffer.Builder; - /** - * Gets the first buying item. - *

The first buying item is an item that the customer is selling to the - * merchant in exchange for {@link #getSellingItem()}.

- */ - // @ts-ignore - getFirstBuyingItem(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * Returns whether this trade offer has a second item the merchant is buying - * from the customer. - */ - // @ts-ignore - hasSecondItem(): boolean; - /** - *

Gets the second buying item.

- *

The second buying item is an item that the customer is selling to the - * merchant, along with the {@link #getFirstBuyingItem()}, in exchange for - * {@link #getSellingItem()}.

- */ - // @ts-ignore - getSecondBuyingItem(): any; - /** - * Gets the selling item the {@link Merchant} will give to the customer - * often in exchange for a single item or sometimes, two items from the - * following methods: {@link #getFirstBuyingItem()} and - * {@link #getSecondBuyingItem}. - */ - // @ts-ignore - getSellingItem(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - *

Gets the current uses of this offer.

- *

Usually, the uses of an offer are limited by the amount of - * {@link #getMaxUses()}. Once the uses reaches the max uses, the offer may - * temporarily become disabled.

- */ - // @ts-ignore - getUses(): number; - /** - *

Gets the current maximum uses of this offer.

- *

Usually, the uses of an offer are limited by the amount of maximum - * uses. Once the uses reaches the max uses, the offer may temporarily - * become disabled.

- */ - // @ts-ignore - getMaxUses(): number; - /** - * Checks if this trade offer has indeed passed the time of which the uses - * surpassed the maximum uses. - */ - // @ts-ignore - hasExpired(): boolean; - /** - * Gets whether this trade offer will grant experience upon usage or not. - */ - // @ts-ignore - doesGrantExperience(): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOfferGenerator.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOfferGenerator.Builder.ts deleted file mode 100644 index 0359d064..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOfferGenerator.Builder.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace merchant { - namespace TradeOfferGenerator { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the {@link ItemStackGenerator} for creating the primary item - * to be bought by the merchant. - */ - // @ts-ignore - setPrimaryItemGenerator(generator: org.spongepowered.api.item.inventory.ItemStackGenerator): org.spongepowered.api.item.merchant.TradeOfferGenerator.Builder; - /** - * Sets the second {@link ItemStackGenerator} for creating the secondary - * item to be bought by the merchant. - */ - // @ts-ignore - setSecondItemGenerator(generator: org.spongepowered.api.item.inventory.ItemStackGenerator): org.spongepowered.api.item.merchant.TradeOfferGenerator.Builder; - /** - * Sets the buying {@link ItemStackGenerator} for creating the selling - * item that players are buying. - */ - // @ts-ignore - setSellingGenerator(sellingGenerator: org.spongepowered.api.item.inventory.ItemStackGenerator): org.spongepowered.api.item.merchant.TradeOfferGenerator.Builder; - /** - * Sets the chance when {@link Random#nextDouble()} is called where - * if the double is greater than the desired experience chance, the - * generated {@link TradeOffer} will grant experience upon a - * successful trade. - */ - // @ts-ignore - experienceChance(experienceChance: number): org.spongepowered.api.item.merchant.TradeOfferGenerator.Builder; - /** - * Sets the {@link VariableAmount} of starting uses for the generated - * {@link TradeOffer}. - */ - // @ts-ignore - startingUses(amount: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.item.merchant.TradeOfferGenerator.Builder; - /** - * Sets the {@link VariableAmount} of maximum uses of the generated - * {@link TradeOffer}. - */ - // @ts-ignore - maxUses(amount: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.item.merchant.TradeOfferGenerator.Builder; - /** - * Builds a new {@link TradeOfferGenerator}. - */ - // @ts-ignore - build(): org.spongepowered.api.item.merchant.TradeOfferGenerator; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOfferGenerator.ts b/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOfferGenerator.ts deleted file mode 100644 index c7e0a80e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOfferGenerator.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace merchant { - // @ts-ignore - interface TradeOfferGenerator extends org.spongepowered.api.item.merchant.TradeOfferListMutator { - /** - * Gets a new {@link Builder} to create a new {@link TradeOfferGenerator}. - */ - // @ts-ignore - builder(): org.spongepowered.api.item.merchant.TradeOfferGenerator.Builder; - // @ts-ignore - accept(owner: org.spongepowered.api.item.merchant.Merchant, tradeOffers: any[] /*java.util.List*/, random: any): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOfferListMutator.ts b/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOfferListMutator.ts deleted file mode 100644 index 54db519d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.TradeOfferListMutator.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace merchant { - // @ts-ignore - interface TradeOfferListMutator { - /** - * Mutates the provided {@link List list} of {@link TradeOffer}s - * with the provided {@link Merchant} and {@link Random} to provide - * possible contextualized information. - */ - // @ts-ignore - accept(owner: org.spongepowered.api.item.merchant.Merchant, tradeOffers: any[] /*java.util.List*/, random: any): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.VillagerRegistry.ts b/packages/sponge/src/typings/org.spongepowered.api.item.merchant.VillagerRegistry.ts deleted file mode 100644 index f60df1e2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.merchant.VillagerRegistry.ts +++ /dev/null @@ -1,75 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace merchant { - // @ts-ignore - interface VillagerRegistry { - /** - * Gets an immutable {@link Multimap} of the {@link Career}'s registered - * {code level} to {@link TradeOfferListMutator}s. Note that the map is - * immutable and cannot be modified directly. - */ - // @ts-ignore - getTradeOfferLevelMap(career: org.spongepowered.api.data.type.Career): any; - /** - * Gets the available {@link TradeOfferListMutator}s for the desired - * {@link Career} and {@code level}. - */ - // @ts-ignore - getMutatorsForCareer(career: org.spongepowered.api.data.type.Career, level: number): any[] /*java.util.Collection*/; - /** - * Adds the provided {@link TradeOfferListMutator} for the given - * {@link Career} and {@code level}. Note that the level - * must be at least 1. There can be multiple {@link TradeOfferListMutator}s - * per level. - */ - // @ts-ignore - addMutator(career: org.spongepowered.api.data.type.Career, level: number, mutator: org.spongepowered.api.item.merchant.TradeOfferListMutator): org.spongepowered.api.item.merchant.VillagerRegistry; - /** - * Adds the provided {@link TradeOfferListMutator}s for the given - * {@link Career} and {@code level}. Note that the level - * must be at least 1. There can be multiple {@link TradeOfferListMutator}s - * per level. - */ - // @ts-ignore - addMutators(career: org.spongepowered.api.data.type.Career, level: number, mutator: org.spongepowered.api.item.merchant.TradeOfferListMutator, mutators: org.spongepowered.api.item.merchant.TradeOfferListMutator): org.spongepowered.api.item.merchant.VillagerRegistry; - /** - * Sets the provided {@link TradeOfferListMutator} for the given - * {@link Career} and {@code level}. Note that the level - * must be at least 1. There can be multiple {@link TradeOfferListMutator}s - * per level. Any previously provided {@link TradeOfferListMutator}s will - * be erased. - */ - // @ts-ignore - setMutators(career: org.spongepowered.api.data.type.Career, level: number, mutators: any[] /*java.util.List*/): org.spongepowered.api.item.merchant.VillagerRegistry; - /** - * Sets the provided {@link TradeOfferListMutator} for the given - * {@link Career} and {@code level}. Note that the level - * must be at least 1. There can be multiple {@link TradeOfferListMutator}s - * per level. Any previously provided {@link TradeOfferListMutator}s will - * be erased. - */ - // @ts-ignore - setMutators(career: org.spongepowered.api.data.type.Career, mutatorMap: any): org.spongepowered.api.item.merchant.VillagerRegistry; - /** - * Generates a new {@link List} of {@link TradeOffer}s based on the - * provided {@link Career}, {@code level}, and {@link Random}. - */ - // @ts-ignore - generateTradeOffers(merchant: org.spongepowered.api.item.merchant.Merchant, career: org.spongepowered.api.data.type.Career, level: number, random: any): any[] /*java.util.Collection*/; - /** - * Populates the provided {@link List} of {@link TradeOffer}s with - * potentially new {@link TradeOffer}s based on the - * {@link TradeOfferListMutator}s and {@code level}. If there are no - * {@link TradeOfferListMutator}s registered for the desired level - * and {@link Career}, the list remains unmodified. - */ - // @ts-ignore - populateOffers(merchant: org.spongepowered.api.item.merchant.Merchant, currentOffers: any[] /*java.util.List*/, career: org.spongepowered.api.data.type.Career, level: number, random: any): any[] /*java.util.List*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.potion.PotionType.ts b/packages/sponge/src/typings/org.spongepowered.api.item.potion.PotionType.ts deleted file mode 100644 index f4f9b910..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.potion.PotionType.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace potion { - // @ts-ignore - interface PotionType extends org.spongepowered.api.CatalogType { - // @ts-ignore - getEffects(): any[] /*java.util.List*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.potion.PotionTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.item.potion.PotionTypes.ts deleted file mode 100644 index f87724e8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.potion.PotionTypes.ts +++ /dev/null @@ -1,85 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace potion { - // @ts-ignore - class PotionTypes { - // @ts-ignore - public static AWKWARD: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static EMPTY: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static FIRE_RESISTANCE: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static HARMING: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static HEALING: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static INVISIBILITY: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static LEAPING: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static LONG_FIRE_RESISTANCE: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static LONG_INVISIBILITY: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static LONG_LEAPING: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static LONG_NIGHT_VISION: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static LONG_POISON: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static LONG_REGENERATION: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static LONG_SLOWNESS: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static LONG_STRENGTH: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static LONG_SWIFTNESS: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static LONG_WATER_BREATHING: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static LONG_WEAKNESS: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static MUNDANE: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static NIGHT_VISION: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static POISON: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static REGENERATION: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static SLOWNESS: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static STRENGTH: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static STRONG_HARMING: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static STRONG_HEALING: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static STRONG_LEAPING: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static STRONG_POISON: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static STRONG_REGENERATION: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static STRONG_STRENGTH: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static STRONG_SWIFTNESS: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static SWIFTNESS: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static THICK: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static WATER: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static WATER_BREATHING: org.spongepowered.api.item.potion.PotionType; - // @ts-ignore - public static WEAKNESS: org.spongepowered.api.item.potion.PotionType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.Recipe.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.Recipe.ts deleted file mode 100644 index 1c847ec2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.Recipe.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - // @ts-ignore - interface Recipe extends org.spongepowered.api.CatalogType { - /** - * A general result of this recipe. This result may be customized depending - * on the context. - */ - // @ts-ignore - getExemplaryResult(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.RecipeRegistry.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.RecipeRegistry.ts deleted file mode 100644 index 1b97b220..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.RecipeRegistry.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - // @ts-ignore - interface RecipeRegistry extends org.spongepowered.api.registry.CatalogRegistryModule { - /** - * Registers the given {@link Recipe} to make it available to craft. - */ - // @ts-ignore - register(recipe: org.spongepowered.api.item.recipe.Recipe): void; - /** - * Retrieves all recipes registered in this registry. - */ - // @ts-ignore - getRecipes(): any[] /*java.util.Collection*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingRecipe.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingRecipe.ts deleted file mode 100644 index d09ef8ab..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingRecipe.ts +++ /dev/null @@ -1,68 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - // @ts-ignore - interface CraftingRecipe extends org.spongepowered.api.item.recipe.Recipe, org.spongepowered.api.CatalogType { - /** - * Checks if the given {@link CraftingGridInventory} fits the required - * constraints to craft this {@link CraftingGridInventory}. - */ - // @ts-ignore - isValid(grid: org.spongepowered.api.item.inventory.crafting.CraftingGridInventory, world: org.spongepowered.api.world.World): boolean; - /** - * This method should only be called if - * {@link #isValid(CraftingGridInventory, World)} returns {@code true}. - *

This method is preferred over the - * {@link CraftingRecipe#getExemplaryResult()} method, as it customizes - * the result further depending on the context.

- *

Implementing classes are advised to use the output of - * {@link CraftingRecipe#getExemplaryResult()}, modify it accordingly, - * and {@code return} it.

- */ - // @ts-ignore - getResult(grid: org.spongepowered.api.item.inventory.crafting.CraftingGridInventory): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * Returns the {@link CraftingResult} for the current crafting grid - * configuration and the {@link World} the player is in. - *

Returns - * {@link Optional#empty()} if the arguments do not satisfy - * {@link #isValid(CraftingGridInventory, World)}.

- */ - // @ts-ignore - getResult(grid: org.spongepowered.api.item.inventory.crafting.CraftingGridInventory, world: org.spongepowered.api.world.World): any; - /** - * This method should only be called if - * {@link #isValid(CraftingGridInventory, World)} returns {@code true}. - *

A list of items to be added to the inventory of the player when they - * craft the result. For example, if a player crafts a - * {@link ItemTypes#CAKE}, the empty buckets are returned to their - * inventory.

- */ - // @ts-ignore - getRemainingItems(grid: org.spongepowered.api.item.inventory.crafting.CraftingGridInventory): any[] /*java.util.List*/; - /** - * The group this CraftingRecipe belongs to or {@link Optional#empty()} - * if not defined. - */ - // @ts-ignore - getGroup(): any; - /** - * Provides a Builder for a {@link ShapedCraftingRecipe}. - */ - // @ts-ignore - shapedBuilder(): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder; - /** - * Provides a Builder for a {@link ShapelessCraftingRecipe}. - */ - // @ts-ignore - shapelessBuilder(): org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingRecipeRegistry.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingRecipeRegistry.ts deleted file mode 100644 index 5729d8c5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingRecipeRegistry.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - // @ts-ignore - interface CraftingRecipeRegistry extends org.spongepowered.api.item.recipe.RecipeRegistry { - /** - * Retrieves the recipe which would be crafted when the player clicks - * the output slot. - */ - // @ts-ignore - findMatchingRecipe(grid: org.spongepowered.api.item.inventory.crafting.CraftingGridInventory, world: org.spongepowered.api.world.World): any; - /** - * Finds the matching recipe and creates the {@link CraftingResult}, - * which is then returned. - */ - // @ts-ignore - getResult(grid: org.spongepowered.api.item.inventory.crafting.CraftingGridInventory, world: org.spongepowered.api.world.World): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingRecipes.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingRecipes.ts deleted file mode 100644 index 7d6cacb4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingRecipes.ts +++ /dev/null @@ -1,901 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - // @ts-ignore - class CraftingRecipes { - // @ts-ignore - public static ACACIA_BOAT: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ACACIA_DOOR: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ACACIA_FENCE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ACACIA_FENCE_GATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ACACIA_PLANKS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ACACIA_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ACACIA_WOODEN_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ACTIVATOR_RAIL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ANDESITE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ANVIL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ARMORDYE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ARMOR_STAND: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ARROW: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BANNERADDPATTERN: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BANNERDUPLICATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BEACON: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BEETROOT_SOUP: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BIRCH_BOAT: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BIRCH_DOOR: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BIRCH_FENCE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BIRCH_FENCE_GATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BIRCH_PLANKS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BIRCH_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BIRCH_WOODEN_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLACK_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLACK_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLACK_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLACK_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLACK_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLACK_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLACK_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLACK_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLACK_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLAZE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLUE_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLUE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLUE_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLUE_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLUE_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLUE_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLUE_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLUE_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BLUE_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BOAT: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BONE_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BONE_MEAL_FROM_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BONE_MEAL_FROM_BONE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BOOK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BOOKCLONING: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BOOKSHELF: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BOW: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BOWL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BREAD: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BREWING_STAND: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BRICK_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BRICK_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BRICK_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BROWN_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BROWN_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BROWN_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BROWN_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BROWN_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BROWN_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BROWN_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BROWN_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BROWN_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static BUCKET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CAKE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CARROT_ON_A_STICK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CAULDRON: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CHEST: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CHEST_MINECART: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CHISELED_QUARTZ_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CHISELED_RED_SANDSTONE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CHISELED_SANDSTONE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CHISELED_STONEBRICK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static COAL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static COAL_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static COARSE_DIRT: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static COBBLESTONE_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static COBBLESTONE_WALL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static COMPARATOR: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static COMPASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static COOKIE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CRAFTING_TABLE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CYAN_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CYAN_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CYAN_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CYAN_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CYAN_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CYAN_DYE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CYAN_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CYAN_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CYAN_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static CYAN_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DARK_OAK_BOAT: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DARK_OAK_DOOR: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DARK_OAK_FENCE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DARK_OAK_FENCE_GATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DARK_OAK_PLANKS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DARK_OAK_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DARK_OAK_WOODEN_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DARK_PRISMARINE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DAYLIGHT_DETECTOR: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DETECTOR_RAIL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DIAMOND: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DIAMOND_AXE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DIAMOND_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DIAMOND_BOOTS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DIAMOND_CHESTPLATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DIAMOND_HELMET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DIAMOND_HOE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DIAMOND_LEGGINGS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DIAMOND_PICKAXE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DIAMOND_SHOVEL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DIAMOND_SWORD: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DIORITE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DISPENSER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static DROPPER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static EMERALD: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static EMERALD_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ENCHANTING_TABLE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ENDER_CHEST: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ENDER_EYE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static END_BRICKS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static END_CRYSTAL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static END_ROD: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static FENCE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static FENCE_GATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static FERMENTED_SPIDER_EYE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static FIREWORKS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static FIRE_CHARGE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static FISHING_ROD: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static FLINT_AND_STEEL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static FLOWER_POT: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static FURNACE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static FURNACE_MINECART: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GLASS_BOTTLE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GLOWSTONE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLDEN_APPLE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLDEN_AXE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLDEN_BOOTS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLDEN_CARROT: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLDEN_CHESTPLATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLDEN_HELMET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLDEN_HOE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLDEN_LEGGINGS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLDEN_PICKAXE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLDEN_RAIL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLDEN_SHOVEL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLDEN_SWORD: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLD_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLD_INGOT_FROM_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLD_INGOT_FROM_NUGGETS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GOLD_NUGGET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GRANITE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GRAY_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GRAY_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GRAY_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GRAY_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GRAY_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GRAY_DYE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GRAY_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GRAY_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GRAY_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GRAY_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GREEN_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GREEN_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GREEN_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GREEN_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GREEN_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GREEN_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GREEN_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GREEN_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static GREEN_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static HAY_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static HEAVY_WEIGHTED_PRESSURE_PLATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static HOPPER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static HOPPER_MINECART: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_AXE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_BARS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_BOOTS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_CHESTPLATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_DOOR: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_HELMET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_HOE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_INGOT_FROM_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_INGOT_FROM_NUGGETS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_LEGGINGS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_NUGGET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_PICKAXE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_SHOVEL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_SWORD: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static IRON_TRAPDOOR: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ITEM_FRAME: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static JUKEBOX: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static JUNGLE_BOAT: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static JUNGLE_DOOR: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static JUNGLE_FENCE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static JUNGLE_FENCE_GATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static JUNGLE_PLANKS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static JUNGLE_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static JUNGLE_WOODEN_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LADDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LAPIS_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LAPIS_LAZULI: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LEAD: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LEATHER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LEATHER_BOOTS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LEATHER_CHESTPLATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LEATHER_HELMET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LEATHER_LEGGINGS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LEVER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_BLUE_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_BLUE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_BLUE_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_BLUE_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_BLUE_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_BLUE_DYE_FROM_BLUE_ORCHID: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_BLUE_DYE_FROM_LAPIS_BONEMEAL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_BLUE_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_BLUE_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_BLUE_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_BLUE_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_DYE_FROM_AZURE_BLUET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_DYE_FROM_GRAY_BONEMEAL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_DYE_FROM_INK_BONEMEAL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_DYE_FROM_OXEYE_DAISY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_DYE_FROM_WHITE_TULIP: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_GRAY_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIGHT_WEIGHTED_PRESSURE_PLATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIME_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIME_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIME_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIME_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIME_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIME_DYE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIME_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIME_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIME_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIME_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static LIT_PUMPKIN: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_DYE_FROM_ALLIUM: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_DYE_FROM_LAPIS_INK_BONEMEAL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_DYE_FROM_LAPIS_RED_PINK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_DYE_FROM_LILAC: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_DYE_FROM_PURPLE_AND_PINK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGENTA_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGMA: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAGMA_CREAM: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAP: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAPCLONING: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MAPEXTENDING: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MELON_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MELON_SEEDS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MINECART: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MOSSY_COBBLESTONE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MOSSY_COBBLESTONE_WALL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MOSSY_STONEBRICK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static MUSHROOM_STEW: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static NETHER_BRICK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static NETHER_BRICK_FENCE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static NETHER_BRICK_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static NETHER_BRICK_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static NETHER_WART_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static NOTEBLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static OAK_PLANKS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static OAK_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static OAK_WOODEN_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static OBSERVER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ORANGE_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ORANGE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ORANGE_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ORANGE_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ORANGE_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ORANGE_DYE_FROM_ORANGE_TULIP: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ORANGE_DYE_FROM_RED_YELLOW: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ORANGE_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ORANGE_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ORANGE_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static ORANGE_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PAINTING: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PAPER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PILLAR_QUARTZ_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PINK_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PINK_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PINK_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PINK_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PINK_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PINK_DYE_FROM_PEONY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PINK_DYE_FROM_PINK_TULIP: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PINK_DYE_FROM_RED_BONEMEAL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PINK_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PINK_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PINK_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PINK_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PISTON: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static POLISHED_ANDESITE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static POLISHED_DIORITE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static POLISHED_GRANITE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PRISMARINE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PRISMARINE_BRICKS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PUMPKIN_PIE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PUMPKIN_SEEDS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPLE_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPLE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPLE_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPLE_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPLE_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPLE_DYE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPLE_SHULKER_BOX: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPLE_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPLE_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPLE_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPLE_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPUR_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPUR_PILLAR: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPUR_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static PURPUR_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static QUARTZ_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static QUARTZ_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static QUARTZ_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RABBIT_STEW_FROM_BROWN_MUSHROOM: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RABBIT_STEW_FROM_RED_MUSHROOM: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RAIL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static REDSTONE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static REDSTONE_BLOCK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static REDSTONE_LAMP: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static REDSTONE_TORCH: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_DYE_FROM_BEETROOT: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_DYE_FROM_POPPY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_DYE_FROM_ROSE_BUSH: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_DYE_FROM_TULIP: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_NETHER_BRICK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_SANDSTONE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_SANDSTONE_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_SANDSTONE_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static RED_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static REPAIRITEM: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static REPEATER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SANDSTONE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SANDSTONE_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SANDSTONE_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SEA_LANTERN: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SHEARS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SHIELD: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SHIELDDECORATION: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SHULKERBOXCOLORING: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SIGN: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SLIME: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SLIME_BALL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SMOOTH_RED_SANDSTONE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SMOOTH_SANDSTONE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SNOW: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SNOW_LAYER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SPECKLED_MELON: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SPECTRAL_ARROW: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SPRUCE_BOAT: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SPRUCE_DOOR: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SPRUCE_FENCE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SPRUCE_FENCE_GATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SPRUCE_PLANKS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SPRUCE_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SPRUCE_WOODEN_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STICK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STICKY_PISTON: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STONEBRICK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STONE_AXE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STONE_BRICK_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STONE_BRICK_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STONE_BUTTON: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STONE_HOE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STONE_PICKAXE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STONE_PRESSURE_PLATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STONE_SHOVEL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STONE_SLAB: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STONE_STAIRS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STONE_SWORD: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static STRING_TO_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static SUGAR: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static TIPPEDARROW: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static TNT: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static TNT_MINECART: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static TORCH: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static TRAPDOOR: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static TRAPPED_CHEST: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static TRIPWIRE_HOOK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WHEAT: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WHITE_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WHITE_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WHITE_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WHITE_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WHITE_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WHITE_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WOODEN_AXE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WOODEN_BUTTON: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WOODEN_DOOR: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WOODEN_HOE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WOODEN_PICKAXE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WOODEN_PRESSURE_PLATE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WOODEN_SHOVEL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WOODEN_SWORD: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static WRITABLE_BOOK: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static YELLOW_BANNER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static YELLOW_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static YELLOW_BED_FROM_WHITE_BED: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static YELLOW_CARPET: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static YELLOW_CONCRETE_POWDER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static YELLOW_DYE_FROM_DANDELION: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static YELLOW_DYE_FROM_SUNFLOWER: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static YELLOW_STAINED_GLASS: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static YELLOW_STAINED_GLASS_PANE: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static YELLOW_STAINED_HARDENED_CLAY: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - // @ts-ignore - public static YELLOW_WOOL: org.spongepowered.api.item.recipe.crafting.CraftingRecipe; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingResult.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingResult.ts deleted file mode 100644 index a5d4b610..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.CraftingResult.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - // @ts-ignore - class CraftingResult { - /** - * Creates a new {@link CraftingResult}. - *

Note that this may be replaced with a static of method in the - * future.

- */ - constructor(result: org.spongepowered.api.item.inventory.ItemStackSnapshot, remainingItems: any[] /*java.util.List*/) - /** - * This method should be used instead of the - * {@link CraftingRecipe#getExemplaryResult()} method, as it customizes the - * result further depending on the specified ingredient - * {@link ItemStackSnapshot}. It is advised to use the output of - * {@link CraftingRecipe#getExemplaryResult()}, modify it accordingly, and - * {@code return} it. - */ - // @ts-ignore - public getResult(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * Returns a list of {@link ItemStackSnapshot} to be set in the input - * {@link CraftingGridInventory}, contains {@link ItemStackSnapshot#NONE}s for - * slots which should be cleared. - */ - // @ts-ignore - public getRemainingItems(): any[] /*java.util.List*/; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.Ingredient.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.Ingredient.Builder.ts deleted file mode 100644 index 3ad8a3a2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.Ingredient.Builder.ts +++ /dev/null @@ -1,78 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - namespace Ingredient { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Adds a predicate for matching the ingredient. - *

Also clears all previously set {@link #withDisplay} items.

- *

All predicates and items are ORed together.

- *

Use {@link #from} to create an ingredient from another one.

- */ - // @ts-ignore - with(predicate: any): org.spongepowered.api.item.recipe.crafting.Ingredient.Builder; - /** - * Adds a GameDictionary Entry as Predicate for matching the ingredient. - * Also clears all previously set {@link #withDisplay} items and then - * adds {@link org.spongepowered.api.GameDictionary.Entry#getTemplate()} - * to it. - *

All predicates and items are ORed together.

- */ - // @ts-ignore - with(entry: org.spongepowered.api.GameDictionary.Entry): org.spongepowered.api.item.recipe.crafting.Ingredient.Builder; - /** - * Adds one or more ItemTypes for matching the ingredient. - * The ItemTypes are also used as display items. - * All predicates and items are ORed together. - */ - // @ts-ignore - with(types: org.spongepowered.api.item.ItemType): org.spongepowered.api.item.recipe.crafting.Ingredient.Builder; - /** - * Adds one or more ItemStacks for matching the ingredient. - * The ItemStacks are also used as display items. - * All predicates and items are ORed together. - */ - // @ts-ignore - with(items: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.recipe.crafting.Ingredient.Builder; - /** - * Adds one or more ItemStackSnapshots for matching the ingredient. - * The Snapshots are also used as display items. - * All predicates and items are ORed together. - */ - // @ts-ignore - with(items: org.spongepowered.api.item.inventory.ItemStackSnapshot): org.spongepowered.api.item.recipe.crafting.Ingredient.Builder; - /** - * Adds ItemTypes used to display this Ingredient in a recipe. - * These are not used for matching the recipe. - */ - // @ts-ignore - withDisplay(types: org.spongepowered.api.item.ItemType): org.spongepowered.api.item.recipe.crafting.Ingredient.Builder; - /** - * Adds ItemStacks used to display this Ingredient in a recipe. - * These are not used for matching the recipe. - */ - // @ts-ignore - withDisplay(items: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.recipe.crafting.Ingredient.Builder; - /** - * Adds ItemStackSnasphots used to display this Ingredient in a recipe. - * These are not used for matching the recipe. - */ - // @ts-ignore - withDisplay(items: org.spongepowered.api.item.inventory.ItemStackSnapshot): org.spongepowered.api.item.recipe.crafting.Ingredient.Builder; - /** - * Builds the {@link Ingredient} with the specified items and or predicates. - */ - // @ts-ignore - build(): org.spongepowered.api.item.recipe.crafting.Ingredient; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.Ingredient.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.Ingredient.ts deleted file mode 100644 index e31c7049..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.Ingredient.ts +++ /dev/null @@ -1,51 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - // @ts-ignore - interface Ingredient { - // @ts-ignore - NONE: org.spongepowered.api.item.recipe.crafting.Ingredient; - // @ts-ignore - test(itemStack: org.spongepowered.api.item.inventory.ItemStack): boolean; - /** - * Returns the list of {@link ItemStack}s used to display the ingredient in a recipe. - * These are not necessarily all the items that this Ingredient can match. - */ - // @ts-ignore - displayedItems(): any[] /*java.util.List*/; - /** - * Creates a new {@link Builder} to build an {@link Ingredient}. - */ - // @ts-ignore - builder(): org.spongepowered.api.item.recipe.crafting.Ingredient.Builder; - /** - * Creates a new {@link Ingredient} for the provided {@link ItemStackSnapshot}s. - */ - // @ts-ignore - of(snapshots: org.spongepowered.api.item.inventory.ItemStackSnapshot): org.spongepowered.api.item.recipe.crafting.Ingredient; - /** - * Creates a new {@link Ingredient} for the provided {@link ItemStack}s. - */ - // @ts-ignore - of(itemStacks: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.recipe.crafting.Ingredient; - /** - * Creates a new {@link Ingredient} for the provided {@link ItemType}s. - */ - // @ts-ignore - of(itemTypes: org.spongepowered.api.item.ItemType): org.spongepowered.api.item.recipe.crafting.Ingredient; - /** - * Creates a new {@link Ingredient} for the provided - * {@link org.spongepowered.api.GameDictionary.Entry}s. - */ - // @ts-ignore - of(entries: org.spongepowered.api.GameDictionary.Entry): org.spongepowered.api.item.recipe.crafting.Ingredient; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.AisleStep.ResultStep.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.AisleStep.ResultStep.ts deleted file mode 100644 index 6680a07a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.AisleStep.ResultStep.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - namespace ShapedCraftingRecipe { - namespace Builder { - namespace AisleStep { - // @ts-ignore - interface ResultStep extends org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.AisleStep, org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.ResultStep { - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.AisleStep.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.AisleStep.ts deleted file mode 100644 index 20b55d13..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.AisleStep.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - namespace ShapedCraftingRecipe { - namespace Builder { - // @ts-ignore - interface AisleStep extends org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder { - /** - * Sets an ingredient based on the aisle pattern. - *

Sets the ingredient to {@link Ingredient#NONE} if - * {@code null} is specified.

- */ - // @ts-ignore - where(symbol: string, ingredient: org.spongepowered.api.item.recipe.crafting.Ingredient): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.AisleStep.ResultStep; - /** - * Sets multiple ingredients based on the aisle pattern. - */ - // @ts-ignore - where(ingredientMap: Map /*java.util.Map*/): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.AisleStep.ResultStep; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.EndStep.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.EndStep.ts deleted file mode 100644 index be334ebc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.EndStep.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - namespace ShapedCraftingRecipe { - namespace Builder { - // @ts-ignore - interface EndStep extends org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder, org.spongepowered.api.util.CatalogBuilder { - /** - * Sets the group of the recipe. - */ - // @ts-ignore - group(name: string): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.EndStep; - // @ts-ignore - id(id: string): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.EndStep; - // @ts-ignore - name(name: string): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.EndStep; - // @ts-ignore - name(name: org.spongepowered.api.text.translation.Translation): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.EndStep; - /** - * Builds a {@link ShapedCraftingRecipe} from this builder. - */ - // @ts-ignore - build(id: string, plugin: any): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.ResultStep.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.ResultStep.ts deleted file mode 100644 index 7446de0d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.ResultStep.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - namespace ShapedCraftingRecipe { - namespace Builder { - // @ts-ignore - interface ResultStep extends org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder { - /** - * Sets the resultant {@link ItemStackSnapshot} for when this shaped - * recipe is correctly crafted. - */ - // @ts-ignore - result(result: org.spongepowered.api.item.inventory.ItemStackSnapshot): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.EndStep; - /** - * Sets the resultant {@link ItemStack} for when this shaped recipe - * is correctly crafted. - */ - // @ts-ignore - result(result: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.EndStep; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.RowsStep.ResultStep.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.RowsStep.ResultStep.ts deleted file mode 100644 index b0a679d3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.RowsStep.ResultStep.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - namespace ShapedCraftingRecipe { - namespace Builder { - namespace RowsStep { - // @ts-ignore - interface ResultStep extends org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.RowsStep, org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.ResultStep { - } - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.RowsStep.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.RowsStep.ts deleted file mode 100644 index b36370b2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.RowsStep.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - namespace ShapedCraftingRecipe { - namespace Builder { - // @ts-ignore - interface RowsStep extends org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder { - /** - * Adds a row of ingredients. - */ - // @ts-ignore - row(ingredients: org.spongepowered.api.item.recipe.crafting.Ingredient): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.RowsStep.ResultStep; - /** - * Adds a row of ingredients filling the skipped - * columns with {@link Ingredient#NONE}. - */ - // @ts-ignore - row(skip: number, ingredients: org.spongepowered.api.item.recipe.crafting.Ingredient): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.RowsStep.ResultStep; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.ts deleted file mode 100644 index d237cb08..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - namespace ShapedCraftingRecipe { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Start building a new recipe based on the aisle pattern. - *

Use {@link AisleStep#where} to assign ingredients to characters - * of the aisles.

- *

The space character will be defaulted to {@link Ingredient#NONE} - * if not specified.

- *

Any other not assigned characters will cause an Exception - * when {@link EndStep#build}ing the Recipe.

- */ - // @ts-ignore - aisle(aisle: string): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.AisleStep; - /** - * Start building a new recipe with ingredients based on rows. - * After this call {@link RowsStep#row} for each row of your recipe. - */ - // @ts-ignore - rows(): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder.RowsStep; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.ts deleted file mode 100644 index d0466ddf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - // @ts-ignore - interface ShapedCraftingRecipe extends org.spongepowered.api.item.recipe.crafting.CraftingRecipe { - /** - * Creates a new {@link ShapedCraftingRecipe.Builder} to build a {@link ShapedCraftingRecipe}. - */ - // @ts-ignore - builder(): org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe.Builder; - /** - * Returns the ingredient predicate at the specified location in this - * recipe. - */ - // @ts-ignore - getIngredient(x: number, y: number): org.spongepowered.api.item.recipe.crafting.Ingredient; - /** - * Gets the width of the grid this ShapedCraftingRecipe fits into. - */ - // @ts-ignore - getWidth(): number; - /** - * Gets the height of the grid this ShapedCraftingRecipe fits into. - */ - // @ts-ignore - getHeight(): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.EndStep.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.EndStep.ts deleted file mode 100644 index 0ccfcb51..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.EndStep.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - namespace ShapelessCraftingRecipe { - namespace Builder { - // @ts-ignore - interface EndStep extends org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder, org.spongepowered.api.util.CatalogBuilder { - /** - * Sets the group of the recipe. - */ - // @ts-ignore - group(name: string): org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.EndStep; - // @ts-ignore - id(id: string): org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.EndStep; - // @ts-ignore - name(name: string): org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.EndStep; - // @ts-ignore - name(name: org.spongepowered.api.text.translation.Translation): org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.EndStep; - /** - * Builds a new {@link ShapelessCraftingRecipe} from this builder. - */ - // @ts-ignore - build(id: string, plugin: any): org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.ResultStep.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.ResultStep.ts deleted file mode 100644 index 3abb081e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.ResultStep.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - namespace ShapelessCraftingRecipe { - namespace Builder { - // @ts-ignore - interface ResultStep extends org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder { - /** - * Changes the result and returns this builder. The result is the - * {@link ItemStack} created when the recipe is fulfilled. - */ - // @ts-ignore - result(result: org.spongepowered.api.item.inventory.ItemStackSnapshot): org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.EndStep; - /** - * Changes the result and returns this builder. The result is the - * {@link ItemStack} created when the recipe is fulfilled. - */ - // @ts-ignore - result(result: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.EndStep; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.ts deleted file mode 100644 index eb886608..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - namespace ShapelessCraftingRecipe { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Adds an ingredient predicate to the requirements of this - * {@link ShapelessCraftingRecipe}. - */ - // @ts-ignore - addIngredient(ingredient: org.spongepowered.api.item.recipe.crafting.Ingredient): org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder.ResultStep; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.ts deleted file mode 100644 index 8a0df996..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace crafting { - // @ts-ignore - interface ShapelessCraftingRecipe extends org.spongepowered.api.item.recipe.crafting.CraftingRecipe { - /** - * Creates a new {@link Builder} to build a {@link ShapelessCraftingRecipe}. - */ - // @ts-ignore - builder(): org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe.Builder; - /** - * Gets the ingredient predicates for this ShapelessCraftingRecipe. - */ - // @ts-ignore - getIngredientPredicates(): any[] /*java.util.List*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.EndStep.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.EndStep.ts deleted file mode 100644 index 7edb6dcf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.EndStep.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace smelting { - namespace SmeltingRecipe { - namespace Builder { - // @ts-ignore - interface EndStep extends org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder, org.spongepowered.api.util.CatalogBuilder { - /** - * Changes the experience and returns this builder. It is the - * required amount of experience the user must possess in order to - * be able to fulfill the recipe. - */ - // @ts-ignore - experience(experience: number): org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.EndStep; - // @ts-ignore - id(id: string): org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.EndStep; - // @ts-ignore - name(name: string): org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.EndStep; - // @ts-ignore - name(name: org.spongepowered.api.text.translation.Translation): org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.EndStep; - // @ts-ignore - build(): org.spongepowered.api.item.recipe.smelting.SmeltingRecipe; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.ResultStep.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.ResultStep.ts deleted file mode 100644 index be2cc10e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.ResultStep.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace smelting { - namespace SmeltingRecipe { - namespace Builder { - // @ts-ignore - interface ResultStep extends org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder { - /** - * Changes the result and returns this builder. The result is the - * {@link ItemStack} created when the recipe is fulfilled. - */ - // @ts-ignore - result(result: org.spongepowered.api.item.inventory.ItemStackSnapshot): org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.EndStep; - /** - * Changes the result and returns this builder. The result is the - * {@link ItemStack} created when the recipe is fulfilled. - */ - // @ts-ignore - result(result: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.EndStep; - } - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.ts deleted file mode 100644 index 0698da3f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace smelting { - namespace SmeltingRecipe { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Changes the ingredient predicate and returns this builder. - * The ingredient predicate is the predicate which must return - * {@code true} in order for this recipe to be fulfilled. - */ - // @ts-ignore - ingredient(ingredientPredicate: any, exemplaryIngredient: org.spongepowered.api.item.inventory.ItemStackSnapshot): org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.ResultStep; - /** - * Changes the ingredient predicate and returns this builder. - * The ingredient predicate is the predicate which must return - * {@code true} in order for this recipe to be fulfilled. - *

The vanilla {@link ItemStack} matching behavior is used as the - * ingredient predicate.

- */ - // @ts-ignore - ingredient(ingredient: org.spongepowered.api.item.inventory.ItemStackSnapshot): org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.ResultStep; - /** - * Changes the ingredient and returns this builder. The ingredient is - * the {@link ItemStack} required in order for the recipe to be - * fulfilled. - */ - // @ts-ignore - ingredient(ingredient: org.spongepowered.api.item.inventory.ItemStack): org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.ResultStep; - /** - * Changes the ingredient and returns this builder. The ingredient is - * the {@link ItemStack} required in order for the recipe to be - * fulfilled. - */ - // @ts-ignore - ingredient(ingredient: org.spongepowered.api.item.ItemType): org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder.ResultStep; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.ts deleted file mode 100644 index 72097511..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace smelting { - // @ts-ignore - interface SmeltingRecipe extends org.spongepowered.api.item.recipe.Recipe, org.spongepowered.api.CatalogType { - /** - * Builds a simple furnace recipe. Note, that you can implement the - * {@link SmeltingRecipe} manually, too. - */ - // @ts-ignore - builder(): org.spongepowered.api.item.recipe.smelting.SmeltingRecipe.Builder; - // @ts-ignore - getId(): string; - // @ts-ignore - getName(): string; - /** - * An exemplary {@link ItemStackSnapshot}, which will always make - * {@link #isValid(ItemStackSnapshot)} return {@code true}. - */ - // @ts-ignore - getExemplaryIngredient(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * Checks if the given {@link ItemStackSnapshot} fits the required - * constraints to craft this {@link SmeltingRecipe}. - */ - // @ts-ignore - isValid(ingredient: org.spongepowered.api.item.inventory.ItemStackSnapshot): boolean; - /** - *

Returns the {@link SmeltingResult} containing the resulting - * {@link ItemStackSnapshot} and the amount of experience released.

- *

This method should be used instead of the {@link #getExemplaryResult()} - * method, as it customizes the result further depending on the specified - * ingredient {@link ItemStackSnapshot}. It is advised to use - * the output of {@link #getExemplaryResult()}, modify it accordingly, - * and {@code return} it.

- */ - // @ts-ignore - getResult(ingredient: org.spongepowered.api.item.inventory.ItemStackSnapshot): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipeRegistry.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipeRegistry.ts deleted file mode 100644 index 30002e86..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingRecipeRegistry.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace smelting { - // @ts-ignore - interface SmeltingRecipeRegistry extends org.spongepowered.api.item.recipe.RecipeRegistry { - /** - * Retrieves the recipe used when smelting the given ingredient. - */ - // @ts-ignore - findMatchingRecipe(ingredient: org.spongepowered.api.item.inventory.ItemStackSnapshot): any; - /** - * Finds the matching recipe and creates the {@link SmeltingResult}, - * which is then returned. - */ - // @ts-ignore - getResult(ingredient: org.spongepowered.api.item.inventory.ItemStackSnapshot): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingResult.ts b/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingResult.ts deleted file mode 100644 index 7265b336..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.item.recipe.smelting.SmeltingResult.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace item { - namespace recipe { - namespace smelting { - // @ts-ignore - class SmeltingResult { - /** - * Creates a new {@link SmeltingResult}. - *

Note that this may be replaced with a static of method in the - * future.

- */ - constructor(result: org.spongepowered.api.item.inventory.ItemStackSnapshot, experience: number) - /** - * This method should be used instead of the - * {@link SmeltingRecipe#getExemplaryResult()} method, as it customizes the - * result further depending on the specified ingredient - * {@link ItemStackSnapshot}. It is advised to use the output of - * {@link SmeltingRecipe#getExemplaryResult()}, modify it accordingly, and - * {@code return} it. - */ - // @ts-ignore - public getResult(): org.spongepowered.api.item.inventory.ItemStackSnapshot; - /** - * Returns the amount of experience released after completing a recipe. - */ - // @ts-ignore - public getExperience(): number; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelBinding.IndexedMessageChannel.ts b/packages/sponge/src/typings/org.spongepowered.api.network.ChannelBinding.IndexedMessageChannel.ts deleted file mode 100644 index c61c0b55..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelBinding.IndexedMessageChannel.ts +++ /dev/null @@ -1,65 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - namespace ChannelBinding { - // @ts-ignore - interface IndexedMessageChannel extends org.spongepowered.api.network.ChannelBinding { - /** - * Register a message class to this channel without a receiving handler. - * This will only allow the message to be sent, this channel binding - * will not be able to receive the message. - *

The message ID is used to identify this message class as it is - * sent and received across the network, it is a single byte and thus - * has a range of 0 to 255.

- */ - // @ts-ignore - registerMessage(messageClass: any, messageId: number): void; - /** - * Register a message class to this channel and a handler for receiving - * the message. The handler is invoked every time the message is sent to - * either side. - */ - // @ts-ignore - registerMessage(messageClass: any, messageId: number, handler: org.spongepowered.api.network.MessageHandler): void; - /** - * Register a message class to this channel and a handler for receiving - * the message. The handler is invoked every time the message is sent to - * the given side. - */ - // @ts-ignore - registerMessage(messageClass: any, messageId: number, side: org.spongepowered.api.Platform.Type, handler: org.spongepowered.api.network.MessageHandler): void; - /** - * Register a {@link MessageHandler} for a {@link Message}. - */ - // @ts-ignore - addHandler(messageClass: any, side: org.spongepowered.api.Platform.Type, handler: org.spongepowered.api.network.MessageHandler): void; - /** - * Register a {@link MessageHandler} for a {@link Message} - */ - // @ts-ignore - addHandler(messageClass: any, handler: org.spongepowered.api.network.MessageHandler): void; - /** - * Sends the message to the player across this channel. The message may - * not be sent if the player doesn't have a registered handler. - */ - // @ts-ignore - sendTo(player: org.spongepowered.api.entity.living.player.Player, message: org.spongepowered.api.network.Message): void; - /** - * Sends the message to the server. The message may not be sent if there - * is no registered handler. This must be called from - * the client side. - */ - // @ts-ignore - sendToServer(message: org.spongepowered.api.network.Message): void; - /** - * Sends the message to all players on the server. - */ - // @ts-ignore - sendToAll(message: org.spongepowered.api.network.Message): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelBinding.RawDataChannel.ts b/packages/sponge/src/typings/org.spongepowered.api.network.ChannelBinding.RawDataChannel.ts deleted file mode 100644 index 41cedf56..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelBinding.RawDataChannel.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - namespace ChannelBinding { - // @ts-ignore - interface RawDataChannel extends org.spongepowered.api.network.ChannelBinding { - /** - * Adds a listener to this channel that is invoked every time data is - * sent to it on either side. - */ - // @ts-ignore - addListener(listener: org.spongepowered.api.network.RawDataListener): void; - /** - * Adds a listener to this channel that is invoked every time data is - * sent to it on the given side. - */ - // @ts-ignore - addListener(side: org.spongepowered.api.Platform.Type, listener: org.spongepowered.api.network.RawDataListener): void; - /** - * Removes the listener from handling data. - */ - // @ts-ignore - removeListener(listener: org.spongepowered.api.network.RawDataListener): void; - /** - * Sends the raw payload to the player across this channel. The data may - * not be sent if the player doesn't have a registered handler. - */ - // @ts-ignore - sendTo(player: org.spongepowered.api.entity.living.player.Player, payload: any): void; - /** - * Sends the raw payload to the server. The data may not be sent if - * there is no registered handler. This must be called - * from the client side. - */ - // @ts-ignore - sendToServer(payload: any): void; - /** - * Sends the raw payload to all players on the server. - */ - // @ts-ignore - sendToAll(payload: any): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelBinding.ts b/packages/sponge/src/typings/org.spongepowered.api.network.ChannelBinding.ts deleted file mode 100644 index 42f8ccaf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelBinding.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - // @ts-ignore - interface ChannelBinding { - /** - * Gets the registrar that this channel is bound to. - */ - // @ts-ignore - getRegistrar(): org.spongepowered.api.network.ChannelRegistrar; - /** - * Gets this channel's bound name. - */ - // @ts-ignore - getName(): string; - /** - * Gets the plugin that created this binding. - */ - // @ts-ignore - getOwner(): org.spongepowered.api.plugin.PluginContainer; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelBuf.ts b/packages/sponge/src/typings/org.spongepowered.api.network.ChannelBuf.ts deleted file mode 100644 index 09fca095..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelBuf.ts +++ /dev/null @@ -1,555 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - // @ts-ignore - interface ChannelBuf { - /** - * Gets the number of bytes this buffer can contain. - */ - // @ts-ignore - getCapacity(): number; - /** - * Gets the number of bytes available between the reader and the writer. - */ - // @ts-ignore - available(): number; - /** - * Returns a buffer with the specified endianness which shares the whole - * region, indexes, and marks of this buffer. Modifying the content, the - * indexes, or the marks of the returned buffer or this buffer affects - * each other's content, indexes, and marks. - *

If the specified endianness is identical to this buffer's byte - * order, this method can return this.

- *

This method does not modify readerIndex or writerIndex of this - * buffer.

- */ - // @ts-ignore - order(order: any): org.spongepowered.api.network.ChannelBuf; - /** - * Returns the endianness ({@link ByteOrder}) of this buffer. - */ - // @ts-ignore - getByteOrder(): any; - /** - * Gets the readerIndex of this buffer. - */ - // @ts-ignore - readerIndex(): number; - /** - * Sets the readerIndex of this buffer. - */ - // @ts-ignore - setReadIndex(index: number): org.spongepowered.api.network.ChannelBuf; - /** - * Gets the writerIndex of this buffer. - */ - // @ts-ignore - writerIndex(): number; - /** - * Sets the writerIndex of this buffer. - */ - // @ts-ignore - setWriteIndex(index: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets both the reader and writer indices. - */ - // @ts-ignore - setIndex(readIndex: number, writeIndex: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the readerIndex and writerIndex of this buffer to 0. - * This method is identical to {@link #setIndex(int, int)}. - */ - // @ts-ignore - clear(): org.spongepowered.api.network.ChannelBuf; - /** - * Marks the current readerIndex in this buffer. You can reposition - * the current readerIndex to the marked readerIndex by calling - * resetRead(). The initial value of the marked readerIndex is 0. - */ - // @ts-ignore - markRead(): org.spongepowered.api.network.ChannelBuf; - /** - * Marks the current writerIndex in this buffer. You can reposition - * the current writerIndex to the marked writerIndex by calling - * resetWrite(). The initial value of the marked writerIndex is 0. - */ - // @ts-ignore - markWrite(): org.spongepowered.api.network.ChannelBuf; - /** - * Resets the current readerIndex in this buffer to the marked reader - * index. - */ - // @ts-ignore - resetRead(): org.spongepowered.api.network.ChannelBuf; - /** - * Resets the current writerIndex in this buffer to the marked writer - * index. - */ - // @ts-ignore - resetWrite(): org.spongepowered.api.network.ChannelBuf; - /** - * Returns a slice of this buffer's readable bytes. Modifying the content - * of the returned buffer or this buffer affects each other's content - * while they maintain separate indexes and marks. This method is - * identical to buf.slice(buf.readerIndex(), buf.readableBytes()). - * This method does not modify readerIndex or writerIndex of this buffer. - */ - // @ts-ignore - slice(): org.spongepowered.api.network.ChannelBuf; - /** - * Returns a slice of this buffer's sub-region. Modifying the content of - * the returned buffer or this buffer affects each other's content while - * they maintain separate indexes and marks. This method does not modify - * readerIndex or writerIndex of this buffer. - */ - // @ts-ignore - slice(index: number, length: number): org.spongepowered.api.network.ChannelBuf; - /** - * Returns {@code true} if and only if this buffer has a backing byte array. - *

If this method returns true, you can safely call {@link #array()}.

- */ - // @ts-ignore - hasArray(): boolean; - /** - * Gets the backing byte array of this stream. - */ - // @ts-ignore - array(): number[]; - /** - * Sets the specified boolean at the current writerIndex and increases - * the writerIndex by 1 in this buffer. - */ - // @ts-ignore - writeBoolean(data: boolean): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the boolean at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - */ - // @ts-ignore - setBoolean(index: number, data: boolean): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a boolean at the current readerIndex and increases the - * readerIndex by 1 in this buffer. - */ - // @ts-ignore - readBoolean(): boolean; - /** - * Gets a boolean at the specified absolute index in this buffer. - */ - // @ts-ignore - getBoolean(index: number): boolean; - /** - * Sets the specified byte at the current writerIndex and increases - * the writerIndex by 1 in this buffer. - */ - // @ts-ignore - writeByte(data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the byte at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - */ - // @ts-ignore - setByte(index: number, data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a byte at the current readerIndex and increases the - * readerIndex by 1 in this buffer. - */ - // @ts-ignore - readByte(): number; - /** - * Gets a byte at the specified absolute index in this buffer. - */ - // @ts-ignore - getByte(index: number): number; - /** - * Sets the specified byte array at the current writerIndex and increases - * the writerIndex by the number of bytes and the size of the length as a - * varint. - *

The length of the array is written preceding the data as a varint.

- */ - // @ts-ignore - writeByteArray(data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the specified byte array at the current writerIndex and increases - * the writerIndex by the length specified and the size of the length as a - * varint. - *

The length of the array is written preceding the data as a varint.

- */ - // @ts-ignore - writeByteArray(data: number, start: number, length: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the specified byte array at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - *

The length of the array is written preceding the data as a varint.

- */ - // @ts-ignore - setByteArray(index: number, data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the specified byte array at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - *

The length of the array is written preceding the data as a varint.

- */ - // @ts-ignore - setByteArray(index: number, data: number, start: number, length: number): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a byte array at the current readerIndex and increases the - * readerIndex by the length of the array and the length of the array size. - *

The length of the array is expected to be preceding the array as a - * varint.

- */ - // @ts-ignore - readByteArray(): number[]; - /** - * Gets a byte array at the specified absolute index in this buffer. - *

The length of the array is expected to be preceding the array as a - * varint.

- */ - // @ts-ignore - readByteArray(index: number): number[]; - /** - * Sets the specified byte array at the current writerIndex and increases - * the writerIndex by the number of bytes. - */ - // @ts-ignore - writeBytes(data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the specified byte array at the current writerIndex and increases - * the writerIndex by the length specified. - */ - // @ts-ignore - writeBytes(data: number, start: number, length: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the specified byte array at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - */ - // @ts-ignore - setBytes(index: number, data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the specified byte array at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - */ - // @ts-ignore - setBytes(index: number, data: number, start: number, length: number): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a byte array at the current readerIndex and increases the - * readerIndex by the length of the array. - */ - // @ts-ignore - readBytes(length: number): number[]; - /** - * Gets a byte array at the specified absolute index in this buffer. - */ - // @ts-ignore - readBytes(index: number, length: number): number[]; - /** - * Sets the specified short integer at the current writerIndex and - * increases the writerIndex by 2 in this buffer. - */ - // @ts-ignore - writeShort(data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the short at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - */ - // @ts-ignore - setShort(index: number, data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a short integer at the current readerIndex and increases the - * readerIndex by 2 in this buffer. - */ - // @ts-ignore - readShort(): number; - /** - * Gets a short integer at the specified absolute index in this buffer. - */ - // @ts-ignore - getShort(index: number): number; - /** - * Sets the specified character at the current writerIndex and - * increases the writerIndex by 2 in this buffer. - */ - // @ts-ignore - writeChar(data: string): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the char at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - */ - // @ts-ignore - setChar(index: number, data: string): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a character at the current readerIndex and increases the - * readerIndex by 2 in this buffer. - */ - // @ts-ignore - readChar(): string; - /** - * Gets a character at the specified absolute index in this buffer. - */ - // @ts-ignore - getChar(index: number): string; - /** - * Sets the specified integer at the current writerIndex and increases - * the writerIndex by 4 in this buffer. - */ - // @ts-ignore - writeInteger(data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the integer at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - */ - // @ts-ignore - setInteger(index: number, data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Gets an integer at the current readerIndex and increases the - * readerIndex by 4 in this buffer. - */ - // @ts-ignore - readInteger(): number; - /** - * Gets an integer at the specified absolute index in this buffer. - */ - // @ts-ignore - getInteger(index: number): number; - /** - * Sets the specified long integer at the current writerIndex and - * increases the writerIndex by 8 in this buffer. - */ - // @ts-ignore - writeLong(data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the long integer at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - */ - // @ts-ignore - setLong(index: number, data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a long integer at the current readerIndex and increases the - * readerIndex by 8 in this buffer. - */ - // @ts-ignore - readLong(): number; - /** - * Gets a long integer at the specified absolute index in this buffer. - */ - // @ts-ignore - getLong(index: number): number; - /** - * Sets the specified float at the current writerIndex and increases - * the writerIndex by 4 in this buffer. - */ - // @ts-ignore - writeFloat(data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the float at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - */ - // @ts-ignore - setFloat(index: number, data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a float at the current readerIndex and increases the - * readerIndex by 4 in this buffer. - */ - // @ts-ignore - readFloat(): number; - /** - * Gets a float at the specified absolute index in this buffer. - */ - // @ts-ignore - getFloat(index: number): number; - /** - * Sets the specified double at the current writerIndex and increases - * the writerIndex by 8 in this buffer. - */ - // @ts-ignore - writeDouble(data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the double at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - */ - // @ts-ignore - setDouble(index: number, data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a double at the current readerIndex and increases the - * readerIndex by 8 in this buffer. - */ - // @ts-ignore - readDouble(): number; - /** - * Gets a double at the specified absolute index in this buffer. - */ - // @ts-ignore - getDouble(index: number): number; - /** - * Sets the specified varint at the current writerIndex and increases the - * writerIndex by the number of bytes written. - *

The number of bytes written depends on the size of the value, see - * https://developers.google.com/protocol-buffers/docs/encoding#varints - * for a full description.

- */ - // @ts-ignore - writeVarInt(data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the specified varint at the specified absolute index in this buffer. - * This method does not modify readerIndex or writerIndex of this buffer. - *

The number of bytes written depends on the size of the value, see - * https://developers.google.com/protocol-buffers/docs/encoding#varints - * for a full description.

- */ - // @ts-ignore - setVarInt(index: number, data: number): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a varint at the current readerIndex and increases the readerIndex by - * the number of bytes read. - *

The number of bytes read depends on the size of the value, see - * https://developers.google.com/protocol-buffers/docs/encoding#varints - * for a full description.

- */ - // @ts-ignore - readVarInt(): number; - /** - * Gets a varint at the specified absolute index in this buffer. - *

The number of bytes read depends on the size of the value, see - * https://developers.google.com/protocol-buffers/docs/encoding#varints - * for a full description.

- */ - // @ts-ignore - getVarInt(index: number): number; - /** - * Sets the specified string at the current writerIndex and increases the - * writerIndex by the length of the string. - *

The string will be encoded as the utf length as a varint followed by - * the UTF-8 bytes of the string.

- */ - // @ts-ignore - writeString(data: string): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the string at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - *

The string will be encoded as the utf length as a varint followed by - * the UTF-8 bytes of the string.

- */ - // @ts-ignore - setString(index: number, data: string): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a string at the current readerIndex and increases the readerIndex by - * the length of a varint followed by the utf-8 bytes of the string. - *

The string will be encoded as the utf length as a varint followed by - * the UTF-8 bytes of the string.

- */ - // @ts-ignore - readString(): string; - /** - * Gets a string at the specified absolute index in this buffer. - *

The string will be encoded as the utf length as a varint followed by - * the UTF-8 bytes of the string.

- */ - // @ts-ignore - getString(index: number): string; - /** - * Sets the specified string at the current writerIndex and increases the - * writerIndex by the length of the string. - *

The string will be encoded as the utf length as a short followed by - * the UTF-8 bytes of the string.

- */ - // @ts-ignore - writeUTF(data: string): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the string at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - *

The string will be encoded as the utf length as a short followed by - * the UTF-8 bytes of the string.

- */ - // @ts-ignore - setUTF(index: number, data: string): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a string at the current readerIndex and increases the readerIndex by - * the length of a varint followed by the utf-8 bytes of the string. - *

The string will be encoded as the utf length as a short followed by - * the UTF-8 bytes of the string.

- */ - // @ts-ignore - readUTF(): string; - /** - * Gets a string at the specified absolute index in this buffer. - *

The string will be encoded as the utf length as a short followed by - * the UTF-8 bytes of the string.

- */ - // @ts-ignore - getUTF(index: number): string; - /** - * Sets the specified {@link UUID} at the current writerIndex and - * increases the writerIndex by 16 in this buffer. - */ - // @ts-ignore - writeUniqueId(data: any): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the {@link UUID} at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - */ - // @ts-ignore - setUniqueId(index: number, data: any): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a UUID at the current readerIndex and increases the - * readerIndex by 16 in this buffer. - */ - // @ts-ignore - readUniqueId(): any; - /** - * Gets a {@link UUID} at the specified absolute index in this buffer. - */ - // @ts-ignore - getUniqueId(index: number): any; - /** - * Sets the specified {@link DataView} at the current writerIndex and - * increases the writerIndex according to the length of the data view - * in this buffer. - */ - // @ts-ignore - writeDataView(data: org.spongepowered.api.data.DataView): org.spongepowered.api.network.ChannelBuf; - /** - * Sets the {@link DataView} at the specified absolute index in this - * buffer. This method does not modify readerIndex or writerIndex - * of this buffer. - */ - // @ts-ignore - setDataView(index: number, data: org.spongepowered.api.data.DataView): org.spongepowered.api.network.ChannelBuf; - /** - * Gets a {@link DataView} at the current readerIndex and increases the - * readerIndex according to the length of the data view in this buffer. - */ - // @ts-ignore - readDataView(): org.spongepowered.api.data.DataView; - /** - * Gets a {@link DataView} at the specified absolute index in this buffer. - */ - // @ts-ignore - getDataView(index: number): org.spongepowered.api.data.DataView; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelId.ts b/packages/sponge/src/typings/org.spongepowered.api.network.ChannelId.ts deleted file mode 100644 index b5f4d1d0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelId.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - // @ts-ignore - interface ChannelId { - /** - * Gets the channel id. - */ - // @ts-ignore - value(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelRegistrar.ts b/packages/sponge/src/typings/org.spongepowered.api.network.ChannelRegistrar.ts deleted file mode 100644 index 830686d9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelRegistrar.ts +++ /dev/null @@ -1,64 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - // @ts-ignore - interface ChannelRegistrar { - /** - * Creates a new channel binding for the given channel name. The channel can - * be used to send and receive messages. - */ - // @ts-ignore - createChannel(plugin: any, channel: string): org.spongepowered.api.network.ChannelBinding.IndexedMessageChannel; - /** - * Creates a new raw channel binding. The channel can be used to send and - * Receive data from {@link ChannelBuf} objects. - */ - // @ts-ignore - createRawChannel(plugin: any, channel: string): org.spongepowered.api.network.ChannelBinding.RawDataChannel; - /** - * Gets a channel binding if a channel registered by that name exists. - */ - // @ts-ignore - getChannel(channel: string): any; - /** - * Gets or creates a {@link ChannelBinding.IndexedMessageChannel} by the - * given name. If the channel exists and is a indexed message channel, then - * it is returned. If the channel is not an indexed message channel, then - * {@link IllegalStateException} is thrown. Otherwise, a new channel is - * created. - */ - // @ts-ignore - getOrCreate(plugin: any, channel: string): org.spongepowered.api.network.ChannelBinding.IndexedMessageChannel; - /** - * Gets or creates a {@link ChannelBinding.RawDataChannel} by the given - * name. If the channel exists and is a raw data channel, then it is - * returned. If the channel is not a raw data channel, then - * {@link IllegalStateException} is thrown. Otherwise, a new channel is - * created. - */ - // @ts-ignore - getOrCreateRaw(plugin: any, channel: string): org.spongepowered.api.network.ChannelBinding.RawDataChannel; - /** - * Remove the channel binding from this registrar, freeing up the channel - * name. All method calls on the channel binding instance will now throw - * {@link IllegalStateException}. - */ - // @ts-ignore - unbindChannel(channel: org.spongepowered.api.network.ChannelBinding): void; - /** - * Gets the set of registered channels. - */ - // @ts-ignore - getRegisteredChannels(side: org.spongepowered.api.Platform.Type): any[] /*java.util.Set*/; - /** - * Returns whether the given channel name is available for creating with - * {@link #createChannel}. - */ - // @ts-ignore - isChannelAvailable(channelName: string): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelRegistrationException.ts b/packages/sponge/src/typings/org.spongepowered.api.network.ChannelRegistrationException.ts deleted file mode 100644 index fbb0e1e1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.ChannelRegistrationException.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - // @ts-ignore - class ChannelRegistrationException { - /** - * Constructs a new {@link ChannelRegistrationException}. - */ - constructor() - /** - * Constructs a new {@link ChannelRegistrationException} with a message. - */ - constructor(message: string) - /** - * Constructs a new {@link ChannelRegistrationException} with the specified message and - * cause. - */ - constructor(message: string, cause: any) - /** - * Constructs a new {@link ChannelRegistrationException} with the specified cause and a - * null message. - */ - constructor(cause: any) - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.Message.ts b/packages/sponge/src/typings/org.spongepowered.api.network.Message.ts deleted file mode 100644 index 849402c6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.Message.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - // @ts-ignore - interface Message { - /** - * Read the data from the channel buffer into this message. - */ - // @ts-ignore - readFrom(buf: org.spongepowered.api.network.ChannelBuf): void; - /** - * Write the data from this message to the channel buffer. - */ - // @ts-ignore - writeTo(buf: org.spongepowered.api.network.ChannelBuf): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.MessageHandler.ts b/packages/sponge/src/typings/org.spongepowered.api.network.MessageHandler.ts deleted file mode 100644 index ac5f474f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.MessageHandler.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - // @ts-ignore - interface MessageHandler { - /** - * Handles the message sent by a remote connection. - */ - // @ts-ignore - handleMessage(message: org.spongepowered.api.network.Message, connection: org.spongepowered.api.network.RemoteConnection, side: org.spongepowered.api.Platform.Type): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.PlayerConnection.ts b/packages/sponge/src/typings/org.spongepowered.api.network.PlayerConnection.ts deleted file mode 100644 index cfde8d0f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.PlayerConnection.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - // @ts-ignore - interface PlayerConnection extends org.spongepowered.api.network.RemoteConnection { - /** - * Gets the associated {@link Player} for this connection. - */ - // @ts-ignore - getPlayer(): org.spongepowered.api.entity.living.player.Player; - /** - * Gets the connection latency. This is constantly calculated by the server. - */ - // @ts-ignore - getLatency(): number; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.RawDataListener.ts b/packages/sponge/src/typings/org.spongepowered.api.network.RawDataListener.ts deleted file mode 100644 index eb919053..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.RawDataListener.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - // @ts-ignore - interface RawDataListener { - /** - * Handles the given {@link ChannelBuf} data sent by a remote connection. - */ - // @ts-ignore - handlePayload(data: org.spongepowered.api.network.ChannelBuf, connection: org.spongepowered.api.network.RemoteConnection, side: org.spongepowered.api.Platform.Type): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.RemoteConnection.ts b/packages/sponge/src/typings/org.spongepowered.api.network.RemoteConnection.ts deleted file mode 100644 index 60b6e75e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.RemoteConnection.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - // @ts-ignore - interface RemoteConnection { - /** - * Gets the {@link InetSocketAddress} of this connection. - */ - // @ts-ignore - getAddress(): any; - /** - * Gets the host name the connection is connecting to the server with. - *

Examples include: If a player is connecting to `mc.example.com`, - * the hostname will show `mc.example.com`. This is NOT the originating - * hostname of the client.

- */ - // @ts-ignore - getVirtualHost(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.status.Favicon.ts b/packages/sponge/src/typings/org.spongepowered.api.network.status.Favicon.ts deleted file mode 100644 index ed5a1338..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.status.Favicon.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - namespace status { - // @ts-ignore - interface Favicon { - /** - * Gets the decoded image of this favicon. - */ - // @ts-ignore - getImage(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.status.StatusClient.ts b/packages/sponge/src/typings/org.spongepowered.api.network.status.StatusClient.ts deleted file mode 100644 index f47e41d3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.status.StatusClient.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - namespace status { - // @ts-ignore - interface StatusClient { - /** - * Gets the address of the client. - */ - // @ts-ignore - getAddress(): any; - /** - * Gets the game version of the client. - */ - // @ts-ignore - getVersion(): org.spongepowered.api.MinecraftVersion; - /** - * Gets the address the player is connecting to. - */ - // @ts-ignore - getVirtualHost(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.status.StatusResponse.Players.ts b/packages/sponge/src/typings/org.spongepowered.api.network.status.StatusResponse.Players.ts deleted file mode 100644 index 0188e86e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.status.StatusResponse.Players.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - namespace status { - namespace StatusResponse { - // @ts-ignore - interface Players { - /** - * Gets the amount of online players on the server. - */ - // @ts-ignore - getOnline(): number; - /** - * Gets the maximum amount of allowed players on the server. - */ - // @ts-ignore - getMax(): number; - /** - * Gets an immutable list of online players on the server to display on - * the client. - */ - // @ts-ignore - getProfiles(): any[] /*java.util.List*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.network.status.StatusResponse.ts b/packages/sponge/src/typings/org.spongepowered.api.network.status.StatusResponse.ts deleted file mode 100644 index 6ab1beab..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.network.status.StatusResponse.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace network { - namespace status { - // @ts-ignore - interface StatusResponse { - /** - * Gets the description (MOTD) of the status response. - */ - // @ts-ignore - getDescription(): org.spongepowered.api.text.Text; - /** - * Gets player count and the list of players currently playing on the - * server. - */ - // @ts-ignore - getPlayers(): any; - /** - * Gets the version of the server displayed when the client or the server - * are outdated. - */ - // @ts-ignore - getVersion(): org.spongepowered.api.MinecraftVersion; - /** - * Gets the {@link Favicon} of the server. - */ - // @ts-ignore - getFavicon(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.plugin.Dependency.ts b/packages/sponge/src/typings/org.spongepowered.api.plugin.Dependency.ts deleted file mode 100644 index e350d841..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.plugin.Dependency.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace plugin { - // @ts-ignore - interface Dependency { - /** - * The plugin ID of the dependency. - */ - // @ts-ignore - id(): string; - /** - * The required version range of the dependency. - *

The version range will be specified in Maven version range - * syntax:

- * - * - * - * - * - * - * - * - * - * - *
RangeMeaning
1.0Any dependency version, 1.0 is recommended
[1.0]x == 1.0
[1.0,)x >= 1.0
(1.0,)x > 1.0
(,1.0]x <= 1.0
(,1.0)x < 1.0
(1.0,2.0)1.0 < x < 2.0
[1.0,2.0]1.0 <= x <= 2.0
- */ - // @ts-ignore - version(): string; - /** - * If this dependency is optional for the plugin to work. By default - * this is {@code false}. - */ - // @ts-ignore - optional(): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.plugin.Plugin.ts b/packages/sponge/src/typings/org.spongepowered.api.plugin.Plugin.ts deleted file mode 100644 index 8398a176..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.plugin.Plugin.ts +++ /dev/null @@ -1,51 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace plugin { - // @ts-ignore - interface Plugin { - // @ts-ignore - ID_PATTERN: any; - /** - * An ID for the plugin to be used internally. The ID should be unique as to - * not conflict with other plugins. - *

The plugin ID must match the {@link #ID_PATTERN}.

- */ - // @ts-ignore - id(): string; - /** - * The human readable name of the plugin as to be used in descriptions and - * similar things. - */ - // @ts-ignore - name(): string; - /** - * The version of the plugin. - */ - // @ts-ignore - version(): string; - /** - * The dependencies required to load before this plugin. - */ - // @ts-ignore - dependencies(): org.spongepowered.api.plugin.Dependency[]; - /** - * The description of the plugin, explaining what it can be used for. - */ - // @ts-ignore - description(): string; - /** - * The URL or website of the plugin. - */ - // @ts-ignore - url(): string; - /** - * The authors of the plugin. - */ - // @ts-ignore - authors(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.plugin.PluginContainer.ts b/packages/sponge/src/typings/org.spongepowered.api.plugin.PluginContainer.ts deleted file mode 100644 index 4938a33d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.plugin.PluginContainer.ts +++ /dev/null @@ -1,74 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace plugin { - // @ts-ignore - interface PluginContainer { - /** - * Gets the qualified ID of the {@link Plugin} within this container. - */ - // @ts-ignore - getId(): string; - /** - * Gets the name of the {@link Plugin} within this container. - */ - // @ts-ignore - getName(): string; - /** - * Gets the version of the {@link Plugin} within this container. - */ - // @ts-ignore - getVersion(): any; - /** - * Gets the description of the {@link Plugin} within this container. - */ - // @ts-ignore - getDescription(): any; - /** - * Gets the url or website of the {@link Plugin} within this container. - */ - // @ts-ignore - getUrl(): any; - /** - * Gets the authors of the {@link Plugin} within this container. - */ - // @ts-ignore - getAuthors(): any[] /*java.util.List*/; - /** - * Gets a {@link Set} of all dependencies of the {@link Plugin} within this - * container. - */ - // @ts-ignore - getDependencies(): any[] /*java.util.Set*/; - /** - * Gets the {@link PluginDependency} the plugin in this container has on - * the plugin with the specified plugin ID. - */ - // @ts-ignore - getDependency(id: string): any; - /** - * Retrieves the {@link Asset} of the specified name from the - * {@link AssetManager} for this {@link Plugin}. - */ - // @ts-ignore - getAsset(name: string): any; - /** - * Returns the source the plugin was loaded from. - */ - // @ts-ignore - getSource(): any; - /** - * Returns the created instance of {@link Plugin} if it is available. - */ - // @ts-ignore - getInstance(): any; - /** - * Returns the assigned logger to this {@link Plugin}. - */ - // @ts-ignore - getLogger(): any /*Logger*/; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.plugin.PluginManager.ts b/packages/sponge/src/typings/org.spongepowered.api.plugin.PluginManager.ts deleted file mode 100644 index 6fb7cdb3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.plugin.PluginManager.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace plugin { - // @ts-ignore - interface PluginManager { - // @ts-ignore - MINECRAFT_PLUGIN_ID: string; - // @ts-ignore - SPONGE_PLUGIN_ID: string; - /** - * Gets the plugin container from an instance. - */ - // @ts-ignore - fromInstance(instance: any): any; - /** - * Retrieves a {@link PluginContainer} based on its ID. - */ - // @ts-ignore - getPlugin(id: string): any; - /** - * Gets a {@link Collection} of all {@link PluginContainer}s. - */ - // @ts-ignore - getPlugins(): any[] /*java.util.Collection*/; - /** - * Checks if a plugin is loaded based on its ID. - * This may contain plugins/mods from other systems in some implementations. - */ - // @ts-ignore - isLoaded(id: string): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.profile.GameProfile.ts b/packages/sponge/src/typings/org.spongepowered.api.profile.GameProfile.ts deleted file mode 100644 index 97aa5cc8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.profile.GameProfile.ts +++ /dev/null @@ -1,63 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace profile { - // @ts-ignore - interface GameProfile extends org.spongepowered.api.util.Identifiable, org.spongepowered.api.data.DataSerializable { - /** - * Creates a {@link GameProfile} from the provided ID. - *

The name of the created profile will be {@code null}.

- */ - // @ts-ignore - of(uniqueId: any): org.spongepowered.api.profile.GameProfile; - /** - * Creates a {@link GameProfile} from the provided ID and name. - */ - // @ts-ignore - of(uniqueId: any, name: string): org.spongepowered.api.profile.GameProfile; - /** - * Gets the name associated with this profile. - */ - // @ts-ignore - getName(): any; - /** - * Gets the property map for this profile. - *

This is a mutable map.

- */ - // @ts-ignore - getPropertyMap(): any; - /** - * Adds a profile property to this game profile. - *

The {@link ProfileProperty#getName() name} of the property is used when - * adding the profile property to the {@link #getPropertyMap() property map}.

- */ - // @ts-ignore - addProperty(property: org.spongepowered.api.profile.property.ProfileProperty): org.spongepowered.api.profile.GameProfile; - /** - * Adds a profile property to this game profile. - */ - // @ts-ignore - addProperty(name: string, property: org.spongepowered.api.profile.property.ProfileProperty): org.spongepowered.api.profile.GameProfile; - /** - * Removes a profile property to this game profile. - *

The {@link ProfileProperty#getName() name} of the property is used when - * removing the profile property from the {@link #getPropertyMap() property map}.

- */ - // @ts-ignore - removeProperty(property: org.spongepowered.api.profile.property.ProfileProperty): boolean; - /** - * Removes a profile property to this game profile. - */ - // @ts-ignore - removeProperty(name: string, property: org.spongepowered.api.profile.property.ProfileProperty): boolean; - /** - * Checks if this profile is filled. - *

A filled profile contains both a unique id and name.

- */ - // @ts-ignore - isFilled(): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.profile.GameProfileCache.ts b/packages/sponge/src/typings/org.spongepowered.api.profile.GameProfileCache.ts deleted file mode 100644 index fd5aab36..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.profile.GameProfileCache.ts +++ /dev/null @@ -1,146 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace profile { - // @ts-ignore - interface GameProfileCache { - /** - * Add an entry to this cache. - */ - // @ts-ignore - add(profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Add an entry to this cache, with an optional expiration date. - */ - // @ts-ignore - add(profile: org.spongepowered.api.profile.GameProfile, expiry: any /*java.util.Date*/): boolean; - /** - * Add an entry to this cache, with an optional expiration date. - */ - // @ts-ignore - add(profile: org.spongepowered.api.profile.GameProfile, expiry: any): boolean; - /** - * Add an entry to this cache, with an optional expiration date. - */ - // @ts-ignore - add(profile: org.spongepowered.api.profile.GameProfile, overwrite: boolean, expiry: any /*java.util.Date*/): boolean; - /** - * Add an entry to this cache, with an optional expiration date. - */ - // @ts-ignore - add(profile: org.spongepowered.api.profile.GameProfile, overwrite: boolean, expiry: any): boolean; - /** - * Remove an entry from this cache. - */ - // @ts-ignore - remove(profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Remove entries from this cache in bulk. - */ - // @ts-ignore - remove(profiles: any): any[] /*java.util.Collection*/; - /** - * Clear all entries from this cache. - */ - // @ts-ignore - clear(): void; - /** - * Gets a {@link GameProfile} from this cache by its unique id. - */ - // @ts-ignore - getById(uniqueId: any): any; - /** - * Gets {@link GameProfile}s in bulk by their unique id. - */ - // @ts-ignore - getByIds(uniqueIds: any): Map /*java.util.Map*/; - /** - * Looks a {@link GameProfile} up by its unique id and - * loads it into this cache. - */ - // @ts-ignore - lookupById(uniqueId: any): any; - /** - * Looks up {@link GameProfile}s in bulk by their unique id and - * loads them into this cache. - */ - // @ts-ignore - lookupByIds(uniqueIds: any): Map /*java.util.Map*/; - /** - * Gets a {@link GameProfile} from this cache by its id if available, - * or lookups the profile by its unique id. - */ - // @ts-ignore - getOrLookupById(uniqueId: any): any; - /** - * Gets {@link GameProfile}s in bulk from this cache by when available, - * and lookups the profiles by their unique id when not cached. - */ - // @ts-ignore - getOrLookupByIds(uniqueIds: any): Map /*java.util.Map*/; - /** - * Gets a {@link GameProfile} from this cache by its name. - */ - // @ts-ignore - getByName(name: string): any; - /** - * Gets {@link GameProfile}s in bulk by their name. - */ - // @ts-ignore - getByNames(names: any): Map /*java.util.Map*/; - /** - * Looks a {@link GameProfile} up by its name and - * loads it into this cache. - */ - // @ts-ignore - lookupByName(name: string): any; - /** - * Looks up {@link GameProfile}s in bulk by their name and - * loads them into this cache. - */ - // @ts-ignore - lookupByNames(names: any): Map /*java.util.Map*/; - /** - * Gets a {@link GameProfile} from this cache by its if available, - * or lookups the profile by its name. - */ - // @ts-ignore - getOrLookupByName(name: string): any; - /** - * Gets {@link GameProfile}s in bulk from this cache by when available, - * and lookups the profiles by their unique id when not cached. - */ - // @ts-ignore - getOrLookupByNames(names: any): Map /*java.util.Map*/; - /** - * Fills a {@link GameProfile} from cached values. - */ - // @ts-ignore - fillProfile(profile: org.spongepowered.api.profile.GameProfile): any; - /** - * Fills a {@link GameProfile} from cached values. - */ - // @ts-ignore - fillProfile(profile: org.spongepowered.api.profile.GameProfile, signed: boolean): any; - /** - * Gets a collection of all cached {@link GameProfile}s. - */ - // @ts-ignore - getProfiles(): any[] /*java.util.Collection*/; - /** - * Returns a collection of matching cached {@link GameProfile}s whose last - * known names start with the given string (case-insensitive). - *

This collection may also contain profiles of players who never played - * on the server!

- *

Use {@link UserStorageService#match(String)} for a collection that - * only contains {@link GameProfile}s with attached {@link User} data.

- *

This method only searches the local cache, so the data may not be up - * to date.

- */ - // @ts-ignore - match(name: string): any[] /*java.util.Collection*/; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.profile.GameProfileManager.ts b/packages/sponge/src/typings/org.spongepowered.api.profile.GameProfileManager.ts deleted file mode 100644 index 63eb3b57..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.profile.GameProfileManager.ts +++ /dev/null @@ -1,117 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace profile { - // @ts-ignore - interface GameProfileManager { - /** - * Creates a {@link GameProfile} from the provided ID and name. - */ - // @ts-ignore - createProfile(uniqueId: any, name: string): org.spongepowered.api.profile.GameProfile; - /** - * Creates a {@link ProfileProperty} from the provided name, value, - * and optional signature. - */ - // @ts-ignore - createProfileProperty(name: string, value: string, signature: string): org.spongepowered.api.profile.property.ProfileProperty; - /** - * Looks up a {@link GameProfile} by its unique ID. - *

This method checks the local profile cache before contacting the - * profile servers. Use {@link #get(UUID, boolean)} to disable the cache - * lookup.

- *

The returned {@link CompletableFuture} throws an {@link ExecutionException} - * caused by a {@link ProfileNotFoundException} if the profile does not exist or - * an {@link IOException} if a network error occurred.

- */ - // @ts-ignore - get(uniqueId: any): any; - /** - * Looks up a {@link GameProfile} by its user name (case-insensitive). - *

This method checks the local profile cache before contacting the - * profile servers. Use {@link #get(String, boolean)} to disable the cache - * lookup.

- *

The returned {@link CompletableFuture} throws an {@link ExecutionException} - * caused by a {@link ProfileNotFoundException} if the profile does not exist or - * an {@link IOException} if a network error occurred.

- */ - // @ts-ignore - get(name: string): any; - /** - * Looks up a {@link GameProfile} by its unique ID. - *

The returned {@link CompletableFuture} throws an {@link ExecutionException} - * caused by a {@link ProfileNotFoundException} if the profile does not exist or - * an {@link IOException} if a network error occurred.

- */ - // @ts-ignore - get(uniqueId: any, useCache: boolean): any; - /** - * Looks up a {@link GameProfile} by its user name (case-insensitive). - *

The returned {@link CompletableFuture} throws an {@link ExecutionException} - * caused by a {@link ProfileNotFoundException} if the profile does not exist or - * an {@link IOException} if a network error occurred.

- */ - // @ts-ignore - get(name: string, useCache: boolean): any; - /** - * Gets a collection of {@link GameProfile}s by their unique IDs. - *

The returned {@link CompletableFuture} throws an {@link ExecutionException} - * caused by a {@link ProfileNotFoundException} if the profile does not exist or - * an {@link IOException} if a network error occurred.

- */ - // @ts-ignore - getAllById(uniqueIds: any, useCache: boolean): any; - /** - * Gets a collection of {@link GameProfile}s by their user names - * (case-insensitive). - *

The returned {@link CompletableFuture} throws an {@link ExecutionException} - * caused by a {@link ProfileNotFoundException} if the profile does not exist or - * an {@link IOException} if a network error occurred.

- */ - // @ts-ignore - getAllByName(names: any, useCache: boolean): any; - /** - * Fills a {@link GameProfile}. - *

The returned {@link CompletableFuture} throws an {@link ExecutionException} - * caused by a {@link ProfileNotFoundException} if the profile does not exist or - * an {@link IOException} if a network error occurred.

- */ - // @ts-ignore - fill(profile: org.spongepowered.api.profile.GameProfile): any; - /** - * Fills a {@link GameProfile}. - *

The returned {@link CompletableFuture} throws an {@link ExecutionException} - * caused by a {@link ProfileNotFoundException} if the profile does not exist or - * an {@link IOException} if a network error occurred.

- */ - // @ts-ignore - fill(profile: org.spongepowered.api.profile.GameProfile, signed: boolean): any; - /** - * Fills a {@link GameProfile}. - *

The returned {@link CompletableFuture} throws an {@link ExecutionException} - * caused by a {@link ProfileNotFoundException} if the profile does not exist or - * an {@link IOException} if a network error occurred.

- */ - // @ts-ignore - fill(profile: org.spongepowered.api.profile.GameProfile, signed: boolean, useCache: boolean): any; - /** - * Gets the active {@link GameProfile} cache. - */ - // @ts-ignore - getCache(): org.spongepowered.api.profile.GameProfileCache; - /** - * Sets the {@link GameProfile} cache. - *

To restore the original cache, pass the result of {@link #getDefaultCache()}.

- */ - // @ts-ignore - setCache(cache: org.spongepowered.api.profile.GameProfileCache): void; - /** - * Gets the default cache. - */ - // @ts-ignore - getDefaultCache(): org.spongepowered.api.profile.GameProfileCache; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.profile.ProfileNotFoundException.ts b/packages/sponge/src/typings/org.spongepowered.api.profile.ProfileNotFoundException.ts deleted file mode 100644 index a53dddf2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.profile.ProfileNotFoundException.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace profile { - // @ts-ignore - class ProfileNotFoundException { - /** - * Constructs a new {@link ProfileNotFoundException}. - */ - constructor() - /** - * Constructs a new {@link ProfileNotFoundException} with the specified - * message. - */ - constructor(message: string) - /** - * Constructs a new {@link ProfileNotFoundException} with the specified - * cause and a null message. - */ - constructor(cause: any) - /** - * Constructs a new {@link ProfileNotFoundException} with the specified - * message and cause. - */ - constructor(message: string, cause: any) - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.profile.property.ProfileProperty.ts b/packages/sponge/src/typings/org.spongepowered.api.profile.property.ProfileProperty.ts deleted file mode 100644 index ccb61a6f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.profile.property.ProfileProperty.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace profile { - namespace property { - // @ts-ignore - interface ProfileProperty { - /** - * Creates a new property. - */ - // @ts-ignore - of(name: string, value: string): org.spongepowered.api.profile.property.ProfileProperty; - /** - * Creates a new signed property. - *

Depending on the property name, if the signature is provided it must - * originate from Mojang.

- */ - // @ts-ignore - of(name: string, value: string, signature: string): org.spongepowered.api.profile.property.ProfileProperty; - /** - * Gets the name of this property. - */ - // @ts-ignore - getName(): string; - /** - * Gets the value of this property. - */ - // @ts-ignore - getValue(): string; - /** - * Gets the signature of this property. - *

Depending on the property name, if the signature is provided it must - * originate from Mojang.

- */ - // @ts-ignore - getSignature(): any; - /** - * Tests if this property has a signature. - */ - // @ts-ignore - hasSignature(): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.AdditionalCatalogRegistryModule.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.AdditionalCatalogRegistryModule.ts deleted file mode 100644 index 85ed4a31..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.AdditionalCatalogRegistryModule.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - // @ts-ignore - interface AdditionalCatalogRegistryModule extends org.spongepowered.api.registry.CatalogRegistryModule { - /** - * Performs additional registration after initial registration of - * the pertaining {@link CatalogType}. - */ - // @ts-ignore - registerAdditionalCatalog(extraCatalog: org.spongepowered.api.CatalogType): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.AlternateCatalogRegistryModule.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.AlternateCatalogRegistryModule.ts deleted file mode 100644 index b3efa75d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.AlternateCatalogRegistryModule.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - // @ts-ignore - interface AlternateCatalogRegistryModule extends org.spongepowered.api.registry.CatalogRegistryModule { - /** - * Gets the catalog {@link Map map} instead of defaulting to utilizing - * {@link RegisterCatalog} annotated field for the map of catalog types. - */ - // @ts-ignore - provideCatalogMap(): Map /*java.util.Map*/; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.CatalogRegistryModule.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.CatalogRegistryModule.ts deleted file mode 100644 index 7a2ccd93..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.CatalogRegistryModule.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - // @ts-ignore - interface CatalogRegistryModule extends org.spongepowered.api.registry.RegistryModule { - /** - * Gets the desired {@link CatalogType} from the provided {@link String} id. - * If a {@link CatalogType catalog type} is not registered for the given {@code id}, - * {@link Optional#empty()} is returned. - */ - // @ts-ignore - getById(id: string): any; - /** - * Gets all registered {@link CatalogType}s registered in this - * {@link RegistryModule}. - */ - // @ts-ignore - getAll(): any[] /*java.util.Collection*/; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.CatalogTypeAlreadyRegisteredException.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.CatalogTypeAlreadyRegisteredException.ts deleted file mode 100644 index c81a80e9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.CatalogTypeAlreadyRegisteredException.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - // @ts-ignore - class CatalogTypeAlreadyRegisteredException extends org.spongepowered.api.registry.RegistryException { - /** - * Creates a new {@link CatalogTypeAlreadyRegisteredException} with the - * provided {@link CatalogType} {@link String} id. - */ - constructor(id: string) - /** - * Gets the {@link CatalogType} id already registered. - */ - // @ts-ignore - public getAlreadyRegisteredId(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.ExtraClassCatalogRegistryModule.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.ExtraClassCatalogRegistryModule.ts deleted file mode 100644 index b2be21d2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.ExtraClassCatalogRegistryModule.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - // @ts-ignore - interface ExtraClassCatalogRegistryModule extends org.spongepowered.api.registry.AdditionalCatalogRegistryModule { - /** - * Gets whether the provided {@link Class} is already registered. - */ - // @ts-ignore - hasRegistrationFor(mappedClass: any): boolean; - /** - * Gets the {@link CatalogType} based on the provided {@link Class}. - */ - // @ts-ignore - getForClass(clazz: any): org.spongepowered.api.CatalogType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.FactoryRegistry.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.FactoryRegistry.ts deleted file mode 100644 index 2c4bbd6c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.FactoryRegistry.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - // @ts-ignore - interface FactoryRegistry extends org.spongepowered.api.registry.RegistryModule { - /** - * Gets the owning {@link Class} of the factory in question. - */ - // @ts-ignore - getFactoryOwner(): any; - /** - * Provides the new factory instance. - */ - // @ts-ignore - provideFactory(): any; - /** - * Initialize this registry module to perform any required operations - * prior to initializing the factory, and or constructing the factory. - */ - // @ts-ignore - initialize(): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.RegistrationPhase.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.RegistrationPhase.ts deleted file mode 100644 index ca8c0248..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.RegistrationPhase.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - // @ts-ignore - class RegistrationPhase { - // @ts-ignore - public static PRE_REGISTRY: org.spongepowered.api.registry.RegistrationPhase; - // @ts-ignore - public static PRE_INIT: org.spongepowered.api.registry.RegistrationPhase; - // @ts-ignore - public static INIT: org.spongepowered.api.registry.RegistrationPhase; - // @ts-ignore - public static POST_INIT: org.spongepowered.api.registry.RegistrationPhase; - // @ts-ignore - public static LOADED: org.spongepowered.api.registry.RegistrationPhase; - // @ts-ignore - public static values(): org.spongepowered.api.registry.RegistrationPhase[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.registry.RegistrationPhase; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.RegistryException.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.RegistryException.ts deleted file mode 100644 index 80223569..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.RegistryException.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - // @ts-ignore - class RegistryException { - /** - * Creates a new {@link RegistryException}. - */ - constructor() - /** - * Creates a new {@link RegistryException} with the provided {@code message}. - */ - constructor(message: string) - /** - * Creates a new {@link RegistryException} with the provided {@code message} - * and propagated {@link Throwable cause}. - */ - constructor(message: string, cause: any) - /** - * Creates a new {@link RegistryException} with the provided {@link Throwable cause}. - */ - constructor(cause: any) - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.RegistryModule.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.RegistryModule.ts deleted file mode 100644 index f3d770b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.RegistryModule.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - // @ts-ignore - interface RegistryModule { - /** - * Performs default registrations of objects for use with either - * companion objects, or the {@link GameRegistry}. This is only - * called once, either at the pre-initialization phase of the - * {@link GameRegistry}, or if annotated with - * {@link DelayedRegistration}, at a later {@link RegistrationPhase}. - */ - // @ts-ignore - registerDefaults(): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.RegistryModuleAlreadyRegisteredException.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.RegistryModuleAlreadyRegisteredException.ts deleted file mode 100644 index 9a0baec7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.RegistryModuleAlreadyRegisteredException.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - // @ts-ignore - class RegistryModuleAlreadyRegisteredException extends org.spongepowered.api.registry.RegistryException { - /** - * Creates a new {@link RegistryModuleAlreadyRegisteredException} based on - * the fact that the provided {@link RegistryModule} is already registered, - * either due to the fact that the object it covers is already associated - * with a different {@link RegistryModule module}, or that the module itself - * has already been registered. - */ - constructor(message: string, module: org.spongepowered.api.registry.RegistryModule) - /** - * Gets the {@link RegistryModule} associated with this exception. - */ - // @ts-ignore - public getModule(): org.spongepowered.api.registry.RegistryModule; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.util.AdditionalRegistration.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.util.AdditionalRegistration.ts deleted file mode 100644 index 0b30e590..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.util.AdditionalRegistration.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - namespace util { - // @ts-ignore - interface AdditionalRegistration { - /** - * Gets the desired {@link RegistrationPhase} to perform any - * additional registration of {@link CatalogType}s. - */ - // @ts-ignore - value(): org.spongepowered.api.registry.RegistrationPhase; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.util.CustomCatalogRegistration.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.util.CustomCatalogRegistration.ts deleted file mode 100644 index d50820bc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.util.CustomCatalogRegistration.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - namespace util { - // @ts-ignore - interface CustomCatalogRegistration { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.util.DelayedRegistration.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.util.DelayedRegistration.ts deleted file mode 100644 index 9fc77ac6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.util.DelayedRegistration.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - namespace util { - // @ts-ignore - interface DelayedRegistration { - /** - * Gets the {@link RegistrationPhase} at which default registration - * of {@link CatalogType}s should take place. - */ - // @ts-ignore - value(): org.spongepowered.api.registry.RegistrationPhase; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.util.OverrideRegistration.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.util.OverrideRegistration.ts deleted file mode 100644 index 0259d5e0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.util.OverrideRegistration.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - namespace util { - // @ts-ignore - interface OverrideRegistration { - /** - * The class of the other registry module. - */ - // @ts-ignore - value(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.util.PluginProvidedRegistryModule.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.util.PluginProvidedRegistryModule.ts deleted file mode 100644 index fd20d92e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.util.PluginProvidedRegistryModule.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - namespace util { - // @ts-ignore - interface PluginProvidedRegistryModule { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.util.RegisterCatalog.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.util.RegisterCatalog.ts deleted file mode 100644 index 9d88cb94..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.util.RegisterCatalog.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - namespace util { - // @ts-ignore - interface RegisterCatalog { - /** - * The class to register the values to. - */ - // @ts-ignore - value(): any; - /** - * Gets an array of field names that are to be ignored when mapping fields - * on the target class. - */ - // @ts-ignore - ignoredFields(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.registry.util.RegistrationDependency.ts b/packages/sponge/src/typings/org.spongepowered.api.registry.util.RegistrationDependency.ts deleted file mode 100644 index 2f7b1e01..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.registry.util.RegistrationDependency.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace registry { - namespace util { - // @ts-ignore - interface RegistrationDependency { - /** - * Gets the array of {@link RegistryModule}s that the owning - * {@link RegistryModule} relies on having completed their own - * registrations prior to this module performing registrations. - *

Note that this is different from having a module performing - * a {@link DelayedRegistration}, as the module in question can still - * perform it's registrations in the same {@link RegistrationPhase} - * as the depending modules. It is guaranteed that the depending - * modules will perform their registrations prior to the owning module. - *

- */ - // @ts-ignore - value(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.resourcepack.ResourcePack.ts b/packages/sponge/src/typings/org.spongepowered.api.resourcepack.ResourcePack.ts deleted file mode 100644 index b4f1f805..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.resourcepack.ResourcePack.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace resourcepack { - // @ts-ignore - interface ResourcePack { - /** - * Gets the URI associated with this ResourcePack. - */ - // @ts-ignore - getUri(): any; - /** - * Gets the name of this resource pack. This is the filename of the pack - * zipfile, with all non-word characters removed. Note to implementers: The - * name MUST be calculated like above, or this API will not - * work. - */ - // @ts-ignore - getName(): string; - /** - * Gets the ID of this resource pack. - */ - // @ts-ignore - getId(): string; - /** - * If this resource pack was initialized through - * {@link ResourcePackFactory#fromUri(URI)}, the hash, as calculated with - * com.google.common.hash.Hashing.sha1().hashBytes( - * com.google.common.io.Files.toByteArray(resourcepackfile) - * ).toString();. - */ - // @ts-ignore - getHash(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.resourcepack.ResourcePackFactory.ts b/packages/sponge/src/typings/org.spongepowered.api.resourcepack.ResourcePackFactory.ts deleted file mode 100644 index fee08a72..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.resourcepack.ResourcePackFactory.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace resourcepack { - // @ts-ignore - interface ResourcePackFactory { - /** - * Creates a {@link ResourcePack} from a URI and tries to download and hash - * it. - */ - // @ts-ignore - fromUri(uri: any): org.spongepowered.api.resourcepack.ResourcePack; - /** - * Creates a {@link ResourcePack} from a URI. - */ - // @ts-ignore - fromUriUnchecked(uri: any): org.spongepowered.api.resourcepack.ResourcePack; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.resourcepack.ResourcePacks.ts b/packages/sponge/src/typings/org.spongepowered.api.resourcepack.ResourcePacks.ts deleted file mode 100644 index af3484fc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.resourcepack.ResourcePacks.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace resourcepack { - // @ts-ignore - class ResourcePacks { - constructor() - /** - * Creates a {@link ResourcePack} from a URI and tries to download and hash - * it. - */ - // @ts-ignore - public static fromUri(uri: any): org.spongepowered.api.resourcepack.ResourcePack; - /** - * Creates a {@link ResourcePack} from a URI, without checking ("unchecked") - * if there is a valid pack at the URI. - */ - // @ts-ignore - public static fromUriUnchecked(uri: any): org.spongepowered.api.resourcepack.ResourcePack; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scheduler.AsynchronousExecutor.ts b/packages/sponge/src/typings/org.spongepowered.api.scheduler.AsynchronousExecutor.ts deleted file mode 100644 index a2ec9a8e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scheduler.AsynchronousExecutor.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scheduler { - // @ts-ignore - interface AsynchronousExecutor { - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scheduler.Scheduler.ts b/packages/sponge/src/typings/org.spongepowered.api.scheduler.Scheduler.ts deleted file mode 100644 index e8cb13be..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scheduler.Scheduler.ts +++ /dev/null @@ -1,60 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scheduler { - // @ts-ignore - interface Scheduler { - /** - * Gets a new instance of a {@link Task.Builder}. - */ - // @ts-ignore - createTaskBuilder(): org.spongepowered.api.scheduler.Task.Builder; - /** - * Retrieves a scheduled or running task by its unique ID. - */ - // @ts-ignore - getTaskById(id: any): any; - /** - * Returns a set of {@link Task}s that match the Regular Expression pattern. - */ - // @ts-ignore - getTasksByName(pattern: string): any[] /*java.util.Set*/; - /** - * Returns a set of all currently scheduled tasks. - */ - // @ts-ignore - getScheduledTasks(): any[] /*java.util.Set*/; - /** - * Returns a set of all currently scheduled tasks for either asynchronous or - * synchronous execution. - */ - // @ts-ignore - getScheduledTasks(async: boolean): any[] /*java.util.Set*/; - /** - * Returns a set of all currently scheduled tasks owned by the given plugin. - */ - // @ts-ignore - getScheduledTasks(plugin: any): any[] /*java.util.Set*/; - /** - * Gets the ideal delay between ticks in milliseconds. The server aims to - * stabilise at this value. - */ - // @ts-ignore - getPreferredTickInterval(): number; - /** - * Creates a new {@link ExecutorService} that can be used to schedule - * synchronous tasks through the standard Java concurrency interfaces. - */ - // @ts-ignore - createSyncExecutor(plugin: any): org.spongepowered.api.scheduler.SpongeExecutorService; - /** - * Creates a new {@link ExecutorService} that can be used to schedule - * asynchronous tasks through the standard Java concurrency interfaces. - */ - // @ts-ignore - createAsyncExecutor(plugin: any): org.spongepowered.api.scheduler.SpongeExecutorService; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scheduler.SpongeExecutorService.SpongeFuture.ts b/packages/sponge/src/typings/org.spongepowered.api.scheduler.SpongeExecutorService.SpongeFuture.ts deleted file mode 100644 index 048bff67..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scheduler.SpongeExecutorService.SpongeFuture.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scheduler { - namespace SpongeExecutorService { - // @ts-ignore - interface SpongeFuture { - /** - * Retrieves the {@link Scheduler} {@link Task} instance that - * is responsible for the execution of this future. - */ - // @ts-ignore - getTask(): org.spongepowered.api.scheduler.Task; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scheduler.SpongeExecutorService.ts b/packages/sponge/src/typings/org.spongepowered.api.scheduler.SpongeExecutorService.ts deleted file mode 100644 index 9f77e67f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scheduler.SpongeExecutorService.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scheduler { - // @ts-ignore - interface SpongeExecutorService { - // @ts-ignore - schedule(command: any, delay: number, unit: any): org.spongepowered.api.scheduler.SpongeExecutorService.SpongeFuture; - // @ts-ignore - schedule(callable: any, delay: number, unit: any): org.spongepowered.api.scheduler.SpongeExecutorService.SpongeFuture; - // @ts-ignore - scheduleAtFixedRate(command: any, initialDelay: number, period: number, unit: any): org.spongepowered.api.scheduler.SpongeExecutorService.SpongeFuture; - // @ts-ignore - scheduleWithFixedDelay(command: any, initialDelay: number, delay: number, unit: any): org.spongepowered.api.scheduler.SpongeExecutorService.SpongeFuture; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scheduler.SynchronousExecutor.ts b/packages/sponge/src/typings/org.spongepowered.api.scheduler.SynchronousExecutor.ts deleted file mode 100644 index 5d8e3c36..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scheduler.SynchronousExecutor.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scheduler { - // @ts-ignore - interface SynchronousExecutor { - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scheduler.Task.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.scheduler.Task.Builder.ts deleted file mode 100644 index ad77feea..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scheduler.Task.Builder.ts +++ /dev/null @@ -1,91 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scheduler { - namespace Task { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets whether the task should run asynchronous, outside of the main - * loop, and in it's own thread. By default, tasks are synchronous. - *

A synchronous task is ran in alignment with the game's main loop, - * in the same thread. Each synchronous task is ran in series with the - * tick cycle. It is safe to manipulate game data when running in this - * mode.

- *

In contrast, a task set to run asynchronously will run - * independently of the tick cycle and in it's own thread. Therefore the - * task is not thread safe with game data and care must be taken. - * It is strongly advised to not manipulate game data in - * asynchronous tasks.

- *

It is not possible to schedule a task in unit ticks when running - * asynchronously. If the delay or interval is specified in ticks, it - * will be converted to the equivalent wall clock time by multiplying - * the value by {@link Scheduler#getPreferredTickInterval()}.

- */ - // @ts-ignore - async(): org.spongepowered.api.scheduler.Task.Builder; - /** - * Sets the {@link Runnable} to run when this task executes. - */ - // @ts-ignore - execute(runnable: any): org.spongepowered.api.scheduler.Task.Builder; - /** - * Sets the consumer that runs when this task executes. - */ - // @ts-ignore - execute(executor: any): org.spongepowered.api.scheduler.Task.Builder; - /** - * Sets the delay before the task runs. This delay is an initial offset, - * subsequent runs (when the interval is not 0) will not be offset. By - * default, the delay is 0. - */ - // @ts-ignore - delay(delay: number, unit: any): org.spongepowered.api.scheduler.Task.Builder; - /** - * Sets the delay before the task runs, in unit ticks. - */ - // @ts-ignore - delayTicks(ticks: number): org.spongepowered.api.scheduler.Task.Builder; - /** - * Sets the interval between repetitions of the task. The task will not - * repeat if the interval is 0. By default, the interval is 0. - *

If the scheduler detects that two tasks will overlap, the 2nd task - * will not be started. The next time the task is due to run, the test - * will be made again to determine if the previous occurrence of the - * task is still alive (running). As long as a previous occurrence is - * running no new occurrences of that specific task will start, although - * the scheduler will never cease in trying to start it a 2nd time.

- */ - // @ts-ignore - interval(interval: number, unit: any): org.spongepowered.api.scheduler.Task.Builder; - /** - * Sets the interval in unit ticks between repetitions of the task. - */ - // @ts-ignore - intervalTicks(ticks: number): org.spongepowered.api.scheduler.Task.Builder; - /** - * Sets the name of the task, the name cannot be blank. - *

If the name is not set in the builder, the name of the task - * will be the form:
PLUGIN_ID "-" ( "A-" | "S-" ) SERIAL_ID - *

- *

Examples of default Task names:
- * "FooPlugin-A-12"
"BarPlugin-S-4322"

- *

No two active tasks will have the same serial ID for the same - * synchronisation type.
i.e APlugin-A-15 and - * BPlugin-A-15 is not possible but BPlugin-S-15 - * is.

- */ - // @ts-ignore - name(name: string): org.spongepowered.api.scheduler.Task.Builder; - /** - * Submits the task to the scheduler and returns the task that was - * created. - */ - // @ts-ignore - submit(plugin: any): org.spongepowered.api.scheduler.Task; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scheduler.Task.ts b/packages/sponge/src/typings/org.spongepowered.api.scheduler.Task.ts deleted file mode 100644 index 3bca5599..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scheduler.Task.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scheduler { - // @ts-ignore - interface Task extends org.spongepowered.api.util.Identifiable { - /** - * Creates a new {@link Builder} to build a {@link Task}. - */ - // @ts-ignore - builder(): org.spongepowered.api.scheduler.Task.Builder; - /** - * Gets the name of this task. - */ - // @ts-ignore - getName(): string; - /** - * Returns the plugin that scheduled this task. - */ - // @ts-ignore - getOwner(): org.spongepowered.api.plugin.PluginContainer; - /** - * Gets the delay that the task was scheduled to run after. A delay of 0 - * represents that the task started immediately. - */ - // @ts-ignore - getDelay(): number; - /** - * Gets the interval for repeating tasks. An interval of 0 represents that - * the task does not repeat. - */ - // @ts-ignore - getInterval(): number; - /** - * Cancels the task. Cancelling a repeating task will prevent any further - * repetitions of the task. - */ - // @ts-ignore - cancel(): boolean; - /** - * Gets the {@link Consumer}<{@link Task}> that this task is running. - */ - // @ts-ignore - getConsumer(): any; - /** - * Gets whether this task is asynchronous. - */ - // @ts-ignore - isAsynchronous(): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.CollisionRule.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.CollisionRule.ts deleted file mode 100644 index 5fcefeba..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.CollisionRule.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - // @ts-ignore - interface CollisionRule extends org.spongepowered.api.CatalogType { - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.CollisionRules.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.CollisionRules.ts deleted file mode 100644 index 1885b96f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.CollisionRules.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - // @ts-ignore - class CollisionRules { - // @ts-ignore - public static ALWAYS: org.spongepowered.api.scoreboard.CollisionRule; - // @ts-ignore - public static NEVER: org.spongepowered.api.scoreboard.CollisionRule; - // @ts-ignore - public static PUSH_OTHER_TEAMS: org.spongepowered.api.scoreboard.CollisionRule; - // @ts-ignore - public static PUSH_OWN_TEAM: org.spongepowered.api.scoreboard.CollisionRule; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Score.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Score.ts deleted file mode 100644 index 03bae56b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Score.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - // @ts-ignore - interface Score { - /** - * Gets the name of this score. - */ - // @ts-ignore - getName(): org.spongepowered.api.text.Text; - /** - * Gets the current score value. - */ - // @ts-ignore - getScore(): number; - /** - * Sets the current score value. - */ - // @ts-ignore - setScore(score: number): void; - /** - * Returns a {@link Set} of parent {@link Objective}s this {@link Score} is - * registered to. - */ - // @ts-ignore - getObjectives(): any[] /*java.util.Set*/; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Scoreboard.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Scoreboard.Builder.ts deleted file mode 100644 index a31712e8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Scoreboard.Builder.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - namespace Scoreboard { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the list of {@link Objective}s of the {@link Scoreboard}. - *

By default, this is the empty list.

- */ - // @ts-ignore - objectives(objectives: any[] /*java.util.List*/): org.spongepowered.api.scoreboard.Scoreboard.Builder; - /** - * Sets the list of {@link Team}s of the {@link Scoreboard}. - *

By default, this is the empty list.

- */ - // @ts-ignore - teams(teams: any[] /*java.util.List*/): org.spongepowered.api.scoreboard.Scoreboard.Builder; - /** - * Builds an instance of a {@link Scoreboard}. - */ - // @ts-ignore - build(): org.spongepowered.api.scoreboard.Scoreboard; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Scoreboard.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Scoreboard.ts deleted file mode 100644 index 1696743a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Scoreboard.ts +++ /dev/null @@ -1,100 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - // @ts-ignore - interface Scoreboard { - /** - * Creates a new {@link Builder} to build a {@link Scoreboard}. - */ - // @ts-ignore - builder(): org.spongepowered.api.scoreboard.Scoreboard.Builder; - /** - * Gets an {@link Objective} on this scoreboard by name, if it exists. - */ - // @ts-ignore - getObjective(name: string): any; - /** - * Gets the {@link Objective} currently displayed in a {@link DisplaySlot} on this - * scoreboard, if one is present. - */ - // @ts-ignore - getObjective(slot: org.spongepowered.api.scoreboard.displayslot.DisplaySlot): any; - /** - * Adds the specified {@link Objective} to this scoreboard. - */ - // @ts-ignore - addObjective(objective: org.spongepowered.api.scoreboard.objective.Objective): void; - /** - * Sets the specified {@link Objective} in the specified {@link DisplaySlot}. - *

If the {@link Objective} is null, then the specified - * {@link DisplaySlot} will be cleared.

- */ - // @ts-ignore - updateDisplaySlot(objective: org.spongepowered.api.scoreboard.objective.Objective, displaySlot: org.spongepowered.api.scoreboard.displayslot.DisplaySlot): void; - /** - * Clears any {@link Objective} in the specified slot. - */ - // @ts-ignore - clearSlot(slot: org.spongepowered.api.scoreboard.displayslot.DisplaySlot): void; - /** - * Gets all {@link Objective}s of a Criteria on this scoreboard. - */ - // @ts-ignore - getObjectivesByCriteria(criteria: org.spongepowered.api.scoreboard.critieria.Criterion): any[] /*java.util.Set*/; - /** - * Gets all {@link Objective}s on this scoreboard. - */ - // @ts-ignore - getObjectives(): any[] /*java.util.Set*/; - /** - * Removes the specified {@link Objective} from this scoreboard. - */ - // @ts-ignore - removeObjective(objective: org.spongepowered.api.scoreboard.objective.Objective): void; - /** - * Gets all the scores on this scoreboard, across all objectives. - *

If the same {@link Score} has been added to multiple objectives, - * it will only appear once in the set.

- */ - // @ts-ignore - getScores(): any[] /*java.util.Set*/; - /** - * Gets all scores with the specified name on this scoreboard, - * across all objectives. - *

If the same {@link Score} has been added to multiple objectives, - * it will only appear once in the set.

- */ - // @ts-ignore - getScores(name: org.spongepowered.api.text.Text): any[] /*java.util.Set*/; - /** - * Removes all scores with the specified name on this scoreboard, - * across all objectives. - */ - // @ts-ignore - removeScores(name: org.spongepowered.api.text.Text): void; - /** - * Gets a {@link Team} by name on this scoreboard. - */ - // @ts-ignore - getTeam(teamName: string): any; - /** - * Registers the specified {@link Team} to this scoreboard. - */ - // @ts-ignore - registerTeam(team: org.spongepowered.api.scoreboard.Team): void; - /** - * Gets all the {@link Team}s on this scoreboard. - */ - // @ts-ignore - getTeams(): any[] /*java.util.Set*/; - /** - * Gets a {@link Text} member's {@link Team} on this scoreboard. - */ - // @ts-ignore - getMemberTeam(member: org.spongepowered.api.text.Text): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Team.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Team.Builder.ts deleted file mode 100644 index 9de37081..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Team.Builder.ts +++ /dev/null @@ -1,92 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - namespace Team { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the name of the {@link Team}. - */ - // @ts-ignore - name(name: string): org.spongepowered.api.scoreboard.Team.Builder; - /** - * Sets the color of the {@link Team}. - *

The team's color is a distinct concept from its prefix or suffix. - * It is only used for colored sidebar display slots, and certain - * statistic criteria.

- */ - // @ts-ignore - color(color: org.spongepowered.api.text.format.TextColor): org.spongepowered.api.scoreboard.Team.Builder; - /** - * Sets the name displayed to users for the {@link Team}. - *

Display names may be truncated in order to meet an - * implementation-defined length limit. In Vanilla, this is sixteen - * characters.

- *

By default, this is set to {@link #name(String)}

- */ - // @ts-ignore - displayName(displayName: org.spongepowered.api.text.Text): org.spongepowered.api.scoreboard.Team.Builder; - /** - * Sets the prefix prepended to the display name of users on the - * {@link Team}. - *

Display names may be truncated in order to meet an - * implementation-defined length limit. In Vanilla, this is sixteen - * characters.

- */ - // @ts-ignore - prefix(prefix: org.spongepowered.api.text.Text): org.spongepowered.api.scoreboard.Team.Builder; - /** - * Sets the suffix appended to the display name of users on the - * {@link Team}. - *

Display names may be truncated in order to meet an - * implementation-defined length limit. In Vanilla, this is sixteen - * characters.

- */ - // @ts-ignore - suffix(suffix: org.spongepowered.api.text.Text): org.spongepowered.api.scoreboard.Team.Builder; - /** - * Sets whether friendly fire is enabled for the {@link Team}. - */ - // @ts-ignore - allowFriendlyFire(enabled: boolean): org.spongepowered.api.scoreboard.Team.Builder; - /** - * Sets whether invisible team members are shown for the - * {@link Team}. - */ - // @ts-ignore - canSeeFriendlyInvisibles(enabled: boolean): org.spongepowered.api.scoreboard.Team.Builder; - /** - * Sets the {@link Visibility} which controls to who nametags - * of players on the {@link Team} are visible to. - */ - // @ts-ignore - nameTagVisibility(visibility: org.spongepowered.api.scoreboard.Visibility): org.spongepowered.api.scoreboard.Team.Builder; - /** - * Sets the {@link Visibility} which controls who death Texts - * of players on the {@link Team} are visible to. - */ - // @ts-ignore - deathTextVisibility(visibility: org.spongepowered.api.scoreboard.Visibility): org.spongepowered.api.scoreboard.Team.Builder; - /** - * Sets the {@link CollisionRule} for this team's members. - */ - // @ts-ignore - collisionRule(rule: org.spongepowered.api.scoreboard.CollisionRule): org.spongepowered.api.scoreboard.Team.Builder; - /** - * Sets the set of {@link Text} members on the {@link Team}. - *

By default, this is the empty set.

- */ - // @ts-ignore - members(users: any[] /*java.util.Set*/): org.spongepowered.api.scoreboard.Team.Builder; - /** - * Builds an instance of a {@link Team}. - */ - // @ts-ignore - build(): org.spongepowered.api.scoreboard.Team; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Team.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Team.ts deleted file mode 100644 index 884a87cb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Team.ts +++ /dev/null @@ -1,163 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - // @ts-ignore - interface Team { - /** - * Creates a new {@link Builder} to build a {@link Team}. - */ - // @ts-ignore - builder(): org.spongepowered.api.scoreboard.Team.Builder; - /** - * Gets the name of this team. - */ - // @ts-ignore - getName(): string; - /** - * Gets the name displayed to users for this team. - */ - // @ts-ignore - getDisplayName(): org.spongepowered.api.text.Text; - /** - * Sets the name displayed to users for this team. - */ - // @ts-ignore - setDisplayName(displayName: org.spongepowered.api.text.Text): void; - /** - * Gets the color of this team. - *

The team's color is a distinct concept from its prefix or suffix. - * It is only used for colored sidebar display slots, and certain statistic - * criteria.

- */ - // @ts-ignore - getColor(): org.spongepowered.api.text.format.TextColor; - /** - * Sets the color of this team. - *

The team's color is a distinct concept from its prefix or suffix. - * It is only used for colored sidebar display slots, and certain statistic - * criteria.

- */ - // @ts-ignore - setColor(color: org.spongepowered.api.text.format.TextColor): void; - /** - * Gets the prefix prepended to the display name of users on this team. - */ - // @ts-ignore - getPrefix(): org.spongepowered.api.text.Text; - /** - * Sets the prefix prepended to the display name of users on this team. - */ - // @ts-ignore - setPrefix(prefix: org.spongepowered.api.text.Text): void; - /** - * Gets the suffix appended to the display name of users on this team. - */ - // @ts-ignore - getSuffix(): org.spongepowered.api.text.Text; - /** - * Sets the suffix appended to the display name of users on this team. - */ - // @ts-ignore - setSuffix(suffix: org.spongepowered.api.text.Text): void; - /** - * Gets whether friendly fire is enabled. - *

This option only controls players attacking other players. It has no - * affect other entities attacking other entities, or players attacking - * other entities (or vice-versa).

- */ - // @ts-ignore - allowFriendlyFire(): boolean; - /** - * Sets whether friendly fire is enabled. - */ - // @ts-ignore - setAllowFriendlyFire(enabled: boolean): void; - /** - * Gets whether invisible team members are shown. - */ - // @ts-ignore - canSeeFriendlyInvisibles(): boolean; - /** - * Sets whether invisible team members are shown. - */ - // @ts-ignore - setCanSeeFriendlyInvisibles(enabled: boolean): void; - /** - * Gets the {@link Visibility} which controls to who nametags - * of players on this team are visible to. - */ - // @ts-ignore - getNameTagVisibility(): org.spongepowered.api.scoreboard.Visibility; - /** - * Sets the {@link Visibility} which controls to who nametags - * of players on this team are visible to. - */ - // @ts-ignore - setNameTagVisibility(visibility: org.spongepowered.api.scoreboard.Visibility): void; - /** - * Gets the {@link Visibility} which controls who death Texts - * for players on this team are visible to. - */ - // @ts-ignore - getDeathMessageVisibility(): org.spongepowered.api.scoreboard.Visibility; - /** - * Sets the {@link Visibility} which controls who death Texts - * of players on this team are visible to. - */ - // @ts-ignore - setDeathMessageVisibility(visibility: org.spongepowered.api.scoreboard.Visibility): void; - /** - * Gets the {@link CollisionRule} for entities on this team. - */ - // @ts-ignore - getCollisionRule(): org.spongepowered.api.scoreboard.CollisionRule; - /** - * Sets the {@link CollisionRule} for entities on this team. - */ - // @ts-ignore - setCollisionRule(rule: org.spongepowered.api.scoreboard.CollisionRule): void; - /** - * Gets the {@link Text}s representing the members of this team. - */ - // @ts-ignore - getMembers(): any[] /*java.util.Set*/; - /** - * Adds the specified {@link Text} to this team. - *

While any {@link Text} may be added, the {@link Text} to use should - * normally be obtained by calling - * {@link TeamMember#getTeamRepresentation()} on a {@link TeamMember}, such - * as a {@link Player}.

- */ - // @ts-ignore - addMember(member: org.spongepowered.api.text.Text): void; - /** - * Removes the specified {@link Text} from this team. - *

While any {@link Text} may be removed, the {@link Text} - * to use should normally be obtained by calling {@link TeamMember#getTeamRepresentation()} - * on a {@link TeamMember}, such as a {@link Player}.

- */ - // @ts-ignore - removeMember(member: org.spongepowered.api.text.Text): boolean; - /** - * Returns the scoreboard this team is registered on, if available. - *

This will return {@link Optional#empty()} when a team has - * been removed from its {@link Scoreboard}, or has been created - * but not yet registered.

- */ - // @ts-ignore - getScoreboard(): any; - /** - * Unregisters this team from its {@link Scoreboard}, if present. - *

A team can still be fully used after being unregistered. However, - * it will not affect the game in any way until registered to a - * {@link Scoreboard} again, through - * {@link Scoreboard#registerTeam(Team)}.

- */ - // @ts-ignore - unregister(): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.TeamMember.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.TeamMember.ts deleted file mode 100644 index 73cd6ec2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.TeamMember.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - // @ts-ignore - interface TeamMember { - /** - * Gets a {@link Text} representing this team member, suitable for adding - * to an {@link Team} with {@link Team#addMember(Text)}. - */ - // @ts-ignore - getTeamRepresentation(): org.spongepowered.api.text.Text; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Visibilities.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Visibilities.ts deleted file mode 100644 index 96fa9f3e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Visibilities.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - // @ts-ignore - class Visibilities { - // @ts-ignore - public static ALWAYS: org.spongepowered.api.scoreboard.Visibility; - // @ts-ignore - public static HIDE_FOR_OTHER_TEAMS: org.spongepowered.api.scoreboard.Visibility; - // @ts-ignore - public static HIDE_FOR_OWN_TEAM: org.spongepowered.api.scoreboard.Visibility; - // @ts-ignore - public static NEVER: org.spongepowered.api.scoreboard.Visibility; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Visibility.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Visibility.ts deleted file mode 100644 index 0533164d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.Visibility.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - // @ts-ignore - interface Visibility extends org.spongepowered.api.CatalogType { - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.critieria.Criteria.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.critieria.Criteria.ts deleted file mode 100644 index e1c00d44..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.critieria.Criteria.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - namespace critieria { - // @ts-ignore - class Criteria { - // @ts-ignore - public static DEATHS: org.spongepowered.api.scoreboard.critieria.Criterion; - // @ts-ignore - public static DUMMY: org.spongepowered.api.scoreboard.critieria.Criterion; - // @ts-ignore - public static HEALTH: org.spongepowered.api.scoreboard.critieria.Criterion; - // @ts-ignore - public static PLAYER_KILLS: org.spongepowered.api.scoreboard.critieria.Criterion; - // @ts-ignore - public static TOTAL_KILLS: org.spongepowered.api.scoreboard.critieria.Criterion; - // @ts-ignore - public static TRIGGER: org.spongepowered.api.scoreboard.critieria.Criterion; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.critieria.Criterion.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.critieria.Criterion.ts deleted file mode 100644 index 9a56614f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.critieria.Criterion.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - namespace critieria { - // @ts-ignore - interface Criterion extends org.spongepowered.api.CatalogType { - /** - * Gets the name of this criterion. - */ - // @ts-ignore - getName(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.displayslot.DisplaySlot.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.displayslot.DisplaySlot.Builder.ts deleted file mode 100644 index db5d16e8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.displayslot.DisplaySlot.Builder.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - namespace displayslot { - namespace DisplaySlot { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the {@link TextColor} of the display slot. - */ - // @ts-ignore - sidebarTeamColor(color: org.spongepowered.api.text.format.TextColor): org.spongepowered.api.scoreboard.displayslot.DisplaySlot.Builder; - /** - * Builds an instance of a {@link DisplaySlot}. - */ - // @ts-ignore - build(): org.spongepowered.api.scoreboard.displayslot.DisplaySlot; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.displayslot.DisplaySlot.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.displayslot.DisplaySlot.ts deleted file mode 100644 index fb5a992e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.displayslot.DisplaySlot.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - namespace displayslot { - // @ts-ignore - interface DisplaySlot extends org.spongepowered.api.CatalogType { - /** - * Gets the {@link Team} color that this objective will display for, if set. - */ - // @ts-ignore - getTeamColor(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.displayslot.DisplaySlots.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.displayslot.DisplaySlots.ts deleted file mode 100644 index 8210e98b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.displayslot.DisplaySlots.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - namespace displayslot { - // @ts-ignore - class DisplaySlots { - // @ts-ignore - public static BELOW_NAME: org.spongepowered.api.scoreboard.displayslot.DisplaySlot; - // @ts-ignore - public static LIST: org.spongepowered.api.scoreboard.displayslot.DisplaySlot; - // @ts-ignore - public static SIDEBAR: org.spongepowered.api.scoreboard.displayslot.DisplaySlot; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.Objective.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.Objective.Builder.ts deleted file mode 100644 index bebf6df2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.Objective.Builder.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - namespace objective { - namespace Objective { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the name of the {@link Objective}. - */ - // @ts-ignore - name(name: string): org.spongepowered.api.scoreboard.objective.Objective.Builder; - /** - * Sets the display name of the {@link Objective}. - */ - // @ts-ignore - displayName(displayName: org.spongepowered.api.text.Text): org.spongepowered.api.scoreboard.objective.Objective.Builder; - /** - * Sets the {@link Criterion} of the {@link Objective}. - */ - // @ts-ignore - criterion(criterion: org.spongepowered.api.scoreboard.critieria.Criterion): org.spongepowered.api.scoreboard.objective.Objective.Builder; - /** - * Sets the {@link ObjectiveDisplayMode} of the {@link Objective}. - */ - // @ts-ignore - objectiveDisplayMode(objectiveDisplayMode: org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayMode): org.spongepowered.api.scoreboard.objective.Objective.Builder; - /** - * Builds an instance of an {@link Objective}. - */ - // @ts-ignore - build(): org.spongepowered.api.scoreboard.objective.Objective; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.Objective.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.Objective.ts deleted file mode 100644 index 0cde65e4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.Objective.ts +++ /dev/null @@ -1,90 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - namespace objective { - // @ts-ignore - interface Objective { - /** - * Creates a new {@link Builder} to build a {@link Objective}. - */ - // @ts-ignore - builder(): org.spongepowered.api.scoreboard.objective.Objective.Builder; - /** - * Gets the name of this Objective. - */ - // @ts-ignore - getName(): string; - /** - * Gets the name displayed to players. - */ - // @ts-ignore - getDisplayName(): org.spongepowered.api.text.Text; - /** - * Sets the name displayed to players. - */ - // @ts-ignore - setDisplayName(displayName: org.spongepowered.api.text.Text): void; - /** - * Gets the criterion for this objective. - */ - // @ts-ignore - getCriterion(): org.spongepowered.api.scoreboard.critieria.Criterion; - /** - * Gets the {@link ObjectiveDisplayMode} used to display this objective. - */ - // @ts-ignore - getDisplayMode(): org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayMode; - /** - * Sets the {@link ObjectiveDisplayMode} used to display this objective. - */ - // @ts-ignore - setDisplayMode(displayMode: org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayMode): void; - /** - * Gets the set of {@link Score}s for this objective. - */ - // @ts-ignore - getScores(): Map /*java.util.Map*/; - /** - * Returns whether this objective has a {@link Score} with the given name. - */ - // @ts-ignore - hasScore(name: org.spongepowered.api.text.Text): boolean; - /** - * Adds the specified {@link Score} to this objective. - */ - // @ts-ignore - addScore(score: org.spongepowered.api.scoreboard.Score): void; - /** - * Gets an entry's {@link Score} for this objective, if it exists. - */ - // @ts-ignore - getScore(name: org.spongepowered.api.text.Text): any; - /** - * Gets an entry's {@link Score} for this objective. - *

If the {@link Score} does not exist, it will be created.

- */ - // @ts-ignore - getOrCreateScore(name: org.spongepowered.api.text.Text): org.spongepowered.api.scoreboard.Score; - /** - * Removes the specified {@link Score} from this objective, if present. - */ - // @ts-ignore - removeScore(score: org.spongepowered.api.scoreboard.Score): boolean; - /** - * Removes the {@link Score} with the specified name from this objective, if present. - */ - // @ts-ignore - removeScore(name: org.spongepowered.api.text.Text): boolean; - /** - * Returns a {@link Set} of parent {@link Scoreboard}s this - * {@link Objective} is registered to. - */ - // @ts-ignore - getScoreboards(): any[] /*java.util.Set*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayMode.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayMode.ts deleted file mode 100644 index 128d2547..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayMode.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - namespace objective { - namespace displaymode { - // @ts-ignore - interface ObjectiveDisplayMode extends org.spongepowered.api.CatalogType { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayModes.ts b/packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayModes.ts deleted file mode 100644 index ca70d545..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayModes.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace scoreboard { - namespace objective { - namespace displaymode { - // @ts-ignore - class ObjectiveDisplayModes { - // @ts-ignore - public static HEARTS: org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayMode; - // @ts-ignore - public static INTEGER: org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayMode; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.ProviderRegistration.ts b/packages/sponge/src/typings/org.spongepowered.api.service.ProviderRegistration.ts deleted file mode 100644 index be23d657..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.ProviderRegistration.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - // @ts-ignore - interface ProviderRegistration { - /** - * Gets the service of this provider registration. - */ - // @ts-ignore - getService(): any; - /** - * Gets the service provider of this provider registration. - */ - // @ts-ignore - getProvider(): any; - /** - * Gets the {@link PluginContainer} that registered the provider of this - * provider registration. - */ - // @ts-ignore - getPlugin(): org.spongepowered.api.plugin.PluginContainer; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.ProvisioningException.ts b/packages/sponge/src/typings/org.spongepowered.api.service.ProvisioningException.ts deleted file mode 100644 index 109bde25..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.ProvisioningException.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - // @ts-ignore - class ProvisioningException { - /** - * Constructs a new {@link ProvisioningException} for the specified service. - */ - constructor(service: any) - /** - * Constructs a new {@link ProvisioningException} for the specified service with - * the specified message. - */ - constructor(message: string, service: any) - /** - * Constructs a new {@link ProvisioningException} for the specified service with - * the specified service and cause. - */ - constructor(message: string, cause: any, service: any) - /** - * Constructs a new {@link ProvisioningException} for the specified service with - * the specified cause and a null message. - */ - constructor(cause: any, service: any) - /** - * Gets the service that was requested. - */ - // @ts-ignore - public getService(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.ServiceManager.ts b/packages/sponge/src/typings/org.spongepowered.api.service.ServiceManager.ts deleted file mode 100644 index cc04311e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.ServiceManager.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - // @ts-ignore - interface ServiceManager { - /** - * Register a provider with the service manager. - *

Services are by definition replaceable at any given time.

- *

Services should only be registered during initialization. If services - * are registered later, then they may not be utilized.

- */ - // @ts-ignore - setProvider(plugin: any, service: any, provider: any): void; - /** - * Return a provider for the given service, if one is available. - *

The returned provider may be a proxy to the real underlying proxy, - * depending on the implementation of the service manager.

- */ - // @ts-ignore - provide(service: any): any; - /** - * Gets the {@link ProviderRegistration} for the given service, if available. - */ - // @ts-ignore - getRegistration(service: any): any; - /** - * Gets whether the class of the type of service is already registered with - * this manager. This does not register or unregister any services. - */ - // @ts-ignore - isRegistered(service: any): boolean; - /** - * Return a provider for the given service, raising an unchecked exception - * if a provider does not exist. - *

The returned provider may be a proxy to the real underlying proxy, - * depending on the implementation of the service manager.

- */ - // @ts-ignore - provideUnchecked(service: any): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.SimpleServiceManager.ts b/packages/sponge/src/typings/org.spongepowered.api.service.SimpleServiceManager.ts deleted file mode 100644 index caab9d98..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.SimpleServiceManager.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - // @ts-ignore - class SimpleServiceManager implements org.spongepowered.api.service.ServiceManager { - /** - * Construct a simple {@link ServiceManager}. - */ - constructor(pluginManager: org.spongepowered.api.plugin.PluginManager) - // @ts-ignore - public setProvider(plugin: any, service: any, provider: any): void; - // @ts-ignore - public provide(service: any): any; - // @ts-ignore - public getRegistration(service: any): any; - // @ts-ignore - public provideUnchecked(service: any): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.ban.BanService.ts b/packages/sponge/src/typings/org.spongepowered.api.service.ban.BanService.ts deleted file mode 100644 index 41060f65..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.ban.BanService.ts +++ /dev/null @@ -1,75 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace ban { - // @ts-ignore - interface BanService { - /** - * Gets all bans registered. - */ - // @ts-ignore - getBans(): any[] /*java.util.Collection*/; - /** - * Gets all {@link GameProfile} bans registered. - */ - // @ts-ignore - getProfileBans(): any[] /*java.util.Collection*/; - /** - * Gets all IP bans registered. - */ - // @ts-ignore - getIpBans(): any[] /*java.util.Collection*/; - /** - * Gets the ban for the given {@link GameProfile}, if available. - */ - // @ts-ignore - getBanFor(profile: org.spongepowered.api.profile.GameProfile): any; - /** - * Gets the ban for the given address, if available. - */ - // @ts-ignore - getBanFor(address: any): any; - /** - * Checks if a {@link GameProfile} has a ban. - */ - // @ts-ignore - isBanned(profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Checks if an IP has a ban. - */ - // @ts-ignore - isBanned(address: any): boolean; - /** - * Pardons a profile, or removes its ban, if present. - */ - // @ts-ignore - pardon(profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Pardons an IP address, or removes its ban, if present. - */ - // @ts-ignore - pardon(address: any): boolean; - /** - * Removes a ban. - */ - // @ts-ignore - removeBan(ban: org.spongepowered.api.util.ban.Ban): boolean; - /** - * Adds a ban. - *

If the GameProfile or IP address of the ban already has a ban set, - * the passed in ban will replace the existing ban.

- */ - // @ts-ignore - addBan(ban: org.spongepowered.api.util.ban.Ban): any; - /** - * Checks if the specified ban is present. - */ - // @ts-ignore - hasBan(ban: org.spongepowered.api.util.ban.Ban): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.context.Context.ts b/packages/sponge/src/typings/org.spongepowered.api.service.context.Context.ts deleted file mode 100644 index 1510d5be..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.context.Context.ts +++ /dev/null @@ -1,59 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace context { - // @ts-ignore - class Context { - /** - * Create a new context instance. - */ - constructor(key: string, value: string) - // @ts-ignore - public static USER_KEY: string; - // @ts-ignore - public static WORLD_KEY: string; - // @ts-ignore - public static DIMENSION_KEY: string; - // @ts-ignore - public static REMOTE_IP_KEY: string; - // @ts-ignore - public static LOCAL_HOST_KEY: string; - // @ts-ignore - public static LOCAL_IP_KEY: string; - // @ts-ignore - public static LOCAL_PORT_KEY: string; - /** - * Gets the context key. - */ - // @ts-ignore - public getKey(): string; - /** - * Gets the context value. - */ - // @ts-ignore - public getValue(): string; - /** - * Alias method for {@link #getKey()}. - */ - // @ts-ignore - public getType(): string; - /** - * Alias method for {@link #getValue()}. - */ - // @ts-ignore - public getName(): string; - // @ts-ignore - public setValue(value: string): string; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.context.ContextCalculator.ts b/packages/sponge/src/typings/org.spongepowered.api.service.context.ContextCalculator.ts deleted file mode 100644 index ec30c58e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.context.ContextCalculator.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace context { - // @ts-ignore - interface ContextCalculator { - /** - * Creates a new {@link ContextCalculator} that provides a single context. - */ - // @ts-ignore - forSingleContext(key: string, valueFunction: any): org.spongepowered.api.service.context.ContextCalculator; - /** - * Adds any {@link Context}s this calculator determines to be applicable to - * the {@code target} contextual. - *

Care should be taken to ensure implementations of this method meet the - * general requirements for {@link ContextCalculator}, defined in the class - * doc.

- *

Calculators should not rely on the state of {@code accumulator} during - * this call, and also shouldn't make calls to remove contexts added by - * other calculators.

- */ - // @ts-ignore - accumulateContexts(target: org.spongepowered.api.service.context.Contextual, accumulator: any[] /*java.util.Set*/): void; - /** - * Checks if a {@link Context} is currently applicable to a - * {@link Contextual}. - *

If this calculator does not handle the given type of context, this - * method should return false.

- *

For the given set of contexts which would be accumulated using - * {@link #accumulateContexts(Contextual, Set)}, this method should return - * true if the given context would be included in the accumulated set.

- */ - // @ts-ignore - matches(context: org.spongepowered.api.service.context.Context, target: org.spongepowered.api.service.context.Contextual): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.context.ContextSource.ts b/packages/sponge/src/typings/org.spongepowered.api.service.context.ContextSource.ts deleted file mode 100644 index 93431b2e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.context.ContextSource.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace context { - // @ts-ignore - interface ContextSource { - /** - * Returns the context most relevant to this object. - *

This context may or may not be the same across multiple invocations.

- */ - // @ts-ignore - getContext(): org.spongepowered.api.service.context.Context; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.context.Contextual.ts b/packages/sponge/src/typings/org.spongepowered.api.service.context.Contextual.ts deleted file mode 100644 index 2c86eb80..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.context.Contextual.ts +++ /dev/null @@ -1,42 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace context { - // @ts-ignore - interface Contextual { - /** - * Returns the identifier associated with this Contextual. - *

The identifier of each distinct Contextual within a collection of - * contextuals should be unique.

- *

Not guaranteed to be human-readable. Use - * {@link #getFriendlyIdentifier()} for a more readable alternative.

- */ - // @ts-ignore - getIdentifier(): string; - /** - * Returns the friendly identifier associated with this Contextual. - *

Unlike {@link #getIdentifier()}, this value is not guaranteed to be - * unique.

- *

If the friendly identifier is equal to the normal identifier, - * this method should return {@link Optional#empty()}.

- *

Contextuals which represent a Player or a User should return the - * username here, if available.

- */ - // @ts-ignore - getFriendlyIdentifier(): any; - /** - * Calculates the objects active contexts at the given moment, using the - * {@link ContextCalculator}s held by the {@link ContextualService}. - *

"Active" contexts refers to the contexts currently applicable to the - * contextual.

- *

The result of these calculations may be cached.

- */ - // @ts-ignore - getActiveContexts(): any[] /*java.util.Set*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.context.ContextualService.ts b/packages/sponge/src/typings/org.spongepowered.api.service.context.ContextualService.ts deleted file mode 100644 index 5468852f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.context.ContextualService.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace context { - // @ts-ignore - interface ContextualService { - /** - * Registers a {@link ContextCalculator} for use by this service. - *

It is not guaranteed that the calculator will be used by the service, - * as some implementations may not support contexts.

- */ - // @ts-ignore - registerContextCalculator(calculator: org.spongepowered.api.service.context.ContextCalculator): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.economy.Currency.ts b/packages/sponge/src/typings/org.spongepowered.api.service.economy.Currency.ts deleted file mode 100644 index c41dd30c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.economy.Currency.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace economy { - // @ts-ignore - interface Currency extends org.spongepowered.api.CatalogType { - /** - * The currency's display name, in singular form. Ex: Dollar. - *

This should be preferred over {@link CatalogType#getName()} - * for display purposes.

- */ - // @ts-ignore - getDisplayName(): org.spongepowered.api.text.Text; - /** - * The currency's display name in plural form. Ex: Dollars. - *

Not all currencies will have a plural name that differs from the - * display name.

- */ - // @ts-ignore - getPluralDisplayName(): org.spongepowered.api.text.Text; - /** - * The currency's symbol. Ex. $ - */ - // @ts-ignore - getSymbol(): org.spongepowered.api.text.Text; - /** - * Formats the given amount using the default number of fractional digits. - *

Should include the symbol if it is present

- */ - // @ts-ignore - format(amount: any): org.spongepowered.api.text.Text; - /** - * Formats the given amount using the specified number of fractional digits. - *

Should include the symbol if it is present

- */ - // @ts-ignore - format(amount: any, numFractionDigits: number): org.spongepowered.api.text.Text; - /** - * This is the default number of fractional digits that is utilized for - * formatting purposes. - */ - // @ts-ignore - getDefaultFractionDigits(): number; - /** - * Returns true if this currency is the default currency for the economy, - * otherwise false. - */ - // @ts-ignore - isDefault(): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.economy.EconomyService.ts b/packages/sponge/src/typings/org.spongepowered.api.service.economy.EconomyService.ts deleted file mode 100644 index 2d363645..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.economy.EconomyService.ts +++ /dev/null @@ -1,59 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace economy { - // @ts-ignore - interface EconomyService extends org.spongepowered.api.service.context.ContextualService { - /** - * Retrieves the default {@link Currency} used by the {@link EconomyService}. - */ - // @ts-ignore - getDefaultCurrency(): org.spongepowered.api.service.economy.Currency; - /** - * Returns the {@link Set} of supported {@link Currency} objects that are - * implemented by this EconomyService. - *

The economy service provider may only support one currency, in which - * case {@link #getDefaultCurrency()} will be the only member of the set.

- *

The set returned is a read-only a view of all currencies available in - * the EconomyService.

- */ - // @ts-ignore - getCurrencies(): any[] /*java.util.Set*/; - /** - * Returns whether a {@link UniqueAccount} exists with the specified {@link UUID}. - */ - // @ts-ignore - hasAccount(uuid: any): boolean; - /** - * Returns whether an {@link Account} with the specified identifier exists. - *

Depending on the implementation, the {@link Account} may be a - * {@link UniqueAccount} or a {@link VirtualAccount}. - */ - // @ts-ignore - hasAccount(identifier: string): boolean; - /** - * Gets the {@link UniqueAccount} for the user with the specified {@link UUID}. - *

If an account does not already exists with the specified {@link UUID}, - * it will be created.

- *

Creation might fail if the provided {@link UUID} does not correspond to - * an actual player, or for an implementation-defined reason.

- */ - // @ts-ignore - getOrCreateAccount(uuid: any): any; - /** - * Gets the {@link VirtualAccount} with the specified identifier. - *

Depending on the implementation, the {@link Account} may be a - * {@link UniqueAccount} or a {@link VirtualAccount}.

- *

If an account does not already exists with the specified identifier, - * it will be created.

- *

Creation may fail for an implementation-defined reason.

- */ - // @ts-ignore - getOrCreateAccount(identifier: string): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.economy.account.Account.ts b/packages/sponge/src/typings/org.spongepowered.api.service.economy.account.Account.ts deleted file mode 100644 index e6256dae..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.economy.account.Account.ts +++ /dev/null @@ -1,190 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace economy { - namespace account { - // @ts-ignore - interface Account extends org.spongepowered.api.service.context.Contextual { - /** - * Gets the display name for this account. - *

This should be used by plugins to get a human-readable name for an - * account, regardless of the specific type ({@link UniqueAccount} or - * {@link VirtualAccount}).

- *

Its contents are dependent on the provider of {@link EconomyService}. - * For example, an economy plugin could allow players to configure the - * display name of their account

. - */ - // @ts-ignore - getDisplayName(): org.spongepowered.api.text.Text; - /** - * Gets the default balance of this account for the specified - * {@link Currency}. - *

The default balance is used when the balance is retrieved for the - * first time for a given {@link Currency} on this account, or if no - * balance is available for the {@link Context}s used when retrieving - * a balance.

- */ - // @ts-ignore - getDefaultBalance(currency: org.spongepowered.api.service.economy.Currency): any; - /** - * Returns whether this account has a set balance for the specified - * {@link Currency}, with the specified {@link Context}s. - *

If this method returns false, then - * {@link #getDefaultBalance(Currency)} will be used when - * retrieving a balance for the specified {@link Currency} with - * the specified {@link Context}s.

- */ - // @ts-ignore - hasBalance(currency: org.spongepowered.api.service.economy.Currency, contexts: any[] /*java.util.Set*/): boolean; - /** - * Returns whether this account has a set balance for the specified - * {@link Currency}, with the current active contexts. - *

If this method returns false, then - * {@link #getDefaultBalance(Currency)} will be used when retrieving - * a balance for the specifid {@link Currency} with - * the current active contexts

. - */ - // @ts-ignore - hasBalance(currency: org.spongepowered.api.service.economy.Currency): boolean; - /** - * Returns a {@link BigDecimal} representative of the balance stored within this - * {@link Account} for the {@link Currency} given and the set of {@link Context}s. - *

The default result when the account does not have a balance of the - * given {@link Currency} should be {@link BigDecimal#ZERO}.

- *

The balance may be unavailable depending on the set of - * {@link Context}s used.

- */ - // @ts-ignore - getBalance(currency: org.spongepowered.api.service.economy.Currency, contexts: any[] /*java.util.Set*/): any; - /** - * Returns a {@link BigDecimal} representative of the balance stored - * within this {@link Account} for the {@link Currency} given, with - * the current active contexts. - *

The default result when the account does not have a balance of the - * given {@link Currency} will be {@link #getDefaultBalance(Currency)}.

- */ - // @ts-ignore - getBalance(currency: org.spongepowered.api.service.economy.Currency): any; - /** - * Returns a {@link Map} of all currently set balances the account holds - * within the set of {@link Context}s. - *

Amounts may differ depending on the {@link Context}s specified and - * the implementation. The set of {@link Context}s may be empty.

- *

{@link Currency} amounts which are 0 may or may not be included in - * the returned mapping.

- *

Changes to the returned {@link Map} will not be reflected in - * the underlying {@link Account}. See - * {@link #setBalance(Currency, BigDecimal, Cause, Set)} to set values.

- */ - // @ts-ignore - getBalances(contexts: any[] /*java.util.Set*/): Map /*java.util.Map*/; - /** - * Returns a {@link Map} of all currently set balances the account holds - * within the current active {@link Context}s.2 - *

Amounts may differ depending on the {@link Context}s specified and - * the implementation. The set of {@link Context}s may be empty.

- *

{@link Currency} amounts which are 0 may or may not be included in - * the returned mapping.

- *

Changes to the returned {@link Map} will not be reflected in - * the underlying {@link Account} and may result in runtime exceptions - * depending on implementation. See - * {@link #setBalance(Currency, BigDecimal, Cause, Set)} to set values.

- */ - // @ts-ignore - getBalances(): Map /*java.util.Map*/; - /** - * Sets the balance for this account to the specified amount for - * the specified {@link Currency}, with the specified set of {@link Context}s. - *

Negative balances may or may not be supported depending on - * the {@link Currency} specified and the implementation.

- */ - // @ts-ignore - setBalance(currency: org.spongepowered.api.service.economy.Currency, amount: any, cause: org.spongepowered.api.event.cause.Cause, contexts: any[] /*java.util.Set*/): org.spongepowered.api.service.economy.transaction.TransactionResult; - /** - * Sets the balance for this account to the specified amount for the - * specified {@link Currency}, with the current active {@link Context}s. - *

Negative balances may or may not be supported depending on - * the {@link Currency} specified and the implementation.

- */ - // @ts-ignore - setBalance(currency: org.spongepowered.api.service.economy.Currency, amount: any, cause: org.spongepowered.api.event.cause.Cause): org.spongepowered.api.service.economy.transaction.TransactionResult; - /** - * Resets the balances for all {@link Currency}s used on this account - * to their default values ({@link #getDefaultBalance(Currency)}), - * using the specified {@link Context}s. - */ - // @ts-ignore - resetBalances(cause: org.spongepowered.api.event.cause.Cause, contexts: any[] /*java.util.Set*/): Map /*java.util.Map*/; - /** - * Resets the balances for all {@link Currency}s used on this account to - * their default values ({@link #getDefaultBalance(Currency)}), using - * the current active {@link Context}. - */ - // @ts-ignore - resetBalances(cause: org.spongepowered.api.event.cause.Cause): Map /*java.util.Map*/; - /** - * Resets the balance for the specified {@link Currency} to its default - * value ({@link #getDefaultBalance(Currency)}), using - * the specified {@link Context}s. - */ - // @ts-ignore - resetBalance(currency: org.spongepowered.api.service.economy.Currency, cause: org.spongepowered.api.event.cause.Cause, contexts: any[] /*java.util.Set*/): org.spongepowered.api.service.economy.transaction.TransactionResult; - /** - * Resets the balance for the specified {@link Currency} to its default - * value ({@link #getDefaultBalance(Currency)}), - * using the current active {@link Context}s. - */ - // @ts-ignore - resetBalance(currency: org.spongepowered.api.service.economy.Currency, cause: org.spongepowered.api.event.cause.Cause): org.spongepowered.api.service.economy.transaction.TransactionResult; - /** - * Deposits the specified amount of the specified {@link Currency} to - * this account, using the specified {@link Context}s. - */ - // @ts-ignore - deposit(currency: org.spongepowered.api.service.economy.Currency, amount: any, cause: org.spongepowered.api.event.cause.Cause, contexts: any[] /*java.util.Set*/): org.spongepowered.api.service.economy.transaction.TransactionResult; - /** - * Deposits the given amount of the specified {@link Currency} to - * this account, using the current active {@link Context}s. - */ - // @ts-ignore - deposit(currency: org.spongepowered.api.service.economy.Currency, amount: any, cause: org.spongepowered.api.event.cause.Cause): org.spongepowered.api.service.economy.transaction.TransactionResult; - /** - * Withdraws the specified amount of the specified {@link Currency} from - * this account, using the specified {@link Context}s. - */ - // @ts-ignore - withdraw(currency: org.spongepowered.api.service.economy.Currency, amount: any, cause: org.spongepowered.api.event.cause.Cause, contexts: any[] /*java.util.Set*/): org.spongepowered.api.service.economy.transaction.TransactionResult; - /** - * Withdraws the specified amount of the specified {@link Currency} from - * this account, using the current active {@link Context}s. - */ - // @ts-ignore - withdraw(currency: org.spongepowered.api.service.economy.Currency, amount: any, cause: org.spongepowered.api.event.cause.Cause): org.spongepowered.api.service.economy.transaction.TransactionResult; - /** - * Transfers the specified amount of the specified {@link Currency} - * from this account the destination account, - * using the specified {@link Context}s. - *

This operation is a merged {@link #withdraw(Currency, BigDecimal, Cause, Set)} - * from this account with a {@link #deposit(Currency, BigDecimal, Cause, Set)} - * into the specified account.

- */ - // @ts-ignore - transfer(to: org.spongepowered.api.service.economy.account.Account, currency: org.spongepowered.api.service.economy.Currency, amount: any, cause: org.spongepowered.api.event.cause.Cause, contexts: any[] /*java.util.Set*/): org.spongepowered.api.service.economy.transaction.TransferResult; - /** - * Transfers the specified amount of the specified {@link Currency} - * from this account the destination account, - * using the current active {@link Context}s. - *

This operation is a merged {@link #withdraw(Currency, BigDecimal, Cause, Set)} - * from this account with a {@link #deposit(Currency, BigDecimal, Cause, Set)} - * into the specified account.

- */ - // @ts-ignore - transfer(to: org.spongepowered.api.service.economy.account.Account, currency: org.spongepowered.api.service.economy.Currency, amount: any, cause: org.spongepowered.api.event.cause.Cause): org.spongepowered.api.service.economy.transaction.TransferResult; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.economy.account.UniqueAccount.ts b/packages/sponge/src/typings/org.spongepowered.api.service.economy.account.UniqueAccount.ts deleted file mode 100644 index ee8062a1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.economy.account.UniqueAccount.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace economy { - namespace account { - // @ts-ignore - interface UniqueAccount extends org.spongepowered.api.service.economy.account.Account, org.spongepowered.api.util.Identifiable { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.economy.account.VirtualAccount.ts b/packages/sponge/src/typings/org.spongepowered.api.service.economy.account.VirtualAccount.ts deleted file mode 100644 index 2838003c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.economy.account.VirtualAccount.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace economy { - namespace account { - // @ts-ignore - interface VirtualAccount extends org.spongepowered.api.service.economy.account.Account { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.ResultType.ts b/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.ResultType.ts deleted file mode 100644 index 076e739c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.ResultType.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace economy { - namespace transaction { - // @ts-ignore - class ResultType { - // @ts-ignore - public static SUCCESS: org.spongepowered.api.service.economy.transaction.ResultType; - // @ts-ignore - public static CONTEXT_MISMATCH: org.spongepowered.api.service.economy.transaction.ResultType; - // @ts-ignore - public static FAILED: org.spongepowered.api.service.economy.transaction.ResultType; - // @ts-ignore - public static ACCOUNT_NO_FUNDS: org.spongepowered.api.service.economy.transaction.ResultType; - // @ts-ignore - public static ACCOUNT_NO_SPACE: org.spongepowered.api.service.economy.transaction.ResultType; - // @ts-ignore - public static values(): org.spongepowered.api.service.economy.transaction.ResultType[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.service.economy.transaction.ResultType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransactionResult.ts b/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransactionResult.ts deleted file mode 100644 index 7d655e5c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransactionResult.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace economy { - namespace transaction { - // @ts-ignore - interface TransactionResult { - /** - * Gets the {@link Account} involved in the transaction. - */ - // @ts-ignore - getAccount(): org.spongepowered.api.service.economy.account.Account; - /** - * Gets the {@link Currency} involved in the transaction. - */ - // @ts-ignore - getCurrency(): org.spongepowered.api.service.economy.Currency; - /** - * Gets the amount of the {@link Currency} involved in the transaction. - */ - // @ts-ignore - getAmount(): any; - /** - * Returns the set of {@link Context}s used to perform the - * transaction. - */ - // @ts-ignore - getContexts(): any[] /*java.util.Set*/; - /** - * Gets the {@link ResultType} of this transaction. - */ - // @ts-ignore - getResult(): org.spongepowered.api.service.economy.transaction.ResultType; - /** - * Returns the {@link TransactionType} of this result. - */ - // @ts-ignore - getType(): org.spongepowered.api.service.economy.transaction.TransactionType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransactionType.ts b/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransactionType.ts deleted file mode 100644 index 81365a2b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransactionType.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace economy { - namespace transaction { - // @ts-ignore - interface TransactionType extends org.spongepowered.api.CatalogType { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransactionTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransactionTypes.ts deleted file mode 100644 index 8bc05a21..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransactionTypes.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace economy { - namespace transaction { - // @ts-ignore - class TransactionTypes { - // @ts-ignore - public static DEPOSIT: org.spongepowered.api.service.economy.transaction.TransactionType; - // @ts-ignore - public static TRANSFER: org.spongepowered.api.service.economy.transaction.TransactionType; - // @ts-ignore - public static WITHDRAW: org.spongepowered.api.service.economy.transaction.TransactionType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransferResult.ts b/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransferResult.ts deleted file mode 100644 index c718c162..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.economy.transaction.TransferResult.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace economy { - namespace transaction { - // @ts-ignore - interface TransferResult extends org.spongepowered.api.service.economy.transaction.TransactionResult { - /** - * Gets the {@link Account} that an amount of a {@link Currency} is being transferred to. - *

{@link #getAccount()} can be used to get the {@link Account} that the currency - * is being transferred from.

- */ - // @ts-ignore - getAccountTo(): org.spongepowered.api.service.economy.account.Account; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.pagination.PaginationList.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.service.pagination.PaginationList.Builder.ts deleted file mode 100644 index 2a6ccce4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.pagination.PaginationList.Builder.ts +++ /dev/null @@ -1,81 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace pagination { - namespace PaginationList { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the contents of this output as an iterable. - *

If this {@link Iterable} is a {@link List}, bidirectional - * navigation is supported. Otherwise, only going to the next page will - * be supported.

- */ - // @ts-ignore - contents(contents: any): org.spongepowered.api.service.pagination.PaginationList.Builder; - /** - * Sets the contents of this output to be the given array of contents. - */ - // @ts-ignore - contents(contents: org.spongepowered.api.text.Text): org.spongepowered.api.service.pagination.PaginationList.Builder; - /** - * Sets the title text to be used in the title bar of this pagination. - *

This should be less than one line long.

- */ - // @ts-ignore - title(title: org.spongepowered.api.text.Text): org.spongepowered.api.service.pagination.PaginationList.Builder; - /** - * Sets the header to be displayed for this output on all pages after - * the title bar but before the contents. - *

The header and footer will use this Text's style and color for - * formatting.

- *

If the header is not specified, or passed in as null, - * it will be omitted when displaying the list.

- */ - // @ts-ignore - header(header: org.spongepowered.api.text.Text): org.spongepowered.api.service.pagination.PaginationList.Builder; - /** - * Sets the footer to be displayed for this output on all pages after - * the contents and page navigation bar. - *

If the footer is not specified, or passed in as null, - * it will be omitted when displaying the list.

- */ - // @ts-ignore - footer(footer: org.spongepowered.api.text.Text): org.spongepowered.api.service.pagination.PaginationList.Builder; - /** - * Sets the padding character to be used when centering headers and - * footers. - */ - // @ts-ignore - padding(padding: org.spongepowered.api.text.Text): org.spongepowered.api.service.pagination.PaginationList.Builder; - /** - * Sets the maximum number of lines that can be displayed per page. - *

This defaults to the maximum amount of lines that can be displayed - * on a source's screen at one time if not specified.

- */ - // @ts-ignore - linesPerPage(linesPerPage: number): org.spongepowered.api.service.pagination.PaginationList.Builder; - /** - * Creates a {@link PaginationList} from this pagination builder. - */ - // @ts-ignore - build(): org.spongepowered.api.service.pagination.PaginationList; - /** - * Sends the constructed pagination list to the given receiver. - */ - // @ts-ignore - sendTo(receiver: org.spongepowered.api.text.channel.MessageReceiver): org.spongepowered.api.service.pagination.PaginationList; - /** - * Sends the constructed pagination list to all - * {@link MessageReceiver}s within an {@link Iterable}. - */ - // @ts-ignore - sendTo(receivers: any): org.spongepowered.api.service.pagination.PaginationList; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.pagination.PaginationList.ts b/packages/sponge/src/typings/org.spongepowered.api.service.pagination.PaginationList.ts deleted file mode 100644 index 602593a4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.pagination.PaginationList.ts +++ /dev/null @@ -1,81 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace pagination { - // @ts-ignore - interface PaginationList { - /** - * Creates a new {@link Builder} to build a pagination list. - */ - // @ts-ignore - builder(): org.spongepowered.api.service.pagination.PaginationList.Builder; - /** - * Gets the contents of this pagination list. - */ - // @ts-ignore - getContents(): any; - /** - * Gets the title text to be used in the title bar of this pagination. - */ - // @ts-ignore - getTitle(): any; - /** - * Gets the header to be displayed for this output on all pages after the - * title bar but before the contents, if available. - *

Header and footer will use this Text's style and color for - * formatting.

- */ - // @ts-ignore - getHeader(): any; - /** - * Gets the footer to be displayed for this output on all pages after the - * contents and page navigation bar, if available. - */ - // @ts-ignore - getFooter(): any; - /** - * Gets the padding character to be used when centering headers and footers. - */ - // @ts-ignore - getPadding(): org.spongepowered.api.text.Text; - /** - * Gets the maximum amount of lines that will be sent per page. - *

This defaults to the maximum amount of lines that can be displayed - * on a source's screen at one time if not specified.

- */ - // @ts-ignore - getLinesPerPage(): number; - /** - * Sends the first page of the constructed pagination list - * to the specified message receiver. - */ - // @ts-ignore - sendTo(receiver: org.spongepowered.api.text.channel.MessageReceiver): void; - /** - * Send the specified page of the constructed pagination list - * to the specified message receiver. - *

A page that is out of bounds will result in a friendly - * error message being sent to the receiver.

- *

Pages start at an index of 1.

- */ - // @ts-ignore - sendTo(receiver: org.spongepowered.api.text.channel.MessageReceiver, page: number): void; - /** - * Sends the first page of the constructed pagination list to - * all {@link MessageReceiver}s within an {@link Iterable}. - */ - // @ts-ignore - sendTo(receivers: any): void; - /** - * Sends the specified page of the constructed pagination list - * all {@link MessageReceiver}s within an {@link Iterable}. - */ - // @ts-ignore - sendTo(receivers: any, page: number): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.pagination.PaginationService.ts b/packages/sponge/src/typings/org.spongepowered.api.service.pagination.PaginationService.ts deleted file mode 100644 index 8dadc522..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.pagination.PaginationService.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace pagination { - // @ts-ignore - interface PaginationService { - /** - * Gets a new pagination builder to send paginated output to a player. - */ - // @ts-ignore - builder(): org.spongepowered.api.service.pagination.PaginationList.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.permission.MemorySubjectData.ts b/packages/sponge/src/typings/org.spongepowered.api.service.permission.MemorySubjectData.ts deleted file mode 100644 index b6ce8eb9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.permission.MemorySubjectData.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace permission { - // @ts-ignore - class MemorySubjectData implements org.spongepowered.api.service.permission.SubjectData { - /** - * Creates a new subject data instance, using the provided service to - * request instances of permission subjects. - */ - constructor(service: org.spongepowered.api.service.permission.PermissionService) - // @ts-ignore - public getAllPermissions(): Map /*java.util.Map*/; - /** - * Gets the calculated node tree representation of the permissions for this - * subject data instance. If no data is present for the given context, - * returns null. - */ - // @ts-ignore - public getNodeTree(contexts: any[] /*java.util.Set*/): org.spongepowered.api.service.permission.NodeTree; - // @ts-ignore - public getPermissions(contexts: any[] /*java.util.Set*/): Map /*java.util.Map*/; - // @ts-ignore - public setPermission(contexts: any[] /*java.util.Set*/, permission: string, value: org.spongepowered.api.util.Tristate): any; - // @ts-ignore - public clearPermissions(): any; - // @ts-ignore - public clearPermissions(context: any[] /*java.util.Set*/): any; - // @ts-ignore - public getAllParents(): Map /*java.util.Map*/; - // @ts-ignore - public getParents(contexts: any[] /*java.util.Set*/): any[] /*java.util.List*/; - // @ts-ignore - public addParent(contexts: any[] /*java.util.Set*/, parent: org.spongepowered.api.service.permission.SubjectReference): any; - // @ts-ignore - public removeParent(contexts: any[] /*java.util.Set*/, parent: org.spongepowered.api.service.permission.SubjectReference): any; - // @ts-ignore - public clearParents(): any; - // @ts-ignore - public clearParents(contexts: any[] /*java.util.Set*/): any; - // @ts-ignore - public getAllOptions(): Map /*java.util.Map*/; - // @ts-ignore - public getOptions(contexts: any[] /*java.util.Set*/): Map /*java.util.Map*/; - // @ts-ignore - public setOption(contexts: any[] /*java.util.Set*/, key: string, value: string): any; - // @ts-ignore - public clearOptions(contexts: any[] /*java.util.Set*/): any; - // @ts-ignore - public clearOptions(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.permission.NodeTree.ts b/packages/sponge/src/typings/org.spongepowered.api.service.permission.NodeTree.ts deleted file mode 100644 index 0e0baa1a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.permission.NodeTree.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace permission { - // @ts-ignore - class NodeTree { - /** - * Create a new node tree with the given values, and a default value of - * {@link Tristate#UNDEFINED}. - */ - // @ts-ignore - public static of(values: Map /*java.util.Map*/): org.spongepowered.api.service.permission.NodeTree; - /** - * Create a new node tree with the given values, and the specified root - * fallback value. - */ - // @ts-ignore - public static of(values: Map /*java.util.Map*/, defaultValue: org.spongepowered.api.util.Tristate): org.spongepowered.api.service.permission.NodeTree; - /** - * Returns the value assigned to a specific node, or the nearest parent - * value in the tree if the node itself is undefined. - */ - // @ts-ignore - public get(node: string): org.spongepowered.api.util.Tristate; - /** - * Convert this node tree into a map of the defined nodes in this tree. - */ - // @ts-ignore - public asMap(): Map /*java.util.Map*/; - /** - * Return a new NodeTree instance with a single changed value. - */ - // @ts-ignore - public withValue(node: string, value: org.spongepowered.api.util.Tristate): org.spongepowered.api.service.permission.NodeTree; - /** - * Return a modified new node tree with the specified values set. - */ - // @ts-ignore - public withAll(values: Map /*java.util.Map*/): org.spongepowered.api.service.permission.NodeTree; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.permission.PermissionDescription.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.service.permission.PermissionDescription.Builder.ts deleted file mode 100644 index a7199e6d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.permission.PermissionDescription.Builder.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace permission { - namespace PermissionDescription { - // @ts-ignore - interface Builder { - /** - * Sets the permission id for the description this builder creates. - *

See {@link PermissionDescription#getId()} for format - * specifications.

- */ - // @ts-ignore - id(permissionId: string): org.spongepowered.api.service.permission.PermissionDescription.Builder; - /** - * Sets the short description to use. - *

May include a link to a more detailed description on the plugin's - * web page.

- *

Can be null if the permission does not have a description.

- */ - // @ts-ignore - description(description: org.spongepowered.api.text.Text): org.spongepowered.api.service.permission.PermissionDescription.Builder; - /** - * Assigns this permission to the given role-template {@link Subject}. - *

If the given subject does not exist it will be created. Permission - * templates should not be assigned to regular subjects.

- *

It is recommended to use the standard role suggestions expressed - * as static parameters in {@link PermissionDescription}.

- *

Do not assign a permission to user, staff and admin at the same - * time but solve this with subject inheritance if possible.

- *

Note: The permissions are only assigned during - * {@link #register()}.

- */ - // @ts-ignore - assign(role: string, value: boolean): org.spongepowered.api.service.permission.PermissionDescription.Builder; - /** - * Creates and registers a new {@link PermissionDescription} instance - * with the given settings. - */ - // @ts-ignore - register(): org.spongepowered.api.service.permission.PermissionDescription; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.permission.PermissionDescription.ts b/packages/sponge/src/typings/org.spongepowered.api.service.permission.PermissionDescription.ts deleted file mode 100644 index 55bf26a3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.permission.PermissionDescription.ts +++ /dev/null @@ -1,103 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace permission { - // @ts-ignore - interface PermissionDescription { - // @ts-ignore - ROLE_USER: string; - // @ts-ignore - ROLE_STAFF: string; - // @ts-ignore - ROLE_ADMIN: string; - /** - * Gets the permission id this description belongs to. - *

The permission id must be of the specified format as specified using - * EBNF: - *

    - *
  • CHARACTER = "A" - "Z" | "a" - "z" | "0" - "9" | "_" | "-"
  • - *
  • NAME = CHARACTER , { CHARACTER }
  • - *
  • TEMPLATE = "<" , NAME , ">"
  • - *
  • PART = NAME | TEMPLATE
  • - *
  • PERMISSION = NAME , { "." , PART }
  • - *
- *

- *

The following examples shall help you to structure your permissions - * well: - *

    - *
  • "myplugin" - Grants everything in myPlugin
  • - *
  • "myplugin.give" - Grants everything related to give including - * all ItemTypes and Enchantments
  • - *
  • "myplugin.give.execute" - Allows the execution of give
  • - *
  • "myplugin.give.type" - Grants all ItemTypes
  • - *
  • "myplugin.give.type.<ItemType>" - A template should not be - * granted to anybody
  • - *
  • "myplugin.give.type.minecraft.diamond" - Only - * grants minecraft:diamond
  • - *
  • "myplugin.give.enchantment" - Grants all Enchantments
  • - *
  • "myplugin.give.others" - Allow giving to other players
  • - *
- * The addition of the "execute" permission instead of just "myPlugin.give" - * permission is useful to prevent unauthorized access to sub-permissions - * that are not documented or have been added lately. - *

- *

- * So if you want to allow someone to give themself only DIAMONDs, you would - * assign them the following permissions: - *

    - *
  • "myPlugin.give.execute"
  • - *
  • "myPlugin.give.type.DIAMOND"
  • - *
- *

- *

Note: Permission ids are case insensitive! Permission ids - * should start with the owning plugin's id.

- */ - // @ts-ignore - getId(): string; - /** - * Gets a short description of the linked permission. - *

May include a link to a more detailed description on the plugin's - * web page.

- *

Will return an empty optional for descriptions which have been - * automatically generated, or where a description was omitted when the - * {@link PermissionDescription} was created.

- */ - // @ts-ignore - getDescription(): any; - /** - * Gets the owning plugin the permission belongs to. - *

Will return an empty optional for descriptions which have been - * automatically generated.

- */ - // @ts-ignore - getOwner(): any; - /** - * Gets all subjects that have this permission set in the given collection. - *

If you want to know to which role-templates this permission is - * assigned, use {@link PermissionService#SUBJECTS_ROLE_TEMPLATE}. - *

This method is equivalent to calling - * {@link SubjectCollection#getAllWithPermission(String)} for the given - * collection, using {@link #getId()} as the permission.

- */ - // @ts-ignore - findAssignedSubjects(collectionIdentifier: string): any; - /** - * Gets all loaded subjects that have this permission set in the given - * collection. - *

If you want to know to which role-templates this permission is - * assigned, use {@link PermissionService#SUBJECTS_ROLE_TEMPLATE}.

- *

This method is equivalent to calling - * {@link SubjectCollection#getLoadedWithPermission(String)} for the given - * collection, using {@link #getId()} as the permission.

- *

This method will return an empty map if the given collection is not - * loaded or does not exist.

- */ - // @ts-ignore - getAssignedSubjects(collectionIdentifier: string): Map /*java.util.Map*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.permission.PermissionService.ts b/packages/sponge/src/typings/org.spongepowered.api.service.permission.PermissionService.ts deleted file mode 100644 index 6650b25f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.permission.PermissionService.ts +++ /dev/null @@ -1,141 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace permission { - // @ts-ignore - interface PermissionService extends org.spongepowered.api.service.context.ContextualService { - // @ts-ignore - SUBJECTS_USER: string; - // @ts-ignore - SUBJECTS_GROUP: string; - // @ts-ignore - SUBJECTS_SYSTEM: string; - // @ts-ignore - SUBJECTS_DEFAULT: string; - // @ts-ignore - SUBJECTS_COMMAND_BLOCK: string; - // @ts-ignore - SUBJECTS_ROLE_TEMPLATE: string; - /** - * Returns the subject collection which holds users. - *

User identifiers are expected to be UUIDs in RFC4122 string format - * (This *does* have dashes).

- *

This method should return the same SubjectCollection as the result of - * invoking {@link #loadCollection(String)} with {@link #SUBJECTS_USER}.

- */ - // @ts-ignore - getUserSubjects(): org.spongepowered.api.service.permission.SubjectCollection; - /** - * Returns the subject collection which holds groups. - *

This method should return the same SubjectCollection as the result of - * invoking {@link #loadCollection(String)} with {@link #SUBJECTS_GROUP}.

- */ - // @ts-ignore - getGroupSubjects(): org.spongepowered.api.service.permission.SubjectCollection; - /** - * Gets the subject holding data that is applied by default to all - * subjects. - *

This subject is at the root of all inheritance trees, below - * even SubjectCollection defaults, meaning it has the lowest - * priority when all other weighting is equal.

- *

Note: This data may be persisted, so plugins that add - * permissions to this subject must take care to not override - * permissions already set or modified.

- *

It is also recommended to use - * {@link Subject#getTransientSubjectData()} where possible to avoid - * persisting unnecessary data.

- *

Assigning default permissions should be used sparingly, and by - * convention, only in situations where "default" game behaviour is restored - * by granting a certain permission.

- */ - // @ts-ignore - getDefaults(): org.spongepowered.api.service.permission.Subject; - /** - * Returns a predicate which determines whether or not a given identifier - * is valid for a subject collection held by this service. - *

It is expected that as a minimum, the standard identifiers expressed - * as static parameters in this class will pass the predicate.

- */ - // @ts-ignore - getIdentifierValidityPredicate(): any; - /** - * Loads and returns a subject collection with the given identifier. - *

The returned future will complete exceptionally if the subject - * collection with the given identifier cannot be loaded.

- *

A {@link IllegalArgumentException} will be thrown directly by this - * method if the identifier does not pass the identifier validity - * predicate.

- */ - // @ts-ignore - loadCollection(identifier: string): any; - /** - * Returns a subject collection with the given identifier, if the - * collection is already loaded within this service. - *

It is important to note that a subject collection with the given - * identifier may still exist, even if this method returns an empty - * optional. Checking for the presence of a subject collection should - * be done using {@link #hasCollection(String)}.

- *

If the collection identifier does not pass the validity predicate, - * this method will return an empty optional, and not throw an - * exception.

- */ - // @ts-ignore - getCollection(identifier: string): any; - /** - * Returns whether a subject collection with the given identifier currently - * exists. - */ - // @ts-ignore - hasCollection(identifier: string): any; - /** - * Returns an immutable copy of all currently loaded subject collections - * held by this permission service. - */ - // @ts-ignore - getLoadedCollections(): Map /*java.util.Map*/; - /** - * Returns a set of the subject collection identifiers known to this - * service. - */ - // @ts-ignore - getAllIdentifiers(): any; - /** - * Creates a new subject reference to represent the expressed subject. - *

Note that instances of SubjectReference must be capable of resolving - * the identifier to a Subject without being passed a reference to the - * service.

- *

A {@link IllegalArgumentException} will be thrown directly by this - * method if either identifiers do not pass the identifier validity - * predicates.

- */ - // @ts-ignore - newSubjectReference(collectionIdentifier: string, subjectIdentifier: string): org.spongepowered.api.service.permission.SubjectReference; - /** - * Creates a new description builder for the given plugin's permission. - */ - // @ts-ignore - newDescriptionBuilder(plugin: any): org.spongepowered.api.service.permission.PermissionDescription.Builder; - /** - * Gets the registered or generated {@link PermissionDescription} for the - * given permission if available. - *

If the given permission is not defined itself this might also return - * the associated permission template.

- */ - // @ts-ignore - getDescription(permission: string): any; - /** - * Gets a immutable collection containing all registered or generated - * {@link PermissionDescription}s. - *

Implementations may generate descriptions automatically for - * permissions in use on the server, based upon permissions stored in - * subject data, or based upon checks being performed.

- */ - // @ts-ignore - getDescriptions(): any[] /*java.util.Collection*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.permission.Subject.ts b/packages/sponge/src/typings/org.spongepowered.api.service.permission.Subject.ts deleted file mode 100644 index f4076899..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.permission.Subject.ts +++ /dev/null @@ -1,146 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace permission { - // @ts-ignore - interface Subject extends org.spongepowered.api.service.context.Contextual { - /** - * Returns a possible {@link CommandSource} for the subject, if it relates - * to one. - *

If this subject represents an actual user currently connected, this - * method returns this user. This user may in fact be the same as this - * subject. Some subjects may never directly map to a command source, while - * others may temporarily not have an accessible command source.

- */ - // @ts-ignore - getCommandSource(): any; - /** - * Returns the subject collection this subject is a member of. - */ - // @ts-ignore - getContainingCollection(): org.spongepowered.api.service.permission.SubjectCollection; - /** - * Gets a SubjectReference representing this subject. - */ - // @ts-ignore - asSubjectReference(): org.spongepowered.api.service.permission.SubjectReference; - /** - * Returns if this Subject has persistent, non-transient data. - *

If true, this subject should have two distinct stores of SubjectData, - * and the non-transient form should be saved between sessions.

- *

If false, this subject will have only one store of SubjectData, which - * will not be persisted between sessions.

- */ - // @ts-ignore - isSubjectDataPersisted(): boolean; - /** - * Returns the primary data backing for this Subject. - *

If this Subject is not persisted, this data will not be saved - * between sessions.

- *

For subjects which are not persisted, the same store will be returned - * by {@link #getTransientSubjectData()}.

- */ - // @ts-ignore - getSubjectData(): org.spongepowered.api.service.permission.SubjectData; - /** - * Returns the transient data backing for this Subject. - *

Transient data is guaranteed to only last for the duration of the - * subject's session, and is not persisted.

- *

For subjects which are not persisted, the same store will be returned - * by {@link #getSubjectData()}.

- */ - // @ts-ignore - getTransientSubjectData(): org.spongepowered.api.service.permission.SubjectData; - /** - * Test whether the subject is permitted to perform an action corresponding - * to the given permission string. - *

This must return the same boolean equivalent as - * {@link #getPermissionValue(Set, String)}.

- */ - // @ts-ignore - hasPermission(contexts: any[] /*java.util.Set*/, permission: string): boolean; - /** - * Test whether the subject is permitted to perform an action given as the - * given permission string. - *

This must return the same value as {@link #hasPermission(Set, String)} - * using {@link #getActiveContexts()}.

- */ - // @ts-ignore - hasPermission(permission: string): boolean; - /** - * Returns the calculated value set for a given permission. - *

It is expected that this method will also account for values - * inherited from parent subjects, as well as permission nodes inherited - * implicitly from a more generic level.

- *

Additionally, the defaults defined the {@link SubjectCollection} - * that holds this subject, as well as defaults defined in - * {@link PermissionService#getDefaults()} should be considered for this - * lookup.

- *

This method is likely to be called frequently, so it is desirable - * that implementations cache the results to method calls.

- */ - // @ts-ignore - getPermissionValue(contexts: any[] /*java.util.Set*/, permission: string): org.spongepowered.api.util.Tristate; - /** - * Check if this subject is a child of the given parent in the subject's - * current context, traversing inheritance. - *

This must return the same value as - * {@link #isChildOf(Set, SubjectReference)} using - * {@link #getActiveContexts()}.

- */ - // @ts-ignore - isChildOf(parent: org.spongepowered.api.service.permission.SubjectReference): boolean; - /** - * Check if this subject is a child of the given parent in the given context - * combination, traversing inheritance. - *

It is expected that this method will also account for data from - * distant parents, inherited from direct parent subjects. - *

Additionally, the defaults defined the {@link SubjectCollection} - * that holds this subject, as well as defaults defined in - * {@link PermissionService#getDefaults()} should be considered for this - * lookup.

- */ - // @ts-ignore - isChildOf(contexts: any[] /*java.util.Set*/, parent: org.spongepowered.api.service.permission.SubjectReference): boolean; - /** - * Return all parents that this group has in its current context - * combination. - *

This must include inherited values if the permissions - * service supports inheritance.

- *

It must also must return the same value as {@link #getParents(Set)} - * using {@link #getActiveContexts()}.

- */ - // @ts-ignore - getParents(): any[] /*java.util.List*/; - /** - * Return all parents that this group has in the given context combination. - *

This must include inherited values if the permissions - * service supports inheritance.

- */ - // @ts-ignore - getParents(contexts: any[] /*java.util.Set*/): any[] /*java.util.List*/; - /** - * Gets the value of a given option in the given context. - *

It is expected that this method will account for options - * inherited from parent subjects. - *

Additionally, the default options defined by the - * {@link SubjectCollection} that holds this subject, as well as defaults - * defined in {@link PermissionService#getDefaults()} should be considered - * for this lookup. - */ - // @ts-ignore - getOption(contexts: any[] /*java.util.Set*/, key: string): any; - /** - * Gets the value of a given option in the subject's current context. - *

This must return the same value as {@link #getOption(Set, String)} - * using {@link #getActiveContexts()}.

- */ - // @ts-ignore - getOption(key: string): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.permission.SubjectCollection.ts b/packages/sponge/src/typings/org.spongepowered.api.service.permission.SubjectCollection.ts deleted file mode 100644 index b1bd2d34..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.permission.SubjectCollection.ts +++ /dev/null @@ -1,189 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace permission { - // @ts-ignore - interface SubjectCollection { - /** - * Return the identifier for this collection. - */ - // @ts-ignore - getIdentifier(): string; - /** - * Returns a predicate which determines whether or not a given identifier is - * valid for a subject held by this collection. - *

It is expected that the {@link PermissionService#SUBJECTS_USER} - * collection should accept identifiers in UUID RFC4122 string format. (In - * the format produced by {@link UUID#toString()}

- */ - // @ts-ignore - getIdentifierValidityPredicate(): any; - /** - * Loads and returns a subject with the given identifier. - *

The returned future will complete exceptionally if the subject with - * the given identifier cannot be loaded.

- *

A {@link IllegalArgumentException} will be thrown directly by this - * method if the identifier does not pass the identifier validity - * predicate.

- */ - // @ts-ignore - loadSubject(identifier: string): any; - /** - * Returns a subject with the given identifier, if the subject is already - * loaded within this collection. - *

It is important to note that a subject with the given identifier - * may still exist, even if this method returns an empty - * optional. Checking for the presence of a subject should be - * done using {@link #hasSubject(String)}.

- *

If the subject identifier does not pass the validity predicate, this - * method will return an empty optional, and not throw an exception.

- */ - // @ts-ignore - getSubject(identifier: string): any; - /** - * Returns whether a subject with the given identifier currently exists. - *

The return value of this function does not influence whether or - * not the results from any subject lookups should be obtained. - */ - // @ts-ignore - hasSubject(identifier: string): any; - /** - * Gets a map of subjects from the provided set of identifiers. - *

If any of the identifiers do not pass the collections - * {@link #getIdentifierValidityPredicate()}, a subject will not be returned - * for that identifier.

- */ - // @ts-ignore - loadSubjects(identifiers: any[] /*java.util.Set*/): any; - /** - * Returns an immutable copy of all subjects currently loaded in this - * collection. - */ - // @ts-ignore - getLoadedSubjects(): any[] /*java.util.Collection*/; - /** - * Gets a set of Subject identifiers being stored in the collection. This - * method must return a complete list, including identifiers of subjects not - * currently loaded. - *

The results of this method should not be passed directly to - * {@link #loadSubjects(Set)}. Instead, each individual subject should be - * loaded, processed, and then allowed to be unloaded using - * {@link #suggestUnload(String)}.

- *

If you simply need to process each subject in the collection, you can - * use {@link #applyToAll(Consumer)} and gather data.

- */ - // @ts-ignore - getAllIdentifiers(): any; - /** - * Creates a new subject reference to represent the expressed subject. - *

Note that instances of SubjectReference must be capable of resolving - * the identifier to a Subject without being passed a reference to the - * service.

- *

A {@link IllegalArgumentException} will be thrown directly by this - * method if the identifier does not pass the identifier validity - * predicate.

- */ - // @ts-ignore - newSubjectReference(subjectIdentifier: string): org.spongepowered.api.service.permission.SubjectReference; - /** - * Performs an action on each Subject in the collection. - *

Subjects are loaded, supplied to the consumer, and then allowed to be - * uncached by the implementation.

- *

This should be used to apply bulk changes or gather data about all - * Subjects in the collection. The provided consumer will be supplied - * asynchronously. Acting upon a large collection may be particularly - * resource intensive.

- *

Implementations may choose to load and process subjects in - * parallel.

- */ - // @ts-ignore - applyToAll(action: any): any; - /** - * Performs an action on each Subject in the provided set. - *

Subjects are loaded, supplied to the consumer, and then allowed to be - * uncached by the implementation.

- *

This should be used to apply bulk changes or gather data about all - * Subjects in the collection. The provided consumer will be supplied - * asynchronously. Acting upon a large collection may be particularly - * resource intensive.

- *

Implementations may choose to load and process subjects in - * parallel.

- */ - // @ts-ignore - applyToAll(action: any, identifiers: any[] /*java.util.Set*/): any; - /** - * Return the identifiers of all known subjects with the given permission - * set. - *

This method

DOES NOT

consider inheritance, and will only query - * the data set to the subjects {@link Subject#getSubjectData()}. Transient - * data is not considered.

- *

As no context is passed, it is up to the implementation to decide - * which contexts to use. When available, - * {@link Subject#getActiveContexts()} is used for the lookup. Otherwise, it - * is likely that {@link SubjectData#GLOBAL_CONTEXT} will be - * used.

- */ - // @ts-ignore - getAllWithPermission(permission: string): any; - /** - * Return the identifiers of all known subjects with the given permission - * set. - *

This method

DOES NOT

consider inheritance, and will only query - * the data set to the subjects {@link Subject#getSubjectData()}. Transient - * data is not considered.

- */ - // @ts-ignore - getAllWithPermission(contexts: any[] /*java.util.Set*/, permission: string): any; - /** - * Return all loaded subjects with the given permission set. - *

This method

DOES NOT

consider inheritance, and will only query - * the data set to the subjects {@link Subject#getSubjectData()}. Transient - * data is not considered.

- *

As no context is passed, it is up to the implementation to decide - * which contexts to use. When available, - * {@link Subject#getActiveContexts()} is used for the lookup. Otherwise, it - * is likely that {@link SubjectData#GLOBAL_CONTEXT} will be - * used.

- */ - // @ts-ignore - getLoadedWithPermission(permission: string): Map /*java.util.Map*/; - /** - * Return all loaded subjects with the given permission set. - *

This method

DOES NOT

consider inheritance, and will only query - * the data set to the subjects {@link Subject#getSubjectData()}. Transient - * data is not considered.

- */ - // @ts-ignore - getLoadedWithPermission(contexts: any[] /*java.util.Set*/, permission: string): Map /*java.util.Map*/; - /** - * Gets the subject holding data that is applied by default to all - * subjects in this collection. - *

This subject is at the root of all inheritance trees for subjects in - * this collection, but at a higher priority chan defaults expressed to - * {@link PermissionService#getDefaults()}.

- *

Note: This data may be persisted, so plugins that add - * permissions to this subject must take care to not override - * permissions already set or modified.

- *

It is also recommended to use - * {@link Subject#getTransientSubjectData()} where possible to avoid - * persisting unnecessary data.

- *

Assigning default permissions should be used sparingly, and by - * convention, only in situations where "default" game behaviour is restored - * by granting a certain permission.

- */ - // @ts-ignore - getDefaults(): org.spongepowered.api.service.permission.Subject; - /** - * Indicate that a certain subject may be unloaded by the implementation. - *

This is only a hint to the implementation, and does not guarantee that - * the subject will be unloaded.

- */ - // @ts-ignore - suggestUnload(identifier: string): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.permission.SubjectData.ts b/packages/sponge/src/typings/org.spongepowered.api.service.permission.SubjectData.ts deleted file mode 100644 index dd491d24..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.permission.SubjectData.ts +++ /dev/null @@ -1,117 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace permission { - // @ts-ignore - interface SubjectData { - // @ts-ignore - GLOBAL_CONTEXT: any[] /*java.util.Set*/; - /** - * Return all permissions associated with this data object. - */ - // @ts-ignore - getAllPermissions(): Map /*java.util.Map*/; - /** - * Returns the list of permissions set for the given context. - *

This list is immutable and is not a live view. If no permissions have - * been set, it returns an empty list.

- */ - // @ts-ignore - getPermissions(contexts: any[] /*java.util.Set*/): Map /*java.util.Map*/; - /** - * Sets a permission to a given value. - *

Setting value as {@link Tristate#UNDEFINED} unsets the permission.

- *

An empty set of contexts applies this permission to the global - * context.

- */ - // @ts-ignore - setPermission(contexts: any[] /*java.util.Set*/, permission: string, value: org.spongepowered.api.util.Tristate): any; - /** - * Clear all permissions set in any context. - */ - // @ts-ignore - clearPermissions(): any; - /** - * Clear all permissions set in a given context combination. - *

Passing an empty context set clears permissions in the global - * context.

- */ - // @ts-ignore - clearPermissions(contexts: any[] /*java.util.Set*/): any; - /** - * Return all registered parent subjects for all contexts. - *

The returned map is immutable and not a live view. The results of this - * method do not traverse any sort of inheritance structure a permissions - * plugin may implement.

- */ - // @ts-ignore - getAllParents(): Map /*java.util.Map*/; - /** - * Return all registered parent subjects for a given context. - *

The returned map is immutable and not a live view. The results of this - * method do not traverse any sort of inheritance structure a permissions - * plugin may implement.

- */ - // @ts-ignore - getParents(contexts: any[] /*java.util.Set*/): any[] /*java.util.List*/; - /** - * Adds a parent in a particular context combination. - *

Passing an empty context combination means the parent is added in the - * global context.

- */ - // @ts-ignore - addParent(contexts: any[] /*java.util.Set*/, parent: org.spongepowered.api.service.permission.SubjectReference): any; - /** - * Removes a parent in a particular context combination. - *

Passing an empty context combination means the parent is removed in - * the global context.

- */ - // @ts-ignore - removeParent(contexts: any[] /*java.util.Set*/, parent: org.spongepowered.api.service.permission.SubjectReference): any; - /** - * Remove all parents in any context combination. - */ - // @ts-ignore - clearParents(): any; - /** - * Remove all parents in a given context combination. - *

Passing an empty context set clears parents in the global - * context.

- */ - // @ts-ignore - clearParents(contexts: any[] /*java.util.Set*/): any; - /** - * Return all options for all context combinations currently registered. - */ - // @ts-ignore - getAllOptions(): Map /*java.util.Map*/; - /** - * Gets options for a specific context combination. - */ - // @ts-ignore - getOptions(contexts: any[] /*java.util.Set*/): Map /*java.util.Map*/; - /** - * Sets a specific option to a value. - *

Passing a null value will unset the option.

- */ - // @ts-ignore - setOption(contexts: any[] /*java.util.Set*/, key: string, value: string): any; - /** - * Clear all options. - */ - // @ts-ignore - clearOptions(): any; - /** - * Clear all options in the given context combination. - *

Passing an empty context set clears options in the global - * context.

- */ - // @ts-ignore - clearOptions(contexts: any[] /*java.util.Set*/): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.permission.SubjectReference.ts b/packages/sponge/src/typings/org.spongepowered.api.service.permission.SubjectReference.ts deleted file mode 100644 index b9e5946f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.permission.SubjectReference.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace permission { - // @ts-ignore - interface SubjectReference { - /** - * Gets the identifier of the collection containing the subject - * being referenced. - */ - // @ts-ignore - getCollectionIdentifier(): string; - /** - * Gets the identifier of the subject. - */ - // @ts-ignore - getSubjectIdentifier(): string; - /** - * Resolves and returns the Subject being referenced. - *

The returned future will complete exceptionally if the subject - * collection with the given identifier cannot be loaded.

- */ - // @ts-ignore - resolve(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.rcon.RconService.ts b/packages/sponge/src/typings/org.spongepowered.api.service.rcon.RconService.ts deleted file mode 100644 index e9217cfc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.rcon.RconService.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace rcon { - // @ts-ignore - interface RconService { - /** - * Tests whether Rcon is enabled for this service. - *

Rcon allows commands to be remotely run on the server, after Rcon - * client have authenticated with a password.

- */ - // @ts-ignore - isRconEnabled(): boolean; - /** - * Gets the Rcon password for this service. - *

This password is used by Rcon clients to authenticate.

- */ - // @ts-ignore - getRconPassword(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.sql.SqlService.ts b/packages/sponge/src/typings/org.spongepowered.api.service.sql.SqlService.ts deleted file mode 100644 index ffa86c34..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.sql.SqlService.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace sql { - // @ts-ignore - interface SqlService { - /** - * Returns a data source for the provided JDBC connection string or - * an alias. - *

A jdbc connection url is expected to be of the form: - * jdbc:<engine>://[<username>[:<password>]@]<host - * >/<database> or an alias (available aliases are known only by - * the service provider)

- */ - // @ts-ignore - getDataSource(jdbcConnection: string): any; - /** - * Returns a data source for the provided JDBC connection string or an - * alias. - *

A jdbc connection url is expected to be of the form: - * jdbc:<engine>://[<username>[:<password>]@] - * <host>/<database> - * or an alias (available aliases are known only by the service - * provider)

- */ - // @ts-ignore - getDataSource(plugin: any, jdbcConnection: string): any; - /** - * Returns a possible connection URL for a given alias. - */ - // @ts-ignore - getConnectionUrlFromAlias(alias: string): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.user.UserStorageService.ts b/packages/sponge/src/typings/org.spongepowered.api.service.user.UserStorageService.ts deleted file mode 100644 index 4fc4ec9c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.user.UserStorageService.ts +++ /dev/null @@ -1,70 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace user { - // @ts-ignore - interface UserStorageService { - /** - * Gets the data of a {@link User} by their unique id. - */ - // @ts-ignore - get(uniqueId: any): any; - /** - * Gets the data of a {@link User} by their last known user name - * (case-insensitive). - *

To get the current name of a player, use the - * {@link GameProfileManager} service.

- */ - // @ts-ignore - get(lastKnownName: string): any; - /** - * Gets the data of a {@link User} by their {@link GameProfile}. - */ - // @ts-ignore - get(profile: org.spongepowered.api.profile.GameProfile): any; - /** - * Gets or creates a persistent {@link User} associated with the given - * {@link GameProfile}. - *

To obtain a {@link GameProfile}, use the {@link GameProfileManager}. - *

- */ - // @ts-ignore - getOrCreate(profile: org.spongepowered.api.profile.GameProfile): org.spongepowered.api.entity.living.player.User; - /** - * Gets the collection of all {@link GameProfile}s with stored {@link User} - * data. - *

Note that this method is resource-intensive depending on the amount of - * stored data.

- *

Use {@link #get(GameProfile)} to get the {@link User} data - * corresponding to a {@link GameProfile}.

- */ - // @ts-ignore - getAll(): any[] /*java.util.Collection*/; - /** - * Deletes the data associated with a {@link User}. - *

This may not work if the user is logged in.

- */ - // @ts-ignore - delete(profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Deletes the data associated with a {@link User}. - *

This may not work if the user is logged in.

- */ - // @ts-ignore - delete(user: org.spongepowered.api.entity.living.player.User): boolean; - /** - * Returns a collection of matching {@link GameProfile}s with stored - * {@link User} data whose last known user names start with the given string - * (case-insensitive). - *

Use {@link #get(GameProfile)} to get the {@link User} data - * corresponding to a {@link GameProfile}.

- */ - // @ts-ignore - match(lastKnownName: string): any[] /*java.util.Collection*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.service.whitelist.WhitelistService.ts b/packages/sponge/src/typings/org.spongepowered.api.service.whitelist.WhitelistService.ts deleted file mode 100644 index 70079f74..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.service.whitelist.WhitelistService.ts +++ /dev/null @@ -1,34 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace service { - namespace whitelist { - // @ts-ignore - interface WhitelistService { - /** - * Gets the collection of {@link GameProfile}s present on this whitelist. - */ - // @ts-ignore - getWhitelistedProfiles(): any[] /*java.util.Collection*/; - /** - * Gets whether the specified {@link GameProfile} is present on this - * whitelist. - */ - // @ts-ignore - isWhitelisted(profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Adds the specified {@link GameProfile} to this whitelist. - */ - // @ts-ignore - addProfile(profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Removes the specified {@link GameProfile} from this whitelist, if present. - */ - // @ts-ignore - removeProfile(profile: org.spongepowered.api.profile.GameProfile): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.statistic.BlockStatistic.ts b/packages/sponge/src/typings/org.spongepowered.api.statistic.BlockStatistic.ts deleted file mode 100644 index 3a3bd0c3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.statistic.BlockStatistic.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace statistic { - // @ts-ignore - interface BlockStatistic extends org.spongepowered.api.statistic.ItemStatistic { - /** - * Returns the statistic's {@link BlockType}. - */ - // @ts-ignore - getBlockType(): org.spongepowered.api.block.BlockType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.statistic.EntityStatistic.ts b/packages/sponge/src/typings/org.spongepowered.api.statistic.EntityStatistic.ts deleted file mode 100644 index 953c9bac..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.statistic.EntityStatistic.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace statistic { - // @ts-ignore - interface EntityStatistic extends org.spongepowered.api.statistic.Statistic { - /** - * Returns the {@link EntityType} of this statistic. - */ - // @ts-ignore - getEntityType(): org.spongepowered.api.entity.EntityType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.statistic.ItemStatistic.ts b/packages/sponge/src/typings/org.spongepowered.api.statistic.ItemStatistic.ts deleted file mode 100644 index 6cf0f18f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.statistic.ItemStatistic.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace statistic { - // @ts-ignore - interface ItemStatistic extends org.spongepowered.api.statistic.Statistic { - /** - * Returns the {@link ItemType} this statistic is associated with. - */ - // @ts-ignore - getItemType(): org.spongepowered.api.item.ItemType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.statistic.Statistic.ts b/packages/sponge/src/typings/org.spongepowered.api.statistic.Statistic.ts deleted file mode 100644 index 379fe015..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.statistic.Statistic.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace statistic { - // @ts-ignore - interface Statistic extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - /** - * Returns the objective {@link Criterion} for this statistic. - */ - // @ts-ignore - getCriterion(): any; - /** - * Returns the {@link NumberFormat} used to format the value of this - * statistic. - */ - // @ts-ignore - getFormat(): any; - /** - * Returns this statistic's {@link StatisticType}. - */ - // @ts-ignore - getType(): org.spongepowered.api.statistic.StatisticType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.statistic.StatisticType.ts b/packages/sponge/src/typings/org.spongepowered.api.statistic.StatisticType.ts deleted file mode 100644 index 9b2b3a2b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.statistic.StatisticType.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace statistic { - // @ts-ignore - interface StatisticType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.statistic.StatisticTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.statistic.StatisticTypes.ts deleted file mode 100644 index 3b411447..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.statistic.StatisticTypes.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace statistic { - // @ts-ignore - class StatisticTypes { - // @ts-ignore - public static BASIC: org.spongepowered.api.statistic.StatisticType; - // @ts-ignore - public static BLOCKS_BROKEN: org.spongepowered.api.statistic.StatisticType; - // @ts-ignore - public static ENTITIES_KILLED: org.spongepowered.api.statistic.StatisticType; - // @ts-ignore - public static ITEMS_BROKEN: org.spongepowered.api.statistic.StatisticType; - // @ts-ignore - public static ITEMS_CRAFTED: org.spongepowered.api.statistic.StatisticType; - // @ts-ignore - public static ITEMS_DROPPED: org.spongepowered.api.statistic.StatisticType; - // @ts-ignore - public static ITEMS_PICKED_UP: org.spongepowered.api.statistic.StatisticType; - // @ts-ignore - public static ITEMS_USED: org.spongepowered.api.statistic.StatisticType; - // @ts-ignore - public static KILLED_BY_ENTITY: org.spongepowered.api.statistic.StatisticType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.statistic.Statistics.ts b/packages/sponge/src/typings/org.spongepowered.api.statistic.Statistics.ts deleted file mode 100644 index d9b08575..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.statistic.Statistics.ts +++ /dev/null @@ -1,109 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace statistic { - // @ts-ignore - class Statistics { - // @ts-ignore - public static ANIMALS_BRED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static ARMOR_CLEANED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static AVIATE_ONE_CM: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static BANNER_CLEANED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static BEACON_INTERACTION: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static BOAT_ONE_CM: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static BREWINGSTAND_INTERACTION: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static CAKE_SLICES_EATEN: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static CAULDRON_FILLED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static CAULDRON_USED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static CHEST_OPENED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static CLIMB_ONE_CM: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static CRAFTING_TABLE_INTERACTION: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static CROUCH_ONE_CM: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static DAMAGE_DEALT: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static DAMAGE_TAKEN: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static DEATHS: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static DISPENSER_INSPECTED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static DIVE_ONE_CM: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static DROP: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static DROPPER_INSPECTED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static ENDERCHEST_OPENED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static FALL_ONE_CM: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static FISH_CAUGHT: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static FLOWER_POTTED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static FURNACE_INTERACTION: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static HOPPER_INSPECTED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static HORSE_ONE_CM: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static ITEM_ENCHANTED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static JUMP: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static LEAVE_GAME: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static MINECART_ONE_CM: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static MOB_KILLS: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static NOTEBLOCK_PLAYED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static NOTEBLOCK_TUNED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static OPEN_SHULKER_BOX: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static PIG_ONE_CM: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static PLAYER_KILLS: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static RECORD_PLAYED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static SLEEP_IN_BED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static SNEAK_TIME: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static SPRINT_ONE_CM: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static SWIM_ONE_CM: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static TALKED_TO_VILLAGER: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static TIME_PLAYED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static TIME_SINCE_DEATH: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static TRADED_WITH_VILLAGER: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static TRAPPED_CHEST_TRIGGERED: org.spongepowered.api.statistic.Statistic; - // @ts-ignore - public static WALK_ONE_CM: org.spongepowered.api.statistic.Statistic; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.BookView.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.text.BookView.Builder.ts deleted file mode 100644 index 6debc115..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.BookView.Builder.ts +++ /dev/null @@ -1,91 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace BookView { - // @ts-ignore - class Builder implements org.spongepowered.api.util.ResettableBuilder { - constructor() - /** - * Sets the title of the {@link BookView}. - */ - // @ts-ignore - public title(title: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder; - /** - * Sets the author of the {@link BookView}. - */ - // @ts-ignore - public author(author: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder; - /** - * Adds a page to the end of the {@link BookView}. - */ - // @ts-ignore - public addPage(page: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder; - /** - * Adds multiple pages to the end of the {@link BookView}. - */ - // @ts-ignore - public addPages(pages: any[] /*java.util.Collection*/): org.spongepowered.api.text.BookView.Builder; - /** - * Adds multiple pages to the end of the {@link BookView}. - */ - // @ts-ignore - public addPages(pages: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder; - /** - * Inserts a page at the specified index of the {@link BookView}. - */ - // @ts-ignore - public insertPage(i: number, page: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder; - /** - * Inserts multiple pages at the specified index of the - * {@link BookView}. - */ - // @ts-ignore - public insertPages(i: number, pages: any[] /*java.util.Collection*/): org.spongepowered.api.text.BookView.Builder; - /** - * Inserts multiple pages at the specified index of the - * {@link BookView}. - */ - // @ts-ignore - public insertPages(i: number, pages: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder; - /** - * Removes a page from the {@link BookView}. - */ - // @ts-ignore - public removePage(page: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder; - /** - * Removes the page at the specified index of the {@link BookView}. - */ - // @ts-ignore - public removePage(i: number): org.spongepowered.api.text.BookView.Builder; - /** - * Removes multiple pages from the {@link BookView}. - */ - // @ts-ignore - public removePages(pages: any[] /*java.util.Collection*/): org.spongepowered.api.text.BookView.Builder; - /** - * Removes multiple pages from the {@link BookView}. - */ - // @ts-ignore - public removePages(pages: org.spongepowered.api.text.Text): org.spongepowered.api.text.BookView.Builder; - /** - * Removes all pages from the {@link BookView}. - */ - // @ts-ignore - public clearPages(): org.spongepowered.api.text.BookView.Builder; - /** - * Creates a new {@link BookView} from the current state of this - * builder. - */ - // @ts-ignore - public build(): org.spongepowered.api.text.BookView; - // @ts-ignore - public from(value: org.spongepowered.api.text.BookView): org.spongepowered.api.text.BookView.Builder; - // @ts-ignore - public reset(): org.spongepowered.api.text.BookView.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.BookView.ts b/packages/sponge/src/typings/org.spongepowered.api.text.BookView.ts deleted file mode 100644 index 781d7d97..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.BookView.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - // @ts-ignore - class BookView implements org.spongepowered.api.data.DataSerializable { - /** - * Returns the title of the book to be displayed. - */ - // @ts-ignore - public getTitle(): org.spongepowered.api.text.Text; - /** - * Returns the author of the book to be displayed. - */ - // @ts-ignore - public getAuthor(): org.spongepowered.api.text.Text; - /** - * Returns a list of pages that will be displayed to the client. - */ - // @ts-ignore - public getPages(): any; - /** - * Returns a new {@link Builder} for chaining. - */ - // @ts-ignore - public static builder(): org.spongepowered.api.text.BookView.Builder; - // @ts-ignore - public getContentVersion(): number; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public toString(): string; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public hashCode(): number; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.LiteralText.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.text.LiteralText.Builder.ts deleted file mode 100644 index 921a913b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.LiteralText.Builder.ts +++ /dev/null @@ -1,67 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace LiteralText { - // @ts-ignore - class Builder extends org.spongepowered.api.text.Text.Builder { - /** - * Returns the current content of this builder. - */ - // @ts-ignore - public getContent(): string; - /** - * Sets the plain text content of this text. - */ - // @ts-ignore - public content(content: string): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public build(): org.spongepowered.api.text.LiteralText; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public format(format: org.spongepowered.api.text.format.TextFormat): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public color(color: org.spongepowered.api.text.format.TextColor): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public style(styles: org.spongepowered.api.text.format.TextStyle): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public onClick(clickAction: org.spongepowered.api.text.action.ClickAction): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public onHover(hoverAction: org.spongepowered.api.text.action.HoverAction): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public onShiftClick(shiftClickAction: org.spongepowered.api.text.action.ShiftClickAction): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public append(children: org.spongepowered.api.text.Text): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public append(children: any[] /*java.util.Collection*/): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public append(children: any): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public append(children: any): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public insert(pos: number, children: org.spongepowered.api.text.Text): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public insert(pos: number, children: any[] /*java.util.Collection*/): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public insert(pos: number, children: any): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public insert(pos: number, children: any): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public remove(children: org.spongepowered.api.text.Text): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public remove(children: any[] /*java.util.Collection*/): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public remove(children: any): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public remove(children: any): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public removeAll(): org.spongepowered.api.text.LiteralText.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.LiteralText.ts b/packages/sponge/src/typings/org.spongepowered.api.text.LiteralText.ts deleted file mode 100644 index 632dc824..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.LiteralText.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - // @ts-ignore - class LiteralText extends org.spongepowered.api.text.Text { - /** - * Returns the plain text content of this {@link Text}. - */ - // @ts-ignore - public getContent(): string; - // @ts-ignore - public toBuilder(): org.spongepowered.api.text.LiteralText.Builder; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.ScoreText.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.text.ScoreText.Builder.ts deleted file mode 100644 index 778aa382..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.ScoreText.Builder.ts +++ /dev/null @@ -1,77 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace ScoreText { - // @ts-ignore - class Builder extends org.spongepowered.api.text.Text.Builder { - /** - * Returns the current score of this builder. - */ - // @ts-ignore - public getScore(): org.spongepowered.api.scoreboard.Score; - /** - * Sets the score of the text. - */ - // @ts-ignore - public score(score: org.spongepowered.api.scoreboard.Score): org.spongepowered.api.text.ScoreText.Builder; - /** - * Returns the current override of this builder. - */ - // @ts-ignore - public getOverride(): any; - /** - * Overrides the real score and displays a custom text instead. - */ - // @ts-ignore - public override(override: string): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public build(): org.spongepowered.api.text.ScoreText; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public format(format: org.spongepowered.api.text.format.TextFormat): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public color(color: org.spongepowered.api.text.format.TextColor): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public style(styles: org.spongepowered.api.text.format.TextStyle): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public onClick(clickAction: org.spongepowered.api.text.action.ClickAction): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public onHover(hoverAction: org.spongepowered.api.text.action.HoverAction): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public onShiftClick(shiftClickAction: org.spongepowered.api.text.action.ShiftClickAction): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public append(children: org.spongepowered.api.text.Text): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public append(children: any[] /*java.util.Collection*/): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public append(children: any): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public append(children: any): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public insert(pos: number, children: org.spongepowered.api.text.Text): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public insert(pos: number, children: any[] /*java.util.Collection*/): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public insert(pos: number, children: any): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public insert(pos: number, children: any): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public remove(children: org.spongepowered.api.text.Text): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public remove(children: any[] /*java.util.Collection*/): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public remove(children: any): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public remove(children: any): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public removeAll(): org.spongepowered.api.text.ScoreText.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.ScoreText.ts b/packages/sponge/src/typings/org.spongepowered.api.text.ScoreText.ts deleted file mode 100644 index 3eb27546..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.ScoreText.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - // @ts-ignore - class ScoreText extends org.spongepowered.api.text.Text { - /** - * Returns the score displayed by this {@link Text}. - */ - // @ts-ignore - public getScore(): org.spongepowered.api.scoreboard.Score; - /** - * Returns a value that is displayed instead of the real score. - */ - // @ts-ignore - public getOverride(): any; - // @ts-ignore - public toBuilder(): org.spongepowered.api.text.ScoreText.Builder; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.SelectorText.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.text.SelectorText.Builder.ts deleted file mode 100644 index 82c5dd59..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.SelectorText.Builder.ts +++ /dev/null @@ -1,67 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace SelectorText { - // @ts-ignore - class Builder extends org.spongepowered.api.text.Text.Builder { - /** - * Returns the current selector of this builder. - */ - // @ts-ignore - public getSelector(): org.spongepowered.api.text.selector.Selector; - /** - * Sets the selector of the text. - */ - // @ts-ignore - public selector(selector: org.spongepowered.api.text.selector.Selector): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public build(): org.spongepowered.api.text.SelectorText; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public format(format: org.spongepowered.api.text.format.TextFormat): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public color(color: org.spongepowered.api.text.format.TextColor): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public style(styles: org.spongepowered.api.text.format.TextStyle): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public onClick(clickAction: org.spongepowered.api.text.action.ClickAction): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public onHover(hoverAction: org.spongepowered.api.text.action.HoverAction): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public onShiftClick(shiftClickAction: org.spongepowered.api.text.action.ShiftClickAction): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public append(children: org.spongepowered.api.text.Text): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public append(children: any[] /*java.util.Collection*/): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public append(children: any): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public append(children: any): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public insert(pos: number, children: org.spongepowered.api.text.Text): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public insert(pos: number, children: any[] /*java.util.Collection*/): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public insert(pos: number, children: any): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public insert(pos: number, children: any): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public remove(children: org.spongepowered.api.text.Text): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public remove(children: any[] /*java.util.Collection*/): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public remove(children: any): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public remove(children: any): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public removeAll(): org.spongepowered.api.text.SelectorText.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.SelectorText.ts b/packages/sponge/src/typings/org.spongepowered.api.text.SelectorText.ts deleted file mode 100644 index b63e6867..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.SelectorText.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - // @ts-ignore - class SelectorText extends org.spongepowered.api.text.Text { - /** - * Returns the selector used in this {@link Text}. - */ - // @ts-ignore - public getSelector(): org.spongepowered.api.text.selector.Selector; - // @ts-ignore - public toBuilder(): org.spongepowered.api.text.SelectorText.Builder; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.Text.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.text.Text.Builder.ts deleted file mode 100644 index 46e0da35..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.Text.Builder.ts +++ /dev/null @@ -1,184 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace Text { - // @ts-ignore - abstract class Builder implements org.spongepowered.api.text.TextRepresentable { - /** - * Returns the current format of the {@link Text} in this builder. - */ - // @ts-ignore - public getFormat(): org.spongepowered.api.text.format.TextFormat; - /** - * Sets the {@link TextFormat} of this text. - */ - // @ts-ignore - public format(format: org.spongepowered.api.text.format.TextFormat): org.spongepowered.api.text.Text.Builder; - /** - * Returns the current color of the {@link Text} in this builder. - */ - // @ts-ignore - public getColor(): org.spongepowered.api.text.format.TextColor; - /** - * Sets the {@link TextColor} of this text. - */ - // @ts-ignore - public color(color: org.spongepowered.api.text.format.TextColor): org.spongepowered.api.text.Text.Builder; - /** - * Returns the current style of the {@link Text} in this builder. - */ - // @ts-ignore - public getStyle(): org.spongepowered.api.text.format.TextStyle; - /** - * Sets the text styles of this text. This will construct a composite - * {@link TextStyle} of the current style and the specified styles first - * and set it to the text. - */ - // @ts-ignore - public style(styles: org.spongepowered.api.text.format.TextStyle): org.spongepowered.api.text.Text.Builder; - /** - * Returns the current {@link ClickAction} of this builder. - */ - // @ts-ignore - public getClickAction(): any; - /** - * Sets the {@link ClickAction} that will be executed if the text is - * clicked in the chat. - */ - // @ts-ignore - public onClick(clickAction: org.spongepowered.api.text.action.ClickAction): org.spongepowered.api.text.Text.Builder; - /** - * Returns the current {@link HoverAction} of this builder. - */ - // @ts-ignore - public getHoverAction(): any; - /** - * Sets the {@link HoverAction} that will be executed if the text is - * hovered in the chat. - */ - // @ts-ignore - public onHover(hoverAction: org.spongepowered.api.text.action.HoverAction): org.spongepowered.api.text.Text.Builder; - /** - * Returns the current {@link ShiftClickAction} of this builder. - */ - // @ts-ignore - public getShiftClickAction(): any; - /** - * Sets the {@link ShiftClickAction} that will be executed if the text - * is shift-clicked in the chat. - */ - // @ts-ignore - public onShiftClick(shiftClickAction: org.spongepowered.api.text.action.ShiftClickAction): org.spongepowered.api.text.Text.Builder; - /** - * Returns a view of the current children of this builder. - *

The returned list is unmodifiable, but not immutable. It will - * change if new children get added through this builder.

- */ - // @ts-ignore - public getChildren(): any[] /*java.util.List*/; - /** - * Appends the specified {@link Text} to the end of this text. - */ - // @ts-ignore - public append(children: org.spongepowered.api.text.Text): org.spongepowered.api.text.Text.Builder; - /** - * Appends the specified {@link Text} to the end of this text. - */ - // @ts-ignore - public append(children: any[] /*java.util.Collection*/): org.spongepowered.api.text.Text.Builder; - /** - * Appends the specified {@link Text} to the end of this text. - */ - // @ts-ignore - public append(children: any): org.spongepowered.api.text.Text.Builder; - /** - * Appends the specified {@link Text} to the end of this text. - */ - // @ts-ignore - public append(children: any): org.spongepowered.api.text.Text.Builder; - /** - * Inserts the specified {@link Text} at the given position of this - * builder. - */ - // @ts-ignore - public insert(pos: number, children: org.spongepowered.api.text.Text): org.spongepowered.api.text.Text.Builder; - /** - * Inserts the specified {@link Text} at the given position of this - * builder. - */ - // @ts-ignore - public insert(pos: number, children: any[] /*java.util.Collection*/): org.spongepowered.api.text.Text.Builder; - /** - * Inserts the specified {@link Text} at the given position of this - * builder. - */ - // @ts-ignore - public insert(pos: number, children: any): org.spongepowered.api.text.Text.Builder; - /** - * Inserts the specified {@link Text} at the given position of this - * builder. - */ - // @ts-ignore - public insert(pos: number, children: any): org.spongepowered.api.text.Text.Builder; - /** - * Removes the last child in this builder. - */ - // @ts-ignore - public removeLastChild(): org.spongepowered.api.text.Text.Builder; - /** - * Removes the child at the given index. - */ - // @ts-ignore - public remove(index: number): org.spongepowered.api.text.Text.Builder; - /** - * Removes the specified {@link Text} from this builder. - */ - // @ts-ignore - public remove(children: org.spongepowered.api.text.Text): org.spongepowered.api.text.Text.Builder; - /** - * Removes the specified {@link Text} from this builder. - */ - // @ts-ignore - public remove(children: any[] /*java.util.Collection*/): org.spongepowered.api.text.Text.Builder; - /** - * Removes the specified {@link Text} from this builder. - */ - // @ts-ignore - public remove(children: any): org.spongepowered.api.text.Text.Builder; - /** - * Removes the specified {@link Text} from this builder. - */ - // @ts-ignore - public remove(children: any): org.spongepowered.api.text.Text.Builder; - /** - * Removes all children from this builder. - */ - // @ts-ignore - public removeAll(): org.spongepowered.api.text.Text.Builder; - /** - * Removes all empty texts from the beginning and end of this - * builder. - */ - // @ts-ignore - public trim(): org.spongepowered.api.text.Text.Builder; - /** - * Builds an immutable instance of the current state of this text - * builder. - */ - // @ts-ignore - public abstract build(): org.spongepowered.api.text.Text; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - // @ts-ignore - public toText(): org.spongepowered.api.text.Text; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.Text.ts b/packages/sponge/src/typings/org.spongepowered.api.text.Text.ts deleted file mode 100644 index 7791fc61..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.Text.ts +++ /dev/null @@ -1,311 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - // @ts-ignore - abstract class Text implements org.spongepowered.api.text.TextRepresentable, org.spongepowered.api.data.DataSerializable { - // @ts-ignore - public static EMPTY: org.spongepowered.api.text.Text; - // @ts-ignore - public static NEW_LINE: org.spongepowered.api.text.LiteralText; - // @ts-ignore - public static PLAIN_COMPARATOR: any; - /** - * Returns the format of this {@link Text}. - */ - // @ts-ignore - public getFormat(): org.spongepowered.api.text.format.TextFormat; - /** - * Returns the color of this {@link Text}. - */ - // @ts-ignore - public getColor(): org.spongepowered.api.text.format.TextColor; - /** - * Returns the style of this {@link Text}. This will return a compound - * {@link TextStyle} if multiple different styles have been set. - */ - // @ts-ignore - public getStyle(): org.spongepowered.api.text.format.TextStyle; - /** - * Returns the immutable list of children appended after the content of this - * {@link Text}. - */ - // @ts-ignore - public getChildren(): any; - /** - * Returns an immutable {@link Iterable} over this text and all of its - * children. This is recursive, the children of the children will be also - * included. - */ - // @ts-ignore - public withChildren(): any; - /** - * Returns the {@link ClickAction} executed on the client when this - * {@link Text} gets clicked. - */ - // @ts-ignore - public getClickAction(): any; - /** - * Returns the {@link HoverAction} executed on the client when this - * {@link Text} gets hovered. - */ - // @ts-ignore - public getHoverAction(): any; - /** - * Returns the {@link ShiftClickAction} executed on the client when this - * {@link Text} gets shift-clicked. - */ - // @ts-ignore - public getShiftClickAction(): any; - /** - * Returns whether this {@link Text} is empty. - */ - // @ts-ignore - public isEmpty(): boolean; - /** - * Returns a new {@link Builder} with the content, formatting and actions of - * this text. This can be used to edit an otherwise immutable {@link Text} - * instance. - */ - // @ts-ignore - public abstract toBuilder(): org.spongepowered.api.text.Text.Builder; - /** - * Returns a plain text representation of this {@link Text} without any - * formatting. - */ - // @ts-ignore - public toPlain(): string; - /** - * Returns a plain text representation of this {@link Text} without any - * children. - */ - // @ts-ignore - public toPlainSingle(): string; - /** - * Concatenates the specified {@link Text} to this Text and returns the - * result. - */ - // @ts-ignore - public concat(other: org.spongepowered.api.text.Text): org.spongepowered.api.text.Text; - /** - * Removes all empty texts from the beginning and end of this - * text. - */ - // @ts-ignore - public trim(): org.spongepowered.api.text.Text; - /** - * Replaces a pattern in this text with a {@link Text}, preserving - * formatting where possible. - *

If {@code lossy} is true, this will replace the pattern if this finds - * it spanning multiple child {@link Text}s, resulting in a potential loss - * of formatting; if false, it will only replace the pattern where it is - * contained within one child {@link Text}, to preserve all formatting.

- *

This method produces a copy with the specified replacements. The - * original is not modified.

- */ - // @ts-ignore - public replace(oldValue: any, newValue: org.spongepowered.api.text.Text, lossy: boolean): org.spongepowered.api.text.Text; - /** - * Replaces a pattern in this text with a {@link Text}, preserving all - * formatting. - *

This method produces a copy with the specified replacements. The - * original is not modified.

- */ - // @ts-ignore - public replace(oldValue: any, newValue: org.spongepowered.api.text.Text): org.spongepowered.api.text.Text; - /** - * Replaces a string within this text with a {@link Text}, preserving - * formatting where possible. - *

If {@code lossy} is true, this will replace the pattern if this finds - * it spanning multiple child {@link Text}s, resulting in a potential loss - * of formatting; if false, it will only replace the pattern where it is - * contained within one child {@link Text}, to preserve all formatting.

- *

This method produces a copy with the specified replacements. The - * original is not modified.

- */ - // @ts-ignore - public replace(oldValue: string, newValue: org.spongepowered.api.text.Text, lossy: boolean): org.spongepowered.api.text.Text; - /** - * Replaces a string within this text with a {@link Text}, preserving all - * formatting. - *

This method produces a copy with the specified replacements. The - * original is not modified.

- */ - // @ts-ignore - public replace(oldValue: string, newValue: org.spongepowered.api.text.Text): org.spongepowered.api.text.Text; - // @ts-ignore - public getContentVersion(): number; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public compareTo(o: org.spongepowered.api.text.Text): number; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - // @ts-ignore - public toText(): org.spongepowered.api.text.Text; - /** - * Returns an empty, unformatted {@link Text} instance. - */ - // @ts-ignore - public static of(): org.spongepowered.api.text.Text; - /** - * Creates a {@link Text} with the specified plain text. The created text - * won't have any formatting or events configured. - */ - // @ts-ignore - public static of(content: string): org.spongepowered.api.text.LiteralText; - /** - * Creates a {@link Text} with the specified char as plain text. The created - * text won't have any formatting or events configured. - */ - // @ts-ignore - public static of(content: string): org.spongepowered.api.text.LiteralText; - /** - * Creates a new unformatted {@link TranslatableText} with the given - * {@link Translation} and arguments. - */ - // @ts-ignore - public static of(translation: org.spongepowered.api.text.translation.Translation, args: any): org.spongepowered.api.text.TranslatableText; - /** - * Creates a new unformatted {@link TranslatableText} from the given - * {@link Translatable}. - */ - // @ts-ignore - public static of(translatable: org.spongepowered.api.text.translation.Translatable, args: any): org.spongepowered.api.text.TranslatableText; - /** - * Creates a new unformatted {@link SelectorText} with the given selector. - */ - // @ts-ignore - public static of(selector: org.spongepowered.api.text.selector.Selector): org.spongepowered.api.text.SelectorText; - /** - * Creates a new unformatted {@link ScoreText} with the given score. - */ - // @ts-ignore - public static of(score: org.spongepowered.api.scoreboard.Score): org.spongepowered.api.text.ScoreText; - /** - * Builds a {@link Text} from a given array of objects. - *

For instance, you can use this like - * Text.of(TextColors.DARK_AQUA, "Hi", TextColors.AQUA, "Bye") - *

- *

This will create the correct {@link Text} instance if the input object - * is the input for one of the {@link Text} types or convert the object to a - * string otherwise.

- *

For instances of type {@link TextRepresentable} (e.g. {@link Text}, - * {@link Builder}, ...) the formatting of appended text has priority over - * the current formatting in the method, e.g. the following results in a - * green, then yellow and at the end green again {@link Text}:

- * Text.of(TextColors.GREEN, "Hello ", Text.of(TextColors.YELLOW, - * "Spongie"), '!'); - */ - // @ts-ignore - public static of(objects: any): org.spongepowered.api.text.Text; - /** - * Creates a {@link Text.Builder} with empty text. - */ - // @ts-ignore - public static builder(): org.spongepowered.api.text.Text.Builder; - /** - * Creates a new unformatted {@link LiteralText.Builder} with the specified - * content. - */ - // @ts-ignore - public static builder(content: string): org.spongepowered.api.text.LiteralText.Builder; - /** - * Creates a new unformatted {@link LiteralText.Builder} with the specified - * content. - */ - // @ts-ignore - public static builder(content: string): org.spongepowered.api.text.LiteralText.Builder; - /** - * Creates a new {@link LiteralText.Builder} with the formatting and actions - * of the specified {@link Text} and the given content. - */ - // @ts-ignore - public static builder(text: org.spongepowered.api.text.Text, content: string): org.spongepowered.api.text.LiteralText.Builder; - /** - * Creates a new unformatted {@link TranslatableText.Builder} with the given - * {@link Translation} and arguments. - */ - // @ts-ignore - public static builder(translation: org.spongepowered.api.text.translation.Translation, args: any): org.spongepowered.api.text.TranslatableText.Builder; - /** - * Creates a new unformatted {@link TranslatableText.Builder} from the given - * {@link Translatable}. - */ - // @ts-ignore - public static builder(translatable: org.spongepowered.api.text.translation.Translatable, args: any): org.spongepowered.api.text.TranslatableText.Builder; - /** - * Creates a new {@link TranslatableText.Builder} with the formatting and - * actions of the specified {@link Text} and the given {@link Translation} - * and arguments. - */ - // @ts-ignore - public static builder(text: org.spongepowered.api.text.Text, translation: org.spongepowered.api.text.translation.Translation, args: any): org.spongepowered.api.text.TranslatableText.Builder; - /** - * Creates a new {@link TranslatableText.Builder} with the formatting and - * actions of the specified {@link Text} and the given {@link Translatable}. - */ - // @ts-ignore - public static builder(text: org.spongepowered.api.text.Text, translatable: org.spongepowered.api.text.translation.Translatable, args: any): org.spongepowered.api.text.TranslatableText.Builder; - /** - * Creates a new unformatted {@link SelectorText.Builder} with the given - * selector. - */ - // @ts-ignore - public static builder(selector: org.spongepowered.api.text.selector.Selector): org.spongepowered.api.text.SelectorText.Builder; - /** - * Creates a new {@link SelectorText.Builder} with the formatting and - * actions of the specified {@link Text} and the given selector. - */ - // @ts-ignore - public static builder(text: org.spongepowered.api.text.Text, selector: org.spongepowered.api.text.selector.Selector): org.spongepowered.api.text.SelectorText.Builder; - /** - * Creates a new unformatted {@link ScoreText.Builder} with the given score. - */ - // @ts-ignore - public static builder(score: org.spongepowered.api.scoreboard.Score): org.spongepowered.api.text.ScoreText.Builder; - /** - * Creates a new {@link ScoreText.Builder} with the formatting and actions - * of the specified {@link Text} and the given score. - */ - // @ts-ignore - public static builder(text: org.spongepowered.api.text.Text, score: org.spongepowered.api.scoreboard.Score): org.spongepowered.api.text.ScoreText.Builder; - /** - * Joins a sequence of text objects together. - */ - // @ts-ignore - public static join(texts: org.spongepowered.api.text.Text): org.spongepowered.api.text.Text; - /** - * Joins a sequence of text objects together. - */ - // @ts-ignore - public static join(texts: any): org.spongepowered.api.text.Text; - /** - * Joins a sequence of text objects together. - */ - // @ts-ignore - public static join(texts: any): org.spongepowered.api.text.Text; - /** - * Joins a sequence of text objects together along with a separator. - */ - // @ts-ignore - public static joinWith(separator: org.spongepowered.api.text.Text, texts: org.spongepowered.api.text.Text): org.spongepowered.api.text.Text; - /** - * Joins a sequence of text objects together along with a separator. - */ - // @ts-ignore - public static joinWith(separator: org.spongepowered.api.text.Text, texts: any): org.spongepowered.api.text.Text; - /** - * Joins a sequence of text objects together along with a separator. - */ - // @ts-ignore - public static joinWith(separator: org.spongepowered.api.text.Text, texts: any): org.spongepowered.api.text.Text; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.TextElement.ts b/packages/sponge/src/typings/org.spongepowered.api.text.TextElement.ts deleted file mode 100644 index 171fb97a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.TextElement.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - // @ts-ignore - interface TextElement { - /** - * Applies this element to the end of the specified builder. - */ - // @ts-ignore - applyTo(builder: org.spongepowered.api.text.Text.Builder): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.TextRepresentable.ts b/packages/sponge/src/typings/org.spongepowered.api.text.TextRepresentable.ts deleted file mode 100644 index 88a66092..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.TextRepresentable.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - // @ts-ignore - interface TextRepresentable extends org.spongepowered.api.text.TextElement { - /** - * Gets the textual representation of this instance for its usage in other - * {@link Text} objects. This may but does not need to include - * {@link HoverAction hover texts} or other {@link TextAction actions}. This - * method is basically the {@link Object#toString() toString()} equivalent - * for {@link Text}s. - */ - // @ts-ignore - toText(): org.spongepowered.api.text.Text; - // @ts-ignore - applyTo(builder: org.spongepowered.api.text.Text.Builder): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.TextTemplate.Arg.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.text.TextTemplate.Arg.Builder.ts deleted file mode 100644 index ff2b93af..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.TextTemplate.Arg.Builder.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace TextTemplate { - namespace Arg { - // @ts-ignore - class Builder { - /** - * Builds a new {@link Arg}. Note that it is not necessary to call - * this method when supplying an argument to a template. You may - * pass the builder to {@link TextTemplate#of(Object...)} directly. - */ - // @ts-ignore - public build(): org.spongepowered.api.text.TextTemplate.Arg; - /** - * Sets whether the Arg should be optional (false by default). - */ - // @ts-ignore - public optional(optional: boolean): org.spongepowered.api.text.TextTemplate.Arg.Builder; - /** - * Makes the Arg optional. - */ - // @ts-ignore - public optional(): org.spongepowered.api.text.TextTemplate.Arg.Builder; - /** - * Sets the default value for the Argument. The argument must by - * optional in order for this value to be used. - */ - // @ts-ignore - public defaultValue(defaultValue: org.spongepowered.api.text.Text): org.spongepowered.api.text.TextTemplate.Arg.Builder; - /** - * Sets the "base" format of the Arg. This acts as a default format - * when no formatting data is provided by the parameter. - */ - // @ts-ignore - public format(format: org.spongepowered.api.text.format.TextFormat): org.spongepowered.api.text.TextTemplate.Arg.Builder; - /** - * Sets the "base" color of the Arg. This acts as a default color - * when no color data is provided by the parameter. - */ - // @ts-ignore - public color(color: org.spongepowered.api.text.format.TextColor): org.spongepowered.api.text.TextTemplate.Arg.Builder; - /** - * Sets the "base" style of the Arg. This acts as a default style - * when no style data is provided by the parameter. - */ - // @ts-ignore - public style(style: org.spongepowered.api.text.format.TextStyle): org.spongepowered.api.text.TextTemplate.Arg.Builder; - // @ts-ignore - public toString(): string; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.TextTemplate.Arg.ts b/packages/sponge/src/typings/org.spongepowered.api.text.TextTemplate.Arg.ts deleted file mode 100644 index a9f6c1a5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.TextTemplate.Arg.ts +++ /dev/null @@ -1,55 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace TextTemplate { - // @ts-ignore - class Arg implements org.spongepowered.api.text.TextRepresentable { - /** - * Returns the name of this argument to be matched with incoming - * parameters. - */ - // @ts-ignore - public getName(): string; - /** - * Returns true if this Arg is optional. If a parameter is missing for - * a non-optional Arg, a {@link TextTemplateArgumentException} will be - * thrown. - */ - // @ts-ignore - public isOptional(): boolean; - /** - * Returns the default value to use if the Arg {@link #isOptional()} - * and no parameter is supplied. - */ - // @ts-ignore - public getDefaultValue(): any; - /** - * Returns the base format to be applied to this Arg. - */ - // @ts-ignore - public getFormat(): org.spongepowered.api.text.format.TextFormat; - /** - * Returns the beginning string of the Arg's container. - */ - // @ts-ignore - public getOpenArgString(): string; - /** - * Returns the end string of the Arg's container. - */ - // @ts-ignore - public getCloseArgString(): string; - // @ts-ignore - public toText(): org.spongepowered.api.text.Text; - // @ts-ignore - public toString(): string; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.TextTemplate.ts b/packages/sponge/src/typings/org.spongepowered.api.text.TextTemplate.ts deleted file mode 100644 index 3117cc40..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.TextTemplate.ts +++ /dev/null @@ -1,112 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - // @ts-ignore - class TextTemplate implements org.spongepowered.api.text.TextRepresentable { - // @ts-ignore - public static DEFAULT_OPEN_ARG: string; - // @ts-ignore - public static DEFAULT_CLOSE_ARG: string; - // @ts-ignore - public static EMPTY: org.spongepowered.api.text.TextTemplate; - /** - * Returns the elements contained in this TextTemplate. - */ - // @ts-ignore - public getElements(): any[] /*java.util.List*/; - /** - * Returns the arguments contained within the TextTemplate. - */ - // @ts-ignore - public getArguments(): Map /*java.util.Map*/; - /** - * Returns the string used for containing Args within the template. - */ - // @ts-ignore - public getOpenArgString(): string; - /** - * Returns the string used for containing Args within the template. - */ - // @ts-ignore - public getCloseArgString(): string; - /** - * Concatenates the specified {@link TextTemplate} to this template and - * returns the result. In the event that the two templates' open/close - * argument containers vary, this template's argument containers will be - * used. - */ - // @ts-ignore - public concat(other: org.spongepowered.api.text.TextTemplate): org.spongepowered.api.text.TextTemplate; - /** - * Applies an empty map of parameters to this TextTemplate and returns the - * result in a {@link Text.Builder}. - */ - // @ts-ignore - public apply(): org.spongepowered.api.text.Text.Builder; - /** - * Applies the specified parameters to this TextTemplate and returns the - * result in a {@link Text.Builder}. - */ - // @ts-ignore - public apply(params: Map /*java.util.Map*/): org.spongepowered.api.text.Text.Builder; - /** - * Constructs a new TextTemplate for the given elements. The order of the - * elements is the order in which they will be appended to the result - * builder via {@link #apply(Map)}. - *

The provided elements may be of any type.

- *

In the case that an element is a {@link TextElement}, - * {@link TextElement#applyTo(Text.Builder)} will be used to append the - * element to the builder.

- *

In the case that an element is an {@link Arg} the argument will be - * replaced with the {@link TextElement} provided by the corresponding - * parameter supplied by {@link #apply(Map)}

- *

In the case that an element is any other type, the parameter value's - * {@link Object#toString()} method will be used to create a {@link Text} - * object.

- */ - // @ts-ignore - public static of(openArg: string, closeArg: string, elements: any): org.spongepowered.api.text.TextTemplate; - /** - * Constructs a new TextTemplate for the given elements. The order of the - * elements is the order in which they will be appended to the result - * builder via {@link #apply(Map)}. - *

The provided elements may be of any type.

- *

In the case that an element is a {@link TextElement}, - * {@link TextElement#applyTo(Text.Builder)} will be used to append the - * element to the builder.

- *

In the case that an element is an {@link Arg} the argument will be - * replaced with the {@link TextElement} provided by the corresponding - * parameter supplied by {@link #apply(Map)}

- *

In the case that an element is any other type, the parameter value's - * {@link Object#toString()} method will be used to create a {@link Text} - * object.

- */ - // @ts-ignore - public static of(elements: any): org.spongepowered.api.text.TextTemplate; - /** - * Returns the empty representation of a TextTemplate. - */ - // @ts-ignore - public static of(): org.spongepowered.api.text.TextTemplate; - /** - * Constructs a new {@link Arg} to be supplied to {@link #of(Object...)}. - * This argument expects a {@link TextElement} parameter. - */ - // @ts-ignore - public static arg(name: string): org.spongepowered.api.text.TextTemplate.Arg.Builder; - // @ts-ignore - public toText(): org.spongepowered.api.text.Text; - // @ts-ignore - public iterator(): any; - // @ts-ignore - public toString(): string; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.TextTemplateArgumentException.ts b/packages/sponge/src/typings/org.spongepowered.api.text.TextTemplateArgumentException.ts deleted file mode 100644 index 746d3e75..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.TextTemplateArgumentException.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - // @ts-ignore - class TextTemplateArgumentException { - /** - * Creates exception with the specified message. - */ - constructor(msg: string) - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.TranslatableText.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.text.TranslatableText.Builder.ts deleted file mode 100644 index 76d75d11..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.TranslatableText.Builder.ts +++ /dev/null @@ -1,77 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace TranslatableText { - // @ts-ignore - class Builder extends org.spongepowered.api.text.Text.Builder { - /** - * Returns the current translation of this builder. - */ - // @ts-ignore - public getTranslation(): org.spongepowered.api.text.translation.Translation; - /** - * Returns the current translation arguments of this builder. - */ - // @ts-ignore - public getArguments(): any; - /** - * Sets the translation of the text. - */ - // @ts-ignore - public translation(translation: org.spongepowered.api.text.translation.Translation, args: any): org.spongepowered.api.text.TranslatableText.Builder; - /** - * Sets the translation of the text. - */ - // @ts-ignore - public translation(translatable: org.spongepowered.api.text.translation.Translatable, args: any): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public build(): org.spongepowered.api.text.TranslatableText; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public format(format: org.spongepowered.api.text.format.TextFormat): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public color(color: org.spongepowered.api.text.format.TextColor): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public style(styles: org.spongepowered.api.text.format.TextStyle): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public onClick(clickAction: org.spongepowered.api.text.action.ClickAction): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public onHover(hoverAction: org.spongepowered.api.text.action.HoverAction): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public onShiftClick(shiftClickAction: org.spongepowered.api.text.action.ShiftClickAction): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public append(children: org.spongepowered.api.text.Text): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public append(children: any[] /*java.util.Collection*/): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public append(children: any): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public append(children: any): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public insert(pos: number, children: org.spongepowered.api.text.Text): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public insert(pos: number, children: any[] /*java.util.Collection*/): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public insert(pos: number, children: any): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public insert(pos: number, children: any): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public remove(children: org.spongepowered.api.text.Text): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public remove(children: any[] /*java.util.Collection*/): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public remove(children: any): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public remove(children: any): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public removeAll(): org.spongepowered.api.text.TranslatableText.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.TranslatableText.ts b/packages/sponge/src/typings/org.spongepowered.api.text.TranslatableText.ts deleted file mode 100644 index e59824bd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.TranslatableText.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - // @ts-ignore - class TranslatableText extends org.spongepowered.api.text.Text { - /** - * Returns the translation of this {@link Text}. - */ - // @ts-ignore - public getTranslation(): org.spongepowered.api.text.translation.Translation; - /** - * Returns the list of {@link Translation} arguments used to format this - * {@link Text}. - */ - // @ts-ignore - public getArguments(): any; - // @ts-ignore - public toBuilder(): org.spongepowered.api.text.TranslatableText.Builder; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.ChangePage.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.ChangePage.ts deleted file mode 100644 index f9730690..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.ChangePage.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - namespace ClickAction { - // @ts-ignore - class ChangePage extends org.spongepowered.api.text.action.ClickAction { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.ExecuteCallback.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.ExecuteCallback.ts deleted file mode 100644 index 69ff719b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.ExecuteCallback.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - namespace ClickAction { - // @ts-ignore - class ExecuteCallback extends org.spongepowered.api.text.action.ClickAction { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.OpenUrl.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.OpenUrl.ts deleted file mode 100644 index afd1db4c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.OpenUrl.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - namespace ClickAction { - // @ts-ignore - class OpenUrl extends org.spongepowered.api.text.action.ClickAction { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.RunCommand.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.RunCommand.ts deleted file mode 100644 index 2cf5e3be..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.RunCommand.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - namespace ClickAction { - // @ts-ignore - class RunCommand extends org.spongepowered.api.text.action.ClickAction { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.SuggestCommand.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.SuggestCommand.ts deleted file mode 100644 index 12aac48e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.SuggestCommand.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - namespace ClickAction { - // @ts-ignore - class SuggestCommand extends org.spongepowered.api.text.action.ClickAction { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.ts deleted file mode 100644 index 0fdcb853..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.ClickAction.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - // @ts-ignore - abstract class ClickAction extends org.spongepowered.api.text.action.TextAction { - // @ts-ignore - public applyTo(builder: org.spongepowered.api.text.Text.Builder): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowEntity.Ref.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowEntity.Ref.ts deleted file mode 100644 index 8bd4dbac..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowEntity.Ref.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - namespace HoverAction { - namespace ShowEntity { - // @ts-ignore - class Ref implements org.spongepowered.api.util.Identifiable { - /** - * Constructs a Ref to an entity. - */ - constructor(uuid: any, name: string, type: org.spongepowered.api.entity.EntityType) - /** - * Constructs a Ref to an entity. - */ - constructor(uuid: any, name: string) - /** - * Constructs a Ref, given an {@link Entity}. - */ - constructor(entity: org.spongepowered.api.entity.Entity, name: string) - /** - * Constructs a Ref directly. - */ - constructor(uuid: any, name: string, type: any) - /** - * Retrieves the UUID that this {@link Ref} refers to. - */ - // @ts-ignore - public getUniqueId(): any; - /** - * Retrieves the name that this {@link Ref} refers to. - */ - // @ts-ignore - public getName(): string; - /** - * Retrieves the type that this {@link Ref} refers to, if it exists. - */ - // @ts-ignore - public getType(): any; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowEntity.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowEntity.ts deleted file mode 100644 index b795c036..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowEntity.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - namespace HoverAction { - // @ts-ignore - class ShowEntity extends org.spongepowered.api.text.action.HoverAction { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowItem.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowItem.ts deleted file mode 100644 index ba7e3f45..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowItem.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - namespace HoverAction { - // @ts-ignore - class ShowItem extends org.spongepowered.api.text.action.HoverAction { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowText.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowText.ts deleted file mode 100644 index 671a71a1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ShowText.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - namespace HoverAction { - // @ts-ignore - class ShowText extends org.spongepowered.api.text.action.HoverAction { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ts deleted file mode 100644 index ab13ddb6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.HoverAction.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - // @ts-ignore - abstract class HoverAction extends org.spongepowered.api.text.action.TextAction { - // @ts-ignore - public applyTo(builder: org.spongepowered.api.text.Text.Builder): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.ShiftClickAction.InsertText.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.ShiftClickAction.InsertText.ts deleted file mode 100644 index b7e64648..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.ShiftClickAction.InsertText.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - namespace ShiftClickAction { - // @ts-ignore - class InsertText extends org.spongepowered.api.text.action.ShiftClickAction { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.ShiftClickAction.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.ShiftClickAction.ts deleted file mode 100644 index 1daefd60..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.ShiftClickAction.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - // @ts-ignore - abstract class ShiftClickAction extends org.spongepowered.api.text.action.TextAction { - // @ts-ignore - public applyTo(builder: org.spongepowered.api.text.Text.Builder): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.TextAction.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.TextAction.ts deleted file mode 100644 index 9151d6d3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.TextAction.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - // @ts-ignore - abstract class TextAction implements org.spongepowered.api.text.TextElement { - /** - * Constructs a new {@link TextAction} with the given result. - */ - constructor(result: any) - // @ts-ignore - protected result: any; - /** - * Returns the result of this {@link TextAction}. - */ - // @ts-ignore - public getResult(): any; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.action.TextActions.ts b/packages/sponge/src/typings/org.spongepowered.api.text.action.TextActions.ts deleted file mode 100644 index 7c01dfc4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.action.TextActions.ts +++ /dev/null @@ -1,86 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace action { - // @ts-ignore - class TextActions { - /** - * Creates a new {@link ClickAction} that will ask the player to open an URL - * when it is clicked. - */ - // @ts-ignore - public static openUrl(url: any): org.spongepowered.api.text.action.ClickAction.OpenUrl; - /** - * Creates a new {@link ClickAction} that will type a command on the client - * when it is clicked. - */ - // @ts-ignore - public static runCommand(command: string): org.spongepowered.api.text.action.ClickAction.RunCommand; - /** - * Creates a new {@link ClickAction} that will change the page in a book - * when it is clicked. - */ - // @ts-ignore - public static changePage(page: number): org.spongepowered.api.text.action.ClickAction.ChangePage; - /** - * Creates a new {@link ClickAction} that will suggest the player a command - * when it is clicked. - */ - // @ts-ignore - public static suggestCommand(command: string): org.spongepowered.api.text.action.ClickAction.SuggestCommand; - /** - * Creates a new {@link ClickAction} that will execute the given runnable on - * the server when clicked. The callback will expire after some amount of - * time (not particularly instantly, but not like overnight really either). - */ - // @ts-ignore - public static executeCallback(callback: any): org.spongepowered.api.text.action.ClickAction.ExecuteCallback; - /** - * Creates a new {@link HoverAction} that will show a text on the client - * when it is hovered. - */ - // @ts-ignore - public static showText(text: org.spongepowered.api.text.Text): org.spongepowered.api.text.action.HoverAction.ShowText; - /** - * Creates a new {@link HoverAction} that will show information about an - * item when it is hovered. - */ - // @ts-ignore - public static showItem(item: org.spongepowered.api.item.inventory.ItemStackSnapshot): org.spongepowered.api.text.action.HoverAction.ShowItem; - /** - * Creates a new {@link HoverAction} that will show information about an - * entity when it is hovered. - */ - // @ts-ignore - public static showEntity(entity: org.spongepowered.api.text.action.HoverAction.ShowEntity.Ref): org.spongepowered.api.text.action.HoverAction.ShowEntity; - /** - * Creates a new {@link HoverAction} that will show information about an - * entity when it is hovered. - */ - // @ts-ignore - public static showEntity(uuid: any, name: string, type: org.spongepowered.api.entity.EntityType): org.spongepowered.api.text.action.HoverAction.ShowEntity; - /** - * Creates a new {@link HoverAction} that will show information about an - * entity when it is hovered. - */ - // @ts-ignore - public static showEntity(uuid: any, name: string): org.spongepowered.api.text.action.HoverAction.ShowEntity; - /** - * Creates a new {@link HoverAction} that will show information about an - * entity when it is hovered. - */ - // @ts-ignore - public static showEntity(entity: org.spongepowered.api.entity.Entity, name: string): org.spongepowered.api.text.action.HoverAction.ShowEntity; - /** - * Creates a new {@link ShiftClickAction} that will insert text at the - * current cursor position in the chat when it is shift-clicked. - */ - // @ts-ignore - public static insertText(text: string): org.spongepowered.api.text.action.ShiftClickAction.InsertText; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.channel.AbstractMutableMessageChannel.ts b/packages/sponge/src/typings/org.spongepowered.api.text.channel.AbstractMutableMessageChannel.ts deleted file mode 100644 index acc663ae..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.channel.AbstractMutableMessageChannel.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace channel { - // @ts-ignore - abstract class AbstractMutableMessageChannel implements org.spongepowered.api.text.channel.MutableMessageChannel { - /** - * The default implementation uses a {@link WeakHashMap} implementation of {@link Set}. - */ - constructor() - /** - * Creates a new instance of {@link AbstractMutableMessageChannel} with the - * provided {@link Collection} as the underlying member list. - *

The passed {@link Collection} directly affects the members of this - * channel.

- *

It is recommended to use a weak collection to avoid memory leaks. If - * you do not use a weak collection, please ensure that members are cleaned - * up properly.

- */ - constructor(members: any[] /*java.util.Collection*/) - // @ts-ignore - protected members: any[] /*java.util.Collection*/; - // @ts-ignore - public addMember(member: org.spongepowered.api.text.channel.MessageReceiver): boolean; - // @ts-ignore - public removeMember(member: org.spongepowered.api.text.channel.MessageReceiver): boolean; - // @ts-ignore - public clearMembers(): void; - // @ts-ignore - public getMembers(): any[] /*java.util.Collection*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.channel.ChatTypeMessageReceiver.ts b/packages/sponge/src/typings/org.spongepowered.api.text.channel.ChatTypeMessageReceiver.ts deleted file mode 100644 index 8705c55e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.channel.ChatTypeMessageReceiver.ts +++ /dev/null @@ -1,50 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace channel { - // @ts-ignore - interface ChatTypeMessageReceiver { - /** - * Sends a message with the specified {@link ChatType} to this receiver. - *

If text formatting is not supported in the implementation - * it will be displayed as plain text.

- */ - // @ts-ignore - sendMessage(type: org.spongepowered.api.text.chat.ChatType, message: org.spongepowered.api.text.Text): void; - /** - * Sends a message constructed from the {@link TextTemplate} with the - * specified {@link ChatType} to this receiver. - *

If text formatting is not supported in the implementation - * it will be displayed as plain text.

- */ - // @ts-ignore - sendMessage(type: org.spongepowered.api.text.chat.ChatType, template: org.spongepowered.api.text.TextTemplate): void; - /** - * Sends a message constructed from the {@link TextTemplate} and - * {@code parameters} with the specified {@link ChatType} to this receiver. - *

If text formatting is not supported in the implementation - * it will be displayed as plain text.

- */ - // @ts-ignore - sendMessage(type: org.spongepowered.api.text.chat.ChatType, template: org.spongepowered.api.text.TextTemplate, parameters: Map /*java.util.Map*/): void; - /** - * Sends the message(s) with the specified {@link ChatType} to this receiver. - *

If text formatting is not supported in the implementation - * it will be displayed as plain text.

- */ - // @ts-ignore - sendMessages(type: org.spongepowered.api.text.chat.ChatType, messages: org.spongepowered.api.text.Text): void; - /** - * Sends the message(s) with the specified {@link ChatType} to this receiver. - *

If text formatting is not supported in the implementation - * it will be displayed as plain text.

- */ - // @ts-ignore - sendMessages(type: org.spongepowered.api.text.chat.ChatType, messages: any): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.channel.MessageChannel.ts b/packages/sponge/src/typings/org.spongepowered.api.text.channel.MessageChannel.ts deleted file mode 100644 index 8ce3dd06..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.channel.MessageChannel.ts +++ /dev/null @@ -1,101 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace channel { - // @ts-ignore - interface MessageChannel { - // @ts-ignore - TO_NONE: org.spongepowered.api.text.channel.MessageChannel; - // @ts-ignore - TO_PLAYERS: org.spongepowered.api.text.channel.MessageChannel; - // @ts-ignore - TO_CONSOLE: org.spongepowered.api.text.channel.MessageChannel; - // @ts-ignore - TO_ALL: org.spongepowered.api.text.channel.MessageChannel; - /** - * Creates a message channel that targets all subjects with the given - * permission. - */ - // @ts-ignore - permission(permission: string): org.spongepowered.api.text.channel.MessageChannel; - /** - * Creates a message channel that targets all subjects contained within the - * given channels and applies the message transformations of each channel in - * order. - */ - // @ts-ignore - combined(channels: org.spongepowered.api.text.channel.MessageChannel): org.spongepowered.api.text.channel.MessageChannel; - /** - * Gets a message channel that targets all subjects contained within the - * given channels and applies the message transformations of each channel in - * order. - */ - // @ts-ignore - combined(channels: any[] /*java.util.Collection*/): org.spongepowered.api.text.channel.MessageChannel; - /** - * Creates a message channel that targets the given sources. - */ - // @ts-ignore - fixed(recipients: org.spongepowered.api.text.channel.MessageReceiver): org.spongepowered.api.text.channel.MessageChannel; - /** - * Creates a message channel that targets the given recipients. - */ - // @ts-ignore - fixed(recipients: any[] /*java.util.Collection*/): org.spongepowered.api.text.channel.MessageChannel; - /** - * Creates a message channel that targets the given world. - */ - // @ts-ignore - world(world: org.spongepowered.api.world.World): org.spongepowered.api.text.channel.MessageChannel; - /** - * Broadcast a message to this channel, transforming and sending it to - * the members. - */ - // @ts-ignore - send(original: org.spongepowered.api.text.Text): void; - /** - * Sends a message to this channel, transforming and sending it to - * the members. - *

By default, the {@link ChatTypes#SYSTEM} type is used when sending - * messages to applicable recipients of this channel.

- */ - // @ts-ignore - send(original: org.spongepowered.api.text.Text, type: org.spongepowered.api.text.chat.ChatType): void; - /** - * Send a message to this channel, transforming and sending it to the - * members. - */ - // @ts-ignore - send(sender: any, original: org.spongepowered.api.text.Text): void; - /** - * Send a message to this channel, transforming and sending it to the - * members. - */ - // @ts-ignore - send(sender: any, original: org.spongepowered.api.text.Text, type: org.spongepowered.api.text.chat.ChatType): void; - /** - * Handle transforming the input message appropriately. - */ - // @ts-ignore - transformMessage(sender: any, recipient: org.spongepowered.api.text.channel.MessageReceiver, original: org.spongepowered.api.text.Text, type: org.spongepowered.api.text.chat.ChatType): any; - /** - * Gets a collection of all members in this channel. - */ - // @ts-ignore - getMembers(): any[] /*java.util.Collection*/; - /** - * Gets or creates a mutable version of this channel. - *

The default behaviour of this method is to copy the current member - * list into a {@link DelegateMutableMessageChannel}, which calls the - * {@link #transformMessage(Object, MessageReceiver, Text, ChatType)} method - * on this channel.

- */ - // @ts-ignore - asMutable(): org.spongepowered.api.text.channel.MutableMessageChannel; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.channel.MessageReceiver.ts b/packages/sponge/src/typings/org.spongepowered.api.text.channel.MessageReceiver.ts deleted file mode 100644 index 2395422d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.channel.MessageReceiver.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace channel { - // @ts-ignore - interface MessageReceiver { - /** - * Sends a message to this receiver. - *

If text formatting is not supported in the implementation - * it will be displayed as plain text.

- */ - // @ts-ignore - sendMessage(message: org.spongepowered.api.text.Text): void; - /** - * Sends a message constructed from the {@link TextTemplate} to - * this receiver. - *

If text formatting is not supported in the implementation - * it will be displayed as plain text.

- */ - // @ts-ignore - sendMessage(template: org.spongepowered.api.text.TextTemplate): void; - /** - * Sends a message constructed from the {@link TextTemplate} and - * {@code parameters} to this receiver. - *

If text formatting is not supported in the implementation - * it will be displayed as plain text.

- */ - // @ts-ignore - sendMessage(template: org.spongepowered.api.text.TextTemplate, parameters: Map /*java.util.Map*/): void; - /** - * Sends the message(s) to this receiver. - *

If text formatting is not supported in the implementation - * it will be displayed as plain text.

- */ - // @ts-ignore - sendMessages(messages: org.spongepowered.api.text.Text): void; - /** - * Sends the message(s) to this receiver. - *

If text formatting is not supported in the implementation - * it will be displayed as plain text.

- */ - // @ts-ignore - sendMessages(messages: any): void; - /** - * Return the message channel that messages from this source should be sent - * to. - */ - // @ts-ignore - getMessageChannel(): org.spongepowered.api.text.channel.MessageChannel; - /** - * Sets the message channel that messages sent by this source should be sent - * to. - */ - // @ts-ignore - setMessageChannel(channel: org.spongepowered.api.text.channel.MessageChannel): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.channel.MutableMessageChannel.ts b/packages/sponge/src/typings/org.spongepowered.api.text.channel.MutableMessageChannel.ts deleted file mode 100644 index 086faf80..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.channel.MutableMessageChannel.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace channel { - // @ts-ignore - interface MutableMessageChannel extends org.spongepowered.api.text.channel.MessageChannel { - /** - * Adds a member to this channel. - */ - // @ts-ignore - addMember(member: org.spongepowered.api.text.channel.MessageReceiver): boolean; - /** - * Removes a member from this channel. - */ - // @ts-ignore - removeMember(member: org.spongepowered.api.text.channel.MessageReceiver): boolean; - /** - * Removes all of the members from this channel. - */ - // @ts-ignore - clearMembers(): void; - // @ts-ignore - asMutable(): org.spongepowered.api.text.channel.MutableMessageChannel; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.channel.impl.DelegateMessageChannel.ts b/packages/sponge/src/typings/org.spongepowered.api.text.channel.impl.DelegateMessageChannel.ts deleted file mode 100644 index 5b580e2c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.channel.impl.DelegateMessageChannel.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace channel { - namespace impl { - // @ts-ignore - class DelegateMessageChannel implements org.spongepowered.api.text.channel.MessageChannel { - /** - * Creates a delegate {@link MessageChannel} that delegates all functions - * to the delegated message channel. - */ - constructor(delegate: org.spongepowered.api.text.channel.MessageChannel) - // @ts-ignore - protected delegate: org.spongepowered.api.text.channel.MessageChannel; - // @ts-ignore - public transformMessage(sender: any, recipient: org.spongepowered.api.text.channel.MessageReceiver, original: org.spongepowered.api.text.Text, type: org.spongepowered.api.text.chat.ChatType): any; - // @ts-ignore - public getMembers(): any[] /*java.util.Collection*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.channel.impl.DelegateMutableMessageChannel.ts b/packages/sponge/src/typings/org.spongepowered.api.text.channel.impl.DelegateMutableMessageChannel.ts deleted file mode 100644 index e5f52e12..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.channel.impl.DelegateMutableMessageChannel.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace channel { - namespace impl { - // @ts-ignore - class DelegateMutableMessageChannel extends org.spongepowered.api.text.channel.AbstractMutableMessageChannel { - /** - * Constructs a delegate mutable message channel. - *

The members from the provided channel are copied into our - * own local collection.

- */ - constructor(delegate: org.spongepowered.api.text.channel.MessageChannel) - // @ts-ignore - protected delegate: org.spongepowered.api.text.channel.MessageChannel; - // @ts-ignore - public transformMessage(sender: any, recipient: org.spongepowered.api.text.channel.MessageReceiver, original: org.spongepowered.api.text.Text, type: org.spongepowered.api.text.chat.ChatType): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.channel.impl.SimpleMutableMessageChannel.ts b/packages/sponge/src/typings/org.spongepowered.api.text.channel.impl.SimpleMutableMessageChannel.ts deleted file mode 100644 index f4f264e2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.channel.impl.SimpleMutableMessageChannel.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace channel { - namespace impl { - // @ts-ignore - class SimpleMutableMessageChannel extends org.spongepowered.api.text.channel.AbstractMutableMessageChannel { - /** - * Creates a new mutable {@link MessageChannel}. - */ - constructor() - /** - * Creates a new mutable {@link MessageChannel} with the provided - * {@link Collection} of {@link MessageReceiver}s. - */ - constructor(members: any[] /*java.util.Collection*/) - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.channel.type.CombinedMessageChannel.ts b/packages/sponge/src/typings/org.spongepowered.api.text.channel.type.CombinedMessageChannel.ts deleted file mode 100644 index 2979226f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.channel.type.CombinedMessageChannel.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace channel { - namespace type { - // @ts-ignore - class CombinedMessageChannel implements org.spongepowered.api.text.channel.MessageChannel { - /** - * Creates a new combined message channel of the provided - * {@link MessageChannel}s. - */ - constructor(channels: org.spongepowered.api.text.channel.MessageChannel) - /** - * Creates a new combined message channel of the provided {@link Collection} - * of {@link MessageChannel}s. - */ - constructor(channels: any[] /*java.util.Collection*/) - // @ts-ignore - protected channels: any[] /*java.util.Collection*/; - // @ts-ignore - public transformMessage(sender: any, recipient: org.spongepowered.api.text.channel.MessageReceiver, original: org.spongepowered.api.text.Text, type: org.spongepowered.api.text.chat.ChatType): any; - // @ts-ignore - public getMembers(): any[] /*java.util.Collection*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.channel.type.FixedMessageChannel.ts b/packages/sponge/src/typings/org.spongepowered.api.text.channel.type.FixedMessageChannel.ts deleted file mode 100644 index 7eed47ec..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.channel.type.FixedMessageChannel.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace channel { - namespace type { - // @ts-ignore - class FixedMessageChannel implements org.spongepowered.api.text.channel.MessageChannel { - /** - * Creates an unmodifiable {@link MessageChannel} with the - * provided {@link MessageReceiver}s. - */ - constructor(recipients: org.spongepowered.api.text.channel.MessageReceiver) - /** - * Creates an unmodifiable {@link MessageChannel} with the provided - * {@link Collection} of {@link MessageReceiver}s. - */ - constructor(provided: any[] /*java.util.Collection*/) - // @ts-ignore - protected recipients: any[] /*java.util.Set*/; - // @ts-ignore - public getMembers(): any[] /*java.util.Collection*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.channel.type.PermissionMessageChannel.ts b/packages/sponge/src/typings/org.spongepowered.api.text.channel.type.PermissionMessageChannel.ts deleted file mode 100644 index b1fd9f04..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.channel.type.PermissionMessageChannel.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace channel { - namespace type { - // @ts-ignore - class PermissionMessageChannel implements org.spongepowered.api.text.channel.MessageChannel { - /** - * Creates a new {@link MessageChannel} with the provided {@link String permission} - * required to be considered a "target" {@link MessageReceiver}. - */ - constructor(permission: string) - // @ts-ignore - protected permission: string; - /** - * Gets the {@link String} permission required to be included in this - * {@link MessageChannel}. - */ - // @ts-ignore - public getPermission(): string; - // @ts-ignore - public getMembers(): any[] /*java.util.Collection*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.channel.type.WorldMessageChannel.ts b/packages/sponge/src/typings/org.spongepowered.api.text.channel.type.WorldMessageChannel.ts deleted file mode 100644 index 2121d9bd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.channel.type.WorldMessageChannel.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace channel { - namespace type { - // @ts-ignore - class WorldMessageChannel implements org.spongepowered.api.text.channel.MessageChannel { - /** - * Creates a new {@link MessageChannel channel} specific to the provided - * {@link World world}. - */ - constructor(world: org.spongepowered.api.world.World) - // @ts-ignore - public getMembers(): any[] /*java.util.Collection*/; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatType.ts b/packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatType.ts deleted file mode 100644 index cb836a6b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace chat { - // @ts-ignore - interface ChatType extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatTypes.ts deleted file mode 100644 index 5e19c2ca..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatTypes.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace chat { - // @ts-ignore - class ChatTypes { - // @ts-ignore - public static ACTION_BAR: org.spongepowered.api.text.chat.ChatType; - // @ts-ignore - public static CHAT: org.spongepowered.api.text.chat.ChatType; - // @ts-ignore - public static SYSTEM: org.spongepowered.api.text.chat.ChatType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatVisibilities.ts b/packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatVisibilities.ts deleted file mode 100644 index f7d0dcf5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatVisibilities.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace chat { - // @ts-ignore - class ChatVisibilities { - // @ts-ignore - public static FULL: org.spongepowered.api.text.chat.ChatVisibility; - // @ts-ignore - public static HIDDEN: org.spongepowered.api.text.chat.ChatVisibility; - // @ts-ignore - public static SYSTEM: org.spongepowered.api.text.chat.ChatVisibility; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatVisibility.ts b/packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatVisibility.ts deleted file mode 100644 index 2afb2d96..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.chat.ChatVisibility.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace chat { - // @ts-ignore - interface ChatVisibility extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - /** - * Tests whether the given chat type will be visible to a player's chat. - */ - // @ts-ignore - isVisible(chatType: org.spongepowered.api.text.chat.ChatType): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.format.TextColor.ts b/packages/sponge/src/typings/org.spongepowered.api.text.format.TextColor.ts deleted file mode 100644 index dc955d49..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.format.TextColor.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace format { - // @ts-ignore - interface TextColor extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.TextElement { - /** - * Returns the corresponding {@link Color} for this {@link TextColor}. - */ - // @ts-ignore - getColor(): org.spongepowered.api.util.Color; - // @ts-ignore - applyTo(builder: org.spongepowered.api.text.Text.Builder): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.format.TextColors.ts b/packages/sponge/src/typings/org.spongepowered.api.text.format.TextColors.ts deleted file mode 100644 index cc439cb1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.format.TextColors.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace format { - // @ts-ignore - class TextColors { - // @ts-ignore - public static NONE: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static AQUA: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static BLACK: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static BLUE: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static DARK_AQUA: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static DARK_BLUE: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static DARK_GRAY: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static DARK_GREEN: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static DARK_PURPLE: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static DARK_RED: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static GOLD: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static GRAY: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static GREEN: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static LIGHT_PURPLE: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static RED: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static RESET: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static WHITE: org.spongepowered.api.text.format.TextColor; - // @ts-ignore - public static YELLOW: org.spongepowered.api.text.format.TextColor; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.format.TextFormat.ts b/packages/sponge/src/typings/org.spongepowered.api.text.format.TextFormat.ts deleted file mode 100644 index 4714c672..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.format.TextFormat.ts +++ /dev/null @@ -1,79 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace format { - // @ts-ignore - class TextFormat implements org.spongepowered.api.text.TextElement { - // @ts-ignore - public static NONE: org.spongepowered.api.text.format.TextFormat; - /** - * Gets the {@link TextFormat} with the default style and color. - */ - // @ts-ignore - public static of(): org.spongepowered.api.text.format.TextFormat; - /** - * Constructs a new {@link TextFormat} with the specific style. - */ - // @ts-ignore - public static of(style: org.spongepowered.api.text.format.TextStyle): org.spongepowered.api.text.format.TextFormat; - /** - * Constructs a new {@link TextFormat} with the specific color. - */ - // @ts-ignore - public static of(color: org.spongepowered.api.text.format.TextColor): org.spongepowered.api.text.format.TextFormat; - /** - * Constructs a new {@link TextFormat} with the specific color and style. - */ - // @ts-ignore - public static of(color: org.spongepowered.api.text.format.TextColor, style: org.spongepowered.api.text.format.TextStyle): org.spongepowered.api.text.format.TextFormat; - /** - * Returns the {@link TextColor} in this format. - */ - // @ts-ignore - public getColor(): org.spongepowered.api.text.format.TextColor; - /** - * Returns the {@link TextStyle} in this format. - */ - // @ts-ignore - public getStyle(): org.spongepowered.api.text.format.TextStyle; - /** - * Returns a new {@link TextFormat} with the given color. - */ - // @ts-ignore - public color(color: org.spongepowered.api.text.format.TextColor): org.spongepowered.api.text.format.TextFormat; - /** - * Returns a new {@link TextFormat} with the given style. - */ - // @ts-ignore - public style(style: org.spongepowered.api.text.format.TextStyle): org.spongepowered.api.text.format.TextFormat; - /** - * Returns a new {@link TextFormat} that combines this and the given format. - * The given format takes higher priority than this one. Due to this the - * color will only fallback to this one if the given format's color is - * {@link TextColors#NONE}. If the given format's color is - * {@link TextColors#RESET} then {@link TextColors#NONE} will be used. - * Styles are combined using {@link TextStyle#and(TextStyle...)}. - */ - // @ts-ignore - public merge(format: org.spongepowered.api.text.format.TextFormat): org.spongepowered.api.text.format.TextFormat; - /** - * Returns whether this {@link TextFormat} has no color and format - * specified. - */ - // @ts-ignore - public isEmpty(): boolean; - // @ts-ignore - public applyTo(builder: org.spongepowered.api.text.Text.Builder): void; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.format.TextStyle.Base.ts b/packages/sponge/src/typings/org.spongepowered.api.text.format.TextStyle.Base.ts deleted file mode 100644 index 7df9c51f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.format.TextStyle.Base.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace format { - namespace TextStyle { - // @ts-ignore - abstract class Base extends org.spongepowered.api.text.format.TextStyle implements org.spongepowered.api.CatalogType { - /** - * Constructs a new {@link Base}. - */ - constructor(bold: any, italic: any, underline: any, strikethrough: any, obfuscated: any) - // @ts-ignore - public isComposite(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.format.TextStyle.ts b/packages/sponge/src/typings/org.spongepowered.api.text.format.TextStyle.ts deleted file mode 100644 index d8fec754..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.format.TextStyle.ts +++ /dev/null @@ -1,118 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace format { - // @ts-ignore - class TextStyle implements org.spongepowered.api.text.TextElement { - /** - * Constructs a new {@link TextStyle}. - */ - constructor(bold: any, italic: any, underline: any, strikethrough: any, obfuscated: any) - /** - * Returns whether this {@link TextStyle} is a composite of multiple text - * styles. - */ - // @ts-ignore - public isComposite(): boolean; - /** - * Returns whether this {@link TextStyle} has no set properties. - */ - // @ts-ignore - public isEmpty(): boolean; - /** - * Returns a new {@link TextStyle} with the bold property changed. - */ - // @ts-ignore - public bold(bold: any): org.spongepowered.api.text.format.TextStyle; - /** - * Returns a new {@link TextStyle} with the italic property changed. - */ - // @ts-ignore - public italic(italic: any): org.spongepowered.api.text.format.TextStyle; - /** - * Returns a new {@link TextStyle} with the underline property changed. - */ - // @ts-ignore - public underline(underline: any): org.spongepowered.api.text.format.TextStyle; - /** - * Returns a new {@link TextStyle} with the strikethrough property changed. - */ - // @ts-ignore - public strikethrough(strikethrough: any): org.spongepowered.api.text.format.TextStyle; - /** - * Returns a new {@link TextStyle} with the obfuscated property changed. - */ - // @ts-ignore - public obfuscated(obfuscated: any): org.spongepowered.api.text.format.TextStyle; - /** - * Checks for whether text where this style is applied is bolded. - */ - // @ts-ignore - public isBold(): any; - /** - * Checks for whether text where this style is applied is italicized. - */ - // @ts-ignore - public isItalic(): any; - /** - * Checks for whether text where this style is applied has an underline. - */ - // @ts-ignore - public hasUnderline(): any; - /** - * Checks for whether text where this style is applied has a strikethrough. - */ - // @ts-ignore - public hasStrikethrough(): any; - /** - * Checks for whether text where this style is obfuscated. - */ - // @ts-ignore - public isObfuscated(): any; - /** - * Returns whether the given {@link TextStyle} is contained in this - * {@link TextStyle}. - *

For example, a {@link TextStyle} with {@code bold: true, italic: - * true}} would return {@code true} for contains( - * {@link TextStyles#BOLD}) and contains( - * {@link TextStyles#ITALIC}).

- *

If the specified {@link TextStyle} is a composite of multiple styles - * it returns {@code true} if this style has at least all of the properties - * set in the specified style.

- */ - // @ts-ignore - public contains(styles: org.spongepowered.api.text.format.TextStyle): boolean; - /** - * Negates this {@link TextStyle}. This is useful for undoing text styles - * that are inherited from parent messages. - */ - // @ts-ignore - public negate(): org.spongepowered.api.text.format.TextStyle; - /** - * Composes this {@link TextStyle} with the specified text styles. - */ - // @ts-ignore - public and(styles: org.spongepowered.api.text.format.TextStyle): org.spongepowered.api.text.format.TextStyle; - /** - * Composes this {@link TextStyle} with the passed in TextStyles, but - * negates them before composition. This is the same as negating all the - * passed in {@link TextStyle} and then using the {@link #and(TextStyle...)} - * method. - */ - // @ts-ignore - public andNot(styles: org.spongepowered.api.text.format.TextStyle): org.spongepowered.api.text.format.TextStyle; - // @ts-ignore - public applyTo(builder: org.spongepowered.api.text.Text.Builder): void; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.format.TextStyles.ts b/packages/sponge/src/typings/org.spongepowered.api.text.format.TextStyles.ts deleted file mode 100644 index 78b0dc57..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.format.TextStyles.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace format { - // @ts-ignore - class TextStyles { - // @ts-ignore - public static NONE: org.spongepowered.api.text.format.TextStyle; - // @ts-ignore - public static OBFUSCATED: org.spongepowered.api.text.format.TextStyle.Base; - // @ts-ignore - public static BOLD: org.spongepowered.api.text.format.TextStyle.Base; - // @ts-ignore - public static STRIKETHROUGH: org.spongepowered.api.text.format.TextStyle.Base; - // @ts-ignore - public static UNDERLINE: org.spongepowered.api.text.format.TextStyle.Base; - // @ts-ignore - public static ITALIC: org.spongepowered.api.text.format.TextStyle.Base; - // @ts-ignore - public static RESET: org.spongepowered.api.text.format.TextStyle.Base; - /** - * Returns an empty {@link TextStyle}. - */ - // @ts-ignore - public static of(): org.spongepowered.api.text.format.TextStyle; - /** - * Constructs a composite text style from the specified styles. This will - * result in the same as calling {@link TextStyle#and(TextStyle...)} on all - * of the text styles. - */ - // @ts-ignore - public static of(styles: org.spongepowered.api.text.format.TextStyle): org.spongepowered.api.text.format.TextStyle; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.selector.Argument.Invertible.ts b/packages/sponge/src/typings/org.spongepowered.api.text.selector.Argument.Invertible.ts deleted file mode 100644 index 75451507..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.selector.Argument.Invertible.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace selector { - namespace Argument { - // @ts-ignore - interface Invertible extends org.spongepowered.api.text.selector.Argument { - /** - * Returns whether this {@link Argument} is inverted and will select all - * targets not matching the filter. - */ - // @ts-ignore - isInverted(): boolean; - /** - * Inverts this {@link Argument.Invertible} argument and returns the new - * {@link Argument}. The new argument will select all targets this - * argument didn't select. - */ - // @ts-ignore - invert(): org.spongepowered.api.text.selector.Argument.Invertible; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.selector.Argument.ts b/packages/sponge/src/typings/org.spongepowered.api.text.selector.Argument.ts deleted file mode 100644 index 84c15913..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.selector.Argument.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace selector { - // @ts-ignore - interface Argument { - /** - * Creates a new {@link Argument} using the specified type and value. - *

If the type is invertible, the {@link Argument} will not be - * inverted.

- */ - // @ts-ignore - create(type: org.spongepowered.api.text.selector.ArgumentType, value: any): org.spongepowered.api.text.selector.Argument; - /** - * Creates a new {@link Argument.Invertible} using the specified type and - * value. The created {@link Argument} will be inverted based on the given - * parameter. - */ - // @ts-ignore - create(type: org.spongepowered.api.text.selector.ArgumentType.Invertible, value: any, inverted: boolean): org.spongepowered.api.text.selector.Argument.Invertible; - /** - * Creates a new set of {@link Argument}s using the specified type and - * value. - */ - // @ts-ignore - createSet(type: org.spongepowered.api.text.selector.ArgumentHolder, value: any): any[] /*java.util.Set*/; - /** - * Parses an {@link Argument} from the given argument string. - *

In Vanilla, it should be formatted like {@code key=value}.

- */ - // @ts-ignore - parse(argument: string): org.spongepowered.api.text.selector.Argument; - /** - * Returns the type of this {@link Argument}. - */ - // @ts-ignore - getType(): org.spongepowered.api.text.selector.ArgumentType; - /** - * Returns the value of this {@link Argument}. - */ - // @ts-ignore - getValue(): any; - /** - * Converts this {@link Argument} to a valid argument string. - */ - // @ts-ignore - toPlain(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentHolder.Limit.ts b/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentHolder.Limit.ts deleted file mode 100644 index 9f6a7bcc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentHolder.Limit.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace selector { - namespace ArgumentHolder { - // @ts-ignore - interface Limit extends org.spongepowered.api.text.selector.ArgumentHolder { - /** - * Returns the minimum object of this {@link ArgumentHolder.Limit}. - */ - // @ts-ignore - minimum(): org.spongepowered.api.text.selector.ArgumentHolder; - /** - * Returns the maximum object of this {@link ArgumentHolder.Limit}. - */ - // @ts-ignore - maximum(): org.spongepowered.api.text.selector.ArgumentHolder; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentHolder.Vector3.ts b/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentHolder.Vector3.ts deleted file mode 100644 index 268a2fb4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentHolder.Vector3.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace selector { - namespace ArgumentHolder { - // @ts-ignore - interface Vector3 extends org.spongepowered.api.text.selector.ArgumentHolder { - /** - * Gets the {@link ArgumentType} for the x coordinate of this - * {@link ArgumentHolder.Vector3}. - */ - // @ts-ignore - x(): org.spongepowered.api.text.selector.ArgumentType; - /** - * Gets the {@link ArgumentType} for the y coordinate of this - * {@link ArgumentHolder.Vector3}. - */ - // @ts-ignore - y(): org.spongepowered.api.text.selector.ArgumentType; - /** - * Gets the {@link ArgumentType} for the z coordinate of this - * {@link ArgumentHolder.Vector3}. - */ - // @ts-ignore - z(): org.spongepowered.api.text.selector.ArgumentType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentHolder.ts b/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentHolder.ts deleted file mode 100644 index 86928313..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentHolder.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace selector { - // @ts-ignore - interface ArgumentHolder { - /** - * Returns the size of the Set from {@link #getTypes()}. - */ - // @ts-ignore - getCount(): number; - /** - * Returns a set containing all the {@link ArgumentHolder}s this - * {@link ArgumentHolder} holds. - */ - // @ts-ignore - getTypes(): any[] /*java.util.Set*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentType.Invertible.ts b/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentType.Invertible.ts deleted file mode 100644 index a50969f6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentType.Invertible.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace selector { - namespace ArgumentType { - // @ts-ignore - interface Invertible extends org.spongepowered.api.text.selector.ArgumentType { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentType.ts b/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentType.ts deleted file mode 100644 index ba2e8f51..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentType.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace selector { - // @ts-ignore - interface ArgumentType extends org.spongepowered.api.text.selector.ArgumentHolder { - /** - * Returns the key associated with this {@link ArgumentType}. - */ - // @ts-ignore - getKey(): string; - /** - * Returns 1. - */ - // @ts-ignore - getCount(): number; - /** - * Returns a set containing this {@link ArgumentType}. - */ - // @ts-ignore - getTypes(): any[] /*java.util.Set*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentTypes.ts deleted file mode 100644 index e2446e26..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.selector.ArgumentTypes.ts +++ /dev/null @@ -1,59 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace selector { - // @ts-ignore - class ArgumentTypes { - // @ts-ignore - public static POSITION: org.spongepowered.api.text.selector.ArgumentHolder.Vector3; - // @ts-ignore - public static RADIUS: org.spongepowered.api.text.selector.ArgumentHolder.Limit; - // @ts-ignore - public static GAME_MODE: org.spongepowered.api.text.selector.ArgumentType; - // @ts-ignore - public static COUNT: org.spongepowered.api.text.selector.ArgumentType; - // @ts-ignore - public static LEVEL: org.spongepowered.api.text.selector.ArgumentHolder.Limit; - // @ts-ignore - public static TEAM: org.spongepowered.api.text.selector.ArgumentType.Invertible; - // @ts-ignore - public static NAME: org.spongepowered.api.text.selector.ArgumentType.Invertible; - // @ts-ignore - public static DIMENSION: org.spongepowered.api.text.selector.ArgumentHolder.Vector3; - // @ts-ignore - public static ROTATION: org.spongepowered.api.text.selector.ArgumentHolder.Limit; - // @ts-ignore - public static ENTITY_TYPE: org.spongepowered.api.text.selector.ArgumentType.Invertible; - /** - * Creates a minimum and maximum {@link ArgumentType} filtering depending on - * the score of the specified objective. - */ - // @ts-ignore - public static score(name: string): org.spongepowered.api.text.selector.ArgumentHolder.Limit; - /** - * Gets the {@link ArgumentType} with the provided name. - */ - // @ts-ignore - public static valueOf(name: string): any; - /** - * Gets a {@link Collection} of all possible {@link ArgumentType}s. - */ - // @ts-ignore - public static values(): any[] /*java.util.Collection*/; - /** - * Creates a custom {@link ArgumentType} with the specified key. - */ - // @ts-ignore - public static create(key: string): org.spongepowered.api.text.selector.ArgumentType; - /** - * Creates a custom {@link ArgumentType} with the specified key and value. - */ - // @ts-ignore - public static create(key: string, type: any): org.spongepowered.api.text.selector.ArgumentType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.selector.Selector.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.text.selector.Selector.Builder.ts deleted file mode 100644 index e4330043..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.selector.Selector.Builder.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace selector { - namespace Selector { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the type of this selector. - */ - // @ts-ignore - type(type: org.spongepowered.api.text.selector.SelectorType): org.spongepowered.api.text.selector.Selector.Builder; - /** - * Adds some arguments to this selector. - */ - // @ts-ignore - add(arguments: org.spongepowered.api.text.selector.Argument): org.spongepowered.api.text.selector.Selector.Builder; - /** - * Adds some arguments to this selector. - */ - // @ts-ignore - add(arguments: any): org.spongepowered.api.text.selector.Selector.Builder; - /** - * Adds a new {@link Argument} with the specified {@link ArgumentType} and - * value to this selector. - */ - // @ts-ignore - add(type: org.spongepowered.api.text.selector.ArgumentType, value: any): org.spongepowered.api.text.selector.Selector.Builder; - /** - * Removes the specified arguments, if they exist. - */ - // @ts-ignore - remove(arguments: org.spongepowered.api.text.selector.Argument): org.spongepowered.api.text.selector.Selector.Builder; - /** - * Removes the specified arguments, if they exist. - */ - // @ts-ignore - remove(arguments: any): org.spongepowered.api.text.selector.Selector.Builder; - /** - * Removes the arguments with the specified {@link ArgumentType}, if they - * exist. - */ - // @ts-ignore - remove(types: org.spongepowered.api.text.selector.ArgumentType): org.spongepowered.api.text.selector.Selector.Builder; - /** - * Builds an immutable instance of the current state of this selector - * builder. - */ - // @ts-ignore - build(): org.spongepowered.api.text.selector.Selector; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.selector.Selector.ts b/packages/sponge/src/typings/org.spongepowered.api.text.selector.Selector.ts deleted file mode 100644 index b2082171..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.selector.Selector.ts +++ /dev/null @@ -1,134 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace selector { - // @ts-ignore - interface Selector { - /** - * Creates a {@link Selector.Builder}. - */ - // @ts-ignore - builder(): org.spongepowered.api.text.selector.Selector.Builder; - /** - * Parses a {@link Selector} from the given selector string. - */ - // @ts-ignore - parse(selector: string): org.spongepowered.api.text.selector.Selector; - /** - * Fetch completions for a selector command argument. - */ - // @ts-ignore - complete(selector: string): any[] /*java.util.List*/; - /** - * Returns the type of this {@link Selector}. - */ - // @ts-ignore - getType(): org.spongepowered.api.text.selector.SelectorType; - /** - * Returns the argument value for the specified {@link ArgumentType} in this - * {@link Selector}. May be used for {@link ArgumentType.Invertible}, but - * the inverted state must be checked with - * {@link #isInverted(ArgumentType.Invertible)}. - */ - // @ts-ignore - get(type: org.spongepowered.api.text.selector.ArgumentType): any; - /** - * Returns the {@link Argument} for the specified {@link ArgumentType} in - * this {@link Selector}. - */ - // @ts-ignore - getArgument(type: org.spongepowered.api.text.selector.ArgumentType): any; - /** - * Returns the {@link Argument.Invertible} for the specified - * {@link ArgumentType.Invertible} in this {@link Selector}. - */ - // @ts-ignore - getArgument(type: org.spongepowered.api.text.selector.ArgumentType.Invertible): any; - /** - * Returns the arguments for this {@link Selector}. - */ - // @ts-ignore - getArguments(): any[] /*java.util.List*/; - /** - * Checks for the presence of {@code type} in this {@link Selector}. - */ - // @ts-ignore - has(type: org.spongepowered.api.text.selector.ArgumentType): boolean; - /** - * Checks for the inversion state of {@code type} in this {@link Selector}. - */ - // @ts-ignore - isInverted(type: org.spongepowered.api.text.selector.ArgumentType.Invertible): boolean; - /** - * Resolves this {@link Selector} to a list of entities around the origin. - *

The returned set may be ordered based on distance from the origin - * (with the nearest first).

- */ - // @ts-ignore - resolve(origin: org.spongepowered.api.command.CommandSource): any[] /*java.util.Set*/; - /** - * Resolves this {@link Selector} to a list of entities around (0|0|0) in - * the given {@link Extent Extent(s)}. - *

The returned set may be ordered based on distance from the origin - * (with the nearest first).

- */ - // @ts-ignore - resolve(extent: org.spongepowered.api.world.extent.Extent): any[] /*java.util.Set*/; - /** - * Resolves this {@link Selector} to a list of entities around (0|0|0) in - * the given {@link Extent Extent(s)}. - *

The returned set may be ordered based on distance from the origin - * (with the nearest first).

- */ - // @ts-ignore - resolve(extent: any[] /*java.util.Collection*/): any[] /*java.util.Set*/; - /** - * Resolves this {@link Selector} to a list of entities around the given - * {@link Location}. - *

The returned set may be ordered based on distance from the origin - * (with the nearest first).

- */ - // @ts-ignore - resolve(location: org.spongepowered.api.world.Location): any[] /*java.util.Set*/; - /** - * Resolves this {@link Selector} to a list of entities around the origin. - */ - // @ts-ignore - resolveForce(origin: org.spongepowered.api.command.CommandSource): any[] /*java.util.Set*/; - /** - * Resolves this {@link Selector} to a list of entities around (0|0|0) in - * the given {@link Extent Extent(s)}. - */ - // @ts-ignore - resolveForce(extent: org.spongepowered.api.world.extent.Extent): any[] /*java.util.Set*/; - /** - * Resolves this {@link Selector} to a list of entities around (0|0|0) in - * the given {@link Extent Extent(s)}. - */ - // @ts-ignore - resolveForce(extent: any[] /*java.util.Collection*/): any[] /*java.util.Set*/; - /** - * Resolves this {@link Selector} to a list of entities around the given - * {@link Location}. - */ - // @ts-ignore - resolveForce(location: org.spongepowered.api.world.Location): any[] /*java.util.Set*/; - /** - * Converts this {@link Selector} to a valid selector string. - */ - // @ts-ignore - toPlain(): string; - /** - * Returns a new {@link org.spongepowered.api.text.selector.Selector.Builder} - * with the content of this selector. This can be used to edit an immutable - * {@link Selector} instance. - */ - // @ts-ignore - toBuilder(): org.spongepowered.api.text.selector.Selector.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.selector.SelectorFactory.ts b/packages/sponge/src/typings/org.spongepowered.api.text.selector.SelectorFactory.ts deleted file mode 100644 index 60ce4a2d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.selector.SelectorFactory.ts +++ /dev/null @@ -1,78 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace selector { - // @ts-ignore - interface SelectorFactory { - /** - * Creates a {@link Selector.Builder}. - */ - // @ts-ignore - createBuilder(): org.spongepowered.api.text.selector.Selector.Builder; - /** - * Parses a {@link Selector} from the given selector string. - */ - // @ts-ignore - parseRawSelector(selector: string): org.spongepowered.api.text.selector.Selector; - /** - * Creates a minimum and maximum {@link ArgumentType} filtering depending on - * the score of the specified objective. - */ - // @ts-ignore - createScoreArgumentType(name: string): org.spongepowered.api.text.selector.ArgumentHolder.Limit; - /** - * Gets the {@link ArgumentType} with the provided name. - */ - // @ts-ignore - getArgumentType(name: string): any; - /** - * Gets a {@link Collection} of all possible {@link ArgumentType}s. - */ - // @ts-ignore - getArgumentTypes(): any[] /*java.util.Collection*/; - /** - * Creates a custom {@link ArgumentType} with the specified key. - */ - // @ts-ignore - createArgumentType(key: string): org.spongepowered.api.text.selector.ArgumentType; - /** - * Creates a custom {@link ArgumentType} with the specified key and value. - */ - // @ts-ignore - createArgumentType(key: string, type: any): org.spongepowered.api.text.selector.ArgumentType; - /** - * Creates a new {@link Argument} using the specified type and value. - */ - // @ts-ignore - createArgument(type: org.spongepowered.api.text.selector.ArgumentType, value: any): org.spongepowered.api.text.selector.Argument; - /** - * Creates a new {@link Argument.Invertible} using the specified type and - * value. The created {@link Argument} will be inverted based on the given - * parameter. - */ - // @ts-ignore - createArgument(type: org.spongepowered.api.text.selector.ArgumentType.Invertible, value: any, inverted: boolean): org.spongepowered.api.text.selector.Argument.Invertible; - /** - * Creates a new set of {@link Argument}s using the specified type and - * value. - */ - // @ts-ignore - createArguments(type: org.spongepowered.api.text.selector.ArgumentHolder, value: any): any[] /*java.util.Set*/; - /** - * Parses an {@link Argument} from the given argument string. - *

In Vanilla, it should be formatted like {@code key=value}.

- */ - // @ts-ignore - parseArgument(argument: string): org.spongepowered.api.text.selector.Argument; - /** - * Fetch completions for a selector command argument. - */ - // @ts-ignore - complete(selector: string): any[] /*java.util.List*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.selector.SelectorType.ts b/packages/sponge/src/typings/org.spongepowered.api.text.selector.SelectorType.ts deleted file mode 100644 index be1ce905..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.selector.SelectorType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace selector { - // @ts-ignore - interface SelectorType extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.selector.SelectorTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.text.selector.SelectorTypes.ts deleted file mode 100644 index 3dc18d4c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.selector.SelectorTypes.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace selector { - // @ts-ignore - class SelectorTypes { - // @ts-ignore - public static ALL_ENTITIES: org.spongepowered.api.text.selector.SelectorType; - // @ts-ignore - public static ALL_PLAYERS: org.spongepowered.api.text.selector.SelectorType; - // @ts-ignore - public static NEAREST_PLAYER: org.spongepowered.api.text.selector.SelectorType; - // @ts-ignore - public static RANDOM: org.spongepowered.api.text.selector.SelectorType; - // @ts-ignore - public static SOURCE: org.spongepowered.api.text.selector.SelectorType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.BookViewDataBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.text.serializer.BookViewDataBuilder.ts deleted file mode 100644 index de002dcd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.BookViewDataBuilder.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace serializer { - // @ts-ignore - class BookViewDataBuilder extends org.spongepowered.api.data.persistence.AbstractDataBuilder { - /** - * Constructs a new {@link BookViewDataBuilder} to build - * {@link BookView}s. - */ - constructor() - // @ts-ignore - protected buildContent(container: org.spongepowered.api.data.DataView): any; - // @ts-ignore - public deserialize(type: any, value: any /*ConfigurationNode*/): org.spongepowered.api.text.BookView; - // @ts-ignore - public serialize(type: any, bookView: org.spongepowered.api.text.BookView, value: any /*ConfigurationNode*/): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.FormattingCodeTextSerializer.ts b/packages/sponge/src/typings/org.spongepowered.api.text.serializer.FormattingCodeTextSerializer.ts deleted file mode 100644 index f79942e7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.FormattingCodeTextSerializer.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace serializer { - // @ts-ignore - interface FormattingCodeTextSerializer extends org.spongepowered.api.text.serializer.SafeTextSerializer { - /** - * Returns the formatting character for this - * {@link FormattingCodeTextSerializer}. - */ - // @ts-ignore - getCharacter(): string; - /** - * Removes the color codes for this {@link FormattingCodeTextSerializer} - * from a string. - */ - // @ts-ignore - stripCodes(text: string): string; - /** - * Replaces the formatting codes in the specified string with a different - * specified character, e.g. {@code &cHello &eSponge! -> $cHello $eSponge!} - */ - // @ts-ignore - replaceCodes(text: string, to: string): string; - /** - * Replaces the formatting codes in the specified string with a different - * character for the specified {@link FormattingCodeTextSerializer}, - * e.g. {@code &cHello &eSponge! -> $cHello $eSponge!} - */ - // @ts-ignore - replaceCodes(text: string, serializer: org.spongepowered.api.text.serializer.FormattingCodeTextSerializer): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.SafeTextSerializer.ts b/packages/sponge/src/typings/org.spongepowered.api.text.serializer.SafeTextSerializer.ts deleted file mode 100644 index 46d7e4af..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.SafeTextSerializer.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace serializer { - // @ts-ignore - interface SafeTextSerializer extends org.spongepowered.api.text.serializer.TextSerializer { - // @ts-ignore - deserialize(input: string): org.spongepowered.api.text.Text; - // @ts-ignore - deserializeUnchecked(input: string): org.spongepowered.api.text.Text; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextConfigSerializer.ts b/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextConfigSerializer.ts deleted file mode 100644 index 8c2445ef..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextConfigSerializer.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace serializer { - // @ts-ignore - class TextConfigSerializer extends org.spongepowered.api.data.persistence.AbstractDataBuilder { - /** - * Creates a new {@link TextConfigSerializer}. Normally this should not - * need to be created more than once. - */ - constructor() - // @ts-ignore - public deserialize(type: any, value: any /*ConfigurationNode*/): org.spongepowered.api.text.Text; - // @ts-ignore - public serialize(type: any, obj: org.spongepowered.api.text.Text, value: any /*ConfigurationNode*/): void; - // @ts-ignore - protected buildContent(container: org.spongepowered.api.data.DataView): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextFormatConfigSerializer.ts b/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextFormatConfigSerializer.ts deleted file mode 100644 index 0d6ed6b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextFormatConfigSerializer.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace serializer { - // @ts-ignore - class TextFormatConfigSerializer { - constructor() - // @ts-ignore - public deserialize(type: any, value: any /*ConfigurationNode*/): org.spongepowered.api.text.format.TextFormat; - // @ts-ignore - public serialize(type: any, obj: org.spongepowered.api.text.format.TextFormat, value: any /*ConfigurationNode*/): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextParseException.ts b/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextParseException.ts deleted file mode 100644 index a0c0e82b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextParseException.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace serializer { - // @ts-ignore - class TextParseException { - /** - * Constructs a new {@link TextParseException}. - */ - constructor() - /** - * Constructs a new {@link TextParseException} with the specified message. - */ - constructor(message: string) - /** - * Constructs a new {@link TextParseException} with the specified message - * and cause. - */ - constructor(message: string, cause: any) - /** - * Constructs a new {@link TextParseException} with the specified cause. - */ - constructor(cause: any) - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextSerializer.ts b/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextSerializer.ts deleted file mode 100644 index 47f71dcd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextSerializer.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace serializer { - // @ts-ignore - interface TextSerializer extends org.spongepowered.api.CatalogType { - /** - * Returns a string representation of the provided {@link Text} in a format - * that will be accepted by this {@link TextSerializer}'s - * {@link #deserialize(String)} method. - */ - // @ts-ignore - serialize(text: org.spongepowered.api.text.Text): string; - /** - * Returns a string representation of only the provided {@link Text} - * (without any children) in a format that will be accepted by this - * {@link TextSerializer}'s {@link #deserialize(String)} method. - */ - // @ts-ignore - serializeSingle(text: org.spongepowered.api.text.Text): string; - /** - * Returns a {@link Text} instance from an appropriately formatted string. - */ - // @ts-ignore - deserialize(input: string): org.spongepowered.api.text.Text; - /** - * Tries to return a {@link Text} instance from the provided input string. - * However, if the input string is not of a valid format, the returned - * {@link Text} object will be of the raw input, rather than throwing an - * exception. - */ - // @ts-ignore - deserializeUnchecked(input: string): org.spongepowered.api.text.Text; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextSerializerFactory.ts b/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextSerializerFactory.ts deleted file mode 100644 index 88cd182a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextSerializerFactory.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace serializer { - // @ts-ignore - interface TextSerializerFactory { - /** - * Returns a representation that accepts and outputs legacy color codes, - * using the provided legacy character. - */ - // @ts-ignore - getFormattingCodeTextSerializer(legacyChar: string): org.spongepowered.api.text.serializer.FormattingCodeTextSerializer; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextSerializers.ts b/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextSerializers.ts deleted file mode 100644 index aa160882..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextSerializers.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace serializer { - // @ts-ignore - class TextSerializers { - // @ts-ignore - public static PLAIN: org.spongepowered.api.text.serializer.SafeTextSerializer; - // @ts-ignore - public static LEGACY_FORMATTING_CODE: org.spongepowered.api.text.serializer.FormattingCodeTextSerializer; - // @ts-ignore - public static FORMATTING_CODE: org.spongepowered.api.text.serializer.FormattingCodeTextSerializer; - // @ts-ignore - public static JSON: org.spongepowered.api.text.serializer.TextSerializer; - /** - * Returns a representation that accepts and outputs formatting codes, using - * the provided formatting character. - */ - // @ts-ignore - public static formattingCode(formattingChar: string): org.spongepowered.api.text.serializer.FormattingCodeTextSerializer; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextTemplateConfigSerializer.ts b/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextTemplateConfigSerializer.ts deleted file mode 100644 index 5b6edc8c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.serializer.TextTemplateConfigSerializer.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace serializer { - // @ts-ignore - class TextTemplateConfigSerializer { - constructor() - // @ts-ignore - public deserialize(type: any, value: any /*ConfigurationNode*/): org.spongepowered.api.text.TextTemplate; - // @ts-ignore - public serialize(type: any, obj: org.spongepowered.api.text.TextTemplate, value: any /*ConfigurationNode*/): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.title.Title.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.text.title.Title.Builder.ts deleted file mode 100644 index fd57cc0a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.title.Title.Builder.ts +++ /dev/null @@ -1,128 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace title { - namespace Title { - // @ts-ignore - class Builder { - /** - * Returns the current title of this builder. - */ - // @ts-ignore - public getTitle(): any; - /** - * Sets the title to send to the player. - */ - // @ts-ignore - public title(title: org.spongepowered.api.text.Text): org.spongepowered.api.text.title.Title.Builder; - /** - * Returns the current subtitle of this builder. - */ - // @ts-ignore - public getSubtitle(): any; - /** - * Sets the subtitle to send to the player. - */ - // @ts-ignore - public subtitle(subtitle: org.spongepowered.api.text.Text): org.spongepowered.api.text.title.Title.Builder; - /** - * Returns the current action bar text of this builder. - */ - // @ts-ignore - public getActionBar(): any; - /** - * Sets the action bar text to send to the player. - */ - // @ts-ignore - public actionBar(actionBar: org.spongepowered.api.text.Text): org.spongepowered.api.text.title.Title.Builder; - /** - * Returns the current fade in effect time of the title. - */ - // @ts-ignore - public getFadeIn(): any; - /** - * Sets the duration in ticks of the fade in effect of the title. Once - * this period of time is over the title will stay for the amount of - * time specified in {@link #stay(Integer)}. - *

The default value for Vanilla is 20 (1 second).

- */ - // @ts-ignore - public fadeIn(fadeIn: any): org.spongepowered.api.text.title.Title.Builder; - /** - * Returns the current stay effect time of the title. - */ - // @ts-ignore - public getStay(): any; - /** - * Sets the duration in ticks how long the title should stay on the - * screen. Once this period of time is over the title will fade out - * using the duration specified in {@link #fadeOut(Integer)}. - *

The default value for Vanilla is 60 (3 seconds).

- */ - // @ts-ignore - public stay(stay: any): org.spongepowered.api.text.title.Title.Builder; - /** - * Returns the current fade out effect time of the title. - */ - // @ts-ignore - public getFadeOut(): any; - /** - * Sets the duration in ticks of the fade out effect of the title. - *

The default value for Vanilla is 20 (1 second).

- */ - // @ts-ignore - public fadeOut(fadeOut: any): org.spongepowered.api.text.title.Title.Builder; - /** - * Returns whether this builder is currently configured to clear. - */ - // @ts-ignore - public isClear(): boolean; - /** - * Removes the currently displayed title from the player's screen. This - * will keep the currently used display times and will only remove the - * title. - */ - // @ts-ignore - public clear(): org.spongepowered.api.text.title.Title.Builder; - /** - * Sets whether the the currently displayed title should be removed from - * the player's screen and will keep the currently used display times. - */ - // @ts-ignore - public clear(clear: boolean): org.spongepowered.api.text.title.Title.Builder; - /** - * Returns whether this builder is currently configured to reset. - */ - // @ts-ignore - public isReset(): boolean; - /** - * Removes the currently displayed title from the player's screen and - * set the configuration back to the default values. - */ - // @ts-ignore - public reset(): org.spongepowered.api.text.title.Title.Builder; - /** - * Sets whether the currently displayed title should be removed from the - * player's screen and the configuration set back to the default values. - */ - // @ts-ignore - public reset(reset: boolean): org.spongepowered.api.text.title.Title.Builder; - /** - * Builds an immutable instance of the current configuration. - */ - // @ts-ignore - public build(): org.spongepowered.api.text.title.Title; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.title.Title.ts b/packages/sponge/src/typings/org.spongepowered.api.text.title.Title.ts deleted file mode 100644 index ff3fa10a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.title.Title.ts +++ /dev/null @@ -1,126 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace title { - // @ts-ignore - class Title { - // @ts-ignore - public static EMPTY: org.spongepowered.api.text.title.Title; - // @ts-ignore - public static CLEAR: org.spongepowered.api.text.title.Title; - // @ts-ignore - public static RESET: org.spongepowered.api.text.title.Title; - /** - * Returns the title of this title configuration. - */ - // @ts-ignore - public getTitle(): any; - /** - * Returns the subtitle of this title configuration. - */ - // @ts-ignore - public getSubtitle(): any; - /** - * Returns the action bar text of this title configuration. - */ - // @ts-ignore - public getActionBar(): any; - /** - * Returns the specified time to fade in the title on the client. Once this - * period of time is over, the title will stay for the amount of time from - * {@link #getStay}. - *

The default value for Vanilla is 20 (1 second).

- */ - // @ts-ignore - public getFadeIn(): any; - /** - * Returns the specified time how long the title should stay on the client. - * Once this period of time is over, the title will fade out using the - * duration specified from {@link #getFadeOut}. - *

The default value for Vanilla is 60 (3 second).

- */ - // @ts-ignore - public getStay(): any; - /** - * Returns the specified time to fade out the title on the client. - *

The default value for Vanilla is 20 (1 second).

- */ - // @ts-ignore - public getFadeOut(): any; - /** - * Returns whether this configuration is clearing the current title from the - * screen. - */ - // @ts-ignore - public isClear(): boolean; - /** - * Returns whether this configuration is clearing the current title from the - * screen and resetting the current configuration to the default values. - *

This is recommended when you want to make sure to display a single - * title.

- */ - // @ts-ignore - public isReset(): boolean; - /** - * Creates a new {@link Builder} using the configuration of this instance. - */ - // @ts-ignore - public toBuilder(): org.spongepowered.api.text.title.Title.Builder; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - /** - * Returns a {@link Title} that will simply do nothing when it is sent to - * the client. - */ - // @ts-ignore - public static of(): org.spongepowered.api.text.title.Title; - /** - * Returns a {@link Title} that will display the given main title on the - * player's screen. - */ - // @ts-ignore - public static of(title: org.spongepowered.api.text.Text): org.spongepowered.api.text.title.Title; - /** - * Returns a {@link Title} that will display the given main and subtitle on - * the player's screen. - */ - // @ts-ignore - public static of(title: org.spongepowered.api.text.Text, subtitle: org.spongepowered.api.text.Text): org.spongepowered.api.text.title.Title; - /** - * Returns a {@link Title} that will clear the currently displayed - * {@link Title} from the player's screen. - */ - // @ts-ignore - public static clear(): org.spongepowered.api.text.title.Title; - /** - * Returns a {@link Title} that will reset the current title back to default - * values on the client. - */ - // @ts-ignore - public static reset(): org.spongepowered.api.text.title.Title; - /** - * Creates a new {@link Title} configuration builder that will reset the - * currently displayed Title on the client before displaying the new - * configured one. - */ - // @ts-ignore - public static builder(): org.spongepowered.api.text.title.Title.Builder; - /** - * Creates a new empty {@link Title} configuration builder. Unlike - * {@link #builder} this won't reset the current Title on the client before - * displaying the current one. This has less use cases but should be used if - * just the previously sent Title should be updated. - */ - // @ts-ignore - public static update(): org.spongepowered.api.text.title.Title.Builder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.transform.DynamicPartitionedTextFormatter.ts b/packages/sponge/src/typings/org.spongepowered.api.text.transform.DynamicPartitionedTextFormatter.ts deleted file mode 100644 index 7d696e9d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.transform.DynamicPartitionedTextFormatter.ts +++ /dev/null @@ -1,51 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace transform { - // @ts-ignore - class DynamicPartitionedTextFormatter implements org.spongepowered.api.text.transform.PartitionedTextFormatter { - /** - * Creates a new {@link DynamicPartitionedTextFormatter}. - */ - constructor(initialSize: number) - /** - * creates a new partitioned text formatter. - */ - constructor() - // @ts-ignore - protected partitions: any[] /*java.util.List*/; - // @ts-ignore - public getAll(): any; - // @ts-ignore - public get(i: number): org.spongepowered.api.text.transform.SimpleTextFormatter; - // @ts-ignore - public set(i: number, element: org.spongepowered.api.text.transform.SimpleTextFormatter): org.spongepowered.api.text.transform.SimpleTextFormatter; - // @ts-ignore - public size(): number; - // @ts-ignore - public isEmpty(): boolean; - // @ts-ignore - public contains(element: org.spongepowered.api.text.transform.SimpleTextFormatter): boolean; - // @ts-ignore - public clear(): void; - // @ts-ignore - public add(element: org.spongepowered.api.text.transform.SimpleTextFormatter): boolean; - // @ts-ignore - public add(elements: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public insert(i: number, element: org.spongepowered.api.text.transform.SimpleTextFormatter): void; - // @ts-ignore - public insert(i: number, elements: any[] /*java.util.Collection*/): void; - // @ts-ignore - public remove(element: org.spongepowered.api.text.transform.SimpleTextFormatter): boolean; - // @ts-ignore - public remove(elements: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public retain(elements: any[] /*java.util.Collection*/): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.transform.FixedPartitionedTextFormatter.ts b/packages/sponge/src/typings/org.spongepowered.api.text.transform.FixedPartitionedTextFormatter.ts deleted file mode 100644 index f8f9167f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.transform.FixedPartitionedTextFormatter.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace transform { - // @ts-ignore - class FixedPartitionedTextFormatter implements org.spongepowered.api.text.transform.PartitionedTextFormatter { - /** - * Creates a new {@link FixedPartitionedTextFormatter} with - * the provided size of partitions. - */ - constructor(size: number) - /** - * Creates a new {@link FixedPartitionedTextFormatter} with - * the provided size of partitions. - */ - constructor() - // @ts-ignore - public getAll(): any; - // @ts-ignore - public get(i: number): org.spongepowered.api.text.transform.SimpleTextFormatter; - // @ts-ignore - public set(i: number, element: org.spongepowered.api.text.transform.SimpleTextFormatter): org.spongepowered.api.text.transform.SimpleTextFormatter; - // @ts-ignore - public size(): number; - /** - * Returns true if each partition is empty. - */ - // @ts-ignore - public isEmpty(): boolean; - // @ts-ignore - public contains(element: org.spongepowered.api.text.transform.SimpleTextFormatter): boolean; - /** - * Clears each partition. Retains the actual partitions themselves. - */ - // @ts-ignore - public clear(): void; - // @ts-ignore - public add(element: org.spongepowered.api.text.transform.SimpleTextFormatter): boolean; - // @ts-ignore - public add(elements: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public insert(i: number, element: org.spongepowered.api.text.transform.SimpleTextFormatter): void; - // @ts-ignore - public insert(i: number, elements: any[] /*java.util.Collection*/): void; - // @ts-ignore - public remove(element: org.spongepowered.api.text.transform.SimpleTextFormatter): boolean; - // @ts-ignore - public remove(elements: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public retain(elements: any[] /*java.util.Collection*/): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.transform.PartitionedTextFormatter.ts b/packages/sponge/src/typings/org.spongepowered.api.text.transform.PartitionedTextFormatter.ts deleted file mode 100644 index d3f07716..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.transform.PartitionedTextFormatter.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace transform { - // @ts-ignore - interface PartitionedTextFormatter extends org.spongepowered.api.text.transform.TextFormatter { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.transform.SimpleTextFormatter.ts b/packages/sponge/src/typings/org.spongepowered.api.text.transform.SimpleTextFormatter.ts deleted file mode 100644 index 820a7374..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.transform.SimpleTextFormatter.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace transform { - // @ts-ignore - class SimpleTextFormatter implements org.spongepowered.api.text.transform.TextFormatter { - /** - * Constructs a new {@link SimpleTextFormatter} with the specified amount - * of initial {@link TextTemplateApplier}s. - */ - constructor(initialSize: number) - /** - * Constructs an empty text formatter. - */ - constructor() - // @ts-ignore - protected parts: any[] /*java.util.List*/; - // @ts-ignore - public getAll(): any; - // @ts-ignore - public get(i: number): org.spongepowered.api.text.transform.SimpleTextTemplateApplier; - // @ts-ignore - public set(i: number, element: org.spongepowered.api.text.transform.SimpleTextTemplateApplier): org.spongepowered.api.text.transform.SimpleTextTemplateApplier; - // @ts-ignore - public size(): number; - // @ts-ignore - public isEmpty(): boolean; - // @ts-ignore - public contains(element: org.spongepowered.api.text.transform.SimpleTextTemplateApplier): boolean; - // @ts-ignore - public clear(): void; - // @ts-ignore - public add(element: org.spongepowered.api.text.transform.SimpleTextTemplateApplier): boolean; - // @ts-ignore - public add(elements: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public insert(i: number, element: org.spongepowered.api.text.transform.SimpleTextTemplateApplier): void; - // @ts-ignore - public insert(i: number, elements: any[] /*java.util.Collection*/): void; - // @ts-ignore - public remove(element: org.spongepowered.api.text.transform.SimpleTextTemplateApplier): boolean; - // @ts-ignore - public remove(elements: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public retain(elements: any[] /*java.util.Collection*/): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.transform.SimpleTextTemplateApplier.ts b/packages/sponge/src/typings/org.spongepowered.api.text.transform.SimpleTextTemplateApplier.ts deleted file mode 100644 index 5c561949..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.transform.SimpleTextTemplateApplier.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace transform { - // @ts-ignore - class SimpleTextTemplateApplier implements org.spongepowered.api.text.transform.TextTemplateApplier { - /** - * Creates a new {@link SimpleTextTemplateApplier} with the provided - * {@link TextTemplate}. - */ - constructor(template: org.spongepowered.api.text.TextTemplate) - /** - * Creates a new {@link SimpleTextTemplateApplier} with an empty - * {@link TextTemplate}. - */ - constructor() - // @ts-ignore - protected params: Map /*java.util.Map*/; - // @ts-ignore - protected template: org.spongepowered.api.text.TextTemplate; - // @ts-ignore - public getParameters(): any; - // @ts-ignore - public setParameter(key: string, value: org.spongepowered.api.text.TextElement): void; - // @ts-ignore - public getTemplate(): org.spongepowered.api.text.TextTemplate; - // @ts-ignore - public setTemplate(template: org.spongepowered.api.text.TextTemplate): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.transform.TextFormatter.ts b/packages/sponge/src/typings/org.spongepowered.api.text.transform.TextFormatter.ts deleted file mode 100644 index f241f405..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.transform.TextFormatter.ts +++ /dev/null @@ -1,165 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace transform { - // @ts-ignore - interface TextFormatter extends org.spongepowered.api.text.TextRepresentable { - /** - * Returns an {@link ImmutableList} of this formatter's elements. - */ - // @ts-ignore - getAll(): any; - /** - * Returns the element at the specified index. - */ - // @ts-ignore - get(i: number): org.spongepowered.api.text.TextRepresentable; - /** - * Returns the first element of the specified type after the specified - * index. - */ - // @ts-ignore - firstAfter(index: number, clazz: any): any; - /** - * Returns the first element of the specified type. - */ - // @ts-ignore - first(clazz: any): any; - /** - * Applies the specified consumer to each element of the specified type - * after the specified index. - */ - // @ts-ignore - forEachAfter(index: number, clazz: any, consumer: any): void; - /** - * Applies the specified consumer to each element of the specified type - * after the specified index. - */ - // @ts-ignore - forEach(clazz: any, consumer: any): void; - /** - * Replaces the element previously at the specified index with the - * specified element. - */ - // @ts-ignore - set(i: number, e: org.spongepowered.api.text.TextRepresentable): org.spongepowered.api.text.TextRepresentable; - /** - * Returns the amount of elements in this formatter. - */ - // @ts-ignore - size(): number; - /** - * Returns true if the formatter contains no elements. - */ - // @ts-ignore - isEmpty(): boolean; - /** - * Returns true if the specified element is in the formatter. - */ - // @ts-ignore - contains(e: org.spongepowered.api.text.TextRepresentable): boolean; - /** - * Clears all elements from this formatter. - */ - // @ts-ignore - clear(): void; - /** - * Adds the specified element to the end of this formatter. - */ - // @ts-ignore - add(element: org.spongepowered.api.text.TextRepresentable): boolean; - /** - * Adds the specified elements to the end of this formatter. - */ - // @ts-ignore - add(elements: any[] /*java.util.Collection*/): boolean; - /** - * Adds the specified elements to the end of this formatter. - */ - // @ts-ignore - add(elements: any): boolean; - /** - * Adds the specified elements to the end of this formatter. - */ - // @ts-ignore - add(elements: any): boolean; - /** - * Inserts the specified element at the specified index within the - * formatter. - */ - // @ts-ignore - insert(i: number, element: org.spongepowered.api.text.TextRepresentable): void; - /** - * Inserts the specified elements at the specified index within the - * formatter. - */ - // @ts-ignore - insert(i: number, elements: any[] /*java.util.Collection*/): void; - /** - * Inserts the specified elements at the specified index within the - * formatter. - */ - // @ts-ignore - insert(i: number, elements: any): void; - /** - * Inserts the specified elements at the specified index within the - * formatter. - */ - // @ts-ignore - insert(i: number, elements: any): void; - /** - * Removes the specified element from the formatter. - */ - // @ts-ignore - remove(element: org.spongepowered.api.text.TextRepresentable): boolean; - /** - * Removes the specified elements from the formatter. - */ - // @ts-ignore - remove(elements: any[] /*java.util.Collection*/): boolean; - /** - * Removes the specified elements from the formatter. - */ - // @ts-ignore - remove(elements: any): boolean; - /** - * Removes the specified elements from the formatter. - */ - // @ts-ignore - remove(elements: any): boolean; - /** - * Removes all elements from the formatter except for these specified - * elements. - */ - // @ts-ignore - retain(elements: any[] /*java.util.Collection*/): boolean; - /** - * Removes all elements from the formatter except for these specified - * elements. - */ - // @ts-ignore - retain(elements: any): boolean; - /** - * Removes all elements from the formatter except for these specified - * elements. - */ - // @ts-ignore - retain(elements: any): boolean; - /** - * Builds the result {@link Text} for this formatter using the current - * configuration of each element. The result of each element is - * concatenated to an empty {@link Text} to yield the result. - */ - // @ts-ignore - format(): org.spongepowered.api.text.Text; - // @ts-ignore - iterator(): any; - // @ts-ignore - toText(): org.spongepowered.api.text.Text; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.transform.TextTemplateApplier.ts b/packages/sponge/src/typings/org.spongepowered.api.text.transform.TextTemplateApplier.ts deleted file mode 100644 index f773421e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.transform.TextTemplateApplier.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace transform { - // @ts-ignore - interface TextTemplateApplier extends org.spongepowered.api.text.TextRepresentable { - /** - * Returns an {@link ImmutableList} of this applier's parameters. - */ - // @ts-ignore - getParameters(): any; - /** - * Returns the current value of the parameter with the specified key. - */ - // @ts-ignore - getParameter(key: string): org.spongepowered.api.text.TextElement; - /** - * Sets the value of the specified parameter key within this applier. - */ - // @ts-ignore - setParameter(key: string, value: org.spongepowered.api.text.TextElement): void; - /** - * Returns the current {@link TextTemplate} for this applier. - */ - // @ts-ignore - getTemplate(): org.spongepowered.api.text.TextTemplate; - /** - * Sets the {@link TextTemplate} to use for this applier. - */ - // @ts-ignore - setTemplate(template: org.spongepowered.api.text.TextTemplate): void; - // @ts-ignore - toText(): org.spongepowered.api.text.Text; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.translation.FixedTranslation.ts b/packages/sponge/src/typings/org.spongepowered.api.text.translation.FixedTranslation.ts deleted file mode 100644 index 4b6e6e8c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.translation.FixedTranslation.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace translation { - // @ts-ignore - class FixedTranslation implements org.spongepowered.api.text.translation.Translation { - /** - * Create a new translation with an id and value that are the same. - */ - constructor(value: string) - // @ts-ignore - public getId(): string; - // @ts-ignore - public get(locale: any): string; - // @ts-ignore - public get(locale: any, args: any): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.translation.ResourceBundleTranslation.ts b/packages/sponge/src/typings/org.spongepowered.api.text.translation.ResourceBundleTranslation.ts deleted file mode 100644 index eda967cf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.translation.ResourceBundleTranslation.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace translation { - // @ts-ignore - class ResourceBundleTranslation implements org.spongepowered.api.text.translation.Translation { - /** - * Create a ResourceBundle-backed translation for the given key and bundle - * factory. - */ - constructor(key: string, bundleFunction: any) - // @ts-ignore - public getId(): string; - // @ts-ignore - public get(locale: any): string; - // @ts-ignore - public get(locale: any, args: any): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.translation.Translatable.ts b/packages/sponge/src/typings/org.spongepowered.api.text.translation.Translatable.ts deleted file mode 100644 index 99a49ab1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.translation.Translatable.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace translation { - // @ts-ignore - interface Translatable { - /** - * Returns the Translation that corresponds to this {@link Translatable}. - */ - // @ts-ignore - getTranslation(): org.spongepowered.api.text.translation.Translation; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.translation.Translation.ts b/packages/sponge/src/typings/org.spongepowered.api.text.translation.Translation.ts deleted file mode 100644 index 58854bdf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.translation.Translation.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace translation { - // @ts-ignore - interface Translation { - /** - * Gets the identifier for this {@link Translation}. - */ - // @ts-ignore - getId(): string; - /** - * Gets the default translation without extra parameters. - */ - // @ts-ignore - get(): string; - /** - * Gets the default translation format with the specified parameters. - */ - // @ts-ignore - get(args: any): string; - /** - * Gets the translation without any parameters replaced. - */ - // @ts-ignore - get(locale: any): string; - /** - * Gets the translation format with the specified parameters. - */ - // @ts-ignore - get(locale: any, args: any): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.translation.locale.Locales.ts b/packages/sponge/src/typings/org.spongepowered.api.text.translation.locale.Locales.ts deleted file mode 100644 index 78fb026a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.translation.locale.Locales.ts +++ /dev/null @@ -1,172 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace translation { - namespace locale { - // @ts-ignore - class Locales { - // @ts-ignore - public static AF_ZA: any; - // @ts-ignore - public static AR_SA: any; - // @ts-ignore - public static AST_ES: any; - // @ts-ignore - public static AZ_AZ: any; - // @ts-ignore - public static BG_BG: any; - // @ts-ignore - public static CA_ES: any; - // @ts-ignore - public static CS_CZ: any; - // @ts-ignore - public static CY_GB: any; - // @ts-ignore - public static DA_DK: any; - // @ts-ignore - public static DE_DE: any; - // @ts-ignore - public static EL_GR: any; - // @ts-ignore - public static EN_AU: any; - // @ts-ignore - public static EN_CA: any; - // @ts-ignore - public static EN_GB: any; - // @ts-ignore - public static EN_PT: any; - // @ts-ignore - public static EN_US: any; - // @ts-ignore - public static EO_UY: any; - // @ts-ignore - public static ES_AR: any; - // @ts-ignore - public static ES_ES: any; - // @ts-ignore - public static ES_MX: any; - // @ts-ignore - public static ES_UY: any; - // @ts-ignore - public static ES_VE: any; - // @ts-ignore - public static ET_EE: any; - // @ts-ignore - public static EU_ES: any; - // @ts-ignore - public static FA_IR: any; - // @ts-ignore - public static FI_FI: any; - // @ts-ignore - public static FIL_PH: any; - // @ts-ignore - public static FR_CA: any; - // @ts-ignore - public static FR_FR: any; - // @ts-ignore - public static GA_IE: any; - // @ts-ignore - public static GL_ES: any; - // @ts-ignore - public static GV_IM: any; - // @ts-ignore - public static HE_IL: any; - // @ts-ignore - public static HI_IN: any; - // @ts-ignore - public static HR_HR: any; - // @ts-ignore - public static HU_HU: any; - // @ts-ignore - public static HY_AM: any; - // @ts-ignore - public static ID_ID: any; - // @ts-ignore - public static IS_IS: any; - // @ts-ignore - public static IT_IT: any; - // @ts-ignore - public static JA_JP: any; - // @ts-ignore - public static KA_GE: any; - // @ts-ignore - public static KO_KR: any; - // @ts-ignore - public static KW_GB: any; - // @ts-ignore - public static LA_LA: any; - // @ts-ignore - public static LB_LU: any; - // @ts-ignore - public static LT_LT: any; - // @ts-ignore - public static LV_LV: any; - // @ts-ignore - public static MI_NZ: any; - // @ts-ignore - public static MS_MY: any; - // @ts-ignore - public static MT_MT: any; - // @ts-ignore - public static NDS_DE: any; - // @ts-ignore - public static NL_NL: any; - // @ts-ignore - public static NN_NO: any; - // @ts-ignore - public static NO_NO: any; - // @ts-ignore - public static OC_FR: any; - // @ts-ignore - public static PL_PL: any; - // @ts-ignore - public static PT_BR: any; - // @ts-ignore - public static PT_PT: any; - // @ts-ignore - public static QYA_AA: any; - // @ts-ignore - public static RO_RO: any; - // @ts-ignore - public static RU_RU: any; - // @ts-ignore - public static SE_NO: any; - // @ts-ignore - public static SK_SK: any; - // @ts-ignore - public static SL_SI: any; - // @ts-ignore - public static SR_SP: any; - // @ts-ignore - public static SV_SE: any; - // @ts-ignore - public static TH_TH: any; - // @ts-ignore - public static TLH_AA: any; - // @ts-ignore - public static TR_TR: any; - // @ts-ignore - public static UK_UA: any; - // @ts-ignore - public static VAL_ES: any; - // @ts-ignore - public static VI_VN: any; - // @ts-ignore - public static ZH_CN: any; - // @ts-ignore - public static ZH_TW: any; - // @ts-ignore - public static DEFAULT: any; - /** - * Gets a locale for the specified locale code, e.g. {@code en_US}. - */ - // @ts-ignore - public static of(locale: string): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.text.translation.locale.NamedLocales.ts b/packages/sponge/src/typings/org.spongepowered.api.text.translation.locale.NamedLocales.ts deleted file mode 100644 index ff06ee02..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.text.translation.locale.NamedLocales.ts +++ /dev/null @@ -1,167 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace text { - namespace translation { - namespace locale { - // @ts-ignore - class NamedLocales { - // @ts-ignore - public static DEFAULT: any; - // @ts-ignore - public static AFRIKAANS: any; - // @ts-ignore - public static ARABIC: any; - // @ts-ignore - public static ASTURIAN: any; - // @ts-ignore - public static AZERBAIJANI: any; - // @ts-ignore - public static BULGARIAN: any; - // @ts-ignore - public static CATALAN: any; - // @ts-ignore - public static CZECH: any; - // @ts-ignore - public static WELSH: any; - // @ts-ignore - public static DANISH: any; - // @ts-ignore - public static GERMAN: any; - // @ts-ignore - public static GREEK: any; - // @ts-ignore - public static AUSTRALIAN_ENGLISH: any; - // @ts-ignore - public static CANADIAN_ENGLISH: any; - // @ts-ignore - public static BRITISH_ENGLISH: any; - // @ts-ignore - public static PIRATE_ENGLISH: any; - // @ts-ignore - public static AMERICAN_ENGLISH: any; - // @ts-ignore - public static ESPERANTO: any; - // @ts-ignore - public static ARGENTINIAN_SPANISH: any; - // @ts-ignore - public static SPANISH: any; - // @ts-ignore - public static MEXICAN_SPANISH: any; - // @ts-ignore - public static URUGUAYAN_SPANISH: any; - // @ts-ignore - public static VENEZUELAN_SPANISH: any; - // @ts-ignore - public static ESTONIAN: any; - // @ts-ignore - public static BASQUE: any; - // @ts-ignore - public static PERSIAN: any; - // @ts-ignore - public static FINNISH: any; - // @ts-ignore - public static FILIPINO: any; - // @ts-ignore - public static CANADIAN_FRENCH: any; - // @ts-ignore - public static FRENCH: any; - // @ts-ignore - public static IRISH: any; - // @ts-ignore - public static GALICIAN: any; - // @ts-ignore - public static MANX: any; - // @ts-ignore - public static HEBREW: any; - // @ts-ignore - public static HINDI: any; - // @ts-ignore - public static CROATIAN: any; - // @ts-ignore - public static HUNGARIAN: any; - // @ts-ignore - public static ARMENIAN: any; - // @ts-ignore - public static INDONESIAN: any; - // @ts-ignore - public static ICELANDIC: any; - // @ts-ignore - public static ITALIAN: any; - // @ts-ignore - public static JAPANESE: any; - // @ts-ignore - public static GEORGIAN: any; - // @ts-ignore - public static KOREAN: any; - // @ts-ignore - public static CORNISH: any; - // @ts-ignore - public static LATIN: any; - // @ts-ignore - public static LUXEMBOURGISH: any; - // @ts-ignore - public static LITHUANIAN: any; - // @ts-ignore - public static LATVIAN: any; - // @ts-ignore - public static MAORI: any; - // @ts-ignore - public static MALAY: any; - // @ts-ignore - public static MALTESE: any; - // @ts-ignore - public static LOW_GERMAN: any; - // @ts-ignore - public static DUTCH: any; - // @ts-ignore - public static NORWEGIAN_NYNORSK: any; - // @ts-ignore - public static NORWEGIAN: any; - // @ts-ignore - public static OCCITAN: any; - // @ts-ignore - public static POLISH: any; - // @ts-ignore - public static BRAZILIAN_PORTUGUESE: any; - // @ts-ignore - public static PORTUGUESE: any; - // @ts-ignore - public static QUENYA: any; - // @ts-ignore - public static ROMANIAN: any; - // @ts-ignore - public static RUSSIAN: any; - // @ts-ignore - public static NORTHERN_SAMI: any; - // @ts-ignore - public static SLOVAK: any; - // @ts-ignore - public static SLOVENE: any; - // @ts-ignore - public static SERBIAN: any; - // @ts-ignore - public static SWEDISH: any; - // @ts-ignore - public static THAI: any; - // @ts-ignore - public static KLINGON: any; - // @ts-ignore - public static TURKISH: any; - // @ts-ignore - public static UKRAINIAN: any; - // @ts-ignore - public static VALENCIAN: any; - // @ts-ignore - public static VIETNAMESE: any; - // @ts-ignore - public static SIMPLIFIED_CHINESE: any; - // @ts-ignore - public static TRADITIONAL_CHINESE: any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.AABB.ts b/packages/sponge/src/typings/org.spongepowered.api.util.AABB.ts deleted file mode 100644 index 7dea1d76..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.AABB.ts +++ /dev/null @@ -1,114 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class AABB { - /** - * Constructs a new bounding box from two opposite corners. - * Fails the resulting box would be degenerate (a dimension is 0). - */ - constructor(firstCorner: any /*Vector3i*/, secondCorner: any /*Vector3i*/) - /** - * Constructs a new bounding box from two opposite corners. - * Fails the resulting box would be degenerate (a dimension is 0). - */ - constructor(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number) - /** - * Constructs a new bounding box from two opposite corners. - * Fails the resulting box would be degenerate (a dimension is 0). - */ - constructor(firstCorner: any /*Vector3d*/, secondCorner: any /*Vector3d*/) - /** - * The minimum corner of the box. - */ - // @ts-ignore - public getMin(): any /*Vector3d*/; - /** - * The maximum corner of the box. - */ - // @ts-ignore - public getMax(): any /*Vector3d*/; - /** - * Returns the center of the box, halfway between each corner. - */ - // @ts-ignore - public getCenter(): any /*Vector3d*/; - /** - * Gets the size of the box. - */ - // @ts-ignore - public getSize(): any /*Vector3d*/; - /** - * Checks if the bounding box contains a point. - */ - // @ts-ignore - public contains(point: any /*Vector3i*/): boolean; - /** - * Checks if the bounding box contains a point. - */ - // @ts-ignore - public contains(point: any /*Vector3d*/): boolean; - /** - * Checks if the bounding box contains a point. - */ - // @ts-ignore - public contains(x: number, y: number, z: number): boolean; - /** - * Checks if the bounding box intersects another. - */ - // @ts-ignore - public intersects(other: org.spongepowered.api.util.AABB): boolean; - /** - * Tests for intersection between the box and a ray defined by a starting - * point and a direction. - */ - // @ts-ignore - public intersects(start: any /*Vector3d*/, direction: any /*Vector3d*/): any; - /** - * Offsets this bounding box by a given amount and returns a new box. - */ - // @ts-ignore - public offset(offset: any /*Vector3i*/): org.spongepowered.api.util.AABB; - /** - * Offsets this bounding box by a given amount and returns a new box. - */ - // @ts-ignore - public offset(offset: any /*Vector3d*/): org.spongepowered.api.util.AABB; - /** - * Offsets this bounding box by a given amount and returns a new box. - */ - // @ts-ignore - public offset(x: number, y: number, z: number): org.spongepowered.api.util.AABB; - /** - * Expands this bounding box by a given amount in both directions and - * returns a new box. The expansion is applied half and half to the - * minimum and maximum corners. - */ - // @ts-ignore - public expand(amount: any /*Vector3i*/): org.spongepowered.api.util.AABB; - /** - * Expands this bounding box by a given amount in both directions and - * returns a new box. The expansion is applied half and half to the - * minimum and maximum corners. - */ - // @ts-ignore - public expand(amount: any /*Vector3d*/): org.spongepowered.api.util.AABB; - /** - * Expands this bounding box by a given amount in both directions and - * returns a new box. The expansion is applied half and half to the - * minimum and maximum corners. - */ - // @ts-ignore - public expand(x: number, y: number, z: number): org.spongepowered.api.util.AABB; - // @ts-ignore - public equals(other: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.Axis.ts b/packages/sponge/src/typings/org.spongepowered.api.util.Axis.ts deleted file mode 100644 index 4add536a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.Axis.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class Axis implements org.spongepowered.api.util.Cycleable { - // @ts-ignore - public static X: org.spongepowered.api.util.Axis; - // @ts-ignore - public static Y: org.spongepowered.api.util.Axis; - // @ts-ignore - public static Z: org.spongepowered.api.util.Axis; - // @ts-ignore - public static values(): org.spongepowered.api.util.Axis[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.util.Axis; - /** - * Gets the closest horizontal direction from the given vector. If the - * vector is the 0-Vector, this method returns {@link #X}. If the vector has - * the same length in a horizontal and vertical direction, a horizontal axis - * will be returned. If the vector has the same length in x and in z - * direction {@link #X} will be returned. - */ - // @ts-ignore - public static getClosest(vector: any /*Vector3d*/): org.spongepowered.api.util.Axis; - /** - * Returns whether the given vector is along this axis. - */ - // @ts-ignore - public isVectorAlongAxis(vector: any /*Vector3d*/): boolean; - /** - * Gets the component of the vector denoted by this axis. - */ - // @ts-ignore - public getComponent(vector3d: any /*Vector3d*/): number; - /** - * Gets the direction of the vector's component denoted by this axis. - */ - // @ts-ignore - public getDirection(vector3d: any /*Vector3d*/): org.spongepowered.api.util.AxisDirection; - /** - * Gets the Vector3d backing this axis. - */ - // @ts-ignore - public toVector3d(): any /*Vector3d*/; - /** - * Gets the Vector3d with the given {@link AxisDirection}. - */ - // @ts-ignore - public toVector3dWithDirection(axisDirection: org.spongepowered.api.util.AxisDirection): any /*Vector3d*/; - // @ts-ignore - public cycleNext(): org.spongepowered.api.util.Axis; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.AxisDirection.ts b/packages/sponge/src/typings/org.spongepowered.api.util.AxisDirection.ts deleted file mode 100644 index d78aa91c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.AxisDirection.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class AxisDirection { - // @ts-ignore - public static PLUS: org.spongepowered.api.util.AxisDirection; - // @ts-ignore - public static ZERO: org.spongepowered.api.util.AxisDirection; - // @ts-ignore - public static MINUS: org.spongepowered.api.util.AxisDirection; - // @ts-ignore - public static values(): org.spongepowered.api.util.AxisDirection[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.util.AxisDirection; - /** - * Gets the signum for this direction. - *

- * A positive direction has a value of 1, negative direction -1 and 0 for no - * direction. - *

- */ - // @ts-ignore - public getSignum(): number; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.CatalogBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.util.CatalogBuilder.ts deleted file mode 100644 index 56943aef..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.CatalogBuilder.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - interface CatalogBuilder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the id of the {@link CatalogType} (without the namespace/plugin id). - */ - // @ts-ignore - id(id: string): org.spongepowered.api.util.ResettableBuilder; - /** - * Sets the name of the {@link CatalogType}. Defaults to {@link #id(String)}. - */ - // @ts-ignore - name(name: string): org.spongepowered.api.util.ResettableBuilder; - /** - * Sets the name of the {@link CatalogType} as a {@link Translation}. Defaults to {@link #id}. - */ - // @ts-ignore - name(translation: org.spongepowered.api.text.translation.Translation): org.spongepowered.api.util.ResettableBuilder; - /** - * Builds the {@link CatalogType} of type {@code C}. - *

The last {@link PluginContainer} in the cause stack will be used to - * determine which plugin was used to construct the {@link CatalogType}.

- */ - // @ts-ignore - build(): org.spongepowered.api.CatalogType; - // @ts-ignore - from(value: org.spongepowered.api.CatalogType): org.spongepowered.api.util.ResettableBuilder; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.Coerce.ts b/packages/sponge/src/typings/org.spongepowered.api.util.Coerce.ts deleted file mode 100644 index f6c03fb5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.Coerce.ts +++ /dev/null @@ -1,152 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class Coerce { - /** - * Coerce the supplied object to a string. - */ - // @ts-ignore - public static toString(obj: any): string; - /** - * Gets the given object as a {@link String}. - */ - // @ts-ignore - public static asString(obj: any): any; - /** - * Coerce the supplied object to a list. Accepts lists and all types of 1D - * arrays. Also (naively) supports lists in Strings in a format like - * {1,2,3,I,am,a,list} - */ - // @ts-ignore - public static toList(obj: any): any[] /*java.util.List*/; - /** - * Gets the given object as a {@link List}. - */ - // @ts-ignore - public static asList(obj: any): any; - /** - * Coerce the specified object to a list containing only objects of type - * specified by ofClass. Also coerces list values where - * possible. - */ - // @ts-ignore - public static toListOf(obj: any, ofClass: any): any[] /*java.util.List*/; - /** - * Coerce the supplied object to a boolean, matches strings such as "yes" as - * well as literal boolean values. - */ - // @ts-ignore - public static toBoolean(obj: any): boolean; - /** - * Gets the given object as a {@link Boolean}. - */ - // @ts-ignore - public static asBoolean(obj: any): any; - /** - * Coerce the supplied object to an integer, parse it if necessary. - */ - // @ts-ignore - public static toInteger(obj: any): number; - /** - * Gets the given object as a {@link Integer}. - *

Note that this does not translate numbers spelled out as strings.

- */ - // @ts-ignore - public static asInteger(obj: any): any; - /** - * Coerce the supplied object to a double-precision floating-point number, - * parse it if necessary. - */ - // @ts-ignore - public static toDouble(obj: any): number; - /** - * Gets the given object as a {@link Double}. - *

Note that this does not translate numbers spelled out as strings.

- */ - // @ts-ignore - public static asDouble(obj: any): any; - /** - * Coerce the supplied object to a single-precision floating-point number, - * parse it if necessary. - */ - // @ts-ignore - public static toFloat(obj: any): number; - /** - * Gets the given object as a {@link Float}. - *

Note that this does not translate numbers spelled out as strings.

- */ - // @ts-ignore - public static asFloat(obj: any): any; - /** - * Coerce the supplied object to a short number, parse it if necessary. - */ - // @ts-ignore - public static toShort(obj: any): number; - /** - * Gets the given object as a {@link Short}. - *

Note that this does not translate numbers spelled out as strings.

- */ - // @ts-ignore - public static asShort(obj: any): any; - /** - * Coerce the supplied object to a byte number, parse it if necessary. - */ - // @ts-ignore - public static toByte(obj: any): number; - /** - * Gets the given object as a {@link Byte}. - *

Note that this does not translate numbers spelled out as strings.

- */ - // @ts-ignore - public static asByte(obj: any): any; - /** - * Coerce the supplied object to a long number, parse it if necessary. - */ - // @ts-ignore - public static toLong(obj: any): number; - /** - * Gets the given object as a {@link Long}. - *

Note that this does not translate numbers spelled out as strings.

- */ - // @ts-ignore - public static asLong(obj: any): any; - /** - * Coerce the supplied object to a character, parse it if necessary. - */ - // @ts-ignore - public static toChar(obj: any): string; - /** - * Gets the given object as a {@link Character}. - */ - // @ts-ignore - public static asChar(obj: any): any; - /** - * Coerce the specified object to an enum of the supplied type, returns the - * first enum constant in the enum if parsing fails. - */ - // @ts-ignore - public static toEnum(obj: any, enumClass: any): any; - /** - * Coerce the specified object to an enum of the supplied type, returns the - * specified default value if parsing fails. - */ - // @ts-ignore - public static toEnum(obj: any, enumClass: any, defaultValue: any): any; - /** - * Coerce the specified object to the specified pseudo-enum type using the - * supplied pseudo-enum dictionary class. - */ - // @ts-ignore - public static toPseudoEnum(obj: any, pseudoEnumClass: any, dictionaryClass: any, defaultValue: any): any; - /** - * Coerce the supplied object to a Vector2i. - */ - // @ts-ignore - public static toVector2i(obj: any): any /*Vector2i*/; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.CollectionUtils.ts b/packages/sponge/src/typings/org.spongepowered.api.util.CollectionUtils.ts deleted file mode 100644 index 32acad5c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.CollectionUtils.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class CollectionUtils { - /** - * Attempts to use native {@link Object#clone()} methods on available map - * types. If a map cannot be properly cloned, a new {@link HashMap} is - * returned. - */ - // @ts-ignore - public static copyMap(map: Map /*java.util.Map*/): Map /*java.util.Map*/; - /** - * Attempts to use native {@link Object#clone()} methods on available map - * types. If a list cannot be properly cloned, a new {@link ArrayList} is - * returned. - */ - // @ts-ignore - public static copyList(list: any[] /*java.util.List*/): any[] /*java.util.List*/; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.Color.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.util.Color.Builder.ts deleted file mode 100644 index 21f37379..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.Color.Builder.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace Color { - // @ts-ignore - class Builder extends org.spongepowered.api.data.persistence.AbstractDataBuilder { - /** - * Creates a new {@link Builder} for building {@link Color} objects, either - * from {@link DataView}s, or otherwise. - */ - constructor() - // @ts-ignore - protected buildContent(container: org.spongepowered.api.data.DataView): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.Color.ts b/packages/sponge/src/typings/org.spongepowered.api.util.Color.ts deleted file mode 100644 index 14f075c2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.Color.ts +++ /dev/null @@ -1,162 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class Color implements org.spongepowered.api.data.DataSerializable { - // @ts-ignore - public static BLACK: org.spongepowered.api.util.Color; - // @ts-ignore - public static GRAY: org.spongepowered.api.util.Color; - // @ts-ignore - public static WHITE: org.spongepowered.api.util.Color; - // @ts-ignore - public static BLUE: org.spongepowered.api.util.Color; - // @ts-ignore - public static GREEN: org.spongepowered.api.util.Color; - // @ts-ignore - public static LIME: org.spongepowered.api.util.Color; - // @ts-ignore - public static RED: org.spongepowered.api.util.Color; - // @ts-ignore - public static YELLOW: org.spongepowered.api.util.Color; - // @ts-ignore - public static MAGENTA: org.spongepowered.api.util.Color; - // @ts-ignore - public static PURPLE: org.spongepowered.api.util.Color; - // @ts-ignore - public static DARK_CYAN: org.spongepowered.api.util.Color; - // @ts-ignore - public static DARK_GREEN: org.spongepowered.api.util.Color; - // @ts-ignore - public static DARK_MAGENTA: org.spongepowered.api.util.Color; - // @ts-ignore - public static CYAN: org.spongepowered.api.util.Color; - // @ts-ignore - public static NAVY: org.spongepowered.api.util.Color; - // @ts-ignore - public static PINK: org.spongepowered.api.util.Color; - /** - * Gets a new {@link Color} based on the hexadecimal value - * for a combined {@code red}, {@code green}, and {@code blue} - * color. Note that colors do not utilize an alpha modifier - */ - // @ts-ignore - public static ofRgb(hex: number): org.spongepowered.api.util.Color; - /** - * Gets a new {@link Color} based on the hexadecimal value - * for a combined {@code red}, {@code green}, and {@code blue} - * color. Note that colors do not utilize an alpha modifier - */ - // @ts-ignore - public static ofRgb(red: number, green: number, blue: number): org.spongepowered.api.util.Color; - /** - * Converts the provided {@link java.awt.Color} object into a valid - * {@link Color} object to be used throughout the API. - */ - // @ts-ignore - public static of(color: any): org.spongepowered.api.util.Color; - /** - * Converts the provided {@link Vector3i} into a {@link Color} object. - */ - // @ts-ignore - public static of(vector3i: any /*Vector3i*/): org.spongepowered.api.util.Color; - /** - * converts the provided {@link Vector3f} into a {@link Color} object. - */ - // @ts-ignore - public static of(vector3f: any /*Vector3f*/): org.spongepowered.api.util.Color; - /** - * converts the provided {@link Vector3d} into a {@link Color} object. - */ - // @ts-ignore - public static of(vector3d: any /*Vector3d*/): org.spongepowered.api.util.Color; - /** - * Creates a new {@link Color} combining the provided {@link DyeColor} - * objects. Since {@link DyeColor}s can be converted into {@link Color} - * objects themselves, their summation and average is taken into effect - * to properly mix the colors together. - */ - // @ts-ignore - public static mixDyeColors(colors: org.spongepowered.api.data.type.DyeColor): org.spongepowered.api.util.Color; - /** - * Creates a new {@link Color} combining the provided {@link Color} - * objects, their summation and average is taken into effect - * to properly mix the colors together. - */ - // @ts-ignore - public static mixColors(colors: org.spongepowered.api.util.Color): org.spongepowered.api.util.Color; - /** - * Gets the {@code red} value of this {@link Color}. - */ - // @ts-ignore - public getRed(): number; - /** - * Creates a new {@link Color} by using the provided - * {@code red} color, while retaining the current {@link #getGreen()} - * and {@link #getBlue()} values. - */ - // @ts-ignore - public withRed(red: number): org.spongepowered.api.util.Color; - /** - * Gets the {@code red} value of this {@link Color}. - */ - // @ts-ignore - public getGreen(): number; - /** - * Creates a new {@link Color} by using the provided - * {@code green} color, while retaining the current {@link #getRed()} - * and {@link #getBlue()} values. - */ - // @ts-ignore - public withGreen(green: number): org.spongepowered.api.util.Color; - /** - * Gets the current {@code blue} value of this {@link Color}. - */ - // @ts-ignore - public getBlue(): number; - /** - * Creates a new {@link Color} by using the provided - * {@code blue} color, while retaining the current {@link #getGreen()} - * and {@link #getRed()} ()} values. - */ - // @ts-ignore - public withBlue(blue: number): org.spongepowered.api.util.Color; - /** - * Converts this {@link Color} into a {@link java.awt.Color} object for use - * in other APIs. - */ - // @ts-ignore - public asJavaColor(): any; - /** - * Gets the {@code red green blue} representation of this color in - * a "hexadecimal" format. - */ - // @ts-ignore - public getRgb(): number; - /** - * Creates a new color with the provided {@code Colors}. - */ - // @ts-ignore - public mixWithColors(colors: org.spongepowered.api.util.Color): org.spongepowered.api.util.Color; - /** - * Similar to {@link #mixWithColors(Color...)}, mixes the - * provided {@link DyeColor}s with this {@link Color}. - */ - // @ts-ignore - public mixWithDyes(dyeColors: org.spongepowered.api.data.type.DyeColor): org.spongepowered.api.util.Color; - // @ts-ignore - public getContentVersion(): number; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public toString(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.Cycleable.ts b/packages/sponge/src/typings/org.spongepowered.api.util.Cycleable.ts deleted file mode 100644 index 51b01d91..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.Cycleable.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - interface Cycleable { - /** - * Gets the "next" {@link Cycleable} instance to be considered - * for cycling. - */ - // @ts-ignore - cycleNext(): org.spongepowered.api.util.Cycleable; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.Direction.Division.ts b/packages/sponge/src/typings/org.spongepowered.api.util.Direction.Division.ts deleted file mode 100644 index d1c0ae2c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.Direction.Division.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace Direction { - // @ts-ignore - class Division { - // @ts-ignore - public static CARDINAL: org.spongepowered.api.util.Direction.Division; - // @ts-ignore - public static ORDINAL: org.spongepowered.api.util.Direction.Division; - // @ts-ignore - public static SECONDARY_ORDINAL: org.spongepowered.api.util.Direction.Division; - // @ts-ignore - public static NONE: org.spongepowered.api.util.Direction.Division; - // @ts-ignore - public static values(): org.spongepowered.api.util.Direction.Division[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.util.Direction.Division; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.Direction.ts b/packages/sponge/src/typings/org.spongepowered.api.util.Direction.ts deleted file mode 100644 index 92b3b018..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.Direction.ts +++ /dev/null @@ -1,147 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class Direction { - // @ts-ignore - public static NORTH: org.spongepowered.api.util.Direction; - // @ts-ignore - public static NORTH_NORTHEAST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static NORTHEAST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static EAST_NORTHEAST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static EAST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static EAST_SOUTHEAST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static SOUTHEAST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static SOUTH_SOUTHEAST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static SOUTH: org.spongepowered.api.util.Direction; - // @ts-ignore - public static SOUTH_SOUTHWEST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static SOUTHWEST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static WEST_SOUTHWEST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static WEST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static WEST_NORTHWEST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static NORTHWEST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static NORTH_NORTHWEST: org.spongepowered.api.util.Direction; - // @ts-ignore - public static UP: org.spongepowered.api.util.Direction; - // @ts-ignore - public static DOWN: org.spongepowered.api.util.Direction; - // @ts-ignore - public static NONE: org.spongepowered.api.util.Direction; - // @ts-ignore - public static values(): org.spongepowered.api.util.Direction[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.util.Direction; - /** - * Gets the closest direction from the given vector. If the vector is the - * 0-Vector, this method returns {@link #NONE}. If the vector has the same - * horizontal and vertical length, a horizontal direction will be returned. - * If the vector is halfway between two directions the clockwise next will - * be selected. - */ - // @ts-ignore - public static getClosest(vector: any /*Vector3d*/): org.spongepowered.api.util.Direction; - /** - * Gets the closest direction from the given vector. If the vector is the - * 0-Vector, this method returns {@link #NONE}. If the vector has the same - * horizontal and vertical length, a horizontal direction will be returned. - * If the vector is halfway between two directions the clockwise next will - * be selected. - */ - // @ts-ignore - public static getClosest(vector: any /*Vector3d*/, smallestDivision: org.spongepowered.api.util.Direction.Division): org.spongepowered.api.util.Direction; - /** - * Gets the closest horizontal direction from the given vector. If the - * vector is the 0-Vector (ignoring y), this method returns {@link #NONE}. - * If the vector is halfway between two directions the clockwise next will - * be selected. - */ - // @ts-ignore - public static getClosestHorizontal(vector: any /*Vector3d*/): org.spongepowered.api.util.Direction; - /** - * Gets the closest horizontal direction from the given vector. If the - * vector is the 0-Vector (ignoring y), this method returns {@link #NONE}. - * If the vector is halfway between two directions the clockwise next will - * be selected. - */ - // @ts-ignore - public static getClosestHorizontal(vector: any /*Vector3d*/, smallestDivision: org.spongepowered.api.util.Direction.Division): org.spongepowered.api.util.Direction; - /** - * Gets the direction associated with the given axis. - */ - // @ts-ignore - public static getFromAxis(axis: org.spongepowered.api.util.Axis): org.spongepowered.api.util.Direction; - /** - * Gets the direction of the axis along the given {@link AxisDirection}. - */ - // @ts-ignore - public static getFromAxis(axis: org.spongepowered.api.util.Axis, direction: org.spongepowered.api.util.AxisDirection): org.spongepowered.api.util.Direction; - /** - * Gets the opposite direction i.e. 180 degrees from this direction. - */ - // @ts-ignore - public getOpposite(): org.spongepowered.api.util.Direction; - /** - * Returns whether the given direction is opposite this. - */ - // @ts-ignore - public isOpposite(d: org.spongepowered.api.util.Direction): boolean; - /** - * Return true if the direction is of a cardinal direction (north, west - * east, and south). - *

This evaluates as false for directions that have a non-zero - * Y-component.

- */ - // @ts-ignore - public isCardinal(): boolean; - /** - * Return true if the direction is of an ordinal direction (northwest, - * southwest, southeast, northeast). - */ - // @ts-ignore - public isOrdinal(): boolean; - /** - * Return true if the direction is of a secondary ordinal direction - * (north-northwest, north-northeast, south-southwest, etc.). - */ - // @ts-ignore - public isSecondaryOrdinal(): boolean; - /** - * Return whether Y component is non-zero. - */ - // @ts-ignore - public isUpright(): boolean; - /** - * Returns the direction as a unit offset vector. - * This vector is also suitable as a unit direction vector. - */ - // @ts-ignore - public asOffset(): any /*Vector3d*/; - /** - * Returns the direction as a block offset vector. - * For secondary ordinals the results are approximated to the nearest - * block. - *

The difference between this offset and {@link #asOffset()} is that - * a block offset has unit components instead of unit length.

- */ - // @ts-ignore - public asBlockOffset(): any /*Vector3i*/; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.DiscreteTransform2.ts b/packages/sponge/src/typings/org.spongepowered.api.util.DiscreteTransform2.ts deleted file mode 100644 index 8a59c365..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.DiscreteTransform2.ts +++ /dev/null @@ -1,203 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class DiscreteTransform2 { - // @ts-ignore - public static IDENTITY: org.spongepowered.api.util.DiscreteTransform2; - /** - * Returns the matrix representation of the transform. It is 3D to allow it - * to include a translation. - */ - // @ts-ignore - public getMatrix(): any /*Matrix3d*/; - /** - * Transforms a vector using this transforms. - */ - // @ts-ignore - public transform(vector: any /*Vector2i*/): any /*Vector2i*/; - /** - * Transform a vector represented as a pair of coordinates using this - * transform. - */ - // @ts-ignore - public transform(x: number, y: number): any /*Vector2i*/; - /** - * Transforms the x coordinate of a vector using this transform. Only - * creates a new object on the first call. - */ - // @ts-ignore - public transformX(vector: any /*Vector2i*/): number; - /** - * Transforms the x coordinate of a vector using this transform. Only - * creates a new object on the first call. - */ - // @ts-ignore - public transformX(x: number, y: number): number; - /** - * Transforms the y coordinate of a vector using this transform. Only - * creates a new object on the first call. - */ - // @ts-ignore - public transformY(vector: any /*Vector2i*/): number; - /** - * Transforms the y coordinate of a vector using this transform. Only - * creates a new object on the first call. - */ - // @ts-ignore - public transformY(x: number, y: number): number; - /** - * Inverts the transform and returns it as a new transform. - */ - // @ts-ignore - public invert(): org.spongepowered.api.util.DiscreteTransform2; - /** - * Returns a transform that is the composition of this transform and the - * given transform. The result will apply this transformation after the - * given one. - */ - // @ts-ignore - public compose(that: org.spongepowered.api.util.DiscreteTransform2): org.spongepowered.api.util.DiscreteTransform2; - /** - * Returns a transform that is the composition of the given transform with - * this transform. The result will apply the given transformation after - * this one. - */ - // @ts-ignore - public andThen(that: org.spongepowered.api.util.DiscreteTransform2): org.spongepowered.api.util.DiscreteTransform2; - /** - * Adds a translation to this transform and returns it as a new transform. - */ - // @ts-ignore - public withTranslation(vector: any /*Vector2i*/): org.spongepowered.api.util.DiscreteTransform2; - /** - * Adds a translation to this transform and returns it as a new transform. - */ - // @ts-ignore - public withTranslation(x: number, y: number): org.spongepowered.api.util.DiscreteTransform2; - /** - * Adds a scale factor to this transform and returns it as a new transform. - * This factor must be non-zero. - */ - // @ts-ignore - public withScale(a: number): org.spongepowered.api.util.DiscreteTransform2; - /** - * Adds a scale factor for each axis to this transform and returns it as a - * new transform. The factors must be non-zero. - */ - // @ts-ignore - public withScale(vector: any /*Vector2i*/): org.spongepowered.api.util.DiscreteTransform2; - /** - * Adds a scale factor for each axis to this transform and returns it as a - * new transform. The factors must be non-zero. - */ - // @ts-ignore - public withScale(x: number, y: number): org.spongepowered.api.util.DiscreteTransform2; - /** - * Adds a rotation to this transform, in the xy plane, around the origin and - * returns it as a new transform. The rotation is given is quarter turns. - * The actual rotation is {@code quarterTurns * 90}. The rotation is around - * the block center, not the corner. - */ - // @ts-ignore - public withRotation(quarterTurns: number): org.spongepowered.api.util.DiscreteTransform2; - /** - * Adds a a rotation to this transform, in the xy plane, around a given - * point, and returns it as a new transform. The rotation is given is - * quarter turns. The actual rotation is {@code quarterTurns * 90}. The tile - * corner flag changes the point to be the tile upper corner instead of the - * center. - */ - // @ts-ignore - public withRotation(quarterTurns: number, point: any /*Vector2i*/, tileCorner: boolean): org.spongepowered.api.util.DiscreteTransform2; - /** - * Adds a a rotation to this transform, in the xy plane, around a given - * point, and returns it as a new transform. The rotation is given is half - * turns. The actual rotation is {@code halfTurns * 180}. The tile corner - * flags change the point to be the tile corner or edge instead of the - * center. When both flags are false, the center is used. When only one is - * true the edge on the opposite axis to the flag is used. When both are - * true the upper corner is used. - */ - // @ts-ignore - public withRotation(halfTurns: number, point: any /*Vector2i*/, tileCornerX: boolean, tileCornerY: boolean): org.spongepowered.api.util.DiscreteTransform2; - /** - * Adds another transformation to this transformation and returns int as a - * new transform. - */ - // @ts-ignore - public withTransformation(transform: org.spongepowered.api.util.DiscreteTransform2): org.spongepowered.api.util.DiscreteTransform2; - /** - * Returns a new transform from the given transformation matrix, if the - * resulting transform would be discrete. - */ - // @ts-ignore - public static of(matrix: any /*Matrix3d*/): any; - /** - * Returns a new transform representing a translation. - */ - // @ts-ignore - public static fromTranslation(vector: any /*Vector2i*/): org.spongepowered.api.util.DiscreteTransform2; - /** - * Returns a new transform representing a translation. - */ - // @ts-ignore - public static fromTranslation(x: number, y: number): org.spongepowered.api.util.DiscreteTransform2; - /** - * Returns a new transform representing a scaling. - * The scale factor must be non-zero. - */ - // @ts-ignore - public static fromScale(a: number): org.spongepowered.api.util.DiscreteTransform2; - /** - * Returns a new transform representing a scaling on each axis. The scale - * factors must be non-zero. - */ - // @ts-ignore - public static fromScale(vector: any /*Vector2i*/): org.spongepowered.api.util.DiscreteTransform2; - /** - * Returns a new transform representing a scaling on each axis. The scale - * factors must be non-zero. - */ - // @ts-ignore - public static fromScale(x: number, y: number): org.spongepowered.api.util.DiscreteTransform2; - /** - * Returns a new transform representing a rotation in the xy plane around - * the origin. The rotation is given is quarter turns. The actual rotation - * is {@code quarterTurns * 90}. The rotation is around the block center, - * not the corner. - */ - // @ts-ignore - public static fromRotation(quarterTurns: number): org.spongepowered.api.util.DiscreteTransform2; - /** - * Returns a new transform representing a rotation in the xy plane, around a - * given point. The rotation is given is quarter turns. The actual rotation - * is {@code quarterTurns * 90}. The tile corner flag change the point to be - * the tile corner instead of the center. - */ - // @ts-ignore - public static fromRotation(quarterTurns: number, point: any /*Vector2i*/, tileCorner: boolean): org.spongepowered.api.util.DiscreteTransform2; - /** - * Returns a new transform representing a rotation in the xy plane, around a - * given point. The rotation is given is half turns. The actual rotation is - * {@code halfTurns * 180}. The tile corner flags change the point to be the - * tile corner or edge instead of the center. When both flags are false, the - * center is used. When only one is true the edge on the opposite axis to - * the flag is used. When both are true the upper corner is used. - */ - // @ts-ignore - public static fromRotation(halfTurns: number, point: any /*Vector2i*/, tileCornerX: boolean, tileCornerY: boolean): org.spongepowered.api.util.DiscreteTransform2; - /** - * Returns a new transform representing a centered rotation of an area of - * tiles. The rotation is given is quarter turns. The actual rotation is - * {@code quarterTurns * 90}. Areas with differing parities on the axes can - * only be rotated by multiples of 180 degrees. - */ - // @ts-ignore - public static rotationAroundCenter(quarterTurns: number, size: any /*Vector2i*/): org.spongepowered.api.util.DiscreteTransform2; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.DiscreteTransform3.ts b/packages/sponge/src/typings/org.spongepowered.api.util.DiscreteTransform3.ts deleted file mode 100644 index c1840e4c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.DiscreteTransform3.ts +++ /dev/null @@ -1,228 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class DiscreteTransform3 { - // @ts-ignore - public static IDENTITY: org.spongepowered.api.util.DiscreteTransform3; - /** - * Returns the matrix representation of the transform. - * It is 4D to allow it to include a translation. - */ - // @ts-ignore - public getMatrix(): any /*Matrix4d*/; - /** - * Transforms a vector using this transforms. - */ - // @ts-ignore - public transform(vector: any /*Vector3i*/): any /*Vector3i*/; - /** - * Transform a vector represented as a pair of - * coordinates using this transform. - */ - // @ts-ignore - public transform(x: number, y: number, z: number): any /*Vector3i*/; - /** - * Transforms the x coordinate of a vector - * using this transform. Only creates a new - * object on the first call. - */ - // @ts-ignore - public transformX(vector: any /*Vector3i*/): number; - /** - * Transforms the x coordinate of a vector - * using this transform. Only creates a new - * object on the first call. - */ - // @ts-ignore - public transformX(x: number, y: number, z: number): number; - /** - * Transforms the y coordinate of a vector - * using this transform. Only creates a new - * object on the first call. - */ - // @ts-ignore - public transformY(vector: any /*Vector3i*/): number; - /** - * Transforms the y coordinate of a vector - * using this transform. Only creates a new - * object on the first call. - */ - // @ts-ignore - public transformY(x: number, y: number, z: number): number; - /** - * Transforms the z coordinate of a vector - * using this transform. Only creates a new - * object on the first call. - */ - // @ts-ignore - public transformZ(vector: any /*Vector3i*/): number; - /** - * Transforms the z coordinate of a vector - * using this transform. Only creates a new - * object on the first call. - */ - // @ts-ignore - public transformZ(x: number, y: number, z: number): number; - /** - * Inverts the transform and returns it as a new transform. - */ - // @ts-ignore - public invert(): org.spongepowered.api.util.DiscreteTransform3; - /** - * Returns a transform that is the composition of this transform and the - * given transform. The result will apply this transformation after the - * given one. - */ - // @ts-ignore - public compose(that: org.spongepowered.api.util.DiscreteTransform3): org.spongepowered.api.util.DiscreteTransform3; - /** - * Returns a transform that is the composition of the given transform with - * this transform. The result will apply the given transformation after this - * one. - */ - // @ts-ignore - public andThen(that: org.spongepowered.api.util.DiscreteTransform3): org.spongepowered.api.util.DiscreteTransform3; - /** - * Adds a translation to this transform and returns - * it as a new transform. - */ - // @ts-ignore - public withTranslation(vector: any /*Vector3i*/): org.spongepowered.api.util.DiscreteTransform3; - /** - * Adds a translation to this transform and returns - * it as a new transform. - */ - // @ts-ignore - public withTranslation(x: number, y: number, z: number): org.spongepowered.api.util.DiscreteTransform3; - /** - * Adds a scale factor to this transform and returns - * it as a new transform. This factor must be non-zero. - */ - // @ts-ignore - public withScale(a: number): org.spongepowered.api.util.DiscreteTransform3; - /** - * Adds a scale factor for each axis to this transform - * and returns it as a new transform. The factors must - * be non-zero. - */ - // @ts-ignore - public withScale(vector: any /*Vector3i*/): org.spongepowered.api.util.DiscreteTransform3; - /** - * Adds a scale factor for each axis to this transform - * and returns it as a new transform. The factors must - * be non-zero. - */ - // @ts-ignore - public withScale(x: number, y: number, z: number): org.spongepowered.api.util.DiscreteTransform3; - /** - * Adds a rotation to this transform, around an axis, - * around the origin and returns it as a new transform. - * The rotation is given is quarter turns. - * The actual rotation is {@code quarterTurns * 90}. - * The rotation is around the block center, not the corner. - */ - // @ts-ignore - public withRotation(quarterTurns: number, axis: org.spongepowered.api.util.Axis): org.spongepowered.api.util.DiscreteTransform3; - /** - * Adds a a rotation to this transform, around an axis, - * around a given point, and returns it as a new transform. - * The rotation is given is quarter turns. The actual rotation - * is {@code quarterTurns * 90}. The block corner flag changes - * the point to be the block upper corner instead of the center. - */ - // @ts-ignore - public withRotation(quarterTurns: number, axis: org.spongepowered.api.util.Axis, point: any /*Vector3i*/, blockCorner: boolean): org.spongepowered.api.util.DiscreteTransform3; - /** - * Adds a a rotation to this transform, around an axis, - * around a given point. The rotation is given is half turns. - * The actual rotation is {@code halfTurns * 180}. The block corner - * flags change the point to be the block corner or edge instead - * of the center. When all flags are false, the center is used. - * When only one is true the face traversed by the axis of flag is used. - * When two are true the edge in the direction of the remaining flag - * is used. When all are true the upper corner is used. - */ - // @ts-ignore - public withRotation(halfTurns: number, axis: org.spongepowered.api.util.Axis, point: any /*Vector3i*/, blockCornerX: boolean, blockCornerY: boolean, blockCornerZ: boolean): org.spongepowered.api.util.DiscreteTransform3; - /** - * Adds another transformation to this transformation and - * returns int as a new transform. - */ - // @ts-ignore - public withTransformation(transform: org.spongepowered.api.util.DiscreteTransform3): org.spongepowered.api.util.DiscreteTransform3; - /** - * Returns a new transform from the given transformation matrix, if the - * resulting transform would be discrete. - */ - // @ts-ignore - public static of(matrix: any /*Matrix4d*/): any; - /** - * Returns a new transform representing a translation. - */ - // @ts-ignore - public static fromTranslation(vector: any /*Vector3i*/): org.spongepowered.api.util.DiscreteTransform3; - /** - * Returns a new transform representing a translation. - */ - // @ts-ignore - public static fromTranslation(x: number, y: number, z: number): org.spongepowered.api.util.DiscreteTransform3; - /** - * Returns a new transform representing a scaling. - * The scale factor must be non-zero. - */ - // @ts-ignore - public static fromScale(a: number): org.spongepowered.api.util.DiscreteTransform3; - /** - * Returns a new transform representing a scaling on each axis. - * The scale factors must be non-zero. - */ - // @ts-ignore - public static fromScale(vector: any /*Vector3i*/): org.spongepowered.api.util.DiscreteTransform3; - /** - * Returns a new transform representing a scaling on each axis. - * The scale factors must be non-zero. - */ - // @ts-ignore - public static fromScale(x: number, y: number, z: number): org.spongepowered.api.util.DiscreteTransform3; - /** - * Returns a new transform representing a rotation around an - * axis around the origin. The rotation is given is quarter turns. - * The actual rotation is {@code quarterTurns * 90}. - * The rotation is around the block center, not the corner. - */ - // @ts-ignore - public static fromRotation(quarterTurns: number, axis: org.spongepowered.api.util.Axis): org.spongepowered.api.util.DiscreteTransform3; - /** - * Returns a new transform representing a rotation around an axis, - * around a given point. The rotation is given is quarter turns. - * The actual rotation is {@code quarterTurns * 90}. The block corner - * flag change the point to be the block corner instead of the center. - */ - // @ts-ignore - public static fromRotation(quarterTurns: number, axis: org.spongepowered.api.util.Axis, point: any /*Vector3i*/, blockCorner: boolean): org.spongepowered.api.util.DiscreteTransform3; - /** - * Returns a new transform representing a rotation around an axis, - * around a given point. The rotation is given in half turns. - * The actual rotation is {@code halfTurns * 180}. When all flags are - * false, the center is used. When only one is true the face traversed - * by the axis of flag is used. When two are true the edge in the - * direction of the remaining flag is used. When all are true the - * upper corner is used. - */ - // @ts-ignore - public static fromRotation(halfTurns: number, axis: org.spongepowered.api.util.Axis, point: any /*Vector3i*/, blockCornerX: boolean, blockCornerY: boolean, blockCornerZ: boolean): org.spongepowered.api.util.DiscreteTransform3; - /** - * Returns a new transform representing a centered rotation of an volume - * of blocks. The rotation is given is quarter turns. The actual rotation - * is {@code quarterTurns * 90}. Volumes with differing parities on the - * axes can only be rotated by multiples of 180 degrees. - */ - // @ts-ignore - public static rotationAroundCenter(quarterTurns: number, axis: org.spongepowered.api.util.Axis, size: any /*Vector3i*/): org.spongepowered.api.util.DiscreteTransform3; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.Functional.ts b/packages/sponge/src/typings/org.spongepowered.api.util.Functional.ts deleted file mode 100644 index 703a31e1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.Functional.ts +++ /dev/null @@ -1,68 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class Functional { - /** - * Perform an AND using an array of predicates. - */ - // @ts-ignore - public static predicateAnd(predicates: any): any; - /** - * Perform an AND using an iterable of predicates. - */ - // @ts-ignore - public static predicateAnd(predicates: any): any; - /** - * Perform an AND using an array of bi-predicates. - */ - // @ts-ignore - public static biPredicateAnd(predicates: any): any; - /** - * Perform an AND using an iterable of bi-predicates. - */ - // @ts-ignore - public static biPredicateAnd(predicates: any): any; - /** - * Creates a new {@link Predicate} defining whether an {@link Object} - * is contained within the provided {@link Collection}. - */ - // @ts-ignore - public static predicateIn(collection: any[] /*java.util.Collection*/): any; - /** - * Creates a {@link com.google.common.base.Predicate} based on the provided {@link Predicate}, used - * to transform between Java 8 specific code to those from the guava - * library. - */ - // @ts-ignore - public static java8ToGuava(predicate: any): any; - /** - * Creates a new {@link Predicate} based on the provided {@link com.google.common.base.Predicate}, - * used to transform between Java 8 specific code to those from the guava - * library. - */ - // @ts-ignore - public static guavaToJava8(p: any): any; - /** - * Gets the value of an {@link Optional} as either a zero- or one-element immutable set. - */ - // @ts-ignore - public static optionalAsSet(value: any): any[] /*java.util.Set*/; - /** - * Execute a callable on the current thread, capturing the result or any exceptions that may be thrown into a {@link - * CompletableFuture}. - */ - // @ts-ignore - public static failableFuture(call: any): any; - /** - * Execute a callable on the provided executor, capturing the result or any exceptions that may be thrown into a {@link - * CompletableFuture}. - */ - // @ts-ignore - public static asyncFailableFuture(call: any, exec: any): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.GuavaCollectors.ts b/packages/sponge/src/typings/org.spongepowered.api.util.GuavaCollectors.ts deleted file mode 100644 index a2550368..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.GuavaCollectors.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class GuavaCollectors { - /** - * Collect the values from a stream to an {@link ImmutableList}. - */ - // @ts-ignore - public static toImmutableList(): any; - /** - * Collect the values from a stream to an {@link ImmutableSet}. - */ - // @ts-ignore - public static toImmutableSet(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.Identifiable.ts b/packages/sponge/src/typings/org.spongepowered.api.util.Identifiable.ts deleted file mode 100644 index e3666cdf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.Identifiable.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - interface Identifiable { - /** - * Gets the unique ID for this object. - */ - // @ts-ignore - getUniqueId(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.InformativeMain.ts b/packages/sponge/src/typings/org.spongepowered.api.util.InformativeMain.ts deleted file mode 100644 index aff12ccc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.InformativeMain.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class InformativeMain { - constructor() - /** - * The main method which throws a {@link PEBKACException} with some basic - * information on how sponge works. - */ - // @ts-ignore - public static main(args: string): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.OptBool.ts b/packages/sponge/src/typings/org.spongepowered.api.util.OptBool.ts deleted file mode 100644 index 679341a4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.OptBool.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class OptBool { - // @ts-ignore - public static TRUE: any; - // @ts-ignore - public static FALSE: any; - // @ts-ignore - public static ABSENT: any; - /** - * Constructs a new {@code Optional<Boolean>} from the given boolean. - */ - // @ts-ignore - public static of(bool: boolean): any; - /** - * Constructs a new {@code Optional<Boolean>} from the given {@link Boolean}. - */ - // @ts-ignore - public static of(bool: any): any; - /** - * Coerces the given {@code Optional<Boolean>} into one of the three - * stored states. - */ - // @ts-ignore - public static of(bool: any): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.PEBKACException.ts b/packages/sponge/src/typings/org.spongepowered.api.util.PEBKACException.ts deleted file mode 100644 index 87934bb1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.PEBKACException.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class PEBKACException { - /** - * Constructs a new {@link PEBKACException}. - */ - constructor() - /** - * Constructs a new {@link PEBKACException} with the given message. - */ - constructor(msg: string) - /** - * Constructs a new {@link PEBKACException} with the given message and - * cause. - */ - constructor(msg: string, cause: any) - /** - * Constructs a new {@link PEBKACException} with the given cause. - */ - constructor(cause: any) - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.PositionOutOfBoundsException.ts b/packages/sponge/src/typings/org.spongepowered.api.util.PositionOutOfBoundsException.ts deleted file mode 100644 index b4a2522b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.PositionOutOfBoundsException.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class PositionOutOfBoundsException { - /** - * Constructs the exception from int coordinate vectors. - */ - constructor(position: any /*Vector3i*/, min: any /*Vector3i*/, max: any /*Vector3i*/) - /** - * Constructs the exception from float coordinate vectors. - */ - constructor(position: any /*Vector3f*/, min: any /*Vector3f*/, max: any /*Vector3f*/) - /** - * Constructs the exception from double coordinate vectors. - */ - constructor(position: any /*Vector3d*/, min: any /*Vector3d*/, max: any /*Vector3d*/) - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.RelativePositions.ts b/packages/sponge/src/typings/org.spongepowered.api.util.RelativePositions.ts deleted file mode 100644 index 8872e0e3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.RelativePositions.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class RelativePositions { - // @ts-ignore - public static X: org.spongepowered.api.util.RelativePositions; - // @ts-ignore - public static Y: org.spongepowered.api.util.RelativePositions; - // @ts-ignore - public static Z: org.spongepowered.api.util.RelativePositions; - // @ts-ignore - public static PITCH: org.spongepowered.api.util.RelativePositions; - // @ts-ignore - public static YAW: org.spongepowered.api.util.RelativePositions; - // @ts-ignore - public static values(): org.spongepowered.api.util.RelativePositions[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.util.RelativePositions; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.ResettableBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.util.ResettableBuilder.ts deleted file mode 100644 index be6e6de0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.ResettableBuilder.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - interface ResettableBuilder { - /** - * Resets this builder to the values of the given built object. - */ - // @ts-ignore - from(value: any): org.spongepowered.api.util.ResettableBuilder; - /** - * Resets this builder to a "default" state such that there is no - * remaining data to set. This is to be the presumed "default" - * state. - */ - // @ts-ignore - reset(): org.spongepowered.api.util.ResettableBuilder; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.RespawnLocation.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.util.RespawnLocation.Builder.ts deleted file mode 100644 index 414480ab..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.RespawnLocation.Builder.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace RespawnLocation { - // @ts-ignore - class Builder extends org.spongepowered.api.data.persistence.AbstractDataBuilder { - /** - * Creates a new {@link Builder}. - */ - constructor() - /** - * Sets the {@link UUID} of the provided {@link World} into this - * builder. - */ - // @ts-ignore - public world(world: org.spongepowered.api.world.World): org.spongepowered.api.util.RespawnLocation.Builder; - /** - * Sets the {@link UUID} of the desired {@link World}. There are no - * validation checks to whether a world exists with the provided uuid, - * mainly for reasons when multiple worlds are loaded and unloaded. - */ - // @ts-ignore - public world(worldId: any): org.spongepowered.api.util.RespawnLocation.Builder; - /** - * Sets the {@link UUID} of the {@link Location} provided {@link World}, - * and the {@link Vector3d} position to respawn at. - */ - // @ts-ignore - public location(location: org.spongepowered.api.world.Location): org.spongepowered.api.util.RespawnLocation.Builder; - /** - * Sets the {@link Vector3d} position of where to respawn at. - */ - // @ts-ignore - public position(position: any /*Vector3d*/): org.spongepowered.api.util.RespawnLocation.Builder; - /** - * Sets whether the position to respawn at is forced or can be varied - * for safety. - */ - // @ts-ignore - public forceSpawn(isForced: boolean): org.spongepowered.api.util.RespawnLocation.Builder; - // @ts-ignore - protected buildContent(container: org.spongepowered.api.data.DataView): any; - // @ts-ignore - public reset(): org.spongepowered.api.util.RespawnLocation.Builder; - // @ts-ignore - public from(value: org.spongepowered.api.util.RespawnLocation): org.spongepowered.api.util.RespawnLocation.Builder; - /** - * Creates a new {@link RespawnLocation} from this builder. - */ - // @ts-ignore - public build(): org.spongepowered.api.util.RespawnLocation; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.RespawnLocation.ts b/packages/sponge/src/typings/org.spongepowered.api.util.RespawnLocation.ts deleted file mode 100644 index 3981ac76..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.RespawnLocation.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class RespawnLocation implements org.spongepowered.api.data.DataSerializable { - /** - * Creates a new {@link Builder} to build a {@link RespawnLocation}. - */ - // @ts-ignore - public static builder(): org.spongepowered.api.util.RespawnLocation.Builder; - /** - * Gets the {@link UUID} of the world this position refers to. - */ - // @ts-ignore - public getWorldUniqueId(): any; - /** - * Gets the position within the world of this spawn point. - */ - // @ts-ignore - public getPosition(): any /*Vector3d*/; - /** - * Gets whether the spawn position is forced in the given world, if - * available. A forced position will spawn the player there even if a bed is - * missing or obstructed. - */ - // @ts-ignore - public isForced(): boolean; - /** - * Gets this spawn position as a {@link Location} object, if the world is - * available. - */ - // @ts-ignore - public asLocation(): any; - // @ts-ignore - public getContentVersion(): number; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.SpongeApiTranslationHelper.ts b/packages/sponge/src/typings/org.spongepowered.api.util.SpongeApiTranslationHelper.ts deleted file mode 100644 index 46b6b6b4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.SpongeApiTranslationHelper.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class SpongeApiTranslationHelper { - /** - * Gets the translated text for a given string. - */ - // @ts-ignore - public static t(key: string, args: any): org.spongepowered.api.text.Text; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.StartsWithPredicate.ts b/packages/sponge/src/typings/org.spongepowered.api.util.StartsWithPredicate.ts deleted file mode 100644 index d1bc46c0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.StartsWithPredicate.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class StartsWithPredicate { - /** - * Create an new predicate. - */ - constructor(test: string) - // @ts-ignore - public test(input: string): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.TextMessageException.ts b/packages/sponge/src/typings/org.spongepowered.api.util.TextMessageException.ts deleted file mode 100644 index 8cf1179e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.TextMessageException.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class TextMessageException { - /** - * Constructs a new {@link TextMessageException}. - */ - constructor() - /** - * Constructs a new {@link TextMessageException} with the given message. - */ - constructor(message: org.spongepowered.api.text.Text) - /** - * Constructs a new {@link TextMessageException} with the given message and - * cause. - */ - constructor(message: org.spongepowered.api.text.Text, throwable: any) - /** - * Constructs a new {@link TextMessageException} with the given cause. - */ - constructor(throwable: any) - // @ts-ignore - public getMessage(): string; - /** - * Returns the text message for this exception, or null if nothing is - * present. - */ - // @ts-ignore - public getText(): org.spongepowered.api.text.Text; - // @ts-ignore - public getLocalizedMessage(): string; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.Tristate.ts b/packages/sponge/src/typings/org.spongepowered.api.util.Tristate.ts deleted file mode 100644 index 34ee949c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.Tristate.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class Tristate { - // @ts-ignore - public static TRUE: org.spongepowered.api.util.Tristate; - // @ts-ignore - public static FALSE: org.spongepowered.api.util.Tristate; - // @ts-ignore - public static UNDEFINED: org.spongepowered.api.util.Tristate; - // @ts-ignore - public static values(): org.spongepowered.api.util.Tristate[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.util.Tristate; - /** - * Return the appropriate tristate for a given boolean value. - */ - // @ts-ignore - public static fromBoolean(val: boolean): org.spongepowered.api.util.Tristate; - /** - * ANDs this tristate with another tristate. - */ - // @ts-ignore - public and(other: org.spongepowered.api.util.Tristate): org.spongepowered.api.util.Tristate; - /** - * ORs this tristate with another tristate. - */ - // @ts-ignore - public or(other: org.spongepowered.api.util.Tristate): org.spongepowered.api.util.Tristate; - /** - * Returns the boolean representation of this tristate. - */ - // @ts-ignore - public asBoolean(): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.Tuple.ts b/packages/sponge/src/typings/org.spongepowered.api.util.Tuple.ts deleted file mode 100644 index 8efdf07a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.Tuple.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class Tuple { - /** - * Creates a new {@link Tuple}. - */ - constructor(first: any, second: any) - /** - * Creates a new {@link Tuple} with the desired {@code first} and - * {@code second} objects. - */ - // @ts-ignore - public static of(first: any, second: any): org.spongepowered.api.util.Tuple; - /** - * Gets the first object, otherwise known as "key". - */ - // @ts-ignore - public getFirst(): any; - /** - * Gets the second object, otherwise known as "value". - */ - // @ts-ignore - public getSecond(): any; - // @ts-ignore - public toString(): string; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(obj: any): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.TypeTokens.ts b/packages/sponge/src/typings/org.spongepowered.api.util.TypeTokens.ts deleted file mode 100644 index 1a64951b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.TypeTokens.ts +++ /dev/null @@ -1,385 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - class TypeTokens { - // @ts-ignore - public static ART_TOKEN: any; - // @ts-ignore - public static ART_VALUE_TOKEN: any; - // @ts-ignore - public static AXIS_TOKEN: any; - // @ts-ignore - public static AXIS_VALUE_TOKEN: any; - // @ts-ignore - public static BLOCK_TOKEN: any; - // @ts-ignore - public static BLOCK_VALUE_TOKEN: any; - // @ts-ignore - public static BOOLEAN_TOKEN: any; - // @ts-ignore - public static BOOLEAN_VALUE_TOKEN: any; - // @ts-ignore - public static BOUNDED_DOUBLE_VALUE_TOKEN: any; - // @ts-ignore - public static BOUNDED_INTEGER_VALUE_TOKEN: any; - // @ts-ignore - public static BOUNDED_SHORT_VALUE_TOKEN: any; - // @ts-ignore - public static BRICK_TOKEN: any; - // @ts-ignore - public static BRICK_VALUE_TOKEN: any; - // @ts-ignore - public static CAREER_TOKEN: any; - // @ts-ignore - public static CAREER_VALUE_TOKEN: any; - // @ts-ignore - public static COAL_TOKEN: any; - // @ts-ignore - public static COAL_VALUE_TOKEN: any; - // @ts-ignore - public static COLOR_TOKEN: any; - // @ts-ignore - public static COLOR_VALUE_TOKEN: any; - // @ts-ignore - public static COMPARATOR_TOKEN: any; - // @ts-ignore - public static COMPARATOR_VALUE_TOKEN: any; - // @ts-ignore - public static COOKED_FISH_TOKEN: any; - // @ts-ignore - public static COOKED_FISH_VALUE_TOKEN: any; - // @ts-ignore - public static DIRECTION_TOKEN: any; - // @ts-ignore - public static DIRECTION_VALUE_TOKEN: any; - // @ts-ignore - public static DIRT_TOKEN: any; - // @ts-ignore - public static DIRT_VALUE_TOKEN: any; - // @ts-ignore - public static DISGUISED_BLOCK_TOKEN: any; - // @ts-ignore - public static DISGUISED_BLOCK_VALUE_TOKEN: any; - // @ts-ignore - public static DOUBLE_PLANT_TOKEN: any; - // @ts-ignore - public static DOUBLE_PLANT_VALUE_TOKEN: any; - // @ts-ignore - public static DOUBLE_TOKEN: any; - // @ts-ignore - public static DOUBLE_VALUE_TOKEN: any; - // @ts-ignore - public static DYE_COLOR_TOKEN: any; - // @ts-ignore - public static DYE_COLOR_VALUE_TOKEN: any; - // @ts-ignore - public static ENTITY_TOKEN: any; - // @ts-ignore - public static ENTITY_TYPE_DOUBLE_MAP_TOKEN: any; - // @ts-ignore - public static ENTITY_TYPE_DOUBLE_MAP_VALUE_TOKEN: any; - // @ts-ignore - public static ENTITY_TYPE_TOKEN: any; - // @ts-ignore - public static ENTITY_TYPE_VALUE_TOKEN: any; - // @ts-ignore - public static ENTITY_VALUE_TOKEN: any; - // @ts-ignore - public static FISH_TOKEN: any; - // @ts-ignore - public static FISH_VALUE_TOKEN: any; - // @ts-ignore - public static FLOAT_TOKEN: any; - // @ts-ignore - public static FLOAT_VALUE_TOKEN: any; - // @ts-ignore - public static FLUID_TOKEN: any; - // @ts-ignore - public static FLUID_VALUE_TOKEN: any; - // @ts-ignore - public static GAME_MODE_TOKEN: any; - // @ts-ignore - public static GAME_MODE_VALUE_TOKEN: any; - // @ts-ignore - public static GAME_PROFILE_TOKEN: any; - // @ts-ignore - public static GAME_PROFILE_VALUE_TOKEN: any; - // @ts-ignore - public static GOLDEN_APPLE_TOKEN: any; - // @ts-ignore - public static GOLDEN_APPLE_VALUE_TOKEN: any; - // @ts-ignore - public static HAND_PREFERENCE_TYPE_TOKEN: any; - // @ts-ignore - public static HAND_PREFERENCE_VALUE_TOKEN: any; - // @ts-ignore - public static HINGE_TOKEN: any; - // @ts-ignore - public static HINGE_VALUE_TOKEN: any; - // @ts-ignore - public static HORSE_COLOR_TOKEN: any; - // @ts-ignore - public static HORSE_COLOR_VALUE_TOKEN: any; - // @ts-ignore - public static HORSE_STYLE_TOKEN: any; - // @ts-ignore - public static HORSE_STYLE_VALUE_TOKEN: any; - // @ts-ignore - public static INSTANT_TOKEN: any; - // @ts-ignore - public static INSTANT_VALUE_TOKEN: any; - // @ts-ignore - public static INTEGER_TOKEN: any; - // @ts-ignore - public static INTEGER_VALUE_TOKEN: any; - // @ts-ignore - public static ITEM_SNAPSHOT_TOKEN: any; - // @ts-ignore - public static ITEM_SNAPSHOT_VALUE_TOKEN: any; - // @ts-ignore - public static LAST_ATTACKER_TOKEN: any; - // @ts-ignore - public static LAST_ATTACKER_VALUE_TOKEN: any; - // @ts-ignore - public static LIST_DATA_SERIALIZEABLE_TOKEN: any; - // @ts-ignore - public static LIST_DYE_COLOR_TOKEN: any; - // @ts-ignore - public static LIST_DYE_COLOR_VALUE_TOKEN: any; - // @ts-ignore - public static LIST_ENCHANTMENT_TOKEN: any; - // @ts-ignore - public static LIST_ENCHANTMENT_VALUE_TOKEN: any; - // @ts-ignore - public static LIST_FIREWORK_TOKEN: any; - // @ts-ignore - public static LIST_PATTERN_TOKEN: any; - // @ts-ignore - public static LIST_PATTERN_VALUE_TOKEN: any; - // @ts-ignore - public static LIST_POTION_TOKEN: any; - // @ts-ignore - public static LIST_POTION_VALUE_TOKEN: any; - // @ts-ignore - public static LIST_STRING_VALUE_TOKEN: any; - // @ts-ignore - public static LIST_TEXT_TOKEN: any; - // @ts-ignore - public static LIST_TEXT_VALUE_TOKEN: any; - // @ts-ignore - public static LIST_TRADE_OFFER_TOKEN: any; - // @ts-ignore - public static LIST_VALUE_FIREWORK_TOKEN: any; - // @ts-ignore - public static LIST_VALUE_TRADE_OFFER_TOKEN: any; - // @ts-ignore - public static LLAMA_VARIANT_TOKEN: any; - // @ts-ignore - public static LLAMA_VARIANT_VALUE_TOKEN: any; - // @ts-ignore - public static LOG_AXIS_TOKEN: any; - // @ts-ignore - public static LOG_AXIS_VALUE_TOKEN: any; - // @ts-ignore - public static LONG_TOKEN: any; - // @ts-ignore - public static LONG_VALUE_TOKEN: any; - // @ts-ignore - public static MAP_BODY_VECTOR3D_TOKEN: any; - // @ts-ignore - public static MAP_BODY_VECTOR3D_VALUE_TOKEN: any; - // @ts-ignore - public static MAP_DIRECTION_FLUID_TOKEN: any; - // @ts-ignore - public static MAP_DIRECTION_FLUID_VALUE_TOKEN: any; - // @ts-ignore - public static MAP_UUID_VECTOR3D_TOKEN: any; - // @ts-ignore - public static MAP_UUID_VECTOR3D_VALUE_TOKEN: any; - // @ts-ignore - public static MUSHROOM_TOKEN: any; - // @ts-ignore - public static MUSHROOM_VALUE_TOKEN: any; - // @ts-ignore - public static NOTE_TOKEN: any; - // @ts-ignore - public static NOTE_VALUE_TOKEN: any; - // @ts-ignore - public static OCELOT_TOKEN: any; - // @ts-ignore - public static OCELOT_VALUE_TOKEN: any; - // @ts-ignore - public static OPTIONAL_DOUBLE_TOKEN: any; - // @ts-ignore - public static OPTIONAL_DOUBLE_VALUE_TOKEN: any; - // @ts-ignore - public static OPTIONAL_ENTITY_SNAPSHOT_TOKEN: any; - // @ts-ignore - public static OPTIONAL_ENTITY_SNAPSHOT_VALUE_TOKEN: any; - // @ts-ignore - public static OPTIONAL_ENTITY_VALUE_TOKEN: any; - // @ts-ignore - public static OPTIONAL_POTION_TOKEN: any; - // @ts-ignore - public static OPTIONAL_POTION_VALUE_TOKEN: any; - // @ts-ignore - public static OPTIONAL_PROFESSION_TOKEN: any; - // @ts-ignore - public static OPTIONAL_PROFESSION_VALUE_TOKEN: any; - // @ts-ignore - public static OPTIONAL_TEXT_TOKEN: any; - // @ts-ignore - public static OPTIONAL_TEXT_VALUE_TOKEN: any; - // @ts-ignore - public static OPTIONAL_UUID_TOKEN: any; - // @ts-ignore - public static OPTIONAL_UUID_VALUE_TOKEN: any; - // @ts-ignore - public static PARROT_VARIANT_TOKEN: any; - // @ts-ignore - public static PARROT_VARIANT_VALUE_TOKEN: any; - // @ts-ignore - public static PARTICLE_TYPE_TOKEN: any; - // @ts-ignore - public static PARTICLE_TYPE_VALUE_TOKEN: any; - // @ts-ignore - public static PATTERN_LIST_VALUE_TOKEN: any; - // @ts-ignore - public static PICKUP_TOKEN: any; - // @ts-ignore - public static PICKUP_VALUE_TOKEN: any; - // @ts-ignore - public static PISTON_TOKEN: any; - // @ts-ignore - public static PISTON_VALUE_TOKEN: any; - // @ts-ignore - public static PLANT_TOKEN: any; - // @ts-ignore - public static PLANT_VALUE_TOKEN: any; - // @ts-ignore - public static PORTION_TOKEN: any; - // @ts-ignore - public static PORTION_VALUE_TOKEN: any; - // @ts-ignore - public static POTION_TOKEN: any; - // @ts-ignore - public static POTION_VALUE_TOKEN: any; - // @ts-ignore - public static PRISMARINE_TOKEN: any; - // @ts-ignore - public static PRISMARINE_VALUE_TOKEN: any; - // @ts-ignore - public static QUARTZ_TOKEN: any; - // @ts-ignore - public static QUARTZ_VALUE_TOKEN: any; - // @ts-ignore - public static RABBIT_TOKEN: any; - // @ts-ignore - public static RABBIT_VALUE_TOKEN: any; - // @ts-ignore - public static RAIL_TOKEN: any; - // @ts-ignore - public static RAIL_VALUE_TOKEN: any; - // @ts-ignore - public static ROTATION_TOKEN: any; - // @ts-ignore - public static ROTATION_VALUE_TOKEN: any; - // @ts-ignore - public static SAND_STONE_TOKEN: any; - // @ts-ignore - public static SAND_STONE_VALUE_TOKEN: any; - // @ts-ignore - public static SAND_TOKEN: any; - // @ts-ignore - public static SAND_VALUE_TOKEN: any; - // @ts-ignore - public static SET_BLOCK_TOKEN: any; - // @ts-ignore - public static SET_BLOCK_VALUE_TOKEN: any; - // @ts-ignore - public static SET_DIRECTION_TOKEN: any; - // @ts-ignore - public static SET_DIRECTION_VALUE_TOKEN: any; - // @ts-ignore - public static SET_EQUIPMENT_TYPE_TOKEN: any; - // @ts-ignore - public static SHORT_TOKEN: any; - // @ts-ignore - public static SHRUB_TOKEN: any; - // @ts-ignore - public static SHRUB_VALUE_TOKEN: any; - // @ts-ignore - public static SKULL_TOKEN: any; - // @ts-ignore - public static SKULL_VALUE_TOKEN: any; - // @ts-ignore - public static SLAB_TOKEN: any; - // @ts-ignore - public static SLAB_VALUE_TOKEN: any; - // @ts-ignore - public static STAIR_TOKEN: any; - // @ts-ignore - public static STAIR_VALUE_TOKEN: any; - // @ts-ignore - public static STATISTIC_MAP_TOKEN: any; - // @ts-ignore - public static STATISTIC_MAP_VALUE_TOKEN: any; - // @ts-ignore - public static STONE_TOKEN: any; - // @ts-ignore - public static STONE_VALUE_TOKEN: any; - // @ts-ignore - public static STRING_TOKEN: any; - // @ts-ignore - public static STRING_VALUE_TOKEN: any; - // @ts-ignore - public static STRUCTURE_MODE_TOKEN: any; - // @ts-ignore - public static STRUCTURE_MODE_VALUE_TOKEN: any; - // @ts-ignore - public static TEXT_TOKEN: any; - // @ts-ignore - public static TEXT_VALUE_TOKEN: any; - // @ts-ignore - public static TREE_TOKEN: any; - // @ts-ignore - public static TREE_VALUE_TOKEN: any; - // @ts-ignore - public static UUID_TOKEN: any; - // @ts-ignore - public static UUID_VALUE_TOKEN: any; - // @ts-ignore - public static VECTOR_3D_TOKEN: any; - // @ts-ignore - public static VECTOR_3D_VALUE_TOKEN: any; - // @ts-ignore - public static VECTOR_3I_TOKEN: any; - // @ts-ignore - public static VECTOR_3I_VALUE_TOKEN: any; - // @ts-ignore - public static WALL_TOKEN: any; - // @ts-ignore - public static WALL_VALUE_TOKEN: any; - // @ts-ignore - public static WEIGHTED_ENTITY_ARCHETYPE_COLLECTION_VALUE_TOKEN: any; - // @ts-ignore - public static WEIGHTED_ENTITY_ARCHETYPE_TABLE_TOKEN: any; - // @ts-ignore - public static WEIGHTED_ENTITY_ARCHETYPE_TOKEN: any; - // @ts-ignore - public static WEIGHTED_ENTITY_ARCHETYPE_VALUE_TOKEN: any; - // @ts-ignore - public static WIRE_ATTACHMENT_MAP_TOKEN: any; - // @ts-ignore - public static WIRE_ATTACHMENT_MAP_VALUE_TOKEN: any; - // @ts-ignore - public static WIRE_ATTACHMENT_TYPE_TOKEN: any; - // @ts-ignore - public static WIRE_ATTACHMENT_TYPE_VALUE_TOKEN: any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.Updater.ts b/packages/sponge/src/typings/org.spongepowered.api.util.Updater.ts deleted file mode 100644 index 5b1f3463..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.Updater.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - // @ts-ignore - interface Updater { - /** - * Gets the numerical {@code version} that this {@link Updater} - * can accept. - */ - // @ts-ignore - getInputVersion(): number; - /** - * The outputted {@code version} that this {@link Updater} will - * output to. Note that it is possible multiple updaters are able to - * cross between different versions. - */ - // @ts-ignore - getOutputVersion(): number; - /** - * Attempts to update the content of {@code C} as long as the content - * version itself has been abided by. - */ - // @ts-ignore - update(content: any): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.CatalogedBy.ts b/packages/sponge/src/typings/org.spongepowered.api.util.annotation.CatalogedBy.ts deleted file mode 100644 index 9a7c2fc8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.CatalogedBy.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace annotation { - // @ts-ignore - interface CatalogedBy { - /** - * Gets the class that is the catalog for this {@link CatalogedBy} type. - * Since the type class annotated with {@link CatalogedBy} knows what the - * catalog class is, we can safely rely on the value to get all known - * instances of the {@link CatalogedBy}. - *

This is similar to knowing at runtime that all available - * "EntityType"(s) are cataloged in the "EntityTypes" class.

- */ - // @ts-ignore - value(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.NonnullByDefault.ts b/packages/sponge/src/typings/org.spongepowered.api.util.annotation.NonnullByDefault.ts deleted file mode 100644 index 20bd3094..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.NonnullByDefault.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace annotation { - // @ts-ignore - interface NonnullByDefault { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.AbsoluteSortPosition.ts b/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.AbsoluteSortPosition.ts deleted file mode 100644 index d5abf107..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.AbsoluteSortPosition.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace annotation { - namespace eventgen { - // @ts-ignore - interface AbsoluteSortPosition { - /** - * Gets the absolute position for the annotated property. - */ - // @ts-ignore - value(): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.FactoryMethod.ts b/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.FactoryMethod.ts deleted file mode 100644 index 20188986..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.FactoryMethod.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace annotation { - namespace eventgen { - // @ts-ignore - interface FactoryMethod { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.GenerateFactoryMethod.ts b/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.GenerateFactoryMethod.ts deleted file mode 100644 index c2a3eb2a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.GenerateFactoryMethod.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace annotation { - namespace eventgen { - // @ts-ignore - interface GenerateFactoryMethod { - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.ImplementedBy.ts b/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.ImplementedBy.ts deleted file mode 100644 index f8e1048e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.ImplementedBy.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace annotation { - namespace eventgen { - // @ts-ignore - interface ImplementedBy { - /** - * Gets the class which serves as the base class which the generated class - * for this event interface will extend. - */ - // @ts-ignore - value(): any; - /** - * Gets the priority for this annotation, relative to other annotations in - * the same hierarchy of the event interface. - *

The annotation with the highest priority will be used.

- */ - // @ts-ignore - priority(): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.PropertySettings.ts b/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.PropertySettings.ts deleted file mode 100644 index 04f3d1a0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.PropertySettings.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace annotation { - namespace eventgen { - // @ts-ignore - interface PropertySettings { - /** - * Indicates whether the annotated property is required to be passed in - * to the generated constructor. - */ - // @ts-ignore - requiredParameter(): boolean; - /** - * Indicates whether the annotated property should have methods generated - * for it. - *

If this value is set to true, - * {@link #requiredParameter()} can only be set to false if - * the annotated property is a primitive.

- */ - // @ts-ignore - generateMethods(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.TransformResult.ts b/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.TransformResult.ts deleted file mode 100644 index 75a94ae2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.TransformResult.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace annotation { - namespace eventgen { - // @ts-ignore - interface TransformResult { - /** - * Gets the name used to match this annotation to a {@link TransformWith} - * annotation. - *

Changing this is only necessary when multiple {@link TransformWith} - * annotations are present in the annotated method's return type's class. - *

- */ - // @ts-ignore - value(): string; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.TransformWith.ts b/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.TransformWith.ts deleted file mode 100644 index 4994b278..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.TransformWith.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace annotation { - namespace eventgen { - // @ts-ignore - interface TransformWith { - /** - * Gets the name used to match this annotation to a {@link TransformResult} - * annotation. - *

Changing this is only necessary when this annotation is present on - * multiple methods in a class, or its superinterfaces/superclass.

- */ - // @ts-ignore - value(): string; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.UseField.ts b/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.UseField.ts deleted file mode 100644 index 47f5c827..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.annotation.eventgen.UseField.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace annotation { - namespace eventgen { - // @ts-ignore - interface UseField { - /** - * Indicates whether to use the annotated field directly in the - * generated '{@link #toString()}' method, rather than calling the - * normal accessor method. - *

This should only be used when there are special restrictions - * on calling the accessor (for example, - * {@link AffectEntityEvent#getEntitySnapshots()}).

- */ - // @ts-ignore - overrideToString(): boolean; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.Builder.ts deleted file mode 100644 index 43b4075b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.Builder.ts +++ /dev/null @@ -1,66 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace ban { - namespace Ban { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the profile to be banned. - *

This can only be done if the {@link BanType} has been set to {@link BanTypes#PROFILE}.

- */ - // @ts-ignore - profile(profile: org.spongepowered.api.profile.GameProfile): org.spongepowered.api.util.ban.Ban.Builder; - /** - * Sets the IP address to be banned. - *

This can only be done if the {@link BanType} has been set to {@link BanTypes#IP}.

- */ - // @ts-ignore - address(address: any): org.spongepowered.api.util.ban.Ban.Builder; - /** - * Sets the type of the ban. - */ - // @ts-ignore - type(type: org.spongepowered.api.util.ban.BanType): org.spongepowered.api.util.ban.Ban.Builder; - /** - * Sets the reason for the ban. - *

If the specified reason is null, or not provided, - * then the reason will be be available on the created ban.

- */ - // @ts-ignore - reason(reason: org.spongepowered.api.text.Text): org.spongepowered.api.util.ban.Ban.Builder; - /** - * Sets the date that the ban starts. - */ - // @ts-ignore - startDate(instant: any): org.spongepowered.api.util.ban.Ban.Builder; - /** - * Sets the expiration date of the ban, or removes it. - */ - // @ts-ignore - expirationDate(instant: any): org.spongepowered.api.util.ban.Ban.Builder; - /** - * Sets the source of the ban, or removes it if {@code null} is passed - * in. - */ - // @ts-ignore - source(source: org.spongepowered.api.command.CommandSource): org.spongepowered.api.util.ban.Ban.Builder; - /** - * Sets the source of the ban as a {@link Text}, or removes it if - * {@code null} is passed in. - */ - // @ts-ignore - source(source: org.spongepowered.api.text.Text): org.spongepowered.api.util.ban.Ban.Builder; - /** - * Creates a new Ban from this builder. - */ - // @ts-ignore - build(): org.spongepowered.api.util.ban.Ban; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.Ip.ts b/packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.Ip.ts deleted file mode 100644 index 1ea92de9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.Ip.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace ban { - namespace Ban { - // @ts-ignore - interface Ip extends org.spongepowered.api.util.ban.Ban { - /** - * Gets the address this ban applies to. - */ - // @ts-ignore - getAddress(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.Profile.ts b/packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.Profile.ts deleted file mode 100644 index 90d70343..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.Profile.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace ban { - namespace Ban { - // @ts-ignore - interface Profile extends org.spongepowered.api.util.ban.Ban { - /** - * Gets the {@link GameProfile} this ban applies to. - */ - // @ts-ignore - getProfile(): org.spongepowered.api.profile.GameProfile; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.ts b/packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.ts deleted file mode 100644 index 3959420e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.ban.Ban.ts +++ /dev/null @@ -1,75 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace ban { - // @ts-ignore - interface Ban { - /** - * Creates a new Builder. - */ - // @ts-ignore - builder(): org.spongepowered.api.util.ban.Ban.Builder; - /** - * Creates an indefinite ban on a profile. - */ - // @ts-ignore - of(profile: org.spongepowered.api.profile.GameProfile): org.spongepowered.api.util.ban.Ban; - /** - * Creates an indefinite ban with a reason on a profile. - */ - // @ts-ignore - of(profile: org.spongepowered.api.profile.GameProfile, reason: org.spongepowered.api.text.Text): org.spongepowered.api.util.ban.Ban; - /** - * Gets the type of this ban. - */ - // @ts-ignore - getType(): org.spongepowered.api.util.ban.BanType; - /** - * Gets the reason for the ban, if available. - */ - // @ts-ignore - getReason(): any; - /** - * Gets the creation date of the ban. - *

Note that this {@link Instant} has no effect on whether or not a ban is - * active. Any ban for which {@link BanService#hasBan(Ban)} returns - * true will be used (when checking if a player can join, - * for example), regardless of its creation date.

- */ - // @ts-ignore - getCreationDate(): any; - /** - * Gets the source that created this ban, if available. - *

Depending on the implementation, the returned {@link Text} - * may represent a {@link CommandSource}. {@link #getBanCommandSource()} can be - * used to attempt to convert the source to a {@link CommandSource}.

- */ - // @ts-ignore - getBanSource(): any; - /** - * Gets the source that created this ban in {@link CommandSource} form, - * if available. - *

Depending on the implementation, it may not be possible to determine - * the {@link CommandSource} responsible for this ban. Because of this, - * it is recommended to check {@link #getBanSource()} if this method - * returns {@link Optional#empty()}.

- */ - // @ts-ignore - getBanCommandSource(): any; - /** - * Gets the expiration date of this ban, if available. - */ - // @ts-ignore - getExpirationDate(): any; - /** - * Gets whether this ban is indefinitely long, e.g. has no expiration date. - */ - // @ts-ignore - isIndefinite(): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.ban.BanType.ts b/packages/sponge/src/typings/org.spongepowered.api.util.ban.BanType.ts deleted file mode 100644 index 060ea49f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.ban.BanType.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace ban { - // @ts-ignore - interface BanType extends org.spongepowered.api.CatalogType { - /** - * Gets the {@link Ban} class that this type represents. - */ - // @ts-ignore - getBanClass(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.ban.BanTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.util.ban.BanTypes.ts deleted file mode 100644 index 04a57780..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.ban.BanTypes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace ban { - // @ts-ignore - class BanTypes { - // @ts-ignore - public static IP: org.spongepowered.api.util.ban.BanType; - // @ts-ignore - public static PROFILE: org.spongepowered.api.util.ban.BanType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder.ts b/packages/sponge/src/typings/org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder.ts deleted file mode 100644 index b1f9b02b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder.ts +++ /dev/null @@ -1,95 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace blockray { - namespace BlockRay { - // @ts-ignore - class BlockRayBuilder { - /** - * Adds the filter to the block ray. - * The block ray will skip over blocks that do not pass this predicate. - * This is optional. - * Multiple filters will be ANDed together. - */ - // @ts-ignore - public skipFilter(skipFilter: any): org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder; - /** - * Adds filters to the block ray. - * The block ray will skip over blocks that do not pass this predicate. - * This is optional. - * Multiple filters will be ANDed together. - */ - // @ts-ignore - public skipFilter(skipFilters: any): org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder; - /** - * Adds the filter to the block ray. - * The block ray will end if a block does not pass this predicate. - * This is optional. - * Multiple filters will be ANDed together. - */ - // @ts-ignore - public stopFilter(stopFilter: any): org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder; - /** - * Adds filters to the block ray. - * The block ray will end if a block does not pass this predicate. - * This is optional. - * Multiple filters will be ANDed together. - */ - // @ts-ignore - public stopFilter(stopFilters: any): org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder; - /** - * Sets the direction and ending location. This or setting the direction - * is required and can only be done once. - */ - // @ts-ignore - public to(end: any /*Vector3d*/): org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder; - /** - * Sets the direction. This or setting the ending location is required - * and can only be done once. - */ - // @ts-ignore - public direction(direction: any /*Vector3d*/): org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder; - /** - * Sets the maximum distance before stopping. - * This is a safeguard to prevent infinite iteration. - * Default value is 1000. Use a negative value to disable this. - */ - // @ts-ignore - public distanceLimit(distanceLimit: number): org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder; - /** - * Sets whether or not to perform narrow phase intersections. The - * narrow phase performs intersections with the block selection boxes - * if they are smaller than a voxel. This is necessary to obtain - * correct intersections with small blocks like: signs, buttons, - * fences, etc. This is enabled by default. - */ - // @ts-ignore - public narrowPhase(enable: boolean): org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder; - /** - * Gets the starting position of the block ray. Given here since some - * filters might require it. - */ - // @ts-ignore - public position(): any /*Vector3d*/; - /** - * Returns a block ray build from the settings. An ending location or - * direction needs to have been set. - */ - // @ts-ignore - public build(): org.spongepowered.api.util.blockray.BlockRay; - // @ts-ignore - public iterator(): any; - /** - * Iterates the built block ray until the end - * and returns the last hit, if any. - */ - // @ts-ignore - public end(): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.blockray.BlockRay.ts b/packages/sponge/src/typings/org.spongepowered.api.util.blockray.BlockRay.ts deleted file mode 100644 index 861d96de..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.blockray.BlockRay.ts +++ /dev/null @@ -1,72 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace blockray { - // @ts-ignore - class BlockRay { - /** - * Resets the iterator; it will iterate from the starting location again. - */ - // @ts-ignore - public reset(): void; - // @ts-ignore - public hasNext(): boolean; - // @ts-ignore - public next(): org.spongepowered.api.util.blockray.BlockRayHit; - /** - * Traces the block ray to the end and returns the last block - * accepted by the filter, or none if the extent or block limit was reached. - * This advances the iterator. - */ - // @ts-ignore - public end(): any; - /** - * Initializes a block ray builder with the given starting location. - */ - // @ts-ignore - public static from(start: org.spongepowered.api.world.Location): org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder; - /** - * Initializes a block ray builder with the given starting location. - */ - // @ts-ignore - public static from(extent: org.spongepowered.api.world.extent.Extent, start: any /*Vector3d*/): org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder; - /** - * Initializes a block ray builder for the entity's eye. - * If the eye location isn't defined for the entity, the - * regular location is used. This sets both the starting - * point and direction. - */ - // @ts-ignore - public static from(entity: org.spongepowered.api.entity.Entity): org.spongepowered.api.util.blockray.BlockRay.BlockRayBuilder; - /** - * A filter that accepts all blocks. A {@link BlockRay} combined with no - * other filter than this one could run endlessly. - */ - // @ts-ignore - public static allFilter(): any; - /** - * A block type filter that only permits air as a transparent block. - *

This is provided for convenience, as the default behavior in previous - * systems was to pass through air blocks only until a non-air block was - * hit.

- */ - // @ts-ignore - public static onlyAirFilter(): any; - /** - * A filter that only allows blocks of a certain type. - */ - // @ts-ignore - public static blockTypeFilter(type: org.spongepowered.api.block.BlockType): any; - /** - * Extends a filter by a number of blocks, regardless of what the extended - * filter does. - */ - // @ts-ignore - public static continueAfterFilter(filter: any, numberOfBlocks: number): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.blockray.BlockRayHit.ts b/packages/sponge/src/typings/org.spongepowered.api.util.blockray.BlockRayHit.ts deleted file mode 100644 index d3445859..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.blockray.BlockRayHit.ts +++ /dev/null @@ -1,99 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace blockray { - // @ts-ignore - class BlockRayHit { - /** - * Constructs a new block ray hit from the extent that contains it, the - * coordinates and the face that was entered. - */ - constructor(extent: org.spongepowered.api.world.extent.Extent, x: number, y: number, z: number, direction: any /*Vector3d*/, normal: any /*Vector3d*/) - /** - * Returns the extent that contains the block. - */ - // @ts-ignore - public getExtent(): org.spongepowered.api.world.extent.Extent; - /** - * Returns the x coordinate of the intersection. - */ - // @ts-ignore - public getX(): number; - /** - * Returns the y coordinate of the intersection. - */ - // @ts-ignore - public getY(): number; - /** - * Returns the z coordinate of the intersection. - */ - // @ts-ignore - public getZ(): number; - /** - * Returns the position of the intersection. - */ - // @ts-ignore - public getPosition(): any /*Vector3d*/; - /** - * Returns the x coordinate of the block that was hit. - */ - // @ts-ignore - public getBlockX(): number; - /** - * Returns the y coordinate of the block that was hit. - */ - // @ts-ignore - public getBlockY(): number; - /** - * Returns the z coordinate of the block that was hit. - */ - // @ts-ignore - public getBlockZ(): number; - /** - * Returns the position of the block that was hit. - */ - // @ts-ignore - public getBlockPosition(): any /*Vector3i*/; - /** - * Returns the location of the hit block, not the intersection - * location. - */ - // @ts-ignore - public getLocation(): org.spongepowered.api.world.Location; - /** - * Returns the direction of the ray as a normalized vector. - */ - // @ts-ignore - public getDirection(): any /*Vector3d*/; - /** - * Returns the normal of the entered face, edge or corner. - * Edges and corners use the average of the surrounding faces. - */ - // @ts-ignore - public getNormal(): any /*Vector3d*/; - /** - * Returns all the intersected faces. In most cases, this is only one face, - * but if the ray enters an edge, two faces are returned (the ones - * that form it). Similarly for corners, but three faces. - */ - // @ts-ignore - public getFaces(): org.spongepowered.api.util.Direction[]; - /** - * Calls the mapper function on the extent and position. - */ - // @ts-ignore - public map(mapper: any): any; - /** - * Calls the mapper function on the extent and block position. - */ - // @ts-ignore - public mapBlock(mapper: any): any; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.file.CopyFileVisitor.ts b/packages/sponge/src/typings/org.spongepowered.api.util.file.CopyFileVisitor.ts deleted file mode 100644 index f38d06f1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.file.CopyFileVisitor.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace file { - // @ts-ignore - class CopyFileVisitor { - /** - * Constructs a new {@link CopyFileVisitor} which will copy the visited - * file paths to the specified target directory. - *

Note: The target directory must not exist since the visitor - * will also copy the root directory to the specified location.

- */ - constructor(target: any, options: any) - // @ts-ignore - public preVisitDirectory(dir: any, attrs: any): any; - // @ts-ignore - public visitFile(file: any, attrs: any): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.file.DeleteFileVisitor.ts b/packages/sponge/src/typings/org.spongepowered.api.util.file.DeleteFileVisitor.ts deleted file mode 100644 index b09a3a35..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.file.DeleteFileVisitor.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace file { - // @ts-ignore - class DeleteFileVisitor { - constructor() - // @ts-ignore - public static INSTANCE: org.spongepowered.api.util.file.DeleteFileVisitor; - // @ts-ignore - public visitFile(file: any, attrs: any): any; - // @ts-ignore - public postVisitDirectory(dir: any, exc: any): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.file.ForwardingFileVisitor.ts b/packages/sponge/src/typings/org.spongepowered.api.util.file.ForwardingFileVisitor.ts deleted file mode 100644 index 6cc4c21d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.file.ForwardingFileVisitor.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace file { - // @ts-ignore - abstract class ForwardingFileVisitor { - constructor(visitor: any) - // @ts-ignore - public preVisitDirectory(dir: any, attrs: any): any; - // @ts-ignore - public visitFile(file: any, attrs: any): any; - // @ts-ignore - public visitFileFailed(file: any, exc: any): any; - // @ts-ignore - public postVisitDirectory(dir: any, exc: any): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.generator.GeneratorUtils.LocalClassLoader.ts b/packages/sponge/src/typings/org.spongepowered.api.util.generator.GeneratorUtils.LocalClassLoader.ts deleted file mode 100644 index a231f31e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.generator.GeneratorUtils.LocalClassLoader.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace generator { - namespace GeneratorUtils { - // @ts-ignore - class LocalClassLoader { - /** - * Creates a new {@link LocalClassLoader}. - */ - constructor(parent: any) - /** - * Defines the class by name and bytecode array. - */ - // @ts-ignore - public defineClass(name: string, b: number): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.generator.GeneratorUtils.ts b/packages/sponge/src/typings/org.spongepowered.api.util.generator.GeneratorUtils.ts deleted file mode 100644 index 22726c19..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.generator.GeneratorUtils.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace generator { - // @ts-ignore - class GeneratorUtils { - /** - * Gets a class name with the provided classifier. - */ - // @ts-ignore - public static getClassName(targetPackage: string, clazz: any, classifier: string): string; - /** - * Insert the necessary methods to box a primitive type (if the given type - * is a primitive object). - */ - // @ts-ignore - public static visitBoxingMethod(mv: any /*MethodVisitor*/, type: any /*Type*/): void; - /** - * Insert the necessary methods to unbox a primitive type (if the given type - * is a primitive). - */ - // @ts-ignore - public static visitUnboxingMethod(mv: any /*MethodVisitor*/, type: any /*Type*/): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.generator.dummy.DummyClassGenerator.ts b/packages/sponge/src/typings/org.spongepowered.api.util.generator.dummy.DummyClassGenerator.ts deleted file mode 100644 index 173e2811..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.generator.dummy.DummyClassGenerator.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace generator { - namespace dummy { - // @ts-ignore - class DummyClassGenerator { - constructor() - /** - * Creates a new class prepared to be loaded into the {@link ClassLoader}. - */ - // @ts-ignore - public createClass(type: any, name: string, exceptionType: any): number[]; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.generator.dummy.DummyClassGeneratorProvider.ts b/packages/sponge/src/typings/org.spongepowered.api.util.generator.dummy.DummyClassGeneratorProvider.ts deleted file mode 100644 index 6eee2939..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.generator.dummy.DummyClassGeneratorProvider.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace generator { - namespace dummy { - // @ts-ignore - class DummyClassGeneratorProvider { - /** - * Creates a new dummy class provider. - */ - constructor(targetPackage: string) - /** - * Creates a new class extended based on the provided {@code type} with the - * provided {@code exceptionType} to throw for all methods provided by the - * target class. - */ - // @ts-ignore - public create(type: any, exceptionType: any): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.generator.dummy.DummyObjectProvider.ts b/packages/sponge/src/typings/org.spongepowered.api.util.generator.dummy.DummyObjectProvider.ts deleted file mode 100644 index c097735e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.generator.dummy.DummyObjectProvider.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace generator { - namespace dummy { - // @ts-ignore - class DummyObjectProvider { - constructor() - /** - * Creates a new dummy class implementing the specified interface. - */ - // @ts-ignore - public static createFor(type: any, fieldName: string): any; - /** - * Creates a new dummy class implementing the specified interface. - */ - // @ts-ignore - public static createExtendedFor(type: any, fieldName: string): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.metric.MetricsConfigManager.ts b/packages/sponge/src/typings/org.spongepowered.api.util.metric.MetricsConfigManager.ts deleted file mode 100644 index 622d7e59..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.metric.MetricsConfigManager.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace metric { - // @ts-ignore - interface MetricsConfigManager { - /** - * Gets whether permission for third-party metrics gathering has been - * granted for a specific plugin (or the global permission if the plugin - * has not got a specific permission or lack thereof). - *

The value returned from this should not be stored. As the - * configuration/permission can be updated at any time, it is best to - * check this each time metrics collection is due to occur.

- */ - // @ts-ignore - areMetricsEnabled(container: org.spongepowered.api.plugin.PluginContainer): boolean; - /** - * Gets whether permission for third-party metrics gathering has been - * granted for a specific plugin (or the global permission if the plugin - * has not got a specific permission or lack thereof). - *

The value returned from this should not be stored. As the - * configuration/permission can be updated at any time, it is best to - * check this each time server metric collection is due to occur.

- */ - // @ts-ignore - areMetricsEnabled(plugin: any): boolean; - /** - * Gets the current global state of collection. The collection state determines - * how data collection should be handled. - * Global state determines how an undefined state for a specific plugin should be handled. - * If a plugin has a state specified then it will override the global state. - * {@link Tristate#TRUE} Permits data collection - * {@link Tristate#FALSE} Disallows data collection, this has been explicitly set - * {@link Tristate#UNDEFINED} Disallows data collection, this is set by default - */ - // @ts-ignore - getGlobalCollectionState(): org.spongepowered.api.util.Tristate; - /** - * Gets the current state of collection for the specified plugin. The collection state - * determines how data collection should be handled. - * {@link Tristate#TRUE} Permits data collection - * {@link Tristate#FALSE} Disallows data collection, this has been explicitly set - * {@link Tristate#UNDEFINED} Inherit from {@link MetricsConfigManager#getGlobalCollectionState()}, this is set by default - */ - // @ts-ignore - getCollectionState(container: org.spongepowered.api.plugin.PluginContainer): org.spongepowered.api.util.Tristate; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.rotation.Rotation.ts b/packages/sponge/src/typings/org.spongepowered.api.util.rotation.Rotation.ts deleted file mode 100644 index 610a0301..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.rotation.Rotation.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace rotation { - // @ts-ignore - interface Rotation extends org.spongepowered.api.CatalogType { - /** - * The angle in degrees. - */ - // @ts-ignore - getAngle(): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.rotation.Rotations.ts b/packages/sponge/src/typings/org.spongepowered.api.util.rotation.Rotations.ts deleted file mode 100644 index 63ec0928..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.rotation.Rotations.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace rotation { - // @ts-ignore - class Rotations { - // @ts-ignore - public static BOTTOM: org.spongepowered.api.util.rotation.Rotation; - // @ts-ignore - public static BOTTOM_LEFT: org.spongepowered.api.util.rotation.Rotation; - // @ts-ignore - public static BOTTOM_RIGHT: org.spongepowered.api.util.rotation.Rotation; - // @ts-ignore - public static LEFT: org.spongepowered.api.util.rotation.Rotation; - // @ts-ignore - public static RIGHT: org.spongepowered.api.util.rotation.Rotation; - // @ts-ignore - public static TOP: org.spongepowered.api.util.rotation.Rotation; - // @ts-ignore - public static TOP_LEFT: org.spongepowered.api.util.rotation.Rotation; - // @ts-ignore - public static TOP_RIGHT: org.spongepowered.api.util.rotation.Rotation; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.ChanceTable.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.ChanceTable.ts deleted file mode 100644 index 2d7b142a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.ChanceTable.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - // @ts-ignore - class ChanceTable extends org.spongepowered.api.util.weighted.RandomObjectTable { - /** - * Creates a new {@link ChanceTable} with a default roll count of 1. - */ - constructor() - /** - * Creates a new {@link ChanceTable}. - */ - constructor(rolls: number) - // @ts-ignore - public get(rand: any): any[] /*java.util.List*/; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.EmptyObject.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.EmptyObject.ts deleted file mode 100644 index 2a6c20d1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.EmptyObject.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - // @ts-ignore - class EmptyObject extends org.spongepowered.api.util.weighted.TableEntry implements org.spongepowered.api.data.DataSerializable { - /** - * Creates a new {@link EmptyObject} with the given weight. - */ - constructor(weight: number) - // @ts-ignore - public getContentVersion(): number; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.LootTable.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.LootTable.ts deleted file mode 100644 index d5afe00f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.LootTable.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - // @ts-ignore - class LootTable { - /** - * Creates a new {@link LootTable}. - */ - constructor() - /** - * Adds a table to the pool. - */ - // @ts-ignore - public addTable(table: org.spongepowered.api.util.weighted.RandomObjectTable): void; - /** - * Adds all tables from the given {@link LootTable} to this LootTable's pool. - */ - // @ts-ignore - public addAll(other: org.spongepowered.api.util.weighted.LootTable): void; - /** - * Removes a table from the pool. - */ - // @ts-ignore - public removeTable(table: org.spongepowered.api.util.weighted.RandomObjectTable): boolean; - /** - * Gets all tables in the pool. - */ - // @ts-ignore - public getTables(): any[] /*java.util.List*/; - /** - * Clears all tables from the pool. - */ - // @ts-ignore - public clearPool(): void; - /** - * Gets a List of objects as retrieved from all pools. - */ - // @ts-ignore - public get(rand: any): any[] /*java.util.List*/; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.NestedTableEntry.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.NestedTableEntry.ts deleted file mode 100644 index 7eec71bb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.NestedTableEntry.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - // @ts-ignore - class NestedTableEntry extends org.spongepowered.api.util.weighted.TableEntry { - /** - * Creates a new {@link NestedTableEntry} with the provided - * {@code weight} and {@link RandomObjectTable table}. - */ - constructor(weight: number, table: org.spongepowered.api.util.weighted.RandomObjectTable) - /** - * Retrieves entries from the nested table. - */ - // @ts-ignore - public get(rand: any): any[] /*java.util.List*/; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.RandomObjectTable.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.RandomObjectTable.ts deleted file mode 100644 index 55e3be6d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.RandomObjectTable.ts +++ /dev/null @@ -1,100 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - // @ts-ignore - abstract class RandomObjectTable { - /** - * Creates a new {@link RandomObjectTable} with the provided number of rolls. - */ - constructor(rolls: number) - /** - * Creates a new {@link RandomObjectTable} with the provided number of rolls. - */ - constructor(rolls: org.spongepowered.api.util.weighted.VariableAmount) - /** - * Gets the number of times this table will roll while retrieving items. For - * each roll a complete pass through of the table will occur. - */ - // @ts-ignore - public getRolls(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of times this table will roll while retrieving items. - */ - // @ts-ignore - public setRolls(rolls: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of times this table will roll while retrieving items. - */ - // @ts-ignore - public setRolls(rolls: number): void; - // @ts-ignore - public add(entry: org.spongepowered.api.util.weighted.TableEntry): boolean; - /** - * Adds the given object to the table with the given weight. - */ - // @ts-ignore - public add(object: any, weight: number): boolean; - // @ts-ignore - public addAll(c: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public contains(o: any): boolean; - /** - * Gets if this table contains the given object, the object may either be a - * {@link TableEntry} or the object contained within. - */ - // @ts-ignore - public containsObject(obj: any): boolean; - // @ts-ignore - public containsAll(c: any[] /*java.util.Collection*/): boolean; - /** - * Gets if this table contains all of the given objects, the objects may - * either be {@link TableEntry}s or the objects contained within the - * entries. - */ - // @ts-ignore - public containsAllObjects(c: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public isEmpty(): boolean; - // @ts-ignore - public remove(entry: any): boolean; - /** - * Removes the first instance of an entry in this table which is a - * {@link WeightedObject} entry and contains the given object. - */ - // @ts-ignore - public removeObject(object: any): boolean; - // @ts-ignore - public removeAll(c: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public retainAll(c: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public clear(): void; - // @ts-ignore - public size(): number; - /** - * Performs a number of rolls according to the number of rolls defined by - * {@link #getRolls()} and returns items from the table for each roll. - */ - // @ts-ignore - public abstract get(rand: any): any[] /*java.util.List*/; - /** - * Gets the entries in the table. Note that the specific sub class of this - * abstract table will determine the context that the entry weights should - * be interpreted in (either weights or chances). - */ - // @ts-ignore - public getEntries(): any[] /*java.util.List*/; - // @ts-ignore - public iterator(): any; - // @ts-ignore - public toArray(): any; - // @ts-ignore - public toArray(a: any): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.SeededVariableAmount.WrappedVariableAmount.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.SeededVariableAmount.WrappedVariableAmount.ts deleted file mode 100644 index 8a2b3eeb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.SeededVariableAmount.WrappedVariableAmount.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - namespace SeededVariableAmount { - // @ts-ignore - class WrappedVariableAmount implements org.spongepowered.api.util.weighted.SeededVariableAmount { - /** - * Creates a new WrappedVariableAmount wrapping the given - * {@link VariableAmount}. - */ - constructor(inner: org.spongepowered.api.util.weighted.VariableAmount) - // @ts-ignore - public getAmount(rand: any, seed: any): number; - // @ts-ignore - public toString(): string; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public hashCode(): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.SeededVariableAmount.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.SeededVariableAmount.ts deleted file mode 100644 index ae7ba965..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.SeededVariableAmount.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - // @ts-ignore - interface SeededVariableAmount { - /** - * Creates a new 'fixed' variable amount, calls to {@link #getAmount} will - * always return the fixed value. - */ - // @ts-ignore - fixed(value: number): org.spongepowered.api.util.weighted.SeededVariableAmount; - /** - * Creates a new variable amount wrapping the given {@link VariableAmount}, - * calls to {@link #getAmount} will always return wrapped amounts value. - */ - // @ts-ignore - wrapped(value: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.util.weighted.SeededVariableAmount; - /** - * Gets an instance of the variable amount depending on the given random - * object and the seed object. - */ - // @ts-ignore - getAmount(rand: any, seed: any): number; - /** - * Gets the amount as if from {@link #getAmount(Random, Object)} but floored - * to the nearest integer equivalent. - */ - // @ts-ignore - getFlooredAmount(rand: any, seed: any): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.TableEntry.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.TableEntry.ts deleted file mode 100644 index 6d58afd4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.TableEntry.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - // @ts-ignore - abstract class TableEntry { - /** - * Creates a new {@link TableEntry} with the desired {@code weight}. - */ - constructor(weight: number) - /** - * Gets the weight of this entry. - */ - // @ts-ignore - public getWeight(): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.UnmodifiableWeightedTable.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.UnmodifiableWeightedTable.ts deleted file mode 100644 index 794ab6e8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.UnmodifiableWeightedTable.ts +++ /dev/null @@ -1,88 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - // @ts-ignore - class UnmodifiableWeightedTable extends org.spongepowered.api.util.weighted.WeightedTable { - /** - * Creates a new {@link UnmodifiableWeightedTable} with the provided - * {@link WeightedTable}. - */ - constructor(table: org.spongepowered.api.util.weighted.WeightedTable) - /** - * Creates a new {@link UnmodifiableWeightedTable} with the provided - * {@link WeightedTable} and {@code rolls}. - */ - constructor(table: org.spongepowered.api.util.weighted.WeightedTable, rolls: number) - /** - * Creates a new {@link UnmodifiableWeightedTable} with the provided - * {@link WeightedTable} and {@link VariableAmount rolls}. - */ - constructor(table: org.spongepowered.api.util.weighted.WeightedTable, rolls: org.spongepowered.api.util.weighted.VariableAmount) - // @ts-ignore - public add(entry: org.spongepowered.api.util.weighted.TableEntry): boolean; - // @ts-ignore - public add(object: any, weight: number): boolean; - // @ts-ignore - public addAll(c: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public setRolls(rolls: org.spongepowered.api.util.weighted.VariableAmount): void; - // @ts-ignore - public setRolls(rolls: number): void; - // @ts-ignore - public remove(entry: any): boolean; - // @ts-ignore - public removeObject(entry: any): boolean; - // @ts-ignore - public removeAll(c: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public removeIf(filter: any): boolean; - // @ts-ignore - public retainAll(c: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public clear(): void; - // @ts-ignore - public iterator(): any; - // @ts-ignore - public contains(o: any): boolean; - // @ts-ignore - public getRolls(): org.spongepowered.api.util.weighted.VariableAmount; - // @ts-ignore - public get(rand: any): any[] /*java.util.List*/; - // @ts-ignore - public containsObject(obj: any): boolean; - // @ts-ignore - public containsAll(c: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public containsAllObjects(c: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public isEmpty(): boolean; - // @ts-ignore - public size(): number; - // @ts-ignore - public getEntries(): any[] /*java.util.List*/; - // @ts-ignore - public toArray(): any; - // @ts-ignore - public toArray(a: any): any; - // @ts-ignore - public spliterator(): any; - // @ts-ignore - public stream(): any; - // @ts-ignore - public parallelStream(): any; - // @ts-ignore - public forEach(action: any): void; - // @ts-ignore - public toString(): string; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(o: any): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.BaseAndAddition.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.BaseAndAddition.ts deleted file mode 100644 index 90d87071..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.BaseAndAddition.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - namespace VariableAmount { - // @ts-ignore - class BaseAndAddition implements org.spongepowered.api.util.weighted.VariableAmount { - // @ts-ignore - public getAmount(rand: any): number; - // @ts-ignore - public toString(): string; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public getContentVersion(): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.BaseAndVariance.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.BaseAndVariance.ts deleted file mode 100644 index 98bd345e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.BaseAndVariance.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - namespace VariableAmount { - // @ts-ignore - class BaseAndVariance implements org.spongepowered.api.util.weighted.VariableAmount { - // @ts-ignore - public getAmount(rand: any): number; - // @ts-ignore - public toString(): string; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public getContentVersion(): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.Fixed.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.Fixed.ts deleted file mode 100644 index d75e7710..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.Fixed.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - namespace VariableAmount { - // @ts-ignore - class Fixed implements org.spongepowered.api.util.weighted.VariableAmount { - // @ts-ignore - public getAmount(rand: any): number; - // @ts-ignore - public toString(): string; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public getContentVersion(): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.OptionalAmount.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.OptionalAmount.ts deleted file mode 100644 index 3395dd82..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.OptionalAmount.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - namespace VariableAmount { - // @ts-ignore - class OptionalAmount implements org.spongepowered.api.util.weighted.VariableAmount { - // @ts-ignore - public getAmount(rand: any): number; - // @ts-ignore - public toString(): string; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public getContentVersion(): number; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.ts deleted file mode 100644 index 0b25d608..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.VariableAmount.ts +++ /dev/null @@ -1,111 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - // @ts-ignore - interface VariableAmount extends org.spongepowered.api.data.DataSerializable { - /** - * Creates a new 'fixed' variable amount, calls to {@link #getAmount} will - * always return the fixed value. - */ - // @ts-ignore - fixed(value: number): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Creates a new variable amount which return values between the given min - * (inclusive) and max (exclusive). - */ - // @ts-ignore - range(min: number, max: number): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Creates a new variable about which has a base and variance. The final - * amount will be the base amount plus or minus a random amount between zero - * (inclusive) and the variance (exclusive). - */ - // @ts-ignore - baseWithVariance(base: number, variance: number): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Creates a new variable about which has a base and variance. The final - * amount will be the base amount plus or minus a random amount between zero - * (inclusive) and the variance (exclusive). - */ - // @ts-ignore - baseWithVariance(base: number, variance: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Creates a new variable amount which has a base and an additional amount. - * The final amount will be the base amount plus a random amount between - * zero (inclusive) and the additional amount (exclusive). - */ - // @ts-ignore - baseWithRandomAddition(base: number, addition: number): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Creates a new variable amount which has a base and an additional amount. - * The final amount will be the base amount plus a random amount between - * zero (inclusive) and the additional amount (exclusive). - */ - // @ts-ignore - baseWithRandomAddition(base: number, addition: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Creates a new variable about which has a base and a chance to apply a - * random variance. The chance should be between zero and one with a chance - * of one signifying that the variance will always be applied. If the chance - * succeeds then the final amount will be the base amount plus or minus a - * random amount between zero (inclusive) and the variance (exclusive). If - * the chance fails then the final amount will just be the base value. - */ - // @ts-ignore - baseWithOptionalVariance(base: number, variance: number, chance: number): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Creates a new variable about which has a base and a chance to apply a - * random variance. The chance should be between zero and one with a chance - * of one signifying that the variance will always be applied. If the chance - * succeeds then the final amount will be the base amount plus or minus a - * random amount between zero (inclusive) and the variance (exclusive). If - * the chance fails then the final amount will just be the base value. - */ - // @ts-ignore - baseWithOptionalVariance(base: number, variance: org.spongepowered.api.util.weighted.VariableAmount, chance: number): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Creates a new variable about which has a base and a chance to apply a - * random additional amount. The chance should be between zero and one with - * a chance of one signifying that the additional amount will always be - * applied. If the chance succeeds then the final amount will be the base - * amount plus a random amount between zero (inclusive) and the additional - * amount (exclusive). If the chance fails then the final amount will just - * be the base value. - */ - // @ts-ignore - baseWithOptionalAddition(base: number, addition: number, chance: number): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Creates a new variable about which has a base and a chance to apply a - * random additional amount. The chance should be between zero and one with - * a chance of one signifying that the additional amount will always be - * applied. If the chance succeeds then the final amount will be the base - * amount plus a random amount between zero (inclusive) and the additional - * amount (exclusive). If the chance fails then the final amount will just - * be the base value. - */ - // @ts-ignore - baseWithOptionalAddition(base: number, addition: org.spongepowered.api.util.weighted.VariableAmount, chance: number): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Gets an instance of the variable amount depending on the given random - * object. - */ - // @ts-ignore - getAmount(rand: any): number; - /** - * Gets the amount as if from {@link #getAmount(Random)} but floored to the - * nearest integer equivalent. - */ - // @ts-ignore - getFlooredAmount(rand: any): number; - // @ts-ignore - toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - getContentVersion(): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.WeightedObject.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.WeightedObject.ts deleted file mode 100644 index c30fb271..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.WeightedObject.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - // @ts-ignore - class WeightedObject extends org.spongepowered.api.util.weighted.TableEntry { - /** - * Creates a new {@link WeightedObject} of the provided - * {@code object} and {@code weight}. - */ - constructor(obj: any, weight: number) - /** - * Gets the entry contained in this entry. - */ - // @ts-ignore - public get(): any; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.WeightedSerializableObject.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.WeightedSerializableObject.ts deleted file mode 100644 index ff7c5e72..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.WeightedSerializableObject.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - // @ts-ignore - class WeightedSerializableObject extends org.spongepowered.api.util.weighted.WeightedObject implements org.spongepowered.api.data.DataSerializable { - /** - * Creates a new {@link WeightedSerializableObject} with the provided - * {@link DataSerializable}. - */ - constructor(object: org.spongepowered.api.data.DataSerializable, weight: number) - // @ts-ignore - public toString(): string; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public getContentVersion(): number; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.WeightedTable.ts b/packages/sponge/src/typings/org.spongepowered.api.util.weighted.WeightedTable.ts deleted file mode 100644 index d4295e43..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.util.weighted.WeightedTable.ts +++ /dev/null @@ -1,59 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace util { - namespace weighted { - // @ts-ignore - class WeightedTable extends org.spongepowered.api.util.weighted.RandomObjectTable { - /** - * Creates a new {@link WeightedTable} with a default roll - * count of {@code 1}. - */ - constructor() - /** - * Creates a new {@link WeightedTable} with the provided - * number of {@code rolls}. - */ - constructor(rolls: number) - /** - * Creates a new {@link WeightedTable} with the provided - * {@link VariableAmount} for the amount of rolls and variance. - */ - constructor(rolls: org.spongepowered.api.util.weighted.VariableAmount) - // @ts-ignore - public add(entry: org.spongepowered.api.util.weighted.TableEntry): boolean; - // @ts-ignore - public add(object: any, weight: number): boolean; - // @ts-ignore - public addAll(c: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public remove(entry: any): boolean; - // @ts-ignore - public removeObject(entry: any): boolean; - // @ts-ignore - public removeAll(c: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public retainAll(c: any[] /*java.util.Collection*/): boolean; - // @ts-ignore - public clear(): void; - /** - * Recalculates the total weight of all entries in this table. - */ - // @ts-ignore - protected recalculateWeight(): void; - // @ts-ignore - public get(rand: any): any[] /*java.util.List*/; - // @ts-ignore - public iterator(): any; - // @ts-ignore - public equals(o: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.BlockChangeFlag.ts b/packages/sponge/src/typings/org.spongepowered.api.world.BlockChangeFlag.ts deleted file mode 100644 index 733137b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.BlockChangeFlag.ts +++ /dev/null @@ -1,94 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface BlockChangeFlag { - /** - * Gets whether this flag defines that a block change should - * notify neighboring blocks. - */ - // @ts-ignore - updateNeighbors(): boolean; - /** - * Gets whether this flag defines that a block change should - * perform block physics checks or not. If not, no checks - * are performed. - */ - // @ts-ignore - performBlockPhysics(): boolean; - /** - * Gets whether this flag will update observer blocks, different - * from notifying neighbors in that neighbor notifications - * can cause further block notification loops (like redstone), - * whereas this focuses on {@link BlockTypes#OBSERVER} blocks - * being told of updates. - */ - // @ts-ignore - notifyObservers(): boolean; - /** - * Gets the equivalent {@link BlockChangeFlag} of this flag with all - * other flags while having the desired {@code updateNeighbors} - * as defined by the parameter. - */ - // @ts-ignore - withUpdateNeighbors(updateNeighbors: boolean): org.spongepowered.api.world.BlockChangeFlag; - /** - * Gets the equivalent {@link BlockChangeFlag} of this flag - * with all other flags while having the desired {@code performBlockPhysics} - * as defined by the parameter. - */ - // @ts-ignore - withPhysics(performBlockPhysics: boolean): org.spongepowered.api.world.BlockChangeFlag; - /** - * Gets the equivalent {@link BlockChangeFlag} of this flag with all - * other flags while having the desired {@code notifyObservers} - * as defined by the parameter. - */ - // @ts-ignore - withNotifyObservers(notifyObservers: boolean): org.spongepowered.api.world.BlockChangeFlag; - /** - * Gets the inverted {@link BlockChangeFlag} of this flag. - * Normally, this may cancel out certain interactions, such - * as physics, neighbor notifications, or even observer - * notifications. In certain circumstances, some flags may - * even require clients to rejoin the world or restart their - * connections to the server. - */ - // @ts-ignore - inverse(): org.spongepowered.api.world.BlockChangeFlag; - /** - * Gets the equivalent {@link BlockChangeFlag} of this flag - * with the {@code true}s set for this flag and the provided - * {@code flag}, such that only if both flags have the same - * {@code true} flags set will persist. - *

For example, if this flag has {@link #notifyObservers()} - * and the incoming flag has {@link #notifyObservers()} returning - * {@code true}, the resulting flag will have - * {@link #notifyObservers()} return {@code true} as well. The - * inverse is also true. If either has differing flags for any - * of the above methods, the resulting flag will have a - * {@code false} value.

- */ - // @ts-ignore - andFlag(flag: org.spongepowered.api.world.BlockChangeFlag): org.spongepowered.api.world.BlockChangeFlag; - /** - * Gets the equivalent {@link BlockChangeFlag} of this flag - * with the {@code true}s set for this flag and the provided - * {@code flag}, such that only if both flags have the same - * {@code true} flags set will persist. - *

For example, if this flag has {@link #notifyObservers()} - * and the incoming flag has {@link #notifyObservers()} returning - * {@code true}, the resulting flag will have - * {@link #notifyObservers()} return {@code true} as well. The - * inverse is also true. If either has differing flags for any - * of the above methods, the resulting flag will have a - * {@code false} value.

- */ - // @ts-ignore - andNotFlag(flag: org.spongepowered.api.world.BlockChangeFlag): org.spongepowered.api.world.BlockChangeFlag; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.BlockChangeFlags.ts b/packages/sponge/src/typings/org.spongepowered.api.world.BlockChangeFlags.ts deleted file mode 100644 index cc539f0a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.BlockChangeFlags.ts +++ /dev/null @@ -1,29 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - class BlockChangeFlags { - // @ts-ignore - public static ALL: org.spongepowered.api.world.BlockChangeFlag; - // @ts-ignore - public static NEIGHBOR: org.spongepowered.api.world.BlockChangeFlag; - // @ts-ignore - public static NEIGHBOR_OBSERVER: org.spongepowered.api.world.BlockChangeFlag; - // @ts-ignore - public static NEIGHBOR_PHYSICS: org.spongepowered.api.world.BlockChangeFlag; - // @ts-ignore - public static NEIGHBOR_PHYSICS_OBSERVER: org.spongepowered.api.world.BlockChangeFlag; - // @ts-ignore - public static NONE: org.spongepowered.api.world.BlockChangeFlag; - // @ts-ignore - public static OBSERVER: org.spongepowered.api.world.BlockChangeFlag; - // @ts-ignore - public static PHYSICS: org.spongepowered.api.world.BlockChangeFlag; - // @ts-ignore - public static PHYSICS_OBSERVER: org.spongepowered.api.world.BlockChangeFlag; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.Chunk.ts b/packages/sponge/src/typings/org.spongepowered.api.world.Chunk.ts deleted file mode 100644 index 9276bd63..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.Chunk.ts +++ /dev/null @@ -1,98 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface Chunk extends org.spongepowered.api.world.extent.Extent { - // @ts-ignore - getLocation(position: any /*Vector3i*/): org.spongepowered.api.world.Location; - // @ts-ignore - getLocation(x: number, y: number, z: number): org.spongepowered.api.world.Location; - // @ts-ignore - getLocation(position: any /*Vector3d*/): org.spongepowered.api.world.Location; - // @ts-ignore - getLocation(x: number, y: number, z: number): org.spongepowered.api.world.Location; - /** - * Gets the position of the chunk. - *

The returned position is 3-dimensional with the Y-coordinate set to be - * the base (lowest) Y-position of the chunk. As 3-dimensional chunks do not - * yet exist in Minecraft, the returned position will always have a - * {@code y} set to 0.

- */ - // @ts-ignore - getPosition(): any /*Vector3i*/; - /** - * Gets the world the chunk is in. - */ - // @ts-ignore - getWorld(): org.spongepowered.api.world.World; - /** - * Gets if the chunk has been populated by the generator. - */ - // @ts-ignore - isPopulated(): boolean; - /** - * Loads this chunk, and generates if specified and required. - */ - // @ts-ignore - loadChunk(generate: boolean): boolean; - /** - * Unloads this chunk, if possible. - */ - // @ts-ignore - unloadChunk(): boolean; - /** - * Gets the number of ticks players have been present in this chunk, used - * for calculation of the regional difficulty factor. In vanilla, it is - * increased by the number of players in the chunk every tick, and is capped - * at 3,600,000 ticks (50 hours). - */ - // @ts-ignore - getInhabittedTime(): number; - /** - * Gets the number of ticks players have been present in this chunk, used - * for calculation of the regional difficulty factor. In vanilla, it is - * increased by the number of players in the chunk every tick, and is capped - * at 3,600,000 ticks (50 hours). - */ - // @ts-ignore - getInhabitedTime(): number; - /** - * Gets the regional difficulty factor for this chunk. In vanilla, it is - * dependent on the playtime of the world, inhabited time of the chunk, the - * phase of the moon, and the current difficulty setting. This number ranges - * from 0.75-1.5 on easy, 1.5-4.0 on normal, and 2.25-6.75 on hard. - *

This value is used for display only in vanilla.

- */ - // @ts-ignore - getRegionalDifficultyFactor(): number; - /** - * Gets the regional difficulty percentage for this chunk. It is calculated - * by taking the regional difficulty factor and using the following rules: - * If the factor is less than 2.0, the percentage is 0%. If the factor is - * greater than 4.0, the percentage is 100%. Otherwise, the percentage is - * the factor minus 2.0, divided by 2.0. - *

This is the value that is used in vanilla to find which effects are - * caused by the regional difficulty.

- */ - // @ts-ignore - getRegionalDifficultyPercentage(): number; - /** - * Gets the chunk in the given direction from this chunk, if it exists. - */ - // @ts-ignore - getNeighbor(direction: org.spongepowered.api.util.Direction): any; - /** - * Gets the chunk in the given direction from this chunk. - */ - // @ts-ignore - getNeighbor(direction: org.spongepowered.api.util.Direction, shouldLoad: boolean): any; - // @ts-ignore - getBiomeWorker(): org.spongepowered.api.world.extent.worker.MutableBiomeVolumeWorker; - // @ts-ignore - getBlockWorker(): org.spongepowered.api.world.extent.worker.MutableBlockVolumeWorker; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkPreGenerate.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.ChunkPreGenerate.Builder.ts deleted file mode 100644 index 51dcfee3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkPreGenerate.Builder.ts +++ /dev/null @@ -1,67 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace ChunkPreGenerate { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the owner of the resulting task. - *

Mandatory.

- */ - // @ts-ignore - owner(plugin: any): org.spongepowered.api.world.ChunkPreGenerate.Builder; - /** - * Adds a logger for logging generator efforts. - *

Optional. No effect if null is passed.

- */ - // @ts-ignore - logger(logger: any /*Logger*/): org.spongepowered.api.world.ChunkPreGenerate.Builder; - /** - * Sets the number of ticks between generation runs. - *

Must be greater than 0.

- *

Optional.

- *

Default is 4.

- */ - // @ts-ignore - tickInterval(tickInterval: number): org.spongepowered.api.world.ChunkPreGenerate.Builder; - /** - * Sets maximum number of chunks per tick to generate. - *

Use a value smaller or equal to 0 to disable.

- *

Optional if {@link #tickPercentLimit(float)} is used.

- *

Default is disabled.

- */ - // @ts-ignore - chunksPerTick(chunkCount: number): org.spongepowered.api.world.ChunkPreGenerate.Builder; - /** - * Sets the limit of tick time that can be used to generate chunks as a - * percentage of {@link Scheduler#getPreferredTickInterval()}. The - * percentage must be a value in the range (0, 1]. No estimation is - * used to decide when to stop so the actual value will always be - * somewhere above the given percentage. - *

Use a value smaller or equal to 0 to disable.

- *

Optional if {@link #chunksPerTick(int)} is used.

- *

Default is 80%.

- */ - // @ts-ignore - tickPercentLimit(tickPercent: number): org.spongepowered.api.world.ChunkPreGenerate.Builder; - /** - * Adds a {@link ChunkPreGenerationEvent} listener callback that will be - * called for this, and only this, pre-generation routine. Note that - * this does not change whether the various {@link ChunkPreGenerationEvent} - * events will be called, this is a convenience method to simply setup - * a listener bound to this pre-generation. - */ - // @ts-ignore - addListener(listener: any): org.spongepowered.api.world.ChunkPreGenerate.Builder; - /** - * Schedules the task with the {@link Game#getScheduler()}. - */ - // @ts-ignore - start(): org.spongepowered.api.world.ChunkPreGenerate; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkPreGenerate.ts b/packages/sponge/src/typings/org.spongepowered.api.world.ChunkPreGenerate.ts deleted file mode 100644 index 12f1d11a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkPreGenerate.ts +++ /dev/null @@ -1,50 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface ChunkPreGenerate { - /** - * The {@link WorldProperties} of the world that this task is operating on. - */ - // @ts-ignore - getWorldProperties(): org.spongepowered.api.world.storage.WorldProperties; - /** - * The total number of chunks generated during this generation. - */ - // @ts-ignore - getTotalGeneratedChunks(): number; - /** - * The total number of chunks skipped during this generation. - */ - // @ts-ignore - getTotalSkippedChunks(): number; - /** - * The target number of chunks that will be generated or skipped - * during this generation. This includes chunks already generated - * or skipped. - */ - // @ts-ignore - getTargetTotalChunks(): number; - /** - * Gets the total wall clock time it has taken (so far) to generate - * chunks. - */ - // @ts-ignore - getTotalTime(): any; - /** - * Gets whether the task for this world has been cancelled - * (or completed). - */ - // @ts-ignore - isCancelled(): boolean; - /** - * Cancels this pre-generation if it is still running. - */ - // @ts-ignore - cancel(): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkRegenerateFlag.ts b/packages/sponge/src/typings/org.spongepowered.api.world.ChunkRegenerateFlag.ts deleted file mode 100644 index 8eb72761..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkRegenerateFlag.ts +++ /dev/null @@ -1,63 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface ChunkRegenerateFlag { - /** - * Gets whether this flag defines that a chunk should be created if it does - * not exist. - */ - // @ts-ignore - create(): boolean; - /** - * Gets whether this flag will preserve entities in chunks that are - * regenerated. - * Note: It is up to the implementation to decide whether this will - * include moving entities to safe locations. - */ - // @ts-ignore - entities(): boolean; - /** - * Gets the equivalent {@link ChunkRegenerateFlag} of this flag with all - * other flags while having the desired {@code create} as defined by the - * parameter. - */ - // @ts-ignore - withCreate(create: boolean): org.spongepowered.api.world.ChunkRegenerateFlag; - /** - * Gets the equivalent {@link ChunkRegenerateFlag} of this flag with all - * other flags while having the desired {@code entities} as defined by the - * parameter. - */ - // @ts-ignore - withEntities(entities: boolean): org.spongepowered.api.world.ChunkRegenerateFlag; - /** - * Gets the equivalent {@link ChunkRegenerateFlag} of this flag with the - * {@code true}s set for this flag and the provided {@code flag}, such that - * only if both flags have the same {@code true} flags set will persist. - *

For example, if this flag has {@link #create()} and the incoming flag - * has {@link #create()} returning {@code true}, the resulting flag will - * have {@link #create()} return {@code true} as well. The inverse is also - * true. If either has differing flags for any of the above methods, the - * resulting flag will have a {@code false} value.

- */ - // @ts-ignore - andFlag(flag: org.spongepowered.api.world.ChunkRegenerateFlag): org.spongepowered.api.world.ChunkRegenerateFlag; - /** - * Gets the equivalent {@link ChunkRegenerateFlag} of this flag with the - * {@code true}s set for this flag and the provided {@code flag}, such that - * only if both flags have the same {@code true} flags set will persist. - *

For example, if this flag has {@link #create()} and the incoming flag - * has {@link #create()} returning {@code true}, the resulting flag will - * have {@link #create()} return {@code true} as well. The inverse is also - * true. If either has differing flags for any of the above methods, the - * resulting flag will have a {@code false} value.

- */ - // @ts-ignore - andNotFlag(flag: org.spongepowered.api.world.ChunkRegenerateFlag): org.spongepowered.api.world.ChunkRegenerateFlag; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkRegenerateFlags.ts b/packages/sponge/src/typings/org.spongepowered.api.world.ChunkRegenerateFlags.ts deleted file mode 100644 index 22b2c8d7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkRegenerateFlags.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - class ChunkRegenerateFlags { - // @ts-ignore - public static ALL: org.spongepowered.api.world.ChunkRegenerateFlag; - // @ts-ignore - public static CREATE: org.spongepowered.api.world.ChunkRegenerateFlag; - // @ts-ignore - public static ENTITIES: org.spongepowered.api.world.ChunkRegenerateFlag; - // @ts-ignore - public static NONE: org.spongepowered.api.world.ChunkRegenerateFlag; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkState.ts b/packages/sponge/src/typings/org.spongepowered.api.world.ChunkState.ts deleted file mode 100644 index 9dff0563..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkState.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - class ChunkState { - // @ts-ignore - public static UNLOADED: org.spongepowered.api.world.ChunkState; - // @ts-ignore - public static NOT_GENERATED: org.spongepowered.api.world.ChunkState; - // @ts-ignore - public static NOT_POPULATED: org.spongepowered.api.world.ChunkState; - // @ts-ignore - public static LOADED: org.spongepowered.api.world.ChunkState; - // @ts-ignore - public static values(): org.spongepowered.api.world.ChunkState[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.world.ChunkState; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.Callback.ts b/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.Callback.ts deleted file mode 100644 index 95e01d15..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.Callback.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace ChunkTicketManager { - // @ts-ignore - interface Callback { - /** - * Callback for loading Tickets during world load. - *

The list of forced chunks is not saved with Tickets, this callback - * is your place to reassociate chunks to Tickets, using the extra - * information saved with the ticket or your own external configuration. - * Any unneeded tickets must be manually released.

- *

The list of tickets contains both standard plugin and - * player-associated tickets that were registered by this plugin.

- *

The list of tickets has been truncated to the maximum allowed for - * your plugin, so may not be all saved tickets in the event that the - * maximum tickets for your plugin was decreased.

- */ - // @ts-ignore - onLoaded(tickets: any, world: org.spongepowered.api.world.World): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.EntityLoadingTicket.ts b/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.EntityLoadingTicket.ts deleted file mode 100644 index 35b73c07..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.EntityLoadingTicket.ts +++ /dev/null @@ -1,25 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace ChunkTicketManager { - // @ts-ignore - interface EntityLoadingTicket extends org.spongepowered.api.world.ChunkTicketManager.LoadingTicket { - /** - * Binds an Entity to this Ticket, causing the chunk the Entity is in to - * be initially loaded with the World. This makes the Entity available - * during callbacks. - */ - // @ts-ignore - bindToEntity(entity: org.spongepowered.api.entity.Entity): void; - /** - * Gets the Entity bound to this ticket. - */ - // @ts-ignore - getBoundEntity(): org.spongepowered.api.entity.Entity; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.LoadingTicket.ts b/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.LoadingTicket.ts deleted file mode 100644 index 1630ee5f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.LoadingTicket.ts +++ /dev/null @@ -1,96 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace ChunkTicketManager { - // @ts-ignore - interface LoadingTicket { - /** - * Sets the number of chunks this ticket will load at once. - */ - // @ts-ignore - setNumChunks(numChunks: number): boolean; - /** - * Gets the number of chunks this ticket can load at once. - */ - // @ts-ignore - getNumChunks(): number; - /** - * Gets the maximum limit on the number of concurrently loaded chunks - * this ticket can have. - */ - // @ts-ignore - getMaxNumChunks(): number; - /** - * Gets the {@link World} passed when creating this ticket. - */ - // @ts-ignore - getWorld(): org.spongepowered.api.world.World; - /** - * Gets the companion data stored in a {@link DataContainer}. Note that - * the provided {@link DataContainer} is modifiable, but a copy of the - * internal container, and as such may need to be - * {@link #setCompanionData(DataContainer)} before modifications can - * be handled. - *

The sort of data stored in the container is plugin/mod dependent - * and is based on the original creator of this {@link LoadingTicket}. - * As such, the structure and particular data stored in the container - * is not concrete or defined in any specific way.

- */ - // @ts-ignore - getCompanionData(): org.spongepowered.api.data.DataContainer; - /** - * Sets the companion data for this loading ticket. - *

The sort of data stored in the container is plugin/mod dependent - * and is based on the original creator of this {@link LoadingTicket}. - * As such, the structure and particular data stored in the container - * is not concrete or defined in any specific way.

- */ - // @ts-ignore - setCompanionData(container: org.spongepowered.api.data.DataContainer): void; - /** - * Gets the ID of the plugin that this ticket belongs to. - */ - // @ts-ignore - getPlugin(): string; - /** - * Gets the set of chunks that are being force-loaded by this ticket. - */ - // @ts-ignore - getChunkList(): any; - /** - * Force-loads a chunk using this ticket. If the configured concurrently - * loaded chunk limit is reached, the oldest loaded chunk will be - * removed. - *

This does not cause an immediate load of the chunk. Forced chunks - * will be loaded eventually, but may not be available for a few ticks. - * Forced chunk loading is equivalent to the loading caused by a - * player.

- */ - // @ts-ignore - forceChunk(chunk: any /*Vector3i*/): void; - /** - * Removes a chunk from the force-loaded set of this ticket. - */ - // @ts-ignore - unforceChunk(chunk: any /*Vector3i*/): void; - /** - * Reorders a chunk to count as the 'newest' loaded chunk, making it the - * last chunk to be removed when adding more chunks for force-loading. - */ - // @ts-ignore - prioritizeChunk(chunk: any /*Vector3i*/): void; - /** - * Releases this ticket, removing all associated chunks and freeing up - * the ticket slot for later use by a new ticket. - *

After this operation the ticket is invalid and cannot be used to - * force-load chunks.

- */ - // @ts-ignore - release(): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.OrderedCallback.ts b/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.OrderedCallback.ts deleted file mode 100644 index 0785db40..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.OrderedCallback.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace ChunkTicketManager { - // @ts-ignore - interface OrderedCallback extends org.spongepowered.api.world.ChunkTicketManager.Callback { - /** - * Callback for loading Tickets during world load. - *

During this callback you cannot associate chunks to tickets. This - * callback gets all loaded non-player tickets. The returned list will - * be truncated to maxTickets after this callback is called, and and - * tickets absent from the list will be released.

- */ - // @ts-ignore - onLoaded(tickets: any, world: org.spongepowered.api.world.World, maxTickets: number): any[] /*java.util.List*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.PlayerEntityLoadingTicket.ts b/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.PlayerEntityLoadingTicket.ts deleted file mode 100644 index 004ccdd8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.PlayerEntityLoadingTicket.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace ChunkTicketManager { - // @ts-ignore - interface PlayerEntityLoadingTicket extends org.spongepowered.api.world.ChunkTicketManager.PlayerLoadingTicket, org.spongepowered.api.world.ChunkTicketManager.EntityLoadingTicket { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.PlayerLoadingTicket.ts b/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.PlayerLoadingTicket.ts deleted file mode 100644 index 9f8636d9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.PlayerLoadingTicket.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace ChunkTicketManager { - // @ts-ignore - interface PlayerLoadingTicket extends org.spongepowered.api.world.ChunkTicketManager.LoadingTicket { - /** - * Gets the UUID of the player associated with this ticket. - */ - // @ts-ignore - getPlayerUniqueId(): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.PlayerOrderedCallback.ts b/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.PlayerOrderedCallback.ts deleted file mode 100644 index e2c44368..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.PlayerOrderedCallback.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace ChunkTicketManager { - // @ts-ignore - interface PlayerOrderedCallback extends org.spongepowered.api.world.ChunkTicketManager.Callback { - /** - * Callback for loading player Tickets during world load. - *

During this callback you cannot associate chunks to tickets. This - * callback gets all player-associated tickets registered by the plugin. - * Tickets absent from the returned Multimap will be released.

- */ - // @ts-ignore - onPlayerLoaded(tickets: any, world: org.spongepowered.api.world.World): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.ts b/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.ts deleted file mode 100644 index 65b70c22..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.ChunkTicketManager.ts +++ /dev/null @@ -1,78 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface ChunkTicketManager { - /** - * Sets the callback for handling loading forced chunk tickets on world - * load. - *

Required for any plugin that wants to force-load chunks. Any - * plugin that does not have a registered callback will have all saved - * tickets dropped on world load.

- */ - // @ts-ignore - registerCallback(plugin: any, callback: org.spongepowered.api.world.ChunkTicketManager.Callback): void; - /** - * Attempts to create a new loading ticket for a plugin to load chunks in a - * world. - *

Plugins can be limited in the number of tickets they can create per - * world.

- */ - // @ts-ignore - createTicket(plugin: any, world: org.spongepowered.api.world.World): any; - /** - * Attempts to create a new loading ticket for a plugin to load chunks in a - * world. - *

This version is to create tickets that are bound to the existence of - * an Entity. For instance, a ticket to load the chunks a minecart is - * travelling through.

- *

Plugins can be limited in the number of tickets they can create per - * world.

- */ - // @ts-ignore - createEntityTicket(plugin: any, world: org.spongepowered.api.world.World): any; - /** - * Attempts to create a new loading ticket for a plugin to load chunks in a - * world. The returned ticket will be associated with the given player. - *

.

- */ - // @ts-ignore - createPlayerTicket(plugin: any, world: org.spongepowered.api.world.World, player: any): any; - /** - * Attempts to create a new loading ticket for a plugin to load chunks in a - * world. The returned ticket will be associated with the given player. - *

This version is to create tickets that are bound to the existence of - * an Entity. For instance, a ticket to load the chunks a minecart is - * travelling through.

- *

Plugins can be limited in the number of tickets they can create per - * world.

- */ - // @ts-ignore - createPlayerEntityTicket(plugin: any, world: org.spongepowered.api.world.World, player: any): any; - /** - * Gets the maximum allowed per-world tickets for a plugin. - */ - // @ts-ignore - getMaxTickets(plugin: any): number; - /** - * Gets the amount of remaining tickets a plugin can have in the world - * before hitting the maximum. - */ - // @ts-ignore - getAvailableTickets(plugin: any, world: org.spongepowered.api.world.World): number; - /** - * Gets the amount of tickets remaining available for a player. - */ - // @ts-ignore - getAvailableTickets(player: any): number; - /** - * Gets the set of currently force-loaded chunks in a world. - */ - // @ts-ignore - getForcedChunks(world: org.spongepowered.api.world.World): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.Dimension.ts b/packages/sponge/src/typings/org.spongepowered.api.world.Dimension.ts deleted file mode 100644 index abee2a4d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.Dimension.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface Dimension extends org.spongepowered.api.service.context.ContextSource { - /** - * Gets the type of dimension. - */ - // @ts-ignore - getType(): org.spongepowered.api.world.DimensionType; - /** - * Gets the generator type of dimension. - */ - // @ts-ignore - getGeneratorType(): org.spongepowered.api.world.GeneratorType; - /** - * Returns whether players can respawn within {@link Dimension} after death. - */ - // @ts-ignore - allowsPlayerRespawns(): boolean; - /** - * Returns the minimum spawn height for {@link Dimension}. - */ - // @ts-ignore - getMinimumSpawnHeight(): number; - /** - * Returns whether water evaporates for {@link Dimension}. - */ - // @ts-ignore - doesWaterEvaporate(): boolean; - /** - * Returns whether this {@link Dimension} has a sky (lack of bedrock). - */ - // @ts-ignore - hasSky(): boolean; - /** - * Gets the highest naturally generated y-coordinate of {@link World}s in - * this dimension. Usually 128 (no sky) or 256 (sky). - */ - // @ts-ignore - getHeight(): number; - /** - * Gets the maximum y-coordinate a non-air cuboid can exist at of - * {@link World}s in this dimension. Usually 256. - */ - // @ts-ignore - getBuildHeight(): number; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.DimensionType.ts b/packages/sponge/src/typings/org.spongepowered.api.world.DimensionType.ts deleted file mode 100644 index efff0f34..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.DimensionType.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface DimensionType extends org.spongepowered.api.CatalogType { - /** - * Returns the dimension class for this type. - */ - // @ts-ignore - getDimensionClass(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.DimensionTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.world.DimensionTypes.ts deleted file mode 100644 index c0e7f427..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.DimensionTypes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - class DimensionTypes { - // @ts-ignore - public static NETHER: org.spongepowered.api.world.DimensionType; - // @ts-ignore - public static OVERWORLD: org.spongepowered.api.world.DimensionType; - // @ts-ignore - public static THE_END: org.spongepowered.api.world.DimensionType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.GeneratorType.ts b/packages/sponge/src/typings/org.spongepowered.api.world.GeneratorType.ts deleted file mode 100644 index 4a6998d4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.GeneratorType.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface GeneratorType extends org.spongepowered.api.CatalogType { - /** - * Gets a copy of the default settings for this generator type. - */ - // @ts-ignore - getGeneratorSettings(): org.spongepowered.api.data.DataContainer; - /** - * Creates a new {@link WorldGenerator} for this generator type. - *

This will use the default settings of this generator type.

- */ - // @ts-ignore - createGenerator(world: org.spongepowered.api.world.World): org.spongepowered.api.world.gen.WorldGenerator; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.GeneratorTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.world.GeneratorTypes.ts deleted file mode 100644 index 168df1ba..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.GeneratorTypes.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - class GeneratorTypes { - // @ts-ignore - public static AMPLIFIED: org.spongepowered.api.world.GeneratorType; - // @ts-ignore - public static DEBUG: org.spongepowered.api.world.GeneratorType; - // @ts-ignore - public static DEFAULT: org.spongepowered.api.world.GeneratorType; - // @ts-ignore - public static FLAT: org.spongepowered.api.world.GeneratorType; - // @ts-ignore - public static LARGE_BIOMES: org.spongepowered.api.world.GeneratorType; - // @ts-ignore - public static NETHER: org.spongepowered.api.world.GeneratorType; - // @ts-ignore - public static OVERWORLD: org.spongepowered.api.world.GeneratorType; - // @ts-ignore - public static THE_END: org.spongepowered.api.world.GeneratorType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.Locatable.ts b/packages/sponge/src/typings/org.spongepowered.api.world.Locatable.ts deleted file mode 100644 index 7111f38a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.Locatable.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface Locatable { - /** - * Gets the location of the source. - */ - // @ts-ignore - getLocation(): org.spongepowered.api.world.Location; - /** - * Gets the world that this source resides in. - */ - // @ts-ignore - getWorld(): org.spongepowered.api.world.World; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.LocatableBlock.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.LocatableBlock.Builder.ts deleted file mode 100644 index c8c6e496..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.LocatableBlock.Builder.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace LocatableBlock { - // @ts-ignore - interface Builder extends org.spongepowered.api.data.persistence.DataBuilder { - /** - * Sets the {@link BlockState} for this builder. - */ - // @ts-ignore - state(blockState: org.spongepowered.api.block.BlockState): org.spongepowered.api.world.LocatableBlock.Builder; - /** - * Sets the {@link BlockState} and {@link Vector3i position} for this - * builder. - */ - // @ts-ignore - location(location: org.spongepowered.api.world.Location): org.spongepowered.api.world.LocatableBlock.Builder; - /** - * Sets the {@link Vector3i position} for this builder. - */ - // @ts-ignore - position(position: any /*Vector3i*/): org.spongepowered.api.world.LocatableBlock.Builder; - /** - * Sets the {@code x} {@code y} {@code z} positions for this builder. - */ - // @ts-ignore - position(x: number, y: number, z: number): org.spongepowered.api.world.LocatableBlock.Builder; - /** - * Sets the {@link World} for this builder, used to get the {@link BlockState} - * for a desired position. - */ - // @ts-ignore - world(world: org.spongepowered.api.world.World): org.spongepowered.api.world.LocatableBlock.Builder; - // @ts-ignore - reset(): org.spongepowered.api.world.LocatableBlock.Builder; - // @ts-ignore - from(value: org.spongepowered.api.world.LocatableBlock): org.spongepowered.api.world.LocatableBlock.Builder; - /** - * Creates a new {@link LocatableBlock}. - */ - // @ts-ignore - build(): org.spongepowered.api.world.LocatableBlock; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.LocatableBlock.ts b/packages/sponge/src/typings/org.spongepowered.api.world.LocatableBlock.ts deleted file mode 100644 index 8aec0dea..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.LocatableBlock.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface LocatableBlock extends org.spongepowered.api.data.ImmutableDataHolder, org.spongepowered.api.world.Locatable { - /** - * Creates a new {@link Builder} for creating new {@link LocatableBlock}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.LocatableBlock.Builder; - /** - * Gets the {@link BlockState} for this locatable block. - */ - // @ts-ignore - getBlockState(): org.spongepowered.api.block.BlockState; - /** - * Gets the {@link Vector3i position} for this locatable block. - */ - // @ts-ignore - getPosition(): any /*Vector3i*/; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.Location.ts b/packages/sponge/src/typings/org.spongepowered.api.world.Location.ts deleted file mode 100644 index b3788f29..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.Location.ts +++ /dev/null @@ -1,387 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - class Location implements org.spongepowered.api.data.DataHolder { - /** - * Create a new instance. - */ - constructor(extent: org.spongepowered.api.world.extent.Extent, position: any /*Vector3d*/) - /** - * Create a new instance. - */ - constructor(extent: org.spongepowered.api.world.extent.Extent, x: number, y: number, z: number) - /** - * Create a new instance. - */ - constructor(extent: org.spongepowered.api.world.extent.Extent, blockPosition: any /*Vector3i*/) - /** - * Create a new instance. - */ - constructor(extent: org.spongepowered.api.world.extent.Extent, x: number, y: number, z: number) - /** - * Gets the underlying extent. - *

Note: This can be null if the {@link Extent} is unloaded and garbage - * collected.

- */ - // @ts-ignore - public getExtent(): org.spongepowered.api.world.extent.Extent; - /** - * Gets the underlying position. - */ - // @ts-ignore - public getPosition(): any /*Vector3d*/; - /** - * Gets the underlying block position. - */ - // @ts-ignore - public getBlockPosition(): any /*Vector3i*/; - /** - * Gets the underlying chunk position. - */ - // @ts-ignore - public getChunkPosition(): any /*Vector3i*/; - /** - * Gets the underlying biome position. - */ - // @ts-ignore - public getBiomePosition(): any /*Vector3i*/; - /** - * Gets the X component of this instance's position. - */ - // @ts-ignore - public getX(): number; - /** - * Gets the Y component of this instance's position. - */ - // @ts-ignore - public getY(): number; - /** - * Gets the Z component of this instance's position. - */ - // @ts-ignore - public getZ(): number; - /** - * Gets the floored X component of this instance's position. - */ - // @ts-ignore - public getBlockX(): number; - /** - * Gets the floored Y component of this instance's position. - */ - // @ts-ignore - public getBlockY(): number; - /** - * Gets the floored Z component of this instance's position. - */ - // @ts-ignore - public getBlockZ(): number; - /** - * Returns true if this location is in the given extent. This is implemented - * as an {@link Object#equals(Object)} check. - */ - // @ts-ignore - public inExtent(extent: org.spongepowered.api.world.extent.Extent): boolean; - /** - * Returns true if this location has a biome at its - * {@link #getBiomePosition()}. - */ - // @ts-ignore - public hasBiome(): boolean; - /** - * Returns true if this location has a block at its - * {@link #getBlockPosition()} ()}. - */ - // @ts-ignore - public hasBlock(): boolean; - /** - * Gets a {@link LocatableBlock} if the parent {@link Extent} of this - * {@link Location} is a {@link World}. - */ - // @ts-ignore - public getLocatableBlock(): any; - /** - * Create a new instance with a new extent. - */ - // @ts-ignore - public setExtent(extent: org.spongepowered.api.world.extent.Extent): org.spongepowered.api.world.Location; - /** - * Create a new instance with a new position. - */ - // @ts-ignore - public setPosition(position: any /*Vector3d*/): org.spongepowered.api.world.Location; - /** - * Create a new instance with a new block position. - */ - // @ts-ignore - public setBlockPosition(position: any /*Vector3i*/): org.spongepowered.api.world.Location; - /** - * Subtract another Vector3d to the position on this instance, returning - * a new Location instance. - */ - // @ts-ignore - public sub(v: any /*Vector3d*/): org.spongepowered.api.world.Location; - /** - * Subtract another Vector3i to the position on this instance, returning - * a new Location instance. - */ - // @ts-ignore - public sub(v: any /*Vector3i*/): org.spongepowered.api.world.Location; - /** - * Subtract vector components to the position on this instance, returning a - * new Location instance. - */ - // @ts-ignore - public sub(x: number, y: number, z: number): org.spongepowered.api.world.Location; - /** - * Add another Vector3d to the position on this instance, returning a new - * Location instance. - */ - // @ts-ignore - public add(v: any /*Vector3d*/): org.spongepowered.api.world.Location; - /** - * Add another Vector3i to the position on this instance, returning a new - * Location instance. - */ - // @ts-ignore - public add(v: any /*Vector3i*/): org.spongepowered.api.world.Location; - /** - * Add vector components to the position on this instance, returning a new - * Location instance. - */ - // @ts-ignore - public add(x: number, y: number, z: number): org.spongepowered.api.world.Location; - /** - * Calls the mapper function on the extent and position. - */ - // @ts-ignore - public map(mapper: any): any; - /** - * Calls the mapper function on the extent and block position. - */ - // @ts-ignore - public mapBlock(mapper: any): any; - /** - * Calls the mapper function on the extent and chunk position. - */ - // @ts-ignore - public mapChunk(mapper: any): any; - /** - * Calls the mapper function on the extent and biome position. - */ - // @ts-ignore - public mapBiome(mapper: any): any; - /** - * Gets the location next to this one in the given direction. - * Always moves by a unit amount, even diagonally. - */ - // @ts-ignore - public getRelative(direction: org.spongepowered.api.util.Direction): org.spongepowered.api.world.Location; - /** - * Gets the location next to this one in the given direction. - * Always moves by a block amount, even diagonally. - *

{@link org.spongepowered.api.util.Direction.Division#SECONDARY_ORDINAL} - * directions are not a valid argument. These will throw an exception. - *

- */ - // @ts-ignore - public getBlockRelative(direction: org.spongepowered.api.util.Direction): org.spongepowered.api.world.Location; - /** - * Gets the block at this location. - */ - // @ts-ignore - public getBiome(): org.spongepowered.api.world.biome.BiomeType; - /** - * Gets the base type of block. - *

The type does not include block data such as the contents of - * inventories.

- */ - // @ts-ignore - public getBlockType(): org.spongepowered.api.block.BlockType; - /** - * Gets the {@link BlockState} for this position. - */ - // @ts-ignore - public getBlock(): org.spongepowered.api.block.BlockState; - /** - * Checks for whether the block at this position contains tile entity data. - */ - // @ts-ignore - public hasTileEntity(): boolean; - /** - * Gets the associated {@link TileEntity} on this block. - */ - // @ts-ignore - public getTileEntity(): any; - /** - * Replace the block at this position with a new state. - *

This will remove any extended block data at the given position.

- */ - // @ts-ignore - public setBlock(state: org.spongepowered.api.block.BlockState): boolean; - /** - * Replace the block at this position with a new state. - *

This will remove any extended block data at the given position.

- */ - // @ts-ignore - public setBlock(state: org.spongepowered.api.block.BlockState, flag: org.spongepowered.api.world.BlockChangeFlag): boolean; - /** - * Replace the block type at this position by a new type. - *

This will remove any extended block data at the given position.

- */ - // @ts-ignore - public setBlockType(type: org.spongepowered.api.block.BlockType): boolean; - /** - * Replace the block type at this position by a new type. - *

This will remove any extended block data at the given position.

- */ - // @ts-ignore - public setBlockType(type: org.spongepowered.api.block.BlockType, flag: org.spongepowered.api.world.BlockChangeFlag): boolean; - /** - * Replace the block at this position with a copy of the given snapshot. - *

Changing the snapshot afterwards will not affect the block that has - * been placed at this location.

- */ - // @ts-ignore - public restoreSnapshot(snapshot: org.spongepowered.api.block.BlockSnapshot, force: boolean, flag: org.spongepowered.api.world.BlockChangeFlag): boolean; - /** - * Remove the block at this position by replacing it with - * {@link BlockTypes#AIR}. - *

This will remove any extended block data at the given position.

- */ - // @ts-ignore - public removeBlock(): boolean; - /** - * Create an entity instance at the given position. - *

Creating an entity does not spawn the entity into the world. An entity - * created means the entity can be spawned at the given location. If - * {@link Optional#empty()} was returned, the entity is not able to spawn at - * the given location. Furthermore, this allows for the {@link Entity} to be - * customized further prior to traditional "ticking" and processing by core - * systems.

- */ - // @ts-ignore - public createEntity(type: org.spongepowered.api.entity.EntityType): org.spongepowered.api.entity.Entity; - /** - * Spawns an {@link Entity} using the already set properties (extent, - * position, rotation) and applicable {@link DataManipulator}s with the - * specified {@link Cause} for spawning the entity. - *

Note that for the {@link Cause} to be useful in the expected - * {@link SpawnEntityEvent}, a {@link SpawnType} should be provided in the - * {@link EventContext} for other plugins to understand and have finer - * control over the event.

- *

The requirements involve that all necessary setup of states and data - * is already preformed on the entity retrieved from the various - * {@link EntityUniverse#createEntity(EntityType,Vector3d)} methods. Calling - * this will make the now-spawned entity able to be processed by various - * systems.

- *

If the entity was unable to spawn, the entity is not removed, but it - * should be taken note that there can be many reasons for a failure.

- */ - // @ts-ignore - public spawnEntity(entity: org.spongepowered.api.entity.Entity): boolean; - /** - * Similar to {@link #spawnEntity(Entity)} except where multiple - * entities can be attempted to be spawned with a customary {@link Cause}. - * The recommended use is to easily process the entity spawns without - * interference with the cause tracking system. - */ - // @ts-ignore - public spawnEntities(entities: any): any[] /*java.util.Collection*/; - /** - * Gets the highest {@link Location} at this location. - */ - // @ts-ignore - public asHighestLocation(): org.spongepowered.api.world.Location; - // @ts-ignore - public remove(containerClass: any): org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - public remove(value: org.spongepowered.api.data.value.BaseValue): org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - public remove(key: org.spongepowered.api.data.key.Key): org.spongepowered.api.data.DataTransactionResult; - /** - * Gets a snapshot of this block at the current point in time. - *

A snapshot is disconnected from the {@link Extent} that it was taken - * from so changes to the original block do not affect the snapshot.

- */ - // @ts-ignore - public createSnapshot(): org.spongepowered.api.block.BlockSnapshot; - /** - * Gets a list of {@link ScheduledBlockUpdate}s on this block. - */ - // @ts-ignore - public getScheduledUpdates(): any[] /*java.util.Collection*/; - /** - * Adds a new {@link ScheduledBlockUpdate} to this block. - */ - // @ts-ignore - public addScheduledUpdate(priority: number, ticks: number): org.spongepowered.api.block.ScheduledBlockUpdate; - /** - * Removes a {@link ScheduledBlockUpdate} from this block. - */ - // @ts-ignore - public removeScheduledUpdate(update: org.spongepowered.api.block.ScheduledBlockUpdate): void; - // @ts-ignore - public getProperty(propertyClass: any): any; - // @ts-ignore - public getApplicableProperties(): any[] /*java.util.Collection*/; - // @ts-ignore - public validateRawData(container: org.spongepowered.api.data.DataView): boolean; - // @ts-ignore - public setRawData(container: org.spongepowered.api.data.DataView): void; - // @ts-ignore - public getContentVersion(): number; - // @ts-ignore - public toContainer(): org.spongepowered.api.data.DataContainer; - // @ts-ignore - public get(containerClass: any): any; - // @ts-ignore - public get(key: org.spongepowered.api.data.key.Key): any; - // @ts-ignore - public getOrCreate(containerClass: any): any; - // @ts-ignore - public offer(key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - public offer(valueHolders: any): org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - public offer(values: any, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - public offer(value: org.spongepowered.api.data.value.BaseValue): org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - public offer(valueContainer: org.spongepowered.api.data.manipulator.DataManipulator): org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - public offer(valueContainer: org.spongepowered.api.data.manipulator.DataManipulator, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - public undo(result: org.spongepowered.api.data.DataTransactionResult): org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - public supports(holderClass: any): boolean; - // @ts-ignore - public supports(key: org.spongepowered.api.data.key.Key): boolean; - // @ts-ignore - public transform(key: org.spongepowered.api.data.key.Key, func: any): org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - public copyFrom(that: org.spongepowered.api.data.DataHolder): org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - public copyFrom(that: org.spongepowered.api.data.DataHolder, strategy: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - // @ts-ignore - public getContainers(): any[] /*java.util.Collection*/; - // @ts-ignore - public getValue(key: org.spongepowered.api.data.key.Key): any; - // @ts-ignore - public copy(): org.spongepowered.api.world.Location; - // @ts-ignore - public getKeys(): any[] /*java.util.Set*/; - // @ts-ignore - public getValues(): any[] /*java.util.Set*/; - // @ts-ignore - public toString(): string; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public equals(other: any): boolean; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.PortalAgent.ts b/packages/sponge/src/typings/org.spongepowered.api.world.PortalAgent.ts deleted file mode 100644 index ef8a0a04..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.PortalAgent.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface PortalAgent { - /** - * Gets the search radius before a new acceptable "portal" location is - * created. - */ - // @ts-ignore - getSearchRadius(): number; - /** - * Sets the search radius before a new acceptable "portal" location is - * created. - */ - // @ts-ignore - setSearchRadius(radius: number): org.spongepowered.api.world.PortalAgent; - /** - * Gets the radius of where a "portal" can be created. - */ - // @ts-ignore - getCreationRadius(): number; - /** - * Sets the creation radius of where a portal may be created. - */ - // @ts-ignore - setCreationRadius(radius: number): org.spongepowered.api.world.PortalAgent; - /** - * Attempts to find a "portal" location, or if none are available, creates - * one. Returns {@link Optional#empty()} if none are found. - */ - // @ts-ignore - findOrCreatePortal(targetLocation: org.spongepowered.api.world.Location): any; - /** - * Attempts to find a "portal" location. Returns {@link Optional#empty()} if - * none are found. - */ - // @ts-ignore - findPortal(targetLocation: org.spongepowered.api.world.Location): any; - /** - * Tells this agent to create a new "portal" location at the suggested - * {@link Location}. - * If {@link org.spongepowered.api.event.block.ChangeBlockEvent.Place} - * is cancelled, {@link Optional#empty()} is returned. - *

Note: In order to adjust or prevent the {@link Location}'s of each - * {@link BlockState} set, listen to - * {@link org.spongepowered.api.event.block.ChangeBlockEvent.Place} and - * check for the root cause of this portal agent. - */ - // @ts-ignore - createPortal(targetLocation: org.spongepowered.api.world.Location): any; - /** - * Gets the type of {@link PortalAgent}. - */ - // @ts-ignore - getType(): org.spongepowered.api.world.PortalAgentType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.PortalAgentType.ts b/packages/sponge/src/typings/org.spongepowered.api.world.PortalAgentType.ts deleted file mode 100644 index 129e3637..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.PortalAgentType.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface PortalAgentType extends org.spongepowered.api.CatalogType { - /** - * Returns the {@link PortalAgent} class for this type. - */ - // @ts-ignore - getPortalAgentClass(): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.PortalAgentTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.world.PortalAgentTypes.ts deleted file mode 100644 index 601ed894..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.PortalAgentTypes.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - class PortalAgentTypes { - // @ts-ignore - public static DEFAULT: org.spongepowered.api.world.PortalAgentType; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.SerializationBehavior.ts b/packages/sponge/src/typings/org.spongepowered.api.world.SerializationBehavior.ts deleted file mode 100644 index 312c4b1f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.SerializationBehavior.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface SerializationBehavior extends org.spongepowered.api.CatalogType { - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.SerializationBehaviors.ts b/packages/sponge/src/typings/org.spongepowered.api.world.SerializationBehaviors.ts deleted file mode 100644 index 46872846..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.SerializationBehaviors.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - class SerializationBehaviors { - /** - * You should not be using this constructor, it will be made private in - * API 8. - */ - constructor() - // @ts-ignore - public static AUTOMATIC: org.spongepowered.api.world.SerializationBehavior; - // @ts-ignore - public static MANUAL: org.spongepowered.api.world.SerializationBehavior; - // @ts-ignore - public static NONE: org.spongepowered.api.world.SerializationBehavior; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.TeleportHelper.ts b/packages/sponge/src/typings/org.spongepowered.api.world.TeleportHelper.ts deleted file mode 100644 index d6e3d4b5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.TeleportHelper.ts +++ /dev/null @@ -1,75 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface TeleportHelper { - // @ts-ignore - DEFAULT_HEIGHT: number; - // @ts-ignore - DEFAULT_WIDTH: number; - // @ts-ignore - DEFAULT_FLOOR_CHECK_DISTANCE: number; - /** - * Gets the next safe {@link Location} around the given location. - *

Safe entails that the returned location will not be somewhere that - * would harm an {@link Entity}. This method will use the default height and - * width for a search area, and will check for a suitable floor up to two - * blocks below any selected block.

- *

It's possible the same location will be returned that was passed in. - * This means it was safe.

- */ - // @ts-ignore - getSafeLocation(location: org.spongepowered.api.world.Location): any; - /** - * Gets the next safe {@link Location} around the given location with a - * given tolerance and search radius. - *

Safe entails that the returned location will not be somewhere that - * would harm an {@link Entity}.

- *

It's possible the same location will be returned that was passed in. - * This means it was safe.

- *

This method will check for a suitable floor up to two blocks below - * any selected block.

- *

This method will use the default {@link TeleportHelperFilter}

- */ - // @ts-ignore - getSafeLocation(location: org.spongepowered.api.world.Location, height: number, width: number): any; - /** - * Gets the next safe {@link Location} around the given location with a - * given tolerance and search radius. - *

Safe entails that the returned location will not be somewhere that - * would harm an {@link Entity}.

- *

It's possible the same location will be returned that was passed in. - * This means it was safe.

- *

This method will use the default {@link TeleportHelperFilter} and will - * respect the blacklist.

- */ - // @ts-ignore - getSafeLocation(location: org.spongepowered.api.world.Location, height: number, width: number, floorDistance: number): any; - /** - * Gets the next safe {@link Location} around the given location with a - * given tolerance and search radius. - *

Safe entails that the returned location will not be somewhere that - * would harm an {@link Entity}.

- *

It's possible the same location will be returned that was passed in. - * This means it was safe.

- */ - // @ts-ignore - getSafeLocation(location: org.spongepowered.api.world.Location, height: number, width: number, floorDistance: number, filter: org.spongepowered.api.world.teleport.TeleportHelperFilter, additionalFilters: org.spongepowered.api.world.teleport.TeleportHelperFilter): any; - /** - * Gets the next safe {@link Location} around the given location with a - * given tolerance and search radius. - *

Safe entails that the returned location will not be somewhere that - * would harm an {@link Entity}.

- *

It's possible the same location will be returned that was passed in. - * This means it was safe.

- *

This method will use the defined blacklist, effectively an equivalent - * to adding {@link TeleportHelperFilters#CONFIG} to the filter set.

- */ - // @ts-ignore - getSafeLocationWithBlacklist(location: org.spongepowered.api.world.Location, height: number, width: number, floorDistance: number, filters: org.spongepowered.api.world.teleport.TeleportHelperFilter): any; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.World.ts b/packages/sponge/src/typings/org.spongepowered.api.world.World.ts deleted file mode 100644 index 3c5042cd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.World.ts +++ /dev/null @@ -1,266 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface World extends org.spongepowered.api.world.extent.Extent, org.spongepowered.api.world.weather.WeatherUniverse, org.spongepowered.api.effect.Viewer, org.spongepowered.api.service.context.ContextSource, org.spongepowered.api.text.channel.MessageReceiver, org.spongepowered.api.text.channel.ChatTypeMessageReceiver { - /** - * Gets an unmodifiable collection of {@link Player}s currently in this world. - */ - // @ts-ignore - getPlayers(): any[] /*java.util.Collection*/; - // @ts-ignore - getLocation(position: any /*Vector3i*/): org.spongepowered.api.world.Location; - // @ts-ignore - getLocation(x: number, y: number, z: number): org.spongepowered.api.world.Location; - // @ts-ignore - getLocation(position: any /*Vector3d*/): org.spongepowered.api.world.Location; - // @ts-ignore - getLocation(x: number, y: number, z: number): org.spongepowered.api.world.Location; - /** - * Gets a {@link LocatableBlock} for the desired {@link Vector3i} position. - */ - // @ts-ignore - getLocatableBlock(position: any /*Vector3i*/): org.spongepowered.api.world.LocatableBlock; - /** - * Gets a {@link LocatableBlock} for the desired {@code x, y, z} coordinates. - */ - // @ts-ignore - getLocatableBlock(x: number, y: number, z: number): org.spongepowered.api.world.LocatableBlock; - /** - * Gets the loaded chunk at the given block coordinate position. - */ - // @ts-ignore - getChunkAtBlock(blockPosition: any /*Vector3i*/): any; - /** - * Gets the loaded chunk at the given block coordinate position. - */ - // @ts-ignore - getChunkAtBlock(bx: number, by: number, bz: number): any; - /** - * Gets the loaded chunk at the given chunk coordinate position. - */ - // @ts-ignore - getChunk(chunkPosition: any /*Vector3i*/): any; - /** - * Gets the loaded chunk at the given chunk coordinate position. - *

In Vanilla, the y coordinate will always be 0.

- */ - // @ts-ignore - getChunk(cx: number, cy: number, cz: number): any; - /** - * Gets the chunk at the given chunk coordinate position if it exists or if - * {@code shouldGenerate} is true and the chunk is generated. - */ - // @ts-ignore - loadChunk(chunkPosition: any /*Vector3i*/, shouldGenerate: boolean): any; - /** - * Gets the chunk at the given chunk coordinate position if it exists or if - * {@code shouldGenerate} is true and the chunk is generated. - *

In Vanilla, the y coordinate will always be 0.

- */ - // @ts-ignore - loadChunk(cx: number, cy: number, cz: number, shouldGenerate: boolean): any; - /** - * Gets the chunk at the given chunk coordinate position if it exists or if - * {@code shouldGenerate} is true and the chunk is generated. - *

Unlike {@link #loadChunk(Vector3i, boolean)} this method allows the - * implementation to load the chunk asynchronously without blocking the - * main server thread. The {@link Future} will be called with the chunk once - * the operation was completed.

- *

Note: If asynchronous chunk loading is not supported by - * the implementation, the chunk will be loaded synchronously and the - * {@link Future} will be called immediately.

- */ - // @ts-ignore - loadChunkAsync(chunkPosition: any /*Vector3i*/, shouldGenerate: boolean): any; - /** - * Gets the chunk at the given chunk coordinate position if it exists or if - * {@code shouldGenerate} is true and the chunk is generated. - *

Unlike {@link #loadChunk(Vector3i, boolean)} this method allows the - * implementation to load the chunk asynchronously without blocking the - * main server thread. The {@link Future} will be called with the chunk once - * the operation was completed.

- *

Note: If asynchronous chunk loading is not supported by - * the implementation, the chunk will be loaded synchronously and the - * {@link Future} will be called immediately.

- */ - // @ts-ignore - loadChunkAsync(cx: number, cy: number, cz: number, shouldGenerate: boolean): any; - /** - * Regenerates a chunk at the given chunk coordinate position. - */ - // @ts-ignore - regenerateChunk(chunkPosition: any /*Vector3i*/): any; - /** - * Regenerates a chunk at the given chunk coordinates. - */ - // @ts-ignore - regenerateChunk(cx: number, cy: number, cz: number): any; - /** - * Regenerates a chunk at the given chunk coordinate position. - */ - // @ts-ignore - regenerateChunk(chunkPosition: any /*Vector3i*/, flag: org.spongepowered.api.world.ChunkRegenerateFlag): any; - /** - * Regenerates a chunk at the given chunk coordinates. - */ - // @ts-ignore - regenerateChunk(cx: number, cy: number, cz: number, flag: org.spongepowered.api.world.ChunkRegenerateFlag): any; - /** - * Unloads the given chunk from the world. Returns a {@code boolean} flag - * for whether the operation was successful. - */ - // @ts-ignore - unloadChunk(chunk: org.spongepowered.api.world.Chunk): boolean; - /** - * Returns a Collection of all actively loaded chunks in this world. - *

The ordering of the returned chunks is undefined.

- */ - // @ts-ignore - getLoadedChunks(): any; - /** - * Gets the entity whose {@link UUID} matches the provided id, possibly - * returning no entity if the entity is not loaded or non-existent. - *

For world implementations, only some parts of the world is usually - * loaded, so this method may return no entity if the entity is not - * loaded.

- */ - // @ts-ignore - getEntity(uuid: any): any; - /** - * Gets the world border for the world. - */ - // @ts-ignore - getWorldBorder(): org.spongepowered.api.world.WorldBorder; - /** - * Returns a new builder for creating a task to pre-generate the chunks - * inside a square border with a given center and diameter. - */ - // @ts-ignore - newChunkPreGenerate(center: any /*Vector3d*/, diameter: number): org.spongepowered.api.world.ChunkPreGenerate.Builder; - /** - * Returns the {@link Dimension} of this world. - */ - // @ts-ignore - getDimension(): org.spongepowered.api.world.Dimension; - /** - * Gets the {@link WorldGenerator} for this world. - *

Any changes made to the world generator will only affect newly - * generated chunks.

- */ - // @ts-ignore - getWorldGenerator(): org.spongepowered.api.world.gen.WorldGenerator; - /** - * Gets the properties for this world. - */ - // @ts-ignore - getProperties(): org.spongepowered.api.world.storage.WorldProperties; - /** - * Gets the {@link Path} pointing to the root of where the world's data - * is being stored. - */ - // @ts-ignore - getDirectory(): any; - /** - * Gets this {@link World}'s {@link UUID}. - */ - // @ts-ignore - getUniqueId(): any; - /** - * Gets the name of this {@link World world}. - */ - // @ts-ignore - getName(): string; - /** - * Gets the current {@link Difficulty}. - */ - // @ts-ignore - getDifficulty(): org.spongepowered.api.world.difficulty.Difficulty; - /** - * Gets a set game rule's current value, if available and set. - */ - // @ts-ignore - getGameRule(gameRule: string): any; - /** - * Gets the current {@link Map map} of game rules and their - * values. Most game rules can be found in {@link DefaultGameRules}. - */ - // @ts-ignore - getGameRules(): Map /*java.util.Map*/; - /** - * Gets whether the spawn chunks should remain loaded. - */ - // @ts-ignore - doesKeepSpawnLoaded(): boolean; - /** - * Sets whether the spawn chunks should remain loaded. - */ - // @ts-ignore - setKeepSpawnLoaded(keepLoaded: boolean): void; - /** - * Gets the {@link Location} of the spawn point. - */ - // @ts-ignore - getSpawnLocation(): org.spongepowered.api.world.Location; - /** - * Gets the {@link SerializationBehavior} to use. - */ - // @ts-ignore - getSerializationBehavior(): org.spongepowered.api.world.SerializationBehavior; - /** - * Sets the {@link SerializationBehavior} for use. - */ - // @ts-ignore - setSerializationBehavior(behavior: org.spongepowered.api.world.SerializationBehavior): void; - /** - * Gets the associated {@link WorldStorage} persisting this world. - */ - // @ts-ignore - getWorldStorage(): org.spongepowered.api.world.storage.WorldStorage; - /** - * Causes an {@link Explosion} in a world. - */ - // @ts-ignore - triggerExplosion(explosion: org.spongepowered.api.world.explosion.Explosion): void; - /** - * Gets the portal agent, used for manipulating teleporters. - */ - // @ts-ignore - getPortalAgent(): org.spongepowered.api.world.PortalAgent; - /** - * Gets the sea level of the world. - */ - // @ts-ignore - getSeaLevel(): number; - // @ts-ignore - getBiomeWorker(): org.spongepowered.api.world.extent.worker.MutableBiomeVolumeWorker; - // @ts-ignore - getBlockWorker(): org.spongepowered.api.world.extent.worker.MutableBlockVolumeWorker; - /** - * Instructs the world to save all data. - */ - // @ts-ignore - save(): boolean; - /** - * Gets the view distance (in chunks) for this world. - */ - // @ts-ignore - getViewDistance(): number; - /** - * Sets the view distance (in chunks) for this world. - *

The view distance must be greater than or equal to 3, - * and less than or equal to 32.

- */ - // @ts-ignore - setViewDistance(viewDistance: number): void; - /** - * Resets the view distance to the default value for this world. - */ - // @ts-ignore - resetViewDistance(): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.WorldArchetype.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.WorldArchetype.Builder.ts deleted file mode 100644 index 81c9ee02..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.WorldArchetype.Builder.ts +++ /dev/null @@ -1,133 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace WorldArchetype { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets enabled status. Built worlds who are enabled but unloaded may - * be loaded automatically if an attempt is made to transfer an entity - * to the world using {@link Entity#transferToWorld} . - */ - // @ts-ignore - enabled(state: boolean): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets whether to load when the server starts. - */ - // @ts-ignore - loadsOnStartup(state: boolean): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets whether the spawn chunks should remain loaded when - * no players are present. - */ - // @ts-ignore - keepsSpawnLoaded(state: boolean): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets whether the spawn chunks generate on load. - */ - // @ts-ignore - generateSpawnOnLoad(state: boolean): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets the seed. See {@link #randomSeed()} if a random seed is desired. - */ - // @ts-ignore - seed(seed: number): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets the seed to be randomized for each world created. - */ - // @ts-ignore - randomSeed(): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets the default {@link GameMode}. If not specified this - * will default to {@link GameModes#SURVIVAL}. - */ - // @ts-ignore - gameMode(gameMode: org.spongepowered.api.entity.living.player.gamemode.GameMode): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets the generator type. If not specified this will default - * to {@link GeneratorTypes#DEFAULT} - */ - // @ts-ignore - generator(type: org.spongepowered.api.world.GeneratorType): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets the generator modifiers. - */ - // @ts-ignore - generatorModifiers(modifier: org.spongepowered.api.world.gen.WorldGeneratorModifier): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets the dimension type. - */ - // @ts-ignore - dimension(type: org.spongepowered.api.world.DimensionType): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets the difficulty. - */ - // @ts-ignore - difficulty(difficulty: org.spongepowered.api.world.difficulty.Difficulty): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets whether this should generate map features such as villages - * and strongholds. If not specified this will default to true. - */ - // @ts-ignore - usesMapFeatures(state: boolean): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets whether hardcore mode is enabled. On servers this will cause - * players to be banned upon death, on clients the world will be - * deleted! If not specified this will default to false. - */ - // @ts-ignore - hardcore(state: boolean): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets any extra settings required by the {@link GeneratorType} or by - * the {@link WorldGeneratorModifier}s. If not specified these will - * default to the settings within {@link GeneratorType#getGeneratorSettings()}. - */ - // @ts-ignore - generatorSettings(settings: org.spongepowered.api.data.DataContainer): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets the desired {@link PortalAgentType} for the world. - */ - // @ts-ignore - portalAgent(type: org.spongepowered.api.world.PortalAgentType): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets whether PVP combat is enabled in this world. - */ - // @ts-ignore - pvp(state: boolean): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets whether commands are allowed to be executed. - */ - // @ts-ignore - commandsAllowed(state: boolean): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets whether the bonus chest should be created. - */ - // @ts-ignore - generateBonusChest(state: boolean): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Sets the serialization behavior that will be used when saving. - */ - // @ts-ignore - serializationBehavior(behavior: org.spongepowered.api.world.SerializationBehavior): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Fills this {@link Builder} for creating {@link WorldArchetype}s, - * the builder is then seeded with the values from the given - * {@link WorldProperties} object. - */ - // @ts-ignore - from(properties: org.spongepowered.api.world.storage.WorldProperties): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Builds the {@link WorldArchetype} which can be used to create - * a {@link World} in {@link Server#createWorldProperties(String, WorldArchetype)}. - *

This will also register the settings as a new type in the - * {@link GameRegistry}.

- */ - // @ts-ignore - build(id: string, name: string): org.spongepowered.api.world.WorldArchetype; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.WorldArchetype.ts b/packages/sponge/src/typings/org.spongepowered.api.world.WorldArchetype.ts deleted file mode 100644 index 0448f905..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.WorldArchetype.ts +++ /dev/null @@ -1,117 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface WorldArchetype extends org.spongepowered.api.CatalogType { - /** - * Gets a new Builder instance for {@link WorldArchetype}. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.WorldArchetype.Builder; - /** - * Gets enabled status. Built worlds who are enabled but unloaded may - * be loaded automatically if an attempt is made to transfer an entity - * to the world using {@link Entity#transferToWorld} . - */ - // @ts-ignore - isEnabled(): boolean; - /** - * Gets whether to load when the server starts. - */ - // @ts-ignore - loadOnStartup(): boolean; - /** - * Gets whether spawn chunks remain loaded when no players are present. - */ - // @ts-ignore - doesKeepSpawnLoaded(): boolean; - /** - * Gets whether spawn chunks will generate on load. - */ - // @ts-ignore - doesGenerateSpawnOnLoad(): boolean; - /** - * Gets the seed. - */ - // @ts-ignore - getSeed(): number; - /** - * Gets if the seed will be randomized for each world generated. - */ - // @ts-ignore - isSeedRandomized(): boolean; - /** - * Gets the gamemode. - */ - // @ts-ignore - getGameMode(): org.spongepowered.api.entity.living.player.gamemode.GameMode; - /** - * Gets the generator type. - */ - // @ts-ignore - getGeneratorType(): org.spongepowered.api.world.GeneratorType; - /** - * Gets an immutable collection of the world generator modifiers. - */ - // @ts-ignore - getGeneratorModifiers(): any[] /*java.util.Collection*/; - /** - * Gets whether map features are enabled. - *

Examples include Villages, Temples, etc.

- */ - // @ts-ignore - usesMapFeatures(): boolean; - /** - * Gets whether hardcore mode is enabled. - */ - // @ts-ignore - isHardcore(): boolean; - /** - * Gets whether commands are allowed. - */ - // @ts-ignore - areCommandsAllowed(): boolean; - /** - * Gets whether the bonus chest should be generated. - *

This only applies on the initial load of the {@link World} - * created via the {@link WorldProperties} created from this settings.

- */ - // @ts-ignore - doesGenerateBonusChest(): boolean; - /** - * Gets the dimension type. - */ - // @ts-ignore - getDimensionType(): org.spongepowered.api.world.DimensionType; - /** - * Gets the {@link PortalAgentType} for the world. - */ - // @ts-ignore - getPortalAgentType(): org.spongepowered.api.world.PortalAgentType; - /** - * Gets the difficulty. - */ - // @ts-ignore - getDifficulty(): org.spongepowered.api.world.difficulty.Difficulty; - /** - * Gets whether PVP combat is enabled. - */ - // @ts-ignore - isPVPEnabled(): boolean; - /** - * Gets a {@link DataContainer} of any extra settings required by the - * generator. - */ - // @ts-ignore - getGeneratorSettings(): org.spongepowered.api.data.DataContainer; - /** - * Gets the {@link SerializationBehavior} that worlds built from this will use. - */ - // @ts-ignore - getSerializationBehavior(): org.spongepowered.api.world.SerializationBehavior; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.WorldArchetypes.ts b/packages/sponge/src/typings/org.spongepowered.api.world.WorldArchetypes.ts deleted file mode 100644 index 93f38cae..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.WorldArchetypes.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - class WorldArchetypes { - // @ts-ignore - public static OVERWORLD: org.spongepowered.api.world.WorldArchetype; - // @ts-ignore - public static THE_NETHER: org.spongepowered.api.world.WorldArchetype; - // @ts-ignore - public static THE_END: org.spongepowered.api.world.WorldArchetype; - // @ts-ignore - public static THE_SKYLANDS: org.spongepowered.api.world.WorldArchetype; - // @ts-ignore - public static THE_VOID: org.spongepowered.api.world.WorldArchetype; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.WorldBorder.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.WorldBorder.Builder.ts deleted file mode 100644 index 7e1fa8bb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.WorldBorder.Builder.ts +++ /dev/null @@ -1,54 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace WorldBorder { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Copies the required data from the passed {@code WorldBorder}. - */ - // @ts-ignore - from(border: org.spongepowered.api.world.WorldBorder): org.spongepowered.api.world.WorldBorder.Builder; - /** - * Sets the diameter of this world border. - */ - // @ts-ignore - diameter(diameter: number): org.spongepowered.api.world.WorldBorder.Builder; - /** - * Sets the centre of this world border. - */ - // @ts-ignore - center(x: number, z: number): org.spongepowered.api.world.WorldBorder.Builder; - /** - * Sets the warning time of this world border. - */ - // @ts-ignore - warningTime(time: number): org.spongepowered.api.world.WorldBorder.Builder; - /** - * Sets the warning distance of this world border. - */ - // @ts-ignore - warningDistance(distance: number): org.spongepowered.api.world.WorldBorder.Builder; - /** - * Sets the damage threshold of this world border. - */ - // @ts-ignore - damageThreshold(distance: number): org.spongepowered.api.world.WorldBorder.Builder; - /** - * Sets the damage amount of this world border. - */ - // @ts-ignore - damageAmount(damage: number): org.spongepowered.api.world.WorldBorder.Builder; - /** - * Builds the world border from the information given. If no information - * is given, a {@code WorldBorder} with default properties is built. - */ - // @ts-ignore - build(): org.spongepowered.api.world.WorldBorder; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.WorldBorder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.WorldBorder.ts deleted file mode 100644 index 0982984f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.WorldBorder.ts +++ /dev/null @@ -1,142 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - // @ts-ignore - interface WorldBorder { - /** - * Creates a new {@link Builder} instance for making {@link WorldBorder}s. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.WorldBorder.Builder; - /** - * Gets the diameter the world border is expanding or contracting to. - *

This will return the same value as {@link #getDiameter} unless - * {@link #getTimeRemaining} is greater than 0.

- */ - // @ts-ignore - getNewDiameter(): number; - /** - * Gets the diameter of the world border. - *

The returned diameter applies to the x and z axis. The world border - * extends over the entire y-axis.

- */ - // @ts-ignore - getDiameter(): number; - /** - * Sets the diameter of the world border. - *

The specified diameter applies to the x and z axis. The world border - * extends over the entire y-axis.

- */ - // @ts-ignore - setDiameter(diameter: number): void; - /** - * Sets the diameter of the world border, over the given period of time. - *

The world border diameter increases/decrease linearly over the - * specified time. The specified diameter applies to the x and z axis. The - * world border extends over the entire y-axis.

- */ - // @ts-ignore - setDiameter(diameter: number, time: number): void; - /** - * Sets the starting diameter and the ending diameter of the world border, - * over the given period of time. - *

The world border diameter increases/diameter linearly over the - * specified time. The specified diameter applies to the x and z axis. The - * world border extends over the entire y-axis.

- */ - // @ts-ignore - setDiameter(startDiameter: number, endDiameter: number, time: number): void; - /** - * Gets the time remaining until the world border stops expanding or - * contracting. - */ - // @ts-ignore - getTimeRemaining(): number; - /** - * Sets the center of the world border. - */ - // @ts-ignore - setCenter(x: number, z: number): void; - /** - * Gets the center of the world border. - *

The returned position is three-dimensional. As the world border - * extends over the entire y-axis, the returned position will always have a - * {@code y} set to 0.

- */ - // @ts-ignore - getCenter(): any /*Vector3d*/; - /** - * Gets the time when a contracting world border will warn a player for whom - * the world border will reach in {@code time} seconds. - *

In Minecraft, the warning is displayed in the form of a reddish - * tint.

- */ - // @ts-ignore - getWarningTime(): number; - /** - * Sets the time when a contracting world border will warn a player for whom - * the world border will reach in {@code time} seconds. - *

In Minecraft, the warning is displayed in the form of a reddish - * tint.

- */ - // @ts-ignore - setWarningTime(time: number): void; - /** - * Gets the distance when a contracting world border will warn a player for - * whom the world border is {@code distance} blocks away. - *

In Minecraft, the warning is displayed in the form of a reddish - * tint.

- */ - // @ts-ignore - getWarningDistance(): number; - /** - * Sets the distance when a contracting world border will warn a player for - * whom the world border is {@code distance} blocks away. - *

In Minecraft, the warning is displayed in the form of a reddish - * tint.

- */ - // @ts-ignore - setWarningDistance(distance: number): void; - /** - * Gets the distance a player may be outside the world border before taking - * damage. - */ - // @ts-ignore - getDamageThreshold(): number; - /** - * Sets the distance a player may be be outside the world border before - * taking damage. - */ - // @ts-ignore - setDamageThreshold(distance: number): void; - /** - * Gets the damage done to a player per block per tick when outside the - * buffer. - */ - // @ts-ignore - getDamageAmount(): number; - /** - * Sets the damage done to a player per block per tick when outside the - * buffer. - */ - // @ts-ignore - setDamageAmount(damage: number): void; - /** - * Returns a new builder for creating a task to pre-generate the chunks - * inside the border. The current state of the border is "snapshotted" for - * the builder. It is not backed by this instance. If the border size is - * changing then the target size is used. - */ - // @ts-ignore - newChunkPreGenerate(world: org.spongepowered.api.world.World): org.spongepowered.api.world.ChunkPreGenerate.Builder; - /** - * Copies the properties of the passed border onto this border. - */ - // @ts-ignore - copyPropertiesFrom(border: org.spongepowered.api.world.WorldBorder): void; - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeGenerationSettings.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeGenerationSettings.Builder.ts deleted file mode 100644 index 6f91ddc5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeGenerationSettings.Builder.ts +++ /dev/null @@ -1,60 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace biome { - namespace BiomeGenerationSettings { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the min height for the biome. - */ - // @ts-ignore - minHeight(height: number): org.spongepowered.api.world.biome.BiomeGenerationSettings.Builder; - /** - * Sets the max height for the biome. - */ - // @ts-ignore - maxHeight(height: number): org.spongepowered.api.world.biome.BiomeGenerationSettings.Builder; - /** - * Sets the ground cover layers. - */ - // @ts-ignore - groundCover(coverLayers: org.spongepowered.api.world.biome.GroundCoverLayer): org.spongepowered.api.world.biome.BiomeGenerationSettings.Builder; - /** - * Sets the ground cover layers. - */ - // @ts-ignore - groundCover(coverLayers: any): org.spongepowered.api.world.biome.BiomeGenerationSettings.Builder; - /** - * Sets the generation populators. - */ - // @ts-ignore - generationPopulators(genpop: org.spongepowered.api.world.gen.GenerationPopulator): org.spongepowered.api.world.biome.BiomeGenerationSettings.Builder; - /** - * Sets the generation populators. - */ - // @ts-ignore - generationPopulators(genpop: any): org.spongepowered.api.world.biome.BiomeGenerationSettings.Builder; - /** - * Sets the populators. - */ - // @ts-ignore - populators(populators: org.spongepowered.api.world.gen.Populator): org.spongepowered.api.world.biome.BiomeGenerationSettings.Builder; - /** - * Sets the populators. - */ - // @ts-ignore - populators(populators: any): org.spongepowered.api.world.biome.BiomeGenerationSettings.Builder; - /** - * Creates a new set of {@link BiomeGenerationSettings}s. - */ - // @ts-ignore - build(): org.spongepowered.api.world.biome.BiomeGenerationSettings; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeGenerationSettings.ts b/packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeGenerationSettings.ts deleted file mode 100644 index 53970ef6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeGenerationSettings.ts +++ /dev/null @@ -1,78 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace biome { - // @ts-ignore - interface BiomeGenerationSettings { - /** - * Gets a new builder for creating new BiomeGenerationSettings. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.biome.BiomeGenerationSettings.Builder; - /** - * Gets the minimum terrain height of this biome. - */ - // @ts-ignore - getMinHeight(): number; - /** - * Sets the minimum terrain height of this biome. - */ - // @ts-ignore - setMinHeight(height: number): void; - /** - * Gets the maximum terrain height of this biome. - */ - // @ts-ignore - getMaxHeight(): number; - /** - * Sets the maximum terrain height of this biome. - */ - // @ts-ignore - setMaxHeight(height: number): void; - /** - * Gets a mutable ordered list of {@link GroundCoverLayer}s. These layers - * will be applied to the base terrain during the generation phase starting - * at the topmost stone block in each column. - */ - // @ts-ignore - getGroundCoverLayers(): any[] /*java.util.List*/; - /** - * Gets a mutable list of {@link GenerationPopulator}s. These populators - * work strictly on a single chunk. They will be executed directly after the - * {@link #getGroundCoverLayers() ground cover layers} are applied. These - * generation populators are typically used to generate large terrain - * features, like caves and ravines. - */ - // @ts-ignore - getGenerationPopulators(): any[] /*java.util.List*/; - /** - * Gets an immutable list of {@link GenerationPopulator}s matching the given - * class type. - */ - // @ts-ignore - getGenerationPopulators(type: any): any[] /*java.util.List*/; - /** - * Returns a mutable list of {@link Populator}s specific to this biome. - * Changing this list will affect population of all new chunks. - */ - // @ts-ignore - getPopulators(): any[] /*java.util.List*/; - /** - * Returns an immutable list of {@link Populator}s specific to this biome - * which match the given class type. - */ - // @ts-ignore - getPopulators(type: any): any[] /*java.util.List*/; - /** - * Returns a new biome generation settings which is a copy of this set of - * generation settings at this point in time. - */ - // @ts-ignore - copy(): org.spongepowered.api.world.biome.BiomeGenerationSettings; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeType.ts b/packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeType.ts deleted file mode 100644 index d866c530..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeType.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace biome { - // @ts-ignore - interface BiomeType extends org.spongepowered.api.CatalogType { - /** - * Gets the temperature of this biome. - */ - // @ts-ignore - getTemperature(): number; - /** - * Gets the humidity of this biome. - */ - // @ts-ignore - getHumidity(): number; - /** - * Gets the default generation settings of this biome for the given world. - */ - // @ts-ignore - createDefaultGenerationSettings(world: org.spongepowered.api.world.World): org.spongepowered.api.world.biome.BiomeGenerationSettings; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeTypes.ts deleted file mode 100644 index 51ceba84..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.biome.BiomeTypes.ts +++ /dev/null @@ -1,137 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace biome { - // @ts-ignore - class BiomeTypes { - // @ts-ignore - public static BEACH: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static BIRCH_FOREST: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static BIRCH_FOREST_HILLS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static COLD_BEACH: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static COLD_TAIGA: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static COLD_TAIGA_HILLS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static DEEP_OCEAN: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static DESERT: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static DESERT_HILLS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static EXTREME_HILLS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static EXTREME_HILLS_EDGE: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static EXTREME_HILLS_PLUS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static FOREST: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static FOREST_HILLS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static FROZEN_OCEAN: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static FROZEN_RIVER: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static HELL: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static ICE_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static ICE_PLAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static JUNGLE: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static JUNGLE_EDGE: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static JUNGLE_HILLS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static MEGA_TAIGA: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static MEGA_TAIGA_HILLS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static MESA: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static MESA_PLATEAU: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static MESA_PLATEAU_FOREST: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static MUSHROOM_ISLAND: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static MUSHROOM_ISLAND_SHORE: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static OCEAN: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static PLAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static RIVER: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static ROOFED_FOREST: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static SAVANNA: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static SAVANNA_PLATEAU: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static SKY: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static STONE_BEACH: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static SWAMPLAND: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static TAIGA: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static TAIGA_HILLS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static BIRCH_FOREST_HILLS_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static BIRCH_FOREST_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static COLD_TAIGA_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static DESERT_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static EXTREME_HILLS_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static EXTREME_HILLS_PLUS_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static FLOWER_FOREST: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static ICE_PLAINS_SPIKES: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static JUNGLE_EDGE_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static JUNGLE_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static MEGA_SPRUCE_TAIGA: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static MEGA_SPRUCE_TAIGA_HILLS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static MESA_BRYCE: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static MESA_PLATEAU_FOREST_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static MESA_PLATEAU_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static ROOFED_FOREST_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static SAVANNA_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static SAVANNA_PLATEAU_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static SUNFLOWER_PLAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static SWAMPLAND_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static TAIGA_MOUNTAINS: org.spongepowered.api.world.biome.BiomeType; - // @ts-ignore - public static VOID: org.spongepowered.api.world.biome.BiomeType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.biome.GroundCoverLayer.ts b/packages/sponge/src/typings/org.spongepowered.api.world.biome.GroundCoverLayer.ts deleted file mode 100644 index 5b7335d3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.biome.GroundCoverLayer.ts +++ /dev/null @@ -1,73 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace biome { - // @ts-ignore - class GroundCoverLayer { - /** - * Creates a new {@link GroundCoverLayer}. - */ - constructor(block: org.spongepowered.api.block.BlockState, depth: org.spongepowered.api.util.weighted.SeededVariableAmount) - /** - * Creates a new {@link GroundCoverLayer}. - */ - constructor(block: any, depth: org.spongepowered.api.util.weighted.SeededVariableAmount) - /** - * Gets the {@link BlockState} for this layer. - */ - // @ts-ignore - public getBlockState(): any; - /** - * Sets the function which is used to determine the blockstate to place at - * this layer. The input to the function is a noise value. - */ - // @ts-ignore - public setBlockState(block: any): void; - /** - * Sets the {@link BlockState} for this layer. - */ - // @ts-ignore - public setBlockState(block: org.spongepowered.api.block.BlockState): void; - /** - * Gets a representation of the depth of this layer. The variable amount - * will be seeded with the stone noise at generation time. - */ - // @ts-ignore - public getDepth(): org.spongepowered.api.util.weighted.SeededVariableAmount; - /** - * Gets a representation of the depth of this layer. The variable amount - * will be seeded with the stone noise at generation time. This depth may - * vary based on the Y position. - */ - // @ts-ignore - public getDepth(topYCoordinate: number): org.spongepowered.api.util.weighted.SeededVariableAmount; - /** - * Sets the {@link SeededVariableAmount} representing the depth of this - * layer. The variable amount will be seeded with the stone noise at - * generation time. - */ - // @ts-ignore - public setDepth(depth: org.spongepowered.api.util.weighted.SeededVariableAmount): void; - /** - * Sets the {@link VariableAmount} representing the depth of this layer. - */ - // @ts-ignore - public setDepth(depth: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the depth of this layer to the given constant value. - */ - // @ts-ignore - public setDepth(depth: number): void; - // @ts-ignore - public toString(): string; - // @ts-ignore - public equals(obj: any): boolean; - // @ts-ignore - public hashCode(): number; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.biome.VirtualBiomeType.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.biome.VirtualBiomeType.Builder.ts deleted file mode 100644 index 4a66fb03..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.biome.VirtualBiomeType.Builder.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace biome { - namespace VirtualBiomeType { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the name of the new virtual biome. - */ - // @ts-ignore - name(name: string): org.spongepowered.api.world.biome.VirtualBiomeType.Builder; - /** - * Sets the temperature of the virtual biome. - */ - // @ts-ignore - temperature(temp: number): org.spongepowered.api.world.biome.VirtualBiomeType.Builder; - /** - * Sets the humidity of the virtual biome. - */ - // @ts-ignore - humidity(humidity: number): org.spongepowered.api.world.biome.VirtualBiomeType.Builder; - /** - * Sets the {@link BiomeType} that this virtual biome is persisted as - * after generation is complete. - */ - // @ts-ignore - persistedType(biome: org.spongepowered.api.world.biome.BiomeType): org.spongepowered.api.world.biome.VirtualBiomeType.Builder; - /** - * Sets the function used for creating new - * {@link BiomeGenerationSettings}s for this virtual biome. - */ - // @ts-ignore - settingsBuilder(settingsBuilder: any): org.spongepowered.api.world.biome.VirtualBiomeType.Builder; - /** - * Builds a new {@link VirtualBiomeType} with the given unique id. - */ - // @ts-ignore - build(id: string): org.spongepowered.api.world.biome.VirtualBiomeType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.biome.VirtualBiomeType.ts b/packages/sponge/src/typings/org.spongepowered.api.world.biome.VirtualBiomeType.ts deleted file mode 100644 index 3a6cfc9f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.biome.VirtualBiomeType.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace biome { - // @ts-ignore - interface VirtualBiomeType extends org.spongepowered.api.world.biome.BiomeType { - /** - * Gets a new builder for creating new VirtualBiomeTypes. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.biome.VirtualBiomeType.Builder; - /** - * Gets the biome type which this virtual biome is persisted as. - */ - // @ts-ignore - getPersistedType(): org.spongepowered.api.world.biome.BiomeType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.difficulty.Difficulties.ts b/packages/sponge/src/typings/org.spongepowered.api.world.difficulty.Difficulties.ts deleted file mode 100644 index 90a3d4ff..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.difficulty.Difficulties.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace difficulty { - // @ts-ignore - class Difficulties { - // @ts-ignore - public static EASY: org.spongepowered.api.world.difficulty.Difficulty; - // @ts-ignore - public static HARD: org.spongepowered.api.world.difficulty.Difficulty; - // @ts-ignore - public static NORMAL: org.spongepowered.api.world.difficulty.Difficulty; - // @ts-ignore - public static PEACEFUL: org.spongepowered.api.world.difficulty.Difficulty; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.difficulty.Difficulty.ts b/packages/sponge/src/typings/org.spongepowered.api.world.difficulty.Difficulty.ts deleted file mode 100644 index 39951182..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.difficulty.Difficulty.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace difficulty { - // @ts-ignore - interface Difficulty extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.explosion.Explosion.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.explosion.Explosion.Builder.ts deleted file mode 100644 index 237e52b4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.explosion.Explosion.Builder.ts +++ /dev/null @@ -1,55 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace explosion { - namespace Explosion { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the location origin of the explosion. - */ - // @ts-ignore - location(location: org.spongepowered.api.world.Location): org.spongepowered.api.world.explosion.Explosion.Builder; - /** - * Sets the source explosive of the explosion. - */ - // @ts-ignore - sourceExplosive(source: org.spongepowered.api.entity.explosive.Explosive): org.spongepowered.api.world.explosion.Explosion.Builder; - /** - * Sets the radius of the explosion. - */ - // @ts-ignore - radius(radius: number): org.spongepowered.api.world.explosion.Explosion.Builder; - /** - * Sets whether the affected blocks have a chance to catch on fire. - */ - // @ts-ignore - canCauseFire(fire: boolean): org.spongepowered.api.world.explosion.Explosion.Builder; - /** - * Sets whether the explosion will damage entities nearby. - */ - // @ts-ignore - shouldDamageEntities(damage: boolean): org.spongepowered.api.world.explosion.Explosion.Builder; - /** - * Sets whether the explosion will have smoke particles. - */ - // @ts-ignore - shouldPlaySmoke(smoke: boolean): org.spongepowered.api.world.explosion.Explosion.Builder; - /** - * Sets whether the affected blocks should be destroyed on explosion. - */ - // @ts-ignore - shouldBreakBlocks(destroy: boolean): org.spongepowered.api.world.explosion.Explosion.Builder; - /** - * Attempts to create a {@link Explosion} from the specified parameters. - */ - // @ts-ignore - build(): org.spongepowered.api.world.explosion.Explosion; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.explosion.Explosion.ts b/packages/sponge/src/typings/org.spongepowered.api.world.explosion.Explosion.ts deleted file mode 100644 index dc74c6c1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.explosion.Explosion.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace explosion { - // @ts-ignore - interface Explosion extends org.spongepowered.api.world.Locatable { - /** - * Creates a new {@link Builder} to build a {@link Explosion}. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.explosion.Explosion.Builder; - /** - * Gets the source {@link Explosive} of the explosion. - */ - // @ts-ignore - getSourceExplosive(): any; - /** - * Gets the radius of the explosion. - */ - // @ts-ignore - getRadius(): number; - /** - * Gets whether the affected blocks have a chance to catch on fire. - */ - // @ts-ignore - canCauseFire(): boolean; - /** - * Gets whether the explosion will play a smoke effect. - */ - // @ts-ignore - shouldPlaySmoke(): boolean; - /** - * Gets whether the affected blocks should be destroyed on explosion. - */ - // @ts-ignore - shouldBreakBlocks(): boolean; - /** - * Gets whether this explosion will damage entities. - */ - // @ts-ignore - shouldDamageEntities(): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.ArchetypeVolume.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.ArchetypeVolume.ts deleted file mode 100644 index c553103c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.ArchetypeVolume.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface ArchetypeVolume extends org.spongepowered.api.world.extent.MutableBlockVolume { - /** - * Applies this archetype at the given location. The archetype will be - * mapped onto the given world such that the origin on the archetype lines - * up with the given position. - */ - // @ts-ignore - apply(location: org.spongepowered.api.world.Location, changeFlag: org.spongepowered.api.world.BlockChangeFlag): void; - /** - * Gets the {@link TileEntityArchetype} for the tile entity carrying block - * at the given coordinates. - */ - // @ts-ignore - getTileEntityArchetype(x: number, y: number, z: number): any; - /** - * Gets the {@link TileEntityArchetype} for the tile entity carrying block - * at the given coordinates. - */ - // @ts-ignore - getTileEntityArchetype(position: any /*Vector3i*/): any; - /** - * Gets a map containing all tile entity archetypes within this volume, - * keyed by their positions within the volume. - */ - // @ts-ignore - getTileEntityArchetypes(): Map /*java.util.Map*/; - // @ts-ignore - getEntityArchetype(x: number, y: number, z: number): any; - // @ts-ignore - getEntitiesByPosition(): any; - // @ts-ignore - getEntityArchetypes(): any[] /*java.util.Collection*/; - // @ts-ignore - getBlockWorker(): org.spongepowered.api.world.extent.worker.MutableBlockVolumeWorker; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.BiomeVolume.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.BiomeVolume.ts deleted file mode 100644 index 419149d6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.BiomeVolume.ts +++ /dev/null @@ -1,105 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface BiomeVolume { - /** - * Gets the biome location with the lowest x and y that is still a valid - * position for {@link #getBiome(Vector3i)}. - */ - // @ts-ignore - getBiomeMin(): any /*Vector3i*/; - /** - * Gets the biome location with the highest x and y that is still a valid - * position for {@link #getBiome(Vector3i)}. - */ - // @ts-ignore - getBiomeMax(): any /*Vector3i*/; - /** - * Gets the size of the volume. Defined as {@link #getBiomeMax()} - - * {@link #getBiomeMin()} + (1, 1). - */ - // @ts-ignore - getBiomeSize(): any /*Vector3i*/; - /** - * Returns true if the biome volume contains a biome at the specified - * position. This is defined as {{@link #getBiomeMin()} <= position - * <= {@link #getBiomeMax()} - */ - // @ts-ignore - containsBiome(position: any /*Vector3i*/): boolean; - /** - * Returns true if the biome volume contains a biome at the specified - * position. This is defined as {{@link #getBiomeMin()} <= (x, y, z) - * <= {@link #getBiomeMax()} - */ - // @ts-ignore - containsBiome(x: number, y: number, z: number): boolean; - /** - * Gets an object representing the biome at the given position. - */ - // @ts-ignore - getBiome(position: any /*Vector3i*/): org.spongepowered.api.world.biome.BiomeType; - /** - * Gets the {@link BiomeType} at the given location. - */ - // @ts-ignore - getBiome(x: number, y: number, z: number): org.spongepowered.api.world.biome.BiomeType; - /** - * Returns a new volume that is the same or smaller than the current volume. - * This does not copy the biomes, it only provides a new view of the - * storage. - */ - // @ts-ignore - getBiomeView(newMin: any /*Vector3i*/, newMax: any /*Vector3i*/): org.spongepowered.api.world.extent.BiomeVolume; - /** - * Returns a new volume that is viewed through some transformation. This - * does not copy the biomes, it only provides a new view of the storage. - */ - // @ts-ignore - getBiomeView(transform: org.spongepowered.api.util.DiscreteTransform3): org.spongepowered.api.world.extent.BiomeVolume; - /** - * Returns a new volume that is translated so that - * {@link BiomeVolume#getBiomeMin()} returns {@link Vector2i#ZERO}. This - * does not copy the biomes, it only provides a new view of the storage. - */ - // @ts-ignore - getRelativeBiomeView(): org.spongepowered.api.world.extent.BiomeVolume; - /** - * Returns a new volume that cannot be modified through this view. Unlike - * immutable storage, it can be changed by holders of mutable views. This - * does not copy the biomes, it only provides a new view of the storage. - */ - // @ts-ignore - getUnmodifiableBiomeView(): org.spongepowered.api.world.extent.UnmodifiableBiomeVolume; - /** - * Returns a mutable copy of the biomes stored in this volume. This uses the - * default storage type of {@link StorageType#STANDARD}. - */ - // @ts-ignore - getBiomeCopy(): org.spongepowered.api.world.extent.MutableBiomeVolume; - /** - * Returns a mutable copy of the biomes stored in this volume. This uses the - * provided storage type. - */ - // @ts-ignore - getBiomeCopy(type: org.spongepowered.api.world.extent.StorageType): org.spongepowered.api.world.extent.MutableBiomeVolume; - /** - * Returns an immutable copy of the biomes stored in this volume. This uses - * some internal storage solution that is thread-safe by nature. - */ - // @ts-ignore - getImmutableBiomeCopy(): org.spongepowered.api.world.extent.ImmutableBiomeVolume; - /** - * Gets a new biome worker for this biome volume. - */ - // @ts-ignore - getBiomeWorker(): org.spongepowered.api.world.extent.worker.BiomeVolumeWorker; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.BlockVolume.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.BlockVolume.ts deleted file mode 100644 index 105d4c0f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.BlockVolume.ts +++ /dev/null @@ -1,119 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface BlockVolume { - /** - * Gets the block location with the lowest x, y and z that is still a valid - * position for {@link #getBlock(Vector3i)}. - */ - // @ts-ignore - getBlockMin(): any /*Vector3i*/; - /** - * Gets the block location with the highest x, y and z that is still a valid - * position for {@link #getBlock(Vector3i)}. - */ - // @ts-ignore - getBlockMax(): any /*Vector3i*/; - /** - * Gets the size of the whole volume. Defined as - * {@link #getBlockMax()} - {@link #getBlockMin()} + (1, 1, 1) . - */ - // @ts-ignore - getBlockSize(): any /*Vector3i*/; - /** - * Returns true if the block volume contains a block at the specified - * position. This is defined as {{@link #getBlockMin()} <= position <= - * {@link #getBlockMax()} - */ - // @ts-ignore - containsBlock(position: any /*Vector3i*/): boolean; - /** - * Returns true if the block volume contains a block at the specified - * position. This is defined as {{@link #getBlockMin()} <= (x, y, z) - * <= {@link #getBlockMax()} - */ - // @ts-ignore - containsBlock(x: number, y: number, z: number): boolean; - /** - * Gets a representation of the block at the given position. - */ - // @ts-ignore - getBlock(position: any /*Vector3i*/): org.spongepowered.api.block.BlockState; - /** - * Gets a representation of the block at the given position. - */ - // @ts-ignore - getBlock(x: number, y: number, z: number): org.spongepowered.api.block.BlockState; - /** - * Gets the base type of block. - *

The type does not include block data such as the contents of - * inventories.

- */ - // @ts-ignore - getBlockType(position: any /*Vector3i*/): org.spongepowered.api.block.BlockType; - /** - * Gets the base type of block. - *

The type does not include block data such as the contents of - * inventories.

- */ - // @ts-ignore - getBlockType(x: number, y: number, z: number): org.spongepowered.api.block.BlockType; - /** - * Returns a new volume that is the same or smaller than the current volume. - * This does not copy the blocks, it only provides a new view of the - * storage. - */ - // @ts-ignore - getBlockView(newMin: any /*Vector3i*/, newMax: any /*Vector3i*/): org.spongepowered.api.world.extent.BlockVolume; - /** - * Returns a new volume that is viewed through some transformation. This - * does not copy the blocks, it only provides a new view of the storage. - */ - // @ts-ignore - getBlockView(transform: org.spongepowered.api.util.DiscreteTransform3): org.spongepowered.api.world.extent.BlockVolume; - /** - * Returns a new volume that is translated so that - * {@link BlockVolume#getBlockMin()} returns {@link Vector3i#ZERO}. This - * does not copy the blocks, it only provides a new view of the storage. - */ - // @ts-ignore - getRelativeBlockView(): org.spongepowered.api.world.extent.BlockVolume; - /** - * Returns a new volume that cannot be modified through this view. Unlike - * immutable storage, it can be changed by holders of mutable views. This - * does not copy the blocks, it only provides a new view of the storage. - */ - // @ts-ignore - getUnmodifiableBlockView(): org.spongepowered.api.world.extent.UnmodifiableBlockVolume; - /** - * Returns a mutable copy of the blocks stored in this volume. This uses the - * default storage type of {@link StorageType#STANDARD}. - */ - // @ts-ignore - getBlockCopy(): org.spongepowered.api.world.extent.MutableBlockVolume; - /** - * Returns a mutable copy of the blocks stored in this volume. This uses the - * provided storage type. - */ - // @ts-ignore - getBlockCopy(type: org.spongepowered.api.world.extent.StorageType): org.spongepowered.api.world.extent.MutableBlockVolume; - /** - * Returns an immutable copy of the blocks stored in this volume. This uses - * some internal storage solution that is thread-safe by nature. - */ - // @ts-ignore - getImmutableBlockCopy(): org.spongepowered.api.world.extent.ImmutableBlockVolume; - /** - * Gets a new block worker for this block volume. - */ - // @ts-ignore - getBlockWorker(): org.spongepowered.api.world.extent.worker.BlockVolumeWorker; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.EntityUniverse.EntityHit.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.EntityUniverse.EntityHit.ts deleted file mode 100644 index 948d70b8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.EntityUniverse.EntityHit.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace EntityUniverse { - // @ts-ignore - class EntityHit { - /** - * Creates a new entity hit from the entity, the intersection point and - * the normal. - */ - constructor(entity: org.spongepowered.api.entity.Entity, intersection: any /*Vector3d*/, normal: any /*Vector3d*/, distance: number) - /** - * Gets the intersected entity. - */ - // @ts-ignore - public getEntity(): org.spongepowered.api.entity.Entity; - /** - * Gets the intersection point. - */ - // @ts-ignore - public getIntersection(): any /*Vector3d*/; - /** - * Gets the intersection normal. - */ - // @ts-ignore - public getNormal(): any /*Vector3d*/; - /** - * Gets the distance from the start to the intersection. - */ - // @ts-ignore - public getDistance(): number; - // @ts-ignore - public equals(other: any): boolean; - // @ts-ignore - public hashCode(): number; - // @ts-ignore - public toString(): string; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.EntityUniverse.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.EntityUniverse.ts deleted file mode 100644 index 4bd758cc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.EntityUniverse.ts +++ /dev/null @@ -1,187 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface EntityUniverse { - /** - * Gets the entity whose {@link UUID} matches the provided id, possibly - * returning no entity if the entity is not loaded or non-existent. - *

For world implementations, only some parts of the world is usually - * loaded, so this method may return no entity if the entity is not - * loaded.

- */ - // @ts-ignore - getEntity(uuid: any): any; - /** - * Return a collection of entities contained within this universe, possibly - * only returning entities only in loaded areas. - *

For world implementations, only some parts of the world is usually - * loaded, so this method will only return entities within those loaded - * parts.

- */ - // @ts-ignore - getEntities(): any[] /*java.util.Collection*/; - /** - * Return a collection of entities contained within this universe, possibly - * only returning entities only in loaded areas. The returned entities are - * filtered by the given {@link Predicate} before being returned. - *

For world implementations, only some parts of the world is usually - * loaded, so this method will only return entities within those loaded - * parts.

- */ - // @ts-ignore - getEntities(filter: any): any[] /*java.util.Collection*/; - /** - * Return a collection of entities contained within {@code distance} blocks - * of the specified location. This uses a sphere to test distances. - *

For world implementations, only some parts of the world is usually - * loaded, so this method will only return entities within those loaded - * parts.

- */ - // @ts-ignore - getNearbyEntities(location: any /*Vector3d*/, distance: number): any[] /*java.util.Collection*/; - /** - * Create an entity instance at the given position. - *

Creating an entity does not spawn the entity into the world. An entity - * created means the entity can be spawned at the given location. If - * {@link Optional#empty()} was returned, the entity is not able to spawn at - * the given location. Furthermore, this allows for the {@link Entity} to be - * customized further prior to traditional "ticking" and processing by core - * systems.

- */ - // @ts-ignore - createEntity(type: org.spongepowered.api.entity.EntityType, position: any /*Vector3d*/): org.spongepowered.api.entity.Entity; - /** - * Create an entity instance at the given position. - *

Creating an entity does not spawn the entity into the world. An entity - * created means the entity can be spawned at the given location. If - * {@link Optional#empty()} was returned, the entity is not able to spawn at - * the given location. Furthermore, this allows for the {@link Entity} to be - * customized further prior to traditional "ticking" and processing by core - * systems.

- */ - // @ts-ignore - createEntity(type: org.spongepowered.api.entity.EntityType, position: any /*Vector3i*/): org.spongepowered.api.entity.Entity; - /** - * Create an entity instance at the given position. - *

Creating an entity does not spawn the entity into the world. An entity - * created means the entity can be spawned at the given location. If - * {@link Optional#empty()} was returned, the entity is not able to spawn at - * the given location. Furthermore, this allows for the {@link Entity} to be - * customized further prior to traditional "ticking" and processing by core - * systems.

- */ - // @ts-ignore - createEntity(entityContainer: org.spongepowered.api.data.DataContainer): any; - /** - * Create an entity instance at the given position. - *

Creating an entity does not spawn the entity into the world. An entity - * created means the entity can be spawned at the given location. If - * {@link Optional#empty()} was returned, the entity is not able to spawn at - * the given location. Furthermore, this allows for the {@link Entity} to be - * customized further prior to traditional "ticking" and processing by core - * systems.

- */ - // @ts-ignore - createEntity(entityContainer: org.spongepowered.api.data.DataContainer, position: any /*Vector3d*/): any; - /** - * Create an entity instance at the given position with the default - * equipment. - *

Creating an entity does not spawn the entity into the world. An entity - * created means the entity can be spawned at the given location. If - * {@link Optional#empty()} was returned, the entity is not able to spawn at - * the given location. Furthermore, this allows for the {@link Entity} to be - * customized further prior to traditional "ticking" and processing by core - * systems.

- */ - // @ts-ignore - createEntityNaturally(type: org.spongepowered.api.entity.EntityType, position: any /*Vector3d*/): org.spongepowered.api.entity.Entity; - /** - * Create an entity instance at the given position with the default - * equipment. - *

Creating an entity does not spawn the entity into the world. An entity - * created means the entity can be spawned at the given location. If - * {@link Optional#empty()} was returned, the entity is not able to spawn at - * the given location. Furthermore, this allows for the {@link Entity} to be - * customized further prior to traditional "ticking" and processing by core - * systems.

- */ - // @ts-ignore - createEntityNaturally(type: org.spongepowered.api.entity.EntityType, position: any /*Vector3i*/): org.spongepowered.api.entity.Entity; - /** - * Creates and restores an {@link Entity} from the provided - * {@link EntitySnapshot} at the provided {@link Vector3d} position. - *

Creating an entity does not spawn the entity into the world. An entity - * created means the entity can be spawned at the given location. If - * {@link Optional#empty()} was returned, the entity is not able to spawn at - * the given location. Furthermore, this allows for the {@link Entity} to be - * customized further prior to traditional "ticking" and processing by core - * systems.

- */ - // @ts-ignore - restoreSnapshot(snapshot: org.spongepowered.api.entity.EntitySnapshot, position: any /*Vector3d*/): any; - /** - * Spawns an {@link Entity} using the already set properties (extent, - * position, rotation) and applicable {@link DataManipulator}s for spawning - * the entity. - *

The requirements involve that all necessary setup of states and data - * is already preformed on the entity retrieved from the various - * {@link #createEntity(EntityType,Vector3d)} methods. Calling this will - * make the now-spawned entity able to be processed by various systems.

- *

If the entity was unable to spawn, the entity is not removed, but it - * should be taken note that there can be many reasons for a failure.

- */ - // @ts-ignore - spawnEntity(entity: org.spongepowered.api.entity.Entity): boolean; - /** - * Similar to {@link #spawnEntity(Entity)} except where multiple entities - * can be attempted to be spawned. - */ - // @ts-ignore - spawnEntities(entities: any): any[] /*java.util.Collection*/; - /** - * Gets all the entities that intersect the bounding box, in no particular - * order. - */ - // @ts-ignore - getIntersectingEntities(box: org.spongepowered.api.util.AABB): any[] /*java.util.Set*/; - /** - * Gets all the entities that intersect the bounding box, in no particular - * order, as long as the pass the given filter test. - */ - // @ts-ignore - getIntersectingEntities(box: org.spongepowered.api.util.AABB, filter: any): any[] /*java.util.Set*/; - /** - * Gets all the entities that intersect the ray (by their bounding box) - * The ray is defined by its start and end point. - */ - // @ts-ignore - getIntersectingEntities(start: any /*Vector3d*/, end: any /*Vector3d*/): any[] /*java.util.Set*/; - /** - * Gets all the entities that intersect the ray (by their bounding box) - * The ray is defined by its start and end point. Only the entities that - * pass the filter test are added. - */ - // @ts-ignore - getIntersectingEntities(start: any /*Vector3d*/, end: any /*Vector3d*/, filter: any): any[] /*java.util.Set*/; - /** - * Gets all the entities that intersect the ray (by their bounding box) - * The ray is defined by its start, direction and distance. - */ - // @ts-ignore - getIntersectingEntities(start: any /*Vector3d*/, direction: any /*Vector3d*/, distance: number): any[] /*java.util.Set*/; - /** - * Gets all the entities that intersect the ray (by their bounding box) - * The ray is defined by its start, direction and distance. Only the - * entities that pass the filter test are added. - */ - // @ts-ignore - getIntersectingEntities(start: any /*Vector3d*/, direction: any /*Vector3d*/, distance: number, filter: any): any[] /*java.util.Set*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.Extent.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.Extent.ts deleted file mode 100644 index 743dd4f3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.Extent.ts +++ /dev/null @@ -1,283 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface Extent extends org.spongepowered.api.world.extent.EntityUniverse, org.spongepowered.api.world.extent.TileEntityVolume, org.spongepowered.api.world.extent.InteractableVolume, org.spongepowered.api.world.extent.MutableBiomeVolume, org.spongepowered.api.world.extent.LocationCompositeValueStore, org.spongepowered.api.util.Identifiable, org.spongepowered.api.data.property.LocationBasePropertyHolder { - /** - * Gets a location in this extent at the given position. Essentially, this - * is a 3D pointer in the extent. - */ - // @ts-ignore - getLocation(position: any /*Vector3i*/): org.spongepowered.api.world.Location; - /** - * Gets a location in this extent at the given position. Essentially, this - * is a 3D pointer in the extent. - */ - // @ts-ignore - getLocation(x: number, y: number, z: number): org.spongepowered.api.world.Location; - /** - * Gets a location in this extent at the given position. Essentially, this - * is a 3D pointer in the extent. This method supports sub-block positions. - * Block-related methods use flooring to get integer coordinates. - */ - // @ts-ignore - getLocation(position: any /*Vector3d*/): org.spongepowered.api.world.Location; - /** - * Gets a location in this extent at the given position. Essentially, this - * is a 3D pointer in the extent. This method supports sub-block positions. - * Block-related methods use flooring to get integer coordinates. - */ - // @ts-ignore - getLocation(x: number, y: number, z: number): org.spongepowered.api.world.Location; - /** - * Get the y value of the highest block that sunlight can reach in the given - * column. - *

This method ignores all transparent blocks, providing the highest - * opaque block.

- */ - // @ts-ignore - getHighestYAt(x: number, z: number): number; - /** - * Get the y value of the highest block that sunlight can reach in the given - * column. - *

This method ignores all transparent blocks, providing the highest - * opaque block.

- */ - // @ts-ignore - getHighestYAt(column: any /*Vector2i*/): number; - /** - * Get the {@link Location} of the highest block that sunlight can reach in - * the given column. - *

This method ignores all transparent blocks, providing the highest - * opaque block.

- */ - // @ts-ignore - getHighestPositionAt(position: any /*Vector3i*/): any /*Vector3i*/; - /** - * Returns the y level that precipitation ends falling in the given column. - *

A value is still returned for columns in biomes which do not - * receive precipitation.

- */ - // @ts-ignore - getPrecipitationLevelAt(x: number, z: number): number; - /** - * Returns the y level that precipitation ends falling in the given column. - *

A value is still returned for columns in biomes which do not - * receive precipitation.

- */ - // @ts-ignore - getPrecipitationLevelAt(column: any /*Vector2i*/): number; - /** - * Returns the position that precipitation ends falling in the column - * of the given position. - *

A position is still returned for positions in biomes which do not - * receive precipitation.

- */ - // @ts-ignore - getPrecipitationLevelAt(position: any /*Vector3i*/): any /*Vector3i*/; - /** - * Sets the block at the given position in the world. - */ - // @ts-ignore - setBlock(position: any /*Vector3i*/, blockState: org.spongepowered.api.block.BlockState, flag: org.spongepowered.api.world.BlockChangeFlag): boolean; - /** - * Sets the block at the given position in the world. - */ - // @ts-ignore - setBlock(x: number, y: number, z: number, blockState: org.spongepowered.api.block.BlockState, flag: org.spongepowered.api.world.BlockChangeFlag): boolean; - /** - * Sets the block at the given position in the world. - */ - // @ts-ignore - setBlockType(position: any /*Vector3i*/, type: org.spongepowered.api.block.BlockType, flag: org.spongepowered.api.world.BlockChangeFlag): boolean; - /** - * Sets the block at the given position in the world. - */ - // @ts-ignore - setBlockType(x: number, y: number, z: number, type: org.spongepowered.api.block.BlockType, flag: org.spongepowered.api.world.BlockChangeFlag): boolean; - /** - * Gets a snapshot of this block at the current point in time. - *

A snapshot is disconnected from the {@link Extent} that it was taken - * from so changes to the original block do not affect the snapshot.

- */ - // @ts-ignore - createSnapshot(position: any /*Vector3i*/): org.spongepowered.api.block.BlockSnapshot; - /** - * Gets a snapshot of this block at the current point in time. - *

A snapshot is disconnected from the {@link Extent} that it was taken - * from so changes to the original block do not affect the snapshot.

- */ - // @ts-ignore - createSnapshot(x: number, y: number, z: number): org.spongepowered.api.block.BlockSnapshot; - /** - * Restores the given {@link BlockSnapshot} using the saved block position - * stored within the snapshot. - *

If forced, the state of the block will change its {@link BlockType} to - * match that of the snapshot then set the state. However, if force is set - * to false and the {@link BlockType}s does not match, false will be - * returned. If notifyNeighbors is true, neighboring blocks will be notified - * of changes at the restored block location triggering physic updates.

- */ - // @ts-ignore - restoreSnapshot(snapshot: org.spongepowered.api.block.BlockSnapshot, force: boolean, flag: org.spongepowered.api.world.BlockChangeFlag): boolean; - /** - * Restores the {@link BlockSnapshot} at the given position. - *

If forced, the state of the block will change its {@link BlockType} to - * match that of the snapshot then set the state. However, if force is set - * to false and the {@link BlockType}s does not match, false will be - * returned. If notifyNeighbors is true, neighboring blocks will be notified - * of changes at the restored block location triggering physic updates.

- */ - // @ts-ignore - restoreSnapshot(position: any /*Vector3i*/, snapshot: org.spongepowered.api.block.BlockSnapshot, force: boolean, flag: org.spongepowered.api.world.BlockChangeFlag): boolean; - /** - * Restores the {@link BlockSnapshot} at the given position. - *

If forced, the state of the block will change its {@link BlockType} to - * match that of the snapshot then set the state. However, if force is set - * to false and the {@link BlockType}s does not match, false will be - * returned. If notifyNeighbors is true, neighboring blocks will be notified - * of changes at the restored block location triggering physic updates.

- */ - // @ts-ignore - restoreSnapshot(x: number, y: number, z: number, snapshot: org.spongepowered.api.block.BlockSnapshot, force: boolean, flag: org.spongepowered.api.world.BlockChangeFlag): boolean; - /** - * Gets a list of {@link ScheduledBlockUpdate}s on this block. - */ - // @ts-ignore - getScheduledUpdates(position: any /*Vector3i*/): any[] /*java.util.Collection*/; - /** - * Gets a list of {@link ScheduledBlockUpdate}s on this block. - */ - // @ts-ignore - getScheduledUpdates(x: number, y: number, z: number): any[] /*java.util.Collection*/; - /** - * Adds a new {@link ScheduledBlockUpdate} to this block. - */ - // @ts-ignore - addScheduledUpdate(position: any /*Vector3i*/, priority: number, ticks: number): org.spongepowered.api.block.ScheduledBlockUpdate; - /** - * Adds a new {@link ScheduledBlockUpdate} to this block. - */ - // @ts-ignore - addScheduledUpdate(x: number, y: number, z: number, priority: number, ticks: number): org.spongepowered.api.block.ScheduledBlockUpdate; - /** - * Removes a {@link ScheduledBlockUpdate} from this block. - */ - // @ts-ignore - removeScheduledUpdate(position: any /*Vector3i*/, update: org.spongepowered.api.block.ScheduledBlockUpdate): void; - /** - * Removes a {@link ScheduledBlockUpdate} from this block. - */ - // @ts-ignore - removeScheduledUpdate(x: number, y: number, z: number, update: org.spongepowered.api.block.ScheduledBlockUpdate): void; - /** - * Gets whether or not this extent is currently loaded. - */ - // @ts-ignore - isLoaded(): boolean; - /** - * Returns a new extent that is the same or smaller than the current extent. - * This does not copy the data, it only provides a new view of the extent. - */ - // @ts-ignore - getExtentView(newMin: any /*Vector3i*/, newMax: any /*Vector3i*/): org.spongepowered.api.world.extent.Extent; - // @ts-ignore - getBiomeWorker(): org.spongepowered.api.world.extent.worker.MutableBiomeVolumeWorker; - // @ts-ignore - getBlockWorker(): org.spongepowered.api.world.extent.worker.MutableBlockVolumeWorker; - /** - * Gets the {@link UUID}, if available, of the user who created the - * {@link BlockSnapshot} at passed block position. - */ - // @ts-ignore - getCreator(pos: any /*Vector3i*/): any; - /** - * Gets the {@link UUID}, if available, of the user who created the - * {@link BlockSnapshot} at passed block position. - */ - // @ts-ignore - getCreator(x: number, y: number, z: number): any; - /** - * Gets the {@link UUID}, if available, of the user who last notified the - * {@link BlockSnapshot} located at passed block position. - */ - // @ts-ignore - getNotifier(pos: any /*Vector3i*/): any; - /** - * Gets the {@link UUID}, if available, of the user who last notified the - * {@link BlockSnapshot} located at passed block coordinates. - */ - // @ts-ignore - getNotifier(x: number, y: number, z: number): any; - /** - * Sets the {@link UUID} of the user who created the {@link BlockSnapshot} - * located at passed block position. - */ - // @ts-ignore - setCreator(pos: any /*Vector3i*/, uuid: any): void; - /** - * Sets the {@link UUID} of the user who created the {@link BlockSnapshot} - * located at passed block coordinates. - */ - // @ts-ignore - setCreator(x: number, y: number, z: number, uuid: any): void; - /** - * Sets the {@link UUID} of the user who last notified the - * {@link BlockSnapshot} located at passed block position. - */ - // @ts-ignore - setNotifier(pos: any /*Vector3i*/, uuid: any): void; - /** - * Sets the {@link UUID} of the user who last notified the - * {@link BlockSnapshot} located at passed block coordinates. - */ - // @ts-ignore - setNotifier(x: number, y: number, z: number, uuid: any): void; - /** - * Gets the bounding box used to select blocks, which appears - * as a black outline on a vanilla client. - */ - // @ts-ignore - getBlockSelectionBox(pos: any /*Vector3i*/): any; - /** - * Gets the bounding box used to select blocks, which appears - * as a black outline on a vanilla client. - */ - // @ts-ignore - getBlockSelectionBox(x: number, y: number, z: number): any; - /** - * Gets all the block collision boxes that intersect the bounding box, in - * no particular order. There may be more than one box per block. - */ - // @ts-ignore - getIntersectingBlockCollisionBoxes(box: org.spongepowered.api.util.AABB): any[] /*java.util.Set*/; - /** - * Gets all the collision boxes that intersect the bounding box owned by - * the entity, in no particular order. There may be more than one box per - * block. This also includes entities. Will return an empty set if the - * owner does not have a bounding box. - */ - // @ts-ignore - getIntersectingCollisionBoxes(owner: org.spongepowered.api.entity.Entity): any[] /*java.util.Set*/; - /** - * Gets all the collision boxes that intersect the bounding box owned by - * the entity, in no particular order. There may be more than one box per - * block. This also includes entities. - */ - // @ts-ignore - getIntersectingCollisionBoxes(owner: org.spongepowered.api.entity.Entity, box: org.spongepowered.api.util.AABB): any[] /*java.util.Set*/; - /** - * Creates a new archetype volume from the specified section of this extent. - * The archetype's volume will be shifted such that the position given in - * the origin will be the origin of the volume. - */ - // @ts-ignore - createArchetypeVolume(min: any /*Vector3i*/, max: any /*Vector3i*/, origin: any /*Vector3i*/): org.spongepowered.api.world.extent.ArchetypeVolume; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.ExtentBufferFactory.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.ExtentBufferFactory.ts deleted file mode 100644 index d47ce319..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.ExtentBufferFactory.ts +++ /dev/null @@ -1,111 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface ExtentBufferFactory { - /** - * Returns a new biome buffer of the desired size. - */ - // @ts-ignore - createBiomeBuffer(size: any /*Vector3i*/): org.spongepowered.api.world.extent.MutableBiomeVolume; - /** - * Returns a new biome buffer of the desired size and minimum position. - */ - // @ts-ignore - createBiomeBuffer(min: any /*Vector3i*/, size: any /*Vector3i*/): org.spongepowered.api.world.extent.MutableBiomeVolume; - /** - * Returns a new biome buffer of the desired size. - */ - // @ts-ignore - createBiomeBuffer(xSize: number, ySize: number, zSize: number): org.spongepowered.api.world.extent.MutableBiomeVolume; - /** - * Returns a new biome buffer of the desired size and minimum position. - */ - // @ts-ignore - createBiomeBuffer(xMin: number, yMin: number, zMin: number, xSize: number, ySize: number, zSize: number): org.spongepowered.api.world.extent.MutableBiomeVolume; - /** - * Returns a new biome buffer of the desired size. This buffer is thread - * safe. - */ - // @ts-ignore - createThreadSafeBiomeBuffer(size: any /*Vector3i*/): org.spongepowered.api.world.extent.MutableBiomeVolume; - /** - * Returns a new biome buffer of the desired size an minimum position. This - * buffer is thread safe. - */ - // @ts-ignore - createThreadSafeBiomeBuffer(min: any /*Vector3i*/, size: any /*Vector3i*/): org.spongepowered.api.world.extent.MutableBiomeVolume; - /** - * Returns a new biome buffer of the desired size. This buffer is thread - * safe. - */ - // @ts-ignore - createThreadSafeBiomeBuffer(xSize: number, ySize: number, zSize: number): org.spongepowered.api.world.extent.MutableBiomeVolume; - /** - * Returns a new biome buffer of the desired size. This buffer is thread - * safe. - */ - // @ts-ignore - createThreadSafeBiomeBuffer(xMin: number, yMin: number, zMin: number, xSize: number, ySize: number, zSize: number): org.spongepowered.api.world.extent.MutableBiomeVolume; - /** - * Returns a new block buffer of the desired size. - */ - // @ts-ignore - createBlockBuffer(size: any /*Vector3i*/): org.spongepowered.api.world.extent.MutableBlockVolume; - /** - * Returns a new block buffer of the desired size and minimum position. - */ - // @ts-ignore - createBlockBuffer(min: any /*Vector3i*/, size: any /*Vector3i*/): org.spongepowered.api.world.extent.MutableBlockVolume; - /** - * Returns a new block buffer of the desired size. - */ - // @ts-ignore - createBlockBuffer(xSize: number, ySize: number, zSize: number): org.spongepowered.api.world.extent.MutableBlockVolume; - /** - * Returns a new block buffer of the desired size and minimum position. - */ - // @ts-ignore - createBlockBuffer(xMin: number, yMin: number, zMin: number, xSize: number, ySize: number, zSize: number): org.spongepowered.api.world.extent.MutableBlockVolume; - /** - * Returns a new block buffer of the desired size. This buffer is thread - * safe. - */ - // @ts-ignore - createThreadSafeBlockBuffer(size: any /*Vector3i*/): org.spongepowered.api.world.extent.MutableBlockVolume; - /** - * Returns a new block buffer of the desired size and minimum position. This - * buffer is thread safe. - */ - // @ts-ignore - createThreadSafeBlockBuffer(min: any /*Vector3i*/, size: any /*Vector3i*/): org.spongepowered.api.world.extent.MutableBlockVolume; - /** - * Returns a new block buffer of the desired size. This buffer is thread - * safe. - */ - // @ts-ignore - createThreadSafeBlockBuffer(xSize: number, ySize: number, zSize: number): org.spongepowered.api.world.extent.MutableBlockVolume; - /** - * Returns a new block buffer of the desired size and minimum position. This - * buffer is thread safe. - */ - // @ts-ignore - createThreadSafeBlockBuffer(xMin: number, yMin: number, zMin: number, xSize: number, ySize: number, zSize: number): org.spongepowered.api.world.extent.MutableBlockVolume; - /** - * Returns a new archetype volume of the desired size. - */ - // @ts-ignore - createArchetypeVolume(size: any /*Vector3i*/, origin: any /*Vector3i*/): org.spongepowered.api.world.extent.ArchetypeVolume; - /** - * Returns a new archetype volume of the desired size. - */ - // @ts-ignore - createArchetypeVolume(size: any /*Vector3i*/): org.spongepowered.api.world.extent.ArchetypeVolume; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.ImmutableBiomeVolume.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.ImmutableBiomeVolume.ts deleted file mode 100644 index 76d16c1f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.ImmutableBiomeVolume.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface ImmutableBiomeVolume extends org.spongepowered.api.world.extent.UnmodifiableBiomeVolume { - /** - * Returns a new volume that is the same or smaller than the current volume. - * This does not copy the biomes, it only provides a new view of the - * storage. - */ - // @ts-ignore - getBiomeView(newMin: any /*Vector3i*/, newMax: any /*Vector3i*/): org.spongepowered.api.world.extent.ImmutableBiomeVolume; - /** - * Returns a new volume that is viewed through some transformation. This - * does not copy the biomes, it only provides a new view of the storage. - */ - // @ts-ignore - getBiomeView(transform: org.spongepowered.api.util.DiscreteTransform3): org.spongepowered.api.world.extent.ImmutableBiomeVolume; - /** - * Returns a new volume that is translated so that - * {@link BiomeVolume#getBiomeMin()} returns {@link Vector2i#ZERO}. This - * does not copy the biomes, it only provides a new view of the storage. - */ - // @ts-ignore - getRelativeBiomeView(): org.spongepowered.api.world.extent.ImmutableBiomeVolume; - // @ts-ignore - getImmutableBiomeCopy(): org.spongepowered.api.world.extent.ImmutableBiomeVolume; - // @ts-ignore - getBiomeWorker(): org.spongepowered.api.world.extent.worker.BiomeVolumeWorker; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.ImmutableBlockVolume.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.ImmutableBlockVolume.ts deleted file mode 100644 index 88ed390e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.ImmutableBlockVolume.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface ImmutableBlockVolume extends org.spongepowered.api.world.extent.UnmodifiableBlockVolume { - /** - * Returns a new volume that is the same or smaller than the current volume. - * This does not copy the blocks, it only provides a new view of the - * storage. - */ - // @ts-ignore - getBlockView(newMin: any /*Vector3i*/, newMax: any /*Vector3i*/): org.spongepowered.api.world.extent.ImmutableBlockVolume; - /** - * Returns a new volume that is viewed through some transformation. This - * does not copy the blocks, it only provides a new view of the storage. - */ - // @ts-ignore - getBlockView(transform: org.spongepowered.api.util.DiscreteTransform3): org.spongepowered.api.world.extent.ImmutableBlockVolume; - /** - * Returns a new volume that is translated so that - * {@link BlockVolume#getBlockMin()} returns {@link Vector3i#ZERO}. This - * does not copy the blocks, it only provides a new view of the storage. - */ - // @ts-ignore - getRelativeBlockView(): org.spongepowered.api.world.extent.ImmutableBlockVolume; - // @ts-ignore - getImmutableBlockCopy(): org.spongepowered.api.world.extent.ImmutableBlockVolume; - // @ts-ignore - getBlockWorker(): org.spongepowered.api.world.extent.worker.BlockVolumeWorker; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.InteractableVolume.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.InteractableVolume.ts deleted file mode 100644 index a3c151a2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.InteractableVolume.ts +++ /dev/null @@ -1,99 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface InteractableVolume extends org.spongepowered.api.world.extent.MutableBlockVolume { - /** - * Simulates hitting a block as if a player had done so. - *

The difference between this and {@link #digBlock} is that this will - * only do a single instantaneous "click" whereas digBlock will simulate - * holding the primary mouse button until the block breaks.

- */ - // @ts-ignore - hitBlock(position: any /*Vector3i*/, side: org.spongepowered.api.util.Direction, profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Simulates hitting a block as if a player had done so. - *

The difference between this and {@link #digBlock} is that this will - * only do a single instantaneous "click" whereas digBlock will simulate - * holding the primary mouse button until the block breaks.

- */ - // @ts-ignore - hitBlock(x: number, y: number, z: number, side: org.spongepowered.api.util.Direction, profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Simulates the interaction the block as if a player had done so. - */ - // @ts-ignore - interactBlock(position: any /*Vector3i*/, side: org.spongepowered.api.util.Direction, profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Simulates the interaction the block as if a player had done so. - */ - // @ts-ignore - interactBlock(x: number, y: number, z: number, side: org.spongepowered.api.util.Direction, profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Simulates the interaction the block using the given item as if the player - * had done so. - */ - // @ts-ignore - interactBlockWith(position: any /*Vector3i*/, itemStack: org.spongepowered.api.item.inventory.ItemStack, side: org.spongepowered.api.util.Direction, profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Simulates the interaction the block using the given item as if the player - * had done so. - */ - // @ts-ignore - interactBlockWith(x: number, y: number, z: number, itemStack: org.spongepowered.api.item.inventory.ItemStack, side: org.spongepowered.api.util.Direction, profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Simulates the placement of a block at the given location as if a player - * had done so. - */ - // @ts-ignore - placeBlock(position: any /*Vector3i*/, block: org.spongepowered.api.block.BlockState, side: org.spongepowered.api.util.Direction, profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Simulates the placement of a block at the given location as if a player - * had done so. - */ - // @ts-ignore - placeBlock(x: number, y: number, z: number, block: org.spongepowered.api.block.BlockState, side: org.spongepowered.api.util.Direction, profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Simulate the digging of the block as if a player had done so. - */ - // @ts-ignore - digBlock(position: any /*Vector3i*/, profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Simulate the digging of the block as if a player had done so. - */ - // @ts-ignore - digBlock(x: number, y: number, z: number, profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Simulate the digging of the block with the given tool as if a player had - * done so. - */ - // @ts-ignore - digBlockWith(position: any /*Vector3i*/, itemStack: org.spongepowered.api.item.inventory.ItemStack, profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Simulate the digging of the block with the given tool as if a player had - * done so. - */ - // @ts-ignore - digBlockWith(x: number, y: number, z: number, itemStack: org.spongepowered.api.item.inventory.ItemStack, profile: org.spongepowered.api.profile.GameProfile): boolean; - /** - * Gets the time it takes to dig this block with the specified item in - * ticks. - */ - // @ts-ignore - getBlockDigTimeWith(position: any /*Vector3i*/, itemStack: org.spongepowered.api.item.inventory.ItemStack, profile: org.spongepowered.api.profile.GameProfile): number; - /** - * Gets the time it takes to dig this block with the specified item in - * ticks. - */ - // @ts-ignore - getBlockDigTimeWith(x: number, y: number, z: number, itemStack: org.spongepowered.api.item.inventory.ItemStack, profile: org.spongepowered.api.profile.GameProfile): number; - // @ts-ignore - getBlockWorker(): org.spongepowered.api.world.extent.worker.MutableBlockVolumeWorker; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.LocationCompositeValueStore.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.LocationCompositeValueStore.ts deleted file mode 100644 index e96a74fc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.LocationCompositeValueStore.ts +++ /dev/null @@ -1,442 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface LocationCompositeValueStore { - /** - * Gets the value of data that is keyed to the provided {@link Key} at the - * give block location. - */ - // @ts-ignore - get(coordinates: any /*Vector3i*/, key: org.spongepowered.api.data.key.Key): any; - /** - * Gets the value of data that is keyed to the provided {@link Key} at the - * give block location. - */ - // @ts-ignore - get(x: number, y: number, z: number, key: org.spongepowered.api.data.key.Key): any; - /** - * Gets an instance of the given data class for given block at the location. - *

If there is no pre-existing data that can be represented by the given - * {@link DataManipulator} class, {@link Optional#empty()} is returned.

- */ - // @ts-ignore - get(coordinates: any /*Vector3i*/, manipulatorClass: any): any; - /** - * Gets an instance of the given data class for given block at the location. - *

If there is no pre-existing data that can be represented by the given - * {@link DataManipulator} class, {@link Optional#empty()} is returned.

- */ - // @ts-ignore - get(x: number, y: number, z: number, manipulatorClass: any): any; - /** - * Gets or creates a new {@link DataManipulator} that can be accepted by the - * block at the location. In the event that there is no data that can be - * represented by the given {@link DataManipulator}, a new - * {@link DataManipulator} object is created with default values. - *

In the event the {@link DataManipulator} can not represent any data - * pertaining to the block at the location, {@link Optional#empty()} is - * returned.

- */ - // @ts-ignore - getOrCreate(coordinates: any /*Vector3i*/, manipulatorClass: any): any; - /** - * Gets or creates a new {@link DataManipulator} that can be accepted by the - * block at the location. In the event that there is no data that can be - * represented by the given {@link DataManipulator}, a new - * {@link DataManipulator} object is created with default values. - *

In the event the {@link DataManipulator} can not represent any data - * pertaining to the block at the location, {@link Optional#empty()} is - * returned.

- */ - // @ts-ignore - getOrCreate(x: number, y: number, z: number, manipulatorClass: any): any; - /** - * Gets the value of data that is keyed to the provided {@link Key} at the - * give block location. The data may not exist, or may not be compatible in - * which case null may be returned. - */ - // @ts-ignore - getOrNull(coordinates: any /*Vector3i*/, key: org.spongepowered.api.data.key.Key): any; - /** - * Gets the value of data that is keyed to the provided {@link Key} at the - * give block location. The data may not exist, or may not be compatible in - * which case null may be returned. - */ - // @ts-ignore - getOrNull(x: number, y: number, z: number, key: org.spongepowered.api.data.key.Key): any; - /** - * Gets the value of data that is keyed to the provided {@link Key} at the - * give block location. The data may not exist, or may not be compatible in - * which case the default value may be returned. - */ - // @ts-ignore - getOrElse(coordinates: any /*Vector3i*/, key: org.spongepowered.api.data.key.Key, defaultValue: any): any; - /** - * Gets the value of data that is keyed to the provided {@link Key} at the - * give block location. The data may not exist, or may not be compatible in - * which case the default value may be returned. - */ - // @ts-ignore - getOrElse(x: number, y: number, z: number, key: org.spongepowered.api.data.key.Key, defaultValue: any): any; - /** - * Gets the value of data that is keyed to the provided {@link Key} at the - * give block location. The data may not exist, or may not be compatible in - * which case null may be returned. - */ - // @ts-ignore - getValue(coordinates: any /*Vector3i*/, key: org.spongepowered.api.data.key.Key): any; - /** - * Gets the value of data that is keyed to the provided {@link Key} at the - * give block location. - */ - // @ts-ignore - getValue(x: number, y: number, z: number, key: org.spongepowered.api.data.key.Key): any; - /** - * Checks if the provided {@link Key} to the data is supported by the block - * at the provided location. - */ - // @ts-ignore - supports(coordinates: any /*Vector3i*/, key: org.spongepowered.api.data.key.Key): boolean; - /** - * Checks if the provided {@link Key} to the data is supported by the block - * at the provided location. - */ - // @ts-ignore - supports(x: number, y: number, z: number, key: org.spongepowered.api.data.key.Key): boolean; - /** - * Checks if the provided {@link BaseValue} is supported by the block at the - * provided location. - */ - // @ts-ignore - supports(coordinates: any /*Vector3i*/, value: org.spongepowered.api.data.value.BaseValue): boolean; - /** - * Checks if the provided {@link BaseValue} is supported by the block at the - * provided location. - */ - // @ts-ignore - supports(x: number, y: number, z: number, value: org.spongepowered.api.data.value.BaseValue): boolean; - /** - * Checks if the given {@link DataManipulator} class is able to represent - * data within the block at the given position. - */ - // @ts-ignore - supports(coordinates: any /*Vector3i*/, manipulatorClass: any): boolean; - /** - * Checks if the given {@link DataManipulator} class is able to represent - * data within the block at the given position. - */ - // @ts-ignore - supports(x: number, y: number, z: number, manipulatorClass: any): boolean; - /** - * Checks if the given {@link DataManipulator} class is able to represent - * data within the block at the given position. - */ - // @ts-ignore - supports(coordinates: any /*Vector3i*/, manipulator: org.spongepowered.api.data.manipulator.DataManipulator): boolean; - /** - * Checks if the given {@link DataManipulator} class is able to represent - * data within the block at the given position. - */ - // @ts-ignore - supports(x: number, y: number, z: number, manipulator: org.spongepowered.api.data.manipulator.DataManipulator): boolean; - /** - * Gets an {@link ImmutableSet} of {@link Key}s for the block at the given - * location. - */ - // @ts-ignore - getKeys(coordinates: any /*Vector3i*/): any[] /*java.util.Set*/; - /** - * Gets an {@link ImmutableSet} of {@link Key}s for the block at the given - * location. - */ - // @ts-ignore - getKeys(x: number, y: number, z: number): any[] /*java.util.Set*/; - /** - * Gets an {@link ImmutableSet} of {@link ImmutableValue}s for the block at - * the given location. - */ - // @ts-ignore - getValues(coordinates: any /*Vector3i*/): any[] /*java.util.Set*/; - /** - * Gets an {@link ImmutableSet} of {@link ImmutableValue}s for the block at - * the given location. - */ - // @ts-ignore - getValues(x: number, y: number, z: number): any[] /*java.util.Set*/; - /** - * Applies a transformation on the pre-existing value of the data keyed by - * the provided {@link Key} and returns a {@link DataTransactionResult} of - * said transformation. - */ - // @ts-ignore - transform(coordinates: any /*Vector3i*/, key: org.spongepowered.api.data.key.Key, func: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Applies a transformation on the pre-existing value of the data keyed by - * the provided {@link Key} and returns a {@link DataTransactionResult} of - * said transformation. - */ - // @ts-ignore - transform(x: number, y: number, z: number, key: org.spongepowered.api.data.key.Key, func: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given E value that is keyed by the provided - * {@link Key} to the block at the provided location. - *

If any data is rejected or existing data is replaced, the - * {@link DataTransactionResult} will retain the rejected and replaced - * data.

- */ - // @ts-ignore - offer(coordinates: any /*Vector3i*/, key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given E value that is keyed by the provided - * {@link Key} to the block at the provided location. - *

If any data is rejected or existing data is replaced, the - * {@link DataTransactionResult} will retain the rejected and replaced - * data.

- */ - // @ts-ignore - offer(x: number, y: number, z: number, key: org.spongepowered.api.data.key.Key, value: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@link BaseValue} to the block at the given position. - *

If any data is rejected or existing data is replaced, the - * {@link DataTransactionResult} will retain the rejected and replaced - * data.

- */ - // @ts-ignore - offer(coordinates: any /*Vector3i*/, value: org.spongepowered.api.data.value.BaseValue): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@link BaseValue} to the block at the given position. - *

If any data is rejected or existing data is replaced, the - * {@link DataTransactionResult} will retain the rejected and replaced - * data.

- */ - // @ts-ignore - offer(x: number, y: number, z: number, value: org.spongepowered.api.data.value.BaseValue): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@link DataManipulator} to the block at the given - * position. - *

If any data is rejected or existing data is replaced, the - * {@link DataTransactionResult} will retain the rejected and replaced - * data.

- */ - // @ts-ignore - offer(coordinates: any /*Vector3i*/, manipulator: org.spongepowered.api.data.manipulator.DataManipulator): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@link DataManipulator} to the block at the given - * position. - *

If any data is rejected or existing data is replaced, the - * {@link DataTransactionResult} will retain the rejected and replaced - * data.

- */ - // @ts-ignore - offer(x: number, y: number, z: number, manipulator: org.spongepowered.api.data.manipulator.DataManipulator): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@link DataManipulator} to the block at the given - * position. - *

If any data is rejected or existing data is replaced, the - * {@link DataTransactionResult} will retain the rejected and replaced - * data.

- */ - // @ts-ignore - offer(coordinates: any /*Vector3i*/, manipulator: org.spongepowered.api.data.manipulator.DataManipulator, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the given {@link DataManipulator} to the block at the given - * position. - *

If any data is rejected or existing data is replaced, the - * {@link DataTransactionResult} will retain the rejected and replaced - * data.

- */ - // @ts-ignore - offer(x: number, y: number, z: number, manipulator: org.spongepowered.api.data.manipulator.DataManipulator, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the provided {@link DataManipulator}s to the block at the given - * position. - *

If any data is rejected or existing data is replaced, the - * {@link DataTransactionResult} will retain the rejected, replaced, and - * successfully offered data.

- */ - // @ts-ignore - offer(coordinates: any /*Vector3i*/, manipulators: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the provided {@link DataManipulator}s to the block at the given - * position. - *

If any data is rejected or existing data is replaced, the - * {@link DataTransactionResult} will retain the rejected, replaced, and - * successfully offered data.

- */ - // @ts-ignore - offer(x: number, y: number, z: number, manipulators: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Offers the provided {@link DataManipulator}s to the block at the given - * position. If there's any overlaps of data, the provided - * {@link MergeFunction} is used to delegate the merges. It is possible to - * recycle {@link MergeFunction}s provided that the {@link MergeFunction} is - * aware of being usable in multiple environments. - *

If any data is rejected or existing data is replaced, the - * {@link DataTransactionResult} will retain the rejected, replaced, and - * successfully offered data.

- */ - // @ts-ignore - offer(blockPosition: any /*Vector3i*/, values: any, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to remove the given {@link DataManipulator} represented by the - * block at the given location if possible. - *

Certain {@link DataManipulator}s can not be removed due to certain - * dependencies relying on the particular data to function.

- */ - // @ts-ignore - remove(coordinates: any /*Vector3i*/, manipulatorClass: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to remove the given {@link DataManipulator} represented by the - * block at the given location if possible. - *

Certain {@link DataManipulator}s can not be removed due to certain - * dependencies relying on the particular data to function.

- */ - // @ts-ignore - remove(x: number, y: number, z: number, manipulatorClass: any): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to remove the data associated with the provided {@link Key} from - * the block at the provided location. - */ - // @ts-ignore - remove(coordinates: any /*Vector3i*/, key: org.spongepowered.api.data.key.Key): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to remove the data associated with the provided {@link Key} from - * the block at the provided location. - */ - // @ts-ignore - remove(x: number, y: number, z: number, key: org.spongepowered.api.data.key.Key): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to undo a {@link DataTransactionResult}. Specifically, all - * {@link ImmutableValue}s that were successfully added are removed, and all - * replaced {@link ImmutableValue}s are offered. - */ - // @ts-ignore - undo(coordinates: any /*Vector3i*/, result: org.spongepowered.api.data.DataTransactionResult): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to undo a {@link DataTransactionResult}. Specifically, all - * {@link ImmutableValue}s that were successfully added are removed, and all - * replaced {@link ImmutableValue}s are offered. - */ - // @ts-ignore - undo(x: number, y: number, z: number, result: org.spongepowered.api.data.DataTransactionResult): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to copy all the relevant data from the provided - * {@link DataHolder} to the block at the provided coordinates. - */ - // @ts-ignore - copyFrom(to: any /*Vector3i*/, from: org.spongepowered.api.data.DataHolder): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to copy all the relevant data from the provided - * {@link DataHolder} to the block at the provided coordinates. - */ - // @ts-ignore - copyFrom(xTo: number, yTo: number, zTo: number, from: org.spongepowered.api.data.DataHolder): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to copy all the relevant data from the provided - * {@link DataHolder} to the block at the provided coordinates. - */ - // @ts-ignore - copyFrom(coordinatesTo: any /*Vector3i*/, coordinatesFrom: any /*Vector3i*/): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to copy all {@link ImmutableValue}s from the provided block to - * provided block to the provided block coordinates. - */ - // @ts-ignore - copyFrom(xTo: number, yTo: number, zTo: number, xFrom: number, yFrom: number, zFrom: number): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to copy all {@link ImmutableValue}s from the provided block to - * provided block to the provided block coordinates. Any conflicting data is - * handled through the provided {@link MergeFunction}. - */ - // @ts-ignore - copyFrom(to: any /*Vector3i*/, from: org.spongepowered.api.data.DataHolder, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to copy all {@link ImmutableValue}s from the provided block to - * provided block to the provided block coordinates. Any conflicting data is - * handled through the provided {@link MergeFunction}. - */ - // @ts-ignore - copyFrom(xTo: number, yTo: number, zTo: number, from: org.spongepowered.api.data.DataHolder, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to copy all {@link ImmutableValue}s from the provided block to - * provided block to the provided block coordinates. Any conflicting data is - * handled through the provided {@link MergeFunction}. - */ - // @ts-ignore - copyFrom(coordinatesTo: any /*Vector3i*/, coordinatesFrom: any /*Vector3i*/, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - /** - * Attempts to copy all {@link ImmutableValue}s from the provided block to - * provided block to the provided block coordinates. Any conflicting data is - * handled through the provided {@link MergeFunction}. - */ - // @ts-ignore - copyFrom(xTo: number, yTo: number, zTo: number, xFrom: number, yFrom: number, zFrom: number, func: org.spongepowered.api.data.merge.MergeFunction): org.spongepowered.api.data.DataTransactionResult; - /** - * Gets an copied collection of all known {@link DataManipulator}s belonging - * to the block at the given position. An individual {@link DataManipulator} - * can be used for creating new data to replace on the block at the given - * position. - */ - // @ts-ignore - getManipulators(coordinates: any /*Vector3i*/): any[] /*java.util.Collection*/; - /** - * Gets an copied collection of all known {@link DataManipulator}s belonging - * to the block at the given position. An individual {@link DataManipulator} - * can be used for creating new data to replace on the block at the given - * position. - */ - // @ts-ignore - getManipulators(x: number, y: number, z: number): any[] /*java.util.Collection*/; - /** - * Validates the container with known data required to set the raw data to - * the block at the given position. If the container is incomplete or - * contains invalid data, false is returned. - *

This validation should be checked prior to calling - * {@link #setRawData(Vector3i, DataView)} to avoid exceptions.

- */ - // @ts-ignore - validateRawData(position: any /*Vector3i*/, container: org.spongepowered.api.data.DataView): boolean; - /** - * Validates the container with known data required to set the raw data to - * the block at the given position. If the container is incomplete or - * contains invalid data, false is returned. - *

This validation should be checked prior to calling - * {@link #setRawData(Vector3i, DataView)} to avoid exceptions.

- */ - // @ts-ignore - validateRawData(x: number, y: number, z: number, container: org.spongepowered.api.data.DataView): boolean; - /** - * Attempts to set all data of the block at the given position according to - * the {@link DataContainer}'s held information. Using this to modify known - * {@link DataManipulator}s is unsupported and if the data is invalid, an - * {@link InvalidDataException} is thrown. - *

This setter is used to provide setting custom data that is not - * represented by the Data API, including forge mods and other unknown data. - * Attempts at validating known {@link DataManipulator}s contained in the - * data container are made with the assumption that all necessary data - * exists.

- */ - // @ts-ignore - setRawData(position: any /*Vector3i*/, container: org.spongepowered.api.data.DataView): void; - /** - * Attempts to set all data of the block at the given position according to - * the {@link DataContainer}'s held information. Using this to modify known - * {@link DataManipulator}s is unsupported and if the data is invalid, an - * {@link InvalidDataException} is thrown. - *

This setter is used to provide setting custom data that is not - * represented by the Data API, including forge mods and other unknown data. - * Attempts at validating known {@link DataManipulator}s contained in the - * data container are made with the assumption that all necessary data - * exists.

- */ - // @ts-ignore - setRawData(x: number, y: number, z: number, container: org.spongepowered.api.data.DataView): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.MutableBiomeVolume.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.MutableBiomeVolume.ts deleted file mode 100644 index 9f7ea3b5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.MutableBiomeVolume.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface MutableBiomeVolume extends org.spongepowered.api.world.extent.BiomeVolume { - /** - * Sets the biome at the given position in the world. - */ - // @ts-ignore - setBiome(position: any /*Vector3i*/, biome: org.spongepowered.api.world.biome.BiomeType): void; - /** - * Sets the biome at the given position in the world. - */ - // @ts-ignore - setBiome(x: number, y: number, z: number, biome: org.spongepowered.api.world.biome.BiomeType): void; - /** - * Returns a new volume that is the same or smaller than the current volume. - * This does not copy the biomes, it only provides a new view of the - * storage. - */ - // @ts-ignore - getBiomeView(newMin: any /*Vector3i*/, newMax: any /*Vector3i*/): org.spongepowered.api.world.extent.MutableBiomeVolume; - /** - * Returns a new volume that is viewed through some transformation. This - * does not copy the biomes, it only provides a new view of the storage. - */ - // @ts-ignore - getBiomeView(transform: org.spongepowered.api.util.DiscreteTransform3): org.spongepowered.api.world.extent.MutableBiomeVolume; - /** - * Returns a new volume that is translated so that - * {@link BiomeVolume#getBiomeMin()} returns {@link Vector2i#ZERO}. This does - * not copy the biomes, it only provides a new view of the storage. - */ - // @ts-ignore - getRelativeBiomeView(): org.spongepowered.api.world.extent.MutableBiomeVolume; - // @ts-ignore - getBiomeWorker(): org.spongepowered.api.world.extent.worker.MutableBiomeVolumeWorker; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.MutableBlockVolume.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.MutableBlockVolume.ts deleted file mode 100644 index 887b6e7d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.MutableBlockVolume.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface MutableBlockVolume extends org.spongepowered.api.world.extent.BlockVolume { - /** - * Sets the block at the given position in the world. - */ - // @ts-ignore - setBlock(position: any /*Vector3i*/, block: org.spongepowered.api.block.BlockState): boolean; - /** - * Sets the block at the given position in the world. - */ - // @ts-ignore - setBlock(x: number, y: number, z: number, block: org.spongepowered.api.block.BlockState): boolean; - /** - * Replace the block at this position by a new type. - *

This will remove any extended block data at the given position.

- */ - // @ts-ignore - setBlockType(position: any /*Vector3i*/, type: org.spongepowered.api.block.BlockType): boolean; - /** - * Replace the block at this position by a new type. - *

This will remove any extended block data at the given position.

- */ - // @ts-ignore - setBlockType(x: number, y: number, z: number, type: org.spongepowered.api.block.BlockType): boolean; - /** - * Returns a new volume that is the same or smaller than the current volume. - * This does not copy the blocks, it only provides a new view of the - * storage. - */ - // @ts-ignore - getBlockView(newMin: any /*Vector3i*/, newMax: any /*Vector3i*/): org.spongepowered.api.world.extent.MutableBlockVolume; - /** - * Returns a new volume that is viewed through some transformation. This - * does not copy the blocks, it only provides a new view of the storage. - */ - // @ts-ignore - getBlockView(transform: org.spongepowered.api.util.DiscreteTransform3): org.spongepowered.api.world.extent.MutableBlockVolume; - /** - * Returns a new volume that is translated so that - * {@link BlockVolume#getBlockMin()} returns {@link Vector3i#ZERO}. This - * does not copy the blocks, it only provides a new view of the storage. - */ - // @ts-ignore - getRelativeBlockView(): org.spongepowered.api.world.extent.MutableBlockVolume; - // @ts-ignore - getBlockWorker(): org.spongepowered.api.world.extent.worker.MutableBlockVolumeWorker; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.StorageType.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.StorageType.ts deleted file mode 100644 index c7233766..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.StorageType.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - class StorageType { - // @ts-ignore - public static STANDARD: org.spongepowered.api.world.extent.StorageType; - // @ts-ignore - public static THREAD_SAFE: org.spongepowered.api.world.extent.StorageType; - // @ts-ignore - public static values(): org.spongepowered.api.world.extent.StorageType[]; - // @ts-ignore - public static valueOf(name: string): org.spongepowered.api.world.extent.StorageType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.TileEntityVolume.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.TileEntityVolume.ts deleted file mode 100644 index 356a4fea..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.TileEntityVolume.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface TileEntityVolume extends org.spongepowered.api.world.extent.MutableBlockVolume { - /** - * Return a collection of tile entities contained within this volume, - * possibly only returning tile entities only in loaded areas. - *

For world implementations, only some parts of the world is usually - * loaded, so this method will only return tile entities within those loaded - * parts.

- */ - // @ts-ignore - getTileEntities(): any[] /*java.util.Collection*/; - /** - * Return a collection of tile entities contained within this volume, - * possibly only returning tile entities only in loaded areas. The returned - * tile entities are filtered by the given {@link Predicate} before being - * returned. - *

For world implementations, only some parts of the world is usually - * loaded, so this method will only return tile entities within those loaded - * parts.

- */ - // @ts-ignore - getTileEntities(filter: any): any[] /*java.util.Collection*/; - /** - * Gets the tile entity at the given position, if it exists. - */ - // @ts-ignore - getTileEntity(position: any /*Vector3i*/): any; - /** - * Gets the tile entity at the given position, if it exists. - */ - // @ts-ignore - getTileEntity(x: number, y: number, z: number): any; - // @ts-ignore - getBlockWorker(): org.spongepowered.api.world.extent.worker.MutableBlockVolumeWorker; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.UnmodifiableBiomeVolume.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.UnmodifiableBiomeVolume.ts deleted file mode 100644 index e9a7b4bb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.UnmodifiableBiomeVolume.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface UnmodifiableBiomeVolume extends org.spongepowered.api.world.extent.BiomeVolume { - /** - * Returns a new volume that is the same or smaller than the current volume. - * This does not copy the biomes, it only provides a new view of the - * storage. - */ - // @ts-ignore - getBiomeView(newMin: any /*Vector3i*/, newMax: any /*Vector3i*/): org.spongepowered.api.world.extent.UnmodifiableBiomeVolume; - /** - * Returns a new volume that is viewed through some transformation. This - * does not copy the biomes, it only provides a new view of the storage. - */ - // @ts-ignore - getBiomeView(transform: org.spongepowered.api.util.DiscreteTransform3): org.spongepowered.api.world.extent.UnmodifiableBiomeVolume; - /** - * Returns a new volume that is translated so that - * {@link BiomeVolume#getBiomeMin()} returns {@link Vector2i#ZERO}. This - * does not copy the biomes, it only provides a new view of the storage. - */ - // @ts-ignore - getRelativeBiomeView(): org.spongepowered.api.world.extent.UnmodifiableBiomeVolume; - // @ts-ignore - getUnmodifiableBiomeView(): org.spongepowered.api.world.extent.UnmodifiableBiomeVolume; - // @ts-ignore - getBiomeWorker(): org.spongepowered.api.world.extent.worker.BiomeVolumeWorker; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.UnmodifiableBlockVolume.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.UnmodifiableBlockVolume.ts deleted file mode 100644 index 2ec039ad..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.UnmodifiableBlockVolume.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - // @ts-ignore - interface UnmodifiableBlockVolume extends org.spongepowered.api.world.extent.BlockVolume { - /** - * Returns a new volume that is the same or smaller than the current volume. - * This does not copy the blocks, it only provides a new view of the - * storage. - */ - // @ts-ignore - getBlockView(newMin: any /*Vector3i*/, newMax: any /*Vector3i*/): org.spongepowered.api.world.extent.UnmodifiableBlockVolume; - /** - * Returns a new volume that is viewed through some transformation. This - * does not copy the blocks, it only provides a new view of the storage. - */ - // @ts-ignore - getBlockView(transform: org.spongepowered.api.util.DiscreteTransform3): org.spongepowered.api.world.extent.UnmodifiableBlockVolume; - /** - * Returns a new volume that is translated so that - * {@link BlockVolume#getBlockMin()} returns {@link Vector3i#ZERO}. This - * does not copy the blocks, it only provides a new view of the storage. - */ - // @ts-ignore - getRelativeBlockView(): org.spongepowered.api.world.extent.UnmodifiableBlockVolume; - // @ts-ignore - getUnmodifiableBlockView(): org.spongepowered.api.world.extent.UnmodifiableBlockVolume; - // @ts-ignore - getBlockWorker(): org.spongepowered.api.world.extent.worker.BlockVolumeWorker; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.BiomeVolumeWorker.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.BiomeVolumeWorker.ts deleted file mode 100644 index d00d80e4..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.BiomeVolumeWorker.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - // @ts-ignore - interface BiomeVolumeWorker { - /** - * Returns the volume this worker operates on. - */ - // @ts-ignore - getVolume(): org.spongepowered.api.world.extent.BiomeVolume; - /** - * Applies a mapping operation to all the biomes in the volume and saves the - * results to the destination volume. - */ - // @ts-ignore - map(mapper: org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeMapper, destination: org.spongepowered.api.world.extent.MutableBiomeVolume): void; - /** - * Applies a merging operation to the biomes of the operating volume and an - * external one. Saves the results to the destination volume. - */ - // @ts-ignore - merge(second: org.spongepowered.api.world.extent.BiomeVolume, merger: org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeMerger, destination: org.spongepowered.api.world.extent.MutableBiomeVolume): void; - /** - * Iterates this biome volume, calling the visitor on each coordinate pair. - */ - // @ts-ignore - iterate(visitor: org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeVisitor): void; - /** - * Applies a reduction operation to the volume. The identity should be the - * result of no reduction being applied. For example, the additive identity - * is 0, the multiplicative one is 1 and the set union one is the empty - * set. - */ - // @ts-ignore - reduce(reducer: org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeReducer, merge: any, identity: any): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.BlockVolumeWorker.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.BlockVolumeWorker.ts deleted file mode 100644 index 306ce672..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.BlockVolumeWorker.ts +++ /dev/null @@ -1,46 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - // @ts-ignore - interface BlockVolumeWorker { - /** - * Returns the volume this worker operates on. - */ - // @ts-ignore - getVolume(): org.spongepowered.api.world.extent.BlockVolume; - /** - * Applies a mapping operation to all the blocks in the volume and saves the - * results to the destination volume. - */ - // @ts-ignore - map(mapper: org.spongepowered.api.world.extent.worker.procedure.BlockVolumeMapper, destination: org.spongepowered.api.world.extent.MutableBlockVolume): void; - /** - * Applies a merging operation to the blocks of the operating volume and an - * external one. Saves the results to the destination volume. - */ - // @ts-ignore - merge(second: org.spongepowered.api.world.extent.BlockVolume, merger: org.spongepowered.api.world.extent.worker.procedure.BlockVolumeMerger, destination: org.spongepowered.api.world.extent.MutableBlockVolume): void; - /** - * Iterates this block volume, calling the visitor on each coordinate - * triplet. - */ - // @ts-ignore - iterate(visitor: org.spongepowered.api.world.extent.worker.procedure.BlockVolumeVisitor): void; - /** - * Applies a reduction operation to the volume. The identity should be the - * result of no reduction being applied. For example, the additive identity - * is 0, the multiplicative one is 1 and the set union one is the empty - * set. - */ - // @ts-ignore - reduce(reducer: org.spongepowered.api.world.extent.worker.procedure.BlockVolumeReducer, merge: any, identity: any): any; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.MutableBiomeVolumeWorker.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.MutableBiomeVolumeWorker.ts deleted file mode 100644 index b04dedc8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.MutableBiomeVolumeWorker.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - // @ts-ignore - interface MutableBiomeVolumeWorker extends org.spongepowered.api.world.extent.worker.BiomeVolumeWorker { - /** - * Similar to {@link BiomeVolumeWorker#map(BiomeVolumeMapper, - * MutableBiomeVolume)} but uses the operating volume as the destination. - * Precautions must be taken as the volume is modified while the operation - * is being performed, and so the surrounding blocks might not be the - * original ones. - */ - // @ts-ignore - map(mapper: org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeMapper): void; - /** - * Similar to {@link BiomeVolumeWorker#merge(BiomeVolume, BiomeVolumeMerger, - * MutableBiomeVolume)} but uses the operating volume as the destination. - * Precautions must be taken as the volume is modified while the operation - * is being performed, and so the surrounding blocks might not be the - * original ones. - */ - // @ts-ignore - merge(right: org.spongepowered.api.world.extent.BiomeVolume, merger: org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeMerger): void; - /** - * Applies a filler operation to the volume. - */ - // @ts-ignore - fill(filler: org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeFiller): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.MutableBlockVolumeWorker.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.MutableBlockVolumeWorker.ts deleted file mode 100644 index e3558ec7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.MutableBlockVolumeWorker.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - // @ts-ignore - interface MutableBlockVolumeWorker extends org.spongepowered.api.world.extent.worker.BlockVolumeWorker { - /** - * Similar to {@link BlockVolumeWorker#map(BlockVolumeMapper, - * MutableBlockVolume)} but uses the operating volume as the destination. - * Precautions must be taken as the volume is modified while the operation - * is being performed, and so the surrounding blocks might not be the - * original ones. - */ - // @ts-ignore - map(mapper: org.spongepowered.api.world.extent.worker.procedure.BlockVolumeMapper): void; - /** - * Similar to {@link BlockVolumeWorker#merge(BlockVolume, BlockVolumeMerger, - * MutableBlockVolume)} but uses the operating volume as the destination. - * Precautions must be taken as the volume is modified while the operation - * is being performed, and so the surrounding blocks might not be the - * original ones. - */ - // @ts-ignore - merge(right: org.spongepowered.api.world.extent.BlockVolume, merger: org.spongepowered.api.world.extent.worker.procedure.BlockVolumeMerger): void; - /** - * Applies a filler operation to the volume. - */ - // @ts-ignore - fill(filler: org.spongepowered.api.world.extent.worker.procedure.BlockVolumeFiller): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeFiller.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeFiller.ts deleted file mode 100644 index 1a07976c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeFiller.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - namespace procedure { - // @ts-ignore - interface BiomeVolumeFiller { - /** - * Produces a biome for the coordinate pair. - */ - // @ts-ignore - produce(x: number, y: number, z: number): org.spongepowered.api.world.biome.BiomeType; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeMapper.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeMapper.ts deleted file mode 100644 index 7f64418c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeMapper.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - namespace procedure { - // @ts-ignore - interface BiomeVolumeMapper { - /** - * Produces a new biome from the original biome given as its volume and - * coordinates. - */ - // @ts-ignore - map(volume: org.spongepowered.api.world.extent.UnmodifiableBiomeVolume, x: number, y: number, z: number): org.spongepowered.api.world.biome.BiomeType; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeMerger.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeMerger.ts deleted file mode 100644 index 9fd26751..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeMerger.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - namespace procedure { - // @ts-ignore - interface BiomeVolumeMerger { - /** - * Produces a new biome from two original biomes given as their volumes and - * their coordinates. - */ - // @ts-ignore - merge(firstVolume: org.spongepowered.api.world.extent.UnmodifiableBiomeVolume, xFirst: number, yFirst: number, zFirst: number, secondVolume: org.spongepowered.api.world.extent.UnmodifiableBiomeVolume, xSecond: number, ySecond: number, zSecond: number): org.spongepowered.api.world.biome.BiomeType; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeReducer.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeReducer.ts deleted file mode 100644 index fdb4020a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeReducer.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - namespace procedure { - // @ts-ignore - interface BiomeVolumeReducer { - /** - * Reduces a biome given as its volume and coordinates into the ongoing - * reduction. - */ - // @ts-ignore - reduce(volume: org.spongepowered.api.world.extent.UnmodifiableBiomeVolume, x: number, y: number, z: number, reduction: any): any; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeVisitor.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeVisitor.ts deleted file mode 100644 index f2dfe4bb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BiomeVolumeVisitor.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - namespace procedure { - // @ts-ignore - interface BiomeVolumeVisitor { - /** - * Visits a biome given as its volume and coordinates. - */ - // @ts-ignore - visit(volume: org.spongepowered.api.world.extent.BiomeVolume, x: number, y: number, z: number): void; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeFiller.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeFiller.ts deleted file mode 100644 index acbdfc9e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeFiller.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - namespace procedure { - // @ts-ignore - interface BlockVolumeFiller { - /** - * Produces a block for the coordinate triplet. - */ - // @ts-ignore - produce(x: number, y: number, z: number): org.spongepowered.api.block.BlockState; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeMapper.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeMapper.ts deleted file mode 100644 index 15b68837..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeMapper.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - namespace procedure { - // @ts-ignore - interface BlockVolumeMapper { - /** - * Produces a new block from the original block given as its volume and - * coordinates. - */ - // @ts-ignore - map(volume: org.spongepowered.api.world.extent.UnmodifiableBlockVolume, x: number, y: number, z: number): org.spongepowered.api.block.BlockState; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeMerger.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeMerger.ts deleted file mode 100644 index be41b714..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeMerger.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - namespace procedure { - // @ts-ignore - interface BlockVolumeMerger { - /** - * Produces a new block from two original blocks given as their volumes and - * their coordinates. - */ - // @ts-ignore - merge(firstVolume: org.spongepowered.api.world.extent.UnmodifiableBlockVolume, xFirst: number, yFirst: number, zFirst: number, secondVolume: org.spongepowered.api.world.extent.UnmodifiableBlockVolume, xSecond: number, ySecond: number, zSecond: number): org.spongepowered.api.block.BlockState; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeReducer.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeReducer.ts deleted file mode 100644 index 845f0ed9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeReducer.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - namespace procedure { - // @ts-ignore - interface BlockVolumeReducer { - /** - * Reduces a block given as its volume and coordinates into the ongoing - * reduction. - */ - // @ts-ignore - reduce(volume: org.spongepowered.api.world.extent.UnmodifiableBlockVolume, x: number, y: number, z: number, reduction: any): any; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeVisitor.ts b/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeVisitor.ts deleted file mode 100644 index 7c54a3f1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.extent.worker.procedure.BlockVolumeVisitor.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace extent { - namespace worker { - namespace procedure { - // @ts-ignore - interface BlockVolumeVisitor { - /** - * Visits a block given as its volume and coordinates. - */ - // @ts-ignore - visit(volume: org.spongepowered.api.world.extent.BlockVolume, x: number, y: number, z: number): void; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gamerule.DefaultGameRules.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gamerule.DefaultGameRules.ts deleted file mode 100644 index 88f57f74..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gamerule.DefaultGameRules.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gamerule { - // @ts-ignore - class DefaultGameRules { - constructor() - // @ts-ignore - public static ANNOUNCE_ADVANCEMENTS: string; - // @ts-ignore - public static COMMAND_BLOCK_OUTPUT: string; - // @ts-ignore - public static DISABLE_ELYTRA_MOVEMENT_CHECK: string; - // @ts-ignore - public static DO_DAYLIGHT_CYCLE: string; - // @ts-ignore - public static DO_ENTITY_DROPS: string; - // @ts-ignore - public static DO_FIRE_TICK: string; - // @ts-ignore - public static DO_LIMITED_CRAFTING: string; - // @ts-ignore - public static DO_MOB_LOOT: string; - // @ts-ignore - public static DO_MOB_SPAWNING: string; - // @ts-ignore - public static DO_TILE_DROPS: string; - // @ts-ignore - public static DO_WEATHER_CYCLE: string; - // @ts-ignore - public static GAME_LOOP_FUNCTION: string; - // @ts-ignore - public static KEEP_INVENTORY: string; - // @ts-ignore - public static LOG_ADMIN_COMMANDS: string; - // @ts-ignore - public static MAX_COMMAND_CHAIN_LENGTH: string; - // @ts-ignore - public static MAX_ENTITY_CRAMMING: string; - // @ts-ignore - public static MOB_GRIEFING: string; - // @ts-ignore - public static NATURAL_REGENERATION: string; - // @ts-ignore - public static RANDOM_TICK_SPEED: string; - // @ts-ignore - public static REDUCED_DEBUG_INFO: string; - // @ts-ignore - public static SEND_COMMAND_FEEDBACK: string; - // @ts-ignore - public static SHOW_DEATH_MESSAGES: string; - // @ts-ignore - public static SPAWN_RADIUS: string; - // @ts-ignore - public static SPECTATORS_GENERATE_CHUNKS: string; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.BiomeGenerator.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.BiomeGenerator.ts deleted file mode 100644 index 3fef41b2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.BiomeGenerator.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - // @ts-ignore - interface BiomeGenerator { - /** - * Generates the biomes for the whole buffer using only biomes from the - * given array of available biomes. The resultant biomes are placed into the - * given buffer. - *

The biome generator can be called multiple times for the same - * position. The biome generator should, for any position/world seed - * combination, always return the same biome.

- */ - // @ts-ignore - generateBiomes(buffer: org.spongepowered.api.world.extent.MutableBiomeVolume): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.GenerationPopulator.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.GenerationPopulator.ts deleted file mode 100644 index b18820f8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.GenerationPopulator.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - // @ts-ignore - interface GenerationPopulator { - /** - * Operates on a {@link MutableBlockVolume} either forming the base terrain - * or performing modifications during the generation phase. - */ - // @ts-ignore - populate(world: org.spongepowered.api.world.World, buffer: org.spongepowered.api.world.extent.MutableBlockVolume, biomes: org.spongepowered.api.world.extent.ImmutableBiomeVolume): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.Populator.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.Populator.ts deleted file mode 100644 index 443d4da2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.Populator.ts +++ /dev/null @@ -1,41 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - // @ts-ignore - interface Populator { - /** - * Gets the type of this populator. - *

It should be noted that the relationship of classes implementing - * {@link Populator} and {@link PopulatorType}s is not a one-to-one - * relationship. That is to say that multiple different populators could - * return the same {@link PopulatorType} for the purposes of grouping (A - * plugin populator creating custom glowstone clusters may want to return - * {@link PopulatorTypes#GLOWSTONE} so that other plugins can recognize - * changes that it makes as being part of the generation of glowstone).

- */ - // @ts-ignore - getType(): org.spongepowered.api.world.gen.PopulatorType; - /** - * Applies the populator to the given {@link Extent} volume. The entire volume - * of the given extent should be populated. - *

Due to their transitive nature virtual biomes cannot be fetched from - * the given extent, instead your populator should override - * {@link #populate(World, Extent, Random, ImmutableBiomeVolume)} to make use - * of the ImmutableBiomeArea which does contain virtual biome types.

- */ - // @ts-ignore - populate(world: org.spongepowered.api.world.World, volume: org.spongepowered.api.world.extent.Extent, random: any): void; - /** - * Applies the populator to the given {@link Extent} volume. The entire volume - * of the given extent should be populated. - */ - // @ts-ignore - populate(world: org.spongepowered.api.world.World, volume: org.spongepowered.api.world.extent.Extent, random: any, virtualBiomes: org.spongepowered.api.world.extent.ImmutableBiomeVolume): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorObject.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorObject.ts deleted file mode 100644 index 670cc570..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorObject.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - // @ts-ignore - interface PopulatorObject extends org.spongepowered.api.CatalogType { - /** - * Returns whether this object can be placed into the world at the given - * position. - */ - // @ts-ignore - canPlaceAt(world: org.spongepowered.api.world.World, x: number, y: number, z: number): boolean; - /** - * Places the object into the world at the given location. - */ - // @ts-ignore - placeObject(world: org.spongepowered.api.world.World, random: any, x: number, y: number, z: number): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorObjects.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorObjects.ts deleted file mode 100644 index 8eb696af..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorObjects.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - // @ts-ignore - class PopulatorObjects { - // @ts-ignore - public static DESERT_WELL: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static BIRCH: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static CANOPY: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static JUNGLE: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static JUNGLE_BUSH: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static MEGA_BIRCH: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static MEGA_JUNGLE: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static MEGA_OAK: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static MEGA_POINTY_TAIGA: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static MEGA_TALL_TAIGA: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static OAK: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static POINTY_TAIGA: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static SAVANNA: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static SWAMP: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static TALL_TAIGA: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static BROWN: org.spongepowered.api.world.gen.PopulatorObject; - // @ts-ignore - public static RED: org.spongepowered.api.world.gen.PopulatorObject; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorType.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorType.ts deleted file mode 100644 index 7c5aefdb..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorType.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - // @ts-ignore - interface PopulatorType extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.translation.Translatable { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorTypes.ts deleted file mode 100644 index 41cbc5c6..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.PopulatorTypes.ts +++ /dev/null @@ -1,69 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - // @ts-ignore - class PopulatorTypes { - // @ts-ignore - public static BIG_MUSHROOM: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static BLOCK_BLOB: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static CACTUS: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static CHORUS_FLOWER: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static DEAD_BUSH: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static DESERT_WELL: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static DOUBLE_PLANT: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static DUNGEON: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static END_ISLAND: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static FLOWER: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static FOREST: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static FOSSIL: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static GENERIC_BLOCK: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static GENERIC_OBJECT: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static GLOWSTONE: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static ICE_PATH: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static ICE_SPIKE: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static LAKE: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static MELON: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static MUSHROOM: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static NETHER_FIRE: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static ORE: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static PUMPKIN: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static REED: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static SEA_FLOOR: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static SHRUB: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static VINE: org.spongepowered.api.world.gen.PopulatorType; - // @ts-ignore - public static WATER_LILY: org.spongepowered.api.world.gen.PopulatorType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.WorldGenerator.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.WorldGenerator.ts deleted file mode 100644 index cbd216f5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.WorldGenerator.ts +++ /dev/null @@ -1,71 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - // @ts-ignore - interface WorldGenerator { - /** - * Gets the main {@link GenerationPopulator}. This generator populator is - * responsible for generating the base terrain of the chunk. - */ - // @ts-ignore - getBaseGenerationPopulator(): org.spongepowered.api.world.gen.GenerationPopulator; - /** - * Sets the {@link GenerationPopulator}. This generator populator is - * responsible for generating the base terrain of the chunk. - */ - // @ts-ignore - setBaseGenerationPopulator(generator: org.spongepowered.api.world.gen.GenerationPopulator): void; - /** - * Gets a mutable list of {@link GenerationPopulator}s. These populators - * work strictly on a single chunk. They will be executed directly after the - * {@link BiomeGenerationSettings#getGroundCoverLayers() biome ground cover - * layers} and the {@link BiomeGenerationSettings#getGenerationPopulators() - * biome generator populators} have been called. These generator populators - * are typically used to generate large terrain features, like caves and - * ravines. - *

This list does not include {@link #getBaseGenerationPopulator() the - * base generator}.

- */ - // @ts-ignore - getGenerationPopulators(): any[] /*java.util.List*/; - /** - * Gets an immutable list of {@link GenerationPopulator}s which match the - * given class type. - */ - // @ts-ignore - getGenerationPopulators(type: any): any[] /*java.util.List*/; - /** - * Gets a mutable list of {@link Populator}s which are applied globally (in - * the whole world). - */ - // @ts-ignore - getPopulators(): any[] /*java.util.List*/; - /** - * Gets an immutable list of {@link Populator}s which match the given class - * type. - */ - // @ts-ignore - getPopulators(type: any): any[] /*java.util.List*/; - /** - * Gets the {@link BiomeGenerator} for this world generator. - */ - // @ts-ignore - getBiomeGenerator(): org.spongepowered.api.world.gen.BiomeGenerator; - /** - * Sets the {@link BiomeGenerator} for this world generator. - */ - // @ts-ignore - setBiomeGenerator(biomeGenerator: org.spongepowered.api.world.gen.BiomeGenerator): void; - /** - * Gets this world generator settings for the given {@link BiomeType}.. - */ - // @ts-ignore - getBiomeSettings(type: org.spongepowered.api.world.biome.BiomeType): org.spongepowered.api.world.biome.BiomeGenerationSettings; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.WorldGeneratorModifier.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.WorldGeneratorModifier.ts deleted file mode 100644 index c68c3b47..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.WorldGeneratorModifier.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - // @ts-ignore - interface WorldGeneratorModifier extends org.spongepowered.api.CatalogType { - /** - * Modifies the given world generator. This method is called by the - * implementation when the server is set to use this plugin for world - * generation. - *

To replace the base chunk generator, replace the main generator - * populator using - * {@link WorldGenerator#setBaseGenerationPopulator(GenerationPopulator)}. - * To replace the biome generator, use - * {@link WorldGenerator#setBiomeGenerator(BiomeGenerator)}. To change - * terrain population, modify the populator list returned by - * {@link WorldGenerator#getPopulators()} or - * {@link WorldGenerator#getGenerationPopulators()}.

- */ - // @ts-ignore - modifyWorldGenerator(world: org.spongepowered.api.world.storage.WorldProperties, settings: org.spongepowered.api.data.DataContainer, worldGenerator: org.spongepowered.api.world.gen.WorldGenerator): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.WorldGeneratorModifiers.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.WorldGeneratorModifiers.ts deleted file mode 100644 index 614d7034..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.WorldGeneratorModifiers.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - // @ts-ignore - class WorldGeneratorModifiers { - // @ts-ignore - public static SKYLANDS: org.spongepowered.api.world.gen.WorldGeneratorModifier; - // @ts-ignore - public static VOID: org.spongepowered.api.world.gen.WorldGeneratorModifier; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BigMushroom.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BigMushroom.Builder.ts deleted file mode 100644 index 18eee3f2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BigMushroom.Builder.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace BigMushroom { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the weighted {@link PopulatorObject}s to select from during - * generation. - */ - // @ts-ignore - types(types: org.spongepowered.api.util.weighted.WeightedTable): org.spongepowered.api.world.gen.populator.BigMushroom.Builder; - /** - * Adds the weighted {@link PopulatorObject} to the list of available - * types. - */ - // @ts-ignore - type(type: org.spongepowered.api.world.gen.PopulatorObject, weight: number): org.spongepowered.api.world.gen.populator.BigMushroom.Builder; - /** - * Sets the number of mushrooms which will be attempted to be spawned. - *

Note: This number is not a definite number and - * the final count of mushrooms which are successfully spawned by the - * populator will almost always be lower.

- */ - // @ts-ignore - mushroomsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.BigMushroom.Builder; - /** - * Sets the number of mushrooms which will be attempted to be spawned. - *

Note: This number is not a definite number and - * the final count of mushrooms which are successfully spawned by the - * populator will almost always be lower.

- */ - // @ts-ignore - mushroomsPerChunk(count: number): org.spongepowered.api.world.gen.populator.BigMushroom.Builder; - /** - * Sets the overriding supplier. If the supplier is present then it is - * used in place of the weighted table. - */ - // @ts-ignore - supplier(override: any): org.spongepowered.api.world.gen.populator.BigMushroom.Builder; - /** - * Builds a new instance of a {@link BigMushroom} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.BigMushroom; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BigMushroom.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BigMushroom.ts deleted file mode 100644 index 9ec52eb7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BigMushroom.ts +++ /dev/null @@ -1,72 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface BigMushroom extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link BigMushroom} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.BigMushroom.Builder; - /** - * Gets a mutable {@link WeightedTable} of possible mushroom types to spawn. - */ - // @ts-ignore - getTypes(): org.spongepowered.api.util.weighted.WeightedTable; - /** - * Gets a representation of the amount of mushrooms which will be attempted - * to be spawned per chunk. - *

Note: This number is not a definite number and the - * final count of mushrooms which are successfully spawned by the populator - * will almost always be lower.

- */ - // @ts-ignore - getMushroomsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the representation of the amount of mushrooms which will be - * attempted to be spawned per chunk. - *

Note: This number is not a definite number and the - * final count of mushrooms which are successfully spawned by the populator - * will almost always be lower.

- */ - // @ts-ignore - setMushroomsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the amount of mushrooms which will be attempted to be spawned per - * chunk. - *

Note: This number is not a definite number and the - * final count of mushrooms which are successfully spawned by the populator - * will almost always be lower.

- */ - // @ts-ignore - setMushroomsPerChunk(count: number): void; - /** - * Gets the overriding supplier if it exists. If the supplier is present - * then it is used in place of the weighted table while determining what - * PopulatorObject to place. - */ - // @ts-ignore - getSupplierOverride(): any; - /** - * Sets the overriding supplier. If the supplier is present then it is used - * in place of the weighted table while determining what PopulatorObject to - * place. - */ - // @ts-ignore - setSupplierOverride(override: any): void; - /** - * Clears the supplier override to force the weighted table to be used - * instead. - */ - // @ts-ignore - clearSupplierOverride(): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BlockBlob.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BlockBlob.Builder.ts deleted file mode 100644 index f60d6f09..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BlockBlob.Builder.ts +++ /dev/null @@ -1,51 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace BlockBlob { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the {@link BlockState} that this populator will place down to - * form the blob. - */ - // @ts-ignore - block(block: org.spongepowered.api.block.BlockState): org.spongepowered.api.world.gen.populator.BlockBlob.Builder; - /** - * Sets the radius of the area for the blob, cannot be negative. - */ - // @ts-ignore - radius(radius: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.BlockBlob.Builder; - /** - * Sets the radius of the area for the blob, cannot be negative. - */ - // @ts-ignore - radius(radius: number): org.spongepowered.api.world.gen.populator.BlockBlob.Builder; - /** - * Sets the number of blobs to spawn per chunk, must be greater than - * zero. - */ - // @ts-ignore - blobCount(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.BlockBlob.Builder; - /** - * Sets the number of blobs to spawn per chunk, must be greater than - * zero. - */ - // @ts-ignore - blobCount(count: number): org.spongepowered.api.world.gen.populator.BlockBlob.Builder; - /** - * Builds a new instance of a {@link BlockBlob} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.BlockBlob; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BlockBlob.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BlockBlob.ts deleted file mode 100644 index 1c714389..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.BlockBlob.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface BlockBlob extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link BlockBlob} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.BlockBlob.Builder; - /** - * Gets the {@link BlockState} that this populator will place down to form - * the blob. - */ - // @ts-ignore - getBlock(): org.spongepowered.api.block.BlockState; - /** - * Sets the {@link BlockState} that this populator will place down to form - * the blob. - */ - // @ts-ignore - setBlock(state: org.spongepowered.api.block.BlockState): void; - /** - * Gets the radius of the area for the blob. - */ - // @ts-ignore - getRadius(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the radius of the area for the blob, cannot be negative. - */ - // @ts-ignore - setRadius(radius: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the radius of the area for the blob, cannot be negative. - */ - // @ts-ignore - setRadius(radius: number): void; - /** - * Gets the number of blobs which will be placed per chunk. - */ - // @ts-ignore - getCount(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of blobs to spawn per chunk, must be greater than zero. - */ - // @ts-ignore - setCount(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of blobs to spawn per chunk, must be greater than zero. - */ - // @ts-ignore - setCount(count: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Cactus.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Cactus.Builder.ts deleted file mode 100644 index 6ad0e80e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Cactus.Builder.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Cactus { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of cacti to spawn per chunk, cannot be negative. - *

Note: This number is not a definite number and - * the final count of cacti which are successfully spawned by the - * populator will almost always be lower.

- */ - // @ts-ignore - cactiPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Cactus.Builder; - /** - * Sets the number of cacti to spawn per chunk, cannot be negative. - *

Note: This number is not a definite number and - * the final count of cacti which are successfully spawned by the - * populator will almost always be lower.

- */ - // @ts-ignore - cactiPerChunk(count: number): org.spongepowered.api.world.gen.populator.Cactus.Builder; - /** - * Sets the height of the cacti. - */ - // @ts-ignore - height(height: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Cactus.Builder; - /** - * Sets the height of the cacti. - */ - // @ts-ignore - height(height: number): org.spongepowered.api.world.gen.populator.Cactus.Builder; - /** - * Builds a new instance of a {@link Cactus} populator with the settings - * set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Cactus; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Cactus.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Cactus.ts deleted file mode 100644 index ee649d01..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Cactus.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Cactus extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Cactus} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Cactus.Builder; - /** - * Gets the number of cacti to spawn per chunk. - */ - // @ts-ignore - getCactiPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of cacti to spawn per chunk, cannot be negative. - *

Note: This number is not a definite number and the - * final count of cacti which are successfully spawned by the populator will - * almost always be lower.

- */ - // @ts-ignore - setCactiPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of cacti to spawn per chunk, cannot be negative. - *

Note: This number is not a definite number and the - * final count of cacti which are successfully spawned by the populator will - * almost always be lower.

- */ - // @ts-ignore - setCactiPerChunk(count: number): void; - /** - * Gets the height of the cacti. - */ - // @ts-ignore - getHeight(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the height of the cacti. - */ - // @ts-ignore - setHeight(height: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the height of the cacti. - */ - // @ts-ignore - setHeight(count: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.ChorusFlower.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.ChorusFlower.Builder.ts deleted file mode 100644 index ff9f9e0c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.ChorusFlower.Builder.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace ChorusFlower { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the radius around the center (0, 0) of the world that this - * populator will not apply to. - *

This must be a positive value or zero.

- */ - // @ts-ignore - exclusionRadius(radius: number): org.spongepowered.api.world.gen.populator.ChorusFlower.Builder; - /** - * Builds a new instance of a {@link ChorusFlower} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.ChorusFlower; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.ChorusFlower.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.ChorusFlower.ts deleted file mode 100644 index c69de14c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.ChorusFlower.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface ChorusFlower extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link ChorusFlower} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.ChorusFlower.Builder; - /** - * Gets the radius around the center (0, 0) of the world that this populator - * will not apply to. - *

This is used to prevent the islands from generating around the ender - * dragon fight area.

- */ - // @ts-ignore - getExclusionRadius(): number; - /** - * Sets the radius around the center (0, 0) of the world that this populator - * will not apply to. - *

This must be a positive value or zero.

- */ - // @ts-ignore - setExclusionRadius(radius: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DeadBush.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DeadBush.Builder.ts deleted file mode 100644 index 336fd521..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DeadBush.Builder.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace DeadBush { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of bushes to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.DeadBush.Builder; - /** - * Sets the number of bushes to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.DeadBush.Builder; - /** - * Builds a new instance of a {@link DeadBush} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.DeadBush; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DeadBush.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DeadBush.ts deleted file mode 100644 index 99fcae7d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DeadBush.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface DeadBush extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link DeadBush} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.DeadBush.Builder; - /** - * Gets the number of bushes to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - getShrubsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of bushes to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setShrubsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of bushes to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setShrubsPerChunk(count: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DesertWell.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DesertWell.Builder.ts deleted file mode 100644 index f76b427c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DesertWell.Builder.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace DesertWell { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the probability of a desert well spawning. - */ - // @ts-ignore - probability(p: number): org.spongepowered.api.world.gen.populator.DesertWell.Builder; - /** - * Sets the {@link PopulatorObject} representing the well. - */ - // @ts-ignore - wellObject(obj: org.spongepowered.api.world.gen.PopulatorObject): org.spongepowered.api.world.gen.populator.DesertWell.Builder; - /** - * Builds a new instance of a {@link DesertWell} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.DesertWell; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DesertWell.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DesertWell.ts deleted file mode 100644 index 60ca5853..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DesertWell.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface DesertWell extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link DesertWell} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.DesertWell.Builder; - /** - * Gets the probability of a desert well spawning. - */ - // @ts-ignore - getSpawnProbability(): number; - /** - * Sets the probability of a desert well spawning. - */ - // @ts-ignore - setSpawnProbability(p: number): void; - /** - * Gets the {@link PopulatorObject} representing the well. - */ - // @ts-ignore - getWellObject(): org.spongepowered.api.world.gen.PopulatorObject; - /** - * Sets the {@link PopulatorObject} representing the well. - */ - // @ts-ignore - setWellObject(obj: org.spongepowered.api.world.gen.PopulatorObject): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DoublePlant.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DoublePlant.Builder.ts deleted file mode 100644 index 0cd4ddcf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DoublePlant.Builder.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace DoublePlant { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets which plant types may be spawned in by this populator. - */ - // @ts-ignore - types(types: org.spongepowered.api.util.weighted.WeightedTable): org.spongepowered.api.world.gen.populator.DoublePlant.Builder; - /** - * Adds a plant type to the list that may be spawned in by this - * populator. - */ - // @ts-ignore - type(type: org.spongepowered.api.data.type.DoublePlantType, weight: number): org.spongepowered.api.world.gen.populator.DoublePlant.Builder; - /** - * Sets the number of plants to create, cannot be negative. - *

Note: This number is not a definite number and - * the final count of plants which are successfully spawned by the - * populator will almost always be lower.

- */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.DoublePlant.Builder; - /** - * Sets the number of plants to create, cannot be negative. - *

Note: This number is not a definite number and - * the final count of plants which are successfully spawned by the - * populator will almost always be lower.

- */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.DoublePlant.Builder; - /** - * Sets the overriding supplier. If the supplier is present then it is - * used in place of the weighted table. - */ - // @ts-ignore - supplier(override: any): org.spongepowered.api.world.gen.populator.DoublePlant.Builder; - /** - * Builds a new instance of a {@link DoublePlant} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.DoublePlant; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DoublePlant.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DoublePlant.ts deleted file mode 100644 index dfda8eb9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.DoublePlant.ts +++ /dev/null @@ -1,67 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface DoublePlant extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link DoublePlant} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.DoublePlant.Builder; - /** - * Gets a mutable weighted collection of possible plants which may be - * selected to be spawned in by this populator. - */ - // @ts-ignore - getPossibleTypes(): org.spongepowered.api.util.weighted.WeightedTable; - /** - * Gets the number of plants to create per chunk. - */ - // @ts-ignore - getPlantsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of plants to create per chunk, cannot be negative. - *

Note: This number is not a definite number and the - * final count of plants which are successfully spawned by the populator - * will almost always be lower.

- */ - // @ts-ignore - setPlantsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of plants to create per chunk, cannot be negative. - *

Note: This number is not a definite number and the - * final count of plants which are successfully spawned by the populator - * will almost always be lower.

- */ - // @ts-ignore - setPlantsPerChunk(count: number): void; - /** - * Gets the overriding supplier if it exists. If the supplier is present - * then it is used in place of the weighted table while determining what - * DoublePlantType to place. - */ - // @ts-ignore - getSupplierOverride(): any; - /** - * Sets the overriding supplier. If the supplier is present then it is used - * in place of the weighted table while determining what DoublePlantType to - * place. - */ - // @ts-ignore - setSupplierOverride(override: any): void; - /** - * Clears the supplier override to force the weighted table to be used - * instead. - */ - // @ts-ignore - clearSupplierOverride(): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Dungeon.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Dungeon.Builder.ts deleted file mode 100644 index 04cf9bf7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Dungeon.Builder.ts +++ /dev/null @@ -1,61 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Dungeon { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of attempts at randomly spawning a generator per - * chunk. - */ - // @ts-ignore - attempts(attempts: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Dungeon.Builder; - /** - * Sets the number of attempts at randomly spawning a generator per - * chunk. - */ - // @ts-ignore - attempts(attempts: number): org.spongepowered.api.world.gen.populator.Dungeon.Builder; - /** - *

Sets {@link MobSpawnerData} that will be used to create the spawner - * within the dungeon.

- *

Note: Only one of choices or mob spawner data - * will be present.

- */ - // @ts-ignore - mobSpawnerData(data: org.spongepowered.api.data.manipulator.mutable.MobSpawnerData): org.spongepowered.api.world.gen.populator.Dungeon.Builder; - /** - *

Sets the possible {@link EntityArchetype}s that could be spawned. - * One type is chosen when creating the dungeon, for more complex - * spawners see {@link #mobSpawnerData(MobSpawnerData)}}

- *

To use the default set of choices, pass null instead - * of a table.

- *

Note: Only one of choices or mob spawner data - * will be present.

- */ - // @ts-ignore - choices(choices: org.spongepowered.api.util.weighted.WeightedTable): org.spongepowered.api.world.gen.populator.Dungeon.Builder; - /** - * Defines a {@link LootTable} of {@link ItemStackSnapshot}s from which - * items will be randomly selected based on weight in order to calculate - * the contents of chests placed within the dungeon. - */ - // @ts-ignore - possibleItems(items: org.spongepowered.api.util.weighted.LootTable): org.spongepowered.api.world.gen.populator.Dungeon.Builder; - /** - * Builds a new instance of a {@link Dungeon} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Dungeon; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Dungeon.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Dungeon.ts deleted file mode 100644 index ac6616f8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Dungeon.ts +++ /dev/null @@ -1,77 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Dungeon extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Dungeon} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Dungeon.Builder; - /** - * Gets the number of attempts at randomly spawning a generator per chunk. - */ - // @ts-ignore - getAttemptsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of attempts at randomly spawning a generator per chunk. - */ - // @ts-ignore - setAttemptsPerChunk(attempts: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of attempts at randomly spawning a generator per chunk. - */ - // @ts-ignore - setAttemptsPerChunk(attempts: number): void; - /** - *

Gets the {@link MobSpawnerData} which represents the MobSpawner which - * will be created within the dungeon.

- *

Note: Only one of choices or mob spawner data - * will be present.

- */ - // @ts-ignore - getMobSpawnerData(): any; - /** - *

Sets {@link MobSpawnerData} which will be used to create the spawner - * within the dungeon.

- *

Note: Only one of choices or mob spawner data - * will be present.

- */ - // @ts-ignore - setMobSpawnerData(data: org.spongepowered.api.data.manipulator.mutable.MobSpawnerData): void; - /** - *

Gets a weighted collection of possible - * {@link EntityArchetype}s that could be spawned. One type is chosen when - * creating the dungeon, for more complex spawners see - * {@link #getMobSpawnerData()}.

- *

Note: Only one of choices or mob spawner data - * will be present.

- */ - // @ts-ignore - getChoices(): any; - /** - *

Sets the possible {@link EntityArchetype}s that could be spawned. - * One type is chosen when creating the dungeon, for more complex - * spawners see {@link #setMobSpawnerData(MobSpawnerData)}

- *

Note: Only one of choices or mob spawner data - * will be present.

- */ - // @ts-ignore - setChoices(choices: org.spongepowered.api.util.weighted.WeightedTable): void; - /** - * Gets a mutable weighted collection of possible contents of the chests. - * Items will be randomly selected from this list based on weight in order - * to calculate the contents of chests placed within the dungeon. - */ - // @ts-ignore - getPossibleContents(): org.spongepowered.api.util.weighted.LootTable; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.EndIsland.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.EndIsland.Builder.ts deleted file mode 100644 index 2b8b71fe..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.EndIsland.Builder.ts +++ /dev/null @@ -1,55 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace EndIsland { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the initial starting radius range of the island. - */ - // @ts-ignore - startingRadius(radius: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.EndIsland.Builder; - /** - * Sets the initial starting radius of the island. - */ - // @ts-ignore - startingRadius(radius: number): org.spongepowered.api.world.gen.populator.EndIsland.Builder; - /** - * Sets the amount that the radius decreases for every downward step. - */ - // @ts-ignore - radiusDecrement(radius: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.EndIsland.Builder; - /** - * Sets the amount that the radius decreases for every downward step. - */ - // @ts-ignore - radiusDecrement(radius: number): org.spongepowered.api.world.gen.populator.EndIsland.Builder; - /** - * Sets the block state that the island will be formed from. - */ - // @ts-ignore - islandBlock(state: org.spongepowered.api.block.BlockState): org.spongepowered.api.world.gen.populator.EndIsland.Builder; - /** - * Sets the radius around the center (0, 0) of the world that this - * populator will not apply to. - *

This must be a positive value or zero.

- */ - // @ts-ignore - exclusionRadius(radius: number): org.spongepowered.api.world.gen.populator.EndIsland.Builder; - /** - * Builds a new instance of a {@link EndIsland} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.EndIsland; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.EndIsland.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.EndIsland.ts deleted file mode 100644 index cef6e9e1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.EndIsland.ts +++ /dev/null @@ -1,75 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface EndIsland extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link EndIsland} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.EndIsland.Builder; - /** - * Gets the initial starting radius range of the island. - */ - // @ts-ignore - getStartingRadius(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the initial starting radius range of the island. - */ - // @ts-ignore - setStartingRadius(radius: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the initial starting radius of the island. - */ - // @ts-ignore - setStartingRadius(radius: number): void; - /** - * Gets the amount that the radius decreases for every downward step. - */ - // @ts-ignore - getRadiusDecrement(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the amount that the radius decreases for every downward step. - */ - // @ts-ignore - setRadiusDecrement(decrement: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the amount that the radius decreases for every downward step. - */ - // @ts-ignore - setRadiusDecrement(decrement: number): void; - /** - * Gets the block state that the island will be formed from. - */ - // @ts-ignore - getIslandBlock(): org.spongepowered.api.block.BlockState; - /** - * Sets the block state that the island will be formed from. - */ - // @ts-ignore - setIslandBlock(state: org.spongepowered.api.block.BlockState): void; - /** - * Gets the radius around the center (0, 0) of the world that this populator - * will not apply to. - *

This is used to prevent the islands from generating around the ender - * dragon fight area.

- */ - // @ts-ignore - getExclusionRadius(): number; - /** - * Sets the radius around the center (0, 0) of the world that this populator - * will not apply to. - *

This must be a positive value or zero.

- */ - // @ts-ignore - setExclusionRadius(radius: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Flower.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Flower.Builder.ts deleted file mode 100644 index 7e5484d1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Flower.Builder.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Flower { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of flowers to attempt to spawn per chunk, must be - * greater than zero. - *

Note: This number is not a definite number and - * the final count of flowers which are successfully spawned by the - * populator will almost always be lower.

- */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Flower.Builder; - /** - * Sets the number of flowers to attempt to spawn per chunk, must be - * greater than zero. - *

Note: This number is not a definite number and - * the final count of flowers which are successfully spawned by the - * populator will almost always be lower.

- */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.Flower.Builder; - /** - * Sets the plant types for this populator to spawn. - */ - // @ts-ignore - types(types: org.spongepowered.api.util.weighted.WeightedTable): org.spongepowered.api.world.gen.populator.Flower.Builder; - /** - * Adds the plant type to the list of types to spawn with the given - * weight. - */ - // @ts-ignore - type(type: org.spongepowered.api.data.type.PlantType, weight: number): org.spongepowered.api.world.gen.populator.Flower.Builder; - /** - * Sets the overriding supplier. If the supplier is present then it is - * used in place of the weighted table. - */ - // @ts-ignore - supplier(override: any): org.spongepowered.api.world.gen.populator.Flower.Builder; - /** - * Builds a new instance of a {@link Flower} populator with the settings - * set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Flower; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Flower.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Flower.ts deleted file mode 100644 index bac8ef76..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Flower.ts +++ /dev/null @@ -1,69 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Flower extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Flower} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Flower.Builder; - /** - * Gets the number of flowers to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - getFlowersPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of flowers to attempt to spawn per chunk, must be greater - * than zero. - *

Note: This number is not a definite number and the - * final count of flowers which are successfully spawned by the populator - * will almost always be lower.

- */ - // @ts-ignore - setFlowersPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of flowers to attempt to spawn per chunk, must be greater - * than zero. - *

Note: This number is not a definite number and the - * final count of flowers which are successfully spawned by the populator - * will almost always be lower.

- */ - // @ts-ignore - setFlowersPerChunk(count: number): void; - /** - * Gets a mutable weighted collection of plant type for this populator to - * spawn. - */ - // @ts-ignore - getFlowerTypes(): org.spongepowered.api.util.weighted.WeightedTable; - /** - * Gets the overriding supplier if it exists. If the supplier is present - * then it is used in place of the weighted table while determining what - * PlantType to place. - */ - // @ts-ignore - getSupplierOverride(): any; - /** - * Sets the overriding supplier. If the supplier is present then it is used - * in place of the weighted table while determining what PlantType to place. - */ - // @ts-ignore - setSupplierOverride(override: any): void; - /** - * Clears the supplier override to force the weighted table to be used - * instead. - */ - // @ts-ignore - clearSupplierOverride(): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Forest.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Forest.Builder.ts deleted file mode 100644 index d772d3ad..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Forest.Builder.ts +++ /dev/null @@ -1,51 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Forest { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of trees to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Forest.Builder; - /** - * Sets the number of trees to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.Forest.Builder; - /** - * Sets the {@link BiomeTreeType}s to spawn. - */ - // @ts-ignore - types(types: org.spongepowered.api.util.weighted.WeightedTable): org.spongepowered.api.world.gen.populator.Forest.Builder; - /** - * Sets the {@link BiomeTreeType} to the list of weighted types. - */ - // @ts-ignore - type(type: org.spongepowered.api.world.gen.PopulatorObject, weight: number): org.spongepowered.api.world.gen.populator.Forest.Builder; - /** - * Sets the overriding supplier. If the supplier is present then it is - * used in place of the weighted table. - */ - // @ts-ignore - supplier(override: any): org.spongepowered.api.world.gen.populator.Forest.Builder; - /** - * Builds a new instance of a {@link Forest} populator with the settings - * set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Forest; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Forest.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Forest.ts deleted file mode 100644 index 71534acf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Forest.ts +++ /dev/null @@ -1,64 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Forest extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Forest} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Forest.Builder; - /** - * Gets the number of trees to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - getTreesPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of trees to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setTreesPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of trees to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setTreesPerChunk(count: number): void; - /** - * Gets the a mutable weighted collection of {@link PopulatorObject}s to - * spawn. - */ - // @ts-ignore - getTypes(): org.spongepowered.api.util.weighted.WeightedTable; - /** - * Gets the overriding supplier if it exists. If the supplier is present - * then it is used in place of the weighted table while determining what - * PopulatorObject to place. - */ - // @ts-ignore - getSupplierOverride(): any; - /** - * Sets the overriding supplier. If the supplier is present then it is used - * in place of the weighted table while determining what PopulatorObject to - * place. - */ - // @ts-ignore - setSupplierOverride(override: any): void; - /** - * Clears the supplier override to force the weighted table to be used - * instead. - */ - // @ts-ignore - clearSupplierOverride(): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Fossil.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Fossil.Builder.ts deleted file mode 100644 index efc33af2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Fossil.Builder.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Fossil { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the probability of a fossil spawning. - */ - // @ts-ignore - probability(p: number): org.spongepowered.api.world.gen.populator.Fossil.Builder; - /** - * Builds a new instance of a {@link Fossil} populator with the settings - * set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Fossil; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Fossil.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Fossil.ts deleted file mode 100644 index 7a8b78d1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Fossil.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Fossil extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Fossil} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Fossil.Builder; - /** - * Gets the probability of a fossil being generated. - */ - // @ts-ignore - getSpawnProbability(): number; - /** - * Sets the spawn probability, must be be between 0 and 1. - */ - // @ts-ignore - setSpawnProbability(chance: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Glowstone.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Glowstone.Builder.ts deleted file mode 100644 index 901e39c1..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Glowstone.Builder.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Glowstone { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of clusters to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Glowstone.Builder; - /** - * Sets the number of clusters to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.Glowstone.Builder; - /** - * Sets the amount of glowstone to attempt to spawn per cluster, must be - * greater than zero. - */ - // @ts-ignore - blocksPerCluster(attempts: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Glowstone.Builder; - /** - * Sets the amount of glowstone to attempt to spawn per cluster, must be - * greater than zero. - */ - // @ts-ignore - blocksPerCluster(attempts: number): org.spongepowered.api.world.gen.populator.Glowstone.Builder; - /** - * Sets the height of the glowstone cluster. - */ - // @ts-ignore - clusterHeight(height: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Glowstone.Builder; - /** - * Sets the height of the glowstone cluster. - */ - // @ts-ignore - clusterHeight(height: number): org.spongepowered.api.world.gen.populator.Glowstone.Builder; - /** - * Sets the height that the cluster may generate at. - */ - // @ts-ignore - height(height: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Glowstone.Builder; - /** - * Builds a new instance of a {@link Glowstone} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Glowstone; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Glowstone.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Glowstone.ts deleted file mode 100644 index 6caa2b4d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Glowstone.ts +++ /dev/null @@ -1,81 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Glowstone extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Glowstone} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Glowstone.Builder; - /** - * Gets the number of clusters to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - getClustersPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of clusters to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - setClustersPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of clusters to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - setClustersPerChunk(count: number): void; - /** - * Gets the amount of glowstone to attempt to spawn per cluster, must be - * greater than zero. - */ - // @ts-ignore - getAttemptsPerCluster(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the amount of glowstone to attempt to spawn per cluster, must be - * greater than zero. - */ - // @ts-ignore - setAttemptsPerCluster(attempts: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the amount of glowstone to attempt to spawn per cluster, must be - * greater than zero. - */ - // @ts-ignore - setAttemptsPerCluster(attempts: number): void; - /** - * Gets the height of the glowstone cluster. - */ - // @ts-ignore - getClusterHeight(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the height of the glowstone cluster. - */ - // @ts-ignore - setClusterHeight(height: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the height of the glowstone cluster. - */ - // @ts-ignore - setClusterHeight(height: number): void; - /** - * Gets the height that the cluster may generate at. - */ - // @ts-ignore - getHeight(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the height that the cluster may generate at. - */ - // @ts-ignore - setHeight(height: org.spongepowered.api.util.weighted.VariableAmount): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IcePath.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IcePath.Builder.ts deleted file mode 100644 index aeb30393..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IcePath.Builder.ts +++ /dev/null @@ -1,45 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace IcePath { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the radius of the path to spawn, cannot be negative. - */ - // @ts-ignore - radius(radius: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.IcePath.Builder; - /** - * Sets the radius of the path to spawn, cannot be negative. - */ - // @ts-ignore - radius(radius: number): org.spongepowered.api.world.gen.populator.IcePath.Builder; - /** - * Sets the number of sections to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(sections: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.IcePath.Builder; - /** - * Sets the number of sections to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(sections: number): org.spongepowered.api.world.gen.populator.IcePath.Builder; - /** - * Builds a new instance of a {@link IcePath} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.IcePath; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IcePath.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IcePath.ts deleted file mode 100644 index d1358e6b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IcePath.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface IcePath extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link IcePath} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.IcePath.Builder; - /** - * Gets the radius of the path to spawn. - */ - // @ts-ignore - getRadius(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the radius of the path to spawn, cannot be negative. - */ - // @ts-ignore - setRadius(radius: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the radius of the path to spawn, cannot be negative. - */ - // @ts-ignore - setRadius(radius: number): void; - /** - * Gets the number of sections to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - getSectionsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of sections to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - setSectionsPerChunk(sections: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of sections to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - setSectionsPerChunk(sections: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IceSpike.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IceSpike.Builder.ts deleted file mode 100644 index d1d88fa0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IceSpike.Builder.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace IceSpike { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of spikes to generate per chunk. - */ - // @ts-ignore - spikesPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.IceSpike.Builder; - /** - * Sets the number of spikes to generate per chunk. - */ - // @ts-ignore - spikesPerChunk(count: number): org.spongepowered.api.world.gen.populator.IceSpike.Builder; - /** - * Sets the base height of the spike. - */ - // @ts-ignore - height(height: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.IceSpike.Builder; - /** - * Sets the base height of the spike. - */ - // @ts-ignore - height(height: number): org.spongepowered.api.world.gen.populator.IceSpike.Builder; - /** - * Gets the probability of the spike much larger than normal. - */ - // @ts-ignore - extremeSpikeProbability(p: number): org.spongepowered.api.world.gen.populator.IceSpike.Builder; - /** - * Sets the base height increase of the extreme spikes. - */ - // @ts-ignore - extremeSpikeIncrease(increase: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.IceSpike.Builder; - /** - * Sets the base height increase of the extreme spikes. - */ - // @ts-ignore - extremeSpikeIncrease(increase: number): org.spongepowered.api.world.gen.populator.IceSpike.Builder; - /** - * Builds a new instance of a {@link IceSpike} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.IceSpike; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IceSpike.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IceSpike.ts deleted file mode 100644 index a078679b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.IceSpike.ts +++ /dev/null @@ -1,75 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface IceSpike extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link IceSpike} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.IceSpike.Builder; - /** - * Gets the number of spikes to generate per chunk. - */ - // @ts-ignore - getSpikesPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of spikes to attempt to generate per chunk. - */ - // @ts-ignore - setSpikesPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of spikes to attempt to generate per chunk. - */ - // @ts-ignore - setSpikesPerChunk(count: number): void; - /** - * Gets the base height of the spike. - */ - // @ts-ignore - getHeight(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the base height of the spike. - */ - // @ts-ignore - setHeight(height: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the base height of the spike. - */ - // @ts-ignore - setHeight(height: number): void; - /** - * Gets the probability of the spike much larger than normal. - */ - // @ts-ignore - getExtremeSpikeProbability(): number; - /** - * Gets the probability of the spike much larger than normal. - */ - // @ts-ignore - setExtremeSpikeProbability(p: number): void; - /** - * Gets the height increase of the extreme spikes. - */ - // @ts-ignore - getExtremeSpikeIncrease(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the height increase of the extreme spikes. - */ - // @ts-ignore - setExtremeSpikeIncrease(increase: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the height increase of the extreme spikes. - */ - // @ts-ignore - setExtremeSpikeIncrease(increase: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Lake.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Lake.Builder.ts deleted file mode 100644 index dd7d3898..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Lake.Builder.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Lake { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the {@link BlockState} of the liquid to fill the lake with. - */ - // @ts-ignore - liquidType(liquid: org.spongepowered.api.block.BlockState): org.spongepowered.api.world.gen.populator.Lake.Builder; - /** - * Sets the probability of a lake spawning in a chunk. - */ - // @ts-ignore - chance(p: number): org.spongepowered.api.world.gen.populator.Lake.Builder; - /** - * Sets the height that the lake will be spawned at. - */ - // @ts-ignore - height(height: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Lake.Builder; - /** - * Builds a new instance of a {@link Lake} populator with the settings - * set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Lake; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Lake.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Lake.ts deleted file mode 100644 index 7df2d475..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Lake.ts +++ /dev/null @@ -1,50 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Lake extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Lake} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Lake.Builder; - /** - * Gets the {@link BlockState} of the liquid to fill the lake with. - */ - // @ts-ignore - getLiquidType(): org.spongepowered.api.block.BlockState; - /** - * Sets the {@link BlockState} of the liquid to fill the lake with. - */ - // @ts-ignore - setLiquidType(liquid: org.spongepowered.api.block.BlockState): void; - /** - * Gets the probability of a lake spawning in a chunk. - */ - // @ts-ignore - getLakeProbability(): number; - /** - * Sets the probability of a lake spawning in a chunk. - */ - // @ts-ignore - setLakeProbability(p: number): void; - /** - * Gets the height that this lake will be spawned at. - */ - // @ts-ignore - getHeight(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the height that this lake will be spawned at. - */ - // @ts-ignore - setHeight(height: org.spongepowered.api.util.weighted.VariableAmount): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Melon.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Melon.Builder.ts deleted file mode 100644 index 2d3cbbc9..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Melon.Builder.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Melon { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of melons to attempt to spawn per chunk. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Melon.Builder; - /** - * Sets the number of melons to attempt to spawn per chunk. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.Melon.Builder; - /** - * Builds a new instance of a {@link Melon} populator with the settings - * set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Melon; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Melon.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Melon.ts deleted file mode 100644 index a99c116a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Melon.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Melon extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Melon} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Melon.Builder; - /** - * Gets the number of melons to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - getMelonsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of melons to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setMelonsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of melons to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setMelonsPerChunk(count: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Mushroom.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Mushroom.Builder.ts deleted file mode 100644 index 5882fffd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Mushroom.Builder.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Mushroom { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the weighted {@link MushroomType}s to select from during - * generation. - */ - // @ts-ignore - types(types: org.spongepowered.api.util.weighted.ChanceTable): org.spongepowered.api.world.gen.populator.Mushroom.Builder; - /** - * Adds the weighted {@link MushroomType} to the list of available - * types. - */ - // @ts-ignore - type(type: org.spongepowered.api.world.gen.type.MushroomType, weight: number): org.spongepowered.api.world.gen.populator.Mushroom.Builder; - /** - * Sets the number of mushrooms which will be attempted to be spawned. - *

Note: This number is not a definite number and - * the final count of mushrooms which are successfully spawned by the - * populator will almost always be lower.

- */ - // @ts-ignore - mushroomsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Mushroom.Builder; - /** - * Sets the number of mushrooms which will be attempted to be spawned. - *

Note: This number is not a definite number and - * the final count of mushrooms which are successfully spawned by the - * populator will almost always be lower.

- */ - // @ts-ignore - mushroomsPerChunk(count: number): org.spongepowered.api.world.gen.populator.Mushroom.Builder; - /** - * Sets the overriding supplier. If the supplier is present then it is - * used in place of the chance table. - */ - // @ts-ignore - supplier(override: any): org.spongepowered.api.world.gen.populator.Mushroom.Builder; - /** - * Builds a new instance of a {@link Mushroom} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Mushroom; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Mushroom.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Mushroom.ts deleted file mode 100644 index 887da719..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Mushroom.ts +++ /dev/null @@ -1,74 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Mushroom extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Mushroom} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Mushroom.Builder; - /** - * Gets a mutable {@link ChanceTable} of possible mushroom types to spawn. - * If the list is empty then a {@link MushroomType} will be selected at - * random from all available {@link MushroomTypes}. - */ - // @ts-ignore - getTypes(): org.spongepowered.api.util.weighted.ChanceTable; - /** - * Gets a representation of the amount of mushrooms which will be attempted - * to be spawned per chunk. - *

Note: This number is not a definite number and the - * final count of mushrooms which are successfully spawned by the populator - * will almost always be lower.

- */ - // @ts-ignore - getMushroomsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the representation of the amount of mushrooms which will be - * attempted to be spawned per chunk. - *

Note: This number is not a definite number and the - * final count of mushrooms which are successfully spawned by the populator - * will almost always be lower.

- */ - // @ts-ignore - setMushroomsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the amount of mushrooms which will be attempted to be spawned per - * chunk. - *

Note: This number is not a definite number and the - * final count of mushrooms which are successfully spawned by the populator - * will almost always be lower.

- */ - // @ts-ignore - setMushroomsPerChunk(count: number): void; - /** - * Gets the overriding supplier if it exists. If the supplier is present - * then it is used in place of the weighted table while determining what - * MushroomType to place. - */ - // @ts-ignore - getSupplierOverride(): any; - /** - * Sets the overriding supplier. If the supplier is present then it is used - * in place of the chance table while determining what MushroomType to - * place. - */ - // @ts-ignore - setSupplierOverride(override: any): void; - /** - * Clears the supplier override to force the chance table to be used - * instead. - */ - // @ts-ignore - clearSupplierOverride(): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.NetherFire.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.NetherFire.Builder.ts deleted file mode 100644 index 03219467..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.NetherFire.Builder.ts +++ /dev/null @@ -1,47 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace NetherFire { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of clusters to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.NetherFire.Builder; - /** - * Sets the number of clusters to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.NetherFire.Builder; - /** - * Sets the number of fire to attempt to spawn per cluster, must be - * greater than zero. - */ - // @ts-ignore - perCluster(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.NetherFire.Builder; - /** - * Sets the number of fire to attempt to spawn per cluster, must be - * greater than zero. - */ - // @ts-ignore - perCluster(count: number): org.spongepowered.api.world.gen.populator.NetherFire.Builder; - /** - * Builds a new instance of a {@link NetherFire} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.NetherFire; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.NetherFire.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.NetherFire.ts deleted file mode 100644 index d62a4dbc..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.NetherFire.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface NetherFire extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link NetherFire} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.NetherFire.Builder; - /** - * Gets the number of clusters to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - getClustersPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of clusters to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - setClustersPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of clusters to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - setClustersPerChunk(count: number): void; - /** - * Gets the number of fire to attempt to spawn per patch, must be greater - * than zero. - */ - // @ts-ignore - getFirePerCluster(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of fire to attempt to spawn per patch, must be greater - * than zero. - */ - // @ts-ignore - setFirePerCluster(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of Fire to attempt to spawn per patch, must be greater - * than zero. - */ - // @ts-ignore - setFirePerCluster(count: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Ore.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Ore.Builder.ts deleted file mode 100644 index bc41e493..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Ore.Builder.ts +++ /dev/null @@ -1,63 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Ore { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the block to place as ore. - */ - // @ts-ignore - ore(block: org.spongepowered.api.block.BlockState): org.spongepowered.api.world.gen.populator.Ore.Builder; - /** - * Sets the size of deposit of ore. This is the number of blocks per - * clump of ores spawned. - */ - // @ts-ignore - size(size: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Ore.Builder; - /** - * Sets the size of deposit of ore. This is the number of blocks per - * clump of ores spawned. - */ - // @ts-ignore - size(size: number): org.spongepowered.api.world.gen.populator.Ore.Builder; - /** - * Sets the number of ore clumps to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Ore.Builder; - /** - * Sets the number of ore clumps to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.Ore.Builder; - /** - * Sets the height that the ore can generate at. - */ - // @ts-ignore - height(height: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Ore.Builder; - /** - * Sets a predicate which checks for the placement conditions for this - * ore. - */ - // @ts-ignore - placementCondition(condition: any): org.spongepowered.api.world.gen.populator.Ore.Builder; - /** - * Builds a new instance of a {@link Ore} populator with the settings - * set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Ore; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Ore.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Ore.ts deleted file mode 100644 index e9a3f5d5..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Ore.ts +++ /dev/null @@ -1,86 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Ore extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Ore} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Ore.Builder; - /** - * Gets the block to place as ore. - */ - // @ts-ignore - getOreBlock(): org.spongepowered.api.block.BlockState; - /** - * Sets the block to place as ore. - */ - // @ts-ignore - setOreBlock(block: org.spongepowered.api.block.BlockState): void; - /** - * Gets the size of deposit of ore. This is the number of blocks per clump - * of ores spawned. - */ - // @ts-ignore - getDepositSize(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the size of deposit of ore. This is the number of blocks per clump - * of ores spawned. - */ - // @ts-ignore - setDepositSize(size: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the size of deposit of ore. This is the number of blocks per clump - * of ores spawned. - */ - // @ts-ignore - setDepositSize(size: number): void; - /** - * Gets the number of ore clumps to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - getDepositsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of ore clumps to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - setDepositsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of ore clumps to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - setDepositsPerChunk(count: number): void; - /** - * Gets the height that the ore will generate at. - */ - // @ts-ignore - getHeight(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the height that the ore will generate at. - */ - // @ts-ignore - setHeight(height: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Gets a predicate which checks for the placement conditions for this ore. - */ - // @ts-ignore - getPlacementCondition(): any; - /** - * Sets a predicate which checks for the placement conditions for this ore. - */ - // @ts-ignore - setPlacementCondition(condition: any): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Pumpkin.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Pumpkin.Builder.ts deleted file mode 100644 index 8e977cfd..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Pumpkin.Builder.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Pumpkin { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of pumpkins to attempt to spawn per patch, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Pumpkin.Builder; - /** - * Sets the number of pumpkins to attempt to spawn per patch, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.Pumpkin.Builder; - /** - * Sets the probability of a pumpkin patch spawning within a chunk. - */ - // @ts-ignore - chance(p: number): org.spongepowered.api.world.gen.populator.Pumpkin.Builder; - /** - * Builds a new instance of a {@link Pumpkin} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Pumpkin; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Pumpkin.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Pumpkin.ts deleted file mode 100644 index 379f6336..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Pumpkin.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Pumpkin extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Pumpkin} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Pumpkin.Builder; - /** - * Gets the number of pumpkins to attempt to spawn per patch, must be - * greater than zero. - */ - // @ts-ignore - getPumpkinsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of pumpkins to attempt to spawn per patch, must be - * greater than zero. - */ - // @ts-ignore - setPumpkinsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of pumpkins to attempt to spawn per patch, must be - * greater than zero. - */ - // @ts-ignore - setPumpkinsPerChunk(count: number): void; - /** - * Gets the probability of a pumpkin patch spawning within a chunk. - */ - // @ts-ignore - getPumpkinChance(): number; - /** - * Sets the probability of a pumpkin patch spawning within a chunk. - */ - // @ts-ignore - setPumpkinChance(p: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomBlock.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomBlock.Builder.ts deleted file mode 100644 index 0655b82e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomBlock.Builder.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace RandomBlock { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the {@link BlockState} that this populator will randomly - * distribute. - */ - // @ts-ignore - block(block: org.spongepowered.api.block.BlockState): org.spongepowered.api.world.gen.populator.RandomBlock.Builder; - /** - * Sets the number of blocks to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.RandomBlock.Builder; - /** - * Sets the number of blocks to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.RandomBlock.Builder; - /** - * Sets the {@link Predicate} that this populator used to determine of a - * given {@link BlockType} is valid to attempt to place a block of fire - * on top of. - */ - // @ts-ignore - placementTarget(target: any): org.spongepowered.api.world.gen.populator.RandomBlock.Builder; - /** - * Sets the height range of the random block placement. - */ - // @ts-ignore - height(height: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.RandomBlock.Builder; - /** - * Builds a new instance of a {@link RandomBlock} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.RandomBlock; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomBlock.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomBlock.ts deleted file mode 100644 index f8cff25f..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomBlock.ts +++ /dev/null @@ -1,70 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface RandomBlock extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link RandomBlock} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.RandomBlock.Builder; - /** - * Gets the {@link BlockState} that this populator will randomly distribute. - */ - // @ts-ignore - getBlock(): org.spongepowered.api.block.BlockState; - /** - * Sets the {@link BlockState} that this populator will randomly distribute. - */ - // @ts-ignore - setBlock(block: org.spongepowered.api.block.BlockState): void; - /** - * Gets the number of blocks to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - getAttemptsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of blocks to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setAttemptsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of blocks to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setAttemptsPerChunk(count: number): void; - /** - * Gets the height that the block will be randomly placed within. - */ - // @ts-ignore - getHeightRange(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the height that the blocks will be randomly placed within. - */ - // @ts-ignore - setHeightRange(height: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Gets the {@link Predicate} that this populator used to determine of a - * given {@link Location} is valid to attempt to place a block at. - */ - // @ts-ignore - getPlacementTarget(): any; - /** - * Sets the {@link Predicate} that this populator used to determine of a - * given {@link Location} is valid to attempt to place a block at. - */ - // @ts-ignore - getPlacementTarget(target: any): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomObject.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomObject.Builder.ts deleted file mode 100644 index c1fe6b30..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomObject.Builder.ts +++ /dev/null @@ -1,55 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace RandomObject { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of fires to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.RandomObject.Builder; - /** - * Sets the number of fires to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.RandomObject.Builder; - /** - * Sets the height range that the object will be placed within. - */ - // @ts-ignore - height(height: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.RandomObject.Builder; - /** - * Sets the {@link PopulatorObject} for the populator to attempt to - * place. - */ - // @ts-ignore - object(obj: org.spongepowered.api.world.gen.PopulatorObject): org.spongepowered.api.world.gen.populator.RandomObject.Builder; - /** - * Sets the chance of spawning the object for each attempt. This chance - * is applied before the checks for if the placement is valid. This - * value must be between zero and one (inclusive) with a chance of zero - * representing no chance of the object being placed, and a chance of 1 - * representing a 100% chance of the object being placed. - */ - // @ts-ignore - spawnChance(chance: number): org.spongepowered.api.world.gen.populator.RandomObject.Builder; - /** - * Builds a new instance of a {@link RandomBlock} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.RandomObject; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomObject.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomObject.ts deleted file mode 100644 index f2135617..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.RandomObject.ts +++ /dev/null @@ -1,77 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface RandomObject extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link RandomObject} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.RandomObject.Builder; - /** - * Gets the number of fires to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - getAttemptsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of fires to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setAttemptsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of fires to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setAttemptsPerChunk(count: number): void; - /** - * Gets the height range that the object will be placed within. - */ - // @ts-ignore - getHeightRange(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the height range that the object will be placed within. - */ - // @ts-ignore - setHeightRange(height: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Gets the {@link PopulatorObject} that this populator will attempt to - * place. - */ - // @ts-ignore - getObject(): org.spongepowered.api.world.gen.PopulatorObject; - /** - * Sets the {@link PopulatorObject} for this populator to attempt to place. - */ - // @ts-ignore - setObject(obj: org.spongepowered.api.world.gen.PopulatorObject): void; - /** - * Gets the chance of spawning the object for each attempt. This chance is - * applied before the checks for if the placement is valid. This value must - * be between zero and one (inclusive) with a chance of zero representing no - * chance of the object being placed, and a chance of 1 representing a 100% - * chance of the object being placed. - */ - // @ts-ignore - getSpawnChance(): number; - /** - * Sets the chance of spawning the object for each attempt. This chance is - * applied before the checks for if the placement is valid. This value must - * be between zero and one (inclusive) with a chance of zero representing no - * chance of the object being placed, and a chance of 1 representing a 100% - * chance of the object being placed. - */ - // @ts-ignore - setSpawnChance(chance: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Reed.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Reed.Builder.ts deleted file mode 100644 index 099bb664..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Reed.Builder.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Reed { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of reeds to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Reed.Builder; - /** - * Sets the number of reeds to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.Reed.Builder; - /** - * Sets the height of the reeds to generate. - */ - // @ts-ignore - reedHeight(height: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Reed.Builder; - /** - * Builds a new instance of a {@link Reed} populator with the settings - * set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Reed; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Reed.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Reed.ts deleted file mode 100644 index 0f079ee2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Reed.ts +++ /dev/null @@ -1,48 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Reed extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Reed} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Reed.Builder; - /** - * Gets the number of reeds to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - getReedsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of reeds to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setReedsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of reeds to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setReedsPerChunk(count: number): void; - /** - * Gets the height of the reeds to generate. - */ - // @ts-ignore - getReedHeight(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the height of the reeds to generate. - */ - // @ts-ignore - setReedHeight(height: org.spongepowered.api.util.weighted.VariableAmount): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.SeaFloor.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.SeaFloor.Builder.ts deleted file mode 100644 index 5fd9556a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.SeaFloor.Builder.ts +++ /dev/null @@ -1,67 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace SeaFloor { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the {@link BlockState} to place down. - */ - // @ts-ignore - block(block: org.spongepowered.api.block.BlockState): org.spongepowered.api.world.gen.populator.SeaFloor.Builder; - /** - * Sets the number of discs to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.SeaFloor.Builder; - /** - * Sets the number of discs to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.SeaFloor.Builder; - /** - * Sets the radius of the discs being spawned. - */ - // @ts-ignore - radius(radius: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.SeaFloor.Builder; - /** - * Sets the radius of the discs being spawned. - */ - // @ts-ignore - radius(radius: number): org.spongepowered.api.world.gen.populator.SeaFloor.Builder; - /** - * Sets the depth of the sea floor cover to generate. - */ - // @ts-ignore - depth(depth: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.SeaFloor.Builder; - /** - * Sets the depth of the sea floor cover to generate. - */ - // @ts-ignore - depth(depth: number): org.spongepowered.api.world.gen.populator.SeaFloor.Builder; - /** - * Sets the predicate which will be applied to all {@link BlockState}s - * that this populator attempts to replace in order to determine if they - * are valid. - */ - // @ts-ignore - replace(check: any): org.spongepowered.api.world.gen.populator.SeaFloor.Builder; - /** - * Builds a new instance of a {@link SeaFloor} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.SeaFloor; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.SeaFloor.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.SeaFloor.ts deleted file mode 100644 index 16c993d3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.SeaFloor.ts +++ /dev/null @@ -1,91 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface SeaFloor extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link SeaFloor} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.SeaFloor.Builder; - /** - * Gets the {@link BlockState} to place down. - */ - // @ts-ignore - getBlock(): org.spongepowered.api.block.BlockState; - /** - * Sets the {@link BlockState} to place down. - */ - // @ts-ignore - setBlock(block: org.spongepowered.api.block.BlockState): void; - /** - * Gets the number of discs to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - getDiscsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of discs to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setDiscsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of discs to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setDiscsPerChunk(count: number): void; - /** - * Gets the radius of the discs being spawned. - */ - // @ts-ignore - getRadius(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the radius of the discs being spawned. - */ - // @ts-ignore - setRadius(radius: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the radius of the discs being spawned. - */ - // @ts-ignore - setRadius(radius: number): void; - /** - * Gets the depth of the sea floor cover to generate. - */ - // @ts-ignore - getDepth(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the depth of the sea floor cover to generate. - */ - // @ts-ignore - setDepth(depth: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the depth of the sea floor cover to generate. - */ - // @ts-ignore - setDepth(depth: number): void; - /** - * Gets the predicate which is applied to determine what {@link BlockState}s - * this populator may replace. - */ - // @ts-ignore - getValidBlocksToReplace(): any; - /** - * Sets the predicate which will be applied to all {@link BlockState}s that - * this populator attempts to replace in order to determine if they are - * valid. - */ - // @ts-ignore - setValidBlocksToReplace(check: any): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Shrub.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Shrub.Builder.ts deleted file mode 100644 index b1e98485..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Shrub.Builder.ts +++ /dev/null @@ -1,51 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Shrub { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of shrubs to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Shrub.Builder; - /** - * Sets the number of shrubs to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.Shrub.Builder; - /** - * Sets the weighted {@link ShrubType}s to place. - */ - // @ts-ignore - types(types: org.spongepowered.api.util.weighted.WeightedTable): org.spongepowered.api.world.gen.populator.Shrub.Builder; - /** - * Adds the weighted {@link ShrubType}s to the list of types. - */ - // @ts-ignore - type(type: org.spongepowered.api.data.type.ShrubType, weight: number): org.spongepowered.api.world.gen.populator.Shrub.Builder; - /** - * Sets the overriding supplier. If the supplier is present then it is - * used in place of the weighted table. - */ - // @ts-ignore - supplier(override: any): org.spongepowered.api.world.gen.populator.Shrub.Builder; - /** - * Builds a new instance of a {@link Shrub} populator with the settings - * set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Shrub; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Shrub.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Shrub.ts deleted file mode 100644 index 5dfb8340..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Shrub.ts +++ /dev/null @@ -1,62 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Shrub extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Shrub} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Shrub.Builder; - /** - * Gets a weighted collection of {@link ShrubType}s to place. - */ - // @ts-ignore - getTypes(): org.spongepowered.api.util.weighted.WeightedTable; - /** - * Gets the number of shrubs to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - getShrubsPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of shrubs to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setShrubsPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of shrubs to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setShrubsPerChunk(count: number): void; - /** - * Gets the overriding supplier if it exists. If the supplier is present - * then it is used in place of the weighted table while determining what - * ShrubType to place. - */ - // @ts-ignore - getSupplierOverride(): any; - /** - * Sets the overriding supplier. If the supplier is present then it is used - * in place of the weighted table while determining what ShrubType to place. - */ - // @ts-ignore - setSupplierOverride(override: any): void; - /** - * Clears the supplier override to force the weighted table to be used - * instead. - */ - // @ts-ignore - clearSupplierOverride(): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Vine.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Vine.Builder.ts deleted file mode 100644 index 106a21be..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Vine.Builder.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace Vine { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of vines to attempt to spawn per chunk. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.Vine.Builder; - /** - * Sets the number of vines to attempt to spawn per chunk. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.Vine.Builder; - /** - * Builds a new instance of a {@link Vine} populator with the settings - * set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.Vine; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Vine.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Vine.ts deleted file mode 100644 index 864135ed..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.Vine.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface Vine extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link Vine} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.Vine.Builder; - /** - * Gets the number of vines to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - getVinesPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of vines to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setVinesPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of vines to attempt to spawn per chunk, must be greater - * than zero. - */ - // @ts-ignore - setVinesPerChunk(count: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.WaterLily.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.WaterLily.Builder.ts deleted file mode 100644 index 1a7a5194..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.WaterLily.Builder.ts +++ /dev/null @@ -1,35 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - namespace WaterLily { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Sets the number of water lilies to attempt to spawn per chunk, must - * be greater than zero. - */ - // @ts-ignore - perChunk(count: org.spongepowered.api.util.weighted.VariableAmount): org.spongepowered.api.world.gen.populator.WaterLily.Builder; - /** - * Sets the number of water lilies to attempt to spawn per chunk, must - * be greater than zero. - */ - // @ts-ignore - perChunk(count: number): org.spongepowered.api.world.gen.populator.WaterLily.Builder; - /** - * Builds a new instance of a {@link WaterLily} populator with the - * settings set within the builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.gen.populator.WaterLily; - } - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.WaterLily.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.WaterLily.ts deleted file mode 100644 index 30c02caa..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.populator.WaterLily.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace populator { - // @ts-ignore - interface WaterLily extends org.spongepowered.api.world.gen.Populator { - /** - * Creates a new {@link Builder} to build a {@link WaterLily} populator. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.gen.populator.WaterLily.Builder; - /** - * Gets the number of water lilies to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - getWaterLilyPerChunk(): org.spongepowered.api.util.weighted.VariableAmount; - /** - * Sets the number of water lilies to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - setWaterLilyPerChunk(count: org.spongepowered.api.util.weighted.VariableAmount): void; - /** - * Sets the number of water lilies to attempt to spawn per chunk, must be - * greater than zero. - */ - // @ts-ignore - setWaterLilyPerChunk(count: number): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.type.BiomeTreeType.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.type.BiomeTreeType.ts deleted file mode 100644 index 43e89797..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.type.BiomeTreeType.ts +++ /dev/null @@ -1,44 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace type { - // @ts-ignore - interface BiomeTreeType extends org.spongepowered.api.CatalogType { - /** - * Gets the {@link PopulatorObject} which is used to generate this tree into - * the world. - */ - // @ts-ignore - getPopulatorObject(): org.spongepowered.api.world.gen.PopulatorObject; - /** - * Sets the {@link PopulatorObject} which is used to generate this tree into - * the world. - */ - // @ts-ignore - setPopulatorObject(object: org.spongepowered.api.world.gen.PopulatorObject): void; - /** - * Gets whether this tree type has a larger equivalent. - */ - // @ts-ignore - hasLargeEquivalent(): boolean; - /** - * Gets the {@link PopulatorObject} which is used to generate the larger - * equivalent of this tree into the world. - */ - // @ts-ignore - getLargePopulatorObject(): any; - /** - * Sets the {@link PopulatorObject} which is used to generate the larger - * equivalent of this tree into the world. - */ - // @ts-ignore - setLargePopulatorObject(object: org.spongepowered.api.world.gen.PopulatorObject): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.type.BiomeTreeTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.type.BiomeTreeTypes.ts deleted file mode 100644 index f7967ae7..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.type.BiomeTreeTypes.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace type { - // @ts-ignore - class BiomeTreeTypes { - // @ts-ignore - public static BIRCH: org.spongepowered.api.world.gen.type.BiomeTreeType; - // @ts-ignore - public static CANOPY: org.spongepowered.api.world.gen.type.BiomeTreeType; - // @ts-ignore - public static JUNGLE: org.spongepowered.api.world.gen.type.BiomeTreeType; - // @ts-ignore - public static JUNGLE_BUSH: org.spongepowered.api.world.gen.type.BiomeTreeType; - // @ts-ignore - public static OAK: org.spongepowered.api.world.gen.type.BiomeTreeType; - // @ts-ignore - public static POINTY_TAIGA: org.spongepowered.api.world.gen.type.BiomeTreeType; - // @ts-ignore - public static SAVANNA: org.spongepowered.api.world.gen.type.BiomeTreeType; - // @ts-ignore - public static SWAMP: org.spongepowered.api.world.gen.type.BiomeTreeType; - // @ts-ignore - public static TALL_TAIGA: org.spongepowered.api.world.gen.type.BiomeTreeType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.type.MushroomType.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.type.MushroomType.ts deleted file mode 100644 index 802f604e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.type.MushroomType.ts +++ /dev/null @@ -1,27 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace type { - // @ts-ignore - interface MushroomType extends org.spongepowered.api.CatalogType { - /** - * Gets the {@link PopulatorObject} which is used to generate the large - * variant of this mushroom into the world. - */ - // @ts-ignore - getPopulatorObject(): org.spongepowered.api.world.gen.PopulatorObject; - /** - * Sets the {@link PopulatorObject} which is used to generate the large - * variant of this mushroom into the world. - */ - // @ts-ignore - setPopulatorObject(object: org.spongepowered.api.world.gen.PopulatorObject): void; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.gen.type.MushroomTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.world.gen.type.MushroomTypes.ts deleted file mode 100644 index cb64f8f0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.gen.type.MushroomTypes.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace gen { - namespace type { - // @ts-ignore - class MushroomTypes { - // @ts-ignore - public static BROWN: org.spongepowered.api.world.gen.type.MushroomType; - // @ts-ignore - public static RED: org.spongepowered.api.world.gen.type.MushroomType; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.BlockPalette.ts b/packages/sponge/src/typings/org.spongepowered.api.world.schematic.BlockPalette.ts deleted file mode 100644 index 4caff3f0..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.BlockPalette.ts +++ /dev/null @@ -1,53 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace schematic { - // @ts-ignore - interface BlockPalette extends org.spongepowered.api.world.schematic.Palette { - /** - * Gets the type of this palette. - */ - // @ts-ignore - getType(): org.spongepowered.api.world.schematic.BlockPaletteType; - /** - * Gets the highest identifier in this palette. - */ - // @ts-ignore - getHighestId(): number; - /** - * Gets the blockstate represented by the given identifier from the mapping. - */ - // @ts-ignore - get(id: number): any; - /** - * Gets the identifier for the given blockstate if it exists within the - * mapping. - */ - // @ts-ignore - get(state: org.spongepowered.api.block.BlockState): any; - /** - * Gets the identifier for the given blockstate from the mapping. If the - * blockstate is not yet registered in the mapping then it is registered and - * given the next available identifier. - */ - // @ts-ignore - getOrAssign(state: org.spongepowered.api.block.BlockState): number; - /** - * Removes the given blockstate from the mapping. - *

If this palette is the {@link BlockPaletteTypes#GLOBAL} palette then - * removal is not supported.

- */ - // @ts-ignore - remove(state: org.spongepowered.api.block.BlockState): boolean; - /** - * Gets all {@link BlockState}s contained in this palette. - */ - // @ts-ignore - getEntries(): any[] /*java.util.Collection*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.BlockPaletteType.ts b/packages/sponge/src/typings/org.spongepowered.api.world.schematic.BlockPaletteType.ts deleted file mode 100644 index 792f2755..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.BlockPaletteType.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace schematic { - // @ts-ignore - interface BlockPaletteType extends org.spongepowered.api.CatalogType, org.spongepowered.api.world.schematic.PaletteType { - /** - * Gets an instance of this palette type. - *

If this is the global type then the global palette instance will be - * returned, otherwise a new instance will be created.

- */ - // @ts-ignore - create(): org.spongepowered.api.world.schematic.BlockPalette; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.BlockPaletteTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.world.schematic.BlockPaletteTypes.ts deleted file mode 100644 index b9b0cbe8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.BlockPaletteTypes.ts +++ /dev/null @@ -1,17 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace schematic { - // @ts-ignore - class BlockPaletteTypes { - // @ts-ignore - public static GLOBAL: org.spongepowered.api.world.schematic.BlockPaletteType; - // @ts-ignore - public static LOCAL: org.spongepowered.api.world.schematic.BlockPaletteType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.Palette.ts b/packages/sponge/src/typings/org.spongepowered.api.world.schematic.Palette.ts deleted file mode 100644 index 7e9b41e2..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.Palette.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace schematic { - // @ts-ignore - interface Palette { - /** - * Gets the type of this palette. - */ - // @ts-ignore - getType(): org.spongepowered.api.world.schematic.PaletteType; - /** - * Gets the highest identifier in this palette. - */ - // @ts-ignore - getHighestId(): number; - /** - * Gets the {@code type} represented by the given identifier from the mapping. - */ - // @ts-ignore - get(id: number): any; - /** - * Gets the identifier for the given {@code type T} if it exists within the - * mapping. - */ - // @ts-ignore - get(type: org.spongepowered.api.CatalogType): any; - /** - * Gets the identifier for the given {@code type T} from the mapping. If the - * {@code type T} is not yet registered in the mapping then it is registered and - * given the next available identifier. - */ - // @ts-ignore - getOrAssign(type: org.spongepowered.api.CatalogType): number; - /** - * Removes the given {@code type T} from the mapping. - *

Note that if this palette is considered a global palette, removal is not supported.

- */ - // @ts-ignore - remove(type: org.spongepowered.api.CatalogType): boolean; - /** - * Gets all {@code type T}s contained in this palette. - */ - // @ts-ignore - getEntries(): any[] /*java.util.Collection*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.PaletteType.ts b/packages/sponge/src/typings/org.spongepowered.api.world.schematic.PaletteType.ts deleted file mode 100644 index e15f61a8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.PaletteType.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace schematic { - // @ts-ignore - interface PaletteType extends org.spongepowered.api.CatalogType { - // @ts-ignore - create(): org.spongepowered.api.world.schematic.Palette; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.PaletteTypes.ts b/packages/sponge/src/typings/org.spongepowered.api.world.schematic.PaletteTypes.ts deleted file mode 100644 index dc9453d3..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.PaletteTypes.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace schematic { - // @ts-ignore - class PaletteTypes { - constructor() - // @ts-ignore - public static GLOBAL_BLOCKS: org.spongepowered.api.world.schematic.PaletteType; - // @ts-ignore - public static LOCAL_BLOCKS: org.spongepowered.api.world.schematic.PaletteType; - // @ts-ignore - public static LOCAL_BIOMES: org.spongepowered.api.world.schematic.PaletteType; - // @ts-ignore - public static GLOBAL_BIOMES: org.spongepowered.api.world.schematic.PaletteType; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.Schematic.Builder.ts b/packages/sponge/src/typings/org.spongepowered.api.world.schematic.Schematic.Builder.ts deleted file mode 100644 index a7770d6d..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.Schematic.Builder.ts +++ /dev/null @@ -1,92 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace schematic { - namespace Schematic { - // @ts-ignore - interface Builder extends org.spongepowered.api.util.ResettableBuilder { - /** - * Specifies an archetype volume for the world data of the schematic. - *

If purely creating a schematic it is recommended to instead use - * the {@link #volume(Extent)} method and pass in an extent view (See - * {@link Extent#getExtentView}) of the volume to prevent creating - * multiple copies of the world data. Likewise, if {@link BiomeType}s - * are needed to be copied, only {@link #volume(Extent)} will support - * copying the {@link BiomeType}s at the desired positions. This also - * has the same limit for capturing {@link EntityArchetype}s, unless - * otherwise manually placed in with {@link #entity(EntityArchetype)}. - *

- */ - // @ts-ignore - volume(volume: org.spongepowered.api.world.extent.ArchetypeVolume): org.spongepowered.api.world.schematic.Schematic.Builder; - /** - * Specifies an extent view for the schematic to load its world data - * from. - */ - // @ts-ignore - volume(volume: org.spongepowered.api.world.extent.Extent): org.spongepowered.api.world.schematic.Schematic.Builder; - /** - * Specifies a palette for the schematic to use for serialization. This - * overrides the {@link #paletteType} value. - */ - // @ts-ignore - palette(palette: org.spongepowered.api.world.schematic.BlockPalette): org.spongepowered.api.world.schematic.Schematic.Builder; - /** - * Specifies a palette for the schematic to use for serialization. This - * overrides the {@link #paletteType} value. - */ - // @ts-ignore - blockPalette(palette: org.spongepowered.api.world.schematic.Palette): org.spongepowered.api.world.schematic.Schematic.Builder; - /** - * Specifies a palette for the schemtic to use for serialization. - */ - // @ts-ignore - biomePalette(palette: org.spongepowered.api.world.schematic.Palette): org.spongepowered.api.world.schematic.Schematic.Builder; - /** - * Specifies the palette type to use if the {@link #palette} is not - * specified. - */ - // @ts-ignore - paletteType(type: org.spongepowered.api.world.schematic.BlockPaletteType): org.spongepowered.api.world.schematic.Schematic.Builder; - /** - * Specifies the palette type to use if the {@link #palette} is not - * specified. - */ - // @ts-ignore - blockPaletteType(type: org.spongepowered.api.world.schematic.PaletteType): org.spongepowered.api.world.schematic.Schematic.Builder; - /** - * Specifies the palette type to use for biomes if the {@link #biomePalette(Palette)} - * is not specified. - */ - // @ts-ignore - biomePaletteType(type: org.spongepowered.api.world.schematic.PaletteType): org.spongepowered.api.world.schematic.Schematic.Builder; - // @ts-ignore - entity(entityArchetype: org.spongepowered.api.entity.EntityArchetype): org.spongepowered.api.world.schematic.Schematic.Builder; - // @ts-ignore - entity(entityArchetype: org.spongepowered.api.entity.EntityArchetype, position: any /*Vector3d*/): org.spongepowered.api.world.schematic.Schematic.Builder; - // @ts-ignore - entities(entities: any[] /*java.util.Collection*/): org.spongepowered.api.world.schematic.Schematic.Builder; - /** - * Specifies the metadata container. - */ - // @ts-ignore - metadata(metadata: org.spongepowered.api.data.DataView): org.spongepowered.api.world.schematic.Schematic.Builder; - /** - * Specifies a metadata value which will be included in the metadata of - * the schematic. - */ - // @ts-ignore - metaValue(key: string, value: any): org.spongepowered.api.world.schematic.Schematic.Builder; - /** - * Constructs a new {@link Schematic} from this builder. - */ - // @ts-ignore - build(): org.spongepowered.api.world.schematic.Schematic; - } - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.Schematic.ts b/packages/sponge/src/typings/org.spongepowered.api.world.schematic.Schematic.ts deleted file mode 100644 index 8f2bed9b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.schematic.Schematic.ts +++ /dev/null @@ -1,60 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace schematic { - // @ts-ignore - interface Schematic extends org.spongepowered.api.world.extent.ArchetypeVolume { - // @ts-ignore - METADATA_NAME: string; - // @ts-ignore - METADATA_AUTHOR: string; - // @ts-ignore - METADATA_DATE: string; - // @ts-ignore - METADATA_REQUIRED_MODS: string; - /** - * Gets a new builder for schematics. - */ - // @ts-ignore - builder(): org.spongepowered.api.world.schematic.Schematic.Builder; - /** - * Gets the {@link BlockPalette} used by this schematic for serialization. - */ - // @ts-ignore - getPalette(): org.spongepowered.api.world.schematic.BlockPalette; - /** - * Gets the {@link BlockPalette} used by this schematic for serialization. - */ - // @ts-ignore - getBlockPalette(): org.spongepowered.api.world.schematic.Palette; - /** - * Gets the {@link Palette Palette} used by this schematic for serialization. - */ - // @ts-ignore - getBiomePalette(): org.spongepowered.api.world.schematic.Palette; - /** - * Gets any additional metadata attached to this schematic. - */ - // @ts-ignore - getMetadata(): org.spongepowered.api.data.DataView; - // @ts-ignore - getBlockWorker(): org.spongepowered.api.world.extent.worker.MutableBlockVolumeWorker; - /** - * Gets the {@link MutableBiomeVolume} of this schematic. As biomes are - * {@link Optional optionally} included and not required, they may be - * optionally excluded. If the schematic would contain them, they will be - * present during deserialization via {@link DataTranslator}. - */ - // @ts-ignore - getBiomes(): any; - // @ts-ignore - getEntitiesByPosition(): any; - // @ts-ignore - getEntityArchetypes(): any[] /*java.util.Collection*/; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.storage.ChunkDataStream.ts b/packages/sponge/src/typings/org.spongepowered.api.world.storage.ChunkDataStream.ts deleted file mode 100644 index 67b684df..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.storage.ChunkDataStream.ts +++ /dev/null @@ -1,39 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace storage { - // @ts-ignore - interface ChunkDataStream { - /** - * Gets the next {@link Chunk} represented by a read only - * {@link DataContainer}. - *

This method BLOCKS the thread until the next available data has been - * read.

- *

This may not return a {@link DataContainer} in the event there is no - * chunk data available to read.

- */ - // @ts-ignore - next(): org.spongepowered.api.data.DataContainer; - /** - * Checks if there is an available chunk to represent. - */ - // @ts-ignore - hasNext(): boolean; - /** - * Gets the number of chunks available to read as {@link DataContainer}s. - */ - // @ts-ignore - available(): number; - /** - * Resets this stream to read from the beginning of the collection of - * chunks. - */ - // @ts-ignore - reset(): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.storage.ChunkLayout.ts b/packages/sponge/src/typings/org.spongepowered.api.world.storage.ChunkLayout.ts deleted file mode 100644 index 793cbddf..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.storage.ChunkLayout.ts +++ /dev/null @@ -1,172 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace storage { - // @ts-ignore - interface ChunkLayout { - /** - * Returns the size of the chunks in blocks. The axes are matched to the - * corresponding vector components. - */ - // @ts-ignore - getChunkSize(): any /*Vector3i*/; - /** - * Returns the maximum coordinates for chunks for each axis. The axes are - * matched to the corresponding vector components. Due to the limited - * precision of 32bit integers, there always is a practical limit. - */ - // @ts-ignore - getSpaceMax(): any /*Vector3i*/; - /** - * Returns the minimum coordinates for chunks for each axis. The axes are - * matched to the corresponding vector components. Due to the limited - * precision of 32bit integers, there always is a practical limit. - */ - // @ts-ignore - getSpaceMin(): any /*Vector3i*/; - /** - * Gets the total size of the chunk space, which is equivalent to - * {@link #getSpaceMax()} - {@link #getSpaceMin()} + 1. - */ - // @ts-ignore - getSpaceSize(): any /*Vector3i*/; - /** - * Returns the origin of the chunk coordinate space. Normally - * {@link Vector3i#ZERO}. - */ - // @ts-ignore - getSpaceOrigin(): any /*Vector3i*/; - /** - * Returns true if the coordinates are valid chunk coordinates. False if - * otherwise. - */ - // @ts-ignore - isValidChunk(coords: any /*Vector3i*/): boolean; - /** - * Returns true if the coordinates are valid chunk coordinates. False if - * otherwise. - */ - // @ts-ignore - isValidChunk(x: number, y: number, z: number): boolean; - /** - * Returns true if the local coordinates fit in a chunk. That is they are - * positive and smaller than the chunk's size. - */ - // @ts-ignore - isInChunk(localCoords: any /*Vector3i*/): boolean; - /** - * Returns true if the local coordinates fit in a chunk. That is they are - * positive and smaller than the chunk's size. - */ - // @ts-ignore - isInChunk(x: number, y: number, z: number): boolean; - /** - * Returns true if the world coordinates fit in the chunk at the given - * coordinates. - */ - // @ts-ignore - isInChunk(worldCoords: any /*Vector3i*/, chunkCoords: any /*Vector3i*/): boolean; - /** - * Returns true if the world coordinates fit in the chunk at the given - * coordinates. - */ - // @ts-ignore - isInChunk(wx: number, wy: number, wz: number, cx: number, cy: number, cz: number): boolean; - /** - * Converts world coordinates to chunk coordinates. Returns nothing if the - * conversion failed because the resulting chunk coordinates aren't valid. - */ - // @ts-ignore - toChunk(worldCoords: any /*Vector3i*/): any; - /** - * Converts world coordinates to chunk coordinates. Returns nothing if the - * conversion failed because the resulting chunk coordinates aren't valid. - */ - // @ts-ignore - toChunk(x: number, y: number, z: number): any; - /** - * Converts chunk coordinates to world coordinates. Returns nothing if the - * conversion failed because the given chunk coordinates aren't valid. - */ - // @ts-ignore - toWorld(chunkCoords: any /*Vector3i*/): any; - /** - * Converts chunk coordinates to world coordinates. Returns nothing if the - * conversion failed because the given chunk coordinates aren't valid. - */ - // @ts-ignore - toWorld(x: number, y: number, z: number): any; - /** - * Converts world coordinates to chunk coordinates. This method never fails - * and can returns invalid chunk coordinates. - */ - // @ts-ignore - forceToChunk(worldCoords: any /*Vector3i*/): any /*Vector3i*/; - /** - * Converts world coordinates to chunk coordinates. This method never fails - * and can returns invalid chunk coordinates. - */ - // @ts-ignore - forceToChunk(x: number, y: number, z: number): any /*Vector3i*/; - /** - * Converts chunk coordinates to world coordinates. This method never fails - * and can returns invalid world coordinates. - */ - // @ts-ignore - forceToWorld(chunkCoords: any /*Vector3i*/): any /*Vector3i*/; - /** - * Converts chunk coordinates to world coordinates. This method never fails - * and can returns invalid world coordinates. - */ - // @ts-ignore - forceToWorld(x: number, y: number, z: number): any /*Vector3i*/; - /** - * Adds the chunk offset to the chunk coordinates. Returns nothing if the - * new coordinates are not valid. - */ - // @ts-ignore - addToChunk(chunkCoords: any /*Vector3i*/, chunkOffset: any /*Vector3i*/): any; - /** - * Adds the chunk offset to the chunk coordinates. Returns nothing if the - * new coordinates are not valid. - */ - // @ts-ignore - addToChunk(cx: number, cy: number, cz: number, ox: number, oy: number, oz: number): any; - /** - * Moves chunk coordinates one step in the given direction. Returns nothing - * if the new coordinates are not valid. {@link Division#SECONDARY_ORDINAL} - * directions are not a valid argument. These will throw an exception. - */ - // @ts-ignore - moveToChunk(chunkCoords: any /*Vector3i*/, direction: org.spongepowered.api.util.Direction): any; - /** - * Moves chunk coordinates one step in the given direction. Returns nothing - * if the new coordinates are not valid. - * {@link Division#SECONDARY_ORDINAL} directions are not a valid - * argument. These will throw an exception. - */ - // @ts-ignore - moveToChunk(x: number, y: number, z: number, direction: org.spongepowered.api.util.Direction): any; - /** - * Moves chunk coordinates a number of steps in the given direction. Returns - * nothing if the new coordinates are not valid. - * {@link Division#SECONDARY_ORDINAL} directions are not a valid - * argument. These will throw an exception. - */ - // @ts-ignore - moveToChunk(chunkCoords: any /*Vector3i*/, direction: org.spongepowered.api.util.Direction, steps: number): any; - /** - * Moves chunk coordinates a number of steps in the given direction. Returns - * nothing if the new coordinates are not valid. - * {@link Division#SECONDARY_ORDINAL} directions are not a valid - * argument. These will throw an exception. - */ - // @ts-ignore - moveToChunk(x: number, y: number, z: number, direction: org.spongepowered.api.util.Direction, steps: number): any; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.storage.WorldProperties.ts b/packages/sponge/src/typings/org.spongepowered.api.world.storage.WorldProperties.ts deleted file mode 100644 index 29c5b369..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.storage.WorldProperties.ts +++ /dev/null @@ -1,431 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace storage { - // @ts-ignore - interface WorldProperties extends org.spongepowered.api.data.DataSerializable { - /** - * Gets whether this world has been initialized. - */ - // @ts-ignore - isInitialized(): boolean; - /** - * Gets the name of this world. - */ - // @ts-ignore - getWorldName(): string; - /** - * Gets the {@link UUID} of the world. - */ - // @ts-ignore - getUniqueId(): any; - /** - * Gets whether this world is enabled. A world which is enabled but unloaded - * may be loaded automatically if an attempt is made to transfer an entity - * to the world using {@link Entity#transferToWorld} . - */ - // @ts-ignore - isEnabled(): boolean; - /** - * Sets this world as enabled. A world which is enabled but unloaded may be - * loaded automatically if an attempt is made to transfer an entity to the - * world using {@link Entity#transferToWorld} . - */ - // @ts-ignore - setEnabled(state: boolean): void; - /** - * Gets whether this world will load when the server starts up. - */ - // @ts-ignore - loadOnStartup(): boolean; - /** - * Sets whether this world should load when the server starts up. - */ - // @ts-ignore - setLoadOnStartup(state: boolean): void; - /** - * Gets whether spawn chunks of this world remain loaded when no players are - * present. - */ - // @ts-ignore - doesKeepSpawnLoaded(): boolean; - /** - * Sets whether the spawn chunks of the world should remain loaded when no - * players are present. - */ - // @ts-ignore - setKeepSpawnLoaded(state: boolean): void; - /** - * Gets whether spawn chunks of this world will generate on load. - */ - // @ts-ignore - doesGenerateSpawnOnLoad(): boolean; - /** - * Sets whether the spawn chunks of the world will generate on load. - */ - // @ts-ignore - setGenerateSpawnOnLoad(state: boolean): void; - /** - * Gets the default spawn position of this world. - */ - // @ts-ignore - getSpawnPosition(): any /*Vector3i*/; - /** - * Sets the default spawn position of this world. - */ - // @ts-ignore - setSpawnPosition(position: any /*Vector3i*/): void; - /** - * Gets the {@link GeneratorType} of this world. - */ - // @ts-ignore - getGeneratorType(): org.spongepowered.api.world.GeneratorType; - /** - * Sets the {@link GeneratorType} of this world. - */ - // @ts-ignore - setGeneratorType(type: org.spongepowered.api.world.GeneratorType): void; - /** - * Gets the seed of this world. - */ - // @ts-ignore - getSeed(): number; - /** - * Sets the seed of this world. - *

Warning: this may cause the edge of currently generated chunks to no - * longer align with newly generated chunks.

- */ - // @ts-ignore - setSeed(seed: number): void; - /** - * Gets the number of ticks which have occurred since the world was created. - */ - // @ts-ignore - getTotalTime(): number; - /** - * Gets the time of day, in ticks. The total number of ticks in a day is - * 24000, however this value does not reset to zero at the start of each day - * but rather keeps counting passed 24000. - */ - // @ts-ignore - getWorldTime(): number; - /** - * Sets the time of day, in ticks. The total number of ticks in a day is - * 24000, however this value does not reset to zero at the start of each day - * but rather keeps counting passed 24000. - */ - // @ts-ignore - setWorldTime(time: number): void; - /** - * Gets the {@link DimensionType} of this world. - */ - // @ts-ignore - getDimensionType(): org.spongepowered.api.world.DimensionType; - /** - * Gets the {@link PortalAgentType} for the world. - */ - // @ts-ignore - getPortalAgentType(): org.spongepowered.api.world.PortalAgentType; - /** - * Gets whether PVP combat is enabled in this world. - */ - // @ts-ignore - isPVPEnabled(): boolean; - /** - * Sets whether PVP combat is enabled in this world. - */ - // @ts-ignore - setPVPEnabled(enabled: boolean): void; - /** - * Gets whether this world is currently experiencing rain/snow/cloud-cover - * (depending on the biome of a specific location). - */ - // @ts-ignore - isRaining(): boolean; - /** - * Sets whether this world is currently experiencing rain/snow/cloud-cover - * (depending on the biome of a specific location). - */ - // @ts-ignore - setRaining(state: boolean): void; - /** - * Gets the number of ticks until the weather is next toggled to a new - * random value. - */ - // @ts-ignore - getRainTime(): number; - /** - * Sets the number of ticks until the weather is next toggled to a new - * random value. - */ - // @ts-ignore - setRainTime(time: number): void; - /** - * Gets whether this world is currently experiencing a lightning storm. - */ - // @ts-ignore - isThundering(): boolean; - /** - * Sets whether this world is currently experiencing a lightning storm. - */ - // @ts-ignore - setThundering(state: boolean): void; - /** - * Gets the number of ticks until the {@link #isThundering()} state is - * toggled to a new random value. - */ - // @ts-ignore - getThunderTime(): number; - /** - * Sets the number of ticks until the {@link #isThundering()} state is - * toggled to a new random value. - */ - // @ts-ignore - setThunderTime(time: number): void; - /** - * Gets the default {@link GameMode} of this world. - */ - // @ts-ignore - getGameMode(): org.spongepowered.api.entity.living.player.gamemode.GameMode; - /** - * Sets the default {@link GameMode} of this world. - */ - // @ts-ignore - setGameMode(gamemode: org.spongepowered.api.entity.living.player.gamemode.GameMode): void; - /** - * Gets whether this world will generate map features such as villages and - * strongholds. - */ - // @ts-ignore - usesMapFeatures(): boolean; - /** - * Sets whether this world will generate map features such as villages and - * strongholds. - */ - // @ts-ignore - setMapFeaturesEnabled(state: boolean): void; - /** - * Gets whether this world is set to hardcore mode. - */ - // @ts-ignore - isHardcore(): boolean; - /** - * Sets whether this world is set to hardcore mode. - */ - // @ts-ignore - setHardcore(state: boolean): void; - /** - * Gets whether commands are allowed within this world. May not be respected - * when not in single player. - */ - // @ts-ignore - areCommandsAllowed(): boolean; - /** - * Sets whether commands are allowed within this world. May not be respected - * when not in single player. - */ - // @ts-ignore - setCommandsAllowed(state: boolean): void; - /** - * Gets the difficulty of this world. - */ - // @ts-ignore - getDifficulty(): org.spongepowered.api.world.difficulty.Difficulty; - /** - * Sets the difficulty of this world. - */ - // @ts-ignore - setDifficulty(difficulty: org.spongepowered.api.world.difficulty.Difficulty): void; - /** - * Gets whether the bonus chest should be generated. - *

This only applies on the initial load of the {@link World} - * created via this properties.

- */ - // @ts-ignore - doesGenerateBonusChest(): boolean; - /** - * Gets the center of the world border. - *

The returned position is three-dimensional. As the world border - * extends over the entire y-axis, the returned position will always have a - * {@code y} set to 0.

- */ - // @ts-ignore - getWorldBorderCenter(): any /*Vector3d*/; - /** - * Sets the center of the world border. - */ - // @ts-ignore - setWorldBorderCenter(x: number, z: number): void; - /** - * Gets the diameter of the world border. - *

The returned diameter applies to the x and z axis. The world border - * extends over the entire y-axis.

- */ - // @ts-ignore - getWorldBorderDiameter(): number; - /** - * Sets the diameter of the world border. - *

The specified diameter applies to the x and z axis. The world border - * extends over the entire y-axis.

- */ - // @ts-ignore - setWorldBorderDiameter(diameter: number): void; - /** - * Gets the time remaining until the world border stops expanding or - * contracting. - */ - // @ts-ignore - getWorldBorderTimeRemaining(): number; - /** - * Sets the time remaining until the world border stops expanding or - * contracting. - */ - // @ts-ignore - setWorldBorderTimeRemaining(time: number): void; - /** - * Gets the diameter the world border is expanding or contracting to. - *

This will return the same value as {@link #getWorldBorderDiameter} - * unless {@link #getWorldBorderTimeRemaining} is greater than 0.

- */ - // @ts-ignore - getWorldBorderTargetDiameter(): number; - /** - * Sets the target diameter of the world border. - *

The world border diameter increases/decrease linearly over time - * specified in {@link #getWorldBorderTimeRemaining()}. The specified - * diameter applies to the x and z axis. The world border extends over the - * entire y-axis.

- */ - // @ts-ignore - setWorldBorderTargetDiameter(diameter: number): void; - /** - * Gets the distance a player may be outside the world border before taking - * damage. - */ - // @ts-ignore - getWorldBorderDamageThreshold(): number; - /** - * Sets the distance a player may be be outside the world border before - * taking damage. - */ - // @ts-ignore - setWorldBorderDamageThreshold(distance: number): void; - /** - * Gets the damage done to a player per block per tick when outside the - * buffer. - */ - // @ts-ignore - getWorldBorderDamageAmount(): number; - /** - * Sets the damage done to a player per block per tick when outside the - * buffer. - */ - // @ts-ignore - setWorldBorderDamageAmount(damage: number): void; - /** - * Gets the time when a contracting world border will warn a player for whom - * the world border will reach in {@code time} seconds. - *

In Minecraft, the warning is displayed in the form of a reddish - * tint.

- */ - // @ts-ignore - getWorldBorderWarningTime(): number; - /** - * Sets the time when a contracting world border will warn a player for whom - * the world border will reach in {@code time} seconds. - *

In Minecraft, the warning is displayed in the form of a reddish - * tint.

- */ - // @ts-ignore - setWorldBorderWarningTime(time: number): void; - /** - * Gets the distance when a contracting world border will warn a player for - * whom the world border is {@code distance} blocks away. - *

In Minecraft, the warning is displayed in the form of a reddish - * tint.

- */ - // @ts-ignore - getWorldBorderWarningDistance(): number; - /** - * Sets the distance when a contracting world border will warn a player for - * whom the world border is {@code distance} blocks away. - *

In Minecraft, the warning is displayed in the form of a reddish - * tint.

- */ - // @ts-ignore - setWorldBorderWarningDistance(distance: number): void; - /** - * Gets the specified GameRule value. - */ - // @ts-ignore - getGameRule(gameRule: string): any; - /** - * Gets a map of the currently set game rules and their values. - */ - // @ts-ignore - getGameRules(): Map /*java.util.Map*/; - /** - * Sets the specified GameRule value. If one with this name does not exist, - * it will be created. - */ - // @ts-ignore - setGameRule(gameRule: string, value: string): void; - /** - * Removes custom GameRule. - */ - // @ts-ignore - removeGameRule(gameRule: string): boolean; - /** - * Gets a {@link DataContainer} containing any additional properties for - * this world. The returned data is a snapshot of the data and is not live. - */ - // @ts-ignore - getAdditionalProperties(): org.spongepowered.api.data.DataContainer; - /** - * Gets a section of the additional properties returned by - * {@link #getAdditionalProperties()}. The returned data is a snapshot of - * the data and is not live. - */ - // @ts-ignore - getPropertySection(path: org.spongepowered.api.data.DataQuery): any; - /** - * Sets a path within the additional data to the given {@link DataView}. If - * you are using this to store data related to your mod/plugin is is HIGHLY - * recommended that the identifier you pass in be your mod/plugin id. - */ - // @ts-ignore - setPropertySection(path: org.spongepowered.api.data.DataQuery, data: org.spongepowered.api.data.DataView): void; - /** - * Gets an immutable collection of the world generator modifiers currently - * in use. - */ - // @ts-ignore - getGeneratorModifiers(): any[] /*java.util.Collection*/; - /** - * Sets the given world generator modifiers to be used. - */ - // @ts-ignore - setGeneratorModifiers(modifiers: any[] /*java.util.Collection*/): void; - /** - * Gets the generator settings. These can be used by the generator type - * and/or by the generator modifiers. - */ - // @ts-ignore - getGeneratorSettings(): org.spongepowered.api.data.DataContainer; - /** - * Gets the {@link SerializationBehavior} in use. - */ - // @ts-ignore - getSerializationBehavior(): org.spongepowered.api.world.SerializationBehavior; - /** - * Sets the {@link SerializationBehavior} for use. - */ - // @ts-ignore - setSerializationBehavior(behavior: org.spongepowered.api.world.SerializationBehavior): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.storage.WorldStorage.ts b/packages/sponge/src/typings/org.spongepowered.api.world.storage.WorldStorage.ts deleted file mode 100644 index c15ec09c..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.storage.WorldStorage.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace storage { - // @ts-ignore - interface WorldStorage { - /** - * Gets a {@link ChunkDataStream}. - *

Usage of a {@link ChunkDataStream} should be limited to asynchronous - * tasks to avoid hanging the main thread.

- */ - // @ts-ignore - getGeneratedChunks(): org.spongepowered.api.world.storage.ChunkDataStream; - /** - * Checks if the given chunk coordinates represented by {@link Vector3i} - * exist in the world. - *

Note that this is an asynchronous check as the storage of chunks can - * not be guaranteed to remain in sync with the server, let alone on the - * server thread.

- *

It is imperative to understand that the {@link CompletableFuture} task - * is blocking, and should avoid using {@link CompletableFuture#get()} while - * on the main thread.

- */ - // @ts-ignore - doesChunkExist(chunkCoords: any /*Vector3i*/): any; - /** - * Gets a {@link DataContainer} including all data related to a - * {@link Chunk}. - *

The container is a read only instance of the data, and therefor should - * not be considered as mutable data. Changes are NOT saved, and the data - * may not be in sync with the server if the chunk is currently loaded.

- *

This may not return a {@link DataContainer} in the event there is no - * chunk data generated at the desired coordinates.

- *

It is imperative to understand that the {@link CompletableFuture} task - * is blocking, and should avoid using {@link CompletableFuture#get()} while - * on the main thread.

- */ - // @ts-ignore - getChunkData(chunkCoords: any /*Vector3i*/): any; - /** - * Gets the {@link WorldProperties} of this storage. In the vanilla storage - * medium this represents the data available in the level.dat file. - */ - // @ts-ignore - getWorldProperties(): org.spongepowered.api.world.storage.WorldProperties; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.teleport.TeleportHelperFilter.ts b/packages/sponge/src/typings/org.spongepowered.api.world.teleport.TeleportHelperFilter.ts deleted file mode 100644 index ebcf3f1e..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.teleport.TeleportHelperFilter.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace teleport { - // @ts-ignore - interface TeleportHelperFilter extends org.spongepowered.api.CatalogType { - /** - * Tests whether the location in question is valid, regardless of whether - * the block is safe or not. This is only intended to be used by - * kernels that blacklist/whitelist certain locations, and any block checks - * should be performed by {@link #isSafeFloorMaterial(BlockState)} and - * {@link #isSafeBodyMaterial(BlockState)} instead, to obtain the full - * benefits of the {@link TeleportHelper}. - *
    - *
  • Returning {@link Tristate#UNDEFINED} denotes that the filter - * does not regard the location as valid or otherwise, and that the - * helper should determine if the location is suitable using the - * {@link #isSafeBodyMaterial(BlockState)} and - * {@link #isSafeFloorMaterial(BlockState)} methods. Implementations - * should generally return this result.
  • - *
  • Returning {@link Tristate#TRUE} marks the location as valid and - * will causes the parent {@link TeleportHelper} to return this - * location. No checks using {@link #isSafeBodyMaterial(BlockState)} - * and {@link #isSafeFloorMaterial(BlockState)} will be performed.
  • - *
  • Returning {@link Tristate#FALSE} marks the location as invalid - * and causes the parent {@link TeleportHelper} to move onto the next - * block to check, regardless of whether it would have otherwise been - * marked as safe.
  • - *
- *

This method has a default implementation of always returning - * {@link Tristate#UNDEFINED}, that is, such a filter is not location - * specific.

- *

This will be called before any other check on the target location is - * performed, this is the first check performed when investigating a - * location.

- */ - // @ts-ignore - isValidLocation(world: org.spongepowered.api.world.World, position: any /*Vector3i*/): org.spongepowered.api.util.Tristate; - /** - * Tests whether a {@link BlockState} should be considered a safe block - * to land on. - */ - // @ts-ignore - isSafeFloorMaterial(blockState: org.spongepowered.api.block.BlockState): boolean; - /** - * Tests whether a {@link BlockState} should be considered a safe block - * for the body to be inside of. - *

Generally, you want this to be a passable block!

- */ - // @ts-ignore - isSafeBodyMaterial(blockState: org.spongepowered.api.block.BlockState): boolean; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.teleport.TeleportHelperFilters.ts b/packages/sponge/src/typings/org.spongepowered.api.world.teleport.TeleportHelperFilters.ts deleted file mode 100644 index 79de0612..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.teleport.TeleportHelperFilters.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace teleport { - // @ts-ignore - class TeleportHelperFilters { - // @ts-ignore - public static CONFIG: org.spongepowered.api.world.teleport.TeleportHelperFilter; - // @ts-ignore - public static DEFAULT: org.spongepowered.api.world.teleport.TeleportHelperFilter; - // @ts-ignore - public static FLYING: org.spongepowered.api.world.teleport.TeleportHelperFilter; - // @ts-ignore - public static NO_PORTAL: org.spongepowered.api.world.teleport.TeleportHelperFilter; - // @ts-ignore - public static SURFACE_ONLY: org.spongepowered.api.world.teleport.TeleportHelperFilter; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.weather.Weather.ts b/packages/sponge/src/typings/org.spongepowered.api.world.weather.Weather.ts deleted file mode 100644 index 49b1404a..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.weather.Weather.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace weather { - // @ts-ignore - interface Weather extends org.spongepowered.api.CatalogType { - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.weather.WeatherUniverse.ts b/packages/sponge/src/typings/org.spongepowered.api.world.weather.WeatherUniverse.ts deleted file mode 100644 index cdf561d8..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.weather.WeatherUniverse.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace weather { - // @ts-ignore - interface WeatherUniverse { - /** - * Gets the current {@link Weather} in this volume. - */ - // @ts-ignore - getWeather(): org.spongepowered.api.world.weather.Weather; - /** - * Gets the remaining duration of the current {@link Weather}. - */ - // @ts-ignore - getRemainingDuration(): number; - /** - * Gets the duration the current {@link Weather} has been running for. - */ - // @ts-ignore - getRunningDuration(): number; - /** - * Sets the {@link Weather} of the volume with a random duration. - */ - // @ts-ignore - setWeather(weather: org.spongepowered.api.world.weather.Weather): void; - /** - * Sets the {@link Weather} of the volume with the specified duration. - */ - // @ts-ignore - setWeather(weather: org.spongepowered.api.world.weather.Weather, duration: number): void; - } - } - } - } - } -} diff --git a/packages/sponge/src/typings/org.spongepowered.api.world.weather.Weathers.ts b/packages/sponge/src/typings/org.spongepowered.api.world.weather.Weathers.ts deleted file mode 100644 index 7e93511b..00000000 --- a/packages/sponge/src/typings/org.spongepowered.api.world.weather.Weathers.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare namespace org { - namespace spongepowered { - namespace api { - namespace world { - namespace weather { - // @ts-ignore - class Weathers { - // @ts-ignore - public static CLEAR: org.spongepowered.api.world.weather.Weather; - // @ts-ignore - public static RAIN: org.spongepowered.api.world.weather.Weather; - // @ts-ignore - public static THUNDER_STORM: org.spongepowered.api.world.weather.Weather; - } - } - } - } - } -}