Search in sources :

Example 1 with SpongeMapDecorationDataBuilder

use of org.spongepowered.common.map.decoration.SpongeMapDecorationDataBuilder in project Sponge 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());
    this.registerBuilder(Color.class, new Color.Builder());
}
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) Color(org.spongepowered.api.util.Color) SpongeMapCanvasDataBuilder(org.spongepowered.common.map.canvas.SpongeMapCanvasDataBuilder) SpongeItemStack(org.spongepowered.common.item.SpongeItemStack) SpongeBlockStateBuilder(org.spongepowered.common.block.SpongeBlockStateBuilder) SpongeProfilePropertyDataBuilder(org.spongepowered.common.profile.SpongeProfilePropertyDataBuilder) SpongeItemStackSnapshotDataBuilder(org.spongepowered.common.data.builder.item.SpongeItemStackSnapshotDataBuilder) SpongeMapDecorationDataBuilder(org.spongepowered.common.map.decoration.SpongeMapDecorationDataBuilder)

Example 2 with SpongeMapDecorationDataBuilder

use of org.spongepowered.common.map.decoration.SpongeMapDecorationDataBuilder 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)2 SpongeItemStackSnapshotDataBuilder (org.spongepowered.common.data.builder.item.SpongeItemStackSnapshotDataBuilder)2 SpongeEntitySnapshotBuilder (org.spongepowered.common.entity.SpongeEntitySnapshotBuilder)2 SpongeItemStack (org.spongepowered.common.item.SpongeItemStack)2 SpongeMapCanvasDataBuilder (org.spongepowered.common.map.canvas.SpongeMapCanvasDataBuilder)2 SpongeMapDecorationDataBuilder (org.spongepowered.common.map.decoration.SpongeMapDecorationDataBuilder)2 SpongeGameProfileDataBuilder (org.spongepowered.common.profile.SpongeGameProfileDataBuilder)2 SpongeProfilePropertyDataBuilder (org.spongepowered.common.profile.SpongeProfilePropertyDataBuilder)2 SpongeServerLocationBuilder (org.spongepowered.common.world.server.SpongeServerLocationBuilder)2 SpongePlayerDataBuilder (org.spongepowered.common.world.storage.SpongePlayerDataBuilder)2 Color (org.spongepowered.api.util.Color)1