Uses of Enum Class
net.minecraft.world.scores.Team.CollisionRule
Packages that use Team.CollisionRule
Package
Description
-
Uses of Team.CollisionRule in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as Team.CollisionRuleModifier and TypeFieldDescriptionprivate final Team.CollisionRuleClientboundSetPlayerTeamPacket.Parameters.collisionRuleMethods in net.minecraft.network.protocol.game that return Team.CollisionRule -
Uses of Team.CollisionRule in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type Team.CollisionRuleModifier and TypeMethodDescriptionprivate static intTeamCommand.setCollision(CommandSourceStack pSource, PlayerTeam pTeam, Team.CollisionRule pRule) -
Uses of Team.CollisionRule in net.minecraft.world.scores
Fields in net.minecraft.world.scores declared as Team.CollisionRuleModifier and TypeFieldDescriptionprivate Team.CollisionRulePlayerTeam.collisionRuleprivate final Team.CollisionRulePlayerTeam.Packed.collisionRuleThe field for thecollisionRulerecord component.Fields in net.minecraft.world.scores with type parameters of type Team.CollisionRuleModifier and TypeFieldDescriptionprivate static final IntFunction<Team.CollisionRule> Team.CollisionRule.BY_IDstatic final com.mojang.serialization.Codec<Team.CollisionRule> Team.CollisionRule.CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Team.CollisionRule> Team.CollisionRule.STREAM_CODECMethods in net.minecraft.world.scores that return Team.CollisionRuleModifier and TypeMethodDescriptionPlayerTeam.Packed.collisionRule()Returns the value of thecollisionRulerecord component.PlayerTeam.getCollisionRule()abstract Team.CollisionRuleTeam.getCollisionRule()static Team.CollisionRuleReturns the enum constant of this class with the specified name.static Team.CollisionRule[]Team.CollisionRule.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.world.scores with parameters of type Team.CollisionRuleModifier and TypeMethodDescriptionvoidPlayerTeam.setCollisionRule(Team.CollisionRule pRule) Sets the rule to be used for handling collisions with members of this team.Constructors in net.minecraft.world.scores with parameters of type Team.CollisionRuleModifierConstructorDescriptionPacked(String name, Optional<Component> displayName, Optional<ChatFormatting> color, boolean allowFriendlyFire, boolean seeFriendlyInvisibles, Component memberNamePrefix, Component memberNameSuffix, Team.Visibility nameTagVisibility, Team.Visibility deathMessageVisibility, Team.CollisionRule collisionRule, List<String> players) Creates an instance of aPackedrecord class.