Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
supersaiyansubtlety committed Nov 19, 2024
1 parent 5bf1ea2 commit c581aab
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
CLASS net/minecraft/unmapped/C_tzvmfkox net/minecraft/client/gui/tooltip/BundleTooltipComponent
FIELD f_bdtqkguf PROGRESS_BAR_FILL_MAX I
FIELD f_bwxjyxim PROGRESSBAR_FULL_TEXTURE Lnet/minecraft/unmapped/C_ncpywfca;
FIELD f_bwxjyxim PROGRESS_BAR_FULL_TEXTURE Lnet/minecraft/unmapped/C_ncpywfca;
FIELD f_gtxuijyb SLOT_HIGHLIGHT_BACK_TEXTURE Lnet/minecraft/unmapped/C_ncpywfca;
FIELD f_iplmqyqy PROGRESS_BAR_Y_MARGIN I
FIELD f_jqgwbsbd PROGRESSBAR_BORDER_TEXTURE Lnet/minecraft/unmapped/C_ncpywfca;
FIELD f_jqgwbsbd PROGRESS_BAR_BORDER_TEXTURE Lnet/minecraft/unmapped/C_ncpywfca;
FIELD f_jwwygqcm EMPTY_BUNDLE_DESCRIPTION Lnet/minecraft/unmapped/C_rdaqiwdt;
FIELD f_kllnkwlw PROGRESS_BAR_WIDTH I
FIELD f_kylynamf GRID_WIDTH I
Expand All @@ -15,8 +15,8 @@ CLASS net/minecraft/unmapped/C_tzvmfkox net/minecraft/client/gui/tooltip/BundleT
FIELD f_smqxslcc PROGRESS_BAR_BORDER I
FIELD f_wdzqfauw EMPTY_BUNDLE Lnet/minecraft/unmapped/C_rdaqiwdt;
FIELD f_wlvtfhwc SLOT_SIZE I
FIELD f_wqfmtuex SLOT_HIGHTLIGHT_FRONT_TEXTURE Lnet/minecraft/unmapped/C_ncpywfca;
FIELD f_zlzhhlin PROGRESSBAR_FILL_TEXTURE Lnet/minecraft/unmapped/C_ncpywfca;
FIELD f_wqfmtuex SLOT_HIGHLIGHT_FRONT_TEXTURE Lnet/minecraft/unmapped/C_ncpywfca;
FIELD f_zlzhhlin PROGRESS_BAR_FILL_TEXTURE Lnet/minecraft/unmapped/C_ncpywfca;
METHOD <init> (Lnet/minecraft/unmapped/C_rdabfjzm;)V
ARG 1 contents
METHOD m_bbdecraf getProgressBarTexture ()Lnet/minecraft/unmapped/C_ncpywfca;
Expand All @@ -30,7 +30,7 @@ CLASS net/minecraft/unmapped/C_tzvmfkox net/minecraft/client/gui/tooltip/BundleT
ARG 1 x
ARG 2 y
METHOD m_chlvprtq getEmptyHeight (Lnet/minecraft/unmapped/C_mavozmpp;)I
METHOD m_kjktjdox getEmptyDescriptionheight (Lnet/minecraft/unmapped/C_mavozmpp;)I
METHOD m_kjktjdox getEmptyDescriptionHeight (Lnet/minecraft/unmapped/C_mavozmpp;)I
METHOD m_leqyexwj getRows ()I
METHOD m_oewutcdv getGridHeight ()I
METHOD m_pbmydgrc getVisibleSlotCount ()I
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CLASS net/minecraft/unmapped/C_icwdaizi net/minecraft/component/DataComponentTypes
FIELD f_kgvadkwa codecCache Lnet/minecraft/unmapped/C_iktlenyy;
FIELD f_kgvadkwa CODEC_CACHE Lnet/minecraft/unmapped/C_iktlenyy;
FIELD f_mrrlymsb DEFAULT_ITEM_COMPONENTS Lnet/minecraft/unmapped/C_kouhnfig;
METHOD m_ahqjrjqw (Lnet/minecraft/unmapped/C_pscqxfcs$C_pevyyrle;)Lnet/minecraft/unmapped/C_pscqxfcs$C_pevyyrle;
METHOD m_akvtfqew (Lnet/minecraft/unmapped/C_pscqxfcs$C_pevyyrle;)Lnet/minecraft/unmapped/C_pscqxfcs$C_pevyyrle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CLASS net/minecraft/unmapped/C_jvfovkxa net/minecraft/component/PatchedDataCompo
METHOD m_baelkeig put (Lnet/minecraft/unmapped/C_pscqxfcs;Ljava/lang/Object;)Ljava/lang/Object;
ARG 1 type
ARG 2 value
METHOD m_fwgddpxs immutableCOpy ()Lnet/minecraft/unmapped/C_kouhnfig;
METHOD m_fwgddpxs immutableCopy ()Lnet/minecraft/unmapped/C_kouhnfig;
METHOD m_hcxzaime asPatch ()Lnet/minecraft/unmapped/C_jqyoylib;
METHOD m_humvlhgl applyPatch (Lnet/minecraft/unmapped/C_jqyoylib;)V
ARG 1 patch
Expand Down
4 changes: 2 additions & 2 deletions mappings/net/minecraft/item/Item.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ CLASS net/minecraft/unmapped/C_vorddnax net/minecraft/item/Item
METHOD m_pvohmnyq jukeboxSong (Lnet/minecraft/unmapped/C_xhhleach;)Lnet/minecraft/unmapped/C_vorddnax$C_bfrytpdl;
ARG 1 song
METHOD m_qouwqhww enchantable (I)Lnet/minecraft/unmapped/C_vorddnax$C_bfrytpdl;
METHOD m_qtwmcgsu equipable (Lnet/minecraft/unmapped/C_yuycoehb;)Lnet/minecraft/unmapped/C_vorddnax$C_bfrytpdl;
METHOD m_qtwmcgsu equippable (Lnet/minecraft/unmapped/C_yuycoehb;)Lnet/minecraft/unmapped/C_vorddnax$C_bfrytpdl;
METHOD m_qvwjjfqj buildAndValidateComponents (Lnet/minecraft/unmapped/C_rdaqiwdt;Lnet/minecraft/unmapped/C_ncpywfca;)Lnet/minecraft/unmapped/C_kouhnfig;
ARG 1 name
ARG 2 itemModelId
Expand All @@ -256,7 +256,7 @@ CLASS net/minecraft/unmapped/C_vorddnax net/minecraft/item/Item
COMMENT @return this instance
ARG 1 maxDamage
COMMENT maximum durability of an ItemStack using an item with this Item.Settings instance
METHOD m_slcmhicj swapEquipable (Lnet/minecraft/unmapped/C_yuycoehb;)Lnet/minecraft/unmapped/C_vorddnax$C_bfrytpdl;
METHOD m_slcmhicj swapEquippable (Lnet/minecraft/unmapped/C_yuycoehb;)Lnet/minecraft/unmapped/C_vorddnax$C_bfrytpdl;
METHOD m_tsalbwou requiredFlags ([Lnet/minecraft/unmapped/C_kksdgidr;)Lnet/minecraft/unmapped/C_vorddnax$C_bfrytpdl;
ARG 1 flags
METHOD m_voqbvsse component (Lnet/minecraft/unmapped/C_pscqxfcs;Ljava/lang/Object;)Lnet/minecraft/unmapped/C_vorddnax$C_bfrytpdl;
Expand Down
2 changes: 1 addition & 1 deletion mappings/net/minecraft/network/codec/PacketCodecs.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ CLASS net/minecraft/unmapped/C_anfarvhg net/minecraft/network/codec/PacketCodecs
ARG 2 left
CLASS C_wfaqdxcz
FIELD f_igiynzhh IDENTIFIER_ID I
FIELD f_swbwkgxh HOLDER_CODEC Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_swbwkgxh holderCodec Lnet/minecraft/unmapped/C_qsrmwluu;
CLASS C_xvgblejl
METHOD m_gkgpgtxa (Lnet/minecraft/unmapped/C_qsrmwluu;Lio/netty/buffer/ByteBuf;Lnet/minecraft/unmapped/C_qsrmwluu;Ljava/lang/Object;Ljava/lang/Object;)V
ARG 3 key
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CLASS net/minecraft/unmapped/C_yagtbmmk net/minecraft/server/network/EntityTrack
FIELD f_gqawuilg headYawBinaryDegrees B
FIELD f_hfbzwigq receiver Ljava/util/function/Consumer;
FIELD f_hfrlpept MAX_UPDATES_WITHOUT_VEHICLE I
FIELD f_iysahyco POSITION_MISSMATCH_THRESHOLD_SQUARED D
FIELD f_iysahyco POSITION_MISMATCH_THRESHOLD_SQUARED D
FIELD f_jsyknaxw ROTATION_TOLERANCE_LEVEL I
FIELD f_kqffoygs alwaysUpdateVelocity Z
FIELD f_kqnuyquf trackedDataValues Ljava/util/List;
Expand Down

3 comments on commit c581aab

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With commit c581aab, 612 file(s) were updated with 5779 line(s) added and 5545 removed compared to the latest Quilt Mappings version.

View the diff here (1/3):
diff -bur namedTargetSrc/net/minecraft/advancement/AdvancementDisplay.java namedSrc/net/minecraft/advancement/AdvancementDisplay.java
--- namedTargetSrc/net/minecraft/advancement/AdvancementDisplay.java	2024-11-19 20:08:21.808685452 +0000
+++ namedSrc/net/minecraft/advancement/AdvancementDisplay.java	2024-11-19 20:07:12.271737432 +0000
@@ -36,7 +36,7 @@
     * @mapping {@literal hashed f_ktnisvwv Lnet/minecraft/unmapped/C_bvqakncm;f_ktnisvwv:Lnet/minecraft/unmapped/C_qsrmwluu;}
     * @mapping {@literal named PACKET_CODEC Lnet/minecraft/advancement/AdvancementDisplay;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;}
     */
-   public static final PacketCodec<RegistryByteBuf, AdvancementDisplay> PACKET_CODEC = PacketCodec.create(
+   public static final PacketCodec<RegistryByteBuf, AdvancementDisplay> PACKET_CODEC = PacketCodec.of(
       AdvancementDisplay::toPacket, AdvancementDisplay::fromPacket
    );
    /**
diff -bur namedTargetSrc/net/minecraft/advancement/Advancement.java namedSrc/net/minecraft/advancement/Advancement.java
--- namedTargetSrc/net/minecraft/advancement/Advancement.java	2024-11-19 20:08:21.884686462 +0000
+++ namedSrc/net/minecraft/advancement/Advancement.java	2024-11-19 20:07:12.359738518 +0000
@@ -66,7 +66,7 @@
     * @mapping {@literal hashed f_bihtcblh Lnet/minecraft/unmapped/C_kdwyuhdb;f_bihtcblh:Lnet/minecraft/unmapped/C_qsrmwluu;}
     * @mapping {@literal named PACKET_CODEC Lnet/minecraft/advancement/Advancement;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;}
     */
-   public static final PacketCodec<RegistryByteBuf, Advancement> PACKET_CODEC = PacketCodec.create(Advancement::toPacket, Advancement::fromPacket);
+   public static final PacketCodec<RegistryByteBuf, Advancement> PACKET_CODEC = PacketCodec.of(Advancement::toPacket, Advancement::fromPacket);
 
    /**
     * @mapping {@literal hashed <init> Lnet/minecraft/unmapped/C_kdwyuhdb;<init>(Ljava/util/Optional;Ljava/util/Optional;Lnet/minecraft/unmapped/C_wptigggq;Ljava/util/Map;Lnet/minecraft/unmapped/C_wbfyxnvb;Z)V}
diff -bur namedTargetSrc/net/minecraft/advancement/criterion/BrewedPotionCriterionTrigger.java namedSrc/net/minecraft/advancement/criterion/BrewedPotionCriterionTrigger.java
--- namedTargetSrc/net/minecraft/advancement/criterion/BrewedPotionCriterionTrigger.java	2024-11-19 20:08:21.864686196 +0000
+++ namedSrc/net/minecraft/advancement/criterion/BrewedPotionCriterionTrigger.java	2024-11-19 20:07:12.335738222 +0000
@@ -4,11 +4,11 @@
 import com.mojang.serialization.codecs.RecordCodecBuilder;
 import java.util.Optional;
 import net.minecraft.advancement.AdvancementCriterion;
+import net.minecraft.potion.Potion;
 import net.minecraft.predicate.ContextAwarePredicate;
 import net.minecraft.predicate.entity.EntityPredicate;
 import net.minecraft.registry.Holder;
 import net.minecraft.server.network.ServerPlayerEntity;
-import net.minecraft.unmapped.C_vdaqizos;
 
 /**
  * @mapping {@literal hashed net/minecraft/unmapped/C_opfhzgki}
@@ -27,7 +27,7 @@
     * @mapping {@literal hashed m_jlnjsigz Lnet/minecraft/unmapped/C_opfhzgki;m_jlnjsigz(Lnet/minecraft/unmapped/C_mxrobsgg;Lnet/minecraft/unmapped/C_cjzoxshv;)V}
     * @mapping {@literal named trigger Lnet/minecraft/advancement/criterion/BrewedPotionCriterionTrigger;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/registry/Holder;)V}
     */
-   public void trigger(ServerPlayerEntity player, Holder<C_vdaqizos> potion) {
+   public void trigger(ServerPlayerEntity player, Holder<Potion> potion) {
       this.trigger(player, arg2 -> arg2.matches(potion));
    }
 
@@ -35,7 +35,7 @@
     * @mapping {@literal hashed net/minecraft/unmapped/C_opfhzgki$C_nhlhuijz}
     * @mapping {@literal named net/minecraft/advancement/criterion/BrewedPotionCriterionTrigger$Conditions}
     */
-   public static record Conditions(Optional<ContextAwarePredicate> player, Optional<Holder<C_vdaqizos>> potion) implements AbstractCriterionTrigger.Conditions {
+   public static record Conditions(Optional<ContextAwarePredicate> player, Optional<Holder<Potion>> potion) implements AbstractCriterionTrigger.Conditions {
       /**
        * @mapping {@literal hashed f_xlimtbgz Lnet/minecraft/unmapped/C_opfhzgki$C_nhlhuijz;f_xlimtbgz:Lcom/mojang/serialization/Codec;}
        * @mapping {@literal named CODEC Lnet/minecraft/advancement/criterion/BrewedPotionCriterionTrigger$Conditions;CODEC:Lcom/mojang/serialization/Codec;}
@@ -43,7 +43,7 @@
       public static final Codec<BrewedPotionCriterionTrigger.Conditions> CODEC = RecordCodecBuilder.create(
          instance -> instance.group(
                   EntityPredicate.ADVANCEMENT_CODEC.optionalFieldOf("player").forGetter(BrewedPotionCriterionTrigger.Conditions::player),
-                  C_vdaqizos.CODEC.optionalFieldOf("potion").forGetter(BrewedPotionCriterionTrigger.Conditions::potion)
+                  Potion.CODEC.optionalFieldOf("potion").forGetter(BrewedPotionCriterionTrigger.Conditions::potion)
                )
                .apply(instance, BrewedPotionCriterionTrigger.Conditions::new)
       );
@@ -60,7 +60,7 @@
        * @mapping {@literal hashed m_smuruvko Lnet/minecraft/unmapped/C_opfhzgki$C_nhlhuijz;m_smuruvko(Lnet/minecraft/unmapped/C_cjzoxshv;)Z}
        * @mapping {@literal named matches Lnet/minecraft/advancement/criterion/BrewedPotionCriterionTrigger$Conditions;matches(Lnet/minecraft/registry/Holder;)Z}
        */
-      public boolean matches(Holder<C_vdaqizos> potion) {
+      public boolean matches(Holder<Potion> potion) {
          return !this.potion.isPresent() || ((Holder)this.potion.get()).equals(potion);
       }
    }
diff -bur namedTargetSrc/net/minecraft/block/AbstractBlock.java namedSrc/net/minecraft/block/AbstractBlock.java
--- namedTargetSrc/net/minecraft/block/AbstractBlock.java	2024-11-19 20:08:21.840685877 +0000
+++ namedSrc/net/minecraft/block/AbstractBlock.java	2024-11-19 20:07:12.303737828 +0000
@@ -42,7 +42,7 @@
 import net.minecraft.loot.context.LootContextTypes;
 import net.minecraft.registry.Holder;
 import net.minecraft.registry.HolderSet;
-import net.minecraft.registry.KeyedValue;
+import net.minecraft.registry.KeyDerivedValue;
 import net.minecraft.registry.Registries;
 import net.minecraft.registry.RegistryKey;
 import net.minecraft.registry.RegistryKeys;
@@ -1988,15 +1988,15 @@
       private RegistryKey<Block> key;
       /**
        * @mapping {@literal hashed f_pxqjcqnw Lnet/minecraft/unmapped/C_triydqro$C_xnkxsdfy;f_pxqjcqnw:Lnet/minecraft/unmapped/C_jquyxssk;}
-       * @mapping {@literal named lootTableId Lnet/minecraft/block/AbstractBlock$Settings;lootTableId:Lnet/minecraft/registry/KeyedValue;}
+       * @mapping {@literal named lootTableId Lnet/minecraft/block/AbstractBlock$Settings;lootTableId:Lnet/minecraft/registry/KeyDerivedValue;}
        */
-      private KeyedValue<Block, Optional<RegistryKey<LootTable>>> lootTableId = key -> Optional.of(
+      private KeyDerivedValue<Block, Optional<RegistryKey<LootTable>>> lootTableId = key -> Optional.of(
             RegistryKey.of(RegistryKeys.LOOT_TABLE, key.getValue().withPrefix("blocks/"))
          );
       /**
        * Mapping not found
        */
-      private KeyedValue<Block, String> f_gxswpnob = arg -> Util.createTranslationKey("block", arg.getValue());
+      private KeyDerivedValue<Block, String> f_gxswpnob = arg -> Util.createTranslationKey("block", arg.getValue());
       /**
        * @mapping {@literal hashed f_obppjqdx Lnet/minecraft/unmapped/C_triydqro$C_xnkxsdfy;f_obppjqdx:Z}
        * @mapping {@literal named opaque Lnet/minecraft/block/AbstractBlock$Settings;opaque:Z}
@@ -2325,7 +2325,7 @@
        * @mapping {@literal named dropsNothing Lnet/minecraft/block/AbstractBlock$Settings;dropsNothing()Lnet/minecraft/block/AbstractBlock$Settings;}
        */
       public AbstractBlock.Settings dropsNothing() {
-         this.lootTableId = KeyedValue.fixed(Optional.empty());
+         this.lootTableId = KeyDerivedValue.fixed(Optional.empty());
          return this;
       }
 
@@ -2334,7 +2334,7 @@
        * @mapping {@literal named m_nbpsnvhc Lnet/minecraft/block/AbstractBlock$Settings;m_nbpsnvhc(Ljava/util/Optional;)Lnet/minecraft/block/AbstractBlock$Settings;}
        */
       public AbstractBlock.Settings m_nbpsnvhc(Optional<RegistryKey<LootTable>> value) {
-         this.lootTableId = KeyedValue.fixed(value);
+         this.lootTableId = KeyDerivedValue.fixed(value);
          return this;
       }
 
@@ -2569,7 +2569,7 @@
        * @mapping {@literal named m_oileiccy Lnet/minecraft/block/AbstractBlock$Settings;m_oileiccy(Ljava/lang/String;)Lnet/minecraft/block/AbstractBlock$Settings;}
        */
       public AbstractBlock.Settings m_oileiccy(String value) {
-         this.f_gxswpnob = KeyedValue.fixed(value);
+         this.f_gxswpnob = KeyDerivedValue.fixed(value);
          return this;
       }
 
diff -bur namedTargetSrc/net/minecraft/block/AbstractCandleBlock.java namedSrc/net/minecraft/block/AbstractCandleBlock.java
--- namedTargetSrc/net/minecraft/block/AbstractCandleBlock.java	2024-11-19 20:08:21.808685452 +0000
+++ namedSrc/net/minecraft/block/AbstractCandleBlock.java	2024-11-19 20:07:12.271737432 +0000
@@ -63,7 +63,7 @@
     * @mapping {@literal named isLitCandle Lnet/minecraft/block/AbstractCandleBlock;isLitCandle(Lnet/minecraft/block/BlockState;)Z}
     */
    public static boolean isLitCandle(BlockState state) {
-      return state.contains(LIT) && (state.isIn(BlockTags.CANDLES) || state.isIn(BlockTags.CANDLE_CAKES)) && (Boolean)state.get(LIT);
+      return state.contains(LIT) && (state.isIn(BlockTags.CANDLES) || state.isIn(BlockTags.CANDLE_CAKES)) && (Boolean)state.getOrThrow(LIT);
    }
 
    /**
@@ -81,7 +81,7 @@
     * @mapping {@literal named isNotLit Lnet/minecraft/block/AbstractCandleBlock;isNotLit(Lnet/minecraft/block/BlockState;)Z}
     */
    protected boolean isNotLit(BlockState state) {
-      return !(Boolean)state.get(LIT);
+      return !(Boolean)state.getOrThrow(LIT);
    }
 
    /**
@@ -89,7 +89,7 @@
     */
    @Override
    public void randomDisplayTick(BlockState state, World world, BlockPos pos, RandomGenerator random) {
-      if ((Boolean)state.get(LIT)) {
+      if ((Boolean)state.getOrThrow(LIT)) {
          this.getParticleOffsets(state)
             .forEach(offset -> spawnCandleParticles(world, offset.add((double)pos.getX(), (double)pos.getY(), (double)pos.getZ()), random));
       }
@@ -159,7 +159,7 @@
     */
    @Override
    protected void onExplosion(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) {
-      if (explosion.canTriggerBlocks() && (Boolean)state.get(LIT)) {
+      if (explosion.canTriggerBlocks() && (Boolean)state.getOrThrow(LIT)) {
          extinguish(null, state, world, pos);
       }
 
diff -bur namedTargetSrc/net/minecraft/block/AbstractFurnaceBlock.java namedSrc/net/minecraft/block/AbstractFurnaceBlock.java
--- namedTargetSrc/net/minecraft/block/AbstractFurnaceBlock.java	2024-11-19 20:08:21.796685293 +0000
+++ namedSrc/net/minecraft/block/AbstractFurnaceBlock.java	2024-11-19 20:07:12.255737235 +0000
@@ -123,7 +123,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -131,7 +131,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/AbstractLichenBlock.java namedSrc/net/minecraft/block/AbstractLichenBlock.java
--- namedTargetSrc/net/minecraft/block/AbstractLichenBlock.java	2024-11-19 20:08:21.924686994 +0000
+++ namedSrc/net/minecraft/block/AbstractLichenBlock.java	2024-11-19 20:07:12.403739061 +0000
@@ -229,7 +229,7 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(f_sveyxyvg)) {
+      if ((Boolean)state.getOrThrow(f_sveyxyvg)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
@@ -247,7 +247,7 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(f_sveyxyvg) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(f_sveyxyvg) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 
    /**
@@ -366,7 +366,7 @@
 
       for (Direction lv2 : DIRECTIONS) {
          if (this.canHaveDirection(lv2)) {
-            lv = lv.with(getProperty((Direction)mirror.apply(lv2)), (Boolean)state.get(getProperty(lv2)));
+            lv = lv.with(getProperty((Direction)mirror.apply(lv2)), (Boolean)state.getOrThrow(getProperty(lv2)));
          }
       }
 
@@ -379,7 +379,7 @@
     */
    public static boolean hasDirection(BlockState state, Direction direction) {
       BooleanProperty lv = getProperty(direction);
-      return (Boolean)state.m_mnabgcvu(lv, Boolean.valueOf(false));
+      return (Boolean)state.getOrDefault(lv, Boolean.valueOf(false));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/AbstractRailBlock.java namedSrc/net/minecraft/block/AbstractRailBlock.java
--- namedTargetSrc/net/minecraft/block/AbstractRailBlock.java	2024-11-19 20:08:21.876686356 +0000
+++ namedSrc/net/minecraft/block/AbstractRailBlock.java	2024-11-19 20:07:12.347738370 +0000
@@ -90,7 +90,7 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      RailShape lv = state.isOf(this) ? state.get(this.getShapeProperty()) : null;
+      RailShape lv = state.isOf(this) ? state.getOrThrow(this.getShapeProperty()) : null;
       return lv != null && lv.isAscending() ? ASCENDING_SHAPE : STRAIGHT_SHAPE;
    }
 
@@ -131,7 +131,7 @@
    @Override
    protected void neighborUpdate(BlockState state, World world, BlockPos pos, Block block, @Nullable Orientation orientation, boolean notify) {
       if (!world.isClient && world.getBlockState(pos).isOf(this)) {
-         RailShape lv = state.get(this.getShapeProperty());
+         RailShape lv = state.getOrThrow(this.getShapeProperty());
          if (shouldBreak(pos, world, lv)) {
             dropStacks(state, world, pos);
             world.removeBlock(pos, notify);
@@ -184,7 +184,7 @@
       if (world.isClient) {
          return state;
       } else {
-         RailShape lv = state.get(this.getShapeProperty());
+         RailShape lv = state.getOrThrow(this.getShapeProperty());
          return new RailShaper(world, pos, state).updateBlockState(world.isReceivingRedstonePower(pos), forceUpdate, lv).getState();
       }
    }
@@ -196,7 +196,7 @@
    protected void onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) {
       if (!moved) {
          super.onStateReplaced(state, world, pos, newState, moved);
-         if (((RailShape)state.get(this.getShapeProperty())).isAscending()) {
+         if (((RailShape)state.getOrThrow(this.getShapeProperty())).isAscending()) {
             world.m_uswxgsbt(pos.up(), this);
          }
 
@@ -240,7 +240,7 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
@@ -252,6 +252,6 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 }
diff -bur namedTargetSrc/net/minecraft/block/AbstractSkullBlock.java namedSrc/net/minecraft/block/AbstractSkullBlock.java
--- namedTargetSrc/net/minecraft/block/AbstractSkullBlock.java	2024-11-19 20:08:21.916686887 +0000
+++ namedSrc/net/minecraft/block/AbstractSkullBlock.java	2024-11-19 20:07:12.395738962 +0000
@@ -113,7 +113,7 @@
    protected void neighborUpdate(BlockState state, World world, BlockPos pos, Block block, @Nullable Orientation orientation, boolean notify) {
       if (!world.isClient) {
          boolean bl2 = world.isReceivingRedstonePower(pos);
-         if (bl2 != (Boolean)state.get(POWERED)) {
+         if (bl2 != (Boolean)state.getOrThrow(POWERED)) {
             world.setBlockState(pos, state.with(POWERED, Boolean.valueOf(bl2)), Block.NOTIFY_LISTENERS);
          }
       }
diff -bur namedTargetSrc/net/minecraft/block/AmethystClusterBlock.java namedSrc/net/minecraft/block/AmethystClusterBlock.java
--- namedTargetSrc/net/minecraft/block/AmethystClusterBlock.java	2024-11-19 20:08:21.884686462 +0000
+++ namedSrc/net/minecraft/block/AmethystClusterBlock.java	2024-11-19 20:07:12.355738468 +0000
@@ -132,7 +132,7 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      Direction lv = state.get(FACING);
+      Direction lv = state.getOrThrow(FACING);
       switch (lv) {
          case NORTH:
             return this.northShape;
@@ -155,7 +155,7 @@
     */
    @Override
    protected boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos) {
-      Direction lv = state.get(FACING);
+      Direction lv = state.getOrThrow(FACING);
       BlockPos lv2 = pos.offset(lv.getOpposite());
       return world.getBlockState(lv2).isSideSolidFullSquare(world, lv2, lv);
    }
@@ -174,11 +174,11 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
-      return direction == ((Direction)state.get(FACING)).getOpposite() && !state.canPlaceAt(world, pos)
+      return direction == ((Direction)state.getOrThrow(FACING)).getOpposite() && !state.canPlaceAt(world, pos)
          ? Blocks.AIR.getDefaultState()
          : super.getStateForNeighborUpdate(state, world, arg3, pos, direction, neighborPos, neighborState, random);
    }
@@ -199,7 +199,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -207,7 +207,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 
    /**
@@ -215,7 +215,7 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/AnvilBlock.java namedSrc/net/minecraft/block/AnvilBlock.java
--- namedTargetSrc/net/minecraft/block/AnvilBlock.java	2024-11-19 20:08:21.788685186 +0000
+++ namedSrc/net/minecraft/block/AnvilBlock.java	2024-11-19 20:07:12.247737136 +0000
@@ -157,7 +157,7 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      Direction lv = state.get(FACING);
+      Direction lv = state.getOrThrow(FACING);
       return lv.getAxis() == Direction.Axis.X ? X_AXIS_SHAPE : Z_AXIS_SHAPE;
    }
 
@@ -204,9 +204,11 @@
    @Nullable
    public static BlockState getLandingState(BlockState fallingState) {
       if (fallingState.isOf(Blocks.ANVIL)) {
-         return Blocks.CHIPPED_ANVIL.getDefaultState().with(FACING, (Direction)fallingState.get(FACING));
+         return Blocks.CHIPPED_ANVIL.getDefaultState().with(FACING, (Direction)fallingState.getOrThrow(FACING));
       } else {
-         return fallingState.isOf(Blocks.CHIPPED_ANVIL) ? Blocks.DAMAGED_ANVIL.getDefaultState().with(FACING, (Direction)fallingState.get(FACING)) : null;
+         return fallingState.isOf(Blocks.CHIPPED_ANVIL)
+            ? Blocks.DAMAGED_ANVIL.getDefaultState().with(FACING, (Direction)fallingState.getOrThrow(FACING))
+            : null;
       }
    }
 
@@ -215,7 +217,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/AttachedStemBlock.java namedSrc/net/minecraft/block/AttachedStemBlock.java
--- namedTargetSrc/net/minecraft/block/AttachedStemBlock.java	2024-11-19 20:08:22.052688694 +0000
+++ namedSrc/net/minecraft/block/AttachedStemBlock.java	2024-11-19 20:07:12.607741578 +0000
@@ -108,7 +108,7 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      return (VoxelShape)FACING_TO_SHAPE.get(state.get(FACING));
+      return (VoxelShape)FACING_TO_SHAPE.get(state.getOrThrow(FACING));
    }
 
    /**
@@ -125,7 +125,7 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if (!neighborState.isRegistryKey(this.gourdBlock) && direction == state.get(FACING)) {
+      if (!neighborState.isRegistryKey(this.gourdBlock) && direction == state.getOrThrow(FACING)) {
          Optional<Block> optional = world.getRegistryManager().getLookupOrThrow(RegistryKeys.BLOCK).getOrEmpty(this.stem);
          if (optional.isPresent()) {
             return ((Block)optional.get()).getDefaultState().withIfExists(StemBlock.AGE, Integer.valueOf(7));
@@ -156,7 +156,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -164,7 +164,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/BambooBlock.java namedSrc/net/minecraft/block/BambooBlock.java
--- namedTargetSrc/net/minecraft/block/BambooBlock.java	2024-11-19 20:08:21.832685771 +0000
+++ namedSrc/net/minecraft/block/BambooBlock.java	2024-11-19 20:07:12.295737729 +0000
@@ -143,7 +143,7 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      VoxelShape lv = state.get(LEAVES) == BambooLeaves.LARGE ? LARGE_LEAVES_SHAPE : SMALL_LEAVES_SHAPE;
+      VoxelShape lv = state.getOrThrow(LEAVES) == BambooLeaves.LARGE ? LARGE_LEAVES_SHAPE : SMALL_LEAVES_SHAPE;
       Vec3d lv2 = state.getModelOffset(pos);
       return lv.offset(lv2.x, lv2.y, lv2.z);
    }
@@ -188,11 +188,11 @@
             if (lv2.isOf(Blocks.BAMBOO_SAPLING)) {
                return this.getDefaultState().with(AGE, Integer.valueOf(0));
             } else if (lv2.isOf(Blocks.BAMBOO)) {
-               int i = lv2.get(AGE) > 0 ? 1 : 0;
+               int i = lv2.getOrThrow(AGE) > 0 ? 1 : 0;
                return this.getDefaultState().with(AGE, Integer.valueOf(i));
             } else {
                BlockState lv3 = ctx.getWorld().getBlockState(ctx.getBlockPos().up());
-               return lv3.isOf(Blocks.BAMBOO) ? this.getDefaultState().with(AGE, (Integer)lv3.get(AGE)) : Blocks.BAMBOO_SAPLING.getDefaultState();
+               return lv3.isOf(Blocks.BAMBOO) ? this.getDefaultState().with(AGE, (Integer)lv3.getOrThrow(AGE)) : Blocks.BAMBOO_SAPLING.getDefaultState();
             }
          } else {
             return null;
@@ -215,7 +215,7 @@
     */
    @Override
    protected boolean getRandomTicks(BlockState state) {
-      return (Integer)state.get(STAGE) == 0;
+      return (Integer)state.getOrThrow(STAGE) == 0;
    }
 
    /**
@@ -223,7 +223,7 @@
     */
    @Override
    protected void randomTick(BlockState state, ServerWorld world, BlockPos pos, RandomGenerator random) {
-      if ((Integer)state.get(STAGE) == 0) {
+      if ((Integer)state.getOrThrow(STAGE) == 0) {
          if (random.nextInt(3) == 0 && world.isAir(pos.up()) && world.getBaseLightLevel(pos.up(), 0) >= 9) {
             int i = this.countBambooBelow(world, pos) + 1;
             if (i < 16) {
@@ -259,7 +259,7 @@
          arg3.scheduleBlockTick(pos, this, 1);
       }
 
-      return direction == Direction.UP && neighborState.isOf(Blocks.BAMBOO) && neighborState.get(AGE) > state.get(AGE)
+      return direction == Direction.UP && neighborState.isOf(Blocks.BAMBOO) && neighborState.getOrThrow(AGE) > state.getOrThrow(AGE)
          ? state.cycle(AGE)
          : super.getStateForNeighborUpdate(state, world, arg3, pos, direction, neighborPos, neighborState, random);
    }
@@ -271,7 +271,7 @@
    public boolean isFertilizable(WorldView world, BlockPos pos, BlockState state) {
       int i = this.countBambooAbove(world, pos);
       int j = this.countBambooBelow(world, pos);
-      return i + j + 1 < 16 && (Integer)world.getBlockState(pos.up(i)).get(STAGE) != 1;
+      return i + j + 1 < 16 && (Integer)world.getBlockState(pos.up(i)).getOrThrow(STAGE) != 1;
    }
 
    /**
@@ -295,7 +295,7 @@
       for (int m = 0; m < l; m++) {
          BlockPos lv = pos.up(i);
          BlockState lv2 = world.getBlockState(lv);
-         if (k >= 16 || (Integer)lv2.get(STAGE) == 1 || !world.isAir(lv.up())) {
+         if (k >= 16 || (Integer)lv2.getOrThrow(STAGE) == 1 || !world.isAir(lv.up())) {
             return;
          }
 
@@ -323,9 +323,9 @@
       BlockState lv3 = world.getBlockState(lv2);
       BambooLeaves lv4 = BambooLeaves.NONE;
       if (height >= 1) {
-         if (!lv.isOf(Blocks.BAMBOO) || lv.get(LEAVES) == BambooLeaves.NONE) {
+         if (!lv.isOf(Blocks.BAMBOO) || lv.getOrThrow(LEAVES) == BambooLeaves.NONE) {
             lv4 = BambooLeaves.SMALL;
-         } else if (lv.isOf(Blocks.BAMBOO) && lv.get(LEAVES) != BambooLeaves.NONE) {
+         } else if (lv.isOf(Blocks.BAMBOO) && lv.getOrThrow(LEAVES) != BambooLeaves.NONE) {
             lv4 = BambooLeaves.LARGE;
             if (lv3.isOf(Blocks.BAMBOO)) {
                world.setBlockState(pos.down(), lv.with(LEAVES, BambooLeaves.SMALL), Block.NOTIFY_ALL);
@@ -334,7 +334,7 @@
          }
       }
 
-      int j = state.get(AGE) != 1 && !lv3.isOf(Blocks.BAMBOO) ? 0 : 1;
+      int j = state.getOrThrow(AGE) != 1 && !lv3.isOf(Blocks.BAMBOO) ? 0 : 1;
       int k = (height < 11 || !(random.nextFloat() < 0.25F)) && height != 15 ? 0 : 1;
       world.setBlockState(pos.up(), this.getDefaultState().with(AGE, Integer.valueOf(j)).with(LEAVES, lv4).with(STAGE, Integer.valueOf(k)), Block.NOTIFY_ALL);
    }
diff -bur namedTargetSrc/net/minecraft/block/BannerBlock.java namedSrc/net/minecraft/block/BannerBlock.java
--- namedTargetSrc/net/minecraft/block/BannerBlock.java	2024-11-19 20:08:22.000688003 +0000
+++ namedSrc/net/minecraft/block/BannerBlock.java	2024-11-19 20:07:12.519740491 +0000
@@ -6,7 +6,6 @@
 import java.util.Map;
 import net.minecraft.item.ItemPlacementContext;
 import net.minecraft.state.StateManager;
-import net.minecraft.state.properties.RotationSegment;
 import net.minecraft.state.property.IntProperty;
 import net.minecraft.state.property.Properties;
 import net.minecraft.util.BlockMirror;
@@ -14,6 +13,7 @@
 import net.minecraft.util.DyeColor;
 import net.minecraft.util.math.BlockPos;
 import net.minecraft.util.math.Direction;
+import net.minecraft.util.math.RotationSegment;
 import net.minecraft.util.random.RandomGenerator;
 import net.minecraft.util.shape.VoxelShape;
 import net.minecraft.world.BlockView;
@@ -114,7 +114,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(ROTATION, Integer.valueOf(rotation.rotate((Integer)state.get(ROTATION), 16)));
+      return state.with(ROTATION, Integer.valueOf(rotation.rotate((Integer)state.getOrThrow(ROTATION), 16)));
    }
 
    /**
@@ -122,7 +122,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.with(ROTATION, Integer.valueOf(mirror.mirror((Integer)state.get(ROTATION), 16)));
+      return state.with(ROTATION, Integer.valueOf(mirror.mirror((Integer)state.getOrThrow(ROTATION), 16)));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/BarrelBlock.java namedSrc/net/minecraft/block/BarrelBlock.java
--- namedTargetSrc/net/minecraft/block/BarrelBlock.java	2024-11-19 20:08:21.960687472 +0000
+++ namedSrc/net/minecraft/block/BarrelBlock.java	2024-11-19 20:07:12.451739652 +0000
@@ -126,7 +126,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -134,7 +134,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/BarrierBlock.java namedSrc/net/minecraft/block/BarrierBlock.java
--- namedTargetSrc/net/minecraft/block/BarrierBlock.java	2024-11-19 20:08:21.784685133 +0000
+++ namedSrc/net/minecraft/block/BarrierBlock.java	2024-11-19 20:07:12.243737087 +0000
@@ -90,7 +90,7 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
@@ -102,7 +102,7 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 
    /**
@@ -134,7 +134,7 @@
     * Mapping not found
     */
    @Override
-   public boolean canFillWithFluid(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid arg5) {
-      return player != null && player.isCreative() ? Waterloggable.super.canFillWithFluid(player, world, pos, state, arg5) : false;
+   public boolean canFillWithFluid(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) {
+      return player != null && player.isCreative() ? Waterloggable.super.canFillWithFluid(player, world, pos, state, fluid) : false;
    }
 }
diff -bur namedTargetSrc/net/minecraft/block/BedBlock.java namedSrc/net/minecraft/block/BedBlock.java
--- namedTargetSrc/net/minecraft/block/BedBlock.java	2024-11-19 20:08:21.960687472 +0000
+++ namedSrc/net/minecraft/block/BedBlock.java	2024-11-19 20:07:12.443739555 +0000
@@ -149,7 +149,7 @@
    @Nullable
    public static Direction getDirection(BlockView world, BlockPos pos) {
       BlockState lv = world.getBlockState(pos);
-      return lv.getBlock() instanceof BedBlock ? lv.get(FACING) : null;
+      return lv.getBlock() instanceof BedBlock ? lv.getOrThrow(FACING) : null;
    }
 
    /**
@@ -160,8 +160,8 @@
       if (world.isClient) {
          return ActionResult.SUCCESS_SERVER;
       } else {
-         if (state.get(PART) != BedPart.HEAD) {
-            pos = pos.offset(state.get(FACING));
+         if (state.getOrThrow(PART) != BedPart.HEAD) {
+            pos = pos.offset(state.getOrThrow(FACING));
             state = world.getBlockState(pos);
             if (!state.isOf(this)) {
                return ActionResult.CONSUME;
@@ -170,7 +170,7 @@
 
          if (!isBedWorking(world)) {
             world.removeBlock(pos, false);
-            BlockPos lv = pos.offset(((Direction)state.get(FACING)).getOpposite());
+            BlockPos lv = pos.offset(((Direction)state.getOrThrow(FACING)).getOpposite());
             if (world.getBlockState(lv).isOf(this)) {
                world.removeBlock(lv, false);
             }
@@ -178,7 +178,7 @@
             Vec3d lv2 = pos.ofCenter();
             world.spawnExplosion(null, world.getDamageSources().badRespawnPoint(lv2), null, lv2, 5.0F, true, World.ExplosionSourceType.BLOCK);
             return ActionResult.SUCCESS_SERVER;
-         } else if ((Boolean)state.get(OCCUPIED)) {
+         } else if ((Boolean)state.getOrThrow(OCCUPIED)) {
             if (!this.wakeVillager(world, pos)) {
                player.sendMessage(Text.translatable("block.minecraft.bed.occupied"), true);
             }
@@ -268,9 +268,9 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if (direction == getDirectionTowardsOtherPart(state.get(PART), state.get(FACING))) {
-         return neighborState.isOf(this) && neighborState.get(PART) != state.get(PART)
-            ? state.with(OCCUPIED, (Boolean)neighborState.get(OCCUPIED))
+      if (direction == getDirectionTowardsOtherPart(state.getOrThrow(PART), state.getOrThrow(FACING))) {
+         return neighborState.isOf(this) && neighborState.getOrThrow(PART) != state.getOrThrow(PART)
+            ? state.with(OCCUPIED, (Boolean)neighborState.getOrThrow(OCCUPIED))
             : Blocks.AIR.getDefaultState();
       } else {
          return super.getStateForNeighborUpdate(state, world, arg3, pos, direction, neighborPos, neighborState, random);
@@ -291,11 +291,11 @@
    @Override
    public BlockState onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) {
       if (!world.isClient && player.isCreative()) {
-         BedPart lv = state.get(PART);
+         BedPart lv = state.getOrThrow(PART);
          if (lv == BedPart.FOOT) {
-            BlockPos lv2 = pos.offset(getDirectionTowardsOtherPart(lv, state.get(FACING)));
+            BlockPos lv2 = pos.offset(getDirectionTowardsOtherPart(lv, state.getOrThrow(FACING)));
             BlockState lv3 = world.getBlockState(lv2);
-            if (lv3.isOf(this) && lv3.get(PART) == BedPart.HEAD) {
+            if (lv3.isOf(this) && lv3.getOrThrow(PART) == BedPart.HEAD) {
                world.setBlockState(lv2, Blocks.AIR.getDefaultState(), Block.NOTIFY_ALL | Block.SKIP_DROPS);
                world.syncWorldEvent(player, WorldEvents.BLOCK_BROKEN, lv2, Block.getRawIdFromState(lv3));
             }
@@ -341,8 +341,8 @@
     * @mapping {@literal named getOppositePartDirection Lnet/minecraft/block/BedBlock;getOppositePartDirection(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/math/Direction;}
     */
    public static Direction getOppositePartDirection(BlockState state) {
-      Direction lv = state.get(FACING);
-      return state.get(PART) == BedPart.HEAD ? lv.getOpposite() : lv;
+      Direction lv = state.getOrThrow(FACING);
+      return state.getOrThrow(PART) == BedPart.HEAD ? lv.getOpposite() : lv;
    }
 
    /**
@@ -350,7 +350,7 @@
     * @mapping {@literal named getBedPart Lnet/minecraft/block/BedBlock;getBedPart(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/DoubleBlockProperties$Type;}
     */
    public static DoubleBlockProperties.Type getBedPart(BlockState state) {
-      BedPart lv = state.get(PART);
+      BedPart lv = state.getOrThrow(PART);
       return lv == BedPart.HEAD ? DoubleBlockProperties.Type.FIRST : DoubleBlockProperties.Type.SECOND;
    }
 
@@ -451,7 +451,7 @@
    public void onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity entity, ItemStack stack) {
       super.onPlaced(world, pos, state, entity, stack);
       if (!world.isClient) {
-         BlockPos lv = pos.offset(state.get(FACING));
+         BlockPos lv = pos.offset(state.getOrThrow(FACING));
          world.setBlockState(lv, state.with(PART, BedPart.HEAD), Block.NOTIFY_ALL);
          world.updateNeighbors(pos, Blocks.AIR);
          state.updateNeighbors(world, pos, Block.NOTIFY_ALL);
@@ -471,7 +471,7 @@
     */
    @Override
    protected long getRenderingSeed(BlockState state, BlockPos pos) {
-      BlockPos lv = pos.offset(state.get(FACING), state.get(PART) == BedPart.HEAD ? 0 : 1);
+      BlockPos lv = pos.offset(state.getOrThrow(FACING), state.getOrThrow(PART) == BedPart.HEAD ? 0 : 1);
       return MathHelper.hashCode(lv.getX(), pos.getY(), lv.getZ());
    }
 
diff -bur namedTargetSrc/net/minecraft/block/BeehiveBlock.java namedSrc/net/minecraft/block/BeehiveBlock.java
--- namedTargetSrc/net/minecraft/block/BeehiveBlock.java	2024-11-19 20:08:21.992687898 +0000
+++ namedSrc/net/minecraft/block/BeehiveBlock.java	2024-11-19 20:07:12.499740245 +0000
@@ -124,7 +124,7 @@
     */
    @Override
    protected int getComparatorOutput(BlockState state, World world, BlockPos pos) {
-      return (Integer)state.get(HONEY_LEVEL);
+      return (Integer)state.getOrThrow(HONEY_LEVEL);
    }
 
    /**
@@ -188,7 +188,7 @@
     */
    @Override
    protected ActionResult onInteract(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult result) {
-      int i = (Integer)state.get(HONEY_LEVEL);
+      int i = (Integer)state.getOrThrow(HONEY_LEVEL);
       boolean bl = false;
       if (i >= 5) {
          Item lv = stack.getItem();
@@ -265,7 +265,7 @@
     */
    @Override
    public void randomDisplayTick(BlockState state, World world, BlockPos pos, RandomGenerator random) {
-      if ((Integer)state.get(HONEY_LEVEL) >= 5) {
+      if ((Integer)state.getOrThrow(HONEY_LEVEL) >= 5) {
          for (int i = 0; i < random.nextInt(1) + 1; i++) {
             this.spawnHoneyParticles(world, pos, state);
          }
@@ -371,7 +371,7 @@
          && player.isCreative()
          && lv.getGameRules().getBooleanValue(GameRules.DO_TILE_DROPS)
          && world.getBlockEntity(pos) instanceof BeehiveBlockEntity lv3) {
-         int i = (Integer)state.get(HONEY_LEVEL);
+         int i = (Integer)state.getOrThrow(HONEY_LEVEL);
          boolean bl = !lv3.hasNoBees();
          if (bl || i > 0) {
             ItemStack lv4 = new ItemStack(this);
@@ -413,7 +413,7 @@
    protected ItemStack getPickStack(WorldView world, BlockPos pos, BlockState state, boolean withComponents) {
       ItemStack lv = super.getPickStack(world, pos, state, withComponents);
       if (withComponents) {
-         lv.set(DataComponentTypes.BLOCK_STATE, BlockStateComponent.DEFAULT.with(HONEY_LEVEL, (Integer)state.get(HONEY_LEVEL)));
+         lv.set(DataComponentTypes.BLOCK_STATE, BlockStateComponent.DEFAULT.with(HONEY_LEVEL, (Integer)state.getOrThrow(HONEY_LEVEL)));
       }
 
       return lv;
@@ -445,7 +445,7 @@
     */
    @Override
    public BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -453,7 +453,7 @@
     */
    @Override
    public BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/BellBlock.java namedSrc/net/minecraft/block/BellBlock.java
--- namedTargetSrc/net/minecraft/block/BellBlock.java	2024-11-19 20:08:21.928687047 +0000
+++ namedSrc/net/minecraft/block/BellBlock.java	2024-11-19 20:07:12.411739159 +0000
@@ -155,7 +155,7 @@
    @Override
    protected void neighborUpdate(BlockState state, World world, BlockPos pos, Block block, @Nullable Orientation orientation, boolean notify) {
       boolean bl2 = world.isReceivingRedstonePower(pos);
-      if (bl2 != (Boolean)state.get(POWERED)) {
+      if (bl2 != (Boolean)state.getOrThrow(POWERED)) {
          if (bl2) {
             this.ring(world, pos, null);
          }
@@ -208,8 +208,8 @@
     */
    private boolean isPointOnBell(BlockState state, Direction side, double y) {
       if (side.getAxis() != Direction.Axis.Y && !(y > 0.8124F)) {
-         Direction lv = state.get(FACING);
-         Attachment lv2 = state.get(ATTACHMENT);
+         Direction lv = state.getOrThrow(FACING);
+         Attachment lv2 = state.getOrThrow(ATTACHMENT);
          switch (lv2) {
             case FLOOR:
                return lv.getAxis() == side.getAxis();
@@ -242,7 +242,7 @@
       BlockEntity lv = world.getBlockEntity(pos);
       if (!world.isClient && lv instanceof BellBlockEntity) {
          if (direction == null) {
-            direction = world.getBlockState(pos).get(FACING);
+            direction = world.getBlockState(pos).getOrThrow(FACING);
          }
 
          ((BellBlockEntity)lv).activate(direction);
@@ -259,8 +259,8 @@
     * @mapping {@literal named getShape Lnet/minecraft/block/BellBlock;getShape(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;}
     */
    private VoxelShape getShape(BlockState state) {
-      Direction lv = state.get(FACING);
-      Attachment lv2 = state.get(ATTACHMENT);
+      Direction lv = state.getOrThrow(FACING);
+      Attachment lv2 = state.getOrThrow(ATTACHMENT);
       if (lv2 == Attachment.FLOOR) {
          return lv != Direction.NORTH && lv != Direction.SOUTH ? EAST_WEST_SHAPE : NORTH_SOUTH_SHAPE;
       } else if (lv2 == Attachment.CEILING) {
@@ -357,17 +357,19 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      Attachment lv = state.get(ATTACHMENT);
+      Attachment lv = state.getOrThrow(ATTACHMENT);
       Direction lv2 = getPlacementSide(state).getOpposite();
       if (lv2 == direction && !state.canPlaceAt(world, pos) && lv != Attachment.DOUBLE_WALL) {
          return Blocks.AIR.getDefaultState();
       } else {
-         if (direction.getAxis() == ((Direction)state.get(FACING)).getAxis()) {
+         if (direction.getAxis() == ((Direction)state.getOrThrow(FACING)).getAxis()) {
             if (lv == Attachment.DOUBLE_WALL && !neighborState.isSideSolidFullSquare(world, neighborPos, direction)) {
                return state.with(ATTACHMENT, Attachment.SINGLE_WALL).with(FACING, direction.getOpposite());
             }
 
-            if (lv == Attachment.SINGLE_WALL && lv2.getOpposite() == direction && neighborState.isSideSolidFullSquare(world, neighborPos, state.get(FACING))) {
+            if (lv == Attachment.SINGLE_WALL
+               && lv2.getOpposite() == direction
+               && neighborState.isSideSolidFullSquare(world, neighborPos, state.getOrThrow(FACING))) {
                return state.with(ATTACHMENT, Attachment.DOUBLE_WALL);
             }
          }
@@ -390,13 +392,13 @@
     * @mapping {@literal named getPlacementSide Lnet/minecraft/block/BellBlock;getPlacementSide(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/math/Direction;}
     */
    private static Direction getPlacementSide(BlockState state) {
-      switch ((Attachment)state.get(ATTACHMENT)) {
+      switch ((Attachment)state.getOrThrow(ATTACHMENT)) {
          case FLOOR:
             return Direction.UP;
          case CEILING:
             return Direction.DOWN;
          default:
-            return ((Direction)state.get(FACING)).getOpposite();
+            return ((Direction)state.getOrThrow(FACING)).getOpposite();
       }
    }
 
@@ -439,7 +441,7 @@
     */
    @Override
    public BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -447,6 +449,6 @@
     */
    @Override
    public BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 }
diff -bur namedTargetSrc/net/minecraft/block/BigDripleafBlock.java namedSrc/net/minecraft/block/BigDripleafBlock.java
--- namedTargetSrc/net/minecraft/block/BigDripleafBlock.java	2024-11-19 20:08:21.960687472 +0000
+++ namedSrc/net/minecraft/block/BigDripleafBlock.java	2024-11-19 20:07:12.451739652 +0000
@@ -156,7 +156,7 @@
     * @mapping {@literal named getShapeForState Lnet/minecraft/block/BigDripleafBlock;getShapeForState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;}
     */
    private static VoxelShape getShapeForState(BlockState state) {
-      return VoxelShapes.union((VoxelShape)SHAPES_FOR_TILT.get(state.get(TILT)), (VoxelShape)SHAPES_FOR_DIRECTION.get(state.get(FACING)));
+      return VoxelShapes.union((VoxelShape)SHAPES_FOR_TILT.get(state.getOrThrow(TILT)), (VoxelShape)SHAPES_FOR_DIRECTION.get(state.getOrThrow(FACING)));
    }
 
    /**
@@ -225,7 +225,7 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 
    /**
@@ -255,7 +255,7 @@
       if (direction == Direction.DOWN && !state.canPlaceAt(world, pos)) {
          return Blocks.AIR.getDefaultState();
       } else {
-         if ((Boolean)state.get(WATERLOGGED)) {
+         if ((Boolean)state.getOrThrow(WATERLOGGED)) {
             arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
          }
 
@@ -290,7 +290,7 @@
       BlockPos lv = pos.up();
       BlockState lv2 = world.getBlockState(lv);
       if (canGrowInto(world, lv, lv2)) {
-         Direction lv3 = state.get(FACING);
+         Direction lv3 = state.getOrThrow(FACING);
          BigDripleafStemBlock.placeStemAt(world, pos, state.getFluidState(), lv3);
          placeDripleafAt(world, lv, lv2.getFluidState(), lv3);
       }
@@ -302,7 +302,7 @@
    @Override
    protected void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) {
       if (!world.isClient) {
-         if (state.get(TILT) == Tilt.NONE && isEntityAbove(pos, entity) && !world.isReceivingRedstonePower(pos)) {
+         if (state.getOrThrow(TILT) == Tilt.NONE && isEntityAbove(pos, entity) && !world.isReceivingRedstonePower(pos)) {
             this.changeTilt(state, world, pos, Tilt.UNSTABLE, null);
          }
       }
@@ -316,7 +316,7 @@
       if (world.isReceivingRedstonePower(pos)) {
          resetTilt(state, world, pos);
       } else {
-         Tilt lv = state.get(TILT);
+         Tilt lv = state.getOrThrow(TILT);
          if (lv == Tilt.UNSTABLE) {
             this.changeTilt(state, world, pos, Tilt.PARTIAL, SoundEvents.BLOCK_BIG_DRIPLEAF_TILT_DOWN);
          } else if (lv == Tilt.PARTIAL) {
@@ -376,7 +376,7 @@
     */
    private static void resetTilt(BlockState state, World world, BlockPos pos) {
       changeTilt(state, world, pos, Tilt.NONE);
-      if (state.get(TILT) != Tilt.NONE) {
+      if (state.getOrThrow(TILT) != Tilt.NONE) {
          playTiltSound(world, pos, SoundEvents.BLOCK_BIG_DRIPLEAF_TILT_UP);
       }
    }
@@ -386,7 +386,7 @@
     * @mapping {@literal named changeTilt Lnet/minecraft/block/BigDripleafBlock;changeTilt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/enums/Tilt;)V}
     */
    private static void changeTilt(BlockState state, World world, BlockPos pos, Tilt tilt) {
-      Tilt lv = state.get(TILT);
+      Tilt lv = state.getOrThrow(TILT);
       world.setBlockState(pos, state.with(TILT, tilt), Block.NOTIFY_LISTENERS);
       if (tilt.isStable() && tilt != lv) {
          world.emitGameEvent(null, GameEvent.BLOCK_CHANGE, pos);
@@ -398,7 +398,7 @@
     */
    @Override
    protected VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      return (VoxelShape)SHAPES_FOR_TILT.get(state.get(TILT));
+      return (VoxelShape)SHAPES_FOR_TILT.get(state.getOrThrow(TILT));
    }
 
    /**
@@ -419,7 +419,7 @@
       boolean bl = lv.isOf(Blocks.BIG_DRIPLEAF) || lv.isOf(Blocks.BIG_DRIPLEAF_STEM);
       return this.getDefaultState()
          .with(WATERLOGGED, Boolean.valueOf(lv2.isEqualAndStill(Fluids.WATER)))
-         .with(FACING, bl ? (Direction)lv.get(FACING) : ctx.getPlayerFacing().getOpposite());
+         .with(FACING, bl ? (Direction)lv.getOrThrow(FACING) : ctx.getPlayerFacing().getOpposite());
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/BigDripleafStemBlock.java namedSrc/net/minecraft/block/BigDripleafStemBlock.java
--- namedTargetSrc/net/minecraft/block/BigDripleafStemBlock.java	2024-11-19 20:08:21.892686568 +0000
+++ namedSrc/net/minecraft/block/BigDripleafStemBlock.java	2024-11-19 20:07:12.367738617 +0000
@@ -84,7 +84,7 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      switch ((Direction)state.get(FACING)) {
+      switch ((Direction)state.getOrThrow(FACING)) {
          case SOUTH:
             return SOUTH_SHAPE;
          case NORTH:
@@ -110,7 +110,7 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 
    /**
@@ -154,7 +154,7 @@
          arg3.scheduleBlockTick(pos, this, 1);
       }
 
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
@@ -203,7 +203,7 @@
       if (!optional.isEmpty()) {
          BlockPos lv = (BlockPos)optional.get();
          BlockPos lv2 = lv.up();
-         Direction lv3 = state.get(FACING);
+         Direction lv3 = state.getOrThrow(FACING);
          placeStemAt(world, lv, world.getFluidState(lv), lv3);
          BigDripleafBlock.placeDripleafAt(world, lv2, world.getFluidState(lv2), lv3);
       }
diff -bur namedTargetSrc/net/minecraft/block/BlastFurnaceBlock.java namedSrc/net/minecraft/block/BlastFurnaceBlock.java
--- namedTargetSrc/net/minecraft/block/BlastFurnaceBlock.java	2024-11-19 20:08:21.992687898 +0000
+++ namedSrc/net/minecraft/block/BlastFurnaceBlock.java	2024-11-19 20:07:12.507740343 +0000
@@ -78,7 +78,7 @@
     */
    @Override
    public void randomDisplayTick(BlockState state, World world, BlockPos pos, RandomGenerator random) {
-      if ((Boolean)state.get(LIT)) {
+      if ((Boolean)state.getOrThrow(LIT)) {
          double d = (double)pos.getX() + 0.5;
          double e = (double)pos.getY();
          double f = (double)pos.getZ() + 0.5;
@@ -86,7 +86,7 @@
             world.playSound(d, e, f, SoundEvents.BLOCK_BLASTFURNACE_FIRE_CRACKLE, SoundCategory.BLOCKS, 1.0F, 1.0F, false);
          }
 
-         Direction lv = state.get(FACING);
+         Direction lv = state.getOrThrow(FACING);
          Direction.Axis lv2 = lv.getAxis();
          double g = 0.52;
          double h = random.nextDouble() * 0.6 - 0.3;
diff -bur namedTargetSrc/net/minecraft/block/Block.java namedSrc/net/minecraft/block/Block.java
--- namedTargetSrc/net/minecraft/block/Block.java	2024-11-19 20:08:22.080689067 +0000
+++ namedSrc/net/minecraft/block/Block.java	2024-11-19 20:07:12.655742170 +0000
@@ -240,7 +240,7 @@
           * @mapping {@literal named rehash Lnet/minecraft/block/Block$C_znvnetlf;rehash(I)V}
           */
          @Override
-         protected void rehash(int i) {
+         protected void rehash(int unused) {
          }
       };
       object2ByteLinkedOpenHashMap.defaultReturnValue((byte)127);
@@ -807,7 +807,7 @@
     * @mapping {@literal named copyProperty Lnet/minecraft/block/Block;copyProperty(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/state/property/Property;)Lnet/minecraft/block/BlockState;}
     */
    private static <T extends Comparable<T>> BlockState copyProperty(BlockState source, BlockState target, Property<T> property) {
-      return target.with(property, source.get(property));
+      return target.with(property, source.getOrThrow(property));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/Blocks.java namedSrc/net/minecraft/block/Blocks.java
--- namedTargetSrc/net/minecraft/block/Blocks.java	2024-11-19 20:08:21.896686621 +0000
+++ namedSrc/net/minecraft/block/Blocks.java	2024-11-19 20:07:12.367738617 +0000
@@ -77,7 +77,7 @@
    /**
     * Mapping not found
     */
-   private static final AbstractBlock.ContextPredicate f_bqfkdntj = (state, world, pos) -> !(Boolean)state.get(PistonBlock.EXTENDED);
+   private static final AbstractBlock.ContextPredicate f_bqfkdntj = (state, world, pos) -> !(Boolean)state.getOrThrow(PistonBlock.EXTENDED);
    /**
     * @mapping {@literal hashed f_libzmngp Lnet/minecraft/unmapped/C_jricjyva;f_libzmngp:Lnet/minecraft/unmapped/C_mmxmpdoq;}
     * @mapping {@literal named AIR Lnet/minecraft/block/Blocks;AIR:Lnet/minecraft/block/Block;}
@@ -2143,7 +2143,7 @@
       "wheat",
       CropBlock::new,
       AbstractBlock.Settings.create()
-         .mapColor(state -> state.get(CropBlock.AGE) >= 6 ? C_vhpmxtfv.f_crmswdpe : C_vhpmxtfv.f_librttps)
+         .mapColor(state -> state.getOrThrow(CropBlock.AGE) >= 6 ? C_vhpmxtfv.f_crmswdpe : C_vhpmxtfv.f_librttps)
          .noCollision()
          .ticksRandomly()
          .breakInstantly()
@@ -3056,7 +3056,7 @@
          .strength(0.1F)
          .toolRequired()
          .sounds(BlockSoundGroup.SNOW)
-         .blockVision((state, world, pos) -> (Integer)state.get(SnowBlock.LAYERS) >= 8)
+         .blockVision((state, world, pos) -> (Integer)state.getOrThrow(SnowBlock.LAYERS) >= 8)
          .pistonBehavior(PistonBehavior.DESTROY)
    );
    /**
@@ -8219,7 +8219,7 @@
       SeaPickleBlock::new,
       AbstractBlock.Settings.create()
          .mapColor(C_vhpmxtfv.f_tnwxiwcj)
-         .luminance(state -> SeaPickleBlock.isDry(state) ? 0 : 3 + 3 * (Integer)state.get(SeaPickleBlock.PICKLES))
+         .luminance(state -> SeaPickleBlock.isDry(state) ? 0 : 3 + 3 * (Integer)state.getOrThrow(SeaPickleBlock.PICKLES))
          .sounds(BlockSoundGroup.SLIME)
          .nonOpaque()
          .pistonBehavior(PistonBehavior.DESTROY)
@@ -11056,7 +11056,7 @@
       AbstractBlock.Settings.create()
          .mapColor(C_vhpmxtfv.f_aizqsezc)
          .instrument(NoteBlockInstrument.BASEDRUM)
-         .luminance(state -> ((TrialSpawnerState)state.get(TrialSpawnerBlock.STATE)).getLuminance())
+         .luminance(state -> ((TrialSpawnerState)state.getOrThrow(TrialSpawnerBlock.STATE)).getLuminance())
          .strength(50.0F)
          .sounds(BlockSoundGroup.BLOCK_TRIAL_SPAWNER_BREAK)
          .blockVision(Blocks::nonSolid)
@@ -11074,7 +11074,7 @@
          .instrument(NoteBlockInstrument.BASEDRUM)
          .nonOpaque()
          .sounds(BlockSoundGroup.BLOCK_VAULT_BREAK)
-         .luminance(state -> ((VaultState)state.get(VaultBlock.VAULT_STATE)).getLightLevel())
+         .luminance(state -> ((VaultState)state.getOrThrow(VaultBlock.VAULT_STATE)).getLightLevel())
          .strength(50.0F)
          .blockVision(Blocks::nonSolid)
    );
@@ -11187,7 +11187,7 @@
     * @mapping {@literal named luminanceOf Lnet/minecraft/block/Blocks;luminanceOf(I)Ljava/util/function/ToIntFunction;}
     */
    private static ToIntFunction<BlockState> luminanceOf(int lightLevel) {
-      return state -> state.get(Properties.LIT) ? lightLevel : 0;
+      return state -> state.getOrThrow(Properties.LIT) ? lightLevel : 0;
    }
 
    /**
@@ -11195,7 +11195,7 @@
     * @mapping {@literal named waterlogMapColor Lnet/minecraft/block/Blocks;waterlogMapColor(Lnet/minecraft/unmapped/C_vhpmxtfv;)Ljava/util/function/Function;}
     */
    private static Function<BlockState, C_vhpmxtfv> waterlogMapColor(C_vhpmxtfv arg) {
-      return state -> state.get(Properties.WATERLOGGED) ? C_vhpmxtfv.f_ktlkonve : arg;
+      return state -> state.getOrThrow(Properties.WATERLOGGED) ? C_vhpmxtfv.f_ktlkonve : arg;
    }
 
    /**
@@ -11231,7 +11231,7 @@
          path,
          settings -> new BedBlock(arg, settings),
          AbstractBlock.Settings.create()
-            .mapColor(state -> state.get(BedBlock.PART) == BedPart.FOOT ? arg.getMapColor() : C_vhpmxtfv.f_bwngrngh)
+            .mapColor(state -> state.getOrThrow(BedBlock.PART) == BedPart.FOOT ? arg.getMapColor() : C_vhpmxtfv.f_bwngrngh)
             .sounds(BlockSoundGroup.WOOD)
             .strength(0.2F)
             .nonOpaque()
@@ -11246,7 +11246,7 @@
     */
    private static AbstractBlock.Settings m_zclwojlu(C_vhpmxtfv arg, C_vhpmxtfv arg2, BlockSoundGroup soundGroup) {
       return AbstractBlock.Settings.create()
-         .mapColor(state -> state.get(PillarBlock.AXIS) == Direction.Axis.Y ? arg : arg2)
+         .mapColor(state -> state.getOrThrow(PillarBlock.AXIS) == Direction.Axis.Y ? arg : arg2)
          .instrument(NoteBlockInstrument.BASS)
          .strength(2.0F)
          .sounds(soundGroup)
diff -bur namedTargetSrc/net/minecraft/block/BubbleColumnBlock.java namedSrc/net/minecraft/block/BubbleColumnBlock.java
--- namedTargetSrc/net/minecraft/block/BubbleColumnBlock.java	2024-11-19 20:08:22.080689067 +0000
+++ namedSrc/net/minecraft/block/BubbleColumnBlock.java	2024-11-19 20:07:12.651742120 +0000
@@ -73,7 +73,7 @@
    protected void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) {
       BlockState lv = world.getBlockState(pos.up());
       if (lv.isAir()) {
-         entity.onBubbleColumnSurfaceCollision((Boolean)state.get(DRAG));
+         entity.onBubbleColumnSurfaceCollision((Boolean)state.getOrThrow(DRAG));
          if (!world.isClient) {
             ServerWorld lv2 = (ServerWorld)world;
 
@@ -103,7 +103,7 @@
             }
          }
       } else {
-         entity.onBubbleColumnCollision((Boolean)state.get(DRAG));
+         entity.onBubbleColumnCollision((Boolean)state.getOrThrow(DRAG));
       }
    }
 
@@ -181,7 +181,7 @@
       double d = (double)pos.getX();
       double e = (double)pos.getY();
       double f = (double)pos.getZ();
-      if ((Boolean)state.get(DRAG)) {
+      if ((Boolean)state.getOrThrow(DRAG)) {
          world.addImportantParticle(ParticleTypes.CURRENT_DOWN, d + 0.5, e + 0.8, f, 0.0, 0.0, 0.0);
          if (random.nextInt(200) == 0) {
             world.playSound(
diff -bur namedTargetSrc/net/minecraft/block/BuddingAmethystBlock.java namedSrc/net/minecraft/block/BuddingAmethystBlock.java
--- namedTargetSrc/net/minecraft/block/BuddingAmethystBlock.java	2024-11-19 20:08:21.824685665 +0000
+++ namedSrc/net/minecraft/block/BuddingAmethystBlock.java	2024-11-19 20:07:12.287737629 +0000
@@ -56,11 +56,11 @@
          Block lv4 = null;
          if (canGrowIn(lv3)) {
             lv4 = Blocks.SMALL_AMETHYST_BUD;
-         } else if (lv3.isOf(Blocks.SMALL_AMETHYST_BUD) && lv3.get(AmethystClusterBlock.FACING) == lv) {
+         } else if (lv3.isOf(Blocks.SMALL_AMETHYST_BUD) && lv3.getOrThrow(AmethystClusterBlock.FACING) == lv) {
             lv4 = Blocks.MEDIUM_AMETHYST_BUD;
-         } else if (lv3.isOf(Blocks.MEDIUM_AMETHYST_BUD) && lv3.get(AmethystClusterBlock.FACING) == lv) {
+         } else if (lv3.isOf(Blocks.MEDIUM_AMETHYST_BUD) && lv3.getOrThrow(AmethystClusterBlock.FACING) == lv) {
             lv4 = Blocks.LARGE_AMETHYST_BUD;
-         } else if (lv3.isOf(Blocks.LARGE_AMETHYST_BUD) && lv3.get(AmethystClusterBlock.FACING) == lv) {
+         } else if (lv3.isOf(Blocks.LARGE_AMETHYST_BUD) && lv3.getOrThrow(AmethystClusterBlock.FACING) == lv) {
             lv4 = Blocks.AMETHYST_CLUSTER;
          }
 

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View the diff here (2/3):
diff -bur namedTargetSrc/net/minecraft/block/ButtonBlock.java namedSrc/net/minecraft/block/ButtonBlock.java
--- namedTargetSrc/net/minecraft/block/ButtonBlock.java	2024-11-19 20:08:21.904686728 +0000
+++ namedSrc/net/minecraft/block/ButtonBlock.java	2024-11-19 20:07:12.379738765 +0000
@@ -189,9 +189,9 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      Direction lv = state.get(FACING);
-      boolean bl = (Boolean)state.get(POWERED);
-      switch ((WallMountLocation)state.get(FACE)) {
+      Direction lv = state.getOrThrow(FACING);
+      boolean bl = (Boolean)state.getOrThrow(POWERED);
+      switch ((WallMountLocation)state.getOrThrow(FACE)) {
          case FLOOR:
             if (lv.getAxis() == Direction.Axis.X) {
                return bl ? FLOOR_X_PRESSED_SHAPE : FLOOR_X_SHAPE;
@@ -220,7 +220,7 @@
     */
    @Override
    protected ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult result) {
-      if ((Boolean)state.get(POWERED)) {
+      if ((Boolean)state.getOrThrow(POWERED)) {
          return ActionResult.CONSUME;
       } else {
          this.press(state, world, pos, player);
@@ -233,7 +233,7 @@
     */
    @Override
    protected void onExplosion(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) {
-      if (explosion.canTriggerBlocks() && !(Boolean)state.get(POWERED)) {
+      if (explosion.canTriggerBlocks() && !(Boolean)state.getOrThrow(POWERED)) {
          this.press(state, world, pos, null);
       }
 
@@ -274,7 +274,7 @@
    @Override
    protected void onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) {
       if (!moved && !state.isOf(newState.getBlock())) {
-         if ((Boolean)state.get(POWERED)) {
+         if ((Boolean)state.getOrThrow(POWERED)) {
             this.updateNeighbors(state, world, pos);
          }
 
@@ -287,7 +287,7 @@
     */
    @Override
    protected int getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) {
-      return state.get(POWERED) ? 15 : 0;
+      return state.getOrThrow(POWERED) ? 15 : 0;
    }
 
    /**
@@ -295,7 +295,7 @@
     */
    @Override
    protected int getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) {
-      return state.get(POWERED) && getDirection(state) == direction ? 15 : 0;
+      return state.getOrThrow(POWERED) && getDirection(state) == direction ? 15 : 0;
    }
 
    /**
@@ -311,7 +311,7 @@
     */
    @Override
    protected void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, RandomGenerator random) {
-      if ((Boolean)state.get(POWERED)) {
+      if ((Boolean)state.getOrThrow(POWERED)) {
          this.tryPowerWithProjectiles(state, world, pos);
       }
    }
@@ -321,7 +321,7 @@
     */
    @Override
    protected void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) {
-      if (!world.isClient && this.blockSetType.canButtonBeActivatedByArrows() && !(Boolean)state.get(POWERED)) {
+      if (!world.isClient && this.blockSetType.canButtonBeActivatedByArrows() && !(Boolean)state.getOrThrow(POWERED)) {
          this.tryPowerWithProjectiles(state, world, pos);
       }
    }
@@ -340,7 +340,7 @@
             .orElse(null)
          : null;
       boolean bl = lv != null;
-      boolean bl2 = (Boolean)state.get(POWERED);
+      boolean bl2 = (Boolean)state.getOrThrow(POWERED);
       if (bl != bl2) {
          world.setBlockState(pos, state.with(POWERED, Boolean.valueOf(bl)), Block.NOTIFY_ALL);
          this.updateNeighbors(state, world, pos);
@@ -359,7 +359,7 @@
     */
    private void updateNeighbors(BlockState state, World world, BlockPos pos) {
       Direction lv = getDirection(state).getOpposite();
-      Orientation lv2 = ExperimentalRedstoneUtil.initialOrientation(world, lv, lv.getAxis().isHorizontal() ? Direction.UP : state.get(FACING));
+      Orientation lv2 = ExperimentalRedstoneUtil.initialOrientation(world, lv, lv.getAxis().isHorizontal() ? Direction.UP : state.getOrThrow(FACING));
       world.m_hfhkmcni(pos, this, lv2);
       world.m_hfhkmcni(pos.offset(lv), this, lv2);
    }
diff -bur namedTargetSrc/net/minecraft/block/CactusBlock.java namedSrc/net/minecraft/block/CactusBlock.java
--- namedTargetSrc/net/minecraft/block/CactusBlock.java	2024-11-19 20:08:21.888686516 +0000
+++ namedSrc/net/minecraft/block/CactusBlock.java	2024-11-19 20:07:12.359738518 +0000
@@ -95,7 +95,7 @@
          }
 
          if (i < 3) {
-            int j = (Integer)state.get(AGE);
+            int j = (Integer)state.getOrThrow(AGE);
             if (j == 15) {
                world.setBlockState(lv, this.getDefaultState());
                BlockState lv2 = state.with(AGE, Integer.valueOf(0));
diff -bur namedTargetSrc/net/minecraft/block/CakeBlock.java namedSrc/net/minecraft/block/CakeBlock.java
--- namedTargetSrc/net/minecraft/block/CakeBlock.java	2024-11-19 20:08:22.036688482 +0000
+++ namedSrc/net/minecraft/block/CakeBlock.java	2024-11-19 20:07:12.575741182 +0000
@@ -97,7 +97,7 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      return BITES_TO_SHAPE[state.get(BITES)];
+      return BITES_TO_SHAPE[state.getOrThrow(BITES)];
    }
 
    /**
@@ -106,7 +106,7 @@
    @Override
    protected ActionResult onInteract(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult result) {
       Item lv = stack.getItem();
-      if (stack.isIn(ItemTags.CANDLES) && (Integer)state.get(BITES) == 0 && Block.getBlockFromItem(lv) instanceof CandleBlock lv2) {
+      if (stack.isIn(ItemTags.CANDLES) && (Integer)state.getOrThrow(BITES) == 0 && Block.getBlockFromItem(lv) instanceof CandleBlock lv2) {
          stack.consume(1, player);
          world.playSound(null, pos, SoundEvents.BLOCK_CAKE_ADD_CANDLE, SoundCategory.BLOCKS, 1.0F, 1.0F);
          world.setBlockState(pos, CandleCakeBlock.getCandleCakeFromCandle(lv2));
@@ -146,7 +146,7 @@
       } else {
          player.incrementStat(Stats.EAT_CAKE_SLICE);
          player.getHungerManager().add(2, 0.1F);
-         int i = (Integer)state.get(BITES);
+         int i = (Integer)state.getOrThrow(BITES);
          world.emitGameEvent(player, GameEvent.EAT, pos);
          if (i < 6) {
             world.setBlockState(pos, state.with(BITES, Integer.valueOf(i + 1)), Block.NOTIFY_ALL);
@@ -199,7 +199,7 @@
     */
    @Override
    protected int getComparatorOutput(BlockState state, World world, BlockPos pos) {
-      return getComparatorOutput((Integer)state.get(BITES));
+      return getComparatorOutput((Integer)state.getOrThrow(BITES));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/CalibratedSculkSensorBlock.java namedSrc/net/minecraft/block/CalibratedSculkSensorBlock.java
--- namedTargetSrc/net/minecraft/block/CalibratedSculkSensorBlock.java	2024-11-19 20:08:21.892686568 +0000
+++ namedSrc/net/minecraft/block/CalibratedSculkSensorBlock.java	2024-11-19 20:07:12.363738567 +0000
@@ -90,7 +90,7 @@
     */
    @Override
    public int getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) {
-      return direction != state.get(FACING) ? super.getWeakRedstonePower(state, world, pos, direction) : 0;
+      return direction != state.getOrThrow(FACING) ? super.getWeakRedstonePower(state, world, pos, direction) : 0;
    }
 
    /**
@@ -107,7 +107,7 @@
     */
    @Override
    public BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -115,7 +115,7 @@
     */
    @Override
    public BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/CampfireBlock.java namedSrc/net/minecraft/block/CampfireBlock.java
--- namedTargetSrc/net/minecraft/block/CampfireBlock.java	2024-11-19 20:08:22.004688056 +0000
+++ namedSrc/net/minecraft/block/CampfireBlock.java	2024-11-19 20:07:12.523740542 +0000
@@ -168,7 +168,7 @@
     */
    @Override
    protected void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) {
-      if ((Boolean)state.get(LIT) && entity instanceof LivingEntity) {
+      if ((Boolean)state.getOrThrow(LIT) && entity instanceof LivingEntity) {
          entity.damage(world.getDamageSources().campfire(), (float)this.fireDamage);
       }
 
@@ -220,7 +220,7 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
@@ -250,7 +250,7 @@
     */
    @Override
    public void randomDisplayTick(BlockState state, World world, BlockPos pos, RandomGenerator random) {
-      if ((Boolean)state.get(LIT)) {
+      if ((Boolean)state.getOrThrow(LIT)) {
          if (random.nextInt(10) == 0) {
             world.playSound(
                (double)pos.getX() + 0.5,
@@ -287,7 +287,7 @@
    public static void extinguish(@Nullable Entity entity, WorldAccess world, BlockPos pos, BlockState state) {
       if (world.isClient()) {
          for (int i = 0; i < 20; i++) {
-            spawnSmokeParticle((World)world, pos, (Boolean)state.get(SIGNAL_FIRE), true);
+            spawnSmokeParticle((World)world, pos, (Boolean)state.getOrThrow(SIGNAL_FIRE), true);
          }
       }
 
@@ -303,19 +303,19 @@
     * Mapping not found
     */
    @Override
-   public boolean tryFillWithFluid(WorldAccess arg, BlockPos pos, BlockState blockState, FluidState fluidState) {
-      if (!(Boolean)blockState.get(Properties.WATERLOGGED) && fluidState.getFluid() == Fluids.WATER) {
-         boolean bl = (Boolean)blockState.get(LIT);
+   public boolean tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState blockState, FluidState fluidState) {
+      if (!(Boolean)blockState.getOrThrow(Properties.WATERLOGGED) && fluidState.getFluid() == Fluids.WATER) {
+         boolean bl = (Boolean)blockState.getOrThrow(LIT);
          if (bl) {
-            if (!arg.isClient()) {
-               arg.playSound(null, pos, SoundEvents.ENTITY_GENERIC_EXTINGUISH_FIRE, SoundCategory.BLOCKS, 1.0F, 1.0F);
+            if (!world.isClient()) {
+               world.playSound(null, pos, SoundEvents.ENTITY_GENERIC_EXTINGUISH_FIRE, SoundCategory.BLOCKS, 1.0F, 1.0F);
             }
 
-            extinguish(null, arg, pos, blockState);
+            extinguish(null, world, pos, blockState);
          }
 
-         arg.setBlockState(pos, blockState.with(WATERLOGGED, Boolean.valueOf(true)).with(LIT, Boolean.valueOf(false)), Block.NOTIFY_ALL);
-         arg.scheduleFluidTick(pos, fluidState.getFluid(), fluidState.getFluid().getTickRate(arg));
+         world.setBlockState(pos, blockState.with(WATERLOGGED, Boolean.valueOf(true)).with(LIT, Boolean.valueOf(false)), Block.NOTIFY_ALL);
+         world.scheduleFluidTick(pos, fluidState.getFluid(), fluidState.getFluid().getTickRate(world));
          return true;
       } else {
          return false;
@@ -331,8 +331,8 @@
       if (world instanceof ServerWorld lv2
          && projectile.isOnFire()
          && projectile.canModifyAt(lv2, lv)
-         && !(Boolean)state.get(LIT)
-         && !(Boolean)state.get(WATERLOGGED)) {
+         && !(Boolean)state.getOrThrow(LIT)
+         && !(Boolean)state.getOrThrow(WATERLOGGED)) {
          world.setBlockState(lv, state.with(Properties.LIT, Boolean.valueOf(true)), Block.NOTIFY_ALL | Block.REDRAW_ON_MAIN_THREAD);
       }
    }
@@ -394,7 +394,7 @@
     * @mapping {@literal named isLitCampfire Lnet/minecraft/block/CampfireBlock;isLitCampfire(Lnet/minecraft/block/BlockState;)Z}
     */
    public static boolean isLitCampfire(BlockState state) {
-      return state.contains(LIT) && state.isIn(BlockTags.CAMPFIRES) && (Boolean)state.get(LIT);
+      return state.contains(LIT) && state.isIn(BlockTags.CAMPFIRES) && (Boolean)state.getOrThrow(LIT);
    }
 
    /**
@@ -402,7 +402,7 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 
    /**
@@ -410,7 +410,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -418,7 +418,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 
    /**
@@ -444,14 +444,14 @@
    @Override
    public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state, BlockEntityType<T> type) {
       if (world instanceof ServerWorld lv) {
-         if ((Boolean)state.get(LIT)) {
+         if ((Boolean)state.getOrThrow(LIT)) {
             RecipeManager.CachedCheck<SingleRecipeInput, CampfireCookingRecipe> lv2 = RecipeManager.createCheck(RecipeType.CAMPFIRE_COOKING);
             return checkType(type, BlockEntityType.CAMPFIRE, (arg3, pos, statex, arg6) -> CampfireBlockEntity.litServerTick(lv, pos, statex, arg6, lv2));
          } else {
             return checkType(type, BlockEntityType.CAMPFIRE, CampfireBlockEntity::unlitServerTick);
          }
       } else {
-         return state.get(LIT) ? checkType(type, BlockEntityType.CAMPFIRE, CampfireBlockEntity::clientTick) : null;
+         return state.getOrThrow(LIT) ? checkType(type, BlockEntityType.CAMPFIRE, CampfireBlockEntity::clientTick) : null;
       }
    }
 
@@ -469,7 +469,7 @@
     */
    public static boolean canBeLit(BlockState state) {
       return state.isInAndMatches(BlockTags.CAMPFIRES, arg -> arg.contains(WATERLOGGED) && arg.contains(LIT))
-         && !(Boolean)state.get(WATERLOGGED)
-         && !(Boolean)state.get(LIT);
+         && !(Boolean)state.getOrThrow(WATERLOGGED)
+         && !(Boolean)state.getOrThrow(LIT);
    }
 }
diff -bur namedTargetSrc/net/minecraft/block/CandleBlock.java namedSrc/net/minecraft/block/CandleBlock.java
--- namedTargetSrc/net/minecraft/block/CandleBlock.java	2024-11-19 20:08:21.980687737 +0000
+++ namedSrc/net/minecraft/block/CandleBlock.java	2024-11-19 20:07:12.479739998 +0000
@@ -71,7 +71,7 @@
     * @mapping {@literal hashed f_ewjclegu Lnet/minecraft/unmapped/C_rrwcrbzt;f_ewjclegu:Ljava/util/function/ToIntFunction;}
     * @mapping {@literal named STATE_TO_LUMINANCE Lnet/minecraft/block/CandleBlock;STATE_TO_LUMINANCE:Ljava/util/function/ToIntFunction;}
     */
-   public static final ToIntFunction<BlockState> STATE_TO_LUMINANCE = state -> state.get(LIT) ? 3 * (Integer)state.get(CANDLES) : 0;
+   public static final ToIntFunction<BlockState> STATE_TO_LUMINANCE = state -> state.getOrThrow(LIT) ? 3 * (Integer)state.getOrThrow(CANDLES) : 0;
    /**
     * @mapping {@literal hashed f_ffzcvmxh Lnet/minecraft/unmapped/C_rrwcrbzt;f_ffzcvmxh:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;}
     * @mapping {@literal named CANDLES_TO_PARTICLE_OFFSETS Lnet/minecraft/block/CandleBlock;CANDLES_TO_PARTICLE_OFFSETS:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;}
@@ -134,7 +134,7 @@
     */
    @Override
    protected ActionResult onInteract(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult result) {
-      if (stack.isEmpty() && player.getAbilities().allowModifyWorld && (Boolean)state.get(LIT)) {
+      if (stack.isEmpty() && player.getAbilities().allowModifyWorld && (Boolean)state.getOrThrow(LIT)) {
          extinguish(player, state, world, pos);
          return ActionResult.SUCCESS;
       } else {
@@ -147,7 +147,7 @@
     */
    @Override
    protected boolean canReplace(BlockState state, ItemPlacementContext context) {
-      return !context.shouldCancelInteraction() && context.getStack().getItem() == this.asItem() && state.get(CANDLES) < 4
+      return !context.shouldCancelInteraction() && context.getStack().getItem() == this.asItem() && state.getOrThrow(CANDLES) < 4
          ? true
          : super.canReplace(state, context);
    }
@@ -181,7 +181,7 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
@@ -193,7 +193,7 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 
    /**
@@ -201,7 +201,7 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      switch (state.get(CANDLES)) {
+      switch (state.getOrThrow(CANDLES)) {
          case 1:
          default:
             return ONE_CANDLE_SHAPE;
@@ -226,16 +226,16 @@
     * Mapping not found
     */
    @Override
-   public boolean tryFillWithFluid(WorldAccess arg, BlockPos pos, BlockState blockState, FluidState fluidState) {
-      if (!(Boolean)blockState.get(WATERLOGGED) && fluidState.getFluid() == Fluids.WATER) {
+   public boolean tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState blockState, FluidState fluidState) {
+      if (!(Boolean)blockState.getOrThrow(WATERLOGGED) && fluidState.getFluid() == Fluids.WATER) {
          BlockState lv = blockState.with(WATERLOGGED, Boolean.valueOf(true));
-         if ((Boolean)blockState.get(LIT)) {
-            extinguish(null, lv, arg, pos);
+         if ((Boolean)blockState.getOrThrow(LIT)) {
+            extinguish(null, lv, world, pos);
          } else {
-            arg.setBlockState(pos, lv, Block.NOTIFY_ALL);
+            world.setBlockState(pos, lv, Block.NOTIFY_ALL);
          }
 
-         arg.scheduleFluidTick(pos, fluidState.getFluid(), fluidState.getFluid().getTickRate(arg));
+         world.scheduleFluidTick(pos, fluidState.getFluid(), fluidState.getFluid().getTickRate(world));
          return true;
       } else {
          return false;
@@ -248,8 +248,8 @@
     */
    public static boolean canBeLit(BlockState state) {
       return state.isInAndMatches(BlockTags.CANDLES, statex -> statex.contains(LIT) && statex.contains(WATERLOGGED))
-         && !(Boolean)state.get(LIT)
-         && !(Boolean)state.get(WATERLOGGED);
+         && !(Boolean)state.getOrThrow(LIT)
+         && !(Boolean)state.getOrThrow(WATERLOGGED);
    }
 
    /**
@@ -257,7 +257,7 @@
     */
    @Override
    protected Iterable<Vec3d> getParticleOffsets(BlockState state) {
-      return (Iterable<Vec3d>)CANDLES_TO_PARTICLE_OFFSETS.get(((Integer)state.get(CANDLES)).intValue());
+      return (Iterable<Vec3d>)CANDLES_TO_PARTICLE_OFFSETS.get(((Integer)state.getOrThrow(CANDLES)).intValue());
    }
 
    /**
@@ -265,7 +265,7 @@
     */
    @Override
    protected boolean isNotLit(BlockState state) {
-      return !(Boolean)state.get(WATERLOGGED) && super.isNotLit(state);
+      return !(Boolean)state.getOrThrow(WATERLOGGED) && super.isNotLit(state);
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/CandleCakeBlock.java namedSrc/net/minecraft/block/CandleCakeBlock.java
--- namedTargetSrc/net/minecraft/block/CandleCakeBlock.java	2024-11-19 20:08:21.836685824 +0000
+++ namedSrc/net/minecraft/block/CandleCakeBlock.java	2024-11-19 20:07:12.299737777 +0000
@@ -127,7 +127,7 @@
    protected ActionResult onInteract(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult result) {
       if (stack.isOf(Items.FLINT_AND_STEEL) || stack.isOf(Items.FIRE_CHARGE)) {
          return ActionResult.PASS;
-      } else if (isHittingCandle(result) && stack.isEmpty() && (Boolean)state.get(LIT)) {
+      } else if (isHittingCandle(result) && stack.isEmpty() && (Boolean)state.getOrThrow(LIT)) {
          extinguish(player, state, world, pos);
          return ActionResult.SUCCESS;
       } else {
@@ -236,6 +236,6 @@
     * @mapping {@literal named canBeLit Lnet/minecraft/block/CandleCakeBlock;canBeLit(Lnet/minecraft/block/BlockState;)Z}
     */
    public static boolean canBeLit(BlockState state) {
-      return state.isInAndMatches(BlockTags.CANDLE_CAKES, block -> block.contains(LIT) && !(Boolean)state.get(LIT));
+      return state.isInAndMatches(BlockTags.CANDLE_CAKES, block -> block.contains(LIT) && !(Boolean)state.getOrThrow(LIT));
    }
 }
diff -bur namedTargetSrc/net/minecraft/block/cauldron/CauldronBehavior.java namedSrc/net/minecraft/block/cauldron/CauldronBehavior.java
--- namedTargetSrc/net/minecraft/block/cauldron/CauldronBehavior.java	2024-11-19 20:08:21.820685612 +0000
+++ namedSrc/net/minecraft/block/cauldron/CauldronBehavior.java	2024-11-19 20:07:12.283737580 +0000
@@ -122,7 +122,7 @@
                hand,
                stack,
                new ItemStack(Items.WATER_BUCKET),
-               statex -> (Integer)statex.get(LeveledCauldronBlock.LEVEL) == 3,
+               statex -> (Integer)statex.getOrThrow(LeveledCauldronBlock.LEVEL) == 3,
                SoundEvents.ITEM_BUCKET_FILL
             )
       );
@@ -140,7 +140,7 @@
          return ActionResult.SUCCESS;
       });
       map2.put(Items.POTION, (CauldronBehavior)(state, world, pos, player, hand, stack) -> {
-         if ((Integer)state.get(LeveledCauldronBlock.LEVEL) == 3) {
+         if ((Integer)state.getOrThrow(LeveledCauldronBlock.LEVEL) == 3) {
             return ActionResult.EMPTY_HAND;
          } else {
             PotionContentsComponent lv = stack.get(DataComponentTypes.POTION_CONTENTS);
@@ -217,7 +217,7 @@
                hand,
                stack,
                new ItemStack(Items.POWDER_SNOW_BUCKET),
-               statex -> (Integer)statex.get(LeveledCauldronBlock.LEVEL) == 3,
+               statex -> (Integer)statex.getOrThrow(LeveledCauldronBlock.LEVEL) == 3,
                SoundEvents.ITEM_BUCKET_FILL_POWDER_SNOW
             )
       );
diff -bur namedTargetSrc/net/minecraft/block/cauldron/LeveledCauldronBlock.java namedSrc/net/minecraft/block/cauldron/LeveledCauldronBlock.java
--- namedTargetSrc/net/minecraft/block/cauldron/LeveledCauldronBlock.java	2024-11-19 20:08:21.956687418 +0000
+++ namedSrc/net/minecraft/block/cauldron/LeveledCauldronBlock.java	2024-11-19 20:07:12.443739555 +0000
@@ -90,7 +90,7 @@
     */
    @Override
    public boolean isFull(BlockState state) {
-      return (Integer)state.get(LEVEL) == 3;
+      return (Integer)state.getOrThrow(LEVEL) == 3;
    }
 
    /**
@@ -106,7 +106,7 @@
     */
    @Override
    protected double getFluidHeight(BlockState state) {
-      return (6.0 + (double)((Integer)state.get(LEVEL)).intValue() * 3.0) / 16.0;
+      return (6.0 + (double)((Integer)state.getOrThrow(LEVEL)).intValue() * 3.0) / 16.0;
    }
 
    /**
@@ -128,7 +128,7 @@
     */
    private void onFireCollision(BlockState state, World world, BlockPos pos) {
       if (this.precipitation == Biome.Precipitation.SNOW) {
-         decrementFluidLevel(Blocks.WATER_CAULDRON.getDefaultState().with(LEVEL, (Integer)state.get(LEVEL)), world, pos);
+         decrementFluidLevel(Blocks.WATER_CAULDRON.getDefaultState().with(LEVEL, (Integer)state.getOrThrow(LEVEL)), world, pos);
       } else {
          decrementFluidLevel(state, world, pos);
       }
@@ -139,7 +139,7 @@
     * @mapping {@literal named decrementFluidLevel Lnet/minecraft/block/cauldron/LeveledCauldronBlock;decrementFluidLevel(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V}
     */
    public static void decrementFluidLevel(BlockState state, World world, BlockPos pos) {
-      int i = (Integer)state.get(LEVEL) - 1;
+      int i = (Integer)state.getOrThrow(LEVEL) - 1;
       BlockState lv = i == 0 ? Blocks.CAULDRON.getDefaultState() : state.with(LEVEL, Integer.valueOf(i));
       world.setBlockState(pos, lv);
       world.emitGameEvent(GameEvent.BLOCK_CHANGE, pos, GameEvent.Context.create(lv));
@@ -150,7 +150,7 @@
     */
    @Override
    public void precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) {
-      if (CauldronBlock.canFillWithPrecipitation(world, precipitation) && (Integer)state.get(LEVEL) != 3 && precipitation == this.precipitation) {
+      if (CauldronBlock.canFillWithPrecipitation(world, precipitation) && (Integer)state.getOrThrow(LEVEL) != 3 && precipitation == this.precipitation) {
          BlockState lv = state.cycle(LEVEL);
          world.setBlockState(pos, lv);
          world.emitGameEvent(GameEvent.BLOCK_CHANGE, pos, GameEvent.Context.create(lv));
@@ -162,7 +162,7 @@
     */
    @Override
    protected int getComparatorOutput(BlockState state, World world, BlockPos pos) {
-      return (Integer)state.get(LEVEL);
+      return (Integer)state.getOrThrow(LEVEL);
    }
 
    /**
@@ -179,7 +179,7 @@
    @Override
    protected void fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) {
       if (!this.isFull(state)) {
-         BlockState lv = state.with(LEVEL, Integer.valueOf((Integer)state.get(LEVEL) + 1));
+         BlockState lv = state.with(LEVEL, Integer.valueOf((Integer)state.getOrThrow(LEVEL) + 1));
          world.setBlockState(pos, lv);
          world.emitGameEvent(GameEvent.BLOCK_CHANGE, pos, GameEvent.Context.create(lv));
          world.syncWorldEvent(WorldEvents.POINTED_DRIPSTONE_DRIPS_WATER_INTO_CAULDRON, pos, 0);
diff -bur namedTargetSrc/net/minecraft/block/CaveVinesBodyBlock.java namedSrc/net/minecraft/block/CaveVinesBodyBlock.java
--- namedTargetSrc/net/minecraft/block/CaveVinesBodyBlock.java	2024-11-19 20:08:22.044688588 +0000
+++ namedSrc/net/minecraft/block/CaveVinesBodyBlock.java	2024-11-19 20:07:12.591741379 +0000
@@ -55,7 +55,7 @@
     */
    @Override
    protected BlockState copyState(BlockState from, BlockState to) {
-      return to.with(BERRIES, (Boolean)from.get(BERRIES));
+      return to.with(BERRIES, (Boolean)from.getOrThrow(BERRIES));
    }
 
    /**
@@ -87,7 +87,7 @@
     */
    @Override
    public boolean isFertilizable(WorldView world, BlockPos pos, BlockState state) {
-      return !(Boolean)state.get(BERRIES);
+      return !(Boolean)state.getOrThrow(BERRIES);
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/CaveVines.java namedSrc/net/minecraft/block/CaveVines.java
--- namedTargetSrc/net/minecraft/block/CaveVines.java	2024-11-19 20:08:22.068688907 +0000
+++ namedSrc/net/minecraft/block/CaveVines.java	2024-11-19 20:07:12.631741873 +0000
@@ -37,7 +37,7 @@
     * @mapping {@literal named pickBerries Lnet/minecraft/block/CaveVines;pickBerries(Lnet/minecraft/entity/Entity;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/ActionResult;}
     */
    static ActionResult pickBerries(@Nullable Entity picker, BlockState state, World world, BlockPos pos) {
-      if ((Boolean)state.get(BERRIES)) {
+      if ((Boolean)state.getOrThrow(BERRIES)) {
          Block.dropStack(world, pos, new ItemStack(Items.GLOW_BERRIES, 1));
          float f = MathHelper.nextBetween(world.random, 0.8F, 1.2F);
          world.playSound(null, pos, SoundEvents.BLOCK_CAVE_VINES_PICK_BERRIES, SoundCategory.BLOCKS, 1.0F, f);
@@ -55,7 +55,7 @@
     * @mapping {@literal named hasBerries Lnet/minecraft/block/CaveVines;hasBerries(Lnet/minecraft/block/BlockState;)Z}
     */
    static boolean hasBerries(BlockState state) {
-      return state.contains(BERRIES) && (Boolean)state.get(BERRIES);
+      return state.contains(BERRIES) && (Boolean)state.getOrThrow(BERRIES);
    }
 
    /**
@@ -71,6 +71,6 @@
     * @mapping {@literal named getLuminanceSupplier Lnet/minecraft/block/CaveVines;getLuminanceSupplier(I)Ljava/util/function/ToIntFunction;}
     */
    static ToIntFunction<BlockState> getLuminanceSupplier(int luminance) {
-      return state -> state.get(Properties.BERRIES) ? luminance : 0;
+      return state -> state.getOrThrow(Properties.BERRIES) ? luminance : 0;
    }
 }
diff -bur namedTargetSrc/net/minecraft/block/CaveVinesStemBlock.java namedSrc/net/minecraft/block/CaveVinesStemBlock.java
--- namedTargetSrc/net/minecraft/block/CaveVinesStemBlock.java	2024-11-19 20:08:21.828685718 +0000
+++ namedSrc/net/minecraft/block/CaveVinesStemBlock.java	2024-11-19 20:07:12.291737679 +0000
@@ -76,7 +76,7 @@
     */
    @Override
    protected BlockState copyState(BlockState from, BlockState to) {
-      return to.with(BERRIES, (Boolean)from.get(BERRIES));
+      return to.with(BERRIES, (Boolean)from.getOrThrow(BERRIES));
    }
 
    /**
@@ -117,7 +117,7 @@
     */
    @Override
    public boolean isFertilizable(WorldView world, BlockPos pos, BlockState state) {
-      return !(Boolean)state.get(BERRIES);
+      return !(Boolean)state.getOrThrow(BERRIES);
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/ChainBlock.java namedSrc/net/minecraft/block/ChainBlock.java
--- namedTargetSrc/net/minecraft/block/ChainBlock.java	2024-11-19 20:08:21.900686675 +0000
+++ namedSrc/net/minecraft/block/ChainBlock.java	2024-11-19 20:07:12.371738665 +0000
@@ -80,7 +80,7 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      switch ((Direction.Axis)state.get(AXIS)) {
+      switch ((Direction.Axis)state.getOrThrow(AXIS)) {
          case X:
          default:
             return X_SHAPE;
@@ -116,7 +116,7 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
@@ -136,7 +136,7 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/ChestBlock.java namedSrc/net/minecraft/block/ChestBlock.java
--- namedTargetSrc/net/minecraft/block/ChestBlock.java	2024-11-19 20:08:22.024688322 +0000
+++ namedSrc/net/minecraft/block/ChestBlock.java	2024-11-19 20:07:12.555740936 +0000
@@ -230,7 +230,7 @@
     * @mapping {@literal named getDoubleBlockType Lnet/minecraft/block/ChestBlock;getDoubleBlockType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/DoubleBlockProperties$Type;}
     */
    public static DoubleBlockProperties.Type getDoubleBlockType(BlockState state) {
-      ChestType lv = state.get(CHEST_TYPE);
+      ChestType lv = state.getOrThrow(CHEST_TYPE);
       if (lv == ChestType.SINGLE) {
          return DoubleBlockProperties.Type.SINGLE;
       } else {
@@ -252,15 +252,15 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
       if (neighborState.isOf(this) && direction.getAxis().isHorizontal()) {
-         ChestType lv = neighborState.get(CHEST_TYPE);
-         if (state.get(CHEST_TYPE) == ChestType.SINGLE
+         ChestType lv = neighborState.getOrThrow(CHEST_TYPE);
+         if (state.getOrThrow(CHEST_TYPE) == ChestType.SINGLE
             && lv != ChestType.SINGLE
-            && state.get(FACING) == neighborState.get(FACING)
+            && state.getOrThrow(FACING) == neighborState.getOrThrow(FACING)
             && getFacing(neighborState) == direction.getOpposite()) {
             return state.with(CHEST_TYPE, lv.getOpposite());
          }
@@ -276,7 +276,7 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      if (state.get(CHEST_TYPE) == ChestType.SINGLE) {
+      if (state.getOrThrow(CHEST_TYPE) == ChestType.SINGLE) {
          return SINGLE_SHAPE;
       } else {
          switch (getFacing(state)) {
@@ -298,8 +298,8 @@
     * @mapping {@literal named getFacing Lnet/minecraft/block/ChestBlock;getFacing(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/math/Direction;}
     */
    public static Direction getFacing(BlockState state) {
-      Direction lv = state.get(FACING);
-      return state.get(CHEST_TYPE) == ChestType.LEFT ? lv.rotateYClockwise() : lv.rotateYCounterclockwise();
+      Direction lv = state.getOrThrow(FACING);
+      return state.getOrThrow(CHEST_TYPE) == ChestType.LEFT ? lv.rotateYClockwise() : lv.rotateYCounterclockwise();
    }
 
    /**
@@ -336,7 +336,7 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 
    /**
@@ -346,7 +346,7 @@
    @Nullable
    private Direction getNeighborChestDirection(ItemPlacementContext ctx, Direction dir) {
       BlockState lv = ctx.getWorld().getBlockState(ctx.getBlockPos().offset(dir));
-      return lv.isOf(this) && lv.get(CHEST_TYPE) == ChestType.SINGLE ? lv.get(FACING) : null;
+      return lv.isOf(this) && lv.getOrThrow(CHEST_TYPE) == ChestType.SINGLE ? lv.getOrThrow(FACING) : null;
    }
 
    /**
@@ -540,7 +540,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -548,7 +548,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/ChiseledBookshelfBlock.java namedSrc/net/minecraft/block/ChiseledBookshelfBlock.java
--- namedTargetSrc/net/minecraft/block/ChiseledBookshelfBlock.java	2024-11-19 20:08:21.780685081 +0000
+++ namedSrc/net/minecraft/block/ChiseledBookshelfBlock.java	2024-11-19 20:07:12.235736989 +0000
@@ -101,7 +101,7 @@
             OptionalInt optionalInt = this.getHitSlot(result, state);
             if (optionalInt.isEmpty()) {
                return ActionResult.PASS;
-            } else if ((Boolean)state.get((Property)SLOT_OCCUPATION_PROPERTIES.get(optionalInt.getAsInt()))) {
+            } else if ((Boolean)state.getOrThrow((Property)SLOT_OCCUPATION_PROPERTIES.get(optionalInt.getAsInt()))) {
                return ActionResult.EMPTY_HAND;
             } else {
                addBook(world, pos, player, lv, stack, optionalInt.getAsInt());
@@ -122,7 +122,7 @@
          OptionalInt optionalInt = this.getHitSlot(result, state);
          if (optionalInt.isEmpty()) {
             return ActionResult.PASS;
-         } else if (!(Boolean)state.get((Property)SLOT_OCCUPATION_PROPERTIES.get(optionalInt.getAsInt()))) {
+         } else if (!(Boolean)state.getOrThrow((Property)SLOT_OCCUPATION_PROPERTIES.get(optionalInt.getAsInt()))) {
             return ActionResult.CONSUME;
          } else {
             removeBook(world, pos, player, lv, optionalInt.getAsInt());
@@ -138,7 +138,7 @@
     * @mapping {@literal named getHitSlot Lnet/minecraft/block/ChiseledBookshelfBlock;getHitSlot(Lnet/minecraft/util/hit/BlockHitResult;Lnet/minecraft/block/BlockState;)Ljava/util/OptionalInt;}
     */
    private OptionalInt getHitSlot(BlockHitResult hitResult, BlockState state) {
-      return (OptionalInt)getRelativeHitCoordinates(hitResult, state.get(HorizontalFacingBlock.FACING)).map(block -> {
+      return (OptionalInt)getRelativeHitCoordinates(hitResult, state.getOrThrow(HorizontalFacingBlock.FACING)).map(block -> {
          int i = block.y >= 0.5F ? 0 : 1;
          int j = getColumn(block.x);
          return OptionalInt.of(j + i * 3);
@@ -277,7 +277,7 @@
     */
    @Override
    public BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(HorizontalFacingBlock.FACING, rotation.rotate(state.get(HorizontalFacingBlock.FACING)));
+      return state.with(HorizontalFacingBlock.FACING, rotation.rotate(state.getOrThrow(HorizontalFacingBlock.FACING)));
    }
 
    /**
@@ -285,7 +285,7 @@
     */
    @Override
    public BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(HorizontalFacingBlock.FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(HorizontalFacingBlock.FACING)));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/ChorusFlowerBlock.java namedSrc/net/minecraft/block/ChorusFlowerBlock.java
--- namedTargetSrc/net/minecraft/block/ChorusFlowerBlock.java	2024-11-19 20:08:22.044688588 +0000
+++ namedSrc/net/minecraft/block/ChorusFlowerBlock.java	2024-11-19 20:07:12.591741379 +0000
@@ -88,7 +88,7 @@
     */
    @Override
    protected boolean getRandomTicks(BlockState state) {
-      return (Integer)state.get(AGE) < 5;
+      return (Integer)state.getOrThrow(AGE) < 5;
    }
 
    /**
@@ -106,7 +106,7 @@
    protected void randomTick(BlockState state, ServerWorld world, BlockPos pos, RandomGenerator random) {
       BlockPos lv = pos.up();
       if (world.isAir(lv) && lv.getY() <= world.getTopY()) {
-         int i = (Integer)state.get(AGE);
+         int i = (Integer)state.getOrThrow(AGE);
          if (i < 5) {
             boolean bl = false;
             boolean bl2 = false;
diff -bur namedTargetSrc/net/minecraft/block/CocoaBlock.java namedSrc/net/minecraft/block/CocoaBlock.java
--- namedTargetSrc/net/minecraft/block/CocoaBlock.java	2024-11-19 20:08:21.840685877 +0000
+++ namedSrc/net/minecraft/block/CocoaBlock.java	2024-11-19 20:07:12.303737828 +0000
@@ -142,7 +142,7 @@
     */
    @Override
    protected boolean getRandomTicks(BlockState state) {
-      return (Integer)state.get(AGE) < 2;
+      return (Integer)state.getOrThrow(AGE) < 2;
    }
 
    /**
@@ -151,7 +151,7 @@
    @Override
    protected void randomTick(BlockState state, ServerWorld world, BlockPos pos, RandomGenerator random) {
       if (world.random.nextInt(5) == 0) {
-         int i = (Integer)state.get(AGE);
+         int i = (Integer)state.getOrThrow(AGE);
          if (i < 2) {
             world.setBlockState(pos, state.with(AGE, Integer.valueOf(i + 1)), Block.NOTIFY_LISTENERS);
          }
@@ -163,7 +163,7 @@
     */
    @Override
    protected boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos) {
-      BlockState lv = world.getBlockState(pos.offset(state.get(FACING)));
+      BlockState lv = world.getBlockState(pos.offset(state.getOrThrow(FACING)));
       return lv.isIn(BlockTags.JUNGLE_LOGS);
    }
 
@@ -172,8 +172,8 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      int i = (Integer)state.get(AGE);
-      switch ((Direction)state.get(FACING)) {
+      int i = (Integer)state.getOrThrow(AGE);
+      switch ((Direction)state.getOrThrow(FACING)) {
          case SOUTH:
             return AGE_TO_SOUTH_SHAPE[i];
          case NORTH:
@@ -222,7 +222,7 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      return direction == state.get(FACING) && !state.canPlaceAt(world, pos)
+      return direction == state.getOrThrow(FACING) && !state.canPlaceAt(world, pos)
          ? Blocks.AIR.getDefaultState()
          : super.getStateForNeighborUpdate(state, world, arg3, pos, direction, neighborPos, neighborState, random);
    }
@@ -232,7 +232,7 @@
     */
    @Override
    public boolean isFertilizable(WorldView world, BlockPos pos, BlockState state) {
-      return (Integer)state.get(AGE) < 2;
+      return (Integer)state.getOrThrow(AGE) < 2;
    }
 
    /**
@@ -248,7 +248,7 @@
     */
    @Override
    public void fertilize(ServerWorld world, RandomGenerator random, BlockPos pos, BlockState state) {
-      world.setBlockState(pos, state.with(AGE, Integer.valueOf((Integer)state.get(AGE) + 1)), Block.NOTIFY_LISTENERS);
+      world.setBlockState(pos, state.with(AGE, Integer.valueOf((Integer)state.getOrThrow(AGE) + 1)), Block.NOTIFY_LISTENERS);
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/CommandBlock.java namedSrc/net/minecraft/block/CommandBlock.java
--- namedTargetSrc/net/minecraft/block/CommandBlock.java	2024-11-19 20:08:21.988687844 +0000
+++ namedSrc/net/minecraft/block/CommandBlock.java	2024-11-19 20:07:12.499740245 +0000
@@ -167,7 +167,7 @@
          executor.setSuccessCount(0);
       }
 
-      executeCommandChain(world, pos, state.get(FACING));
+      executeCommandChain(world, pos, state.getOrThrow(FACING));
    }
 
    /**
@@ -225,7 +225,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -233,7 +233,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 
    /**
@@ -284,7 +284,7 @@
             }
          }
 
-         facing = lv3.get(FACING);
+         facing = lv3.getOrThrow(FACING);
       }
 
       if (i <= 0) {
diff -bur namedTargetSrc/net/minecraft/block/ComparatorBlock.java namedSrc/net/minecraft/block/ComparatorBlock.java
--- namedTargetSrc/net/minecraft/block/ComparatorBlock.java	2024-11-19 20:08:21.872686302 +0000
+++ namedSrc/net/minecraft/block/ComparatorBlock.java	2024-11-19 20:07:12.343738320 +0000
@@ -110,7 +110,7 @@
          if (j > i) {
             return 0;
          } else {
-            return state.get(MODE) == ComparatorMode.SUBTRACT ? i - j : i;
+            return state.getOrThrow(MODE) == ComparatorMode.SUBTRACT ? i - j : i;
          }
       }
    }
@@ -125,7 +125,7 @@
          return false;
       } else {
          int j = this.getMaxInputLevelSides(world, pos, state);
-         return i > j ? true : i == j && state.get(MODE) == ComparatorMode.COMPARE;
+         return i > j ? true : i == j && state.getOrThrow(MODE) == ComparatorMode.COMPARE;
       }
    }
 
@@ -135,7 +135,7 @@
    @Override
    protected int getInputLevel(World world, BlockPos pos, BlockState state) {
       int i = super.getInputLevel(world, pos, state);
-      Direction lv = state.get(FACING);
+      Direction lv = state.getOrThrow(FACING);
       BlockPos lv2 = pos.offset(lv);
       BlockState lv3 = world.getBlockState(lv2);
       if (lv3.hasComparatorOutput()) {
@@ -178,7 +178,7 @@
          return ActionResult.PASS;
       } else {
          state = state.cycle(MODE);
-         float f = state.get(MODE) == ComparatorMode.SUBTRACT ? 0.55F : 0.5F;
+         float f = state.getOrThrow(MODE) == ComparatorMode.SUBTRACT ? 0.55F : 0.5F;
          world.playSound(player, pos, SoundEvents.BLOCK_COMPARATOR_CLICK, SoundCategory.BLOCKS, 0.3F, f);
          world.setBlockState(pos, state, Block.NOTIFY_LISTENERS);
          this.updateOutputLevel(world, pos, state);
@@ -195,7 +195,7 @@
          int i = this.calculateOutputLevel(world, pos, state);
          BlockEntity lv = world.getBlockEntity(pos);
          int j = lv instanceof ComparatorBlockEntity ? ((ComparatorBlockEntity)lv).getOutputSignal() : 0;
-         if (i != j || (Boolean)state.get(POWERED) != this.shouldBePowered(world, pos, state)) {
+         if (i != j || (Boolean)state.getOrThrow(POWERED) != this.shouldBePowered(world, pos, state)) {
             TickPriority lv2 = this.isTargetNotAligned(world, pos, state) ? TickPriority.HIGH : TickPriority.NORMAL;
             world.scheduleBlockTick(pos, this, 2, lv2);
          }
@@ -215,9 +215,9 @@
          lv2.setOutputSignal(i);
       }
 
-      if (j != i || state.get(MODE) == ComparatorMode.COMPARE) {
+      if (j != i || state.getOrThrow(MODE) == ComparatorMode.COMPARE) {
          boolean bl = this.shouldBePowered(world, pos, state);
-         boolean bl2 = (Boolean)state.get(POWERED);
+         boolean bl2 = (Boolean)state.getOrThrow(POWERED);
          if (bl2 && !bl) {
             world.setBlockState(pos, state.with(POWERED, Boolean.valueOf(false)), Block.NOTIFY_LISTENERS);
          } else if (!bl2 && bl) {
diff -bur namedTargetSrc/net/minecraft/block/ComposterBlock.java namedSrc/net/minecraft/block/ComposterBlock.java
--- namedTargetSrc/net/minecraft/block/ComposterBlock.java	2024-11-19 20:08:21.976687684 +0000
+++ namedSrc/net/minecraft/block/ComposterBlock.java	2024-11-19 20:07:12.479739998 +0000
@@ -279,7 +279,7 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      return LEVEL_TO_COLLISION_SHAPE[state.get(LEVEL)];
+      return LEVEL_TO_COLLISION_SHAPE[state.getOrThrow(LEVEL)];
    }
 
    /**
@@ -303,7 +303,7 @@
     */
    @Override
    protected void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) {
-      if ((Integer)state.get(LEVEL) == 7) {
+      if ((Integer)state.getOrThrow(LEVEL) == 7) {
          world.scheduleBlockTick(pos, state.getBlock(), 20);
       }
    }
@@ -313,7 +313,7 @@
     */
    @Override
    protected ActionResult onInteract(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult result) {
-      int i = (Integer)state.get(LEVEL);
+      int i = (Integer)state.getOrThrow(LEVEL);
       if (i < 8 && ITEM_TO_LEVEL_INCREASE_CHANCE.containsKey(stack.getItem())) {
          if (i < 7 && !world.isClient) {
             BlockState lv = addToComposter(player, state, world, pos, stack);
@@ -333,7 +333,7 @@
     */
    @Override
    protected ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult result) {
-      int i = (Integer)state.get(LEVEL);
+      int i = (Integer)state.getOrThrow(LEVEL);
       if (i == 8) {
          emptyFullComposter(player, state, world, pos);
          return ActionResult.SUCCESS;
@@ -347,7 +347,7 @@
     * @mapping {@literal named compost Lnet/minecraft/block/ComposterBlock;compost(Lnet/minecraft/entity/Entity;Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;}
     */
    public static BlockState compost(Entity entity, BlockState state, ServerWorld world, ItemStack stack, BlockPos pos) {
-      int i = (Integer)state.get(LEVEL);
+      int i = (Integer)state.getOrThrow(LEVEL);
       if (i < 7 && ITEM_TO_LEVEL_INCREASE_CHANCE.containsKey(stack.getItem())) {
          BlockState lv = addToComposter(entity, state, world, pos, stack);
          stack.decrement(1);
@@ -390,7 +390,7 @@
     * @mapping {@literal named addToComposter Lnet/minecraft/block/ComposterBlock;addToComposter(Lnet/minecraft/entity/Entity;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/block/BlockState;}
     */
    static BlockState addToComposter(@Nullable Entity entity, BlockState state, WorldAccess world, BlockPos pos, ItemStack item) {
-      int i = (Integer)state.get(LEVEL);
+      int i = (Integer)state.getOrThrow(LEVEL);
       float f = ITEM_TO_LEVEL_INCREASE_CHANCE.getFloat(item.getItem());
       if ((i != 0 || !(f > 0.0F)) && !(world.getRandom().nextDouble() < (double)f)) {
          return state;
@@ -412,7 +412,7 @@
     */
    @Override
    protected void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, RandomGenerator random) {
-      if ((Integer)state.get(LEVEL) == 7) {
+      if ((Integer)state.getOrThrow(LEVEL) == 7) {
          world.setBlockState(pos, state.cycle(LEVEL), Block.NOTIFY_ALL);
          world.playSound(null, pos, SoundEvents.BLOCK_COMPOSTER_READY, SoundCategory.BLOCKS, 1.0F, 1.0F);
       }
@@ -431,7 +431,7 @@
     */
    @Override
    protected int getComparatorOutput(BlockState state, World world, BlockPos pos) {
-      return (Integer)state.get(LEVEL);
+      return (Integer)state.getOrThrow(LEVEL);
    }
 
    /**
@@ -455,7 +455,7 @@
     */
    @Override
    public SidedInventory getInventory(BlockState state, WorldAccess arg2, BlockPos pos) {
-      int i = (Integer)state.get(LEVEL);
+      int i = (Integer)state.getOrThrow(LEVEL);
       if (i == 8) {
          return new ComposterBlock.FullComposterInventory(state, arg2, pos, new ItemStack(Items.BONE_MEAL));
       } else {
diff -bur namedTargetSrc/net/minecraft/block/ConduitBlock.java namedSrc/net/minecraft/block/ConduitBlock.java
--- namedTargetSrc/net/minecraft/block/ConduitBlock.java	2024-11-19 20:08:21.924686994 +0000
+++ namedSrc/net/minecraft/block/ConduitBlock.java	2024-11-19 20:07:12.403739061 +0000
@@ -96,7 +96,7 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 
    /**
@@ -113,7 +113,7 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
diff -bur namedTargetSrc/net/minecraft/block/ConnectingBlock.java namedSrc/net/minecraft/block/ConnectingBlock.java
--- namedTargetSrc/net/minecraft/block/ConnectingBlock.java	2024-11-19 20:08:21.988687844 +0000
+++ namedSrc/net/minecraft/block/ConnectingBlock.java	2024-11-19 20:07:12.495740196 +0000
@@ -152,7 +152,7 @@
       int i = 0;
 
       for (int j = 0; j < FACINGS.length; j++) {
-         if ((Boolean)state.get((Property)FACING_PROPERTIES.get(FACINGS[j]))) {
+         if ((Boolean)state.getOrThrow((Property)FACING_PROPERTIES.get(FACINGS[j]))) {
             i |= 1 << j;
          }
       }
diff -bur namedTargetSrc/net/minecraft/block/CopperDoorBlock.java namedSrc/net/minecraft/block/CopperDoorBlock.java
--- namedTargetSrc/net/minecraft/block/CopperDoorBlock.java	2024-11-19 20:08:21.868686250 +0000
+++ namedSrc/net/minecraft/block/CopperDoorBlock.java	2024-11-19 20:07:12.339738271 +0000
@@ -52,7 +52,7 @@
     */
    @Override
    protected void randomTick(BlockState state, ServerWorld world, BlockPos pos, RandomGenerator random) {
-      if (state.get(DoorBlock.HALF) == DoubleBlockHalf.LOWER) {
+      if (state.getOrThrow(DoorBlock.HALF) == DoubleBlockHalf.LOWER) {
          this.tickDegradation(state, world, pos, random);
       }
    }
diff -bur namedTargetSrc/net/minecraft/block/CoralBlock.java namedSrc/net/minecraft/block/CoralBlock.java
--- namedTargetSrc/net/minecraft/block/CoralBlock.java	2024-11-19 20:08:22.044688588 +0000
+++ namedSrc/net/minecraft/block/CoralBlock.java	2024-11-19 20:07:12.591741379 +0000
@@ -94,7 +94,7 @@
          return Blocks.AIR.getDefaultState();
       } else {
          this.checkLivingConditions(state, world, arg3, random, pos);
-         if ((Boolean)state.get(WATERLOGGED)) {
+         if ((Boolean)state.getOrThrow(WATERLOGGED)) {
             arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
          }
 
diff -bur namedTargetSrc/net/minecraft/block/CoralFanBlock.java namedSrc/net/minecraft/block/CoralFanBlock.java
--- namedTargetSrc/net/minecraft/block/CoralFanBlock.java	2024-11-19 20:08:21.948687312 +0000
+++ namedSrc/net/minecraft/block/CoralFanBlock.java	2024-11-19 20:07:12.435739456 +0000
@@ -82,7 +82,7 @@
          return Blocks.AIR.getDefaultState();
       } else {
          this.checkLivingConditions(state, world, arg3, random, pos);
-         if ((Boolean)state.get(WATERLOGGED)) {
+         if ((Boolean)state.getOrThrow(WATERLOGGED)) {
             arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
          }
 
diff -bur namedTargetSrc/net/minecraft/block/CoralParentBlock.java namedSrc/net/minecraft/block/CoralParentBlock.java
--- namedTargetSrc/net/minecraft/block/CoralParentBlock.java	2024-11-19 20:08:22.012688163 +0000
+++ namedSrc/net/minecraft/block/CoralParentBlock.java	2024-11-19 20:07:12.539740739 +0000
@@ -63,7 +63,7 @@
     * @mapping {@literal named isInWater Lnet/minecraft/block/CoralParentBlock;isInWater(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z}
     */
    protected static boolean isInWater(BlockState state, BlockView world, BlockPos pos) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          return true;
       } else {
          for (Direction lv : Direction.values()) {
@@ -108,7 +108,7 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
@@ -139,6 +139,6 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 }
diff -bur namedTargetSrc/net/minecraft/block/CoralWallFanBlock.java namedSrc/net/minecraft/block/CoralWallFanBlock.java
--- namedTargetSrc/net/minecraft/block/CoralWallFanBlock.java	2024-11-19 20:08:22.004688056 +0000
+++ namedSrc/net/minecraft/block/CoralWallFanBlock.java	2024-11-19 20:07:12.527740591 +0000
@@ -62,7 +62,7 @@
       if (!isInWater(state, world, pos)) {
          world.setBlockState(
             pos,
-            this.deadCoralBlock.getDefaultState().with(WATERLOGGED, Boolean.valueOf(false)).with(FACING, (Direction)state.get(FACING)),
+            this.deadCoralBlock.getDefaultState().with(WATERLOGGED, Boolean.valueOf(false)).with(FACING, (Direction)state.getOrThrow(FACING)),
             Block.NOTIFY_LISTENERS
          );
       }
@@ -82,10 +82,10 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if (direction.getOpposite() == state.get(FACING) && !state.canPlaceAt(world, pos)) {
+      if (direction.getOpposite() == state.getOrThrow(FACING) && !state.canPlaceAt(world, pos)) {
          return Blocks.AIR.getDefaultState();
       } else {
-         if ((Boolean)state.get(WATERLOGGED)) {
+         if ((Boolean)state.getOrThrow(WATERLOGGED)) {
             arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
          }
 
diff -bur namedTargetSrc/net/minecraft/block/CrafterBlock.java namedSrc/net/minecraft/block/CrafterBlock.java
--- namedTargetSrc/net/minecraft/block/CrafterBlock.java	2024-11-19 20:08:21.860686143 +0000
+++ namedSrc/net/minecraft/block/CrafterBlock.java	2024-11-19 20:07:12.327738123 +0000
@@ -131,7 +131,7 @@
    @Override
    protected void neighborUpdate(BlockState state, World world, BlockPos pos, Block block, @Nullable Orientation orientation, boolean notify) {
       boolean bl2 = world.isReceivingRedstonePower(pos);
-      boolean bl3 = (Boolean)state.get(TRIGGERED);
+      boolean bl3 = (Boolean)state.getOrThrow(TRIGGERED);
       BlockEntity lv = world.getBlockEntity(pos);
       if (bl2 && !bl3) {
          world.scheduleBlockTick(pos, this, 4);
@@ -176,7 +176,7 @@
    @Override
    public BlockEntity createBlockEntity(BlockPos pos, BlockState state) {
       CrafterBlockEntity lv = new CrafterBlockEntity(pos, state);
-      lv.setTriggered(state.contains(TRIGGERED) && (Boolean)state.get(TRIGGERED));
+      lv.setTriggered(state.contains(TRIGGERED) && (Boolean)state.getOrThrow(TRIGGERED));
       return lv;
    }
 
@@ -202,7 +202,7 @@
     */
    @Override
    public void onPlaced(World world, BlockPos pos, BlockState state, LivingEntity entity, ItemStack stack) {
-      if ((Boolean)state.get(TRIGGERED)) {
+      if ((Boolean)state.getOrThrow(TRIGGERED)) {
          world.scheduleBlockTick(pos, this, 4);
       }
    }
@@ -279,7 +279,7 @@
     * @mapping {@literal named craft Lnet/minecraft/block/CrafterBlock;craft(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/CrafterBlockEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/block/BlockState;Lnet/minecraft/recipe/RecipeHolder;)V}
     */
    private void craft(ServerWorld world, BlockPos pos, CrafterBlockEntity blockEntity, ItemStack stack, BlockState state, RecipeHolder<?> recipe) {
-      Direction lv = ((JigsawOrientation)state.get(ORIENTATION)).getFacing();
+      Direction lv = ((JigsawOrientation)state.getOrThrow(ORIENTATION)).getFacing();
       Inventory lv2 = HopperBlockEntity.findInventory(world, pos.offset(lv));
       ItemStack lv3 = stack.copy();
       if (lv2 != null && (lv2 instanceof CrafterBlockEntity || stack.getCount() > lv2.getMaxCount(stack))) {
@@ -321,7 +321,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(ORIENTATION, rotation.getDirectionTransformation().mapJigsawOrientation(state.get(ORIENTATION)));
+      return state.with(ORIENTATION, rotation.getDirectionTransformation().mapJigsawOrientation(state.getOrThrow(ORIENTATION)));
    }
 
    /**
@@ -329,7 +329,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.with(ORIENTATION, mirror.getDirectionTransformation().mapJigsawOrientation(state.get(ORIENTATION)));
+      return state.with(ORIENTATION, mirror.getDirectionTransformation().mapJigsawOrientation(state.getOrThrow(ORIENTATION)));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/CropBlock.java namedSrc/net/minecraft/block/CropBlock.java
--- namedTargetSrc/net/minecraft/block/CropBlock.java	2024-11-19 20:08:21.776685027 +0000
+++ namedSrc/net/minecraft/block/CropBlock.java	2024-11-19 20:07:12.227736890 +0000
@@ -108,7 +108,7 @@
     * @mapping {@literal named getAge Lnet/minecraft/block/CropBlock;getAge(Lnet/minecraft/block/BlockState;)I}
     */
    public int getAge(BlockState state) {
-      return (Integer)state.get(this.getAgeProperty());
+      return (Integer)state.getOrThrow(this.getAgeProperty());
    }
 
    /**
@@ -187,7 +187,7 @@
             BlockState lv2 = world.getBlockState(lv.add(i, 0, j));
             if (lv2.isOf(Blocks.FARMLAND)) {
                g = 1.0F;
-               if ((Integer)lv2.get(FarmlandBlock.MOISTURE) > 0) {
+               if ((Integer)lv2.getOrThrow(FarmlandBlock.MOISTURE) > 0) {
                   g = 3.0F;
                }
             }
diff -bur namedTargetSrc/net/minecraft/block/DaylightDetectorBlock.java namedSrc/net/minecraft/block/DaylightDetectorBlock.java
--- namedTargetSrc/net/minecraft/block/DaylightDetectorBlock.java	2024-11-19 20:08:21.860686143 +0000
+++ namedSrc/net/minecraft/block/DaylightDetectorBlock.java	2024-11-19 20:07:12.327738123 +0000
@@ -86,7 +86,7 @@
     */
    @Override
    protected int getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) {
-      return (Integer)state.get(POWER);
+      return (Integer)state.getOrThrow(POWER);
    }
 
    /**
@@ -96,7 +96,7 @@
    private static void updateState(BlockState state, World world, BlockPos pos) {
       int i = world.getLightLevel(LightType.SKY, pos) - world.getAmbientDarkness();
       float f = world.getSkyAngleRadians(1.0F);
-      boolean bl = (Boolean)state.get(INVERTED);
+      boolean bl = (Boolean)state.getOrThrow(INVERTED);
       if (bl) {
          i = 15 - i;
       } else if (i > 0) {
@@ -106,7 +106,7 @@
       }
 
       i = MathHelper.clamp(i, 0, 15);
-      if ((Integer)state.get(POWER) != i) {
+      if ((Integer)state.getOrThrow(POWER) != i) {
          world.setBlockState(pos, state.with(POWER, Integer.valueOf(i)), Block.NOTIFY_ALL);
       }
    }
diff -bur namedTargetSrc/net/minecraft/block/DeadCoralWallFanBlock.java namedSrc/net/minecraft/block/DeadCoralWallFanBlock.java
--- namedTargetSrc/net/minecraft/block/DeadCoralWallFanBlock.java	2024-11-19 20:08:22.032688429 +0000
+++ namedSrc/net/minecraft/block/DeadCoralWallFanBlock.java	2024-11-19 20:07:12.567741084 +0000
@@ -73,7 +73,7 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      return (VoxelShape)FACING_TO_SHAPE.get(state.get(FACING));
+      return (VoxelShape)FACING_TO_SHAPE.get(state.getOrThrow(FACING));
    }
 
    /**
@@ -81,7 +81,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -89,7 +89,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 
    /**
@@ -114,11 +114,11 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
-      return direction.getOpposite() == state.get(FACING) && !state.canPlaceAt(world, pos) ? Blocks.AIR.getDefaultState() : state;
+      return direction.getOpposite() == state.getOrThrow(FACING) && !state.canPlaceAt(world, pos) ? Blocks.AIR.getDefaultState() : state;
    }
 
    /**
@@ -126,7 +126,7 @@
     */
    @Override
    protected boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos) {
-      Direction lv = state.get(FACING);
+      Direction lv = state.getOrThrow(FACING);
       BlockPos lv2 = pos.offset(lv.getOpposite());
       BlockState lv3 = world.getBlockState(lv2);
       return lv3.isSideSolidFullSquare(world, lv2, lv);

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View the diff here (3/3):
diff -bur namedTargetSrc/net/minecraft/block/DecoratedPotBlock.java namedSrc/net/minecraft/block/DecoratedPotBlock.java
--- namedTargetSrc/net/minecraft/block/DecoratedPotBlock.java	2024-11-19 20:08:21.820685612 +0000
+++ namedSrc/net/minecraft/block/DecoratedPotBlock.java	2024-11-19 20:07:12.283737580 +0000
@@ -124,7 +124,7 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
@@ -279,7 +279,7 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 
    /**
@@ -287,7 +287,7 @@
     */
    @Override
    protected BlockSoundGroup getSoundGroup(BlockState state) {
-      return state.get(CRACKED) ? BlockSoundGroup.CRACKED_DECORATED_POT : BlockSoundGroup.DECORATED_POT;
+      return state.getOrThrow(CRACKED) ? BlockSoundGroup.CRACKED_DECORATED_POT : BlockSoundGroup.DECORATED_POT;
    }
 
    /**
@@ -352,7 +352,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -360,6 +360,6 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 }
diff -bur namedTargetSrc/net/minecraft/block/DetectorRailBlock.java namedSrc/net/minecraft/block/DetectorRailBlock.java
--- namedTargetSrc/net/minecraft/block/DetectorRailBlock.java	2024-11-19 20:08:21.996687950 +0000
+++ namedSrc/net/minecraft/block/DetectorRailBlock.java	2024-11-19 20:07:12.507740343 +0000
@@ -84,7 +84,7 @@
    @Override
    protected void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) {
       if (!world.isClient) {
-         if (!(Boolean)state.get(POWERED)) {
+         if (!(Boolean)state.getOrThrow(POWERED)) {
             this.updatePowered(world, pos, state);
          }
       }
@@ -95,7 +95,7 @@
     */
    @Override
    protected void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, RandomGenerator random) {
-      if ((Boolean)state.get(POWERED)) {
+      if ((Boolean)state.getOrThrow(POWERED)) {
          this.updatePowered(world, pos, state);
       }
    }
@@ -105,7 +105,7 @@
     */
    @Override
    protected int getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) {
-      return state.get(POWERED) ? 15 : 0;
+      return state.getOrThrow(POWERED) ? 15 : 0;
    }
 
    /**
@@ -113,7 +113,7 @@
     */
    @Override
    protected int getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) {
-      if (!(Boolean)state.get(POWERED)) {
+      if (!(Boolean)state.getOrThrow(POWERED)) {
          return 0;
       } else {
          return direction == Direction.UP ? 15 : 0;
@@ -126,7 +126,7 @@
     */
    private void updatePowered(World world, BlockPos pos, BlockState state) {
       if (this.canPlaceAt(state, world, pos)) {
-         boolean bl = (Boolean)state.get(POWERED);
+         boolean bl = (Boolean)state.getOrThrow(POWERED);
          boolean bl2 = false;
          List<AbstractMinecartEntity> list = this.getCarts(world, pos, AbstractMinecartEntity.class, entity -> true);
          if (!list.isEmpty()) {
@@ -204,7 +204,7 @@
     */
    @Override
    protected int getComparatorOutput(BlockState state, World world, BlockPos pos) {
-      if ((Boolean)state.get(POWERED)) {
+      if ((Boolean)state.getOrThrow(POWERED)) {
          List<CommandBlockMinecartEntity> list = this.getCarts(world, pos, CommandBlockMinecartEntity.class, cart -> true);
          if (!list.isEmpty()) {
             return ((CommandBlockMinecartEntity)list.get(0)).getCommandExecutor().getSuccessCount();
@@ -250,7 +250,7 @@
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
       switch (rotation) {
          case CLOCKWISE_180:
-            switch ((RailShape)state.get(SHAPE)) {
+            switch ((RailShape)state.getOrThrow(SHAPE)) {
                case ASCENDING_EAST:
                   return state.with(SHAPE, RailShape.ASCENDING_WEST);
                case ASCENDING_WEST:
@@ -269,7 +269,7 @@
                   return state.with(SHAPE, RailShape.SOUTH_WEST);
             }
          case COUNTERCLOCKWISE_90:
-            switch ((RailShape)state.get(SHAPE)) {
+            switch ((RailShape)state.getOrThrow(SHAPE)) {
                case ASCENDING_EAST:
                   return state.with(SHAPE, RailShape.ASCENDING_NORTH);
                case ASCENDING_WEST:
@@ -292,7 +292,7 @@
                   return state.with(SHAPE, RailShape.NORTH_SOUTH);
             }
          case CLOCKWISE_90:
-            switch ((RailShape)state.get(SHAPE)) {
+            switch ((RailShape)state.getOrThrow(SHAPE)) {
                case ASCENDING_EAST:
                   return state.with(SHAPE, RailShape.ASCENDING_SOUTH);
                case ASCENDING_WEST:
@@ -324,7 +324,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      RailShape lv = state.get(SHAPE);
+      RailShape lv = state.getOrThrow(SHAPE);
       switch (mirror) {
          case LEFT_RIGHT:
             switch (lv) {
diff -bur namedTargetSrc/net/minecraft/block/dispenser/BlockPlacementDispenserBehavior.java namedSrc/net/minecraft/block/dispenser/BlockPlacementDispenserBehavior.java
--- namedTargetSrc/net/minecraft/block/dispenser/BlockPlacementDispenserBehavior.java	2024-11-19 20:08:22.060688800 +0000
+++ namedSrc/net/minecraft/block/dispenser/BlockPlacementDispenserBehavior.java	2024-11-19 20:07:12.619741726 +0000
@@ -29,7 +29,7 @@
       this.setSuccess(false);
       Item lv = stack.getItem();
       if (lv instanceof BlockItem) {
-         Direction lv2 = pointer.state().get(DispenserBlock.FACING);
+         Direction lv2 = pointer.state().getOrThrow(DispenserBlock.FACING);
          BlockPos lv3 = pointer.pos().offset(lv2);
          Direction lv4 = pointer.world().isAir(lv3.down()) ? lv2 : Direction.UP;
 
diff -bur namedTargetSrc/net/minecraft/block/dispenser/BoatDispenserBehavior.java namedSrc/net/minecraft/block/dispenser/BoatDispenserBehavior.java
--- namedTargetSrc/net/minecraft/block/dispenser/BoatDispenserBehavior.java	2024-11-19 20:08:22.044688588 +0000
+++ namedSrc/net/minecraft/block/dispenser/BoatDispenserBehavior.java	2024-11-19 20:07:12.591741379 +0000
@@ -41,7 +41,7 @@
     */
    @Override
    public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
-      Direction lv = pointer.state().get(DispenserBlock.FACING);
+      Direction lv = pointer.state().getOrThrow(DispenserBlock.FACING);
       ServerWorld lv2 = pointer.world();
       Vec3d lv3 = pointer.center();
       double d = 0.5625 + (double)this.boatType.getWidth() / 2.0;
diff -bur namedTargetSrc/net/minecraft/block/dispenser/DispenserBehavior.java namedSrc/net/minecraft/block/dispenser/DispenserBehavior.java
--- namedTargetSrc/net/minecraft/block/dispenser/DispenserBehavior.java	2024-11-19 20:08:21.968687578 +0000
+++ namedSrc/net/minecraft/block/dispenser/DispenserBehavior.java	2024-11-19 20:07:12.459739752 +0000
@@ -47,7 +47,6 @@
 import net.minecraft.server.world.ServerWorld;
 import net.minecraft.sound.SoundCategory;
 import net.minecraft.sound.SoundEvents;
-import net.minecraft.state.properties.RotationSegment;
 import net.minecraft.state.property.Properties;
 import net.minecraft.unmapped.C_grwaorwt;
 import net.minecraft.unmapped.C_ueplrtkn;
@@ -56,6 +55,7 @@
 import net.minecraft.util.math.BlockPos;
 import net.minecraft.util.math.Box;
 import net.minecraft.util.math.Direction;
+import net.minecraft.util.math.RotationSegment;
 import net.minecraft.world.World;
 import net.minecraft.world.WorldAccess;
 import net.minecraft.world.WorldEvents;
@@ -106,7 +106,7 @@
           */
          @Override
          public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
-            Direction lv = pointer.state().get(DispenserBlock.FACING);
+            Direction lv = pointer.state().getOrThrow(DispenserBlock.FACING);
             EntityType<?> lv2 = ((SpawnEggItem)stack.getItem()).getEntityType(stack);
 
             try {
@@ -132,7 +132,7 @@
           */
          @Override
          public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
-            Direction lv = pointer.state().get(DispenserBlock.FACING);
+            Direction lv = pointer.state().getOrThrow(DispenserBlock.FACING);
             BlockPos lv2 = pointer.pos().offset(lv);
             ServerWorld lv3 = pointer.world();
             Consumer<ArmorStandEntity> consumer = EntityType.appendDefaultStackSpawnConfig(arg2 -> arg2.setYaw(lv.asRotation()), lv3, stack, null);
@@ -152,7 +152,7 @@
              */
             @Override
             public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
-               BlockPos lv = pointer.pos().offset(pointer.state().get(DispenserBlock.FACING));
+               BlockPos lv = pointer.pos().offset(pointer.state().getOrThrow(DispenserBlock.FACING));
                List<LivingEntity> list = pointer.world()
                   .getEntitiesByClass(
                      LivingEntity.class, new Box(lv), entity -> !(entity instanceof Saddleable lvx) ? false : !lvx.isSaddled() && lvx.canBeSaddled()
@@ -175,7 +175,7 @@
              */
             @Override
             public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
-               BlockPos lv = pointer.pos().offset(pointer.state().get(DispenserBlock.FACING));
+               BlockPos lv = pointer.pos().offset(pointer.state().getOrThrow(DispenserBlock.FACING));
 
                for (AbstractDonkeyEntity lv2 : pointer.world()
                   .getEntitiesByClass(AbstractDonkeyEntity.class, new Box(lv), arg -> arg.isAlive() && !arg.hasChest())) {
@@ -222,7 +222,7 @@
          @Override
          public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
             FluidModificationItem lv = (FluidModificationItem)stack.getItem();
-            BlockPos lv2 = pointer.pos().offset(pointer.state().get(DispenserBlock.FACING));
+            BlockPos lv2 = pointer.pos().offset(pointer.state().getOrThrow(DispenserBlock.FACING));
             World lv3 = pointer.world();
             if (lv.placeFluid(null, lv3, lv2, null)) {
                lv.onEmptied(null, lv3, stack, lv2);
@@ -248,7 +248,7 @@
          @Override
          public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
             WorldAccess lv = pointer.world();
-            BlockPos lv2 = pointer.pos().offset(pointer.state().get(DispenserBlock.FACING));
+            BlockPos lv2 = pointer.pos().offset(pointer.state().getOrThrow(DispenserBlock.FACING));
             BlockState lv3 = lv.getBlockState(lv2);
             if (lv3.getBlock() instanceof FluidDrainable lv5) {
                ItemStack lv6 = lv5.tryDrainFluid(null, lv, lv2, lv3);
@@ -272,7 +272,7 @@
          protected ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
             ServerWorld lv = pointer.world();
             this.setSuccess(true);
-            Direction lv2 = pointer.state().get(DispenserBlock.FACING);
+            Direction lv2 = pointer.state().getOrThrow(DispenserBlock.FACING);
             BlockPos lv3 = pointer.pos().offset(lv2);
             BlockState lv4 = lv.getBlockState(lv3);
             if (AbstractFireBlock.canPlaceAt(lv, lv3, lv2)) {
@@ -304,7 +304,7 @@
          protected ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
             this.setSuccess(true);
             World lv = pointer.world();
-            BlockPos lv2 = pointer.pos().offset(pointer.state().get(DispenserBlock.FACING));
+            BlockPos lv2 = pointer.pos().offset(pointer.state().getOrThrow(DispenserBlock.FACING));
             if (!BoneMealItem.useOnFertilizable(stack, lv, lv2) && !BoneMealItem.useOnGround(stack, lv, lv2, null)) {
                this.setSuccess(false);
             } else if (!lv.isClient) {
@@ -321,7 +321,7 @@
          @Override
          protected ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
             World lv = pointer.world();
-            BlockPos lv2 = pointer.pos().offset(pointer.state().get(DispenserBlock.FACING));
+            BlockPos lv2 = pointer.pos().offset(pointer.state().getOrThrow(DispenserBlock.FACING));
             TntEntity lv3 = new TntEntity(lv, (double)lv2.getX() + 0.5, (double)lv2.getY(), (double)lv2.getZ() + 0.5, null);
             lv.spawnEntity(lv3);
             lv.playSound(null, lv3.getX(), lv3.getY(), lv3.getZ(), SoundEvents.ENTITY_TNT_PRIMED, SoundCategory.BLOCKS, 1.0F, 1.0F);
@@ -339,7 +339,7 @@
             @Override
             protected ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
                World lv = pointer.world();
-               Direction lv2 = pointer.state().get(DispenserBlock.FACING);
+               Direction lv2 = pointer.state().getOrThrow(DispenserBlock.FACING);
                BlockPos lv3 = pointer.pos().offset(lv2);
                if (lv.isAir(lv3) && WitherSkullBlock.canDispense(lv, lv3, stack)) {
                   lv.setBlockState(
@@ -370,7 +370,7 @@
          @Override
          protected ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
             World lv = pointer.world();
-            BlockPos lv2 = pointer.pos().offset(pointer.state().get(DispenserBlock.FACING));
+            BlockPos lv2 = pointer.pos().offset(pointer.state().getOrThrow(DispenserBlock.FACING));
             CarvedPumpkinBlock lv3 = (CarvedPumpkinBlock)Blocks.CARVED_PUMPKIN;
             if (lv.isAir(lv2) && lv3.canDispense(lv, lv2)) {
                if (!lv.isClient) {
@@ -411,10 +411,10 @@
             public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
                this.setSuccess(false);
                ServerWorld lv = pointer.world();
-               BlockPos lv2 = pointer.pos().offset(pointer.state().get(DispenserBlock.FACING));
+               BlockPos lv2 = pointer.pos().offset(pointer.state().getOrThrow(DispenserBlock.FACING));
                BlockState lv3 = lv.getBlockState(lv2);
                if (lv3.isInAndMatches(BlockTags.BEEHIVES, arg -> arg.contains(BeehiveBlock.HONEY_LEVEL) && arg.getBlock() instanceof BeehiveBlock)
-                  && (Integer)lv3.get(BeehiveBlock.HONEY_LEVEL) >= 5) {
+                  && (Integer)lv3.getOrThrow(BeehiveBlock.HONEY_LEVEL) >= 5) {
                   ((BeehiveBlock)lv3.getBlock()).takeHoney(lv, lv3, lv2, null, BeehiveBlockEntity.BeeState.BEE_RELEASED);
                   this.setSuccess(true);
                   return this.m_eihslyjq(pointer, stack, new ItemStack(Items.HONEY_BOTTLE));
@@ -433,13 +433,13 @@
           */
          @Override
          public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
-            Direction lv = pointer.state().get(DispenserBlock.FACING);
+            Direction lv = pointer.state().getOrThrow(DispenserBlock.FACING);
             BlockPos lv2 = pointer.pos().offset(lv);
             World lv3 = pointer.world();
             BlockState lv4 = lv3.getBlockState(lv2);
             this.setSuccess(true);
             if (lv4.isOf(Blocks.RESPAWN_ANCHOR)) {
-               if ((Integer)lv4.get(RespawnAnchorBlock.CHARGES) != 4) {
+               if ((Integer)lv4.getOrThrow(RespawnAnchorBlock.CHARGES) != 4) {
                   RespawnAnchorBlock.charge(null, lv3, lv2, lv4);
                   stack.decrement(1);
                } else {
@@ -460,7 +460,7 @@
          @Override
          protected ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
             ServerWorld lv = pointer.world();
-            BlockPos lv2 = pointer.pos().offset(pointer.state().get(DispenserBlock.FACING));
+            BlockPos lv2 = pointer.pos().offset(pointer.state().getOrThrow(DispenserBlock.FACING));
             List<ArmadilloEntity> list = lv.getEntitiesByClass(ArmadilloEntity.class, new Box(lv2), EntityPredicates.EXCEPT_SPECTATOR);
             if (list.isEmpty()) {
                this.setSuccess(false);
@@ -485,7 +485,7 @@
           */
          @Override
          public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
-            BlockPos lv = pointer.pos().offset(pointer.state().get(DispenserBlock.FACING));
+            BlockPos lv = pointer.pos().offset(pointer.state().getOrThrow(DispenserBlock.FACING));
             World lv2 = pointer.world();
             BlockState lv3 = lv2.getBlockState(lv);
             Optional<BlockState> optional = HoneycombItem.getWaxedState(lv3);
@@ -519,7 +519,7 @@
                } else {
                   ServerWorld lv2 = pointer.world();
                   BlockPos lv3 = pointer.pos();
-                  BlockPos lv4 = pointer.pos().offset(pointer.state().get(DispenserBlock.FACING));
+                  BlockPos lv4 = pointer.pos().offset(pointer.state().getOrThrow(DispenserBlock.FACING));
                   if (!lv2.getBlockState(lv4).isIn(BlockTags.CONVERTABLE_TO_MUD)) {
                      return this.f_rnenkqvi.dispense(pointer, stack);
                   } else {
diff -bur namedTargetSrc/net/minecraft/block/dispenser/DispenserBlock.java namedSrc/net/minecraft/block/dispenser/DispenserBlock.java
--- namedTargetSrc/net/minecraft/block/dispenser/DispenserBlock.java	2024-11-19 20:08:21.904686728 +0000
+++ namedSrc/net/minecraft/block/dispenser/DispenserBlock.java	2024-11-19 20:07:12.383738813 +0000
@@ -183,7 +183,7 @@
    @Override
    protected void neighborUpdate(BlockState state, World world, BlockPos pos, Block block, @Nullable Orientation orientation, boolean notify) {
       boolean bl2 = world.isReceivingRedstonePower(pos) || world.isReceivingRedstonePower(pos.up());
-      boolean bl3 = (Boolean)state.get(TRIGGERED);
+      boolean bl3 = (Boolean)state.getOrThrow(TRIGGERED);
       if (bl2 && !bl3) {
          world.scheduleBlockTick(pos, this, 4);
          world.setBlockState(pos, state.with(TRIGGERED, Boolean.valueOf(true)), Block.NOTIFY_LISTENERS);
@@ -238,7 +238,7 @@
     * @mapping {@literal named getDispensePos Lnet/minecraft/block/dispenser/DispenserBlock;getDispensePos(Lnet/minecraft/util/math/BlockPointer;DLnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Position;}
     */
    public static Position getDispensePos(BlockPointer block, double baseOffsetFactor, Vec3d offset) {
-      Direction lv = block.state().get(FACING);
+      Direction lv = block.state().getOrThrow(FACING);
       return block.center()
          .add(
             baseOffsetFactor * (double)lv.getOffsetX() + offset.getX(),
@@ -268,7 +268,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -276,7 +276,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/dispenser/ItemDispenserBehavior.java namedSrc/net/minecraft/block/dispenser/ItemDispenserBehavior.java
--- namedTargetSrc/net/minecraft/block/dispenser/ItemDispenserBehavior.java	2024-11-19 20:08:21.820685612 +0000
+++ namedSrc/net/minecraft/block/dispenser/ItemDispenserBehavior.java	2024-11-19 20:07:12.283737580 +0000
@@ -27,7 +27,7 @@
    public final ItemStack dispense(BlockPointer arg, ItemStack stack) {
       ItemStack lv = this.dispenseSilently(arg, stack);
       this.playSound(arg);
-      this.spawnParticles(arg, arg.state().get(DispenserBlock.FACING));
+      this.spawnParticles(arg, arg.state().getOrThrow(DispenserBlock.FACING));
       return lv;
    }
 
@@ -36,7 +36,7 @@
     * @mapping {@literal named dispenseSilently Lnet/minecraft/block/dispenser/ItemDispenserBehavior;dispenseSilently(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;}
     */
    protected ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
-      Direction lv = pointer.state().get(DispenserBlock.FACING);
+      Direction lv = pointer.state().getOrThrow(DispenserBlock.FACING);
       Position lv2 = DispenserBlock.getDispensePos(pointer);
       ItemStack lv3 = stack.split(1);
       spawnItem(pointer.world(), lv3, 6, lv, lv2);
@@ -122,7 +122,7 @@
    private void insertAndSpawnExcess(BlockPointer block, ItemStack stack) {
       ItemStack lv = block.blockEntity().tryInsert(stack);
       if (!lv.isEmpty()) {
-         Direction lv2 = block.state().get(DispenserBlock.FACING);
+         Direction lv2 = block.state().getOrThrow(DispenserBlock.FACING);
          spawnItem(block.world(), lv, 6, lv2, DispenserBlock.getDispensePos(block));
          playDefaultSound(block);
          spawnDefaultParticles(block, lv2);
diff -bur namedTargetSrc/net/minecraft/block/dispenser/ProjectileDispenserBehavior.java namedSrc/net/minecraft/block/dispenser/ProjectileDispenserBehavior.java
--- namedTargetSrc/net/minecraft/block/dispenser/ProjectileDispenserBehavior.java	2024-11-19 20:08:21.980687737 +0000
+++ namedSrc/net/minecraft/block/dispenser/ProjectileDispenserBehavior.java	2024-11-19 20:07:12.483740048 +0000
@@ -44,7 +44,7 @@
    @Override
    public ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
       ServerWorld lv = pointer.world();
-      Direction lv2 = pointer.state().get(DispenserBlock.FACING);
+      Direction lv2 = pointer.state().getOrThrow(DispenserBlock.FACING);
       Position lv3 = this.config.positionFunction().getDispensePosition(pointer, lv2);
       ProjectileEntity.spawn(
          this.projectile.createEntity(lv, lv3, stack, lv2),
diff -bur namedTargetSrc/net/minecraft/block/dispenser/ShearsDispenserBehavior.java namedSrc/net/minecraft/block/dispenser/ShearsDispenserBehavior.java
--- namedTargetSrc/net/minecraft/block/dispenser/ShearsDispenserBehavior.java	2024-11-19 20:08:21.944687259 +0000
+++ namedSrc/net/minecraft/block/dispenser/ShearsDispenserBehavior.java	2024-11-19 20:07:12.423739307 +0000
@@ -28,7 +28,7 @@
    protected ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack) {
       ServerWorld lv = pointer.world();
       if (!lv.isClient()) {
-         BlockPos lv2 = pointer.pos().offset(pointer.state().get(DispenserBlock.FACING));
+         BlockPos lv2 = pointer.pos().offset(pointer.state().getOrThrow(DispenserBlock.FACING));
          this.setSuccess(tryShearBlock(lv, lv2) || tryShearEntity(lv, lv2, stack));
          if (this.isSuccess()) {
             stack.damageEquipment(1, lv, null, arg -> {
@@ -46,7 +46,7 @@
    private static boolean tryShearBlock(ServerWorld world, BlockPos pos) {
       BlockState lv = world.getBlockState(pos);
       if (lv.isInAndMatches(BlockTags.BEEHIVES, arg -> arg.contains(BeehiveBlock.HONEY_LEVEL) && arg.getBlock() instanceof BeehiveBlock)) {
-         int i = (Integer)lv.get(BeehiveBlock.HONEY_LEVEL);
+         int i = (Integer)lv.getOrThrow(BeehiveBlock.HONEY_LEVEL);
          if (i >= 5) {
             world.playSound(null, pos, SoundEvents.BLOCK_BEEHIVE_SHEAR, SoundCategory.BLOCKS, 1.0F, 1.0F);
             BeehiveBlock.dropHoneycomb(world, pos);
diff -bur namedTargetSrc/net/minecraft/block/DoorBlock.java namedSrc/net/minecraft/block/DoorBlock.java
--- namedTargetSrc/net/minecraft/block/DoorBlock.java	2024-11-19 20:08:22.020688269 +0000
+++ namedSrc/net/minecraft/block/DoorBlock.java	2024-11-19 20:07:12.555740936 +0000
@@ -144,9 +144,9 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      Direction lv = state.get(FACING);
-      boolean bl = !(Boolean)state.get(OPEN);
-      boolean bl2 = state.get(HINGE) == DoorHinge.RIGHT;
+      Direction lv = state.getOrThrow(FACING);
+      boolean bl = !(Boolean)state.getOrThrow(OPEN);
+      boolean bl2 = state.getOrThrow(HINGE) == DoorHinge.RIGHT;
 
       return switch (lv) {
          case SOUTH -> bl ? NORTH_SHAPE : (bl2 ? WEST_SHAPE : EAST_SHAPE);
@@ -170,13 +170,15 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      DoubleBlockHalf lv = state.get(HALF);
+      DoubleBlockHalf lv = state.getOrThrow(HALF);
       if (direction.getAxis() != Direction.Axis.Y || lv == DoubleBlockHalf.LOWER != (direction == Direction.UP)) {
          return lv == DoubleBlockHalf.LOWER && direction == Direction.DOWN && !state.canPlaceAt(world, pos)
             ? Blocks.AIR.getDefaultState()
             : super.getStateForNeighborUpdate(state, world, arg3, pos, direction, neighborPos, neighborState, random);
       } else {
-         return neighborState.getBlock() instanceof DoorBlock && neighborState.get(HALF) != lv ? neighborState.with(HALF, lv) : Blocks.AIR.getDefaultState();
+         return neighborState.getBlock() instanceof DoorBlock && neighborState.getOrThrow(HALF) != lv
+            ? neighborState.with(HALF, lv)
+            : Blocks.AIR.getDefaultState();
       }
    }
 
@@ -185,7 +187,10 @@
     */
    @Override
    protected void onExplosion(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> dropConsumer) {
-      if (explosion.canTriggerBlocks() && state.get(HALF) == DoubleBlockHalf.LOWER && this.blockSetType.canOpenByWindCharge() && !(Boolean)state.get(POWERED)) {
+      if (explosion.canTriggerBlocks()
+         && state.getOrThrow(HALF) == DoubleBlockHalf.LOWER
+         && this.blockSetType.canOpenByWindCharge()
+         && !(Boolean)state.getOrThrow(POWERED)) {
          this.setOpen(null, world, state, pos, !this.isOpen(state));
       }
 
@@ -210,7 +215,7 @@
    @Override
    protected boolean canPathfindThrough(BlockState state, NavigationType navigationType) {
       return switch (navigationType) {
-         case LAND, AIR -> state.get(OPEN);
+         case LAND, AIR -> state.getOrThrow(OPEN);
          case WATER -> false;
       };
    }
@@ -267,8 +272,8 @@
          + (lv9.isFullCube(lv, lv8) ? -1 : 0)
          + (lv12.isFullCube(lv, lv11) ? 1 : 0)
          + (lv14.isFullCube(lv, lv13) ? 1 : 0);
-      boolean bl = lv7.getBlock() instanceof DoorBlock && lv7.get(HALF) == DoubleBlockHalf.LOWER;
-      boolean bl2 = lv12.getBlock() instanceof DoorBlock && lv12.get(HALF) == DoubleBlockHalf.LOWER;
+      boolean bl = lv7.getBlock() instanceof DoorBlock && lv7.getOrThrow(HALF) == DoubleBlockHalf.LOWER;
+      boolean bl2 = lv12.getBlock() instanceof DoorBlock && lv12.getOrThrow(HALF) == DoubleBlockHalf.LOWER;
       if ((!bl || bl2) && i <= 0) {
          if ((!bl2 || bl) && i >= 0) {
             int j = lv3.getOffsetX();
@@ -295,7 +300,7 @@
       } else {
          state = state.cycle(OPEN);
          world.setBlockState(pos, state, Block.NOTIFY_LISTENERS | Block.REDRAW_ON_MAIN_THREAD);
-         this.playOpenCloseSound(player, world, pos, (Boolean)state.get(OPEN));
+         this.playOpenCloseSound(player, world, pos, (Boolean)state.getOrThrow(OPEN));
          world.emitGameEvent(player, this.isOpen(state) ? GameEvent.BLOCK_OPEN : GameEvent.BLOCK_CLOSE, pos);
          return ActionResult.SUCCESS;
       }
@@ -306,7 +311,7 @@
     * @mapping {@literal named isOpen Lnet/minecraft/block/DoorBlock;isOpen(Lnet/minecraft/block/BlockState;)Z}
     */
    public boolean isOpen(BlockState state) {
-      return (Boolean)state.get(OPEN);
+      return (Boolean)state.getOrThrow(OPEN);
    }
 
    /**
@@ -314,7 +319,7 @@
     * @mapping {@literal named setOpen Lnet/minecraft/block/DoorBlock;setOpen(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Z)V}
     */
    public void setOpen(@Nullable Entity entity, World world, BlockState state, BlockPos pos, boolean open) {
-      if (state.isOf(this) && (Boolean)state.get(OPEN) != open) {
+      if (state.isOf(this) && (Boolean)state.getOrThrow(OPEN) != open) {
          world.setBlockState(pos, state.with(OPEN, Boolean.valueOf(open)), Block.NOTIFY_LISTENERS | Block.REDRAW_ON_MAIN_THREAD);
          this.playOpenCloseSound(entity, world, pos, open);
          world.emitGameEvent(entity, open ? GameEvent.BLOCK_OPEN : GameEvent.BLOCK_CLOSE, pos);
@@ -327,9 +332,9 @@
    @Override
    protected void neighborUpdate(BlockState state, World world, BlockPos pos, Block block, @Nullable Orientation orientation, boolean notify) {
       boolean bl2 = world.isReceivingRedstonePower(pos)
-         || world.isReceivingRedstonePower(pos.offset(state.get(HALF) == DoubleBlockHalf.LOWER ? Direction.UP : Direction.DOWN));
-      if (!this.getDefaultState().isOf(block) && bl2 != (Boolean)state.get(POWERED)) {
-         if (bl2 != (Boolean)state.get(OPEN)) {
+         || world.isReceivingRedstonePower(pos.offset(state.getOrThrow(HALF) == DoubleBlockHalf.LOWER ? Direction.UP : Direction.DOWN));
+      if (!this.getDefaultState().isOf(block) && bl2 != (Boolean)state.getOrThrow(POWERED)) {
+         if (bl2 != (Boolean)state.getOrThrow(OPEN)) {
             this.playOpenCloseSound(null, world, pos, bl2);
             world.emitGameEvent(null, bl2 ? GameEvent.BLOCK_OPEN : GameEvent.BLOCK_CLOSE, pos);
          }
@@ -345,7 +350,7 @@
    protected boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos) {
       BlockPos lv = pos.down();
       BlockState lv2 = world.getBlockState(lv);
-      return state.get(HALF) == DoubleBlockHalf.LOWER ? lv2.isSideSolidFullSquare(world, lv, Direction.UP) : lv2.isOf(this);
+      return state.getOrThrow(HALF) == DoubleBlockHalf.LOWER ? lv2.isSideSolidFullSquare(world, lv, Direction.UP) : lv2.isOf(this);
    }
 
    /**
@@ -368,7 +373,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -376,7 +381,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return mirror == BlockMirror.NONE ? state : state.rotate(mirror.getRotation(state.get(FACING))).cycle(HINGE);
+      return mirror == BlockMirror.NONE ? state : state.rotate(mirror.getRotation(state.getOrThrow(FACING))).cycle(HINGE);
    }
 
    /**
@@ -384,7 +389,7 @@
     */
    @Override
    protected long getRenderingSeed(BlockState state, BlockPos pos) {
-      return MathHelper.hashCode(pos.getX(), pos.down(state.get(HALF) == DoubleBlockHalf.LOWER ? 0 : 1).getY(), pos.getZ());
+      return MathHelper.hashCode(pos.getX(), pos.down(state.getOrThrow(HALF) == DoubleBlockHalf.LOWER ? 0 : 1).getY(), pos.getZ());
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/DoubleBlockProperties.java namedSrc/net/minecraft/block/DoubleBlockProperties.java
--- namedTargetSrc/net/minecraft/block/DoubleBlockProperties.java	2024-11-19 20:08:22.060688800 +0000
+++ namedSrc/net/minecraft/block/DoubleBlockProperties.java	2024-11-19 20:07:12.619741726 +0000
@@ -44,7 +44,7 @@
             BlockState lv4 = world.getBlockState(lv3);
             if (lv4.isOf(state.getBlock())) {
                DoubleBlockProperties.Type lv5 = (DoubleBlockProperties.Type)typeMapper.apply(lv4);
-               if (lv5 != DoubleBlockProperties.Type.SINGLE && lv2 != lv5 && lv4.get(arg2) == state.get(arg2)) {
+               if (lv5 != DoubleBlockProperties.Type.SINGLE && lv2 != lv5 && lv4.getOrThrow(arg2) == state.getOrThrow(arg2)) {
                   if (fallbackTester.test(world, lv3)) {
                      return DoubleBlockProperties.PropertyRetriever::getFallback;
                   }
diff -bur namedTargetSrc/net/minecraft/block/DropperBlock.java namedSrc/net/minecraft/block/DropperBlock.java
--- namedTargetSrc/net/minecraft/block/DropperBlock.java	2024-11-19 20:08:21.780685081 +0000
+++ namedSrc/net/minecraft/block/DropperBlock.java	2024-11-19 20:07:12.231736938 +0000
@@ -89,7 +89,7 @@
          } else {
             ItemStack lv3 = lv.getStack(i);
             if (!lv3.isEmpty()) {
-               Direction lv4 = world.getBlockState(pos).get(FACING);
+               Direction lv4 = world.getBlockState(pos).getOrThrow(FACING);
                Inventory lv5 = HopperBlockEntity.findInventory(world, pos.offset(lv4));
                ItemStack lv6;
                if (lv5 == null) {
diff -bur namedTargetSrc/net/minecraft/block/EnderChestBlock.java namedSrc/net/minecraft/block/EnderChestBlock.java
--- namedTargetSrc/net/minecraft/block/EnderChestBlock.java	2024-11-19 20:08:22.080689067 +0000
+++ namedSrc/net/minecraft/block/EnderChestBlock.java	2024-11-19 20:07:12.651742120 +0000
@@ -179,7 +179,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -187,7 +187,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 
    /**
@@ -203,7 +203,7 @@
     */
    @Override
    protected FluidState getFluidState(BlockState state) {
-      return state.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
+      return state.getOrThrow(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(state);
    }
 
    /**
@@ -220,7 +220,7 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 
diff -bur namedTargetSrc/net/minecraft/block/EndPortalFrameBlock.java namedSrc/net/minecraft/block/EndPortalFrameBlock.java
--- namedTargetSrc/net/minecraft/block/EndPortalFrameBlock.java	2024-11-19 20:08:22.016688217 +0000
+++ namedSrc/net/minecraft/block/EndPortalFrameBlock.java	2024-11-19 20:07:12.539740739 +0000
@@ -92,7 +92,7 @@
     */
    @Override
    protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
-      return state.get(EYE) ? FRAME_WITH_EYE_SHAPE : FRAME_SHAPE;
+      return state.getOrThrow(EYE) ? FRAME_WITH_EYE_SHAPE : FRAME_SHAPE;
    }
 
    /**
@@ -116,7 +116,7 @@
     */
    @Override
    protected int getComparatorOutput(BlockState state, World world, BlockPos pos) {
-      return state.get(EYE) ? 15 : 0;
+      return state.getOrThrow(EYE) ? 15 : 0;
    }
 
    /**
@@ -124,7 +124,7 @@
     */
    @Override
    protected BlockState rotate(BlockState state, BlockRotation rotation) {
-      return state.with(FACING, rotation.rotate(state.get(FACING)));
+      return state.with(FACING, rotation.rotate(state.getOrThrow(FACING)));
    }
 
    /**
@@ -132,7 +132,7 @@
     */
    @Override
    protected BlockState mirror(BlockState state, BlockMirror mirror) {
-      return state.rotate(mirror.getRotation(state.get(FACING)));
+      return state.rotate(mirror.getRotation(state.getOrThrow(FACING)));
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/EndRodBlock.java namedSrc/net/minecraft/block/EndRodBlock.java
--- namedTargetSrc/net/minecraft/block/EndRodBlock.java	2024-11-19 20:08:22.044688588 +0000
+++ namedSrc/net/minecraft/block/EndRodBlock.java	2024-11-19 20:07:12.595741430 +0000
@@ -44,7 +44,7 @@
    public BlockState getPlacementState(ItemPlacementContext ctx) {
       Direction lv = ctx.getSide();
       BlockState lv2 = ctx.getWorld().getBlockState(ctx.getBlockPos().offset(lv.getOpposite()));
-      return lv2.isOf(this) && lv2.get(FACING) == lv ? this.getDefaultState().with(FACING, lv.getOpposite()) : this.getDefaultState().with(FACING, lv);
+      return lv2.isOf(this) && lv2.getOrThrow(FACING) == lv ? this.getDefaultState().with(FACING, lv.getOpposite()) : this.getDefaultState().with(FACING, lv);
    }
 
    /**
@@ -52,7 +52,7 @@
     */
    @Override
    public void randomDisplayTick(BlockState state, World world, BlockPos pos, RandomGenerator random) {
-      Direction lv = state.get(FACING);
+      Direction lv = state.getOrThrow(FACING);
       double d = (double)pos.getX() + 0.55 - (double)(random.nextFloat() * 0.1F);
       double e = (double)pos.getY() + 0.55 - (double)(random.nextFloat() * 0.1F);
       double f = (double)pos.getZ() + 0.55 - (double)(random.nextFloat() * 0.1F);
diff -bur namedTargetSrc/net/minecraft/block/entity/BarrelBlockEntity.java namedSrc/net/minecraft/block/entity/BarrelBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/BarrelBlockEntity.java	2024-11-19 20:08:22.044688588 +0000
+++ namedSrc/net/minecraft/block/entity/BarrelBlockEntity.java	2024-11-19 20:07:12.591741379 +0000
@@ -190,7 +190,7 @@
     * @mapping {@literal named playSound Lnet/minecraft/block/entity/BarrelBlockEntity;playSound(Lnet/minecraft/block/BlockState;Lnet/minecraft/sound/SoundEvent;)V}
     */
    void playSound(BlockState state, SoundEvent soundEvent) {
-      Vec3i lv = ((Direction)state.get(BarrelBlock.FACING)).asVec3i();
+      Vec3i lv = ((Direction)state.getOrThrow(BarrelBlock.FACING)).asVec3i();
       double d = (double)this.pos.getX() + 0.5 + (double)lv.getX() / 2.0;
       double e = (double)this.pos.getY() + 0.5 + (double)lv.getY() / 2.0;
       double f = (double)this.pos.getZ() + 0.5 + (double)lv.getZ() / 2.0;
diff -bur namedTargetSrc/net/minecraft/block/entity/BeehiveBlockEntity.java namedSrc/net/minecraft/block/entity/BeehiveBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/BeehiveBlockEntity.java	2024-11-19 20:08:21.960687472 +0000
+++ namedSrc/net/minecraft/block/entity/BeehiveBlockEntity.java	2024-11-19 20:07:12.451739652 +0000
@@ -232,7 +232,7 @@
     * @mapping {@literal named getHoneyLevel Lnet/minecraft/block/entity/BeehiveBlockEntity;getHoneyLevel(Lnet/minecraft/block/BlockState;)I}
     */
    public static int getHoneyLevel(BlockState state) {
-      return (Integer)state.get(BeehiveBlock.HONEY_LEVEL);
+      return (Integer)state.getOrThrow(BeehiveBlock.HONEY_LEVEL);
    }
 
    /**
@@ -294,7 +294,7 @@
       if (BeeEntity.isNightOrRaining(world) && beeState != BeehiveBlockEntity.BeeState.EMERGENCY) {
          return false;
       } else {
-         Direction lv = state.get(BeehiveBlock.FACING);
+         Direction lv = state.getOrThrow(BeehiveBlock.FACING);
          BlockPos lv2 = pos.offset(lv);
          boolean bl = !world.getBlockState(lv2).getCollisionShape(world, lv2).isEmpty();
          if (bl && beeState != BeehiveBlockEntity.BeeState.EMERGENCY) {
diff -bur namedTargetSrc/net/minecraft/block/entity/CalibratedSculkSensorBlockEntity.java namedSrc/net/minecraft/block/entity/CalibratedSculkSensorBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/CalibratedSculkSensorBlockEntity.java	2024-11-19 20:08:21.948687312 +0000
+++ namedSrc/net/minecraft/block/entity/CalibratedSculkSensorBlockEntity.java	2024-11-19 20:07:12.427739357 +0000
@@ -67,7 +67,7 @@
        * @mapping {@literal named getRedstonePowerBehind Lnet/minecraft/block/entity/CalibratedSculkSensorBlockEntity$SensorVibrationCallback;getRedstonePowerBehind(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I}
        */
       private int getRedstonePowerBehind(World world, BlockPos pos, BlockState state) {
-         Direction lv = ((Direction)state.get(CalibratedSculkSensorBlock.FACING)).getOpposite();
+         Direction lv = ((Direction)state.getOrThrow(CalibratedSculkSensorBlock.FACING)).getOpposite();
          return world.getEmittedRedstonePower(pos.offset(lv), lv);
       }
    }
diff -bur namedTargetSrc/net/minecraft/block/entity/CampfireBlockEntity.java namedSrc/net/minecraft/block/entity/CampfireBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/CampfireBlockEntity.java	2024-11-19 20:08:21.776685027 +0000
+++ namedSrc/net/minecraft/block/entity/CampfireBlockEntity.java	2024-11-19 20:07:12.223736840 +0000
@@ -132,11 +132,11 @@
       RandomGenerator lv = world.random;
       if (lv.nextFloat() < 0.11F) {
          for (int i = 0; i < lv.nextInt(2) + 2; i++) {
-            CampfireBlock.spawnSmokeParticle(world, pos, (Boolean)state.get(CampfireBlock.SIGNAL_FIRE), false);
+            CampfireBlock.spawnSmokeParticle(world, pos, (Boolean)state.getOrThrow(CampfireBlock.SIGNAL_FIRE), false);
          }
       }
 
-      int j = ((Direction)state.get(CampfireBlock.FACING)).getHorizontal();
+      int j = ((Direction)state.getOrThrow(CampfireBlock.FACING)).getHorizontal();
 
       for (int k = 0; k < campfire.itemsBeingCooked.size(); k++) {
          if (!campfire.itemsBeingCooked.get(k).isEmpty() && lv.nextFloat() < 0.2F) {
diff -bur namedTargetSrc/net/minecraft/block/entity/ChestBlockEntity.java namedSrc/net/minecraft/block/entity/ChestBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/ChestBlockEntity.java	2024-11-19 20:08:21.984687791 +0000
+++ namedSrc/net/minecraft/block/entity/ChestBlockEntity.java	2024-11-19 20:07:12.491740146 +0000
@@ -156,7 +156,7 @@
     * @mapping {@literal named playSound Lnet/minecraft/block/entity/ChestBlockEntity;playSound(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/sound/SoundEvent;)V}
     */
    static void playSound(World world, BlockPos pos, BlockState state, SoundEvent soundEvent) {
-      ChestType lv = state.get(ChestBlock.CHEST_TYPE);
+      ChestType lv = state.getOrThrow(ChestBlock.CHEST_TYPE);
       if (lv != ChestType.LEFT) {
          double d = (double)pos.getX() + 0.5;
          double e = (double)pos.getY() + 0.5;
diff -bur namedTargetSrc/net/minecraft/block/entity/CommandBlockBlockEntity.java namedSrc/net/minecraft/block/entity/CommandBlockBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/CommandBlockBlockEntity.java	2024-11-19 20:08:21.948687312 +0000
+++ namedSrc/net/minecraft/block/entity/CommandBlockBlockEntity.java	2024-11-19 20:07:12.427739357 +0000
@@ -80,7 +80,7 @@
        */
       @Override
       public ServerCommandSource getSource() {
-         Direction lv = CommandBlockBlockEntity.this.getCachedState().get(CommandBlock.FACING);
+         Direction lv = CommandBlockBlockEntity.this.getCachedState().getOrThrow(CommandBlock.FACING);
          return new ServerCommandSource(
             this,
             Vec3d.ofCenter(CommandBlockBlockEntity.this.pos),
@@ -217,7 +217,7 @@
    public boolean updateConditionMet() {
       this.conditionMet = true;
       if (this.isConditionalCommandBlock()) {
-         BlockPos lv = this.pos.offset(((Direction)this.world.getBlockState(this.pos).get(CommandBlock.FACING)).getOpposite());
+         BlockPos lv = this.pos.offset(((Direction)this.world.getBlockState(this.pos).getOrThrow(CommandBlock.FACING)).getOpposite());
          if (this.world.getBlockState(lv).getBlock() instanceof CommandBlock) {
             BlockEntity lv2 = this.world.getBlockEntity(lv);
             this.conditionMet = lv2 instanceof CommandBlockBlockEntity && ((CommandBlockBlockEntity)lv2).getCommandExecutor().getSuccessCount() > 0;
@@ -250,7 +250,7 @@
     */
    public boolean isConditionalCommandBlock() {
       BlockState lv = this.world.getBlockState(this.getPos());
-      return lv.getBlock() instanceof CommandBlock ? (Boolean)lv.get(CommandBlock.CONDITIONAL) : false;
+      return lv.getBlock() instanceof CommandBlock ? (Boolean)lv.getOrThrow(CommandBlock.CONDITIONAL) : false;
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/entity/DecoratedPotBlockEntity.java namedSrc/net/minecraft/block/entity/DecoratedPotBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/DecoratedPotBlockEntity.java	2024-11-19 20:08:22.008688110 +0000
+++ namedSrc/net/minecraft/block/entity/DecoratedPotBlockEntity.java	2024-11-19 20:07:12.531740640 +0000
@@ -131,7 +131,7 @@
     * @mapping {@literal named getOrientation Lnet/minecraft/block/entity/DecoratedPotBlockEntity;getOrientation()Lnet/minecraft/util/math/Direction;}
     */
    public Direction getOrientation() {
-      return this.getCachedState().get(Properties.HORIZONTAL_FACING);
+      return this.getCachedState().getOrThrow(Properties.HORIZONTAL_FACING);
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/entity/HopperBlockEntity.java namedSrc/net/minecraft/block/entity/HopperBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/HopperBlockEntity.java	2024-11-19 20:08:21.820685612 +0000
+++ namedSrc/net/minecraft/block/entity/HopperBlockEntity.java	2024-11-19 20:07:12.283737580 +0000
@@ -75,7 +75,7 @@
     */
    public HopperBlockEntity(BlockPos pos, BlockState state) {
       super(BlockEntityType.HOPPER, pos, state);
-      this.direction = state.get(HopperBlock.FACING);
+      this.direction = state.getOrThrow(HopperBlock.FACING);
    }
 
    /**
@@ -138,7 +138,7 @@
    @Override
    public void setCachedState(BlockState state) {
       super.setCachedState(state);
-      this.direction = state.get(HopperBlock.FACING);
+      this.direction = state.getOrThrow(HopperBlock.FACING);
    }
 
    /**
@@ -170,7 +170,7 @@
       if (world.isClient) {
          return false;
       } else {
-         if (!blockEntity.needsCooldown() && (Boolean)state.get(HopperBlock.ENABLED)) {
+         if (!blockEntity.needsCooldown() && (Boolean)state.getOrThrow(HopperBlock.ENABLED)) {
             boolean bl = false;
             if (!blockEntity.isEmpty()) {
                bl = insert(world, pos, blockEntity);
diff -bur namedTargetSrc/net/minecraft/block/entity/JigsawBlockEntity.java namedSrc/net/minecraft/block/entity/JigsawBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/JigsawBlockEntity.java	2024-11-19 20:08:21.852686037 +0000
+++ namedSrc/net/minecraft/block/entity/JigsawBlockEntity.java	2024-11-19 20:07:12.319738025 +0000
@@ -266,7 +266,7 @@
     * @mapping {@literal named generate Lnet/minecraft/block/entity/JigsawBlockEntity;generate(Lnet/minecraft/server/world/ServerWorld;IZ)V}
     */
    public void generate(ServerWorld world, int maxDepth, boolean keepJigsaws) {
-      BlockPos lv = this.getPos().offset(((JigsawOrientation)this.getCachedState().get(JigsawBlock.ORIENTATION)).getFacing());
+      BlockPos lv = this.getPos().offset(((JigsawOrientation)this.getCachedState().getOrThrow(JigsawBlock.ORIENTATION)).getFacing());
       Registry<StructurePool> lv2 = world.getRegistryManager().getLookupOrThrow(RegistryKeys.STRUCTURE_POOL);
       Holder<StructurePool> lv3 = lv2.getHolderOrThrow(this.pool);
       StructurePoolBasedGenerator.generate(world, lv3, this.target, maxDepth, lv, keepJigsaws);
diff -bur namedTargetSrc/net/minecraft/block/entity/PistonBlockEntity.java namedSrc/net/minecraft/block/entity/PistonBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/PistonBlockEntity.java	2024-11-19 20:08:22.048688641 +0000
+++ namedSrc/net/minecraft/block/entity/PistonBlockEntity.java	2024-11-19 20:07:12.599741479 +0000
@@ -205,7 +205,7 @@
             .getDefaultState()
             .with(PistonHeadBlock.SHORT, Boolean.valueOf(this.progress > 0.25F))
             .with(PistonHeadBlock.TYPE, this.movedState.isOf(Blocks.STICKY_PISTON) ? PistonType.STICKY : PistonType.DEFAULT)
-            .with(PistonHeadBlock.FACING, (Direction)this.movedState.get(PistonBlock.FACING))
+            .with(PistonHeadBlock.FACING, (Direction)this.movedState.getOrThrow(PistonBlock.FACING))
          : this.movedState;
    }
 
@@ -456,7 +456,7 @@
                   world.setBlockState(pos, blockEntity.movedState, Block.NO_REDRAW | Block.FORCE_STATE | Block.MOVED);
                   Block.replace(blockEntity.movedState, lv, world, pos, 3);
                } else {
-                  if (lv.contains(Properties.WATERLOGGED) && (Boolean)lv.get(Properties.WATERLOGGED)) {
+                  if (lv.contains(Properties.WATERLOGGED) && (Boolean)lv.getOrThrow(Properties.WATERLOGGED)) {
                      lv = lv.with(Properties.WATERLOGGED, Boolean.valueOf(false));
                   }
 
diff -bur namedTargetSrc/net/minecraft/block/entity/SculkShriekerBlockEntity.java namedSrc/net/minecraft/block/entity/SculkShriekerBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/SculkShriekerBlockEntity.java	2024-11-19 20:08:22.036688482 +0000
+++ namedSrc/net/minecraft/block/entity/SculkShriekerBlockEntity.java	2024-11-19 20:07:12.575741182 +0000
@@ -214,7 +214,7 @@
    public void shriek(ServerWorld world, @Nullable ServerPlayerEntity player) {
       if (player != null) {
          BlockState lv = this.getCachedState();
-         if (!(Boolean)lv.get(SculkShriekerBlock.SHRIEKING)) {
+         if (!(Boolean)lv.getOrThrow(SculkShriekerBlock.SHRIEKING)) {
             this.warningLevel = 0;
             if (!this.canWarn(world) || this.trySyncWarningLevel(world, player)) {
                this.shriek(world, (Entity)player);
@@ -251,7 +251,7 @@
     * @mapping {@literal named canWarn Lnet/minecraft/block/entity/SculkShriekerBlockEntity;canWarn(Lnet/minecraft/server/world/ServerWorld;)Z}
     */
    private boolean canWarn(ServerWorld world) {
-      return (Boolean)this.getCachedState().get(SculkShriekerBlock.CAN_SUMMON)
+      return (Boolean)this.getCachedState().getOrThrow(SculkShriekerBlock.CAN_SUMMON)
          && world.getDifficulty() != Difficulty.PEACEFUL
          && world.getGameRules().getBooleanValue(GameRules.DO_WARDEN_SPAWNING);
    }
@@ -354,7 +354,7 @@
        */
       @Override
       public boolean accepts(ServerWorld world, BlockPos pos, Holder<GameEvent> arg3, GameEvent.Context arg4) {
-         return !(Boolean)SculkShriekerBlockEntity.this.getCachedState().get(SculkShriekerBlock.SHRIEKING)
+         return !(Boolean)SculkShriekerBlockEntity.this.getCachedState().getOrThrow(SculkShriekerBlock.SHRIEKING)
             && SculkShriekerBlockEntity.findResponsiblePlayerFromEntity(arg4.sourceEntity()) != null;
       }
 
diff -bur namedTargetSrc/net/minecraft/block/entity/ShulkerBoxBlockEntity.java namedSrc/net/minecraft/block/entity/ShulkerBoxBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/ShulkerBoxBlockEntity.java	2024-11-19 20:08:21.956687418 +0000
+++ namedSrc/net/minecraft/block/entity/ShulkerBoxBlockEntity.java	2024-11-19 20:07:12.443739555 +0000
@@ -190,7 +190,7 @@
     * @mapping {@literal named getBoundingBox Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;getBoundingBox(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/math/Box;}
     */
    public Box getBoundingBox(BlockState state) {
-      return ShulkerEntity.getOpeningBoundingBox(1.0F, state.get(ShulkerBoxBlock.FACING), 0.5F * this.getAnimationProgress(1.0F));
+      return ShulkerEntity.getOpeningBoundingBox(1.0F, state.getOrThrow(ShulkerBoxBlock.FACING), 0.5F * this.getAnimationProgress(1.0F));
    }
 
    /**
@@ -199,7 +199,7 @@
     */
    private void pushEntities(World world, BlockPos pos, BlockState state) {
       if (state.getBlock() instanceof ShulkerBoxBlock) {
-         Direction lv = state.get(ShulkerBoxBlock.FACING);
+         Direction lv = state.getOrThrow(ShulkerBoxBlock.FACING);
          Box lv2 = ShulkerEntity.getOpeningDeltaBoundingBox(1.0F, lv, this.prevAnimationProgress, this.animationProgress).offset(pos);
          List<Entity> list = world.getOtherEntities(null, lv2);
          if (!list.isEmpty()) {
diff -bur namedTargetSrc/net/minecraft/block/entity/SkullBlockEntity.java namedSrc/net/minecraft/block/entity/SkullBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/SkullBlockEntity.java	2024-11-19 20:08:22.064688853 +0000
+++ namedSrc/net/minecraft/block/entity/SkullBlockEntity.java	2024-11-19 20:07:12.627741824 +0000
@@ -249,7 +249,7 @@
     * @mapping {@literal named clientTick Lnet/minecraft/block/entity/SkullBlockEntity;clientTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/SkullBlockEntity;)V}
     */
    public static void clientTick(World world, BlockPos pos, BlockState state, SkullBlockEntity skull) {
-      if (state.contains(SkullBlock.POWERED) && (Boolean)state.get(SkullBlock.POWERED)) {
+      if (state.contains(SkullBlock.POWERED) && (Boolean)state.getOrThrow(SkullBlock.POWERED)) {
          skull.powered = true;
          skull.animationTicks++;
       } else {
diff -bur namedTargetSrc/net/minecraft/block/entity/StructureBlockBlockEntity.java namedSrc/net/minecraft/block/entity/StructureBlockBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/StructureBlockBlockEntity.java	2024-11-19 20:08:22.032688429 +0000
+++ namedSrc/net/minecraft/block/entity/StructureBlockBlockEntity.java	2024-11-19 20:07:12.567741084 +0000
@@ -135,7 +135,7 @@
     */
    public StructureBlockBlockEntity(BlockPos pos, BlockState state) {
       super(BlockEntityType.STRUCTURE_BLOCK, pos, state);
-      this.mode = state.get(StructureBlock.MODE);
+      this.mode = state.getOrThrow(StructureBlock.MODE);
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/entity/TrappedChestBlockEntity.java namedSrc/net/minecraft/block/entity/TrappedChestBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/TrappedChestBlockEntity.java	2024-11-19 20:08:21.928687047 +0000
+++ namedSrc/net/minecraft/block/entity/TrappedChestBlockEntity.java	2024-11-19 20:07:12.411739159 +0000
@@ -29,7 +29,9 @@
    protected void onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) {
       super.onInvOpenOrClose(world, pos, state, oldViewerCount, newViewerCount);
       if (oldViewerCount != newViewerCount) {
-         Orientation lv = ExperimentalRedstoneUtil.initialOrientation(world, ((Direction)state.get(TrappedChestBlock.FACING)).getOpposite(), Direction.UP);
+         Orientation lv = ExperimentalRedstoneUtil.initialOrientation(
+            world, ((Direction)state.getOrThrow(TrappedChestBlock.FACING)).getOpposite(), Direction.UP
+         );
          Block lv2 = state.getBlock();
          world.m_hfhkmcni(pos, lv2, lv);
          world.m_hfhkmcni(pos.down(), lv2, lv);
diff -bur namedTargetSrc/net/minecraft/block/entity/TrialSpawnerBlockEntity.java namedSrc/net/minecraft/block/entity/TrialSpawnerBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/TrialSpawnerBlockEntity.java	2024-11-19 20:08:22.024688322 +0000
+++ namedSrc/net/minecraft/block/entity/TrialSpawnerBlockEntity.java	2024-11-19 20:07:12.563741034 +0000
@@ -88,7 +88,7 @@
     */
    @Override
    public NbtCompound toSyncedNbt(HolderLookup.Provider lookupProvider) {
-      return this.spawnerLogic.getData().getSyncedNbt(this.getCachedState().get(TrialSpawnerBlock.STATE));
+      return this.spawnerLogic.getData().getSyncedNbt(this.getCachedState().getOrThrow(TrialSpawnerBlock.STATE));
    }
 
    /**
@@ -119,7 +119,7 @@
    public TrialSpawnerState getState() {
       return !this.getCachedState().contains(Properties.TRIAL_SPAWNER_STATE)
          ? TrialSpawnerState.INACTIVE
-         : this.getCachedState().get(Properties.TRIAL_SPAWNER_STATE);
+         : this.getCachedState().getOrThrow(Properties.TRIAL_SPAWNER_STATE);
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/block/entity/vault/VaultBlockEntity.java namedSrc/net/minecraft/block/entity/vault/VaultBlockEntity.java
--- namedTargetSrc/net/minecraft/block/entity/vault/VaultBlockEntity.java	2024-11-19 20:08:21.948687312 +0000
+++ namedSrc/net/minecraft/block/entity/vault/VaultBlockEntity.java	2024-11-19 20:07:12.427739357 +0000
@@ -222,7 +222,7 @@
             emitConnectionParticles(world, pos, state, sharedData);
          }
 
-         emitIdleParticles(world, pos, sharedData, state.get(VaultBlock.OMINOUS) ? ParticleTypes.SOUL_FIRE_FLAME : ParticleTypes.SMALL_FLAME);
+         emitIdleParticles(world, pos, sharedData, state.getOrThrow(VaultBlock.OMINOUS) ? ParticleTypes.SOUL_FIRE_FLAME : ParticleTypes.SMALL_FLAME);
          playIdleSounds(world, pos, sharedData);
       }
 
@@ -292,7 +292,7 @@
       private static void emitConnectionParticles(World world, BlockPos pos, BlockState state, VaultSharedData sharedData) {
          Set<UUID> set = sharedData.getConnectedPlayers();
          if (!set.isEmpty()) {
-            Vec3d lv = getKeyholePosition(pos, state.get(VaultBlock.FACING));
+            Vec3d lv = getKeyholePosition(pos, state.getOrThrow(VaultBlock.FACING));
 
             for (UUID uUID : set) {
                PlayerEntity lv2 = world.getPlayerByUuid(uUID);
@@ -383,7 +383,7 @@
        * @mapping {@literal named tick Lnet/minecraft/block/entity/vault/VaultBlockEntity$Server;tick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/vault/VaultConfig;Lnet/minecraft/block/entity/vault/VaultServerData;Lnet/minecraft/block/entity/vault/VaultSharedData;)V}
        */
       public static void tick(ServerWorld world, BlockPos pos, BlockState state, VaultConfig config, VaultServerData serverData, VaultSharedData sharedData) {
-         VaultState lv = state.get(VaultBlock.VAULT_STATE);
+         VaultState lv = state.getOrThrow(VaultBlock.VAULT_STATE);
          if (shouldCycleDisplayItem(world.getTime(), lv)) {
             cycleDisplayItem(world, lv, config, sharedData, pos);
          }
@@ -421,7 +421,7 @@
          PlayerEntity player,
          ItemStack stack
       ) {
-         VaultState lv = state.get(VaultBlock.VAULT_STATE);
+         VaultState lv = state.getOrThrow(VaultBlock.VAULT_STATE);
          if (canEject(config, lv)) {
             if (!canUnlock(config, stack)) {
                playFailedInsertionSound(world, serverData, pos, SoundEvents.BLOCK_VAULT_INSERT_ITEM_FAIL);
@@ -445,10 +445,10 @@
        * @mapping {@literal named setVaultState Lnet/minecraft/block/entity/vault/VaultBlockEntity$Server;setVaultState(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/vault/VaultConfig;Lnet/minecraft/block/entity/vault/VaultSharedData;)V}
        */
       static void setVaultState(ServerWorld world, BlockPos pos, BlockState old, BlockState newState, VaultConfig config, VaultSharedData sharedData) {
-         VaultState lv = old.get(VaultBlock.VAULT_STATE);
-         VaultState lv2 = newState.get(VaultBlock.VAULT_STATE);
+         VaultState lv = old.getOrThrow(VaultBlock.VAULT_STATE);
+         VaultState lv2 = newState.getOrThrow(VaultBlock.VAULT_STATE);
          world.setBlockState(pos, newState, Block.NOTIFY_ALL);
-         lv.transitionTo(world, pos, lv2, config, sharedData, (Boolean)newState.get(VaultBlock.OMINOUS));
+         lv.transitionTo(world, pos, lv2, config, sharedData, (Boolean)newState.getOrThrow(VaultBlock.OMINOUS));
       }
 
       /**
diff -bur namedTargetSrc/net/minecraft/block/FarmlandBlock.java namedSrc/net/minecraft/block/FarmlandBlock.java
--- namedTargetSrc/net/minecraft/block/FarmlandBlock.java	2024-11-19 20:08:21.952687366 +0000
+++ namedSrc/net/minecraft/block/FarmlandBlock.java	2024-11-19 20:07:12.435739456 +0000
@@ -137,7 +137,7 @@
     */
    @Override
    protected void randomTick(BlockState state, ServerWorld world, BlockPos pos, RandomGenerator random) {
-      int i = (Integer)state.get(MOISTURE);
+      int i = (Integer)state.getOrThrow(MOISTURE);
       if (!isWaterNearby(world, pos) && !world.hasRain(pos.up())) {
          if (i > 0) {
             world.setBlockState(pos, state.with(MOISTURE, Integer.valueOf(i - 1)), Block.NOTIFY_LISTENERS);
diff -bur namedTargetSrc/net/minecraft/block/FenceBlock.java namedSrc/net/minecraft/block/FenceBlock.java
--- namedTargetSrc/net/minecraft/block/FenceBlock.java	2024-11-19 20:08:22.016688217 +0000
+++ namedSrc/net/minecraft/block/FenceBlock.java	2024-11-19 20:07:12.543740788 +0000
@@ -152,7 +152,7 @@
       BlockState neighborState,
       RandomGenerator random
    ) {
-      if ((Boolean)state.get(WATERLOGGED)) {
+      if ((Boolean)state.getOrThrow(WATERLOGGED)) {
          arg3.scheduleFluidTick(pos, Fluids.WATER, Fluids.WATER.getTickRate(world));
       }
 


The remaining diff is too long!

Please sign in to comment.