Class GlobalRegion
java.lang.Object
de.z0rdak.yawp.core.region.ProtectedRegion
de.z0rdak.yawp.core.region.GlobalRegion
- All Implemented Interfaces:
IProtectedRegion
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<GlobalRegion> static final net.minecraft.resources.Identifierstatic final net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> Fields inherited from class ProtectedRegion
dimension, parent, parentName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddChild(IProtectedRegion child) protected booleansetParent(IProtectedRegion parent) Methods inherited from class ProtectedRegion
addFlag, addPlayer, addPlayer, addTeam, clearChildren, containsFlag, containsFlag, getDim, getFlag, getFlags, getGroup, getGroups, getName, getParent, getParentName, getRegionType, hasChild, hasPlayer, hasTeam, isActive, isInGroup, isMuted, permits, removeChild, removeFlag, removePlayer, removeTeam, resetGroups, setChildrenNames, setFlags, setGroups, setIsActive, setIsMuted, setName
-
Field Details
-
CODEC
-
GLOBAL
public static final net.minecraft.resources.Identifier GLOBAL -
GLOBAL_DIMENSION
public static final net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> GLOBAL_DIMENSION
-
-
Constructor Details
-
GlobalRegion
public GlobalRegion() -
GlobalRegion
-
-
Method Details
-
getChildren
- Specified by:
getChildrenin interfaceIProtectedRegion- Overrides:
getChildrenin classProtectedRegion
-
getChildrenNames
- Specified by:
getChildrenNamesin interfaceIProtectedRegion- Overrides:
getChildrenNamesin classProtectedRegion
-
setParent
- Overrides:
setParentin classProtectedRegion
-
addChild
- Specified by:
addChildin interfaceIProtectedRegion- Overrides:
addChildin classProtectedRegion
-