Search in sources :

Example 1 with StarlightReceiverRitualPedestal

use of hellfirepvp.astralsorcery.common.tile.network.StarlightReceiverRitualPedestal in project AstralSorcery by HellFirePvP.

the class RegistryCrystalProperties method initDefaultAttributes.

public static void initDefaultAttributes() {
    SOURCE_RITUAL_PEDESTAL = new PropertySource<StarlightReceiverRitualPedestal, Ritual>(AstralSorcery.key("ritual_network")) {

        @Override
        public Ritual createInstance(StarlightReceiverRitualPedestal obj) {
            return new Ritual(this, obj.getChannelingType(), obj.getChannelingTrait());
        }
    };
    SOURCE_TILE_RITUAL_PEDESTAL = new PropertySource<TileRitualPedestal, Ritual>(AstralSorcery.key("ritual_tile")) {

        @Override
        public Ritual createInstance(TileRitualPedestal obj) {
            return new Ritual(this, obj.getRitualConstellation(), obj.getRitualTrait());
        }
    };
    SOURCE_COLLECTOR_CRYSTAL = new PropertySource<IndependentCrystalSource, Crystal>(AstralSorcery.key("crystal_network")) {

        @Override
        public Crystal createInstance(IndependentCrystalSource obj) {
            return new Crystal(this, obj.getStarlightType());
        }
    };
    SOURCE_TILE_COLLECTOR_CRYSTAL = new PropertySource<TileCollectorCrystal, Crystal>(AstralSorcery.key("crystal_tile")) {

        @Override
        public Crystal createInstance(TileCollectorCrystal obj) {
            return new Crystal(this, obj.getAttunedConstellation());
        }
    };
    CREATIVE_CRYSTAL_TOOL_ATTRIBUTES = CrystalAttributes.Builder.newBuilder(false).addProperty(PROPERTY_SIZE, 3).addProperty(PROPERTY_SHAPE, 3).addProperty(PROPERTY_TOOL_DURABILITY, 3).addProperty(PROPERTY_TOOL_EFFICIENCY, 3).build();
    WORLDGEN_SHRINE_COLLECTOR_ATTRIBUTES = CrystalAttributes.Builder.newBuilder(false).addProperty(PROPERTY_SIZE, 2).addProperty(PROPERTY_SHAPE, 2).addProperty(PROPERTY_PURITY, 2).addProperty(PROPERTY_COLLECTOR_COLLECTION_RATE, 2).build();
    CREATIVE_ROCK_COLLECTOR_ATTRIBUTES = CrystalAttributes.Builder.newBuilder(false).addProperty(PROPERTY_SIZE, 3).addProperty(PROPERTY_SHAPE, 3).addProperty(PROPERTY_PURITY, 2).addProperty(PROPERTY_COLLECTOR_COLLECTION_RATE, 3).build();
    CREATIVE_CELESTIAL_COLLECTOR_ATTRIBUTES = CrystalAttributes.Builder.newBuilder(false).addProperty(PROPERTY_SIZE, 3).addProperty(PROPERTY_SHAPE, 3).addProperty(PROPERTY_PURITY, 2).addProperty(PROPERTY_COLLECTOR_COLLECTION_RATE, 3).build();
    LENS_PRISM_CREATIVE_ATTRIBUTES = CrystalAttributes.Builder.newBuilder(false).addProperty(PROPERTY_PURITY, 2).addProperty(PROPERTY_SHAPE, 3).build();
}
Also used : TileRitualPedestal(hellfirepvp.astralsorcery.common.tile.TileRitualPedestal) IndependentCrystalSource(hellfirepvp.astralsorcery.common.starlight.transmission.base.crystal.IndependentCrystalSource) StarlightReceiverRitualPedestal(hellfirepvp.astralsorcery.common.tile.network.StarlightReceiverRitualPedestal) Ritual(hellfirepvp.astralsorcery.common.crystal.source.Ritual) TileCollectorCrystal(hellfirepvp.astralsorcery.common.tile.TileCollectorCrystal) Crystal(hellfirepvp.astralsorcery.common.crystal.source.Crystal) TileCollectorCrystal(hellfirepvp.astralsorcery.common.tile.TileCollectorCrystal)

Aggregations

Crystal (hellfirepvp.astralsorcery.common.crystal.source.Crystal)1 Ritual (hellfirepvp.astralsorcery.common.crystal.source.Ritual)1 IndependentCrystalSource (hellfirepvp.astralsorcery.common.starlight.transmission.base.crystal.IndependentCrystalSource)1 TileCollectorCrystal (hellfirepvp.astralsorcery.common.tile.TileCollectorCrystal)1 TileRitualPedestal (hellfirepvp.astralsorcery.common.tile.TileRitualPedestal)1 StarlightReceiverRitualPedestal (hellfirepvp.astralsorcery.common.tile.network.StarlightReceiverRitualPedestal)1