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, BlastFurnaceBlock, Block, BlockItem, BlockWithEntity, BoatItem, BoneMealItem, BookItem, BowItem, 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, DaylightDetectorBlock, DeadBushBlock, DeadCoralBlock, DeadCoralFanBlock, DeadCoralWallFanBlock, DebugStickItem, DecoratedPotBlock, DecorationItem, DetectorRailBlock, DirtPathBlock, DiscFragmentItem, DispenserBlock, DoorBlock, DragonEggBlock, DropperBlock, DyedCarpetBlock, DyeItem, EggItem, ElytraItem, EmptyMapItem, EnchantedBookItem, EnchantingTableBlock, 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, 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, InkSacItem, InstantHealthOrDamageStatusEffect, InstantStatusEffect, Item, ItemFrameItem, JigsawBlock, JukeboxBlock, KelpBlock, KelpPlantBlock, KnowledgeBookItem, LadderBlock, LanternBlock, LavaCauldronBlock, LeadItem, LeavesBlock, LecternBlock, LeveledCauldronBlock, LeverBlock, LightBlock, LightningRodBlock, LilyPadBlock, LingeringPotionItem, LoomBlock, MaceItem, MagmaBlock, MangroveLeavesBlock, MangroveRootsBlock, MilkBucketItem, MinecartItem, MiningToolItem, MossBlock, MudBlock, MultifaceGrowthBlock, MushroomBlock, MushroomPlantBlock, MyceliumBlock, NameTagItem, NetherPortalBlock, NetherrackBlock, NetherWartBlock, NetworkSyncedItem, NoteBlock, NyliumBlock, ObserverBlock, OminousBottleItem, OnAStickItem, OozingStatusEffect, OperatorOnlyBlockItem, OxidizableBlock, OxidizableBulbBlock, OxidizableDoorBlock, OxidizableGrateBlock, OxidizableSlabBlock, OxidizableStairsBlock, OxidizableTrapdoorBlock, PaneBlock, PickaxeItem, PillarBlock, PistonBlock, PistonExtensionBlock, PistonHeadBlock, PitcherCropBlock, PlaceableOnWaterItem, PlantBlock, PlayerHeadItem, PlayerSkullBlock, PointedDripstoneBlock, PoisonStatusEffect, PotatoesBlock, Potion, PotionItem, PowderSnowBlock, PowderSnowBucketItem, PoweredRailBlock, PressurePlateBlock, PropaguleBlock, PumpkinBlock, RaidOmenStatusEffect, RailBlock, RangedWeaponItem, RedstoneBlock, RedstoneLampBlock, RedstoneOreBlock, RedstoneTorchBlock, RedstoneWireBlock, RegenerationStatusEffect, RepeaterBlock, RespawnAnchorBlock, RodBlock, RootedDirtBlock, RootsBlock, RotatedInfestedBlock, SaddleItem, SaplingBlock, SaturationStatusEffect, ScaffoldingBlock, ScaffoldingItem, ScreenHandlerType, SculkBlock, SculkCatalystBlock, SculkSensorBlock, SculkShriekerBlock, SculkVeinBlock, SeagrassBlock, SeaPickleBlock, ShearsItem, ShieldItem, ShortPlantBlock, ShovelItem, ShulkerBoxBlock, SignBlock, SignItem, SkullBlock, SlabBlock, SlimeBlock, SmallDripleafBlock, SmithingTableBlock, SmithingTemplateItem, SmokerBlock, SnifferEggBlock, SnowballItem, SnowBlock, SnowyBlock, SoulFireBlock, SoulSandBlock, SpawnEggItem, SpawnerBlock, SpectralArrowItem, SplashPotionItem, SpongeBlock, SporeBlossomBlock, SpreadableBlock, SproutsBlock, SpyglassItem, StainedGlassBlock, StainedGlassPaneBlock, StairsBlock, StatusEffect, StemBlock, StonecutterBlock, StructureBlock, StructureVoidBlock, SugarCaneBlock, SuspiciousStewItem, SweetBerryBushBlock, SwordItem, TallBlockItem, TallFlowerBlock, TallPlantBlock, TallSeagrassBlock, TargetBlock, ThrowablePotionItem, TintedGlassBlock, TippedArrowItem, TntBlock, ToolItem, TorchBlock, TorchflowerBlock, TranslucentBlock, TransparentBlock, TrapdoorBlock, TrappedChestBlock, TrialSpawnerBlock, TridentItem, TripwireBlock, TripwireHookBlock, TurtleEggBlock, TwistingVinesBlock, TwistingVinesPlantBlock, VaultBlock, VerticallyAttachableBlockItem, VineBlock, WallBannerBlock, WallBlock, WallHangingSignBlock, WallMountedBlock, WallPiglinHeadBlock, WallPlayerSkullBlock, WallRedstoneTorchBlock, WallSignBlock, WallSkullBlock, WallTorchBlock, WallWitherSkullBlock, WearableCarvedPumpkinBlock, WeavingStatusEffect, WeepingVinesBlock, WeepingVinesPlantBlock, WeightedPressurePlateBlock, WetSpongeBlock, 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 cpi
  • 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 Lcpi;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 Lcpi;i()Lcpl;
    • 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 Lcpi;a(Lcpl;)Z