Do not used Deprecated API
This commit is contained in:
parent
eb3aeef901
commit
c8e80bf1cf
1 changed files with 2 additions and 1 deletions
|
@ -1,13 +1,14 @@
|
||||||
package org.betterx.betterend.registry;
|
package org.betterx.betterend.registry;
|
||||||
|
|
||||||
import org.betterx.bclib.api.v2.poi.BCLPoiType;
|
import org.betterx.bclib.api.v2.poi.BCLPoiType;
|
||||||
|
import org.betterx.bclib.api.v2.poi.PoiManager;
|
||||||
import org.betterx.betterend.BetterEnd;
|
import org.betterx.betterend.BetterEnd;
|
||||||
import org.betterx.betterend.blocks.RunedFlavolite;
|
import org.betterx.betterend.blocks.RunedFlavolite;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
public class EndPoiTypes {
|
public class EndPoiTypes {
|
||||||
public static final BCLPoiType ETERNAL_PORTAL_INACTIVE = BCLPoiType.register(
|
public static final BCLPoiType ETERNAL_PORTAL_INACTIVE = PoiManager.register(
|
||||||
BetterEnd.makeID("eternal_portal_inactive"),
|
BetterEnd.makeID("eternal_portal_inactive"),
|
||||||
Set.of(EndBlocks.FLAVOLITE_RUNED_ETERNAL.defaultBlockState().setValue(RunedFlavolite.ACTIVATED, false)),
|
Set.of(EndBlocks.FLAVOLITE_RUNED_ETERNAL.defaultBlockState().setValue(RunedFlavolite.ACTIVATED, false)),
|
||||||
0, 1
|
0, 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue