Search in sources :

Example 1 with TextConfigSerializer

use of org.spongepowered.api.text.serializer.TextConfigSerializer in project SpongeCommon by SpongePowered.

the class DataRegistrar method setupSerialization.

@SuppressWarnings("unchecked")
public static void setupSerialization() {
    SpongeDataManager dataManager = SpongeDataManager.getInstance();
    // TileEntities
    dataManager.registerBuilder(Banner.class, new SpongeBannerBuilder());
    dataManager.registerBuilder(PatternLayer.class, new SpongePatternLayerBuilder());
    dataManager.registerBuilder(BrewingStand.class, new SpongeBrewingStandBuilder());
    dataManager.registerBuilder(Chest.class, new SpongeChestBuilder());
    dataManager.registerBuilder(CommandBlock.class, new SpongeCommandBlockBuilder());
    dataManager.registerBuilder(Comparator.class, new SpongeComparatorBuilder());
    dataManager.registerBuilder(DaylightDetector.class, new SpongeDaylightBuilder());
    dataManager.registerBuilder(Dispenser.class, new SpongeDispenserBuilder());
    dataManager.registerBuilder(Dropper.class, new SpongeDropperBuilder());
    dataManager.registerBuilder(EnchantmentTable.class, new SpongeEnchantmentTableBuilder());
    dataManager.registerBuilder(EnderChest.class, new SpongeEnderChestBuilder());
    dataManager.registerBuilder(EndPortal.class, new SpongeEndPortalBuilder());
    dataManager.registerBuilder(Furnace.class, new SpongeFurnaceBuilder());
    dataManager.registerBuilder(Hopper.class, new SpongeHopperBuilder());
    dataManager.registerBuilder(MobSpawner.class, new SpongeMobSpawnerBuilder());
    dataManager.registerBuilder(Note.class, new SpongeNoteBuilder());
    dataManager.registerBuilder(Sign.class, new SpongeSignBuilder());
    dataManager.registerBuilder(Skull.class, new SpongeSkullBuilder());
    dataManager.registerBuilder(Beacon.class, new SpongeBeaconBuilder());
    dataManager.registerBuilder(LocatableBlock.class, new SpongeLocatableBlockBuilder());
    // Block stuff
    dataManager.registerBuilder(BlockSnapshot.class, new SpongeBlockSnapshotBuilder());
    dataManager.registerBuilder(BlockState.class, new SpongeBlockStateBuilder());
    dataManager.registerBuilderAndImpl(ImmutableTreeData.class, ImmutableSpongeTreeData.class, new ImmutableSpongeTreeDataBuilder());
    // Entity stuff
    dataManager.registerBuilder(EntitySnapshot.class, new SpongeEntitySnapshotBuilder());
    // ItemStack stuff
    dataManager.registerBuilder(ItemStack.class, new SpongeItemStackBuilder());
    dataManager.registerBuilder(ItemStackSnapshot.class, new SpongeItemStackSnapshotBuilder());
    dataManager.registerBuilder(Enchantment.class, new SpongeEnchantmentBuilder());
    dataManager.registerBuilderAndImpl(ImmutableEnchantmentData.class, ImmutableSpongeEnchantmentData.class, new ImmutableItemEnchantmentDataBuilder());
    dataManager.registerBuilder(FireworkEffect.class, new SpongeFireworkEffectDataBuilder());
    // Text stuff
    dataManager.registerBuilder(Text.class, new TextConfigSerializer());
    dataManager.registerBuilder(BookView.class, new BookViewDataBuilder());
    // Effects stuff
    dataManager.registerBuilder(ParticleEffect.class, new SpongeParticleEffectBuilder());
    // Util stuff
    dataManager.registerBuilder(VariableAmount.BaseAndAddition.class, new BaseAndAdditionBuilder());
    dataManager.registerBuilder(VariableAmount.BaseAndVariance.class, new BaseAndVarianceBuilder());
    dataManager.registerBuilder(VariableAmount.Fixed.class, new FixedBuilder());
    dataManager.registerBuilder(VariableAmount.OptionalAmount.class, new OptionalVarianceBuilder());
    dataManager.registerBuilder((Class<Location<World>>) (Class<?>) Location.class, new LocationBuilder());
    dataManager.registerBuilder(SpongePlayerData.class, new SpongePlayerData.Builder());
    dataManager.registerBuilder(GameProfile.class, new SpongeGameProfileBuilder());
    // Content Updaters
    dataManager.registerContentUpdater(BlockState.class, new SpongeBlockStateMetaContentUpdater());
    final InvisibilityDataAddVanishUpdater invisibilityUpdater = new InvisibilityDataAddVanishUpdater();
    dataManager.registerContentUpdater(InvisibilityData.class, invisibilityUpdater);
    dataManager.registerContentUpdater(ImmutableInvisibilityData.class, invisibilityUpdater);
    dataManager.registerContentUpdater(SpongeInvisibilityData.class, invisibilityUpdater);
    dataManager.registerContentUpdater(ImmutableSpongeInvisibilityData.class, invisibilityUpdater);
    final PotionEffectContentUpdater potionUpdater = new PotionEffectContentUpdater();
    dataManager.registerContentUpdater(PotionEffect.class, potionUpdater);
    dataManager.registerContentUpdater(PotionEffectData.class, potionUpdater);
    dataManager.registerContentUpdater(ImmutablePotionEffectData.class, potionUpdater);
    dataManager.registerContentUpdater(SpongePotionEffectData.class, potionUpdater);
    dataManager.registerContentUpdater(ImmutableSpongePotionEffectData.class, potionUpdater);
    // Content Updaters for Custom Data
    dataManager.registerContentUpdater(DataManipulator.class, new LegacyCustomDataClassContentUpdater());
    // Data Manipulators
    DataUtil.registerDataProcessorAndImpl(DisplayNameData.class, SpongeDisplayNameData.class, ImmutableDisplayNameData.class, ImmutableSpongeDisplayNameData.class, new DisplayNameDataProcessor());
    // Entity Processors
    DataUtil.registerDataProcessorAndImpl(ArmorStandData.class, SpongeArmorStandData.class, ImmutableArmorStandData.class, ImmutableSpongeArmorStandData.class, new ArmorStandDataProcessor());
    DataUtil.registerDataProcessorAndImpl(InvulnerabilityData.class, SpongeInvulnerabilityData.class, ImmutableInvulnerabilityData.class, ImmutableSpongeInvulnerabilityData.class, new InvulnerabilityDataProcessor());
    DataUtil.registerDataProcessorAndImpl(DamageableData.class, SpongeDamageableData.class, ImmutableDamageableData.class, ImmutableSpongeDamageableData.class, new DamageableDataProcessor());
    DataUtil.registerDataProcessorAndImpl(FuseData.class, SpongeFuseData.class, ImmutableFuseData.class, ImmutableSpongeFuseData.class, new FuseDataProcessor());
    DataUtil.registerDualProcessor(ExplosionRadiusData.class, SpongeExplosionRadiusData.class, ImmutableExplosionRadiusData.class, ImmutableSpongeExplosionRadiusData.class, new ExplosionRadiusDataProcessor());
    DataUtil.registerDualProcessor(FireworkEffectData.class, SpongeFireworkEffectData.class, ImmutableFireworkEffectData.class, ImmutableSpongeFireworkEffectData.class, new FireworkEffectDataProcessor());
    DataUtil.registerDualProcessor(FireworkRocketData.class, SpongeFireworkRocketData.class, ImmutableFireworkRocketData.class, ImmutableSpongeFireworkRocketData.class, new FireworkRocketDataProcessor());
    DataUtil.registerDataProcessorAndImpl(HealthData.class, SpongeHealthData.class, ImmutableHealthData.class, ImmutableSpongeHealthData.class, new HealthDataProcessor());
    DataUtil.registerDataProcessorAndImpl(AgeableData.class, SpongeAgeableData.class, ImmutableAgeableData.class, ImmutableSpongeAgeableData.class, new AgeableDataProcessor());
    DataUtil.registerDataProcessorAndImpl(AgeableData.class, SpongeAgeableData.class, ImmutableAgeableData.class, ImmutableSpongeAgeableData.class, new ZombieAgeableDataProcessor());
    DataUtil.registerDataProcessorAndImpl(IgniteableData.class, SpongeIgniteableData.class, ImmutableIgniteableData.class, ImmutableSpongeIgniteableData.class, new IgniteableDataProcessor());
    DataUtil.registerDualProcessor(VelocityData.class, SpongeVelocityData.class, ImmutableVelocityData.class, ImmutableSpongeVelocityData.class, new VelocityDataProcessor());
    DataUtil.registerDataProcessorAndImpl(FoodData.class, SpongeFoodData.class, ImmutableFoodData.class, ImmutableSpongeFoodData.class, new FoodDataProcessor());
    DataUtil.registerDataProcessorAndImpl(BreathingData.class, SpongeBreathingData.class, ImmutableBreathingData.class, ImmutableSpongeBreathingData.class, new BreathingDataProcessor());
    DataUtil.registerDualProcessor(ScreamingData.class, SpongeScreamingData.class, ImmutableScreamingData.class, ImmutableSpongeScreamingData.class, new ScreamingDataProcessor());
    DataUtil.registerDualProcessor(SilentData.class, SpongeSilentData.class, ImmutableSilentData.class, ImmutableSpongeSilentData.class, new SilentDataProcessor());
    DataUtil.registerDualProcessor(RepresentedItemData.class, SpongeRepresentedItemData.class, ImmutableRepresentedItemData.class, ImmutableSpongeRepresentedItemData.class, new RepresentedItemDataProcessor());
    DataUtil.registerDataProcessorAndImpl(HorseData.class, SpongeHorseData.class, ImmutableHorseData.class, ImmutableSpongeHorseData.class, new HorseDataProcessor());
    DataUtil.registerDualProcessor(SneakingData.class, SpongeSneakingData.class, ImmutableSneakingData.class, ImmutableSpongeSneakingData.class, new SneakingDataProcessor());
    DataUtil.registerDataProcessorAndImpl(ExperienceHolderData.class, SpongeExperienceHolderData.class, ImmutableExperienceHolderData.class, ImmutableSpongeExperienceHolderData.class, new ExperienceHolderDataProcessor());
    DataUtil.registerDataProcessorAndImpl(MovementSpeedData.class, SpongeMovementSpeedData.class, ImmutableMovementSpeedData.class, ImmutableSpongeMovementSpeedData.class, new MovementSpeedDataProcessor());
    DataUtil.registerDualProcessor(SlimeData.class, SpongeSlimeData.class, ImmutableSlimeData.class, ImmutableSpongeSlimeData.class, new SlimeDataProcessor());
    DataUtil.registerDualProcessor(PlayingData.class, SpongePlayingData.class, ImmutablePlayingData.class, ImmutableSpongePlayingData.class, new PlayingDataProcessor());
    DataUtil.registerDualProcessor(SittingData.class, SpongeSittingData.class, ImmutableSittingData.class, ImmutableSpongeSittingData.class, new SittingDataProcessor());
    DataUtil.registerDualProcessor(JohnnyData.class, SpongeJohnnyData.class, ImmutableJohnnyData.class, ImmutableSpongeJohnnyData.class, new JohnnyDataProcessor());
    DataUtil.registerDualProcessor(ShearedData.class, SpongeShearedData.class, ImmutableShearedData.class, ImmutableSpongeShearedData.class, new ShearedDataProcessor());
    DataUtil.registerDualProcessor(PigSaddleData.class, SpongePigSaddleData.class, ImmutablePigSaddleData.class, ImmutableSpongePigSaddleData.class, new PigSaddleDataProcessor());
    DataUtil.registerDualProcessor(TameableData.class, SpongeTameableData.class, ImmutableTameableData.class, ImmutableSpongeTameableData.class, new TameableDataProcessor());
    DataUtil.registerDualProcessor(TameableData.class, SpongeTameableData.class, ImmutableTameableData.class, ImmutableSpongeTameableData.class, new HorseTameableDataProcessor());
    DataUtil.registerDualProcessor(WetData.class, SpongeWetData.class, ImmutableWetData.class, ImmutableSpongeWetData.class, new WolfWetDataProcessor());
    DataUtil.registerDualProcessor(AgentData.class, SpongeAgentData.class, ImmutableAgentData.class, ImmutableSpongeAgentData.class, new AgentDataProcessor());
    DataUtil.registerDualProcessor(ChargedData.class, SpongeChargedData.class, ImmutableChargedData.class, ImmutableSpongeChargedData.class, new ChargedDataProcessor());
    DataUtil.registerDualProcessor(FallDistanceData.class, SpongeFallDistanceData.class, ImmutableFallDistanceData.class, ImmutableSpongeFallDistanceData.class, new FallDistanceDataProcessor());
    DataUtil.registerDataProcessorAndImpl(VehicleData.class, SpongeVehicleData.class, ImmutableVehicleData.class, ImmutableSpongeVehicleData.class, new VehicleDataProcessor());
    DataUtil.registerDualProcessor(TreeData.class, SpongeTreeData.class, ImmutableTreeData.class, ImmutableSpongeTreeData.class, new BoatTreeTypeValueProcessor());
    DataUtil.registerDualProcessor(PassengerData.class, SpongePassengerData.class, ImmutablePassengerData.class, ImmutableSpongePassengerData.class, new PassengerDataProcessor());
    DataUtil.registerDataProcessorAndImpl(MinecartBlockData.class, SpongeMinecartBlockData.class, ImmutableMinecartBlockData.class, ImmutableSpongeMinecartBlockData.class, new MinecartBlockDataProcessor());
    DataUtil.registerDualProcessor(PlayerCreatedData.class, SpongePlayerCreatedData.class, ImmutablePlayerCreatedData.class, ImmutableSpongePlayerCreatedData.class, new PlayerCreatedDataProcessor());
    DataUtil.registerDataProcessorAndImpl(InvisibilityData.class, SpongeInvisibilityData.class, ImmutableInvisibilityData.class, ImmutableSpongeInvisibilityData.class, new InvisibilityDataProcessor());
    DataUtil.registerDataProcessorAndImpl(FallingBlockData.class, SpongeFallingBlockData.class, ImmutableFallingBlockData.class, ImmutableSpongeFallingBlockData.class, new FallingBlockDataProcessor());
    DataUtil.registerDualProcessor(RabbitData.class, SpongeRabbitData.class, ImmutableRabbitData.class, ImmutableSpongeRabbitData.class, new RabbitDataProcessor());
    DataUtil.registerDualProcessor(RespawnLocationData.class, SpongeRespawnLocationData.class, ImmutableRespawnLocation.class, ImmutableSpongeRespawnLocation.class, new RespawnLocationDataProcessor());
    DataUtil.registerDataProcessorAndImpl(CommandData.class, SpongeCommandData.class, ImmutableCommandData.class, ImmutableSpongeCommandData.class, new EntityCommandDataProcessor());
    DataUtil.registerDualProcessor(ExpirableData.class, SpongeExpirableData.class, ImmutableExpirableData.class, ImmutableSpongeExpirableData.class, new EndermiteExpirableDataProcessor());
    DataUtil.registerDualProcessor(ArtData.class, SpongeArtData.class, ImmutableArtData.class, ImmutableSpongeArtData.class, new ArtDataProcessor());
    DataUtil.registerDualProcessor(CareerData.class, SpongeCareerData.class, ImmutableCareerData.class, ImmutableSpongeCareerData.class, new CareerDataProcessor());
    DataUtil.registerDualProcessor(SkinData.class, SpongeSkinData.class, ImmutableSkinData.class, ImmutableSpongeSkinData.class, new SkinDataProcessor());
    DataUtil.registerDualProcessor(ExpOrbData.class, SpongeExpOrbData.class, ImmutableExpOrbData.class, ImmutableSpongeExpOrbData.class, new ExpOrbDataProcessor());
    DataUtil.registerDualProcessor(FlyingData.class, SpongeFlyingData.class, ImmutableFlyingData.class, ImmutableSpongeFlyingData.class, new FlyingDataProcessor());
    DataUtil.registerDualProcessor(FlyingAbilityData.class, SpongeFlyingAbilityData.class, ImmutableFlyingAbilityData.class, ImmutableSpongeFlyingAbilityData.class, new FlyingAbilityDataProcessor());
    DataUtil.registerDualProcessor(OcelotData.class, SpongeOcelotData.class, ImmutableOcelotData.class, ImmutableSpongeOcelotData.class, new OcelotDataProcessor());
    DataUtil.registerDualProcessor(GameModeData.class, SpongeGameModeData.class, ImmutableGameModeData.class, ImmutableSpongeGameModeData.class, new GameModeDataProcessor());
    DataUtil.registerDualProcessor(AbsorptionData.class, SpongeAbsorptionData.class, ImmutableAbsorptionData.class, ImmutableSpongeAbsorptionData.class, new AbsorptionDataProcessor());
    DataUtil.registerDualProcessor(AggressiveData.class, SpongeAggressiveData.class, ImmutableAggressiveData.class, ImmutableSpongeAggressiveData.class, new AggressiveDataProcessor());
    DataUtil.registerDualProcessor(AngerableData.class, SpongeAngerableData.class, ImmutableAngerableData.class, ImmutableSpongeAngerableData.class, new AngerableDataProcessor());
    DataUtil.registerDualProcessor(RotationalData.class, SpongeRotationalData.class, ImmutableRotationalData.class, ImmutableSpongeRotationalData.class, new RotationalDataProcessor());
    DataUtil.registerDualProcessor(AffectsSpawningData.class, SpongeAffectsSpawningData.class, ImmutableAffectsSpawningData.class, ImmutableSpongeAffectsSpawningData.class, new AffectsSpawningDataProcessor());
    DataUtil.registerDualProcessor(CriticalHitData.class, SpongeCriticalHitData.class, ImmutableCriticalHitData.class, ImmutableSpongeCriticalHitData.class, new CriticalHitDataProcessor());
    DataUtil.registerDualProcessor(TradeOfferData.class, SpongeTradeOfferData.class, ImmutableTradeOfferData.class, ImmutableSpongeTradeOfferData.class, new TradeOfferDataProcessor());
    DataUtil.registerDualProcessor(KnockbackData.class, SpongeKnockbackData.class, ImmutableKnockbackData.class, ImmutableSpongeKnockbackData.class, new KnockbackDataProcessor());
    DataUtil.registerDualProcessor(FlammableData.class, SpongeFlammableData.class, ImmutableFlammableData.class, ImmutableSpongeFlammableData.class, new BlazeFlammableDataProcessor());
    DataUtil.registerDualProcessor(PersistingData.class, SpongePersistingData.class, ImmutablePersistingData.class, ImmutableSpongePersistingData.class, new PersistingDataProcessor());
    DataUtil.registerDualProcessor(SprintData.class, SpongeSprintData.class, ImmutableSprintData.class, ImmutableSpongeSprintData.class, new SprintDataProcessor());
    DataUtil.registerDualProcessor(StatisticData.class, SpongeStatisticData.class, ImmutableStatisticData.class, ImmutableSpongeStatisticData.class, new StatisticDataProcessor());
    DataUtil.registerDualProcessor(StuckArrowsData.class, SpongeStuckArrowsData.class, ImmutableStuckArrowsData.class, ImmutableSpongeStuckArrowsData.class, new StuckArrowsDataProcessor());
    DataUtil.registerDualProcessor(BreedableData.class, SpongeBreedableData.class, ImmutableBreedableData.class, ImmutableSpongeBreedableData.class, new BreedableDataProcessor());
    DataUtil.registerDataProcessorAndImpl(JoinData.class, SpongeJoinData.class, ImmutableJoinData.class, ImmutableSpongeJoinData.class, new JoinDataProcessor());
    DataUtil.registerDualProcessor(PotionEffectData.class, SpongePotionEffectData.class, ImmutablePotionEffectData.class, ImmutableSpongePotionEffectData.class, new EntityPotionDataProcessor());
    DataUtil.registerDualProcessor(PotionEffectData.class, SpongePotionEffectData.class, ImmutablePotionEffectData.class, ImmutableSpongePotionEffectData.class, new PotionEntityPotionDataProcessor());
    DataUtil.registerDualProcessor(PotionEffectData.class, SpongePotionEffectData.class, ImmutablePotionEffectData.class, ImmutableSpongePotionEffectData.class, new TippedArrowPotionDataProcessor());
    DataUtil.registerDataProcessorAndImpl(BodyPartRotationalData.class, SpongeBodyPartRotationalData.class, ImmutableBodyPartRotationalData.class, ImmutableSpongeBodyPartRotationalData.class, new ArmorStandBodyPartRotationalDataProcessor());
    DataUtil.registerDualProcessor(GriefingData.class, SpongeGriefingData.class, ImmutableGriefingData.class, ImmutableSpongeGriefingData.class, new GriefingDataProcessor());
    DataUtil.registerDualProcessor(TargetedLocationData.class, SpongeTargetedLocationData.class, ImmutableTargetedLocationData.class, ImmutableSpongeTargetedLocationData.class, new EntityTargetedLocationDataProcessor());
    DataUtil.registerDualProcessor(CustomNameVisibleData.class, SpongeCustomNameVisibleData.class, ImmutableCustomNameVisibleData.class, ImmutableSpongeCustomNameVisibleData.class, new CustomNameVisibleProcessor());
    DataUtil.registerDualProcessor(GlowingData.class, SpongeGlowingData.class, ImmutableGlowingData.class, ImmutableSpongeGlowingData.class, new GlowingDataProcessor());
    DataUtil.registerDualProcessor(GravityData.class, SpongeGravityData.class, ImmutableGravityData.class, ImmutableSpongeGravityData.class, new GravityDataProcessor());
    DataUtil.registerDualProcessor(PickupRuleData.class, SpongePickupRuleData.class, ImmutablePickupRuleData.class, ImmutableSpongePickupRuleData.class, new PickupRuleDataProcessor());
    DataUtil.registerDualProcessor(ParrotData.class, SpongeParrotData.class, ImmutableParrotData.class, ImmutableSpongeParrotData.class, new ParrotDataProcessor());
    DataUtil.registerDataProcessorAndImpl(PickupDelayData.class, SpongePickupDelayData.class, ImmutablePickupDelayData.class, ImmutableSpongePickupDelayData.class, new PickupDelayDataProcessor());
    DataUtil.registerDataProcessorAndImpl(DespawnDelayData.class, SpongeDespawnDelayData.class, ImmutableDespawnDelayData.class, ImmutableSpongeDespawnDelayData.class, new DespawnDelayDataProcessor());
    DataUtil.registerDataProcessorAndImpl(AreaEffectCloudData.class, SpongeAreaEffectData.class, ImmutableAreaEffectCloudData.class, ImmutableSpongeAreaEffectCloudData.class, new AreaEffectCloudDataProcessor());
    DataUtil.registerDualProcessor(DyeableData.class, SpongeDyeableData.class, ImmutableDyeableData.class, ImmutableSpongeDyeableData.class, new SheepDyeColorDataProcessor());
    DataUtil.registerDualProcessor(DyeableData.class, SpongeDyeableData.class, ImmutableDyeableData.class, ImmutableSpongeDyeableData.class, new WolfDyeColorDataProcessor());
    // Item Processors
    DataUtil.registerDualProcessor(FireworkEffectData.class, SpongeFireworkEffectData.class, ImmutableFireworkEffectData.class, ImmutableSpongeFireworkEffectData.class, new ItemFireworkEffectDataProcessor());
    DataUtil.registerDualProcessor(FireworkRocketData.class, SpongeFireworkRocketData.class, ImmutableFireworkRocketData.class, ImmutableSpongeFireworkRocketData.class, new ItemFireworkRocketDataProcessor());
    DataUtil.registerDualProcessor(SkullData.class, SpongeSkullData.class, ImmutableSkullData.class, ImmutableSpongeSkullData.class, new ItemSkullDataProcessor());
    DataUtil.registerDualProcessor(SignData.class, SpongeSignData.class, ImmutableSignData.class, ImmutableSpongeSignData.class, new ItemSignDataProcessor());
    DataUtil.registerDualProcessor(WetData.class, SpongeWetData.class, ImmutableWetData.class, ImmutableSpongeWetData.class, new ItemWetDataProcessor());
    DataUtil.registerDualProcessor(ColoredData.class, SpongeColoredData.class, ImmutableColoredData.class, ImmutableSpongeColoredData.class, new ColoredDataProcessor());
    DataUtil.registerDualProcessor(EnchantmentData.class, SpongeEnchantmentData.class, ImmutableEnchantmentData.class, ImmutableSpongeEnchantmentData.class, new ItemEnchantmentDataProcessor());
    DataUtil.registerDualProcessor(LoreData.class, SpongeLoreData.class, ImmutableLoreData.class, ImmutableSpongeLoreData.class, new ItemLoreDataProcessor());
    DataUtil.registerDualProcessor(PagedData.class, SpongePagedData.class, ImmutablePagedData.class, ImmutableSpongePagedData.class, new ItemPagedDataProcessor());
    DataUtil.registerDualProcessor(GoldenAppleData.class, SpongeGoldenAppleData.class, ImmutableGoldenAppleData.class, ImmutableSpongeGoldenAppleData.class, new GoldenAppleDataProcessor());
    DataUtil.registerDualProcessor(AuthorData.class, SpongeAuthorData.class, ImmutableAuthorData.class, ImmutableSpongeAuthorData.class, new ItemAuthorDataProcessor());
    DataUtil.registerDualProcessor(BreakableData.class, SpongeBreakableData.class, ImmutableBreakableData.class, ImmutableSpongeBreakableData.class, new BreakableDataProcessor());
    DataUtil.registerDualProcessor(PlaceableData.class, SpongePlaceableData.class, ImmutablePlaceableData.class, ImmutableSpongePlaceableData.class, new PlaceableDataProcessor());
    DataUtil.registerDualProcessor(CoalData.class, SpongeCoalData.class, ImmutableCoalData.class, ImmutableSpongeCoalData.class, new CoalDataProcessor());
    DataUtil.registerDualProcessor(CookedFishData.class, SpongeCookedFishData.class, ImmutableCookedFishData.class, ImmutableSpongeCookedFishData.class, new CookedFishDataProcessor());
    DataUtil.registerDualProcessor(FishData.class, SpongeFishData.class, ImmutableFishData.class, ImmutableSpongeFishData.class, new FishDataProcessor());
    DataUtil.registerDualProcessor(RepresentedPlayerData.class, SpongeRepresentedPlayerData.class, ImmutableRepresentedPlayerData.class, ImmutableSpongeRepresentedPlayerData.class, new ItemSkullRepresentedPlayerDataProcessor());
    DataUtil.registerDualProcessor(LockableData.class, SpongeLockableData.class, ImmutableLockableData.class, ImmutableSpongeLockableData.class, new ItemLockableDataProcessor());
    DataUtil.registerDataProcessorAndImpl(DurabilityData.class, SpongeDurabilityData.class, ImmutableDurabilityData.class, ImmutableSpongeDurabilityData.class, new DurabilityDataProcessor());
    DataUtil.registerDualProcessor(SpawnableData.class, SpongeSpawnableData.class, ImmutableSpawnableData.class, ImmutableSpongeSpawnableData.class, new SpawnableDataProcessor());
    DataUtil.registerDualProcessor(BlockItemData.class, SpongeBlockItemData.class, ImmutableBlockItemData.class, ImmutableSpongeBlockItemData.class, new BlockItemDataProcessor());
    DataUtil.registerDualProcessor(GenerationData.class, SpongeGenerationData.class, ImmutableGenerationData.class, ImmutableSpongeGenerationData.class, new GenerationDataProcessor());
    DataUtil.registerDualProcessor(StoredEnchantmentData.class, SpongeStoredEnchantmentData.class, ImmutableStoredEnchantmentData.class, ImmutableSpongeStoredEnchantmentData.class, new StoredEnchantmentDataProcessor());
    DataUtil.registerDualProcessor(FluidItemData.class, SpongeFluidItemData.class, ImmutableFluidItemData.class, ImmutableSpongeFluidItemData.class, new FluidItemDataProcessor());
    DataUtil.registerDualProcessor(PotionEffectData.class, SpongePotionEffectData.class, ImmutablePotionEffectData.class, ImmutableSpongePotionEffectData.class, new ItemPotionDataProcessor());
    DataUtil.registerDataProcessorAndImpl(HideData.class, SpongeHideData.class, ImmutableHideData.class, ImmutableSpongeHideData.class, new HideDataProcessor());
    DataUtil.registerDualProcessor(DyeableData.class, SpongeDyeableData.class, ImmutableDyeableData.class, ImmutableSpongeDyeableData.class, new ItemDyeColorDataProcessor());
    // Block Processors
    DataUtil.registerDualProcessor(DirtData.class, SpongeDirtData.class, ImmutableDirtData.class, ImmutableSpongeDirtData.class, new DirtDataProcessor());
    DataUtil.registerDualProcessor(StoneData.class, SpongeStoneData.class, ImmutableStoneData.class, ImmutableSpongeStoneData.class, new StoneDataProcessor());
    DataUtil.registerDualProcessor(PrismarineData.class, SpongePrismarineData.class, ImmutablePrismarineData.class, ImmutableSpongePrismarineData.class, new PrismarineDataProcessor());
    DataUtil.registerDualProcessor(BrickData.class, SpongeBrickData.class, ImmutableBrickData.class, ImmutableSpongeBrickData.class, new BrickDataProcessor());
    DataUtil.registerDualProcessor(QuartzData.class, SpongeQuartzData.class, ImmutableQuartzData.class, ImmutableSpongeQuartzData.class, new QuartzDataProcessor());
    DataUtil.registerDualProcessor(SandData.class, SpongeSandData.class, ImmutableSandData.class, ImmutableSpongeSandData.class, new SandDataProcessor());
    DataUtil.registerDualProcessor(SlabData.class, SpongeSlabData.class, ImmutableSlabData.class, ImmutableSpongeSlabData.class, new SlabDataProcessor());
    DataUtil.registerDualProcessor(SandstoneData.class, SpongeSandstoneData.class, ImmutableSandstoneData.class, ImmutableSpongeSandstoneData.class, new SandstoneDataProcessor());
    DataUtil.registerDualProcessor(ComparatorData.class, SpongeComparatorData.class, ImmutableComparatorData.class, ImmutableSpongeComparatorData.class, new ComparatorDataProcessor());
    DataUtil.registerDualProcessor(TreeData.class, SpongeTreeData.class, ImmutableTreeData.class, ImmutableSpongeTreeData.class, new TreeDataProcessor());
    DataUtil.registerDualProcessor(DisguisedBlockData.class, SpongeDisguisedBlockData.class, ImmutableDisguisedBlockData.class, ImmutableSpongeDisguisedBlockData.class, new DisguisedBlockDataProcessor());
    DataUtil.registerDualProcessor(HingeData.class, SpongeHingeData.class, ImmutableHingeData.class, ImmutableSpongeHingeData.class, new HingeDataProcessor());
    DataUtil.registerDualProcessor(PistonData.class, SpongePistonData.class, ImmutablePistonData.class, ImmutableSpongePistonData.class, new PistonDataProcessor());
    DataUtil.registerDualProcessor(PortionData.class, SpongePortionData.class, ImmutablePortionData.class, ImmutableSpongePortionData.class, new PortionDataProcessor());
    DataUtil.registerDualProcessor(RailDirectionData.class, SpongeRailDirectionData.class, ImmutableRailDirectionData.class, ImmutableSpongeRailDirectionData.class, new RailDirectionDataProcessor());
    DataUtil.registerDualProcessor(StairShapeData.class, SpongeStairShapeData.class, ImmutableStairShapeData.class, ImmutableSpongeStairShapeData.class, new StairShapeDataProcessor());
    DataUtil.registerDualProcessor(WallData.class, SpongeWallData.class, ImmutableWallData.class, ImmutableSpongeWallData.class, new WallDataProcessor());
    DataUtil.registerDualProcessor(ShrubData.class, SpongeShrubData.class, ImmutableShrubData.class, ImmutableSpongeShrubData.class, new ShrubDataProcessor());
    DataUtil.registerDualProcessor(PlantData.class, SpongePlantData.class, ImmutablePlantData.class, ImmutableSpongePlantData.class, new PlantDataProcessor());
    DataUtil.registerDualProcessor(DoublePlantData.class, SpongeDoublePlantData.class, ImmutableDoublePlantData.class, ImmutableSpongeDoublePlantData.class, new DoublePlantDataProcessor());
    DataUtil.registerDualProcessor(BigMushroomData.class, SpongeBigMushroomData.class, ImmutableBigMushroomData.class, ImmutableSpongeBigMushroomData.class, new BigMushroomDataProcessor());
    DataUtil.registerDualProcessor(AttachedData.class, SpongeAttachedData.class, ImmutableAttachedData.class, ImmutableSpongeAttachedData.class, new AttachedDataProcessor());
    DataUtil.registerDataProcessorAndImpl(ConnectedDirectionData.class, SpongeConnectedDirectionData.class, ImmutableConnectedDirectionData.class, ImmutableSpongeConnectedDirectionData.class, new ConnectedDirectionDataProcessor());
    DataUtil.registerDualProcessor(DirectionalData.class, SpongeDirectionalData.class, ImmutableDirectionalData.class, ImmutableSpongeDirectionalData.class, new DirectionalDataProcessor());
    DataUtil.registerDualProcessor(DisarmedData.class, SpongeDisarmedData.class, ImmutableDisarmedData.class, ImmutableSpongeDisarmedData.class, new DisarmedDataProcessor());
    DataUtil.registerDualProcessor(DropData.class, SpongeDropData.class, ImmutableDropData.class, ImmutableSpongeDropData.class, new DropDataProcessor());
    DataUtil.registerDualProcessor(ExtendedData.class, SpongeExtendedData.class, ImmutableExtendedData.class, ImmutableSpongeExtendedData.class, new ExtendedDataProcessor());
    DataUtil.registerDualProcessor(GrowthData.class, SpongeGrowthData.class, ImmutableGrowthData.class, ImmutableSpongeGrowthData.class, new GrowthDataProcessor());
    DataUtil.registerDualProcessor(OpenData.class, SpongeOpenData.class, ImmutableOpenData.class, ImmutableSpongeOpenData.class, new OpenDataProcessor());
    DataUtil.registerDualProcessor(PoweredData.class, SpongePoweredData.class, ImmutablePoweredData.class, ImmutableSpongePoweredData.class, new PoweredDataProcessor());
    DataUtil.registerDualProcessor(RedstonePoweredData.class, SpongeRedstonePoweredData.class, ImmutableRedstonePoweredData.class, ImmutableSpongeRedstonePoweredData.class, new RedstonePoweredDataProcessor());
    DataUtil.registerDualProcessor(SeamlessData.class, SpongeSeamlessData.class, ImmutableSeamlessData.class, ImmutableSpongeSeamlessData.class, new SeamlessDataProcessor());
    DataUtil.registerDualProcessor(SnowedData.class, SpongeSnowedData.class, ImmutableSnowedData.class, ImmutableSpongeSnowedData.class, new SnowedDataProcessor());
    DataUtil.registerDualProcessor(OccupiedData.class, SpongeOccupiedData.class, ImmutableOccupiedData.class, ImmutableSpongeOccupiedData.class, new OccupiedDataProcessor());
    DataUtil.registerDualProcessor(InWallData.class, SpongeInWallData.class, ImmutableInWallData.class, ImmutableSpongeInWallData.class, new InWallDataProcessor());
    DataUtil.registerDualProcessor(LayeredData.class, SpongeLayeredData.class, ImmutableLayeredData.class, ImmutableSpongeLayeredData.class, new LayeredDataProcessor());
    DataUtil.registerDualProcessor(DecayableData.class, SpongeDecayableData.class, ImmutableDecayableData.class, ImmutableSpongeDecayableData.class, new DecayableDataProcessor());
    DataUtil.registerDualProcessor(AxisData.class, SpongeAxisData.class, ImmutableAxisData.class, ImmutableSpongeAxisData.class, new AxisDataProcessor());
    DataUtil.registerDualProcessor(DelayableData.class, SpongeDelayableData.class, ImmutableDelayableData.class, ImmutableSpongeDelayableData.class, new DelayableDataProcessor());
    DataUtil.registerDualProcessor(MoistureData.class, SpongeMoistureData.class, ImmutableMoistureData.class, ImmutableSpongeMoistureData.class, new MoistureDataProcessor());
    // TileEntity Processors
    DataUtil.registerDualProcessor(SkullData.class, SpongeSkullData.class, ImmutableSkullData.class, ImmutableSpongeSkullData.class, new TileEntitySkullDataProcessor());
    DataUtil.registerDualProcessor(RepresentedPlayerData.class, SpongeRepresentedPlayerData.class, ImmutableRepresentedPlayerData.class, ImmutableSpongeRepresentedPlayerData.class, new SkullRepresentedPlayerDataProcessor());
    DataUtil.registerDualProcessor(SignData.class, SpongeSignData.class, ImmutableSignData.class, ImmutableSpongeSignData.class, new TileEntitySignDataProcessor());
    DataUtil.registerDataProcessorAndImpl(FurnaceData.class, SpongeFurnaceData.class, ImmutableFurnaceData.class, ImmutableSpongeFurnaceData.class, new FurnaceDataProcessor());
    DataUtil.registerDualProcessor(BrewingStandData.class, SpongeBrewingStandData.class, ImmutableBrewingStandData.class, ImmutableSpongeBrewingStandData.class, new BrewingStandDataProcessor());
    DataUtil.registerDataProcessorAndImpl(ConnectedDirectionData.class, SpongeConnectedDirectionData.class, ImmutableConnectedDirectionData.class, ImmutableSpongeConnectedDirectionData.class, new TileConnectedDirectionDataProcessor());
    DataUtil.registerDualProcessor(CooldownData.class, SpongeCooldownData.class, ImmutableCooldownData.class, ImmutableSpongeCooldownData.class, new CooldownDataProcessor());
    DataUtil.registerDualProcessor(NoteData.class, SpongeNoteData.class, ImmutableNoteData.class, ImmutableSpongeNoteData.class, new NoteDataProcessor());
    DataUtil.registerDualProcessor(LockableData.class, SpongeLockableData.class, ImmutableLockableData.class, ImmutableSpongeLockableData.class, new TileEntityLockableDataProcessor());
    DataUtil.registerDualProcessor(RepresentedItemData.class, SpongeRepresentedItemData.class, ImmutableRepresentedItemData.class, ImmutableSpongeRepresentedItemData.class, new JukeboxDataProcessor());
    DataUtil.registerDualProcessor(RepresentedItemData.class, SpongeRepresentedItemData.class, ImmutableRepresentedItemData.class, ImmutableSpongeRepresentedItemData.class, new FlowerPotDataProcessor());
    DataUtil.registerDataProcessorAndImpl(BannerData.class, SpongeBannerData.class, ImmutableBannerData.class, ImmutableSpongeBannerData.class, new TileEntityBannerDataProcessor());
    DataUtil.registerDataProcessorAndImpl(BannerData.class, SpongeBannerData.class, ImmutableBannerData.class, ImmutableSpongeBannerData.class, new ShieldBannerDataProcessor());
    DataUtil.registerDataProcessorAndImpl(CommandData.class, SpongeCommandData.class, ImmutableCommandData.class, ImmutableSpongeCommandData.class, new TileEntityCommandDataProcessor());
    DataUtil.registerDualProcessor(DirectionalData.class, SpongeDirectionalData.class, ImmutableDirectionalData.class, ImmutableSpongeDirectionalData.class, new SkullRotationDataProcessor());
    DataUtil.registerDualProcessor(DirectionalData.class, SpongeDirectionalData.class, ImmutableDirectionalData.class, ImmutableSpongeDirectionalData.class, new HangingDataProcessor());
    DataUtil.registerDataProcessorAndImpl(BeaconData.class, SpongeBeaconData.class, ImmutableBeaconData.class, ImmutableSpongeBeaconData.class, new BeaconDataProcessor());
    DataUtil.registerDataProcessorAndImpl(EndGatewayData.class, SpongeEndGatewayData.class, ImmutableEndGatewayData.class, ImmutableSpongeEndGatewayData.class, new EndGatewayDataProcessor());
    DataUtil.registerDataProcessorAndImpl(StructureData.class, SpongeStructureData.class, ImmutableStructureData.class, ImmutableSpongeStructureData.class, new StructureDataProcessor());
    DataUtil.registerDataProcessorAndImpl(MobSpawnerData.class, SpongeMobSpawnerData.class, ImmutableMobSpawnerData.class, ImmutableSpongeMobSpawnerData.class, new MobSpawnerDataProcessor());
    DataUtil.registerDualProcessor(HealthScalingData.class, SpongeHealthScaleData.class, ImmutableHealthScalingData.class, ImmutableSpongeHealthScalingData.class, new HealthScalingProcessor());
    DataUtil.registerDualProcessor(DyeableData.class, SpongeDyeableData.class, ImmutableDyeableData.class, ImmutableSpongeDyeableData.class, new BedDyeColorDataProcessor());
    // Values
    DataUtil.registerValueProcessor(Keys.FUSE_DURATION, new FuseDurationValueProcessor());
    DataUtil.registerValueProcessor(Keys.TICKS_REMAINING, new TicksRemainingValueProcessor());
    DataUtil.registerValueProcessor(Keys.HEALTH, new HealthValueProcessor());
    DataUtil.registerValueProcessor(Keys.MAX_HEALTH, new MaxHealthValueProcessor());
    DataUtil.registerValueProcessor(Keys.FIRE_TICKS, new FireTicksValueProcessor());
    DataUtil.registerValueProcessor(Keys.FIRE_DAMAGE_DELAY, new FireDamageDelayValueProcessor());
    DataUtil.registerValueProcessor(Keys.DISPLAY_NAME, new ItemDisplayNameValueProcessor());
    DataUtil.registerValueProcessor(Keys.DISPLAY_NAME, new TileEntityDisplayNameValueProcessor());
    DataUtil.registerValueProcessor(Keys.DISPLAY_NAME, new EntityDisplayNameValueProcessor());
    DataUtil.registerValueProcessor(Keys.FOOD_LEVEL, new FoodLevelValueProcessor());
    DataUtil.registerValueProcessor(Keys.SATURATION, new FoodSaturationValueProcessor());
    DataUtil.registerValueProcessor(Keys.EXHAUSTION, new FoodExhaustionValueProcessor());
    DataUtil.registerValueProcessor(Keys.MAX_AIR, new MaxAirValueProcessor());
    DataUtil.registerValueProcessor(Keys.REMAINING_AIR, new RemainingAirValueProcessor());
    DataUtil.registerValueProcessor(Keys.HORSE_COLOR, new HorseColorValueProcessor());
    DataUtil.registerValueProcessor(Keys.HORSE_STYLE, new HorseStyleValueProcessor());
    DataUtil.registerValueProcessor(Keys.EXPERIENCE_LEVEL, new ExperienceLevelValueProcessor());
    DataUtil.registerValueProcessor(Keys.TOTAL_EXPERIENCE, new TotalExperienceValueProcessor());
    DataUtil.registerValueProcessor(Keys.EXPERIENCE_SINCE_LEVEL, new ExperienceSinceLevelValueProcessor());
    DataUtil.registerValueProcessor(Keys.EXPERIENCE_FROM_START_OF_LEVEL, new ExperienceFromStartOfLevelValueProcessor());
    DataUtil.registerValueProcessor(Keys.WALKING_SPEED, new WalkingSpeedValueProcessor());
    DataUtil.registerValueProcessor(Keys.FLYING_SPEED, new FlyingSpeedValueProcessor());
    DataUtil.registerValueProcessor(Keys.PASSED_BURN_TIME, new PassedBurnTimeValueProcessor());
    DataUtil.registerValueProcessor(Keys.MAX_BURN_TIME, new MaxBurnTimeValueProcessor());
    DataUtil.registerValueProcessor(Keys.PASSED_COOK_TIME, new PassedCookTimeValueProcessor());
    DataUtil.registerValueProcessor(Keys.MAX_COOK_TIME, new MaxCookTimeValueProcessor());
    DataUtil.registerValueProcessor(Keys.UNBREAKABLE, new UnbreakableValueProcessor());
    DataUtil.registerValueProcessor(Keys.ITEM_DURABILITY, new ItemDurabilityValueProcessor());
    DataUtil.registerValueProcessor(Keys.VEHICLE, new VehicleValueProcessor());
    DataUtil.registerValueProcessor(Keys.BASE_VEHICLE, new BaseVehicleValueProcessor());
    DataUtil.registerValueProcessor(Keys.REPRESENTED_BLOCK, new RepresentedBlockValueProcessor());
    DataUtil.registerValueProcessor(Keys.OFFSET, new OffsetValueProcessor());
    DataUtil.registerValueProcessor(Keys.FALL_DAMAGE_PER_BLOCK, new FallHurtAmountValueProcessor());
    DataUtil.registerValueProcessor(Keys.MAX_FALL_DAMAGE, new MaxFallDamageValueProcessor());
    DataUtil.registerValueProcessor(Keys.FALLING_BLOCK_STATE, new FallingBlockStateValueProcessor());
    DataUtil.registerValueProcessor(Keys.CAN_PLACE_AS_BLOCK, new CanPlaceAsBlockValueProcessor());
    DataUtil.registerValueProcessor(Keys.CAN_DROP_AS_ITEM, new CanDropAsItemValueProcessor());
    DataUtil.registerValueProcessor(Keys.FALL_TIME, new FallTimeValueProcessor());
    DataUtil.registerValueProcessor(Keys.FALLING_BLOCK_CAN_HURT_ENTITIES, new FallingBlockCanHurtEntitiesValueProcessor());
    DataUtil.registerValueProcessor(Keys.CONNECTED_DIRECTIONS, new ConnectedDirectionsValueProcessor());
    DataUtil.registerValueProcessor(Keys.CONNECTED_EAST, new ConnectedEastValueProcessor());
    DataUtil.registerValueProcessor(Keys.CONNECTED_NORTH, new ConnectedNorthValueProcessor());
    DataUtil.registerValueProcessor(Keys.CONNECTED_SOUTH, new ConnectedSouthValueProcessor());
    DataUtil.registerValueProcessor(Keys.CONNECTED_WEST, new ConnectedWestValueProcessor());
    DataUtil.registerValueProcessor(Keys.BANNER_BASE_COLOR, new TileBannerBaseColorValueProcessor());
    DataUtil.registerValueProcessor(Keys.BANNER_PATTERNS, new TileBannerPatternLayersValueProcessor());
    DataUtil.registerValueProcessor(Keys.LAST_COMMAND_OUTPUT, new EntityLastCommandOutputValueProcessor());
    DataUtil.registerValueProcessor(Keys.LAST_COMMAND_OUTPUT, new TileEntityLastCommandOutputValueProcessor());
    DataUtil.registerValueProcessor(Keys.COMMAND, new EntityCommandValueProcessor());
    DataUtil.registerValueProcessor(Keys.COMMAND, new TileEntityCommandValueProcessor());
    DataUtil.registerValueProcessor(Keys.SUCCESS_COUNT, new EntitySuccessCountValueProcessor());
    DataUtil.registerValueProcessor(Keys.SUCCESS_COUNT, new TileEntitySuccessCountValueProcessor());
    DataUtil.registerValueProcessor(Keys.TRACKS_OUTPUT, new EntityTracksOutputValueProcessor());
    DataUtil.registerValueProcessor(Keys.TRACKS_OUTPUT, new TileEntityTracksOutputValueProcessor());
    DataUtil.registerValueProcessor(Keys.INVISIBLE, new InvisibilityValueProcessor());
    DataUtil.registerValueProcessor(Keys.VANISH, new VanishValueProcessor());
    DataUtil.registerValueProcessor(Keys.VANISH_IGNORES_COLLISION, new VanishCollisionValueProcessor());
    DataUtil.registerValueProcessor(Keys.VANISH_PREVENTS_TARGETING, new VanishTargetValueProcessor());
    DataUtil.registerValueProcessor(Keys.FIRST_DATE_PLAYED, new FirstJoinValueProcessor());
    DataUtil.registerValueProcessor(Keys.LAST_DATE_PLAYED, new LastPlayedValueProcessor());
    DataUtil.registerValueProcessor(Keys.HIDE_ENCHANTMENTS, new HideEnchantmentsValueProcessor());
    DataUtil.registerValueProcessor(Keys.HIDE_ATTRIBUTES, new HideAttributesValueProcessor());
    DataUtil.registerValueProcessor(Keys.HIDE_UNBREAKABLE, new HideUnbreakableValueProcessor());
    DataUtil.registerValueProcessor(Keys.HIDE_CAN_DESTROY, new HideCanDestroyValueProcessor());
    DataUtil.registerValueProcessor(Keys.HIDE_CAN_PLACE, new HideCanPlaceValueProcessor());
    DataUtil.registerValueProcessor(Keys.HIDE_MISCELLANEOUS, new HideMiscellaneousValueProcessor());
    DataUtil.registerValueProcessor(Keys.BODY_ROTATIONS, new BodyRotationsValueProcessor());
    DataUtil.registerValueProcessor(Keys.HEAD_ROTATION, new HeadRotationValueProcessor());
    DataUtil.registerValueProcessor(Keys.CHEST_ROTATION, new ChestRotationValueProcessor());
    DataUtil.registerValueProcessor(Keys.LEFT_ARM_ROTATION, new LeftArmRotationValueProcessor());
    DataUtil.registerValueProcessor(Keys.RIGHT_ARM_ROTATION, new RightArmRotationValueProcessor());
    DataUtil.registerValueProcessor(Keys.LEFT_LEG_ROTATION, new LeftLegRotationValueProcessor());
    DataUtil.registerValueProcessor(Keys.RIGHT_LEG_ROTATION, new RightLegRotationValueProcessor());
    DataUtil.registerValueProcessor(Keys.BEACON_PRIMARY_EFFECT, new BeaconPrimaryEffectValueProcessor());
    DataUtil.registerValueProcessor(Keys.BEACON_SECONDARY_EFFECT, new BeaconSecondaryEffectValueProcessor());
    DataUtil.registerValueProcessor(Keys.ARMOR_STAND_HAS_BASE_PLATE, new ArmorStandBasePlateValueProcessor());
    DataUtil.registerValueProcessor(Keys.ARMOR_STAND_MARKER, new ArmorStandMarkerValueProcessor());
    DataUtil.registerValueProcessor(Keys.ARMOR_STAND_IS_SMALL, new ArmorStandSmallValueProcessor());
    DataUtil.registerValueProcessor(Keys.ARMOR_STAND_HAS_ARMS, new ArmorStandArmsValueProcessor());
    DataUtil.registerValueProcessor(Keys.PICKUP_DELAY, new PickupDelayValueProcessor());
    DataUtil.registerValueProcessor(Keys.INFINITE_PICKUP_DELAY, new InfinitePickupDelayValueProcessor());
    DataUtil.registerValueProcessor(Keys.DESPAWN_DELAY, new DespawnDelayValueProcessor());
    DataUtil.registerValueProcessor(Keys.INFINITE_DESPAWN_DELAY, new InfiniteDespawnDelayValueProcessor());
    DataUtil.registerValueProcessor(Keys.SPAWNER_REMAINING_DELAY, new SpawnerRemainingDelayValueProcessor());
    DataUtil.registerValueProcessor(Keys.SPAWNER_MINIMUM_DELAY, new SpawnerMinimumDelayValueProcessor());
    DataUtil.registerValueProcessor(Keys.SPAWNER_MAXIMUM_DELAY, new SpawnerMaximumDelayValueProcessor());
    DataUtil.registerValueProcessor(Keys.SPAWNER_SPAWN_COUNT, new SpawnerSpawnCountValueProcessor());
    DataUtil.registerValueProcessor(Keys.SPAWNER_MAXIMUM_NEARBY_ENTITIES, new SpawnerMaximumNearbyEntitiesValueProcessor());
    DataUtil.registerValueProcessor(Keys.SPAWNER_REQUIRED_PLAYER_RANGE, new SpawnerRequiredPlayerRangeValueProcessor());
    DataUtil.registerValueProcessor(Keys.SPAWNER_SPAWN_RANGE, new SpawnerSpawnRangeValueProcessor());
    DataUtil.registerValueProcessor(Keys.SPAWNER_NEXT_ENTITY_TO_SPAWN, new SpawnerNextEntityToSpawnValueProcessor());
    DataUtil.registerValueProcessor(Keys.SPAWNER_ENTITIES, new SpawnerEntitiesValueProcessor());
    DataUtil.registerValueProcessor(Keys.AREA_EFFECT_CLOUD_COLOR, new AreaEffectCloudColorProcessor());
    DataUtil.registerValueProcessor(Keys.AREA_EFFECT_CLOUD_AGE, new AreaEffectCloudAgeProcessor());
    DataUtil.registerValueProcessor(Keys.AREA_EFFECT_CLOUD_PARTICLE_TYPE, new AreaEffectCloudParticleTypeProcessor());
    DataUtil.registerValueProcessor(Keys.AREA_EFFECT_CLOUD_DURATION, new AreaEffectCloudDurationProcessor());
    DataUtil.registerValueProcessor(Keys.AREA_EFFECT_CLOUD_DURATION_ON_USE, new AreaEffectCloudDurationOnUseProcessor());
    DataUtil.registerValueProcessor(Keys.AREA_EFFECT_CLOUD_RADIUS, new AreaEffectCloudRadiusProcessor());
    DataUtil.registerValueProcessor(Keys.AREA_EFFECT_CLOUD_RADIUS_ON_USE, new AreaEffectCloudRadiusOnUseProcessor());
    DataUtil.registerValueProcessor(Keys.AREA_EFFECT_CLOUD_WAIT_TIME, new AreaEffectCloudWaitTimeProcessor());
    DataUtil.registerValueProcessor(Keys.POTION_EFFECTS, new AreaEffectCloudPotionEffectsProcessor());
    DataUtil.registerValueProcessor(Keys.IS_ADULT, new IsAdultValueProcessor());
    DataUtil.registerValueProcessor(Keys.IS_ADULT, new IsAdultZombieValueProcessor());
    DataUtil.registerValueProcessor(Keys.AGE, new AgeableAgeValueProcessor());
    DataUtil.registerValueProcessor(Keys.INVULNERABILITY_TICKS, new InvulnerabilityTicksValueProcessor());
    DataUtil.registerValueProcessor(Keys.INVULNERABLE, new InvulnerableValueProcessor());
    DataUtil.registerValueProcessor(Keys.LAST_ATTACKER, new LastAttackerValueProcessor());
    DataUtil.registerValueProcessor(Keys.LAST_DAMAGE, new LastDamageValueProcessor());
    // Properties
    final PropertyRegistry propertyRegistry = Sponge.getPropertyRegistry();
    // Blocks
    propertyRegistry.register(BlastResistanceProperty.class, new BlastResistancePropertyStore());
    propertyRegistry.register(FlammableProperty.class, new FlammablePropertyStore());
    propertyRegistry.register(GravityAffectedProperty.class, new GravityAffectedPropertyStore());
    propertyRegistry.register(GroundLuminanceProperty.class, new GroundLuminancePropertyStore());
    propertyRegistry.register(HardnessProperty.class, new HardnessPropertyStore());
    propertyRegistry.register(HeldItemProperty.class, new HeldItemPropertyStore());
    propertyRegistry.register(IndirectlyPoweredProperty.class, new IndirectlyPoweredPropertyStore());
    propertyRegistry.register(LightEmissionProperty.class, new LightEmissionPropertyStore());
    propertyRegistry.register(MatterProperty.class, new MatterPropertyStore());
    propertyRegistry.register(PassableProperty.class, new PassablePropertyStore());
    propertyRegistry.register(PoweredProperty.class, new PoweredPropertyStore());
    propertyRegistry.register(ReplaceableProperty.class, new ReplaceablePropertyStore());
    propertyRegistry.register(SkyLuminanceProperty.class, new SkyLuminancePropertyStore());
    propertyRegistry.register(SolidCubeProperty.class, new SolidCubePropertyStore());
    propertyRegistry.register(StatisticsTrackedProperty.class, new StatisticsTrackedPropertyStore());
    propertyRegistry.register(TemperatureProperty.class, new TemperaturePropertyStore());
    propertyRegistry.register(UnbreakableProperty.class, new UnbreakablePropertyStore());
    propertyRegistry.register(SurrogateBlockProperty.class, new SurrogateBlockPropertyStore());
    propertyRegistry.register(FullBlockSelectionBoxProperty.class, new FullBlockSelectionBoxPropertyStore());
    propertyRegistry.register(InstrumentProperty.class, new InstrumentPropertyStore());
    // Items
    propertyRegistry.register(ApplicableEffectProperty.class, new ApplicableEffectPropertyStore());
    propertyRegistry.register(BurningFuelProperty.class, new BurningFuelPropertyStore());
    propertyRegistry.register(DamageAbsorptionProperty.class, new DamageAbsorptionPropertyStore());
    propertyRegistry.register(EfficiencyProperty.class, new EfficiencyPropertyStore());
    propertyRegistry.register(EquipmentProperty.class, new EquipmentPropertyStore());
    propertyRegistry.register(FoodRestorationProperty.class, new FoodRestorationPropertyStore());
    propertyRegistry.register(HarvestingProperty.class, new HarvestingPropertyStore());
    propertyRegistry.register(SaturationProperty.class, new SaturationPropertyStore());
    propertyRegistry.register(UseLimitProperty.class, new UseLimitPropertyStore());
    propertyRegistry.register(ToolTypeProperty.class, new ToolTypePropertyStore());
    propertyRegistry.register(ArmorTypeProperty.class, new ArmorTypePropertyStore());
    propertyRegistry.register(SmeltableProperty.class, new SmeltablePropertyStore());
    propertyRegistry.register(RecordProperty.class, new RecordPropertyStore());
    // Entities
    propertyRegistry.register(EyeLocationProperty.class, new EyeLocationPropertyStore());
    propertyRegistry.register(EyeHeightProperty.class, new EyeHeightPropertyStore());
}
Also used : BaseAndAdditionBuilder(org.spongepowered.common.data.builder.util.weighted.BaseAndAdditionBuilder) VariableAmount(org.spongepowered.api.util.weighted.VariableAmount) OptionalVarianceBuilder(org.spongepowered.common.data.builder.util.weighted.OptionalVarianceBuilder) ImmutableSpongeTreeDataBuilder(org.spongepowered.common.data.builder.manipulator.immutable.block.ImmutableSpongeTreeDataBuilder) BaseAndVarianceBuilder(org.spongepowered.common.data.builder.util.weighted.BaseAndVarianceBuilder) SpongeBlockSnapshotBuilder(org.spongepowered.common.block.SpongeBlockSnapshotBuilder) SpongeFireworkEffectDataBuilder(org.spongepowered.common.data.builder.item.SpongeFireworkEffectDataBuilder) PropertyRegistry(org.spongepowered.api.data.property.PropertyRegistry) LocationBuilder(org.spongepowered.common.data.builder.world.LocationBuilder) SpongeEntitySnapshotBuilder(org.spongepowered.common.entity.SpongeEntitySnapshotBuilder) SpongeGameProfileBuilder(org.spongepowered.common.data.builder.authlib.SpongeGameProfileBuilder) SpongeItemStackBuilder(org.spongepowered.common.item.inventory.SpongeItemStackBuilder) LegacyCustomDataClassContentUpdater(org.spongepowered.common.data.util.LegacyCustomDataClassContentUpdater) SpongeBlockStateMetaContentUpdater(org.spongepowered.common.data.builder.block.state.SpongeBlockStateMetaContentUpdater) ImmutableItemEnchantmentDataBuilder(org.spongepowered.common.data.builder.manipulator.immutable.item.ImmutableItemEnchantmentDataBuilder) BookViewDataBuilder(org.spongepowered.api.text.serializer.BookViewDataBuilder) InvisibilityDataAddVanishUpdater(org.spongepowered.common.data.builder.manipulator.InvisibilityDataAddVanishUpdater) SpongePlayerData(org.spongepowered.common.world.storage.SpongePlayerData) Location(org.spongepowered.api.world.Location) FluidItemDataProcessor(org.spongepowered.common.data.processor.data.extra.FluidItemDataProcessor) FixedBuilder(org.spongepowered.common.data.builder.util.weighted.FixedBuilder) SpongePatternLayerBuilder(org.spongepowered.common.data.builder.meta.SpongePatternLayerBuilder) SpongeEnchantmentBuilder(org.spongepowered.common.item.enchantment.SpongeEnchantmentBuilder) TextConfigSerializer(org.spongepowered.api.text.serializer.TextConfigSerializer) SpongeBlockStateBuilder(org.spongepowered.common.block.SpongeBlockStateBuilder) SpongeParticleEffectBuilder(org.spongepowered.common.effect.particle.SpongeParticleEffectBuilder) SpongeLocatableBlockBuilder(org.spongepowered.common.world.SpongeLocatableBlockBuilder) PotionEffectContentUpdater(org.spongepowered.common.effect.potion.PotionEffectContentUpdater)

Example 2 with TextConfigSerializer

use of org.spongepowered.api.text.serializer.TextConfigSerializer in project LanternServer by LanternPowered.

the class DataRegistrar method setupRegistrations.

public static void setupRegistrations(LanternGame game) {
    Copyable.register(ImmutableMap.class, map -> map);
    Copyable.register(ImmutableList.class, list -> list);
    Copyable.register(ImmutableSet.class, set -> set);
    Copyable.register(List.class, ArrayList::new);
    Copyable.register(Set.class, HashSet::new);
    Copyable.register(Map.class, HashMap::new);
    final PropertyRegistry propertyRegistry = game.getPropertyRegistry();
    // Block property stores
    propertyRegistry.register(SkyLuminanceProperty.class, new SkyLuminancePropertyStore());
    propertyRegistry.register(GroundLuminanceProperty.class, new GroundLuminancePropertyStore());
    // Entity property stores
    propertyRegistry.register(DominantHandProperty.class, new DominantHandPropertyStore());
    // Item property stores
    propertyRegistry.register(SmeltableProperty.class, new SmeltablePropertyStore());
    propertyRegistry.register(BurningFuelProperty.class, new BurningFuelPropertyStore());
    final LanternDataManager dataManager = game.getDataManager();
    // Register the data type serializers
    DataTypeSerializers.registerSerializers(dataManager);
    // Register the data serializers
    DataTranslators.registerSerializers(dataManager);
    // Register the data builders
    dataManager.registerBuilder(PatternLayer.class, new LanternPatternLayer.Builder(game));
    dataManager.registerBuilder(Text.class, new TextConfigSerializer());
    dataManager.registerBuilder(BookView.class, new BookViewDataBuilder());
    dataManager.registerBuilder(PotionEffect.class, new LanternPotionEffectBuilder());
    dataManager.registerBuilder(RespawnLocation.class, new RespawnLocation.Builder());
    dataManager.registerBuilder(Enchantment.class, new LanternEnchantmentBuilder());
    final LanternValueFactory valueFactory = LanternValueFactory.get();
    valueFactory.registerKey(Keys.CONNECTED_DIRECTIONS).add(builder -> builder.applicableTester(valueContainer -> valueContainer.supports(Keys.CONNECTED_WEST) || valueContainer.supports(Keys.CONNECTED_EAST) || valueContainer.supports(Keys.CONNECTED_NORTH) || valueContainer.supports(Keys.CONNECTED_SOUTH)).retrieveHandler((valueContainer, key) -> {
        final Set<Direction> directions = new HashSet<>();
        if (valueContainer.get(Keys.CONNECTED_WEST).orElse(false)) {
            directions.add(Direction.WEST);
        }
        if (valueContainer.get(Keys.CONNECTED_EAST).orElse(false)) {
            directions.add(Direction.EAST);
        }
        if (valueContainer.get(Keys.CONNECTED_SOUTH).orElse(false)) {
            directions.add(Direction.SOUTH);
        }
        if (valueContainer.get(Keys.CONNECTED_NORTH).orElse(false)) {
            directions.add(Direction.NORTH);
        }
        return Optional.of(directions);
    }).offerHandler((valueContainer, key, directions) -> {
        if (valueContainer instanceof ICompositeValueStore) {
            final ICompositeValueStore store = (ICompositeValueStore) valueContainer;
            final DataTransactionResult.Builder resultBuilder = DataTransactionResult.builder();
            resultBuilder.absorbResult(store.offerNoEvents(Keys.CONNECTED_WEST, directions.contains(Direction.WEST)));
            resultBuilder.absorbResult(store.offerNoEvents(Keys.CONNECTED_EAST, directions.contains(Direction.EAST)));
            resultBuilder.absorbResult(store.offerNoEvents(Keys.CONNECTED_SOUTH, directions.contains(Direction.SOUTH)));
            resultBuilder.absorbResult(store.offerNoEvents(Keys.CONNECTED_NORTH, directions.contains(Direction.NORTH)));
            return resultBuilder.result(DataTransactionResult.Type.SUCCESS).build();
        }
        return DataTransactionResult.successNoData();
    }).failAlwaysRemoveHandler());
    valueFactory.registerKey(Keys.WIRE_ATTACHMENTS).add(builder -> builder.applicableTester(valueContainer -> valueContainer.supports(Keys.WIRE_ATTACHMENT_WEST) || valueContainer.supports(Keys.WIRE_ATTACHMENT_EAST) || valueContainer.supports(Keys.WIRE_ATTACHMENT_NORTH) || valueContainer.supports(Keys.WIRE_ATTACHMENT_SOUTH)).retrieveHandler((valueContainer, key) -> {
        final Map<Direction, WireAttachmentType> attachments = new HashMap<>();
        valueContainer.get(Keys.WIRE_ATTACHMENT_WEST).ifPresent(type -> attachments.put(Direction.WEST, type));
        valueContainer.get(Keys.WIRE_ATTACHMENT_EAST).ifPresent(type -> attachments.put(Direction.EAST, type));
        valueContainer.get(Keys.WIRE_ATTACHMENT_SOUTH).ifPresent(type -> attachments.put(Direction.SOUTH, type));
        valueContainer.get(Keys.WIRE_ATTACHMENT_NORTH).ifPresent(type -> attachments.put(Direction.NORTH, type));
        return Optional.of(attachments);
    }).offerHandler((key, valueContainer, attachments) -> {
        if (valueContainer instanceof ICompositeValueStore) {
            final ICompositeValueStore store = (ICompositeValueStore) valueContainer;
            final DataTransactionResult.Builder resultBuilder = DataTransactionResult.builder();
            WireAttachmentType type = attachments.get(Direction.WEST);
            resultBuilder.absorbResult(store.offerNoEvents(Keys.CONNECTED_WEST, type == null ? WireAttachmentTypes.NONE : type));
            type = attachments.get(Direction.EAST);
            resultBuilder.absorbResult(store.offerNoEvents(Keys.CONNECTED_EAST, type == null ? WireAttachmentTypes.NONE : type));
            type = attachments.get(Direction.SOUTH);
            resultBuilder.absorbResult(store.offerNoEvents(Keys.CONNECTED_SOUTH, type == null ? WireAttachmentTypes.NONE : type));
            type = attachments.get(Direction.NORTH);
            resultBuilder.absorbResult(store.offerNoEvents(Keys.CONNECTED_NORTH, type == null ? WireAttachmentTypes.NONE : type));
            return resultBuilder.result(DataTransactionResult.Type.SUCCESS).build();
        }
        return DataTransactionResult.successNoData();
    }).failAlwaysRemoveHandler());
    valueFactory.registerKey(Keys.BODY_ROTATIONS).add(builder -> builder.applicableTester(valueContainer -> valueContainer.supports(Keys.RIGHT_ARM_ROTATION) || valueContainer.supports(Keys.LEFT_ARM_ROTATION) || valueContainer.supports(Keys.RIGHT_LEG_ROTATION) || valueContainer.supports(Keys.LEFT_LEG_ROTATION) || valueContainer.supports(Keys.HEAD_ROTATION) || valueContainer.supports(Keys.CHEST_ROTATION)).retrieveHandler((valueContainer, key) -> {
        final Map<BodyPart, Vector3d> rotations = new HashMap<>();
        valueContainer.get(Keys.RIGHT_ARM_ROTATION).ifPresent(type -> rotations.put(BodyParts.RIGHT_ARM, type));
        valueContainer.get(Keys.RIGHT_LEG_ROTATION).ifPresent(type -> rotations.put(BodyParts.RIGHT_LEG, type));
        valueContainer.get(Keys.LEFT_ARM_ROTATION).ifPresent(type -> rotations.put(BodyParts.LEFT_ARM, type));
        valueContainer.get(Keys.LEFT_LEG_ROTATION).ifPresent(type -> rotations.put(BodyParts.LEFT_LEG, type));
        valueContainer.get(Keys.HEAD_ROTATION).ifPresent(type -> rotations.put(BodyParts.HEAD, type));
        valueContainer.get(Keys.CHEST_ROTATION).ifPresent(type -> rotations.put(BodyParts.CHEST, type));
        return Optional.of(rotations);
    }).offerHandler((key, valueContainer, rotations) -> {
        if (valueContainer instanceof CompositeValueStore) {
            final ICompositeValueStore store = (ICompositeValueStore) valueContainer;
            final DataTransactionResult.Builder resultBuilder = DataTransactionResult.builder();
            Vector3d rot;
            if ((rot = rotations.get(BodyParts.RIGHT_ARM)) != null) {
                resultBuilder.absorbResult(store.offerNoEvents(Keys.RIGHT_ARM_ROTATION, rot));
            }
            if ((rot = rotations.get(BodyParts.RIGHT_LEG)) != null) {
                resultBuilder.absorbResult(store.offerNoEvents(Keys.RIGHT_LEG_ROTATION, rot));
            }
            if ((rot = rotations.get(BodyParts.LEFT_ARM)) != null) {
                resultBuilder.absorbResult(store.offerNoEvents(Keys.LEFT_ARM_ROTATION, rot));
            }
            if ((rot = rotations.get(BodyParts.LEFT_LEG)) != null) {
                resultBuilder.absorbResult(store.offerNoEvents(Keys.LEFT_LEG_ROTATION, rot));
            }
            if ((rot = rotations.get(BodyParts.HEAD)) != null) {
                resultBuilder.absorbResult(store.offerNoEvents(Keys.HEAD_ROTATION, rot));
            }
            if ((rot = rotations.get(BodyParts.CHEST)) != null) {
                resultBuilder.absorbResult(store.offerNoEvents(Keys.CHEST_ROTATION, rot));
            }
            return resultBuilder.result(DataTransactionResult.Type.SUCCESS).build();
        }
        return DataTransactionResult.successNoData();
    }).failAlwaysRemoveHandler());
    DataManipulatorRegistry.get();
}
Also used : DataManipulatorRegistry(org.lanternpowered.server.data.manipulator.DataManipulatorRegistry) Copyable(org.lanternpowered.server.util.copy.Copyable) SkyLuminanceProperty(org.spongepowered.api.data.property.block.SkyLuminanceProperty) Keys(org.spongepowered.api.data.key.Keys) PropertyRegistry(org.spongepowered.api.data.property.PropertyRegistry) BodyParts(org.spongepowered.api.data.type.BodyParts) Vector3d(com.flowpowered.math.vector.Vector3d) HashMap(java.util.HashMap) LanternValueFactory(org.lanternpowered.server.data.value.LanternValueFactory) DataTransactionResult(org.spongepowered.api.data.DataTransactionResult) GroundLuminanceProperty(org.spongepowered.api.data.property.block.GroundLuminanceProperty) Enchantment(org.spongepowered.api.item.enchantment.Enchantment) ArrayList(java.util.ArrayList) HashSet(java.util.HashSet) BookView(org.spongepowered.api.text.BookView) ImmutableList(com.google.common.collect.ImmutableList) DominantHandPropertyStore(org.lanternpowered.server.data.property.entity.DominantHandPropertyStore) Text(org.spongepowered.api.text.Text) TextConfigSerializer(org.spongepowered.api.text.serializer.TextConfigSerializer) SmeltableProperty(org.spongepowered.api.data.property.item.SmeltableProperty) WireAttachmentTypes(org.spongepowered.api.data.type.WireAttachmentTypes) Map(java.util.Map) PotionEffect(org.spongepowered.api.effect.potion.PotionEffect) PatternLayer(org.spongepowered.api.data.meta.PatternLayer) DataTranslators(org.lanternpowered.server.data.persistence.DataTranslators) WireAttachmentType(org.spongepowered.api.data.type.WireAttachmentType) GroundLuminancePropertyStore(org.lanternpowered.server.data.property.block.GroundLuminancePropertyStore) BookViewDataBuilder(org.spongepowered.api.text.serializer.BookViewDataBuilder) CompositeValueStore(org.spongepowered.api.data.value.mutable.CompositeValueStore) ImmutableSet(com.google.common.collect.ImmutableSet) ImmutableMap(com.google.common.collect.ImmutableMap) BurningFuelPropertyStore(org.lanternpowered.server.data.property.item.BurningFuelPropertyStore) Set(java.util.Set) RespawnLocation(org.spongepowered.api.util.RespawnLocation) LanternGame(org.lanternpowered.server.game.LanternGame) SkyLuminancePropertyStore(org.lanternpowered.server.data.property.block.SkyLuminancePropertyStore) LanternPotionEffectBuilder(org.lanternpowered.server.effect.potion.LanternPotionEffectBuilder) BodyPart(org.spongepowered.api.data.type.BodyPart) Direction(org.spongepowered.api.util.Direction) List(java.util.List) LanternEnchantmentBuilder(org.lanternpowered.server.item.enchantment.LanternEnchantmentBuilder) LanternPatternLayer(org.lanternpowered.server.data.meta.LanternPatternLayer) SmeltablePropertyStore(org.lanternpowered.server.data.property.item.SmeltablePropertyStore) DataTypeSerializers(org.lanternpowered.server.data.persistence.DataTypeSerializers) DominantHandProperty(org.spongepowered.api.data.property.entity.DominantHandProperty) Optional(java.util.Optional) BurningFuelProperty(org.spongepowered.api.data.property.item.BurningFuelProperty) DominantHandPropertyStore(org.lanternpowered.server.data.property.entity.DominantHandPropertyStore) HashSet(java.util.HashSet) ImmutableSet(com.google.common.collect.ImmutableSet) Set(java.util.Set) HashMap(java.util.HashMap) WireAttachmentType(org.spongepowered.api.data.type.WireAttachmentType) BookViewDataBuilder(org.spongepowered.api.text.serializer.BookViewDataBuilder) LanternEnchantmentBuilder(org.lanternpowered.server.item.enchantment.LanternEnchantmentBuilder) ArrayList(java.util.ArrayList) LanternPatternLayer(org.lanternpowered.server.data.meta.LanternPatternLayer) CompositeValueStore(org.spongepowered.api.data.value.mutable.CompositeValueStore) PropertyRegistry(org.spongepowered.api.data.property.PropertyRegistry) HashSet(java.util.HashSet) GroundLuminancePropertyStore(org.lanternpowered.server.data.property.block.GroundLuminancePropertyStore) RespawnLocation(org.spongepowered.api.util.RespawnLocation) TextConfigSerializer(org.spongepowered.api.text.serializer.TextConfigSerializer) SmeltablePropertyStore(org.lanternpowered.server.data.property.item.SmeltablePropertyStore) Vector3d(com.flowpowered.math.vector.Vector3d) BurningFuelPropertyStore(org.lanternpowered.server.data.property.item.BurningFuelPropertyStore) LanternPotionEffectBuilder(org.lanternpowered.server.effect.potion.LanternPotionEffectBuilder) DataTransactionResult(org.spongepowered.api.data.DataTransactionResult) SkyLuminancePropertyStore(org.lanternpowered.server.data.property.block.SkyLuminancePropertyStore) LanternValueFactory(org.lanternpowered.server.data.value.LanternValueFactory) HashMap(java.util.HashMap) Map(java.util.Map) ImmutableMap(com.google.common.collect.ImmutableMap)

Aggregations

PropertyRegistry (org.spongepowered.api.data.property.PropertyRegistry)2 BookViewDataBuilder (org.spongepowered.api.text.serializer.BookViewDataBuilder)2 TextConfigSerializer (org.spongepowered.api.text.serializer.TextConfigSerializer)2 Vector3d (com.flowpowered.math.vector.Vector3d)1 ImmutableList (com.google.common.collect.ImmutableList)1 ImmutableMap (com.google.common.collect.ImmutableMap)1 ImmutableSet (com.google.common.collect.ImmutableSet)1 ArrayList (java.util.ArrayList)1 HashMap (java.util.HashMap)1 HashSet (java.util.HashSet)1 List (java.util.List)1 Map (java.util.Map)1 Optional (java.util.Optional)1 Set (java.util.Set)1 DataManipulatorRegistry (org.lanternpowered.server.data.manipulator.DataManipulatorRegistry)1 LanternPatternLayer (org.lanternpowered.server.data.meta.LanternPatternLayer)1 DataTranslators (org.lanternpowered.server.data.persistence.DataTranslators)1 DataTypeSerializers (org.lanternpowered.server.data.persistence.DataTypeSerializers)1 GroundLuminancePropertyStore (org.lanternpowered.server.data.property.block.GroundLuminancePropertyStore)1 SkyLuminancePropertyStore (org.lanternpowered.server.data.property.block.SkyLuminancePropertyStore)1