Package de.z0rdak.yawp.core.region
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.ResourceLocationstatic final net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> Fields inherited from class de.z0rdak.yawp.core.region.ProtectedRegion
dimension, parent, parentName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddChild(IProtectedRegion child) protected booleansetParent(IProtectedRegion parent) Methods inherited from class de.z0rdak.yawp.core.region.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.ResourceLocation 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
-