Interface ToggleableFeature

All Known Implementing Classes:
AbsorptionStatusEffect, AbstractBannerBlock, AbstractBlock, AbstractCandleBlock, AbstractCauldronBlock, AbstractChestBlock, AbstractFireBlock, AbstractFurnaceBlock, AbstractPlantBlock, AbstractPlantPartBlock, AbstractPlantStemBlock, AbstractPressurePlateBlock, AbstractRailBlock, AbstractRedstoneGateBlock, AbstractSignBlock, AbstractSkullBlock, AbstractTorchBlock, AirBlock, AirBlockItem, AliasedBlockItem, AmethystBlock, AmethystClusterBlock, AnimalArmorItem, AnvilBlock, ArmorItem, ArmorStandItem, ArrowItem, AttachedStemBlock, AxeItem, AzaleaBlock, BadOmenStatusEffect, BambooBlock, BambooShootBlock, BannerBlock, BannerItem, BannerPatternItem, BarrelBlock, BarrierBlock, BeaconBlock, BedBlock, BedItem, BeehiveBlock, BeetrootsBlock, BellBlock, BigDripleafBlock, BigDripleafStemBlock, BindingCurseEnchantment, BlastFurnaceBlock, Block, BlockItem, BlockWithEntity, BoatItem, BoneMealItem, BookItem, BowItem, BreachEnchantment, BrewingStandBlock, BrushableBlock, BrushItem, BubbleColumnBlock, BucketItem, BuddingAmethystBlock, BulbBlock, BundleItem, ButtonBlock, CactusBlock, CakeBlock, CalibratedSculkSensorBlock, CampfireBlock, CandleBlock, CandleCakeBlock, CarpetBlock, CarrotsBlock, CartographyTableBlock, CarvedPumpkinBlock, CauldronBlock, CaveVinesBodyBlock, CaveVinesHeadBlock, ChainBlock, CherryLeavesBlock, ChestBlock, ChiseledBookshelfBlock, ChorusFlowerBlock, ChorusFruitItem, ChorusPlantBlock, CobwebBlock, CocoaBlock, ColoredFallingBlock, CommandBlock, ComparatorBlock, CompassItem, ComposterBlock, ConcretePowderBlock, ConduitBlock, ConnectingBlock, CoralBlock, CoralBlockBlock, CoralFanBlock, CoralParentBlock, CoralWallFanBlock, CrafterBlock, CraftingTableBlock, CropBlock, CrossbowItem, CryingObsidianBlock, DamageEnchantment, DaylightDetectorBlock, DeadBushBlock, DeadCoralBlock, DeadCoralFanBlock, DeadCoralWallFanBlock, DebugStickItem, DecoratedPotBlock, DecorationItem, DensityEnchantment, DepthStriderEnchantment, DetectorRailBlock, DirtPathBlock, DiscFragmentItem, DispenserBlock, DoorBlock, DragonEggBlock, DropperBlock, DyedCarpetBlock, DyeItem, EggItem, ElytraItem, EmptyMapItem, EnchantedBookItem, EnchantingTableBlock, Enchantment, EndCrystalItem, EnderChestBlock, EnderEyeItem, EnderPearlItem, EndGatewayBlock, EndPortalBlock, EndPortalFrameBlock, EndRodBlock, EntityBucketItem, EntityType, ExperienceBottleItem, ExperienceDroppingBlock, FacingBlock, FallingBlock, FarmlandBlock, FenceBlock, FenceGateBlock, FilledMapItem, FireBlock, FireChargeItem, FireworkRocketItem, FireworkStarItem, FishingRodItem, FletchingTableBlock, FlintAndSteelItem, FlowerbedBlock, FlowerBlock, FlowerPotBlock, FluidBlock, FrogspawnBlock, FrostedIceBlock, FrostWalkerEnchantment, FungusBlock, FurnaceBlock, GlassBottleItem, GlazedTerracottaBlock, GlowInkSacItem, GlowLichenBlock, GoatHornItem, GrassBlock, GrateBlock, GrindstoneBlock, HangingRootsBlock, HangingSignBlock, HangingSignItem, HayBlock, HeavyCoreBlock, HoeItem, HoneyBlock, HoneyBottleItem, HoneycombItem, HopperBlock, HorizontalConnectingBlock, HorizontalFacingBlock, HungerStatusEffect, IceBlock, InfestedBlock, InfestedStatusEffect, InfinityEnchantment, InkSacItem, InstantHealthOrDamageStatusEffect, InstantStatusEffect, Item, ItemFrameItem, JigsawBlock, JukeboxBlock, KelpBlock, KelpPlantBlock, KnowledgeBookItem, LadderBlock, LanternBlock, LavaCauldronBlock, LeadItem, LeavesBlock, LecternBlock, LeveledCauldronBlock, LeverBlock, LightBlock, LightningRodBlock, LilyPadBlock, LingeringPotionItem, LoomBlock, LuckEnchantment, MaceItem, MagmaBlock, MangroveLeavesBlock, MangroveRootsBlock, MendingEnchantment, MilkBucketItem, MinecartItem, MiningToolItem, MossBlock, MudBlock, MultifaceGrowthBlock, MultishotEnchantment, MushroomBlock, MushroomPlantBlock, MusicDiscItem, MyceliumBlock, NameTagItem, NetherPortalBlock, NetherrackBlock, NetherWartBlock, NetworkSyncedItem, NoteBlock, NyliumBlock, ObserverBlock, OminousBottleItem, OnAStickItem, OozingStatusEffect, OperatorOnlyBlockItem, OxidizableBlock, OxidizableBulbBlock, OxidizableDoorBlock, OxidizableGrateBlock, OxidizableSlabBlock, OxidizableStairsBlock, OxidizableTrapdoorBlock, PaneBlock, PickaxeItem, PiercingEnchantment, PillarBlock, PistonBlock, PistonExtensionBlock, PistonHeadBlock, PitcherCropBlock, PlaceableOnWaterItem, PlantBlock, PlayerHeadItem, PlayerSkullBlock, PointedDripstoneBlock, PoisonStatusEffect, PotatoesBlock, Potion, PotionItem, PowderSnowBlock, PowderSnowBucketItem, PoweredRailBlock, PressurePlateBlock, PropaguleBlock, ProtectionEnchantment, PumpkinBlock, RaidOmenStatusEffect, RailBlock, RangedWeaponItem, RedstoneBlock, RedstoneLampBlock, RedstoneOreBlock, RedstoneTorchBlock, RedstoneWireBlock, RegenerationStatusEffect, RepeaterBlock, RespawnAnchorBlock, RiptideEnchantment, RodBlock, RootedDirtBlock, RootsBlock, RotatedInfestedBlock, SaddleItem, SaplingBlock, SaturationStatusEffect, ScaffoldingBlock, ScaffoldingItem, ScreenHandlerType, SculkBlock, SculkCatalystBlock, SculkSensorBlock, SculkShriekerBlock, SculkVeinBlock, SeagrassBlock, SeaPickleBlock, ShearsItem, ShieldItem, ShortPlantBlock, ShovelItem, ShulkerBoxBlock, SignBlock, SignItem, SilkTouchEnchantment, SkullBlock, SlabBlock, SlimeBlock, SmallDripleafBlock, SmithingTableBlock, SmithingTemplateItem, SmokerBlock, SnifferEggBlock, SnowballItem, SnowBlock, SnowyBlock, SoulFireBlock, SoulSandBlock, SoulSpeedEnchantment, SpawnEggItem, SpawnerBlock, SpectralArrowItem, SplashPotionItem, SpongeBlock, SporeBlossomBlock, SpreadableBlock, SproutsBlock, SpyglassItem, StainedGlassBlock, StainedGlassPaneBlock, StairsBlock, StatusEffect, StemBlock, StewItem, StonecutterBlock, StructureBlock, StructureVoidBlock, SugarCaneBlock, SuspiciousStewItem, SweetBerryBushBlock, SwiftSneakEnchantment, SwordItem, TallBlockItem, TallFlowerBlock, TallPlantBlock, TallSeagrassBlock, TargetBlock, ThornsEnchantment, ThrowablePotionItem, TintedGlassBlock, TippedArrowItem, TntBlock, ToolItem, TorchBlock, TorchflowerBlock, TranslucentBlock, TransparentBlock, TrapdoorBlock, TrappedChestBlock, TrialSpawnerBlock, TridentItem, TripwireBlock, TripwireHookBlock, TurtleEggBlock, TwistingVinesBlock, TwistingVinesPlantBlock, UnbreakingEnchantment, VanishingCurseEnchantment, VaultBlock, VerticallyAttachableBlockItem, VineBlock, WallBannerBlock, WallBlock, WallHangingSignBlock, WallMountedBlock, WallPiglinHeadBlock, WallPlayerSkullBlock, WallRedstoneTorchBlock, WallSignBlock, WallSkullBlock, WallTorchBlock, WallWitherSkullBlock, WearableCarvedPumpkinBlock, WeavingStatusEffect, WeepingVinesBlock, WeepingVinesPlantBlock, WeightedPressurePlateBlock, WetSpongeBlock, WindBurstEnchantment, WindChargedStatusEffect, WindChargeItem, WitherRoseBlock, WitherSkullBlock, WitherStatusEffect, WritableBookItem, WrittenBookItem

public interface ToggleableFeature
Mappings:
Namespace Name
named net/minecraft/resource/featuretoggle/ToggleableFeature
intermediary net/minecraft/class_7695
official cpk
  • Field Details

    • FEATURE_ENABLED_REGISTRY_KEYS

      static final Set<RegistryKey<? extends Registry<? extends ToggleableFeature>>> FEATURE_ENABLED_REGISTRY_KEYS
      Mappings:
      Namespace Name Mixin selector
      named FEATURE_ENABLED_REGISTRY_KEYS Lnet/minecraft/resource/featuretoggle/ToggleableFeature;FEATURE_ENABLED_REGISTRY_KEYS:Ljava/util/Set;
      intermediary field_40162 Lnet/minecraft/class_7695;field_40162:Ljava/util/Set;
      official bA Lcpk;bA:Ljava/util/Set;
  • Method Details

    • getRequiredFeatures

      FeatureSet getRequiredFeatures()
      Mappings:
      Namespace Name Mixin selector
      named getRequiredFeatures Lnet/minecraft/resource/featuretoggle/ToggleableFeature;getRequiredFeatures()Lnet/minecraft/resource/featuretoggle/FeatureSet;
      intermediary method_45322 Lnet/minecraft/class_7695;method_45322()Lnet/minecraft/class_7699;
      official i Lcpk;i()Lcpn;
    • isEnabled

      default boolean isEnabled(FeatureSet enabledFeatures)
      Mappings:
      Namespace Name Mixin selector
      named isEnabled Lnet/minecraft/resource/featuretoggle/ToggleableFeature;isEnabled(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Z
      intermediary method_45382 Lnet/minecraft/class_7695;method_45382(Lnet/minecraft/class_7699;)Z
      official a Lcpk;a(Lcpn;)Z