Search in sources :

Example 1 with SpongePlayerDataBuilder

use of org.spongepowered.common.world.storage.SpongePlayerDataBuilder in project SpongeCommon by SpongePowered.

the class SpongeDataManager method registerDefaultBuilders.

public void registerDefaultBuilders() {
    this.registerBuilder(ItemStack.class, new SpongeItemStack.BuilderImpl());
    this.registerBuilder(ItemStackSnapshot.class, new SpongeItemStackSnapshotDataBuilder());
    this.registerBuilder(EntitySnapshot.class, new SpongeEntitySnapshotBuilder());
    this.registerBuilder(EntityArchetype.class, SpongeEntityArchetypeBuilder.unpooled());
    this.registerBuilder(SpongePlayerData.class, new SpongePlayerDataBuilder());
    this.registerBuilder(BlockState.class, new SpongeBlockStateBuilder());
    this.registerBuilder(MapDecoration.class, new SpongeMapDecorationDataBuilder());
    this.registerBuilder(MapCanvas.class, new SpongeMapCanvasDataBuilder());
    this.registerBuilder(ServerLocation.class, new SpongeServerLocationBuilder());
    this.registerBuilder(GameProfile.class, new SpongeGameProfileDataBuilder());
    this.registerBuilder(ProfileProperty.class, new SpongeProfilePropertyDataBuilder());
}
Also used : SpongeEntitySnapshotBuilder(org.spongepowered.common.entity.SpongeEntitySnapshotBuilder) SpongePlayerDataBuilder(org.spongepowered.common.world.storage.SpongePlayerDataBuilder) SpongeGameProfileDataBuilder(org.spongepowered.common.profile.SpongeGameProfileDataBuilder) SpongeServerLocationBuilder(org.spongepowered.common.world.server.SpongeServerLocationBuilder) SpongeProfilePropertyDataBuilder(org.spongepowered.common.profile.SpongeProfilePropertyDataBuilder) SpongeMapCanvasDataBuilder(org.spongepowered.common.map.canvas.SpongeMapCanvasDataBuilder) SpongeItemStack(org.spongepowered.common.item.SpongeItemStack) SpongeItemStackSnapshotDataBuilder(org.spongepowered.common.data.builder.item.SpongeItemStackSnapshotDataBuilder) SpongeBlockStateBuilder(org.spongepowered.common.block.SpongeBlockStateBuilder) SpongeMapDecorationDataBuilder(org.spongepowered.common.map.decoration.SpongeMapDecorationDataBuilder)

Aggregations

SpongeBlockStateBuilder (org.spongepowered.common.block.SpongeBlockStateBuilder)1 SpongeItemStackSnapshotDataBuilder (org.spongepowered.common.data.builder.item.SpongeItemStackSnapshotDataBuilder)1 SpongeEntitySnapshotBuilder (org.spongepowered.common.entity.SpongeEntitySnapshotBuilder)1 SpongeItemStack (org.spongepowered.common.item.SpongeItemStack)1 SpongeMapCanvasDataBuilder (org.spongepowered.common.map.canvas.SpongeMapCanvasDataBuilder)1 SpongeMapDecorationDataBuilder (org.spongepowered.common.map.decoration.SpongeMapDecorationDataBuilder)1 SpongeGameProfileDataBuilder (org.spongepowered.common.profile.SpongeGameProfileDataBuilder)1 SpongeProfilePropertyDataBuilder (org.spongepowered.common.profile.SpongeProfilePropertyDataBuilder)1 SpongeServerLocationBuilder (org.spongepowered.common.world.server.SpongeServerLocationBuilder)1 SpongePlayerDataBuilder (org.spongepowered.common.world.storage.SpongePlayerDataBuilder)1