Interface ToggleableFeature

All Known Implementing Classes:
AbstractBannerBlock, AbstractBlock, AbstractCandleBlock, AbstractCauldronBlock, AbstractChestBlock, AbstractFireBlock, AbstractFurnaceBlock, AbstractGlassBlock, AbstractPlantBlock, AbstractPlantPartBlock, AbstractPlantStemBlock, AbstractPressurePlateBlock, AbstractRailBlock, AbstractRedstoneGateBlock, AbstractSignBlock, AbstractSkullBlock, AirBlock, AirBlockItem, AliasedBlockItem, AmethystBlock, AmethystClusterBlock, AnvilBlock, ArmorItem, ArmorStandItem, ArrowItem, AttachedStemBlock, AxeItem, AzaleaBlock, BambooBlock, BambooSaplingBlock, 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, BundleItem, ButtonBlock, CactusBlock, CakeBlock, CalibratedSculkSensorBlock, CampfireBlock, CandleBlock, CandleCakeBlock, CarpetBlock, CarrotsBlock, CartographyTableBlock, CarvedPumpkinBlock, CauldronBlock, CaveVinesBodyBlock, CaveVinesHeadBlock, ChainBlock, CherryLeavesBlock, ChestBlock, ChiseledBookshelfBlock, ChorusFlowerBlock, ChorusFruitItem, ChorusPlantBlock, CobwebBlock, CocoaBlock, CommandBlock, ComparatorBlock, CompassItem, ComposterBlock, ConcretePowderBlock, ConduitBlock, ConnectingBlock, CoralBlock, CoralBlockBlock, CoralFanBlock, CoralParentBlock, CoralWallFanBlock, CraftingTableBlock, CropBlock, CrossbowItem, CryingObsidianBlock, DaylightDetectorBlock, DeadBushBlock, DeadCoralBlock, DeadCoralFanBlock, DeadCoralWallFanBlock, DebugStickItem, DecoratedPotBlock, DecorationItem, DetectorRailBlock, DirtPathBlock, DiscFragmentItem, DispenserBlock, DoorBlock, DragonEggBlock, DropperBlock, DyeableArmorItem, DyeableHorseArmorItem, DyedCarpetBlock, DyeItem, EggItem, ElytraItem, EmptyMapItem, EnchantedBookItem, EnchantedGoldenAppleItem, EnchantingTableBlock, EndCrystalItem, EnderChestBlock, EnderEyeItem, EnderPearlItem, EndGatewayBlock, EndPortalBlock, EndPortalFrameBlock, EndRodBlock, EntityBucketItem, EntityType, ExperienceBottleItem, ExperienceDroppingBlock, FacingBlock, FallingBlock, FarmlandBlock, FenceBlock, FenceGateBlock, FernBlock, FilledMapItem, FireBlock, FireChargeItem, FireworkRocketItem, FireworkStarItem, FishingRodItem, FletchingTableBlock, FlintAndSteelItem, FlowerbedBlock, FlowerBlock, FlowerPotBlock, FluidBlock, FrogspawnBlock, FrostedIceBlock, FungusBlock, FurnaceBlock, GlassBlock, GlassBottleItem, GlazedTerracottaBlock, GlowInkSacItem, GlowLichenBlock, GoatHornItem, GourdBlock, GrassBlock, GravelBlock, GrindstoneBlock, HangingRootsBlock, HangingSignBlock, HangingSignItem, HayBlock, HoeItem, HoneyBlock, HoneyBottleItem, HoneycombItem, HopperBlock, HorizontalConnectingBlock, HorizontalFacingBlock, HorseArmorItem, IceBlock, InfestedBlock, InkSacItem, Item, ItemFrameItem, JigsawBlock, JukeboxBlock, KelpBlock, KelpPlantBlock, KnowledgeBookItem, LadderBlock, LanternBlock, LavaCauldronBlock, LeadItem, LeavesBlock, LecternBlock, LeveledCauldronBlock, LeverBlock, LightBlock, LightningRodBlock, LilyPadBlock, LingeringPotionItem, LoomBlock, MagmaBlock, MangroveLeavesBlock, MangroveRootsBlock, MelonBlock, MilkBucketItem, MinecartItem, MiningToolItem, MossBlock, MudBlock, MultifaceGrowthBlock, MushroomBlock, MushroomPlantBlock, MusicDiscItem, MyceliumBlock, NameTagItem, NetherPortalBlock, NetherrackBlock, NetherStarItem, NetherWartBlock, NetworkSyncedItem, NoteBlock, NyliumBlock, ObserverBlock, OnAStickItem, OperatorOnlyBlockItem, OxidizableBlock, OxidizableSlabBlock, OxidizableStairsBlock, PaneBlock, PickaxeItem, PillarBlock, PistonBlock, PistonExtensionBlock, PistonHeadBlock, PitcherCropBlock, PlaceableOnWaterItem, PlantBlock, PlayerHeadItem, PlayerSkullBlock, PointedDripstoneBlock, PotatoesBlock, PotionItem, PowderSnowBlock, PowderSnowBucketItem, PowderSnowCauldronBlock, PoweredRailBlock, PressurePlateBlock, PropaguleBlock, PumpkinBlock, RailBlock, RangedWeaponItem, RedstoneBlock, RedstoneLampBlock, RedstoneOreBlock, RedstoneTorchBlock, RedstoneWireBlock, RepeaterBlock, RespawnAnchorBlock, RodBlock, RootedDirtBlock, RootsBlock, RotatedInfestedBlock, SaddleItem, SandBlock, SaplingBlock, ScaffoldingBlock, ScaffoldingItem, ScreenHandlerType, SculkBlock, SculkCatalystBlock, SculkSensorBlock, SculkShriekerBlock, SculkVeinBlock, SeagrassBlock, SeaPickleBlock, ShearsItem, ShieldItem, 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, StemBlock, StewItem, StonecutterBlock, StructureBlock, StructureVoidBlock, SugarCaneBlock, SuspiciousStewItem, SweetBerryBushBlock, SwordItem, TallBlockItem, TallFlowerBlock, TallPlantBlock, TallSeagrassBlock, TargetBlock, ThrowablePotionItem, TintedGlassBlock, TippedArrowItem, TntBlock, ToolItem, TorchBlock, TorchflowerBlock, TransparentBlock, TrapdoorBlock, TrappedChestBlock, TridentItem, TripwireBlock, TripwireHookBlock, TurtleEggBlock, TwistingVinesBlock, TwistingVinesPlantBlock, VerticallyAttachableBlockItem, VineBlock, WallBannerBlock, WallBlock, WallHangingSignBlock, WallMountedBlock, WallPiglinHeadBlock, WallPlayerSkullBlock, WallRedstoneTorchBlock, WallSignBlock, WallSkullBlock, WallTorchBlock, WallWitherSkullBlock, WearableCarvedPumpkinBlock, WeepingVinesBlock, WeepingVinesPlantBlock, WeightedPressurePlateBlock, WetSpongeBlock, WitherRoseBlock, WitherSkullBlock, WritableBookItem, WrittenBookItem

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

    • FEATURE_ENABLED_REGISTRY_KEYS

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

    • getRequiredFeatures

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

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