Search in sources :

Example 1 with AttributeRegistryModule

use of org.lanternpowered.server.game.registry.type.attribute.AttributeRegistryModule in project LanternServer by LanternPowered.

the class LanternGameRegistry method registerDefaults.

public void registerDefaults() {
    registerBuilderSupplier(LanternAttributeBuilder.class, LanternAttributeBuilder::new).registerBuilderSupplier(BlockSnapshot.Builder.class, LanternBlockSnapshotBuilder::new).registerBuilderSupplier(BlockSnapshotBuilder.class, LanternBlockSnapshotBuilder::new).registerBuilderSupplier(BlockState.Builder.class, LanternBlockStateBuilder::new).registerBuilderSupplier(WorldArchetype.Builder.class, LanternWorldArchetypeBuilder::new).registerBuilderSupplier(ParticleEffect.Builder.class, LanternParticleEffectBuilder::new).registerBuilderSupplier(PotionEffect.Builder.class, LanternPotionEffectBuilder::new).registerBuilderSupplier(Task.Builder.class, () -> new LanternTaskBuilder(Lantern.getGame().getScheduler())).registerBuilderSupplier(Ban.Builder.class, BanBuilder::new).registerBuilderSupplier(TabListEntry.Builder.class, LanternTabListEntryBuilder::new).registerBuilderSupplier(Selector.Builder.class, LanternSelectorBuilder::new).registerBuilderSupplier(Objective.Builder.class, LanternObjectiveBuilder::new).registerBuilderSupplier(Scoreboard.Builder.class, LanternScoreboardBuilder::new).registerBuilderSupplier(Team.Builder.class, LanternTeamBuilder::new).registerBuilderSupplier(ServerBossBar.Builder.class, LanternBossBarBuilder::new).registerBuilderSupplier(BlockDamageSource.Builder.class, LanternBlockDamageSourceBuilder::new).registerBuilderSupplier(DamageSource.Builder.class, LanternDamageSourceBuilder::new).registerBuilderSupplier(EntityDamageSource.Builder.class, LanternEntityDamageSourceBuilder::new).registerBuilderSupplier(FallingBlockDamageSource.Builder.class, LanternFallingBlockDamageSourceBuilder::new).registerBuilderSupplier(IndirectEntityDamageSource.Builder.class, LanternIndirectEntityDamageSourceBuilder::new).registerBuilderSupplier(HealingSource.Builder.class, LanternHealingSourceBuilder::new).registerBuilderSupplier(EntityHealingSource.Builder.class, LanternEntityHealingSourceBuilder::new).registerBuilderSupplier(RespawnLocation.Builder.class, RespawnLocation.Builder::new).registerBuilderSupplier(SoundType.Builder.class, LanternSoundTypeBuilder::new).registerBuilderSupplier(FireworkEffect.Builder.class, LanternFireworkEffectBuilder::new).registerBuilderSupplier(InventoryArchetype.Builder.class, LanternInventoryArchetypeBuilder::new).registerBuilderSupplier(Inventory.Builder.class, LanternInventoryBuilder::create).registerBuilderSupplier(BiomeGenerationSettings.Builder.class, LanternBiomeGenerationSettingsBuilder::new).registerBuilderSupplier(VirtualBiomeType.Builder.class, LanternVirtualBiomeTypeBuilder::new).registerBuilderSupplier(BlockStatisticBuilder.class, BlockStatisticBuilder::create).registerBuilderSupplier(EntityStatisticBuilder.class, EntityStatisticBuilder::create).registerBuilderSupplier(ItemStatisticBuilder.class, ItemStatisticBuilder::create).registerBuilderSupplier(StatisticBuilder.class, StatisticBuilder::create).registerBuilderSupplier(DataRegistration.Builder.class, LanternDataRegistrationBuilder::new).registerBuilderSupplier(WorldBorder.Builder.class, LanternWorldBorderBuilder::new).registerBuilderSupplier(FluidStack.Builder.class, LanternFluidStackBuilder::new).registerBuilderSupplier(FluidStackSnapshot.Builder.class, LanternFluidStackSnapshotBuilder::new).registerBuilderSupplier(ItemStack.Builder.class, LanternItemStackBuilder::new).registerBuilderSupplier(EventContextKey.Builder.class, LanternEventContextKeyBuilder::new).registerBuilderSupplier(Enchantment.Builder.class, LanternEnchantmentBuilder::new).registerBuilderSupplier(Key.Builder.class, LanternKeyBuilder::new).registerBuilderSupplier(Advancement.Builder.class, LanternAdvancementBuilder::new).registerBuilderSupplier(AdvancementTree.Builder.class, LanternAdvancementTreeBuilder::new).registerBuilderSupplier(AdvancementCriterion.Builder.class, LanternCriterionBuilder::new).registerBuilderSupplier(ScoreAdvancementCriterion.Builder.class, LanternScoreCriterionBuilder::new).registerBuilderSupplier(Trigger.Builder.class, LanternTriggerBuilder::new).registerBuilderSupplier(FilteredTrigger.Builder.class, LanternFilteredTriggerBuilder::new).registerBuilderSupplier(DisplayInfo.Builder.class, LanternDisplayInfoBuilder::new).registerBuilderSupplier(ShapedCraftingRecipe.Builder.class, LanternShapedCraftingRecipeBuilder::new).registerBuilderSupplier(IShapedCraftingRecipe.Builder.class, LanternShapedCraftingRecipeBuilder::new).registerBuilderSupplier(ShapelessCraftingRecipe.Builder.class, LanternShapelessCraftingRecipeBuilder::new).registerBuilderSupplier(IShapelessCraftingRecipe.Builder.class, LanternShapelessCraftingRecipeBuilder::new).registerBuilderSupplier(SmeltingRecipe.Builder.class, LanternSmeltingRecipeBuilder::new).registerBuilderSupplier(ISmeltingRecipe.Builder.class, LanternSmeltingRecipeBuilder::new).registerBuilderSupplier(Ingredient.Builder.class, LanternIngredientBuilder::new).registerBuilderSupplier(IIngredient.Builder.class, LanternIngredientBuilder::new).registerBuilderSupplier(IFuel.Builder.class, LanternFuelBuilder::new);
    // All enum value enumerations must extend registry class, because very strange things
    // are happening. Without this, all the dummy fields are never updated???
    registerModule(LanternOperation.class, new AttributeOperationRegistryModule()).registerModule(LanternAttribute.class, new AttributeRegistryModule()).registerModule(new AttributeTargetRegistryModule()).registerModule(BlockType.class, BlockRegistryModule.get()).registerModule(BlockState.class, new BlockStateRegistryModule()).registerModule(BossBarColor.class, new BossBarColorRegistryModule()).registerModule(BossBarOverlay.class, new BossBarOverlayRegistryModule()).registerModule(Accessory.class, new AccessoryRegistryModule()).registerModule(DamageType.class, new DamageTypeRegistryModule()).registerModule(DamageModifierType.class, new DamageModifierTypeRegistryModule()).registerModule(new ConstantDamageSourceRegistryModule()).registerModule(HealingType.class, new HealingTypeRegistryModule()).registerModule(new ConstantHealingSourceRegistryModule()).registerModule(DismountType.class, new DismountTypeRegistryModule()).registerModule(SpawnType.class, new SpawnTypeRegistryModule()).registerModule(TeleportType.class, new TeleportTypeRegistryModule()).registerModule(DataFormat.class, new DataFormatRegistryModule()).registerModule(BigMushroomType.class, new EnumValueRegistryModule<BigMushroomType>(LanternBigMushroomType.class, BigMushroomTypes.class) {
    }).registerModule(BrickType.class, new EnumValueRegistryModule<BrickType>(LanternBrickType.class, BrickTypes.class) {
    }).registerModule(ComparatorType.class, new EnumValueRegistryModule<ComparatorType>(LanternComparatorType.class, ComparatorTypes.class) {
    }).registerModule(DirtType.class, DirtTypeRegistryModule.get()).registerModule(DisguisedBlockType.class, new EnumValueRegistryModule<DisguisedBlockType>(LanternDisguisedBlockType.class, DisguisedBlockTypes.class) {
    }).registerModule(LanternDoorHalf.class, new EnumValueRegistryModule<LanternDoorHalf>(LanternDoorHalf.class, null) {
    }).registerModule(DoublePlantType.class, new EnumValueRegistryModule<DoublePlantType>(LanternDoublePlantType.class, DoublePlantTypes.class) {
    }).registerModule(Art.class, new ArtRegistryModule()).registerModule(Career.class, new CareerRegistryModule()).registerModule(HandType.class, new HandTypeRegistryModule()).registerModule(HandPreference.class, new HandPreferenceRegistryModule()).registerModule(HorseColor.class, new HorseColorRegistryModule()).registerModule(HorseStyle.class, new HorseStyleRegistryModule()).registerModule(InstrumentType.class, new InstrumentTypeRegistryModule()).registerModule(Hinge.class, new EnumValueRegistryModule<Hinge>(LanternHinge.class, Hinges.class) {
    }).registerModule(Key.class, KeyRegistryModule.get()).registerModule(PortionType.class, new EnumValueRegistryModule<PortionType>(LanternPortionType.class, PortionTypes.class) {
    }).registerModule(LogAxis.class, new EnumValueRegistryModule<LogAxis>(LanternLogAxis.class, LogAxes.class) {
    }).registerModule(NotePitch.class, NotePitchRegistryModule.get()).registerModule(OcelotType.class, new OcelotTypeRegistryModule()).registerModule(LlamaVariant.class, new LlamaVariantRegistryModule()).registerModule(Profession.class, new ProfessionRegistryModule()).registerModule(RabbitType.class, new RabbitTypeRegistryModule()).registerModule(ToolType.class, new ToolTypeRegistryModule()).registerModule(ArmorType.class, new ArmorTypeRegistryModule()).registerModule(PistonType.class, new EnumValueRegistryModule<PistonType>(LanternPistonType.class, PistonTypes.class) {
    }).registerModule(PlantType.class, PlantTypeRegistryModule.get()).registerModule(PrismarineType.class, new EnumValueRegistryModule<PrismarineType>(LanternPrismarineType.class, PrismarineTypes.class) {
    }).registerModule(QuartzType.class, QuartzTypeRegistryModule.get()).registerModule(SandstoneType.class, SandstoneTypeRegistryModule.get()).registerModule(SandType.class, SandTypeRegistryModule.get()).registerModule(ShrubType.class, ShrubTypeRegistryModule.get()).registerModule(StoneType.class, StoneTypeRegistryModule.get()).registerModule(SlabType.class, SlabTypeRegistryModule.get()).registerModule(TreeType.class, TreeTypeRegistryModule.get()).registerModule(WallType.class, new EnumValueRegistryModule<WallType>(LanternWallType.class, WallTypes.class) {
    }).registerModule(SkinPart.class, new SkinPartRegistryModule()).registerModule(TransactionType.class, new TransactionTypeRegistryModule()).registerModule(ParticleType.class, new ParticleTypeRegistryModule()).registerModule(ParticleOption.class, new ParticleOptionRegistryModule()).registerModule(FireworkShape.class, FireworkShapeRegistryModule.get()).registerModule(PotionEffectType.class, PotionEffectTypeRegistryModule.get()).registerModule(SoundCategory.class, new SoundCategoryRegistryModule()).registerModule(SoundType.class, new SoundTypeRegistryModule()).registerModule(GameMode.class, GameModeRegistryModule.get()).registerModule(EquipmentType.class, new EquipmentTypeRegistryModule()).registerModule(ItemType.class, ItemRegistryModule.get()).registerModule(CollisionRule.class, new CollisionRuleRegistryModule()).registerModule(Criterion.class, new CriterionRegistryModule()).registerModule(DisplaySlot.class, new DisplaySlotRegistryModule()).registerModule(ObjectiveDisplayMode.class, new ObjectiveDisplayModeRegistryModule()).registerModule(Visibility.class, new VisibilityRegistryModule()).registerModule(new ArgumentTypeRegistryModule()).registerModule(ChatType.class, new ChatTypeRegistryModule()).registerModule(ChatVisibility.class, ChatVisibilityRegistryModule.get()).registerModule(new SelectorFactoryRegistryModule()).registerModule(SelectorType.class, new SelectorTypeRegistryModule()).registerModule(TextColor.class, new TextColorRegistryModule()).registerModule(new TextFormatRegistryModule()).registerModule(new TextSerializersRegistryModule()).registerModule(TextStyle.Base.class, new TextStyleRegistryModule()).registerModule(new TranslationManagerRegistryModule()).registerModule(BanType.class, new BanTypeRegistryModule()).registerModule(Rotation.class, new RotationRegistryModule()).registerModule(BiomeType.class, BiomeRegistryModule.get()).registerModule(new DefaultGameRulesRegistryModule()).registerModule(Difficulty.class, DifficultyRegistryModule.get()).registerModule(DimensionType.class, new DimensionTypeRegistryModule()).registerModule(WorldGeneratorModifier.class, new GeneratorModifierRegistryModule()).registerModule(GeneratorType.class, new GeneratorTypeRegistryModule()).registerModule(PortalAgentType.class, new PortalAgentTypeRegistryModule()).registerModule(SerializationBehavior.class, new SerializationBehaviorRegistryModule()).registerModule(Weather.class, new WeatherTypeRegistryModule()).registerModule(WorldArchetype.class, new WorldArchetypeRegistryModule()).registerModule(EntityType.class, EntityTypeRegistryModule.get()).registerModule(TileEntityType.class, TileEntityTypeRegistryModule.get()).registerModule(EntityProtocolType.class, new EntityProtocolTypeRegistryModule()).registerModule(InventoryArchetype.class, new InventoryArchetypeRegistryModule()).registerModule(QueryOperationType.class, new QueryOperationRegistryModule()).registerModule(GuiId.class, ClientContainerRegistryModule.get()).registerModule(GoldenApple.class, GoldenAppleRegistryModule.get()).registerModule(CoalType.class, CoalTypeRegistryModule.get()).registerModule(Fish.class, FishRegistryModule.get()).registerModule(CookedFish.class, CookedFishRegistryModule.get()).registerModule(DyeColor.class, DyeColorRegistryModule.get()).registerModule(PickupRule.class, PickupRuleRegistryModule.get()).registerModule(BannerPatternShape.class, BannerPatternShapeRegistryModule.get()).registerModule(EnchantmentType.class, EnchantmentTypeRegistryModule.get()).registerModule(SkullType.class, SkullTypeRegistryModule.get()).registerModule(PotionType.class, PotionTypeRegistryModule.get()).registerModule(RailDirection.class, RailDirectionRegistryModule.get()).registerModule(StatisticType.class, StatisticTypeRegistryModule.get()).registerModule(Statistic.class, StatisticRegistryModule.get()).registerModule(DataRegistration.class, DataManipulatorRegistryModule.get()).registerModule(RecordType.class, RecordTypeRegistryModule.get()).registerModule(FluidType.class, FluidTypeRegistryModule.get()).registerModule(EventContextKey.class, EventContextKeysModule.get()).registerModule(new BlockChangeFlagRegistryModule()).registerModule(new ItemStackComparatorRegistryModule()).registerModule(AdvancementTree.class, AdvancementTreeRegistryModule.get()).registerModule(Advancement.class, AdvancementRegistryModule.get()).registerModule(AdvancementType.class, new AdvancementTypeRegistryModule()).registerModule(Trigger.class, TriggerRegistryModule.get()).registerModule(new AdvancementTreeLayoutModule()).registerModule(new AdvancementCriterionModule()).registerModule(CraftingRecipe.class, this.craftingRecipeRegistry.getRegistryModule()).registerModule(ISmeltingRecipe.class, this.smeltingRecipeRegistry.getRegistryModule()).registerModule(IFuel.class, this.fuelRegistryModule).registerModule(Parameter.class, new ContextParameterRegistryModule()).registerModule(ActionType.class, ActionTypeRegistryModule.get()).registerModule(ConditionType.class, ConditionTypeRegistryModule.get()).registerModule(DoubleValueProviderType.class, DoubleValueProviderTypeRegistryModule.get()).registerModule(FloatValueProviderType.class, FloatValueProviderTypeRegistryModule.get()).registerModule(IntValueProviderType.class, IntValueProviderTypeRegistryModule.get());
    registerFactories();
}
Also used : PotionEffect(org.spongepowered.api.effect.potion.PotionEffect) Difficulty(org.spongepowered.api.world.difficulty.Difficulty) LanternComparatorType(org.lanternpowered.server.data.type.LanternComparatorType) ComparatorType(org.spongepowered.api.data.type.ComparatorType) FallingBlockDamageSource(org.spongepowered.api.event.cause.entity.damage.source.FallingBlockDamageSource) ChatVisibility(org.spongepowered.api.text.chat.ChatVisibility) ShapedCraftingRecipe(org.spongepowered.api.item.recipe.crafting.ShapedCraftingRecipe) IShapedCraftingRecipe(org.lanternpowered.server.item.recipe.crafting.IShapedCraftingRecipe) BigMushroomType(org.spongepowered.api.data.type.BigMushroomType) LanternBigMushroomType(org.lanternpowered.server.data.type.LanternBigMushroomType) LanternFluidStackSnapshotBuilder(org.lanternpowered.server.fluid.LanternFluidStackSnapshotBuilder) ItemStatisticBuilder(org.lanternpowered.server.statistic.builder.ItemStatisticBuilder) EnumValueRegistryModule(org.lanternpowered.server.game.registry.EnumValueRegistryModule) AdvancementTreeLayoutModule(org.lanternpowered.server.game.registry.type.advancement.AdvancementTreeLayoutModule) DyeColor(org.spongepowered.api.data.type.DyeColor) FilteredTrigger(org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger) ToolTypeRegistryModule(org.lanternpowered.server.game.registry.type.data.ToolTypeRegistryModule) CriterionRegistryModule(org.lanternpowered.server.game.registry.type.scoreboard.CriterionRegistryModule) ProfessionRegistryModule(org.lanternpowered.server.game.registry.type.data.ProfessionRegistryModule) LanternPrismarineType(org.lanternpowered.server.data.type.LanternPrismarineType) AdvancementTypeRegistryModule(org.lanternpowered.server.game.registry.type.advancement.AdvancementTypeRegistryModule) LanternDisguisedBlockType(org.lanternpowered.server.data.type.LanternDisguisedBlockType) DisguisedBlockType(org.spongepowered.api.data.type.DisguisedBlockType) BlockType(org.spongepowered.api.block.BlockType) DamageModifierTypeRegistryModule(org.lanternpowered.server.game.registry.type.cause.DamageModifierTypeRegistryModule) TextFormatRegistryModule(org.lanternpowered.server.game.registry.type.text.TextFormatRegistryModule) BanBuilder(org.lanternpowered.server.config.user.ban.BanBuilder) LanternInventoryBuilder(org.lanternpowered.server.inventory.LanternInventoryBuilder) ISmeltingRecipe(org.lanternpowered.server.item.recipe.smelting.ISmeltingRecipe) Inventory(org.spongepowered.api.item.inventory.Inventory) Key(org.spongepowered.api.data.key.Key) EventContextKey(org.spongepowered.api.event.cause.EventContextKey) PortionType(org.spongepowered.api.data.type.PortionType) LanternPortionType(org.lanternpowered.server.data.type.LanternPortionType) GeneratorModifierRegistryModule(org.lanternpowered.server.game.registry.type.world.GeneratorModifierRegistryModule) LanternDisguisedBlockType(org.lanternpowered.server.data.type.LanternDisguisedBlockType) DisguisedBlockType(org.spongepowered.api.data.type.DisguisedBlockType) LanternDoorHalf(org.lanternpowered.server.data.type.LanternDoorHalf) RabbitTypeRegistryModule(org.lanternpowered.server.game.registry.type.data.RabbitTypeRegistryModule) LanternScoreboardBuilder(org.lanternpowered.server.scoreboard.LanternScoreboardBuilder) BannerPatternShape(org.spongepowered.api.data.type.BannerPatternShape) WorldArchetype(org.spongepowered.api.world.WorldArchetype) EntityStatistic(org.spongepowered.api.statistic.EntityStatistic) Statistic(org.spongepowered.api.statistic.Statistic) ItemStatistic(org.spongepowered.api.statistic.ItemStatistic) BlockStatistic(org.spongepowered.api.statistic.BlockStatistic) SkinPartRegistryModule(org.lanternpowered.server.game.registry.type.data.SkinPartRegistryModule) CookedFish(org.spongepowered.api.data.type.CookedFish) Fish(org.spongepowered.api.data.type.Fish) ObjectiveDisplayModeRegistryModule(org.lanternpowered.server.game.registry.type.scoreboard.ObjectiveDisplayModeRegistryModule) DataFormatRegistryModule(org.lanternpowered.server.game.registry.type.data.persistence.DataFormatRegistryModule) TreeType(org.spongepowered.api.data.type.TreeType) RotationRegistryModule(org.lanternpowered.server.game.registry.type.util.RotationRegistryModule) RespawnLocation(org.spongepowered.api.util.RespawnLocation) StoneType(org.spongepowered.api.data.type.StoneType) LanternHealingSourceBuilder(org.lanternpowered.server.cause.entity.healing.source.LanternHealingSourceBuilder) AdvancementCriterionModule(org.lanternpowered.server.game.registry.type.advancement.AdvancementCriterionModule) IShapelessCraftingRecipe(org.lanternpowered.server.item.recipe.crafting.IShapelessCraftingRecipe) ShapelessCraftingRecipe(org.spongepowered.api.item.recipe.crafting.ShapelessCraftingRecipe) DamageModifierType(org.spongepowered.api.event.cause.entity.damage.DamageModifierType) DimensionTypeRegistryModule(org.lanternpowered.server.game.registry.type.world.DimensionTypeRegistryModule) Parameter(org.lanternpowered.api.script.context.Parameter) LanternPrismarineType(org.lanternpowered.server.data.type.LanternPrismarineType) PrismarineType(org.spongepowered.api.data.type.PrismarineType) Career(org.spongepowered.api.data.type.Career) ScoreAdvancementCriterion(org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion) LanternFallingBlockDamageSourceBuilder(org.lanternpowered.server.cause.entity.damage.source.LanternFallingBlockDamageSourceBuilder) PrismarineTypes(org.spongepowered.api.data.type.PrismarineTypes) HorseStyleRegistryModule(org.lanternpowered.server.game.registry.type.data.HorseStyleRegistryModule) NotePitch(org.spongepowered.api.data.type.NotePitch) VisibilityRegistryModule(org.lanternpowered.server.game.registry.type.scoreboard.VisibilityRegistryModule) ChatVisibilityRegistryModule(org.lanternpowered.server.game.registry.type.text.ChatVisibilityRegistryModule) BossBarColorRegistryModule(org.lanternpowered.server.game.registry.type.bossbar.BossBarColorRegistryModule) CollisionRuleRegistryModule(org.lanternpowered.server.game.registry.type.scoreboard.CollisionRuleRegistryModule) LanternSmeltingRecipeBuilder(org.lanternpowered.server.item.recipe.smelting.LanternSmeltingRecipeBuilder) ConstantHealingSourceRegistryModule(org.lanternpowered.server.game.registry.type.cause.ConstantHealingSourceRegistryModule) LanternBossBarBuilder(org.lanternpowered.server.boss.LanternBossBarBuilder) TransactionTypeRegistryModule(org.lanternpowered.server.game.registry.type.economy.TransactionTypeRegistryModule) BlockChangeFlagRegistryModule(org.lanternpowered.server.game.registry.type.world.BlockChangeFlagRegistryModule) SkinPart(org.spongepowered.api.data.type.SkinPart) EntityProtocolType(org.lanternpowered.server.network.entity.EntityProtocolType) LanternWorldArchetypeBuilder(org.lanternpowered.server.world.LanternWorldArchetypeBuilder) ContextParameterRegistryModule(org.lanternpowered.server.script.context.ContextParameterRegistryModule) GameMode(org.spongepowered.api.entity.living.player.gamemode.GameMode) FluidStackSnapshot(org.spongepowered.api.extra.fluid.FluidStackSnapshot) FloatValueProviderType(org.lanternpowered.api.script.function.value.FloatValueProviderType) CareerRegistryModule(org.lanternpowered.server.game.registry.type.data.CareerRegistryModule) QuartzType(org.spongepowered.api.data.type.QuartzType) ConstantDamageSourceRegistryModule(org.lanternpowered.server.game.registry.type.cause.ConstantDamageSourceRegistryModule) AttributeRegistryModule(org.lanternpowered.server.game.registry.type.attribute.AttributeRegistryModule) LanternVirtualBiomeTypeBuilder(org.lanternpowered.server.world.biome.LanternVirtualBiomeTypeBuilder) SpawnTypeRegistryModule(org.lanternpowered.server.game.registry.type.cause.SpawnTypeRegistryModule) TeleportType(org.spongepowered.api.event.cause.entity.teleport.TeleportType) RailDirection(org.spongepowered.api.data.type.RailDirection) AttributeTargetRegistryModule(org.lanternpowered.server.game.registry.type.attribute.AttributeTargetRegistryModule) EntityProtocolTypeRegistryModule(org.lanternpowered.server.network.entity.EntityProtocolTypeRegistryModule) Scoreboard(org.spongepowered.api.scoreboard.Scoreboard) AdvancementCriterion(org.spongepowered.api.advancement.criteria.AdvancementCriterion) Criterion(org.spongepowered.api.scoreboard.critieria.Criterion) ScoreAdvancementCriterion(org.spongepowered.api.advancement.criteria.ScoreAdvancementCriterion) SelectorType(org.spongepowered.api.text.selector.SelectorType) LanternDamageSourceBuilder(org.lanternpowered.server.cause.entity.damage.source.LanternDamageSourceBuilder) HorseStyle(org.spongepowered.api.data.type.HorseStyle) PistonTypes(org.spongepowered.api.data.type.PistonTypes) BanType(org.spongepowered.api.util.ban.BanType) AccessoryRegistryModule(org.lanternpowered.server.game.registry.type.extra.AccessoryRegistryModule) InstrumentTypeRegistryModule(org.lanternpowered.server.game.registry.type.data.InstrumentTypeRegistryModule) TextColorRegistryModule(org.lanternpowered.server.game.registry.type.text.TextColorRegistryModule) SelectorFactoryRegistryModule(org.lanternpowered.server.game.registry.type.text.SelectorFactoryRegistryModule) PortalAgentType(org.spongepowered.api.world.PortalAgentType) ArgumentTypeRegistryModule(org.lanternpowered.server.game.registry.type.text.ArgumentTypeRegistryModule) SkullType(org.spongepowered.api.data.type.SkullType) GeneratorTypeRegistryModule(org.lanternpowered.server.game.registry.type.world.GeneratorTypeRegistryModule) Advancement(org.spongepowered.api.advancement.Advancement) LanternAttribute(org.lanternpowered.server.attribute.LanternAttribute) ItemType(org.spongepowered.api.item.ItemType) BlockStateRegistryModule(org.lanternpowered.server.game.registry.type.block.BlockStateRegistryModule) SerializationBehaviorRegistryModule(org.lanternpowered.server.game.registry.type.world.SerializationBehaviorRegistryModule) LanternWorldBorderBuilder(org.lanternpowered.server.world.LanternWorldBorderBuilder) DamageTypeRegistryModule(org.lanternpowered.server.game.registry.type.cause.DamageTypeRegistryModule) TextStyleRegistryModule(org.lanternpowered.server.game.registry.type.text.TextStyleRegistryModule) RabbitType(org.spongepowered.api.data.type.RabbitType) HealingType(org.spongepowered.api.event.cause.entity.health.HealingType) HorseColorRegistryModule(org.lanternpowered.server.game.registry.type.data.HorseColorRegistryModule) ParticleTypeRegistryModule(org.lanternpowered.server.game.registry.type.effect.ParticleTypeRegistryModule) Selector(org.spongepowered.api.text.selector.Selector) Hinge(org.spongepowered.api.data.type.Hinge) LanternHinge(org.lanternpowered.server.data.type.LanternHinge) SoundCategory(org.spongepowered.api.effect.sound.SoundCategory) LanternIngredientBuilder(org.lanternpowered.server.item.recipe.LanternIngredientBuilder) DefaultGameRulesRegistryModule(org.lanternpowered.server.game.registry.type.world.DefaultGameRulesRegistryModule) LlamaVariantRegistryModule(org.lanternpowered.server.game.registry.type.data.LlamaVariantRegistryModule) HandTypeRegistryModule(org.lanternpowered.server.game.registry.type.data.HandTypeRegistryModule) AttributeOperationRegistryModule(org.lanternpowered.server.game.registry.type.attribute.AttributeOperationRegistryModule) LanternKeyBuilder(org.lanternpowered.server.data.key.LanternKeyBuilder) LanternBlockSnapshotBuilder(org.lanternpowered.server.block.LanternBlockSnapshotBuilder) ParticleType(org.spongepowered.api.effect.particle.ParticleType) WeatherTypeRegistryModule(org.lanternpowered.server.game.registry.type.world.WeatherTypeRegistryModule) LanternScoreCriterionBuilder(org.lanternpowered.server.advancement.criteria.LanternScoreCriterionBuilder) FireworkEffect(org.spongepowered.api.item.FireworkEffect) BiomeType(org.spongepowered.api.world.biome.BiomeType) VirtualBiomeType(org.spongepowered.api.world.biome.VirtualBiomeType) ServerBossBar(org.spongepowered.api.boss.ServerBossBar) BossBarOverlayRegistryModule(org.lanternpowered.server.game.registry.type.bossbar.BossBarOverlayRegistryModule) SoundTypeRegistryModule(org.lanternpowered.server.game.registry.type.effect.SoundTypeRegistryModule) LanternAttributeBuilder(org.lanternpowered.server.attribute.LanternAttributeBuilder) TranslationManagerRegistryModule(org.lanternpowered.server.game.registry.type.text.TranslationManagerRegistryModule) ArtRegistryModule(org.lanternpowered.server.game.registry.type.data.ArtRegistryModule) HandPreferenceRegistryModule(org.lanternpowered.server.game.registry.type.data.HandPreferenceRegistryModule) SandType(org.spongepowered.api.data.type.SandType) EventContextKey(org.spongepowered.api.event.cause.EventContextKey) LlamaVariant(org.spongepowered.api.data.type.LlamaVariant) SelectorTypeRegistryModule(org.lanternpowered.server.game.registry.type.text.SelectorTypeRegistryModule) HealingSource(org.spongepowered.api.event.cause.entity.health.source.HealingSource) EntityHealingSource(org.spongepowered.api.event.cause.entity.health.source.EntityHealingSource) EntityStatisticBuilder(org.lanternpowered.server.statistic.builder.EntityStatisticBuilder) StatisticBuilder(org.lanternpowered.server.statistic.builder.StatisticBuilder) ItemStatisticBuilder(org.lanternpowered.server.statistic.builder.ItemStatisticBuilder) BlockStatisticBuilder(org.lanternpowered.server.statistic.builder.BlockStatisticBuilder) PortalAgentTypeRegistryModule(org.lanternpowered.server.game.registry.type.world.PortalAgentTypeRegistryModule) OcelotTypeRegistryModule(org.lanternpowered.server.game.registry.type.data.OcelotTypeRegistryModule) LogAxis(org.spongepowered.api.data.type.LogAxis) LanternLogAxis(org.lanternpowered.server.data.type.LanternLogAxis) LanternShapelessCraftingRecipeBuilder(org.lanternpowered.server.item.recipe.crafting.LanternShapelessCraftingRecipeBuilder) LanternWallType(org.lanternpowered.server.data.type.LanternWallType) WallType(org.spongepowered.api.data.type.WallType) PistonType(org.spongepowered.api.data.type.PistonType) LanternPistonType(org.lanternpowered.server.data.type.LanternPistonType) IIngredient(org.lanternpowered.server.item.recipe.IIngredient) Ingredient(org.spongepowered.api.item.recipe.crafting.Ingredient) WallTypes(org.spongepowered.api.data.type.WallTypes) LanternPotionEffectBuilder(org.lanternpowered.server.effect.potion.LanternPotionEffectBuilder) ParticleOptionRegistryModule(org.lanternpowered.server.game.registry.type.effect.ParticleOptionRegistryModule) DismountType(org.spongepowered.api.event.cause.entity.dismount.DismountType) ArmorType(org.spongepowered.api.data.type.ArmorType) LanternAdvancementTreeBuilder(org.lanternpowered.server.advancement.LanternAdvancementTreeBuilder) EquipmentTypeRegistryModule(org.lanternpowered.server.game.registry.type.item.inventory.equipment.EquipmentTypeRegistryModule) BanTypeRegistryModule(org.lanternpowered.server.game.registry.type.util.BanTypeRegistryModule) ChatTypeRegistryModule(org.lanternpowered.server.game.registry.type.text.ChatTypeRegistryModule) SoundCategoryRegistryModule(org.lanternpowered.server.game.registry.type.effect.SoundCategoryRegistryModule) QueryOperationType(org.spongepowered.api.item.inventory.query.QueryOperationType) QueryOperationRegistryModule(org.lanternpowered.server.game.registry.type.item.inventory.QueryOperationRegistryModule) LanternEntityHealingSourceBuilder(org.lanternpowered.server.cause.entity.healing.source.LanternEntityHealingSourceBuilder) LanternFilteredTriggerBuilder(org.lanternpowered.server.advancement.criteria.trigger.LanternFilteredTriggerBuilder) LanternIngredientBuilder(org.lanternpowered.server.item.recipe.LanternIngredientBuilder) LanternVirtualBiomeTypeBuilder(org.lanternpowered.server.world.biome.LanternVirtualBiomeTypeBuilder) LanternSoundTypeBuilder(org.lanternpowered.server.effect.sound.LanternSoundTypeBuilder) LanternCriterionBuilder(org.lanternpowered.server.advancement.criteria.LanternCriterionBuilder) BanBuilder(org.lanternpowered.server.config.user.ban.BanBuilder) LanternEntityDamageSourceBuilder(org.lanternpowered.server.cause.entity.damage.source.LanternEntityDamageSourceBuilder) LanternScoreboardBuilder(org.lanternpowered.server.scoreboard.LanternScoreboardBuilder) LanternWorldArchetypeBuilder(org.lanternpowered.server.world.LanternWorldArchetypeBuilder) LanternInventoryArchetypeBuilder(org.lanternpowered.server.inventory.LanternInventoryArchetypeBuilder) LanternObjectiveBuilder(org.lanternpowered.server.scoreboard.LanternObjectiveBuilder) LanternKeyBuilder(org.lanternpowered.server.data.key.LanternKeyBuilder) LanternAdvancementTreeBuilder(org.lanternpowered.server.advancement.LanternAdvancementTreeBuilder) LanternTeamBuilder(org.lanternpowered.server.scoreboard.LanternTeamBuilder) ResettableBuilder(org.spongepowered.api.util.ResettableBuilder) LanternAdvancementBuilder(org.lanternpowered.server.advancement.LanternAdvancementBuilder) LanternBiomeGenerationSettingsBuilder(org.lanternpowered.server.world.biome.LanternBiomeGenerationSettingsBuilder) LanternWorldBorderBuilder(org.lanternpowered.server.world.LanternWorldBorderBuilder) LanternEventContextKeyBuilder(org.lanternpowered.server.event.LanternEventContextKeyBuilder) LanternBlockStateBuilder(org.lanternpowered.server.block.LanternBlockStateBuilder) LanternTaskBuilder(org.lanternpowered.server.scheduler.LanternTaskBuilder) LanternInventoryBuilder(org.lanternpowered.server.inventory.LanternInventoryBuilder) LanternBlockSnapshotBuilder(org.lanternpowered.server.block.LanternBlockSnapshotBuilder) LanternDamageSourceBuilder(org.lanternpowered.server.cause.entity.damage.source.LanternDamageSourceBuilder) EntityStatisticBuilder(org.lanternpowered.server.statistic.builder.EntityStatisticBuilder) BlockSnapshotBuilder(org.lanternpowered.server.block.BlockSnapshotBuilder) LanternFireworkEffectBuilder(org.lanternpowered.server.item.firework.LanternFireworkEffectBuilder) LanternShapelessCraftingRecipeBuilder(org.lanternpowered.server.item.recipe.crafting.LanternShapelessCraftingRecipeBuilder) LanternFallingBlockDamageSourceBuilder(org.lanternpowered.server.cause.entity.damage.source.LanternFallingBlockDamageSourceBuilder) LanternHealingSourceBuilder(org.lanternpowered.server.cause.entity.healing.source.LanternHealingSourceBuilder) LanternSelectorBuilder(org.lanternpowered.server.text.selector.LanternSelectorBuilder) LanternFluidStackSnapshotBuilder(org.lanternpowered.server.fluid.LanternFluidStackSnapshotBuilder) LanternEnchantmentBuilder(org.lanternpowered.server.item.enchantment.LanternEnchantmentBuilder) LanternIndirectEntityDamageSourceBuilder(org.lanternpowered.server.cause.entity.damage.source.LanternIndirectEntityDamageSourceBuilder) LanternDisplayInfoBuilder(org.lanternpowered.server.advancement.LanternDisplayInfoBuilder) LanternBlockDamageSourceBuilder(org.lanternpowered.server.cause.entity.damage.source.LanternBlockDamageSourceBuilder) LanternParticleEffectBuilder(org.lanternpowered.server.effect.particle.LanternParticleEffectBuilder) StatisticBuilder(org.lanternpowered.server.statistic.builder.StatisticBuilder) ItemStatisticBuilder(org.lanternpowered.server.statistic.builder.ItemStatisticBuilder) LanternAttributeBuilder(org.lanternpowered.server.attribute.LanternAttributeBuilder) LanternBossBarBuilder(org.lanternpowered.server.boss.LanternBossBarBuilder) LanternFluidStackBuilder(org.lanternpowered.server.fluid.LanternFluidStackBuilder) LanternTabListEntryBuilder(org.lanternpowered.server.entity.living.player.tab.LanternTabListEntryBuilder) BlockStatisticBuilder(org.lanternpowered.server.statistic.builder.BlockStatisticBuilder) LanternItemStackBuilder(org.lanternpowered.server.inventory.LanternItemStackBuilder) LanternFuelBuilder(org.lanternpowered.server.item.recipe.fuel.LanternFuelBuilder) LanternScoreCriterionBuilder(org.lanternpowered.server.advancement.criteria.LanternScoreCriterionBuilder) LanternShapedCraftingRecipeBuilder(org.lanternpowered.server.item.recipe.crafting.LanternShapedCraftingRecipeBuilder) LanternTriggerBuilder(org.lanternpowered.server.advancement.criteria.trigger.LanternTriggerBuilder) LanternDataRegistrationBuilder(org.lanternpowered.server.data.LanternDataRegistrationBuilder) LanternSmeltingRecipeBuilder(org.lanternpowered.server.item.recipe.smelting.LanternSmeltingRecipeBuilder) LanternPotionEffectBuilder(org.lanternpowered.server.effect.potion.LanternPotionEffectBuilder) TeleportTypeRegistryModule(org.lanternpowered.server.game.registry.type.cause.TeleportTypeRegistryModule) LanternLogAxis(org.lanternpowered.server.data.type.LanternLogAxis) WorldGeneratorModifier(org.spongepowered.api.world.gen.WorldGeneratorModifier) Accessory(org.lanternpowered.server.extra.accessory.Accessory) Trigger(org.spongepowered.api.advancement.criteria.trigger.Trigger) FilteredTrigger(org.spongepowered.api.advancement.criteria.trigger.FilteredTrigger) LanternFilteredTriggerBuilder(org.lanternpowered.server.advancement.criteria.trigger.LanternFilteredTriggerBuilder) LanternSelectorBuilder(org.lanternpowered.server.text.selector.LanternSelectorBuilder) BlockStatisticBuilder(org.lanternpowered.server.statistic.builder.BlockStatisticBuilder) LanternShapedCraftingRecipeBuilder(org.lanternpowered.server.item.recipe.crafting.LanternShapedCraftingRecipeBuilder) FireworkShape(org.spongepowered.api.item.FireworkShape) BrickType(org.spongepowered.api.data.type.BrickType) LanternBrickType(org.lanternpowered.server.data.type.LanternBrickType) TileEntityType(org.spongepowered.api.block.tileentity.TileEntityType) EntityType(org.spongepowered.api.entity.EntityType) HandPreference(org.spongepowered.api.data.type.HandPreference) LanternFuelBuilder(org.lanternpowered.server.item.recipe.fuel.LanternFuelBuilder) LanternBrickType(org.lanternpowered.server.data.type.LanternBrickType) IFuel(org.lanternpowered.server.item.recipe.fuel.IFuel) LanternTaskBuilder(org.lanternpowered.server.scheduler.LanternTaskBuilder) ConditionType(org.lanternpowered.api.script.function.condition.ConditionType) ArmorTypeRegistryModule(org.lanternpowered.server.game.registry.type.data.ArmorTypeRegistryModule) EntityStatisticBuilder(org.lanternpowered.server.statistic.builder.EntityStatisticBuilder) VirtualBiomeType(org.spongepowered.api.world.biome.VirtualBiomeType) HealingTypeRegistryModule(org.lanternpowered.server.game.registry.type.cause.HealingTypeRegistryModule) AdvancementTree(org.spongepowered.api.advancement.AdvancementTree) RecordType(org.spongepowered.api.effect.sound.record.RecordType) LanternEventContextKeyBuilder(org.lanternpowered.server.event.LanternEventContextKeyBuilder) BossBarColor(org.spongepowered.api.boss.BossBarColor) InventoryArchetypeRegistryModule(org.lanternpowered.server.game.registry.type.item.inventory.InventoryArchetypeRegistryModule) WorldBorder(org.spongepowered.api.world.WorldBorder) SmeltingRecipe(org.spongepowered.api.item.recipe.smelting.SmeltingRecipe) ISmeltingRecipe(org.lanternpowered.server.item.recipe.smelting.ISmeltingRecipe) LanternFireworkEffectBuilder(org.lanternpowered.server.item.firework.LanternFireworkEffectBuilder) GoldenApple(org.spongepowered.api.data.type.GoldenApple) LanternWallType(org.lanternpowered.server.data.type.LanternWallType) ObjectiveDisplayMode(org.spongepowered.api.scoreboard.objective.displaymode.ObjectiveDisplayMode) BrickTypes(org.spongepowered.api.data.type.BrickTypes) FallingBlockDamageSource(org.spongepowered.api.event.cause.entity.damage.source.FallingBlockDamageSource) EntityDamageSource(org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource) IndirectEntityDamageSource(org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource) DamageSource(org.spongepowered.api.event.cause.entity.damage.source.DamageSource) BlockDamageSource(org.spongepowered.api.event.cause.entity.damage.source.BlockDamageSource) LogAxes(org.spongepowered.api.data.type.LogAxes) WorldArchetypeRegistryModule(org.lanternpowered.server.game.registry.type.world.WorldArchetypeRegistryModule) TextSerializersRegistryModule(org.lanternpowered.server.game.registry.type.text.TextSerializersRegistryModule) Ban(org.spongepowered.api.util.ban.Ban) Weather(org.spongepowered.api.world.weather.Weather) ItemStackComparatorRegistryModule(org.lanternpowered.server.game.registry.type.item.ItemStackComparatorRegistryModule) LanternPistonType(org.lanternpowered.server.data.type.LanternPistonType) LanternDoublePlantType(org.lanternpowered.server.data.type.LanternDoublePlantType) PlantType(org.spongepowered.api.data.type.PlantType) DoublePlantType(org.spongepowered.api.data.type.DoublePlantType) DisplaySlotRegistryModule(org.lanternpowered.server.game.registry.type.scoreboard.DisplaySlotRegistryModule) LanternDoublePlantType(org.lanternpowered.server.data.type.LanternDoublePlantType) DoublePlantType(org.spongepowered.api.data.type.DoublePlantType) DismountTypeRegistryModule(org.lanternpowered.server.game.registry.type.cause.DismountTypeRegistryModule)

Aggregations

Parameter (org.lanternpowered.api.script.context.Parameter)1 ConditionType (org.lanternpowered.api.script.function.condition.ConditionType)1 FloatValueProviderType (org.lanternpowered.api.script.function.value.FloatValueProviderType)1 LanternAdvancementBuilder (org.lanternpowered.server.advancement.LanternAdvancementBuilder)1 LanternAdvancementTreeBuilder (org.lanternpowered.server.advancement.LanternAdvancementTreeBuilder)1 LanternDisplayInfoBuilder (org.lanternpowered.server.advancement.LanternDisplayInfoBuilder)1 LanternCriterionBuilder (org.lanternpowered.server.advancement.criteria.LanternCriterionBuilder)1 LanternScoreCriterionBuilder (org.lanternpowered.server.advancement.criteria.LanternScoreCriterionBuilder)1 LanternFilteredTriggerBuilder (org.lanternpowered.server.advancement.criteria.trigger.LanternFilteredTriggerBuilder)1 LanternTriggerBuilder (org.lanternpowered.server.advancement.criteria.trigger.LanternTriggerBuilder)1 LanternAttribute (org.lanternpowered.server.attribute.LanternAttribute)1 LanternAttributeBuilder (org.lanternpowered.server.attribute.LanternAttributeBuilder)1 BlockSnapshotBuilder (org.lanternpowered.server.block.BlockSnapshotBuilder)1 LanternBlockSnapshotBuilder (org.lanternpowered.server.block.LanternBlockSnapshotBuilder)1 LanternBlockStateBuilder (org.lanternpowered.server.block.LanternBlockStateBuilder)1 LanternBossBarBuilder (org.lanternpowered.server.boss.LanternBossBarBuilder)1 LanternBlockDamageSourceBuilder (org.lanternpowered.server.cause.entity.damage.source.LanternBlockDamageSourceBuilder)1 LanternDamageSourceBuilder (org.lanternpowered.server.cause.entity.damage.source.LanternDamageSourceBuilder)1 LanternEntityDamageSourceBuilder (org.lanternpowered.server.cause.entity.damage.source.LanternEntityDamageSourceBuilder)1 LanternFallingBlockDamageSourceBuilder (org.lanternpowered.server.cause.entity.damage.source.LanternFallingBlockDamageSourceBuilder)1