diff --git a/neoforge/src/main/java/com/craisinlord/antarchy/neoforge/AntarchyNeoForgeContentOLD.java b/neoforge/src/main/java/com/craisinlord/antarchy/neoforge/AntarchyNeoForgeContentOLD.java deleted file mode 100644 index 86b2a79a..00000000 --- a/neoforge/src/main/java/com/craisinlord/antarchy/neoforge/AntarchyNeoForgeContentOLD.java +++ /dev/null @@ -1,3489 +0,0 @@ -package com.craisinlord.antarchy.neoforge; - -import com.craisinlord.antarchy.Antarchy; -import com.craisinlord.antarchy.compat.infinity.InfinityCompat; -import com.craisinlord.antarchy.config.AntarchySettings; -import com.craisinlord.antarchy.content.AntarchyObjects; -import com.craisinlord.antarchy.content.block.*; -import com.craisinlord.antarchy.content.bloodglass.BloodglassAccess; -import com.craisinlord.antarchy.content.AntarchySoundEvents; -import com.craisinlord.antarchy.content.AntarchyTags; -import com.craisinlord.antarchy.content.item.BloodCrystalArmorItem; -import com.craisinlord.antarchy.content.item.BloodCrystalAppleItem; -import com.craisinlord.antarchy.content.item.BloodCrystalKatanaItem; -import com.craisinlord.antarchy.content.item.BloodCrystalShardItem; -import com.craisinlord.antarchy.content.block.entity.AntNestBlockEntity; -import com.craisinlord.antarchy.content.block.entity.DreamCampfireBlockEntity; -import com.craisinlord.antarchy.content.block.entity.HushweedBlockEntity; -import com.craisinlord.antarchy.content.block.entity.PotentNyxiteBlockEntity; -import com.craisinlord.antarchy.content.block.entity.WaspNestBlockEntity; -import com.craisinlord.antarchy.content.network.BloodCrystalKatanaTrailPayload; -import com.craisinlord.antarchy.content.worldgen.ants.BrownAntNestFeature; -import com.craisinlord.antarchy.content.worldgen.ants.RainbowAntNestFeature; -import com.craisinlord.antarchy.content.worldgen.ants.RedAntNestFeature; -import com.craisinlord.antarchy.content.worldgen.ants.TermiteNestFeature; -import com.craisinlord.antarchy.content.worldgen.thoraxis.NyxiteSpikeConfiguration; -import com.craisinlord.antarchy.content.worldgen.thoraxis.AntiwaterSpringsConfiguration; -import com.craisinlord.antarchy.content.worldgen.thoraxis.AntiwaterSpringsFeature; -import com.craisinlord.antarchy.content.worldgen.thoraxis.NyxiteSpikeFeature; -import com.craisinlord.antarchy.content.worldgen.thoraxis.PotentNyxiteFeature; -import com.craisinlord.antarchy.neoforge.content.fluid.AntiwaterFluid; -import com.craisinlord.antarchy.content.fluid.AntiwaterLiquidBlock; -import com.craisinlord.antarchy.neoforge.content.fluid.AntiwaterFluidType; -import com.craisinlord.antarchy.content.effect.DreadMobEffect; -import com.craisinlord.antarchy.content.effect.GrowthMobEffect; -import com.craisinlord.antarchy.content.effect.InvertedMobEffect; -import com.craisinlord.antarchy.content.effect.ParalyzedMobEffect; -import com.craisinlord.antarchy.content.effect.ShrinkMobEffect; -import com.craisinlord.antarchy.content.entity.AppleCowEntityVariants.AppleCow; -import com.craisinlord.antarchy.content.entity.AppleCowEntityVariants.EnchantedGoldenAppleCow; -import com.craisinlord.antarchy.content.entity.AppleCowEntityVariants.GoldenAppleCow; -import com.craisinlord.antarchy.content.entity.AppleCowEntityVariants.HoneyedAppleCow; -import com.craisinlord.antarchy.content.entity.cloud_shark.CloudSharkEntity; -import com.craisinlord.antarchy.content.entity.BedBugEntity; -import com.craisinlord.antarchy.content.entity.ButterflyEntity; -import com.craisinlord.antarchy.content.entity.CaterpillarEntity; -import com.craisinlord.antarchy.content.entity.DiamondMinecartEntity; -import com.craisinlord.antarchy.content.entity.DrTrayaurusEntity; -import com.craisinlord.antarchy.content.entity.brutalfly.BrutalflyEntity; -import com.craisinlord.antarchy.content.entity.brutalfly.BrutalflyOrbEntity; -import com.craisinlord.antarchy.content.entity.trades.DrTrayaurusTradeManager; -import com.craisinlord.antarchy.content.entity.EasterBunnyEntity; -import com.craisinlord.antarchy.content.entity.flying_squirrel.FlyingSquirrelEntity; -import com.craisinlord.antarchy.content.entity.ReverieEntity; -import com.craisinlord.antarchy.content.entity.MissileSquidEntity; -import com.craisinlord.antarchy.content.entity.lucid.LucidEntity; -import com.craisinlord.antarchy.content.entity.lucid.LucidBoltEntity; -import com.craisinlord.antarchy.content.entity.lucid.LucidEyeProjectileEntity; -import com.craisinlord.antarchy.content.entity.HushProjectileEntity; -import com.craisinlord.antarchy.content.entity.OuranwoodBoatEntity; -import com.craisinlord.antarchy.content.entity.OuranwoodChestBoatEntity; -import com.craisinlord.antarchy.content.entity.MantisEntity; -import com.craisinlord.antarchy.content.entity.basilisk.BasiliskEntity; -import com.craisinlord.antarchy.content.entity.multipart.MultipartFramework; -import com.craisinlord.antarchy.content.entity.EmperorScorpionEntity; -import com.craisinlord.antarchy.content.entity.ScorpionEntity; -import com.craisinlord.antarchy.content.item.LucidEyeItem; -import com.craisinlord.antarchy.content.item.LucidPearlItem; -import com.craisinlord.antarchy.content.entity.nightmare.NightmareEntity; -import com.craisinlord.antarchy.content.entity.kraken.KrakenEntity; -import com.craisinlord.antarchy.content.entity.MolevoreEntity; -import com.craisinlord.antarchy.content.entity.MolewormEntity; -import com.craisinlord.antarchy.content.entity.BomberEntity; -import com.craisinlord.antarchy.content.entity.SizeRayProjectileEntity; -import com.craisinlord.antarchy.content.entity.TriffidEntity; -import com.craisinlord.antarchy.content.entity.WaspEntity; -import com.craisinlord.antarchy.content.entity.ant.BaseAntEntity; -import com.craisinlord.antarchy.content.entity.ant.BrownAntEntity; -import com.craisinlord.antarchy.content.entity.ant.RainbowAntEntity; -import com.craisinlord.antarchy.content.entity.ant.RedAntEntity; -import com.craisinlord.antarchy.content.item.BattleAxeItem; -import com.craisinlord.antarchy.content.item.BasiliskDaggerItem; -import com.craisinlord.antarchy.content.item.BigBerthaItem; -import com.craisinlord.antarchy.content.item.AntimetalBlockItem; -import com.craisinlord.antarchy.content.item.AntimetalScaffoldingItem; -import com.craisinlord.antarchy.content.item.CloudSharkFinSoupItem; -import com.craisinlord.antarchy.content.item.CorneaEarItem; -import com.craisinlord.antarchy.content.item.GravityGunItem; -import com.craisinlord.antarchy.content.item.DuctTapeBlockItem; -import com.craisinlord.antarchy.content.item.BrutalflyElytraItem; -import com.craisinlord.antarchy.content.item.MobComingSoonTooltipItem; -import com.craisinlord.antarchy.content.item.MogglesItem; -import com.craisinlord.antarchy.content.item.ultimate.UltimateAxeItem; -import com.craisinlord.antarchy.content.item.ultimate.UltimateHoeItem; -import com.craisinlord.antarchy.content.item.ultimate.UltimatePickaxeItem; -import com.craisinlord.antarchy.content.item.ultimate.UtlimateShovelItem; -import com.craisinlord.antarchy.content.item.ultimate.UltimateSwordItem; -import com.craisinlord.antarchy.content.item.DiamondMinecartItem; -import com.craisinlord.antarchy.content.item.ReverieBottleItem; -import com.craisinlord.antarchy.content.item.ScorpionWhipItem; -import com.craisinlord.antarchy.content.item.ScorpionWhipTetherManager; -import com.craisinlord.antarchy.content.item.ScorpionWhipTetherSync; -import com.craisinlord.antarchy.content.item.SizeRayItem; -import com.craisinlord.antarchy.content.item.SquidzookaItem; -import com.craisinlord.antarchy.content.item.SimpleToolTier; -import com.craisinlord.antarchy.content.movement.DreamSandLowGravityAccess; -import com.craisinlord.antarchy.content.item.ultimate.UltimateArmorItem; -import com.craisinlord.antarchy.content.item.ultimate.UltimateBowItem; -import com.craisinlord.antarchy.content.item.ultimate.UltimateCrossbowItem; -import com.craisinlord.antarchy.content.item.ultimate.UltimateGearHelper; -import com.craisinlord.antarchy.content.item.NightmareArmorItem; -import com.craisinlord.antarchy.content.item.NightmareSwordItem; -import com.craisinlord.antarchy.content.item.OuranwoodBoatOnlyItem; -import com.craisinlord.antarchy.content.item.OuranwoodChestBoatItem; -import com.craisinlord.antarchy.content.item.RainbowSugarItem; -import com.craisinlord.antarchy.content.worldgen.elythia.ElythiaBiomeSource; -import com.craisinlord.antarchy.content.worldgen.elythia.ElythiaRiverCarveFunction; -import com.craisinlord.antarchy.content.worldgen.elythia.ElythiaFloraFeature; -import com.craisinlord.antarchy.content.worldgen.elythia.ElythiaLargeTuffBoulderFeature; -import com.craisinlord.antarchy.content.worldgen.elythia.ElythiaPondFeature; -import com.craisinlord.antarchy.content.worldgen.elythia.ElythiaSurfaceCoverFeature; -import com.craisinlord.antarchy.content.worldgen.elythia.ElythiaTuffBoulderFeature; -import com.craisinlord.antarchy.content.worldgen.elythia.ElythiaUndergroundFeature; -import com.craisinlord.antarchy.content.worldgen.elythia.MolewormCaveEntranceFeature; -import com.craisinlord.antarchy.content.worldgen.elythia.MolewormSurfaceMoundsFeature; -import com.craisinlord.antarchy.content.worldgen.elythia.BrutalflyCocoonFeature; -import com.craisinlord.antarchy.content.worldgen.elythia.MolewormTunnelsFeature; -import com.craisinlord.antarchy.content.worldgen.elythia.MolewormWarrensFeature; -import com.craisinlord.antarchy.content.worldgen.elythia.OuranwoodCocoonTreeFeature; -import com.craisinlord.antarchy.content.worldgen.elythia.OuranwoodTreeConfiguration; -import com.craisinlord.antarchy.content.worldgen.elythia.OuranwoodTreeFeature; -import com.craisinlord.antarchy.content.worldgen.elythia.TriffidPatchFeature; -import com.craisinlord.antarchy.content.worldgen.thoraxis.BedBugNestFeature; -import com.craisinlord.antarchy.content.worldgen.thoraxis.BedBugSurfaceClusterFeature; -import com.craisinlord.antarchy.content.worldgen.thoraxis.CloudSeaCalciteFeature; -import com.craisinlord.antarchy.content.worldgen.thoraxis.LucidAntiwaterPoolFeature; -import com.craisinlord.antarchy.content.worldgen.thoraxis.ThoraxisBiomeSource; -import com.craisinlord.antarchy.content.worldgen.thoraxis.ThoraxisDuneConfiguration; -import com.craisinlord.antarchy.content.worldgen.thoraxis.ThoraxisDuneFeature; -import com.craisinlord.antarchy.content.worldgen.thoraxis.ThoraxisFissureConfiguration; -import com.craisinlord.antarchy.content.worldgen.thoraxis.ThoraxisFissureFeature; -import com.craisinlord.antarchy.content.worldgen.thoraxis.ThoraxisBloodCrystalConfiguration; -import com.craisinlord.antarchy.content.worldgen.thoraxis.ThoraxisBloodCrystalFeature; -import com.craisinlord.antarchy.content.worldgen.thoraxis.ThoraxisAntiwaterPoolConfiguration; -import com.craisinlord.antarchy.content.worldgen.thoraxis.ThoraxisAntiwaterPoolFeature; -import com.craisinlord.antarchy.content.worldgen.thoraxis.ThoraxisRibColumnsConfiguration; -import com.craisinlord.antarchy.content.worldgen.thoraxis.ThoraxisRibColumnsFeature; -import com.craisinlord.antarchy.content.worldgen.thoraxis.ThoraxisSpikeConfiguration; -import com.craisinlord.antarchy.content.worldgen.thoraxis.ThoraxisSpikeFeature; -import com.craisinlord.antarchy.content.weather.ThoraxisWeatherManager; -import com.craisinlord.antarchy.content.client.particle.InvertedGeyserBaseParticleOptions; -import com.craisinlord.antarchy.content.client.particle.InvertedGeyserParticleOptions; -import com.craisinlord.antarchy.content.command.GravityCommand; -import com.craisinlord.antarchy.content.command.CaterpillarCommand; -import com.craisinlord.antarchy.neoforge.network.AntarchyGravityNetworking; -import com.craisinlord.antarchy.neoforge.network.BrutalflyElytraNetworking; -import com.craisinlord.antarchy.neoforge.network.MultipartNetworking; -import com.craisinlord.antarchy.neoforge.network.ThoraxisWeatherNetworking; -import com.craisinlord.antarchy.neoforge.entity.multipart.MultipartPartEntity; -import java.util.List; - -import com.craisinlord.antarchy.neoforge.registry.AntarchyNeoForgeEvents; -import com.craisinlord.antarchy.neoforge.registry.AntarchyNeoforgeCreativeModeTabs; -import com.mojang.serialization.MapCodec; - -import java.util.Comparator; - -import net.minecraft.advancements.critereon.EntitySubPredicate; -import net.minecraft.core.BlockPos; -import net.minecraft.core.registries.Registries; -import net.minecraft.core.registries.BuiltInRegistries; -import net.minecraft.resources.ResourceLocation; -import net.minecraft.sounds.SoundEvent; -import net.minecraft.sounds.SoundEvents; -import net.minecraft.world.entity.monster.Monster; -import net.minecraft.world.item.alchemy.PotionContents; -import net.minecraft.world.item.alchemy.Potions; -import net.minecraft.world.item.alchemy.Potion; -import net.minecraft.world.InteractionResult; -import net.minecraft.world.effect.MobEffect; -import net.minecraft.world.effect.MobEffectInstance; -import net.minecraft.world.effect.MobEffects; -import net.minecraft.tags.TagKey; -import net.minecraft.world.damagesource.DamageType; -import net.minecraft.world.damagesource.DamageTypes; -import net.minecraft.world.entity.EntityType; -import net.minecraft.world.entity.Entity; -import net.minecraft.world.entity.LivingEntity; -import net.minecraft.world.entity.Mob; -import net.minecraft.world.entity.MobCategory; -import net.minecraft.world.entity.MobSpawnType; -import net.minecraft.world.entity.SpawnPlacementTypes; -import net.minecraft.world.entity.ai.attributes.Attribute; -import net.minecraft.world.entity.ai.attributes.AttributeSupplier; -import net.minecraft.world.entity.ai.attributes.Attributes; -import net.minecraft.world.entity.animal.Cow; -import net.minecraft.world.entity.animal.Rabbit; -import net.minecraft.world.entity.monster.Enemy; -import net.minecraft.world.entity.npc.Villager; -import net.minecraft.server.level.ServerLevel; -import net.minecraft.server.level.ServerPlayer; -import net.minecraft.world.entity.player.Player; -import net.minecraft.world.item.ArmorItem; -import net.minecraft.world.item.ArmorMaterial; -import net.minecraft.world.item.BucketItem; -import net.minecraft.world.item.CreativeModeTab; -import net.minecraft.world.item.CreativeModeTabs; -import net.minecraft.world.item.Item; -import net.minecraft.world.item.ItemStack; -import net.minecraft.world.item.Items; -import net.minecraft.world.item.Rarity; -import net.minecraft.world.item.StandingAndWallBlockItem; -import net.minecraft.world.food.FoodProperties; -import net.minecraft.world.item.Tier; -import net.minecraft.world.item.Tiers; -import net.minecraft.world.item.crafting.Ingredient; -import net.minecraft.core.Direction; -import net.minecraft.core.particles.ParticleType; -import net.minecraft.core.particles.SimpleParticleType; -import net.minecraft.network.codec.StreamCodec; -import net.minecraft.util.valueproviders.UniformInt; -import net.minecraft.world.level.block.Block; -import net.minecraft.world.level.block.AmethystClusterBlock; -import net.minecraft.world.level.block.Blocks; -import net.minecraft.world.level.block.ComposterBlock; -import net.minecraft.world.level.block.DispenserBlock; -import net.minecraft.world.level.block.DropExperienceBlock; -import net.minecraft.world.level.block.HorizontalDirectionalBlock; -import net.minecraft.world.level.block.LiquidBlock; -import net.minecraft.world.level.block.RotatedPillarBlock; -import net.minecraft.world.level.block.SoundType; -import net.minecraft.world.level.block.entity.BlockEntityType; -import net.minecraft.world.level.block.state.BlockBehaviour; -import net.minecraft.world.level.block.state.BlockState; -import net.minecraft.world.level.block.state.StateDefinition; -import net.minecraft.world.level.LightLayer; -import net.minecraft.world.level.biome.Biome; -import net.minecraft.world.level.biome.BiomeSource; -import net.minecraft.world.level.levelgen.DensityFunction; -import net.minecraft.world.level.levelgen.Heightmap; -import net.minecraft.world.level.levelgen.feature.Feature; -import net.minecraft.world.level.levelgen.feature.configurations.NoneFeatureConfiguration; -import net.minecraft.world.level.levelgen.feature.configurations.SimpleBlockConfiguration; -import net.minecraft.world.level.material.Fluid; -import net.minecraft.world.level.material.FluidState; -import net.minecraft.world.item.context.BlockPlaceContext; -import net.minecraft.world.phys.AABB; -import net.minecraft.world.level.block.Mirror; -import net.minecraft.world.level.block.Rotation; -import net.neoforged.fml.ModList; -import net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent; -import net.neoforged.bus.api.IEventBus; -import net.neoforged.neoforge.common.NeoForge; -import net.neoforged.neoforge.common.NeoForgeMod; -import net.neoforged.neoforge.fluids.FluidInteractionRegistry; -import net.neoforged.neoforge.common.ItemAbilities; -import net.neoforged.neoforge.common.DeferredSpawnEggItem; -import net.neoforged.neoforge.common.SoundActions; -import net.neoforged.neoforge.event.BuildCreativeModeTabContentsEvent; -import net.neoforged.neoforge.event.brewing.RegisterBrewingRecipesEvent; -import net.neoforged.neoforge.event.AddReloadListenerEvent; -import net.neoforged.neoforge.event.RegisterCommandsEvent; -import net.neoforged.neoforge.event.entity.EntityAttributeCreationEvent; -import net.neoforged.neoforge.event.entity.EntityAttributeModificationEvent; -import net.neoforged.neoforge.event.entity.living.LivingEquipmentChangeEvent; -import net.neoforged.neoforge.event.entity.RegisterSpawnPlacementsEvent; -import net.neoforged.neoforge.event.entity.living.LivingDeathEvent; -import net.neoforged.neoforge.event.entity.living.LivingEvent; -import net.neoforged.neoforge.event.entity.living.LivingFallEvent; -import net.neoforged.neoforge.event.entity.living.LivingIncomingDamageEvent; -import net.neoforged.neoforge.event.entity.living.MobSpawnEvent; -import net.neoforged.neoforge.event.entity.living.MobEffectEvent; -import net.neoforged.neoforge.event.entity.player.AttackEntityEvent; -import net.neoforged.neoforge.event.entity.player.PlayerEvent; -import net.neoforged.neoforge.event.entity.player.PlayerInteractEvent; -import net.neoforged.neoforge.event.level.BlockEvent; -import net.neoforged.neoforge.network.PacketDistributor; -import net.neoforged.neoforge.network.event.RegisterPayloadHandlersEvent; -import net.neoforged.neoforge.event.tick.LevelTickEvent; -import net.neoforged.neoforge.event.tick.PlayerTickEvent; -import net.neoforged.neoforge.event.tick.EntityTickEvent; -import net.neoforged.neoforge.fluids.BaseFlowingFluid; -import net.neoforged.neoforge.fluids.FluidType; -import net.neoforged.neoforge.registries.DeferredBlock; -import net.neoforged.neoforge.registries.DeferredHolder; -import net.neoforged.neoforge.registries.DeferredItem; -import net.neoforged.neoforge.registries.DeferredRegister; -import net.neoforged.neoforge.registries.NeoForgeRegistries; - -public final class AntarchyNeoForgeContentOLD { -// public static final boolean CREATE_LOADED = isModLoaded("create"); -// private static final ResourceLocation THORAXIS_DIMENSION_ID = ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "thoraxis"); -// private static final long THORAXIS_SPAWN_DEBUG_INTERVAL = 200L; -// private static long lastThoraxisSpawnSummaryLogTick = Long.MIN_VALUE; -// private static long lastThoraxisSpawnPlacementLogTick = Long.MIN_VALUE; -// private static final DeferredRegister.Blocks BLOCKS = DeferredRegister.createBlocks(Antarchy.MODID); -// private static final DeferredRegister.Items ITEMS = DeferredRegister.createItems(Antarchy.MODID); -// private static final DeferredRegister CREATIVE_MODE_TABS = DeferredRegister.create(Registries.CREATIVE_MODE_TAB, Antarchy.MODID); -// private static final DeferredRegister ARMOR_MATERIALS = DeferredRegister.create(Registries.ARMOR_MATERIAL, Antarchy.MODID); -// private static final DeferredRegister> ENTITY_TYPES = DeferredRegister.create(Registries.ENTITY_TYPE, Antarchy.MODID); -// private static final DeferredRegister> BLOCK_ENTITY_TYPES = DeferredRegister.create(Registries.BLOCK_ENTITY_TYPE, Antarchy.MODID); -// private static final DeferredRegister> PARTICLE_TYPES = DeferredRegister.create(Registries.PARTICLE_TYPE, Antarchy.MODID); -// private static final DeferredRegister> FEATURES = DeferredRegister.create(Registries.FEATURE, Antarchy.MODID); -// private static final DeferredRegister> BIOME_SOURCES = DeferredRegister.create(Registries.BIOME_SOURCE, Antarchy.MODID); -// private static final DeferredRegister> DENSITY_FUNCTION_TYPES = DeferredRegister.create(Registries.DENSITY_FUNCTION_TYPE, Antarchy.MODID); -// private static final DeferredRegister> ENTITY_SUB_PREDICATES = DeferredRegister.create(Registries.ENTITY_SUB_PREDICATE_TYPE, Antarchy.MODID); -// private static final DeferredRegister ATTRIBUTES = DeferredRegister.create(Registries.ATTRIBUTE, Antarchy.MODID); -// private static final DeferredHolder DOUBLE_DAMAGE_CHANCE = ATTRIBUTES.register( -// "double_damage_chance", -// () -> new net.minecraft.world.entity.ai.attributes.RangedAttribute("attribute.antarchy.double_damage_chance", 0.0, 0.0, 1.0).setSyncable(true) -// ); -// private static final DeferredRegister MOB_EFFECTS = DeferredRegister.create(Registries.MOB_EFFECT, Antarchy.MODID); -// private static final DeferredRegister POTIONS = DeferredRegister.create(Registries.POTION, Antarchy.MODID); -// private static final DeferredRegister SOUND_EVENTS = DeferredRegister.create(Registries.SOUND_EVENT, Antarchy.MODID); -// private static final DeferredRegister FLUID_TYPES = DeferredRegister.create(NeoForgeRegistries.Keys.FLUID_TYPES, Antarchy.MODID); -// private static final DeferredRegister FLUIDS = DeferredRegister.create(Registries.FLUID, Antarchy.MODID); -// private static final Tier ULTIMATE_TIER = new SimpleToolTier( -// 3072, -// 10.5F, -// 0.0F, -// Tiers.NETHERITE.getIncorrectBlocksForDrops(), -// 25, -// AntarchyNeoForgeContentOLD::ultimateRepairIngredient -// ); -// private static final Tier BLOOD_CRYSTAL_KATANA_TIER = new SimpleToolTier( -// 1200, -// 8.0F, -// 0.0F, -// Tiers.DIAMOND.getIncorrectBlocksForDrops(), -// 18, -// AntarchyNeoForgeContentOLD::bloodCrystalRepairIngredient -// ); -// public static final DeferredItem NIGHTMARE_SCALE = ITEMS.registerSimpleItem("nightmare_scale", new Item.Properties().rarity(Rarity.RARE).fireResistant()); -// public static final DeferredHolder SQUIDZOOKA_FIRE = registerSoundEvent("squidzooka_fire"); -// public static final DeferredHolder SHRINK_RAY_SOUND = registerSoundEvent("shrink_ray"); -// public static final DeferredHolder GROWTH_RAY_SOUND = registerSoundEvent("growth_ray"); -// public static final DeferredHolder SIZE_RAY_CHARGE = registerSoundEvent("size_ray_charge"); -// public static final DeferredHolder ANT_AMBIENT = registerSoundEvent("ant_ambient"); -// public static final DeferredHolder ANT_IDLE = registerSoundEvent("ant_idle"); -// public static final DeferredHolder ANT_HURT = registerSoundEvent("ant_hurt"); -// public static final DeferredHolder ANT_BITE = registerSoundEvent("ant_bite"); -// public static final DeferredHolder ANT_GATHER = registerSoundEvent("ant_gather"); -// public static final DeferredHolder ANT_NEST = registerSoundEvent("ant_nest"); -// public static final DeferredHolder CLOUD_SHARK_BITE = registerSoundEvent("cloud_shark_bite"); -// public static final DeferredHolder CLOUD_SHARK_IDLE = registerSoundEvent("cloud_shark_idle"); -// public static final DeferredHolder CLOUD_SHARK_HURT = registerSoundEvent("cloud_shark_hurt"); -// public static final DeferredHolder CLOUD_SHARK_DEATH = registerSoundEvent("cloud_shark_death"); -// public static final DeferredHolder CLOUD_SHARK_FLY = registerSoundEvent("cloud_shark_fly"); -// public static final DeferredHolder CATERPILLAR_IDLE = registerSoundEvent("caterpillar_idle"); -// public static final DeferredHolder CATERPILLAR_HURT = registerSoundEvent("caterpillar_hurt"); -// public static final DeferredHolder CATERPILLAR_CRAWL = registerSoundEvent("caterpillar_crawl"); -// public static final DeferredHolder BUTTERFLY_HURT = registerSoundEvent("butterfly_hurt"); -// public static final DeferredHolder BRUTALFLY_IDLE = registerSoundEvent("brutalfly_idle"); -// public static final DeferredHolder BRUTALFLY_DEATH = registerSoundEvent("brutalfly_death"); -// public static final DeferredHolder ELYTHIA_FIREFLY_AMBIENT = registerSoundEvent("ambient.elythia.firefly"); -// public static final DeferredHolder MISSILE_SQUID_AMBIENT = registerSoundEvent("missile_squid_ambient"); -// public static final DeferredHolder MISSILE_SQUID_HURT = registerSoundEvent("missile_squid_hurt"); -// public static final DeferredHolder MISSILE_SQUID_DEATH = registerSoundEvent("missile_squid_death"); -// public static final DeferredHolder MISSILE_SQUID_ATTACK = registerSoundEvent("missile_squid_attack"); -// public static final DeferredHolder KRAKEN_FLYING_LOOP = registerSoundEvent("kraken_flying_loop"); -// public static final DeferredHolder KRAKEN_FLYING_SIDEWAYS_LOOP = registerSoundEvent("kraken_flying_sideways_loop"); -// public static final DeferredHolder KRAKEN_ATTACK = registerSoundEvent("kraken_attack"); -// public static final DeferredHolder KRAKEN_SPIN = registerSoundEvent("kraken_spin"); -// public static final DeferredHolder KRAKEN_ROAR = registerSoundEvent("kraken_roar"); -// public static final DeferredHolder KRAKEN_SUMMON = registerSoundEvent("kraken_summon"); -// public static final DeferredHolder KRAKEN_HURT = registerSoundEvent("kraken_hurt"); -// public static final DeferredHolder KRAKEN_DEATH = registerSoundEvent("kraken_death"); -// public static final DeferredHolder BASILISK_IDLE_LOOP = registerSoundEvent("basilisk_idle_loop"); -// public static final DeferredHolder BASILISK_SLITHER_LOOP = registerSoundEvent("basilisk_slither_loop"); -// public static final DeferredHolder BASILISK_BITE = registerSoundEvent("basilisk_bite"); -// public static final DeferredHolder BASILISK_HISS = registerSoundEvent("basilisk_hiss"); -// public static final DeferredHolder BASILISK_HURT = registerSoundEvent("basilisk_hurt"); -// public static final DeferredHolder BASILISK_DEATH = registerSoundEvent("basilisk_death"); -// public static final DeferredHolder THORAXIS_NIGHTMARE_WASTES_AMBIENT = registerSoundEvent("thoraxis_nightmare_wastes_ambient"); -// public static final DeferredHolder THORAXIS_NIGHTMARE_WASTES_ADDITIONS = registerSoundEvent("thoraxis_nightmare_wastes_additions"); -// public static final DeferredHolder THORAXIS_NIGHTMARE_WASTES_MOOD = registerSoundEvent("thoraxis_nightmare_wastes_mood"); -// public static final DeferredHolder THORAXIS_DREAM_DUNES_AMBIENT = registerSoundEvent("thoraxis_dream_dunes_ambient"); -// public static final DeferredHolder THORAXIS_DREAM_DUNES_ADDITIONS = registerSoundEvent("thoraxis_dream_dunes_additions"); -// public static final DeferredHolder THORAXIS_DREAM_DUNES_MOOD = registerSoundEvent("thoraxis_dream_dunes_mood"); -// public static final DeferredHolder THORAXIS_LUCID_POOLS_AMBIENT = registerSoundEvent("thoraxis_lucid_pools_ambient"); -// public static final DeferredHolder THORAXIS_LUCID_POOLS_ADDITIONS = registerSoundEvent("thoraxis_lucid_pools_additions"); -// public static final DeferredHolder THORAXIS_LUCID_POOLS_MOOD = registerSoundEvent("thoraxis_lucid_pools_mood"); -// public static final DeferredHolder LUCID_AMBIENT = registerSoundEvent("lucid_ambient"); -// public static final DeferredHolder LUCID_FLYING = registerSoundEvent("lucid_flying"); -// public static final DeferredHolder LUCID_ATTACK = registerSoundEvent("lucid_attack"); -// public static final DeferredHolder LUCID_BOLT_SOUND = registerSoundEvent("lucid_bolt"); -// public static final DeferredHolder LUCID_HURT = registerSoundEvent("lucid_hurt"); -// public static final DeferredHolder LUCID_DEATH = registerSoundEvent("lucid_death"); -// public static final DeferredHolder REVERIE_IDLE = registerSoundEvent("reverie_idle"); -// public static final DeferredHolder REVERIE_HURT = registerSoundEvent("reverie_hurt"); -// public static final DeferredHolder REVERIE_WORRY = registerSoundEvent("reverie_worry"); -// public static final DeferredHolder REVERIE_SAVE = registerSoundEvent("reverie_save"); -// public static final DeferredHolder REVERIE_JOIN_PLAYER = registerSoundEvent("reverie_join_player"); -// public static final DeferredHolder REVERIE_ALERT = registerSoundEvent("reverie_alert"); -// public static final DeferredHolder FLYING_SQUIRREL_IDLE = registerSoundEvent("flying_squirrel_idle"); -// public static final DeferredHolder FLYING_SQUIRREL_BEG = registerSoundEvent("flying_squirrel_beg"); -// public static final DeferredHolder FLYING_SQUIRREL_NUT = registerSoundEvent("flying_squirrel_nut"); -// public static final DeferredHolder FLYING_SQUIRREL_GLIDE_LOOP = registerSoundEvent("flying_squirrel_glide_loop"); -// public static final DeferredHolder FLYING_SQUIRREL_HURT = registerSoundEvent("flying_squirrel_hurt"); -// public static final DeferredHolder FLYING_SQUIRREL_DEATH = registerSoundEvent("flying_squirrel_death"); -// public static final DeferredHolder NIGHTMARE_IDLE = registerSoundEvent("nightmare_idle"); -// public static final DeferredHolder NIGHTMARE_HURT = registerSoundEvent("nightmare_hurt"); -// public static final DeferredHolder NIGHTMARE_ROAR = registerSoundEvent("nightmare_roar"); -// public static final DeferredHolder NIGHTMARE_DEATH = registerSoundEvent("nightmare_death"); -// public static final DeferredHolder NIGHTMARE_BITE = registerSoundEvent("nightmare_bite"); -// public static final DeferredHolder NIGHTMARE_FLAP = registerSoundEvent("nightmare_flap"); -// public static final DeferredHolder TRIFFID_ATTACK = registerSoundEvent("triffid_attack"); -// public static final DeferredHolder TRIFFID_GRAB = registerSoundEvent("triffid_grab"); -// public static final DeferredHolder TRIFFID_HURT = registerSoundEvent("triffid_hurt"); -// public static final DeferredHolder TRIFFID_DEATH = registerSoundEvent("triffid_death"); -// public static final DeferredHolder TRIFFID_HISS = registerSoundEvent("triffid_hiss"); -// public static final DeferredHolder TRIFFID_GROWL = registerSoundEvent("triffid_growl"); -// public static final DeferredHolder MANTIS_AMBIENT = registerSoundEvent("mantis_ambient"); -// public static final DeferredHolder MANTIS_HURT = registerSoundEvent("mantis_hurt"); -// public static final DeferredHolder MANTIS_ATTACK = registerSoundEvent("mantis_attack"); -// public static final DeferredHolder MANTIS_FLY_LOOP = registerSoundEvent("mantis_fly_loop"); -// public static final DeferredHolder GRAVITY_GUN_PICKUP = registerSoundEvent("gravity_gun_pickup"); -// public static final DeferredHolder GRAVITY_GUN_DROP = registerSoundEvent("gravity_gun_drop"); -// public static final DeferredHolder GRAVITY_GUN_HOLD_LOOP = registerSoundEvent("gravity_gun_hold_loop"); -// public static final DeferredHolder GRAVITY_GUN_LAUNCH = registerSoundEvent("gravity_gun_launch"); -// public static final DeferredHolder GRAVITY_GUN_DRYFIRE = registerSoundEvent("gravity_gun_dryfire"); -// public static final DeferredHolder BED_BUG_AMBIENT = registerSoundEvent("bed_bug_ambient"); -// public static final DeferredHolder BED_BUG_HURT = registerSoundEvent("bed_bug_hurt"); -// public static final DeferredHolder BED_BUG_ATTACK = registerSoundEvent("bed_bug_attack"); -// public static final DeferredHolder WASP_IDLE = registerSoundEvent("wasp_idle"); -// public static final DeferredHolder WASP_HURT = registerSoundEvent("wasp_hurt"); -// public static final DeferredHolder WASP_ATTACK = registerSoundEvent("wasp_attack"); -// public static final DeferredHolder WASP_DEATH = registerSoundEvent("wasp_death"); -// public static final DeferredHolder SCORPION_AMBIENT = registerSoundEvent("scorpion_ambient"); -// public static final DeferredHolder SCORPION_HURT = registerSoundEvent("scorpion_hurt"); -// public static final DeferredHolder SCORPION_ATTACK = registerSoundEvent("scorpion_attack"); -// public static final DeferredHolder EMPEROR_SCORPION_AMBIENT = registerSoundEvent("emperor_scorpion_ambient"); -// public static final DeferredHolder EMPEROR_SCORPION_HURT = registerSoundEvent("emperor_scorpion_hurt"); -// public static final DeferredHolder EMPEROR_SCORPION_ATTACK = registerSoundEvent("emperor_scorpion_attack"); -// public static final DeferredHolder EMPEROR_SCORPION_ROAR = registerSoundEvent("emperor_scorpion_roar"); -// public static final DeferredHolder MOLEWORM_AMBIENT = registerSoundEvent("moleworm_ambient"); -// public static final DeferredHolder MOLEWORM_HURT = registerSoundEvent("moleworm_hurt"); -// public static final DeferredHolder MOLEWORM_ATTACK = registerSoundEvent("moleworm_attack"); -// public static final DeferredHolder MOLEWORM_DIG = registerSoundEvent("moleworm_dig"); -// public static final DeferredHolder MOLEVORE_AMBIENT = registerSoundEvent("molevore_ambient"); -// public static final DeferredHolder MOLEVORE_HURT = registerSoundEvent("molevore_hurt"); -// public static final DeferredHolder MOLEVORE_ATTACK = registerSoundEvent("molevore_attack"); -// public static final DeferredHolder MOLEVORE_DIG = registerSoundEvent("molevore_dig"); -// public static final DeferredHolder DUCT_TAPE_USE = registerSoundEvent("duct_tape_use"); -// public static final DeferredHolder POTENT_NYXITE_HYPNOTIC_GAS = registerSoundEvent("potent_nyxite_hypnotic_gas"); -// public static final DeferredHolder POTENT_NYXITE_GEYSER_ERUPTION_START = registerSoundEvent("potent_nyxite_geyser_eruption_start"); -// public static final DeferredHolder POTENT_NYXITE_GEYSER_ERUPTION_ACTIVE = registerSoundEvent("potent_nyxite_geyser_eruption_active"); -// public static final DeferredHolder POTENT_NYXITE_GEYSER_CONTINUOUS_START = registerSoundEvent("potent_nyxite_geyser_continuous_start"); -// public static final DeferredHolder POTENT_NYXITE_GEYSER_CONTINUOUS_ACTIVE = registerSoundEvent("potent_nyxite_geyser_continuous_active"); -// private static final DeferredHolder ULTIMATE_ARMOR_MATERIAL = ARMOR_MATERIALS.register("ultimate", -// () -> new ArmorMaterial( -// createUltimateArmorDefense(), -// 10, -// SoundEvents.ARMOR_EQUIP_DIAMOND, -// AntarchyNeoForgeContentOLD::ultimateRepairIngredient, -// List.of(new ArmorMaterial.Layer(ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "ultimate_armor"))), -// 2.0F, -// (float) AntarchySettings.ultimateArmorKnockbackResistance() -// )); -// private static final DeferredHolder NIGHTMARE_ARMOR_MATERIAL = ARMOR_MATERIALS.register("nightmare", -// () -> new ArmorMaterial( -// createNightmareArmorDefense(), -// 10, -// SoundEvents.ARMOR_EQUIP_NETHERITE, -// () -> Ingredient.of(NIGHTMARE_SCALE.get()), -// List.of(new ArmorMaterial.Layer(ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "nightmare_armor"))), -// 3.0F, -// (float) AntarchySettings.nightmareArmorKnockbackResistance() -// )); -// private static final DeferredHolder BLOOD_CRYSTAL_ARMOR_MATERIAL = ARMOR_MATERIALS.register("blood_crystal", -// () -> new ArmorMaterial( -// createBloodCrystalArmorDefense(), -// 30, -// SoundEvents.ARMOR_EQUIP_DIAMOND, -// AntarchyNeoForgeContentOLD::bloodCrystalRepairIngredient, -// List.of(new ArmorMaterial.Layer(ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "blood_crystal"))), -// 0.0F, -// 0.0F -// )); -// private static final DeferredHolder MOGGLES_ARMOR_MATERIAL = ARMOR_MATERIALS.register("moggles", -// () -> new ArmorMaterial( -// createMogglesArmorDefense(), -// 12, -// SoundEvents.ARMOR_EQUIP_GOLD, -// () -> Ingredient.of(Items.GOLD_INGOT), -// List.of(new ArmorMaterial.Layer(ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "moggles"))), -// 0.0F, -// 0.0F -// )); -// private static final DeferredHolder FALLEN_KING_CROWN_ARMOR_MATERIAL = ARMOR_MATERIALS.register("fallen_king_crown", -// () -> new ArmorMaterial( -// createFallenKingCrownDefense(), -// 25, -// SoundEvents.ARMOR_EQUIP_GOLD, -// () -> Ingredient.of(Items.GOLD_INGOT), -// List.of(new ArmorMaterial.Layer(ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "fallen_king_crown"))), -// 0.0F, -// 0.0F -// )); -// public static final DeferredBlock DUPLICATOR_LOG = BLOCKS.register("duplicator_log", -// () -> new DuplicatorLogBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.OAK_LOG).randomTicks())); -// public static final DeferredBlock OURANWOOD_LOG = BLOCKS.register("ouranwood_log", -// () -> new OuranwoodLogBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_LOG))); -// public static final DeferredBlock OURANWOOD_WOOD = BLOCKS.register("ouranwood_wood", -// () -> new OuranwoodLogBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_WOOD))); -// public static final DeferredBlock MOSSY_OURANWOOD_LOG = BLOCKS.register("mossy_ouranwood_log", -// () -> new OuranwoodLogBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_LOG))); -// public static final DeferredBlock MOSSY_OURANWOOD_WOOD = BLOCKS.register("mossy_ouranwood_wood", -// () -> new OuranwoodLogBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_WOOD))); -// public static final DeferredBlock STRIPPED_OURANWOOD_LOG = BLOCKS.register("stripped_ouranwood_log", -// () -> new OuranwoodLogBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.STRIPPED_JUNGLE_LOG))); -// public static final DeferredBlock STRIPPED_OURANWOOD_WOOD = BLOCKS.register("stripped_ouranwood_wood", -// () -> new OuranwoodLogBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.STRIPPED_JUNGLE_WOOD))); -// public static final DeferredBlock OURANWOOD_PLANKS = BLOCKS.register("ouranwood_planks", -// () -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_PLANKS))); -// public static final DeferredBlock OURANWOOD_STAIRS = BLOCKS.register("ouranwood_stairs", -// () -> new net.minecraft.world.level.block.StairBlock(OURANWOOD_PLANKS.get().defaultBlockState(), BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_STAIRS))); -// public static final DeferredBlock OURANWOOD_SLAB = BLOCKS.register("ouranwood_slab", -// () -> new net.minecraft.world.level.block.SlabBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_SLAB))); -// public static final DeferredBlock OURANWOOD_FENCE = BLOCKS.register("ouranwood_fence", -// () -> new net.minecraft.world.level.block.FenceBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_FENCE))); -// public static final DeferredBlock OURANWOOD_FENCE_GATE = BLOCKS.register("ouranwood_fence_gate", -// () -> new net.minecraft.world.level.block.FenceGateBlock(net.minecraft.world.level.block.state.properties.WoodType.JUNGLE, BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_FENCE_GATE))); -// public static final DeferredBlock OURANWOOD_DOOR = BLOCKS.register("ouranwood_door", -// () -> new net.minecraft.world.level.block.DoorBlock(net.minecraft.world.level.block.state.properties.BlockSetType.JUNGLE, BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_DOOR))); -// public static final DeferredBlock OURANWOOD_TRAPDOOR = BLOCKS.register("ouranwood_trapdoor", -// () -> new net.minecraft.world.level.block.TrapDoorBlock(net.minecraft.world.level.block.state.properties.BlockSetType.JUNGLE, BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_TRAPDOOR))); -// public static final DeferredBlock OURANWOOD_PRESSURE_PLATE = BLOCKS.register("ouranwood_pressure_plate", -// () -> new net.minecraft.world.level.block.PressurePlateBlock(net.minecraft.world.level.block.state.properties.BlockSetType.JUNGLE, BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_PRESSURE_PLATE))); -// public static final DeferredBlock OURANWOOD_BUTTON = BLOCKS.register("ouranwood_button", -// () -> new net.minecraft.world.level.block.ButtonBlock(net.minecraft.world.level.block.state.properties.BlockSetType.JUNGLE, 30, BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_BUTTON))); -// public static final DeferredBlock OURANWOOD_LEAVES = BLOCKS.register("ouranwood_leaves", -// () -> new OuranwoodLeavesBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_LEAVES).randomTicks())); -// public static final DeferredBlock OURANWOOD_ACORN_BLOCK = BLOCKS.register("ouranwood_acorn", -// () -> new OuranwoodAcornBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.OAK_SAPLING).randomTicks().noCollission())); -// public static final DeferredBlock ORANGE_MILKWEED = BLOCKS.register("orange_milkweed", -// () -> new MilkweedBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.PEONY))); -// public static final DeferredBlock PINK_MILKWEED = BLOCKS.register("pink_milkweed", -// () -> new MilkweedBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.PEONY))); -// public static final DeferredBlock TORCHFLOWER_BUSH = BLOCKS.register("torchflower_bush", -// () -> new TorchflowerBushBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.PEONY) -// .lightLevel(state -> AntarchySettings.glowingTorchflowers() ? 15 : 0))); -// public static final DeferredBlock OURANWOOD_SIGN = BLOCKS.register("ouranwood_sign", -// () -> new net.minecraft.world.level.block.StandingSignBlock(OuranwoodWoodTypes.OURANWOOD, BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_SIGN))); -// public static final DeferredBlock OURANWOOD_WALL_SIGN = BLOCKS.register("ouranwood_wall_sign", -// () -> new net.minecraft.world.level.block.WallSignBlock(OuranwoodWoodTypes.OURANWOOD, BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_WALL_SIGN))); -// public static final DeferredBlock OURANWOOD_HANGING_SIGN = BLOCKS.register("ouranwood_hanging_sign", -// () -> new net.minecraft.world.level.block.CeilingHangingSignBlock(OuranwoodWoodTypes.OURANWOOD, BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_HANGING_SIGN))); -// public static final DeferredBlock OURANWOOD_WALL_HANGING_SIGN = BLOCKS.register("ouranwood_wall_hanging_sign", -// () -> new net.minecraft.world.level.block.WallHangingSignBlock(OuranwoodWoodTypes.OURANWOOD, BlockBehaviour.Properties.ofFullCopy(Blocks.JUNGLE_WALL_HANGING_SIGN))); -// public static final DeferredBlock DUPLICATOR_SAPLING = BLOCKS.register("duplicator_sapling", -// () -> new DuplicatorSaplingBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.OAK_SAPLING).randomTicks().noCollission())); -// public static final DeferredBlock DUCT_TAPE = BLOCKS.register("duct_tape", -// () -> new DuctTapeBlock(BlockBehaviour.Properties.of() -// .strength(0.2F) -// .sound(SoundType.WOOL) -// .noOcclusion() -// .replaceable())); -// public static final DeferredBlock INFESTED_ROOTED_DIRT = BLOCKS.register("infested_rooted_dirt", -// () -> new InfestedRootedDirtBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.ROOTED_DIRT).randomTicks())); -// public static final DeferredBlock INFESTED_COARSE_DIRT = BLOCKS.register("infested_coarse_dirt", -// () -> new InfestedCoarseDirtBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.COARSE_DIRT).randomTicks())); -// public static final DeferredBlock NYXITE = BLOCKS.register("nyxite", -// () -> new Block(nyxiteProperties())); -// public static final DeferredBlock POLISHED_NYXITE = BLOCKS.register("polished_nyxite", -// () -> new Block(nyxiteProperties())); -// public static final DeferredBlock CHISELED_NYXITE = BLOCKS.register("chiseled_nyxite", -// () -> new Block(nyxiteProperties())); -// public static final DeferredBlock NYXITE_BRICKS = BLOCKS.register("nyxite_bricks", -// () -> new Block(nyxiteProperties())); -// public static final DeferredBlock NYXITE_STAIRS = BLOCKS.register("nyxite_stairs", -// () -> new net.minecraft.world.level.block.StairBlock(NYXITE.get().defaultBlockState(), nyxiteProperties())); -// public static final DeferredBlock NYXITE_SLAB = BLOCKS.register("nyxite_slab", -// () -> new net.minecraft.world.level.block.SlabBlock(nyxiteProperties())); -// public static final DeferredBlock NYXITE_WALL = BLOCKS.register("nyxite_wall", -// () -> new net.minecraft.world.level.block.WallBlock(nyxiteProperties())); -// public static final DeferredBlock POLISHED_NYXITE_STAIRS = BLOCKS.register("polished_nyxite_stairs", -// () -> new net.minecraft.world.level.block.StairBlock(POLISHED_NYXITE.get().defaultBlockState(), nyxiteProperties())); -// public static final DeferredBlock POLISHED_NYXITE_SLAB = BLOCKS.register("polished_nyxite_slab", -// () -> new net.minecraft.world.level.block.SlabBlock(nyxiteProperties())); -// public static final DeferredBlock POLISHED_NYXITE_WALL = BLOCKS.register("polished_nyxite_wall", -// () -> new net.minecraft.world.level.block.WallBlock(nyxiteProperties())); -// public static final DeferredBlock NYXITE_BRICK_STAIRS = BLOCKS.register("nyxite_brick_stairs", -// () -> new net.minecraft.world.level.block.StairBlock(NYXITE_BRICKS.get().defaultBlockState(), nyxiteProperties())); -// public static final DeferredBlock NYXITE_BRICK_SLAB = BLOCKS.register("nyxite_brick_slab", -// () -> new net.minecraft.world.level.block.SlabBlock(nyxiteProperties())); -// public static final DeferredBlock NYXITE_BRICK_WALL = BLOCKS.register("nyxite_brick_wall", -// () -> new net.minecraft.world.level.block.WallBlock(nyxiteProperties())); -// public static final DeferredBlock TRIFFID_GOO_BLOCK = BLOCKS.register("triffid_goo_block", -// () -> new com.craisinlord.antarchy.content.block.TriffidGooBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SLIME_BLOCK).noOcclusion().isViewBlocking((s, l, p) -> false).isSuffocating((s, l, p) -> false))); -// public static final DeferredBlock CLOUD_BLOCK = BLOCKS.register("cloud_block", -// () -> new com.craisinlord.antarchy.content.block.CloudBlock( -// AntarchyNeoForgeContentOLD::cloudBucketItem, -// BlockBehaviour.Properties.ofFullCopy(Blocks.POWDER_SNOW).noLootTable().noOcclusion() -// )); -// public static final DeferredBlock PALE_NYXITE = BLOCKS.register("pale_nyxite", -// () -> new Block(nyxiteProperties())); -// public static final DeferredBlock NYXITE_SPIKE = BLOCKS.register("nyxite_spike", -// () -> new NyxiteSpikeBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.POINTED_DRIPSTONE))); -// public static final DeferredBlock POTENT_NYXITE = BLOCKS.register("potent_nyxite", -// () -> new PotentNyxiteBlock( -// AntarchyNeoForgeContentOLD::potentNyxiteBlockEntityType, -// BlockBehaviour.Properties.ofFullCopy(Blocks.NETHERRACK).lightLevel(state -> 3) -// )); -// public static final DeferredBlock UMBRAL_MOSS_BLOCK = BLOCKS.register("umbral_moss_block", -// () -> new UmbralMossBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.MOSS_BLOCK))); -// public static final DeferredBlock UMBRAL_MOSS_CARPET = BLOCKS.register("umbral_moss_carpet", -// () -> new UmbralMossCarpetBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.MOSS_CARPET).noOcclusion())); -// public static final DeferredHolder, SimpleParticleType> DREAM_FIRE_FLAME = PARTICLE_TYPES.register("dream_fire_flame", -// () -> new SimpleParticleType(true)); -// public static final DeferredHolder, SimpleParticleType> HYPNOTIC_GAS = PARTICLE_TYPES.register("hypnotic_gas", -// () -> new SimpleParticleType(true)); -// public static final DeferredHolder, SimpleParticleType> HYPNOTIC_GAS_CLOUD = PARTICLE_TYPES.register("hypnotic_gas_cloud", -// () -> new SimpleParticleType(true)); -// public static final DeferredHolder, SimpleParticleType> HYPNOTIC_GAS_DOWN = PARTICLE_TYPES.register("hypnotic_gas_down", -// () -> new SimpleParticleType(true)); -// public static final DeferredHolder, SimpleParticleType> HYPNOTIC_GAS_CLOUD_DOWN = PARTICLE_TYPES.register("hypnotic_gas_cloud_down", -// () -> new SimpleParticleType(true)); -// public static final DeferredHolder, SimpleParticleType> FIREFLY = PARTICLE_TYPES.register("firefly", -// () -> new SimpleParticleType(true)); -// public static final DeferredHolder, ParticleType> INVERTED_GEYSER_BASE = PARTICLE_TYPES.register("inverted_geyser_base", -// () -> particleType(InvertedGeyserBaseParticleOptions::codec, InvertedGeyserBaseParticleOptions::streamCodec)); -// public static final DeferredHolder, ParticleType> INVERTED_GEYSER_PLUME = PARTICLE_TYPES.register("inverted_geyser_plume", -// () -> particleType(InvertedGeyserParticleOptions::codec, InvertedGeyserParticleOptions::streamCodec)); -// public static final DeferredHolder, ParticleType> INVERTED_GEYSER_POOF = PARTICLE_TYPES.register("inverted_geyser_poof", -// () -> particleType(InvertedGeyserBaseParticleOptions::codec, InvertedGeyserBaseParticleOptions::streamCodec)); -// public static final DeferredHolder, ParticleType> INVERTED_GEYSER_ERUPTION = PARTICLE_TYPES.register("inverted_geyser_eruption", -// () -> particleType(InvertedGeyserParticleOptions::codec, InvertedGeyserParticleOptions::streamCodec)); -// public static final DeferredBlock DREAM_TORCH = BLOCKS.register("dream_torch", -// () -> new DreamTorchBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SOUL_TORCH))); -// public static final DeferredBlock DREAM_WALL_TORCH = BLOCKS.register("dream_wall_torch", -// () -> new DreamWallTorchBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SOUL_WALL_TORCH))); -// public static final DeferredBlock DREAM_LANTERN = BLOCKS.register("dream_lantern", -// () -> new net.minecraft.world.level.block.LanternBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SOUL_LANTERN))); -// public static final DeferredBlock DREAM_CAMPFIRE = BLOCKS.register("dream_campfire", -// () -> new DreamCampfireBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SOUL_CAMPFIRE))); -// public static final DeferredBlock DREAM_FIRE = BLOCKS.register("dream_fire", -// () -> new DreamFireBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SOUL_FIRE))); -// public static final DeferredBlock DREAM_CEILING_FIRE = BLOCKS.register("dream_fire_ceiling", -// () -> new DreamCeilingFireBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SOUL_FIRE))); -// public static final DeferredBlock BED_BUG_EGG = BLOCKS.register("bed_bug_egg", -// () -> new BedBugEggBlock(BlockBehaviour.Properties.of() -// .strength(0.15F) -// .sound(SoundType.METAL) -// .randomTicks() -// .noOcclusion() -// .noCollission() -// .replaceable())); -// public static final DeferredBlock WASP_NEST = BLOCKS.register("wasp_nest", -// () -> new WaspNestBlock(AntarchyNeoForgeContentOLD::waspNestBlockEntityType, BlockBehaviour.Properties.ofFullCopy(Blocks.BEE_NEST))); -// public static final DeferredBlock OURANWOOD_SQUIRREL_NEST = BLOCKS.register("ouranwood_squirrel_nest", -// () -> new com.craisinlord.antarchy.content.block.OuranwoodSquirrelNestBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.COARSE_DIRT).noLootTable())); -// public static final DeferredBlock HUSHWEED = BLOCKS.register("hushweed", -// () -> new HushweedBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.AZALEA).noCollission().noOcclusion())); -// public static final DeferredHolder DREAD = MOB_EFFECTS.register("dread", DreadMobEffect::new); -// public static final DeferredHolder PARALYZED = MOB_EFFECTS.register("paralyzed", ParalyzedMobEffect::new); -// public static final DeferredHolder INVERTED = MOB_EFFECTS.register("inverted", InvertedMobEffect::new); -// public static final DeferredHolder BLOODGLASS_WARD = MOB_EFFECTS.register("bloodglass_ward", com.craisinlord.antarchy.content.effect.BloodglassWardEffect::new); -// private static final DeferredHolder BLOODGLASS_MAX_HEARTS = ATTRIBUTES.register( -// "bloodglass_max_hearts", -// () -> new net.minecraft.world.entity.ai.attributes.RangedAttribute("attribute.antarchy.bloodglass_max_hearts", 0.0, 0.0, 8.0).setSyncable(true) -// ); -// public static final DeferredHolder INVERSION = POTIONS.register("inversion", -// () -> new Potion(new MobEffectInstance(INVERTED, 600))); -// public static final DeferredHolder LONG_INVERSION = POTIONS.register("long_inversion", -// () -> new Potion("inversion", new MobEffectInstance(INVERTED, 2400))); -// public static final DeferredHolder SHRINKING_EFFECT = MOB_EFFECTS.register("shrinking", ShrinkMobEffect::new); -// public static final DeferredHolder GROWTH_EFFECT = MOB_EFFECTS.register("growth", GrowthMobEffect::new); -// public static final DeferredHolder PARALYSIS = POTIONS.register("paralysis", -// () -> new Potion(new MobEffectInstance(PARALYZED, 200))); -// public static final DeferredHolder LONG_PARALYSIS = POTIONS.register("long_paralysis", -// () -> new Potion("paralysis", new MobEffectInstance(PARALYZED, 400))); -// public static final DeferredHolder HASTE = POTIONS.register("haste", -// () -> new Potion(new MobEffectInstance(MobEffects.DIG_SPEED, 1200, 0))); -// public static final DeferredHolder STRONG_HASTE = POTIONS.register("strong_haste", -// () -> new Potion("haste", new MobEffectInstance(MobEffects.DIG_SPEED, 600, 1))); -// public static final DeferredHolder SHRINKING = POTIONS.register("shrinking", -// () -> new Potion(new MobEffectInstance(SHRINKING_EFFECT, 1200, 0))); -// public static final DeferredHolder STRONG_SHRINKING = POTIONS.register("strong_shrinking", -// () -> new Potion("shrinking", new MobEffectInstance(SHRINKING_EFFECT, 900, 1))); -// public static final DeferredHolder EXTREME_SHRINKING = POTIONS.register("extreme_shrinking", -// () -> new Potion("shrinking", new MobEffectInstance(SHRINKING_EFFECT, 600, 2))); -// public static final DeferredHolder GROWING = POTIONS.register("growing", -// () -> new Potion(new MobEffectInstance(GROWTH_EFFECT, 1200, 0))); -// public static final DeferredHolder STRONG_GROWING = POTIONS.register("strong_growing", -// () -> new Potion("growing", new MobEffectInstance(GROWTH_EFFECT, 900, 1))); -// public static final DeferredHolder EXTREME_GROWING = POTIONS.register("extreme_growing", -// () -> new Potion("growing", new MobEffectInstance(GROWTH_EFFECT, 600, 2))); -// public static final DeferredHolder ICHOR_TYPE = FLUID_TYPES.register("ichor", -// () -> new FluidType(FluidType.Properties.create() -// .descriptionId("block.antarchy.ichor") -// .fallDistanceModifier(0.0F) -// .supportsBoating(true) -// .sound(SoundActions.BUCKET_FILL, SoundEvents.BUCKET_FILL) -// .sound(SoundActions.BUCKET_EMPTY, SoundEvents.BUCKET_EMPTY) -// .density(1200) -// .viscosity(1400))); -// public static final DeferredHolder ANTIWATER_TYPE = FLUID_TYPES.register("antiwater", -// () -> new AntiwaterFluidType(FluidType.Properties.create() -// .descriptionId("block.antarchy.antiwater") -// .fallDistanceModifier(0.0F) -// .canSwim(true) -// .supportsBoating(true) -// .sound(SoundActions.BUCKET_FILL, SoundEvents.BUCKET_FILL) -// .sound(SoundActions.BUCKET_EMPTY, SoundEvents.BUCKET_EMPTY) -// .density(1000) -// .viscosity(1000))); -// public static final DeferredHolder ICHOR = FLUIDS.register("ichor", -// () -> new BaseFlowingFluid.Source(ichorProperties())); -// public static final DeferredHolder FLOWING_ICHOR = FLUIDS.register("flowing_ichor", -// () -> new BaseFlowingFluid.Flowing(ichorProperties())); -// public static final DeferredBlock ICHOR_BLOCK = BLOCKS.register("ichor", -// () -> new LiquidBlock((net.minecraft.world.level.material.FlowingFluid) ICHOR.get(), BlockBehaviour.Properties.ofFullCopy(Blocks.WATER).noLootTable())); -// -// public static final DeferredHolder ANTIWATER = FLUIDS.register("antiwater", -// () -> new AntiwaterFluid.Source(antiwaterProperties())); -// public static final DeferredHolder FLOWING_ANTIWATER = FLUIDS.register("flowing_antiwater", -// () -> new AntiwaterFluid.Flowing(antiwaterProperties())); -// public static final DeferredBlock ANTIWATER_BLOCK = BLOCKS.register("antiwater", -// () -> new AntiwaterLiquidBlock((net.minecraft.world.level.material.FlowingFluid) ANTIWATER.get(), -// BlockBehaviour.Properties.ofFullCopy(Blocks.WATER).noLootTable())); -// public static final DeferredHolder, EntityType> RED_ANT = ENTITY_TYPES.register("red_ant", -// () -> buildAntType(RedAntEntity::new, MobCategory.CREATURE, "red_ant")); -// public static final DeferredHolder, EntityType> BROWN_ANT = ENTITY_TYPES.register("brown_ant", -// () -> buildAntType(BrownAntEntity::new, MobCategory.CREATURE, "brown_ant")); -// public static final DeferredHolder, EntityType> RAINBOW_ANT = ENTITY_TYPES.register("rainbow_ant", -// () -> buildAntType(RainbowAntEntity::new, MobCategory.CREATURE, "rainbow_ant")); -// public static final DeferredHolder, EntityType> MOLEWORM = ENTITY_TYPES.register("moleworm", -// () -> EntityType.Builder.of(MolewormEntity::new, MobCategory.MONSTER) -// .sized(0.4F, 0.3F) -// .clientTrackingRange(8) -// .build("moleworm")); -// public static final DeferredHolder, EntityType> MANTIS = ENTITY_TYPES.register("mantis", -// () -> EntityType.Builder.of(MantisEntity::new, MobCategory.MONSTER) -// .sized(3.125F, 2.5F) -// .clientTrackingRange(8) -// .build("mantis")); -// public static final DeferredHolder, EntityType> OURANWOOD_BOAT_ENTITY = ENTITY_TYPES.register("ouranwood_boat", -// () -> EntityType.Builder.of(OuranwoodBoatEntity::new, MobCategory.MISC) -// .sized(1.375F, 0.5625F) -// .clientTrackingRange(10) -// .updateInterval(10) -// .build("ouranwood_boat")); -// public static final DeferredHolder, EntityType> OURANWOOD_CHEST_BOAT_ENTITY = ENTITY_TYPES.register("ouranwood_chest_boat", -// () -> EntityType.Builder.of(OuranwoodChestBoatEntity::new, MobCategory.MISC) -// .sized(1.375F, 0.5625F) -// .clientTrackingRange(10) -// .updateInterval(10) -// .build("ouranwood_chest_boat")); -// public static final DeferredHolder, EntityType> MOLEVORE = ENTITY_TYPES.register("molevore", -// () -> EntityType.Builder.of(MolevoreEntity::new, MobCategory.MONSTER) -// .sized(1.95F, 1.1F) -// .clientTrackingRange(10) -// .build("molevore")); -// public static final DeferredHolder, EntityType> TRIFFID = ENTITY_TYPES.register("triffid", -// () -> EntityType.Builder.of(TriffidEntity::new, MobCategory.MONSTER) -// .sized(2.0F, 5.0F) -// .clientTrackingRange(10) -// .build("triffid")); -// public static final DeferredHolder, EntityType> BED_BUG = ENTITY_TYPES.register("bed_bug", -// () -> EntityType.Builder.of(BedBugEntity::new, MobCategory.CREATURE) -// .sized(1.15F, 0.8F) -// .clientTrackingRange(8) -// .build("bed_bug")); -// public static final DeferredHolder, EntityType> WASP = ENTITY_TYPES.register("wasp", -// () -> EntityType.Builder.of(WaspEntity::new, MobCategory.MONSTER) -// .sized(0.8625F, 1.365F) -// .clientTrackingRange(8) -// .build("wasp")); -// public static final DeferredHolder, EntityType> BOMBER = ENTITY_TYPES.register("bomber", -// () -> EntityType.Builder.of(BomberEntity::new, MobCategory.MONSTER) -// .sized(0.55F, 0.75F) -// .clientTrackingRange(8) -// .build("bomber")); -// public static final DeferredHolder, EntityType> SHRINK_RAY_PROJECTILE = ENTITY_TYPES.register("shrink_ray_projectile", -// () -> EntityType.Builder.of(SizeRayProjectileEntity::createShrink, MobCategory.MISC) -// .sized(0.5F, 0.5F) -// .clientTrackingRange(8) -// .updateInterval(1) -// .build("shrink_ray_projectile")); -// public static final DeferredHolder, EntityType> GROWTH_RAY_PROJECTILE = ENTITY_TYPES.register("growth_ray_projectile", -// () -> EntityType.Builder.of(SizeRayProjectileEntity::createGrowth, MobCategory.MISC) -// .sized(0.5F, 0.5F) -// .clientTrackingRange(8) -// .updateInterval(1) -// .build("growth_ray_projectile")); -// public static final DeferredBlock RED_ANT_NEST = BLOCKS.register("red_ant_nest", -// () -> new AntNestBlock( -// RED_ANT, -// AntarchyNeoForgeContentOLD::antNestBlockEntityType, -// true, -// BlockBehaviour.Properties.ofFullCopy(Blocks.MAGMA_BLOCK).lightLevel(state -> 3).noLootTable() -// )); -// public static final DeferredBlock BROWN_ANT_NEST = BLOCKS.register("brown_ant_nest", -// () -> new AntNestBlock(BROWN_ANT, AntarchyNeoForgeContentOLD::antNestBlockEntityType, BlockBehaviour.Properties.ofFullCopy(Blocks.DIRT).noLootTable())); -// public static final DeferredBlock RAINBOW_ANT_NEST = BLOCKS.register("rainbow_ant_nest", -// () -> new AntNestBlock(RAINBOW_ANT, AntarchyNeoForgeContentOLD::antNestBlockEntityType, BlockBehaviour.Properties.ofFullCopy(Blocks.DIRT).noLootTable())); -// public static final DeferredBlock URANIUM_ORE = BLOCKS.register("uranium_ore", -// () -> createOre(Blocks.EMERALD_ORE, 4, 8)); -// public static final DeferredBlock DEEPSLATE_URANIUM_ORE = BLOCKS.register("deepslate_uranium_ore", -// () -> createOre(Blocks.DEEPSLATE_EMERALD_ORE, 4, 8)); -// public static final DeferredBlock TITANIUM_ORE = BLOCKS.register("titanium_ore", -// () -> createOre(Blocks.DIAMOND_ORE, 4, 8)); -// public static final DeferredBlock DEEPSLATE_TITANIUM_ORE = BLOCKS.register("deepslate_titanium_ore", -// () -> createOre(Blocks.DEEPSLATE_DIAMOND_ORE, 4, 8)); -// public static final DeferredBlock URANIUM_BLOCK = BLOCKS.register("uranium_block", -// () -> createStorageBlock(Blocks.EMERALD_BLOCK)); -// public static final DeferredBlock TITANIUM_BLOCK = BLOCKS.register("titanium_block", -// () -> createStorageBlock(Blocks.DIAMOND_BLOCK)); -// public static final DeferredBlock RAW_URANIUM_BLOCK = BLOCKS.register("raw_uranium_block", -// () -> createRawStorageBlock(Blocks.RAW_GOLD_BLOCK)); -// public static final DeferredBlock RAW_TITANIUM_BLOCK = BLOCKS.register("raw_titanium_block", -// () -> createRawStorageBlock(Blocks.RAW_IRON_BLOCK)); -// public static final DeferredBlock CUT_URANIUM = BLOCKS.register("cut_uranium", -// () -> createHorizontalFacingStorageBlock(Blocks.CUT_COPPER)); -// public static final DeferredBlock CUT_TITANIUM = BLOCKS.register("cut_titanium", -// () -> createHorizontalFacingStorageBlock(Blocks.CUT_COPPER)); -// public static final DeferredBlock CUT_URANIUM_SLAB = BLOCKS.register("cut_uranium_slab", -// () -> new net.minecraft.world.level.block.SlabBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.CUT_COPPER_SLAB))); -// public static final DeferredBlock CUT_TITANIUM_SLAB = BLOCKS.register("cut_titanium_slab", -// () -> new net.minecraft.world.level.block.SlabBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.CUT_COPPER_SLAB))); -// public static final DeferredBlock CUT_URANIUM_STAIRS = BLOCKS.register("cut_uranium_stairs", -// () -> new net.minecraft.world.level.block.StairBlock(CUT_URANIUM.get().defaultBlockState(), BlockBehaviour.Properties.ofFullCopy(Blocks.CUT_COPPER_STAIRS))); -// public static final DeferredBlock CUT_TITANIUM_STAIRS = BLOCKS.register("cut_titanium_stairs", -// () -> new net.minecraft.world.level.block.StairBlock(CUT_TITANIUM.get().defaultBlockState(), BlockBehaviour.Properties.ofFullCopy(Blocks.CUT_COPPER_STAIRS))); -// public static final DeferredBlock CHISELED_URANIUM = BLOCKS.register("chiseled_uranium", -// () -> createHorizontalFacingStorageBlock(Blocks.CHISELED_COPPER)); -// public static final DeferredBlock CHISELED_TITANIUM = BLOCKS.register("chiseled_titanium", -// () -> createHorizontalFacingStorageBlock(Blocks.CHISELED_COPPER)); -// public static final DeferredBlock URANIUM_BULB = BLOCKS.register("uranium_bulb", -// () -> new SignalSavingBulbBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.COPPER_BULB))); -// public static final DeferredBlock TITANIUM_BULB = BLOCKS.register("titanium_bulb", -// () -> new SignalSavingBulbBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.COPPER_BULB))); -// public static final DeferredBlock URANIUM_DOOR = BLOCKS.register("uranium_door", -// () -> new net.minecraft.world.level.block.DoorBlock(net.minecraft.world.level.block.state.properties.BlockSetType.IRON, BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_DOOR))); -// public static final DeferredBlock TITANIUM_DOOR = BLOCKS.register("titanium_door", -// () -> new net.minecraft.world.level.block.DoorBlock(net.minecraft.world.level.block.state.properties.BlockSetType.IRON, BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_DOOR))); -// public static final DeferredBlock URANIUM_TRAPDOOR = BLOCKS.register("uranium_trapdoor", -// () -> new net.minecraft.world.level.block.TrapDoorBlock(net.minecraft.world.level.block.state.properties.BlockSetType.IRON, BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_TRAPDOOR))); -// public static final DeferredBlock TITANIUM_TRAPDOOR = BLOCKS.register("titanium_trapdoor", -// () -> new net.minecraft.world.level.block.TrapDoorBlock(net.minecraft.world.level.block.state.properties.BlockSetType.IRON, BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_TRAPDOOR))); -// public static final DeferredBlock URANIUM_BARS = BLOCKS.register("uranium_bars", -// () -> new net.minecraft.world.level.block.IronBarsBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_BARS))); -// public static final DeferredBlock TITANIUM_BARS = BLOCKS.register("titanium_bars", -// () -> new net.minecraft.world.level.block.IronBarsBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_BARS))); -// public static final DeferredBlock ANTIMETAL = BLOCKS.register("antimetal", -// () -> new net.minecraft.world.level.block.RotatedPillarBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.BASALT))); -// public static final DeferredBlock POLISHED_ANTIMETAL = BLOCKS.register("polished_antimetal", -// () -> new net.minecraft.world.level.block.RotatedPillarBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.POLISHED_BASALT))); -// public static final DeferredBlock ANTIMETAL_SCAFFOLDING = BLOCKS.register("antimetal_scaffolding", -// () -> new com.craisinlord.antarchy.content.block.AntimetalScaffoldingBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SCAFFOLDING))); -// public static final DeferredBlock CORNEA_STALK = BLOCKS.register("cornea_stalk", -// () -> new CorneaStalkBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SWEET_BERRY_BUSH).randomTicks())); -// public static final DeferredBlock SMALL_BLOOD_CRYSTAL_BUD = BLOCKS.register("small_blood_crystal_bud", -// () -> new AmethystClusterBlock(3.0F, 4.0F, BlockBehaviour.Properties.ofFullCopy(Blocks.SMALL_AMETHYST_BUD))); -// public static final DeferredBlock MEDIUM_BLOOD_CRYSTAL_BUD = BLOCKS.register("medium_blood_crystal_bud", -// () -> new AmethystClusterBlock(4.0F, 3.0F, BlockBehaviour.Properties.ofFullCopy(Blocks.MEDIUM_AMETHYST_BUD))); -// public static final DeferredBlock LARGE_BLOOD_CRYSTAL_BUD = BLOCKS.register("large_blood_crystal_bud", -// () -> new AmethystClusterBlock(5.0F, 3.0F, BlockBehaviour.Properties.ofFullCopy(Blocks.LARGE_AMETHYST_BUD))); -// public static final DeferredBlock BUDDING_BLOOD_CRYSTAL = BLOCKS.register("budding_blood_crystal", -// () -> new BuddingBloodCrystalBlock( -// BlockBehaviour.Properties.ofFullCopy(Blocks.BUDDING_AMETHYST), -// AntarchyNeoForgeContentOLD::smallBloodCrystalBudBlock, -// AntarchyNeoForgeContentOLD::mediumBloodCrystalBudBlock, -// AntarchyNeoForgeContentOLD::largeBloodCrystalBudBlock, -// AntarchyNeoForgeContentOLD::bloodCrystalCrystalBlock -// )); -// public static final DeferredBlock BLOOD_CRYSTAL = BLOCKS.register("blood_crystal_block", -// () -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.AMETHYST_BLOCK))); -// public static final DeferredBlock BLOOD_CRYSTAL_CRYSTAL = BLOCKS.register("blood_crystal_cluster", -// () -> new AmethystClusterBlock(7.0F, 3.0F, BlockBehaviour.Properties.ofFullCopy(Blocks.AMETHYST_CLUSTER))); -// public static final DeferredBlock DREAM_SAND = BLOCKS.register("dream_sand", -// () -> new DreamSandBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SAND))); -// public static final DeferredBlock DREAM_SANDSTONE = BLOCKS.register("dream_sandstone", -// () -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.SANDSTONE))); -// public static final DeferredBlock CHISELED_DREAM_SANDSTONE = BLOCKS.register("chiseled_dream_sandstone", -// () -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.CHISELED_SANDSTONE))); -// public static final DeferredBlock CUT_DREAM_SANDSTONE = BLOCKS.register("cut_dream_sandstone", -// () -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.CUT_SANDSTONE))); -// public static final DeferredBlock SMOOTH_DREAM_SANDSTONE = BLOCKS.register("smooth_dream_sandstone", -// () -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.SMOOTH_SANDSTONE))); -// public static final DeferredBlock DREAM_SANDSTONE_STAIRS = BLOCKS.register("dream_sandstone_stairs", -// () -> new net.minecraft.world.level.block.StairBlock(DREAM_SANDSTONE.get().defaultBlockState(), BlockBehaviour.Properties.ofFullCopy(Blocks.SANDSTONE_STAIRS))); -// public static final DeferredBlock DREAM_SANDSTONE_SLAB = BLOCKS.register("dream_sandstone_slab", -// () -> new net.minecraft.world.level.block.SlabBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SANDSTONE_SLAB))); -// public static final DeferredBlock DREAM_SANDSTONE_WALL = BLOCKS.register("dream_sandstone_wall", -// () -> new net.minecraft.world.level.block.WallBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SANDSTONE_WALL))); -// public static final DeferredBlock SMOOTH_DREAM_SANDSTONE_STAIRS = BLOCKS.register("smooth_dream_sandstone_stairs", -// () -> new net.minecraft.world.level.block.StairBlock(SMOOTH_DREAM_SANDSTONE.get().defaultBlockState(), BlockBehaviour.Properties.ofFullCopy(Blocks.SMOOTH_SANDSTONE_STAIRS))); -// public static final DeferredBlock SMOOTH_DREAM_SANDSTONE_SLAB = BLOCKS.register("smooth_dream_sandstone_slab", -// () -> new net.minecraft.world.level.block.SlabBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.SMOOTH_SANDSTONE_SLAB))); -// public static final DeferredBlock CUT_DREAM_SANDSTONE_SLAB = BLOCKS.register("cut_dream_sandstone_slab", -// () -> new net.minecraft.world.level.block.SlabBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.CUT_SANDSTONE_SLAB))); -// public static final DeferredHolder, BlockEntityType> ANT_NEST_BLOCK_ENTITY = BLOCK_ENTITY_TYPES.register("ant_nest", -// () -> BlockEntityType.Builder.of( -// AntNestBlockEntity::new, -// RED_ANT_NEST.get(), -// BROWN_ANT_NEST.get(), -// RAINBOW_ANT_NEST.get() -// ).build(null)); -// public static final DeferredHolder, BlockEntityType> DREAM_CAMPFIRE_BLOCK_ENTITY = BLOCK_ENTITY_TYPES.register("dream_campfire", -// () -> BlockEntityType.Builder.of( -// DreamCampfireBlockEntity::new, -// DREAM_CAMPFIRE.get() -// ).build(null)); -// public static final DeferredHolder, BlockEntityType> WASP_NEST_BLOCK_ENTITY = BLOCK_ENTITY_TYPES.register("wasp_nest", -// () -> BlockEntityType.Builder.of( -// WaspNestBlockEntity::new, -// WASP_NEST.get() -// ).build(null)); -// public static final DeferredHolder, BlockEntityType> HUSHWEED_BLOCK_ENTITY = BLOCK_ENTITY_TYPES.register("hushweed", -// () -> BlockEntityType.Builder.of( -// HushweedBlockEntity::new, -// HUSHWEED.get() -// ).build(null)); -// public static final DeferredHolder, BlockEntityType> POTENT_NYXITE_BLOCK_ENTITY = BLOCK_ENTITY_TYPES.register("potent_nyxite", -// () -> BlockEntityType.Builder.of( -// (pos, state) -> new PotentNyxiteBlockEntity(pos, state, AntarchyNeoForgeContentOLD::potentNyxiteBlockEntityType), -// POTENT_NYXITE.get() -// ).build(null)); -// public static final DeferredHolder, RedAntNestFeature> RED_ANT_NEST_FEATURE = FEATURES.register("red_ant_nest", -// () -> new RedAntNestFeature(SimpleBlockConfiguration.CODEC)); -// public static final DeferredHolder, BrownAntNestFeature> BROWN_ANT_NEST_FEATURE = FEATURES.register("brown_ant_nest", -// () -> new BrownAntNestFeature(SimpleBlockConfiguration.CODEC)); -// public static final DeferredHolder, RainbowAntNestFeature> RAINBOW_ANT_NEST_FEATURE = FEATURES.register("rainbow_ant_nest", -// () -> new RainbowAntNestFeature(SimpleBlockConfiguration.CODEC)); -// public static final DeferredHolder, TermiteNestFeature> TERMITE_NEST_FEATURE = FEATURES.register("termite_nest", -// () -> new TermiteNestFeature(SimpleBlockConfiguration.CODEC)); -// public static final DeferredHolder, OuranwoodTreeFeature> OURANWOOD_LARGE_TREE = FEATURES.register("ouranwood_large_tree", -// () -> new OuranwoodTreeFeature(OuranwoodTreeConfiguration.CODEC)); -// public static final DeferredHolder, OuranwoodTreeFeature> OURANWOOD_YOUNG_TREE = FEATURES.register("ouranwood_young_tree", -// () -> new OuranwoodTreeFeature(OuranwoodTreeConfiguration.CODEC)); -// public static final DeferredHolder, OuranwoodTreeFeature> OURANWOOD_MEDIUM_TREE = FEATURES.register("ouranwood_medium_tree", -// () -> new OuranwoodTreeFeature(OuranwoodTreeConfiguration.CODEC)); -// public static final DeferredHolder, OuranwoodCocoonTreeFeature> OURANWOOD_COCOON_TREE = FEATURES.register("ouranwood_cocoon_tree", -// () -> new OuranwoodCocoonTreeFeature(OuranwoodTreeConfiguration.CODEC)); -// public static final DeferredHolder, ElythiaFloraFeature> ELYTHIA_FOREST_FLORA = FEATURES.register("elythia_forest_flora", -// () -> new ElythiaFloraFeature(NoneFeatureConfiguration.CODEC, ElythiaFloraFeature.Variant.FOREST)); -// public static final DeferredHolder, ElythiaFloraFeature> ELYTHIA_MEADOW_FLORA = FEATURES.register("elythia_meadow_flora", -// () -> new ElythiaFloraFeature(NoneFeatureConfiguration.CODEC, ElythiaFloraFeature.Variant.MEADOW)); -// public static final DeferredHolder, ElythiaFloraFeature> FLOWER_FOREST_MILKWEED = FEATURES.register("flower_forest_milkweed", -// () -> new ElythiaFloraFeature(NoneFeatureConfiguration.CODEC, ElythiaFloraFeature.Variant.FLOWER_FOREST_MILKWEED)); -// public static final DeferredHolder, ElythiaFloraFeature> ELYTHIA_BUTTERFLY_FIELDS_FLORA = FEATURES.register("butterfly_fields_flora", -// () -> new ElythiaFloraFeature(NoneFeatureConfiguration.CODEC, ElythiaFloraFeature.Variant.BUTTERFLY_FIELDS)); -// public static final DeferredHolder, ElythiaFloraFeature> ELYTHIA_TORCHFLOWER_FIELDS_FLORA = FEATURES.register("elythia_torchflower_fields_flora", -// () -> new ElythiaFloraFeature(NoneFeatureConfiguration.CODEC, ElythiaFloraFeature.Variant.TORCHFLOWER_FIELDS)); -// public static final DeferredHolder, ElythiaSurfaceCoverFeature> ELYTHIA_SURFACE_COVER = FEATURES.register("elythia_surface_cover", -// () -> new ElythiaSurfaceCoverFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, ElythiaUndergroundFeature> ELYTHIA_UNDERGROUND = FEATURES.register("elythia_underground", -// () -> new ElythiaUndergroundFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, BrutalflyCocoonFeature> BRUTALFLY_COCOON = FEATURES.register("brutalfly_cocoon", -// () -> new BrutalflyCocoonFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, MolewormTunnelsFeature> ELYTHIA_MOLEWORM_TUNNELS = FEATURES.register("elythia_moleworm_tunnels", -// () -> new MolewormTunnelsFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, MolewormCaveEntranceFeature> ELYTHIA_MOLEWORM_CAVE_ENTRANCES = FEATURES.register("elythia_moleworm_cave_entrances", -// () -> new MolewormCaveEntranceFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, MolewormWarrensFeature> ELYTHIA_MOLEWORM_WARRENS = FEATURES.register("elythia_moleworm_warrens", -// () -> new MolewormWarrensFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, MolewormSurfaceMoundsFeature> ELYTHIA_MOLEWORM_SURFACE_MOUNDS = FEATURES.register("elythia_moleworm_surface_mounds", -// () -> new MolewormSurfaceMoundsFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, TriffidPatchFeature> TRIFFID_PATCH = FEATURES.register("triffid_patch", -// () -> new TriffidPatchFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, MapCodec> ELYTHIA_BIOME_SOURCE = BIOME_SOURCES.register("elythia_biome_source", -// () -> ElythiaBiomeSource.CODEC); -// public static final DeferredHolder, MapCodec> ELYTHIA_RIVER_CARVE = DENSITY_FUNCTION_TYPES.register("elythia_river_carve", -// () -> ElythiaRiverCarveFunction.CODEC); -// public static final DeferredHolder, ElythiaPondFeature> ELYTHIA_POND = FEATURES.register("elythia_pond", -// () -> new ElythiaPondFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, ElythiaTuffBoulderFeature> ELYTHIA_TUFF_BOULDER = FEATURES.register("elythia_tuff_boulder", -// () -> new ElythiaTuffBoulderFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, ElythiaLargeTuffBoulderFeature> ELYTHIA_LARGE_TUFF_BOULDER = FEATURES.register("elythia_large_tuff_boulder", -// () -> new ElythiaLargeTuffBoulderFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, ThoraxisFissureFeature> THORAXIS_FISSURE = FEATURES.register("thoraxis_fissure", -// () -> new ThoraxisFissureFeature(ThoraxisFissureConfiguration.CODEC)); -// public static final DeferredHolder, ThoraxisRibColumnsFeature> THORAXIS_RIB_COLUMNS = FEATURES.register("thoraxis_rib_columns", -// () -> new ThoraxisRibColumnsFeature(ThoraxisRibColumnsConfiguration.CODEC)); -// public static final DeferredHolder, ThoraxisSpikeFeature> THORAXIS_SPIKE = FEATURES.register("thoraxis_spike", -// () -> new ThoraxisSpikeFeature(ThoraxisSpikeConfiguration.CODEC)); -// public static final DeferredHolder, NyxiteSpikeFeature> NYXITE_SPIKES = FEATURES.register("nyxite_spikes", -// () -> new NyxiteSpikeFeature(NyxiteSpikeConfiguration.CODEC)); -// public static final DeferredHolder, AntiwaterSpringsFeature> ANTIWATER_SPRINGS = FEATURES.register("antiwater_springs", -// () -> new AntiwaterSpringsFeature(AntiwaterSpringsConfiguration.CODEC)); -// public static final DeferredHolder, PotentNyxiteFeature> POTENT_NYXITE_FEATURE = FEATURES.register("potent_nyxite", -// () -> new PotentNyxiteFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, ThoraxisBloodCrystalFeature> THORAXIS_BLOOD_CRYSTAL_SPIRES = FEATURES.register("thoraxis_blood_crystal_spires", -// () -> new ThoraxisBloodCrystalFeature(ThoraxisBloodCrystalConfiguration.CODEC)); -// public static final DeferredHolder, CloudSeaCalciteFeature> CLOUD_SEA_CALCITE_BANKS = FEATURES.register("cloud_sea_calcite_banks", -// () -> new CloudSeaCalciteFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, BedBugNestFeature> BED_BUG_NEST = FEATURES.register("bed_bug_nest", -// () -> new BedBugNestFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, BedBugSurfaceClusterFeature> BED_BUG_SURFACE_CLUSTER = FEATURES.register("bed_bug_surface_cluster", -// () -> new BedBugSurfaceClusterFeature(NoneFeatureConfiguration.CODEC)); -// public static final DeferredHolder, ThoraxisAntiwaterPoolFeature> THORAXIS_ANTIWATER_POOL = FEATURES.register("thoraxis_antiwater_pool", -// () -> new ThoraxisAntiwaterPoolFeature(ThoraxisAntiwaterPoolConfiguration.CODEC)); -// public static final DeferredHolder, LucidAntiwaterPoolFeature> LUCID_ANTIWATER_POOL = FEATURES.register("lucid_antiwater_pool", -// () -> new LucidAntiwaterPoolFeature(ThoraxisAntiwaterPoolConfiguration.CODEC)); -// public static final DeferredHolder, ThoraxisDuneFeature> THORAXIS_DUNE = FEATURES.register("thoraxis_dune", -// () -> new ThoraxisDuneFeature(ThoraxisDuneConfiguration.CODEC)); -// public static final DeferredHolder, MapCodec> THORAXIS_BIOME_SOURCE = BIOME_SOURCES.register("thoraxis_biome_source", -// () -> ThoraxisBiomeSource.CODEC); -// -// public static final DeferredItem DUPLICATOR_LOG_ITEM = ITEMS.registerSimpleBlockItem(DUPLICATOR_LOG); -// public static final DeferredItem OURANWOOD_LOG_ITEM = ITEMS.registerSimpleBlockItem(OURANWOOD_LOG); -// public static final DeferredItem OURANWOOD_WOOD_ITEM = ITEMS.registerSimpleBlockItem(OURANWOOD_WOOD); -// public static final DeferredItem MOSSY_OURANWOOD_LOG_ITEM = ITEMS.registerSimpleBlockItem(MOSSY_OURANWOOD_LOG); -// public static final DeferredItem MOSSY_OURANWOOD_WOOD_ITEM = ITEMS.registerSimpleBlockItem(MOSSY_OURANWOOD_WOOD); -// public static final DeferredItem STRIPPED_OURANWOOD_LOG_ITEM = ITEMS.registerSimpleBlockItem(STRIPPED_OURANWOOD_LOG); -// public static final DeferredItem STRIPPED_OURANWOOD_WOOD_ITEM = ITEMS.registerSimpleBlockItem(STRIPPED_OURANWOOD_WOOD); -// public static final DeferredItem OURANWOOD_PLANKS_ITEM = ITEMS.registerSimpleBlockItem(OURANWOOD_PLANKS); -// public static final DeferredItem OURANWOOD_STAIRS_ITEM = ITEMS.registerSimpleBlockItem(OURANWOOD_STAIRS); -// public static final DeferredItem OURANWOOD_SLAB_ITEM = ITEMS.registerSimpleBlockItem(OURANWOOD_SLAB); -// public static final DeferredItem OURANWOOD_FENCE_ITEM = ITEMS.registerSimpleBlockItem(OURANWOOD_FENCE); -// public static final DeferredItem OURANWOOD_FENCE_GATE_ITEM = ITEMS.registerSimpleBlockItem(OURANWOOD_FENCE_GATE); -// public static final DeferredItem OURANWOOD_DOOR_ITEM = ITEMS.registerSimpleBlockItem(OURANWOOD_DOOR); -// public static final DeferredItem OURANWOOD_TRAPDOOR_ITEM = ITEMS.registerSimpleBlockItem(OURANWOOD_TRAPDOOR); -// public static final DeferredItem OURANWOOD_PRESSURE_PLATE_ITEM = ITEMS.registerSimpleBlockItem(OURANWOOD_PRESSURE_PLATE); -// public static final DeferredItem OURANWOOD_BUTTON_ITEM = ITEMS.registerSimpleBlockItem(OURANWOOD_BUTTON); -// public static final DeferredItem OURANWOOD_LEAVES_ITEM = ITEMS.registerSimpleBlockItem(OURANWOOD_LEAVES); -// public static final DeferredItem OURANWOOD_ACORN = ITEMS.registerSimpleBlockItem(OURANWOOD_ACORN_BLOCK); -// public static final DeferredItem ORANGE_MILKWEED_ITEM = ITEMS.registerSimpleBlockItem(ORANGE_MILKWEED); -// public static final DeferredItem PINK_MILKWEED_ITEM = ITEMS.registerSimpleBlockItem(PINK_MILKWEED); -// public static final DeferredItem TORCHFLOWER_BUSH_ITEM = ITEMS.registerSimpleBlockItem(TORCHFLOWER_BUSH); -// public static final DeferredItem OURANWOOD_SIGN_ITEM = ITEMS.register("ouranwood_sign", -// () -> new net.minecraft.world.item.SignItem(new Item.Properties().stacksTo(16), OURANWOOD_SIGN.get(), OURANWOOD_WALL_SIGN.get())); -// public static final DeferredItem OURANWOOD_HANGING_SIGN_ITEM = ITEMS.register("ouranwood_hanging_sign", -// () -> new net.minecraft.world.item.HangingSignItem(OURANWOOD_HANGING_SIGN.get(), OURANWOOD_WALL_HANGING_SIGN.get(), new Item.Properties().stacksTo(16))); -// public static final DeferredItem OURANWOOD_BOAT = ITEMS.register("ouranwood_boat", -// () -> new OuranwoodBoatOnlyItem(OURANWOOD_BOAT_ENTITY.get(), new Item.Properties().stacksTo(1))); -// public static final DeferredItem OURANWOOD_CHEST_BOAT = ITEMS.register("ouranwood_chest_boat", -// () -> new OuranwoodChestBoatItem(OURANWOOD_CHEST_BOAT_ENTITY.get(), new Item.Properties().stacksTo(1))); -// public static final DeferredItem DUPLICATOR_SAPLING_ITEM = ITEMS.registerSimpleBlockItem(DUPLICATOR_SAPLING); -// public static final DeferredItem RED_ANT_NEST_ITEM = ITEMS.registerSimpleBlockItem(RED_ANT_NEST); -// public static final DeferredItem BROWN_ANT_NEST_ITEM = ITEMS.registerSimpleBlockItem(BROWN_ANT_NEST); -// public static final DeferredItem RAINBOW_ANT_NEST_ITEM = ITEMS.registerSimpleBlockItem(RAINBOW_ANT_NEST); -// public static final DeferredItem URANIUM_ORE_ITEM = ITEMS.registerSimpleBlockItem(URANIUM_ORE); -// public static final DeferredItem DEEPSLATE_URANIUM_ORE_ITEM = ITEMS.registerSimpleBlockItem(DEEPSLATE_URANIUM_ORE); -// public static final DeferredItem TITANIUM_ORE_ITEM = ITEMS.registerSimpleBlockItem(TITANIUM_ORE); -// public static final DeferredItem DEEPSLATE_TITANIUM_ORE_ITEM = ITEMS.registerSimpleBlockItem(DEEPSLATE_TITANIUM_ORE); -// public static final DeferredItem URANIUM_BLOCK_ITEM = ITEMS.registerSimpleBlockItem(URANIUM_BLOCK); -// public static final DeferredItem TITANIUM_BLOCK_ITEM = ITEMS.registerSimpleBlockItem(TITANIUM_BLOCK); -// public static final DeferredItem RAW_URANIUM_BLOCK_ITEM = ITEMS.registerSimpleBlockItem(RAW_URANIUM_BLOCK); -// public static final DeferredItem RAW_TITANIUM_BLOCK_ITEM = ITEMS.registerSimpleBlockItem(RAW_TITANIUM_BLOCK); -// public static final DeferredItem CUT_URANIUM_ITEM = ITEMS.registerSimpleBlockItem(CUT_URANIUM); -// public static final DeferredItem CUT_TITANIUM_ITEM = ITEMS.registerSimpleBlockItem(CUT_TITANIUM); -// public static final DeferredItem CUT_URANIUM_SLAB_ITEM = ITEMS.registerSimpleBlockItem(CUT_URANIUM_SLAB); -// public static final DeferredItem CUT_TITANIUM_SLAB_ITEM = ITEMS.registerSimpleBlockItem(CUT_TITANIUM_SLAB); -// public static final DeferredItem CUT_URANIUM_STAIRS_ITEM = ITEMS.registerSimpleBlockItem(CUT_URANIUM_STAIRS); -// public static final DeferredItem CUT_TITANIUM_STAIRS_ITEM = ITEMS.registerSimpleBlockItem(CUT_TITANIUM_STAIRS); -// public static final DeferredItem CHISELED_URANIUM_ITEM = ITEMS.registerSimpleBlockItem(CHISELED_URANIUM); -// public static final DeferredItem CHISELED_TITANIUM_ITEM = ITEMS.registerSimpleBlockItem(CHISELED_TITANIUM); -// public static final DeferredItem URANIUM_BULB_ITEM = ITEMS.register("uranium_bulb", -// () -> new com.craisinlord.antarchy.content.item.SignalSavingBulbItem(URANIUM_BULB.get(), new Item.Properties())); -// public static final DeferredItem TITANIUM_BULB_ITEM = ITEMS.register("titanium_bulb", -// () -> new com.craisinlord.antarchy.content.item.SignalSavingBulbItem(TITANIUM_BULB.get(), new Item.Properties())); -// public static final DeferredItem URANIUM_DOOR_ITEM = ITEMS.registerSimpleBlockItem(URANIUM_DOOR); -// public static final DeferredItem TITANIUM_DOOR_ITEM = ITEMS.registerSimpleBlockItem(TITANIUM_DOOR); -// public static final DeferredItem URANIUM_TRAPDOOR_ITEM = ITEMS.registerSimpleBlockItem(URANIUM_TRAPDOOR); -// public static final DeferredItem TITANIUM_TRAPDOOR_ITEM = ITEMS.registerSimpleBlockItem(TITANIUM_TRAPDOOR); -// public static final DeferredItem URANIUM_BARS_ITEM = ITEMS.registerSimpleBlockItem(URANIUM_BARS); -// public static final DeferredItem TITANIUM_BARS_ITEM = ITEMS.registerSimpleBlockItem(TITANIUM_BARS); -// public static final DeferredItem ANTIMETAL_ITEM = ITEMS.register("antimetal", -// () -> new AntimetalBlockItem(ANTIMETAL.get(), new Item.Properties())); -// public static final DeferredItem POLISHED_ANTIMETAL_ITEM = ITEMS.register("polished_antimetal", -// () -> new AntimetalBlockItem(POLISHED_ANTIMETAL.get(), new Item.Properties())); -// public static final DeferredItem ANTIMETAL_SCAFFOLDING_ITEM = ITEMS.register("antimetal_scaffolding", -// () -> new AntimetalScaffoldingItem(ANTIMETAL_SCAFFOLDING.get(), new Item.Properties())); -// public static final DeferredItem SMALL_BLOOD_CRYSTAL_BUD_ITEM = ITEMS.registerSimpleBlockItem(SMALL_BLOOD_CRYSTAL_BUD); -// public static final DeferredItem MEDIUM_BLOOD_CRYSTAL_BUD_ITEM = ITEMS.registerSimpleBlockItem(MEDIUM_BLOOD_CRYSTAL_BUD); -// public static final DeferredItem LARGE_BLOOD_CRYSTAL_BUD_ITEM = ITEMS.registerSimpleBlockItem(LARGE_BLOOD_CRYSTAL_BUD); -// public static final DeferredItem BUDDING_BLOOD_CRYSTAL_ITEM = ITEMS.registerSimpleBlockItem(BUDDING_BLOOD_CRYSTAL); -// public static final DeferredItem BLOOD_CRYSTAL_ITEM = ITEMS.register("blood_crystal_block", -// () -> new net.minecraft.world.item.BlockItem(BLOOD_CRYSTAL.get(), new Item.Properties())); -// public static final DeferredItem BLOOD_CRYSTAL_CRYSTAL_ITEM = ITEMS.registerSimpleBlockItem(BLOOD_CRYSTAL_CRYSTAL); -// public static final DeferredItem DREAM_SAND_ITEM = ITEMS.registerSimpleBlockItem(DREAM_SAND); -// public static final DeferredItem DREAM_SANDSTONE_ITEM = ITEMS.registerSimpleBlockItem(DREAM_SANDSTONE); -// public static final DeferredItem CHISELED_DREAM_SANDSTONE_ITEM = ITEMS.registerSimpleBlockItem(CHISELED_DREAM_SANDSTONE); -// public static final DeferredItem CUT_DREAM_SANDSTONE_ITEM = ITEMS.registerSimpleBlockItem(CUT_DREAM_SANDSTONE); -// public static final DeferredItem SMOOTH_DREAM_SANDSTONE_ITEM = ITEMS.registerSimpleBlockItem(SMOOTH_DREAM_SANDSTONE); -// public static final DeferredItem DREAM_SANDSTONE_STAIRS_ITEM = ITEMS.registerSimpleBlockItem(DREAM_SANDSTONE_STAIRS); -// public static final DeferredItem DREAM_SANDSTONE_SLAB_ITEM = ITEMS.registerSimpleBlockItem(DREAM_SANDSTONE_SLAB); -// public static final DeferredItem DREAM_SANDSTONE_WALL_ITEM = ITEMS.registerSimpleBlockItem(DREAM_SANDSTONE_WALL); -// public static final DeferredItem SMOOTH_DREAM_SANDSTONE_STAIRS_ITEM = ITEMS.registerSimpleBlockItem(SMOOTH_DREAM_SANDSTONE_STAIRS); -// public static final DeferredItem SMOOTH_DREAM_SANDSTONE_SLAB_ITEM = ITEMS.registerSimpleBlockItem(SMOOTH_DREAM_SANDSTONE_SLAB); -// public static final DeferredItem CUT_DREAM_SANDSTONE_SLAB_ITEM = ITEMS.registerSimpleBlockItem(CUT_DREAM_SANDSTONE_SLAB); -// public static final DeferredItem DUCT_TAPE_ITEM = ITEMS.register("duct_tape", -// () -> new DuctTapeBlockItem(DUCT_TAPE.get(), new Item.Properties().stacksTo(1))); -// public static final DeferredItem INFESTED_ROOTED_DIRT_ITEM = ITEMS.registerSimpleBlockItem(INFESTED_ROOTED_DIRT); -// public static final DeferredItem INFESTED_COARSE_DIRT_ITEM = ITEMS.registerSimpleBlockItem(INFESTED_COARSE_DIRT); -// public static final DeferredItem NYXITE_ITEM = ITEMS.registerSimpleBlockItem(NYXITE); -// public static final DeferredItem POLISHED_NYXITE_ITEM = ITEMS.registerSimpleBlockItem(POLISHED_NYXITE); -// public static final DeferredItem CHISELED_NYXITE_ITEM = ITEMS.registerSimpleBlockItem(CHISELED_NYXITE); -// public static final DeferredItem NYXITE_BRICKS_ITEM = ITEMS.registerSimpleBlockItem(NYXITE_BRICKS); -// public static final DeferredItem NYXITE_STAIRS_ITEM = ITEMS.registerSimpleBlockItem(NYXITE_STAIRS); -// public static final DeferredItem NYXITE_SLAB_ITEM = ITEMS.registerSimpleBlockItem(NYXITE_SLAB); -// public static final DeferredItem NYXITE_WALL_ITEM = ITEMS.registerSimpleBlockItem(NYXITE_WALL); -// public static final DeferredItem POLISHED_NYXITE_STAIRS_ITEM = ITEMS.registerSimpleBlockItem(POLISHED_NYXITE_STAIRS); -// public static final DeferredItem POLISHED_NYXITE_SLAB_ITEM = ITEMS.registerSimpleBlockItem(POLISHED_NYXITE_SLAB); -// public static final DeferredItem POLISHED_NYXITE_WALL_ITEM = ITEMS.registerSimpleBlockItem(POLISHED_NYXITE_WALL); -// public static final DeferredItem NYXITE_BRICK_STAIRS_ITEM = ITEMS.registerSimpleBlockItem(NYXITE_BRICK_STAIRS); -// public static final DeferredItem NYXITE_BRICK_SLAB_ITEM = ITEMS.registerSimpleBlockItem(NYXITE_BRICK_SLAB); -// public static final DeferredItem NYXITE_BRICK_WALL_ITEM = ITEMS.registerSimpleBlockItem(NYXITE_BRICK_WALL); -// public static final DeferredItem TRIFFID_GOO_BLOCK_ITEM = ITEMS.register("triffid_goo_block", -// () -> new com.craisinlord.antarchy.content.item.TriffidGooBlockItem(TRIFFID_GOO_BLOCK.get(), new Item.Properties())); -// public static final DeferredItem PALE_NYXITE_ITEM = ITEMS.registerSimpleBlockItem(PALE_NYXITE); -// public static final DeferredItem NYXITE_SPIKE_ITEM = ITEMS.registerSimpleBlockItem(NYXITE_SPIKE); -// public static final DeferredItem POTENT_NYXITE_ITEM = ITEMS.registerSimpleBlockItem(POTENT_NYXITE); -// public static final DeferredItem UMBRAL_MOSS_BLOCK_ITEM = ITEMS.registerSimpleBlockItem(UMBRAL_MOSS_BLOCK); -// public static final DeferredItem UMBRAL_MOSS_CARPET_ITEM = ITEMS.registerSimpleBlockItem(UMBRAL_MOSS_CARPET); -// public static final DeferredItem DREAM_TORCH_ITEM = ITEMS.register("dream_torch", -// () -> new StandingAndWallBlockItem(DREAM_TORCH.get(), DREAM_WALL_TORCH.get(), new Item.Properties(), Direction.UP)); -// public static final DeferredItem DREAM_LANTERN_ITEM = ITEMS.registerSimpleBlockItem(DREAM_LANTERN); -// public static final DeferredItem DREAM_CAMPFIRE_ITEM = ITEMS.registerSimpleBlockItem(DREAM_CAMPFIRE); -// public static final DeferredItem BED_BUG_EGG_ITEM = ITEMS.registerSimpleBlockItem(BED_BUG_EGG); -// public static final DeferredItem WASP_NEST_ITEM = ITEMS.registerSimpleBlockItem(WASP_NEST); -// public static final DeferredItem HUSHWEED_ITEM = ITEMS.registerSimpleBlockItem(HUSHWEED); -// public static final DeferredItem ICHOR_BUCKET = ITEMS.register("ichor_bucket", -// () -> new BucketItem(ICHOR.get(), new Item.Properties().craftRemainder(Items.BUCKET).stacksTo(1))); -// public static final DeferredItem ANTIWATER_BUCKET = ITEMS.register("antiwater_bucket", -// () -> new BucketItem(ANTIWATER.get(), new Item.Properties().craftRemainder(Items.BUCKET).stacksTo(1))); -// public static final DeferredItem CLOUD_BUCKET = ITEMS.register("cloud_bucket", -// () -> new com.craisinlord.antarchy.content.item.CloudBucketItem(CLOUD_BLOCK.get(), new Item.Properties().craftRemainder(Items.BUCKET))); -// public static final DeferredItem BLOOD_CRYSTAL_SHARD = ITEMS.register("blood_crystal_shard", -// () -> new BloodCrystalShardItem(new Item.Properties())); -// public static final DeferredItem BLOOD_CRYSTAL_APPLE = ITEMS.register("blood_crystal_apple", -// () -> new BloodCrystalAppleItem(new Item.Properties() -// .rarity(Rarity.RARE) -// .food(new net.minecraft.world.food.FoodProperties.Builder() -// .nutrition(4) -// .saturationModifier(1.2f) -// .effect(() -> new MobEffectInstance(net.minecraft.world.effect.MobEffects.REGENERATION, 100, 1), 1.0f) -// .alwaysEdible() -// .build()))); -// public static final DeferredItem BLOOD_CRYSTAL_HELMET = ITEMS.register("blood_crystal_helmet", -// () -> new BloodCrystalArmorItem(BLOOD_CRYSTAL_ARMOR_MATERIAL, ArmorItem.Type.HELMET, new Item.Properties().rarity(Rarity.RARE))); -// public static final DeferredItem BLOOD_CRYSTAL_CHESTPLATE = ITEMS.register("blood_crystal_chestplate", -// () -> new BloodCrystalArmorItem(BLOOD_CRYSTAL_ARMOR_MATERIAL, ArmorItem.Type.CHESTPLATE, new Item.Properties().rarity(Rarity.RARE))); -// public static final DeferredItem BLOOD_CRYSTAL_LEGGINGS = ITEMS.register("blood_crystal_leggings", -// () -> new BloodCrystalArmorItem(BLOOD_CRYSTAL_ARMOR_MATERIAL, ArmorItem.Type.LEGGINGS, new Item.Properties().rarity(Rarity.RARE))); -// public static final DeferredItem BLOOD_CRYSTAL_BOOTS = ITEMS.register("blood_crystal_boots", -// () -> new BloodCrystalArmorItem(BLOOD_CRYSTAL_ARMOR_MATERIAL, ArmorItem.Type.BOOTS, new Item.Properties().rarity(Rarity.RARE))); -// public static final DeferredItem BLOOD_CRYSTAL_KATANA = ITEMS.register("blood_crystal_katana", -// () -> new BloodCrystalKatanaItem( -// BLOOD_CRYSTAL_KATANA_TIER, -// new Item.Properties().stacksTo(1).durability(1200).rarity(Rarity.RARE), -// AntarchySettings.bloodCrystalKatanaAttackDamage(), -// -2.2F -// )); -// public static final DeferredItem MANTIS_CLAW = ITEMS.registerSimpleItem("mantis_claw", new Item.Properties().rarity(Rarity.UNCOMMON)); -// public static final DeferredItem JUMPY_BUG_LEG = ITEMS.register("jumpy_bug_leg", -// () -> new MobComingSoonTooltipItem(new Item.Properties().rarity(Rarity.UNCOMMON))); -// public static final DeferredItem BRUTALFLY_WING = ITEMS.registerSimpleItem("brutalfly_wing", new Item.Properties().rarity(Rarity.UNCOMMON)); -// public static final DeferredItem BRUTALFLY_ELYTRA = ITEMS.register("brutalfly_elytra", -// () -> new BrutalflyElytraItem(new Item.Properties().rarity(Rarity.UNCOMMON).durability(480))); -// public static final DeferredItem CORNEA_EAR = ITEMS.register("cornea_ear", -// () -> new CorneaEarItem(new Item.Properties() -// .rarity(Rarity.UNCOMMON) -// .food(new FoodProperties.Builder() -// .nutrition(2) -// .saturationModifier(0.4F) -// .build()))); -// public static final DeferredItem PRIMORDIAL_SCUTE = ITEMS.register("primordial_scute", -// () -> new MobComingSoonTooltipItem(new Item.Properties().rarity(Rarity.UNCOMMON))); -// public static final DeferredItem TRIFFID_GOO = ITEMS.registerSimpleItem("triffid_goo", -// new Item.Properties().rarity(Rarity.UNCOMMON)); -// public static final DeferredItem VORTEX_EYE = ITEMS.register("vortex_eye", -// () -> new MobComingSoonTooltipItem(new Item.Properties().rarity(Rarity.RARE))); -// public static final DeferredItem RAW_URANIUM_SCRAP = ITEMS.registerSimpleItem("raw_uranium_scrap", new Item.Properties().rarity(Rarity.UNCOMMON)); -// public static final DeferredItem RAW_TITANIUM_SCRAP = ITEMS.registerSimpleItem("raw_titanium_scrap", new Item.Properties().rarity(Rarity.UNCOMMON)); -// public static final DeferredItem RAW_URANIUM = ITEMS.registerSimpleItem("raw_uranium", new Item.Properties().rarity(Rarity.UNCOMMON)); -// public static final DeferredItem RAW_TITANIUM = ITEMS.registerSimpleItem("raw_titanium", new Item.Properties().rarity(Rarity.UNCOMMON)); -// public static final DeferredItem MUD_PIE = ITEMS.register("mud_pie", -// () -> new Item(new Item.Properties() -// .food(new FoodProperties.Builder() -// .nutrition(10) -// .saturationModifier(0.9F) -// .effect(() -> new MobEffectInstance(MobEffects.CONFUSION, 200), 1.0F) -// .build()))); -// public static final DeferredItem RAINBOW_SUGAR = ITEMS.register("rainbow_sugar", -// () -> new RainbowSugarItem(new Item.Properties() -// .rarity(Rarity.UNCOMMON) -// .food(new FoodProperties.Builder().nutrition(1).saturationModifier(0.0F).alwaysEdible().build()))); -// public static final DeferredItem URANIUM_NUGGET = ITEMS.registerSimpleItem("uranium_nugget", new Item.Properties().rarity(Rarity.UNCOMMON)); -// public static final DeferredItem TITANIUM_NUGGET = ITEMS.registerSimpleItem("titanium_nugget", new Item.Properties().rarity(Rarity.UNCOMMON)); -// public static final DeferredItem URANIUM_INGOT = ITEMS.registerSimpleItem("uranium_ingot", new Item.Properties().rarity(Rarity.UNCOMMON).fireResistant()); -// public static final DeferredItem TITANIUM_INGOT = ITEMS.registerSimpleItem("titanium_ingot", new Item.Properties().rarity(Rarity.UNCOMMON).fireResistant()); -// public static final DeferredItem MOLEVORE_NOSE = ITEMS.registerSimpleItem("molevore_nose", new Item.Properties().rarity(Rarity.RARE)); -// public static final DeferredItem MOLEWORM_ITEM = ITEMS.register("moleworm", -// () -> new Item(new Item.Properties() -// .food(new FoodProperties.Builder() -// .nutrition(1) -// .saturationModifier(0.0F) -// .effect(() -> new MobEffectInstance(MobEffects.HUNGER, 600), 0.8F) -// .build()))); -// public static final DeferredItem CLOUD_SHARK_FIN = ITEMS.registerSimpleItem("cloud_shark_fin", new Item.Properties().rarity(Rarity.UNCOMMON)); -// public static final DeferredItem CLOUD_SHARK_FIN_SOUP = ITEMS.register("cloud_shark_fin_soup", -// () -> new CloudSharkFinSoupItem(new Item.Properties() -// .stacksTo(1) -// .craftRemainder(Items.BOWL) -// .food(new FoodProperties.Builder() -// .nutrition(10) -// .saturationModifier(0.8F) -// .effect(() -> new MobEffectInstance(MobEffects.DAMAGE_BOOST, 600, 0), 1.0F) -// .effect(() -> new MobEffectInstance(MobEffects.SLOW_FALLING, 600, 0), 1.0F) -// .build()))); -// public static final DeferredItem KRAKEN_TOOTH = ITEMS.register("kraken_tooth", -// () -> new Item(new Item.Properties().rarity(net.minecraft.world.item.Rarity.RARE))); -// public static final DeferredItem BASILISK_FANG = ITEMS.registerSimpleItem("basilisk_fang", new Item.Properties().rarity(Rarity.RARE)); -// public static final DeferredItem BASILISK_DAGGER = ITEMS.register("basilisk_dagger", -// () -> new BasiliskDaggerItem(Tiers.IRON, new Item.Properties().rarity(Rarity.RARE), 4, -1.8F)); -// public static final DeferredItem EMPEROR_SCORPION_STINGER = ITEMS.registerSimpleItem("emperor_scorpion_stinger", new Item.Properties().rarity(Rarity.RARE)); -// public static final DeferredItem SCORPION_WHIP = ITEMS.register("scorpion_whip", -// () -> new ScorpionWhipItem(Tiers.IRON, new Item.Properties().rarity(Rarity.RARE).durability(384))); -// public static final DeferredItem MOGGLES = ITEMS.register("moggles", -// () -> new MogglesItem(MOGGLES_ARMOR_MATERIAL, new Item.Properties().rarity(Rarity.RARE).stacksTo(1))); -// public static final DeferredItem FALLEN_KING_CROWN = ITEMS.register("fallen_king_crown", -// () -> new com.craisinlord.antarchy.content.item.FallenKingCrownItem( -// FALLEN_KING_CROWN_ARMOR_MATERIAL, -// new Item.Properties().rarity(Rarity.RARE) -// )); -// public static final DeferredItem ULTIMATE_HELMET = ITEMS.register("ultimate_helmet", -// () -> new UltimateArmorItem( -// ULTIMATE_ARMOR_MATERIAL, -// ArmorItem.Type.HELMET, -// new Item.Properties() -// .rarity(Rarity.EPIC) -// .fireResistant() -// .durability(ArmorItem.Type.HELMET.getDurability(41)) -// )); -// public static final DeferredItem ULTIMATE_CHESTPLATE = ITEMS.register("ultimate_chestplate", -// () -> new UltimateArmorItem( -// ULTIMATE_ARMOR_MATERIAL, -// ArmorItem.Type.CHESTPLATE, -// new Item.Properties() -// .rarity(Rarity.EPIC) -// .fireResistant() -// .durability(ArmorItem.Type.CHESTPLATE.getDurability(41)) -// )); -// public static final DeferredItem ULTIMATE_LEGGINGS = ITEMS.register("ultimate_leggings", -// () -> new UltimateArmorItem( -// ULTIMATE_ARMOR_MATERIAL, -// ArmorItem.Type.LEGGINGS, -// new Item.Properties() -// .rarity(Rarity.EPIC) -// .fireResistant() -// .durability(ArmorItem.Type.LEGGINGS.getDurability(41)) -// )); -// public static final DeferredItem ULTIMATE_BOOTS = ITEMS.register("ultimate_boots", -// () -> new UltimateArmorItem( -// ULTIMATE_ARMOR_MATERIAL, -// ArmorItem.Type.BOOTS, -// new Item.Properties() -// .rarity(Rarity.EPIC) -// .fireResistant() -// .durability(ArmorItem.Type.BOOTS.getDurability(41)) -// )); -// public static final DeferredItem ULTIMATE_SWORD = ITEMS.register("ultimate_sword", -// () -> new UltimateSwordItem( -// ULTIMATE_TIER, -// new Item.Properties().stacksTo(1).rarity(Rarity.EPIC).fireResistant(), -// AntarchySettings::ultimateSwordAttackDamage, -// -2.4F -// )); -// public static final DeferredItem ULTIMATE_PICKAXE = ITEMS.register("ultimate_pickaxe", -// () -> new UltimatePickaxeItem( -// ULTIMATE_TIER, -// new Item.Properties().stacksTo(1).rarity(Rarity.EPIC).fireResistant(), -// AntarchySettings::ultimatePickaxeAttackDamage, -// -2.8F -// )); -// public static final DeferredItem ULTIMATE_AXE = ITEMS.register("ultimate_axe", -// () -> new UltimateAxeItem( -// ULTIMATE_TIER, -// new Item.Properties().stacksTo(1).rarity(Rarity.EPIC).fireResistant(), -// AntarchySettings::ultimateAxeAttackDamage, -// -3.0F -// )); -// public static final DeferredItem ULTIMATE_SHOVEL = ITEMS.register("ultimate_shovel", -// () -> new UtlimateShovelItem( -// ULTIMATE_TIER, -// new Item.Properties().stacksTo(1).rarity(Rarity.EPIC).fireResistant(), -// AntarchySettings::ultimateShovelAttackDamage, -// -3.0F -// )); -// public static final DeferredItem ULTIMATE_HOE = ITEMS.register("ultimate_hoe", -// () -> new UltimateHoeItem( -// ULTIMATE_TIER, -// new Item.Properties().stacksTo(1).rarity(Rarity.EPIC).fireResistant(), -// AntarchySettings::ultimateHoeAttackDamage, -// 0.0F -// )); -// public static final DeferredItem ULTIMATE_BOW = ITEMS.register("ultimate_bow", -// () -> new UltimateBowItem(new Item.Properties().stacksTo(1).durability(768).rarity(Rarity.EPIC).fireResistant())); -// public static final DeferredItem ULTIMATE_CROSSBOW = ITEMS.register("ultimate_crossbow", -// () -> new UltimateCrossbowItem(new Item.Properties().stacksTo(1).durability(1024).rarity(Rarity.EPIC).fireResistant())); -// // public static final DeferredItem ULTIMATE_MACE = ITEMS.register("ultimate_mace", -//// () -> new UltimateMaceItem(new Item.Properties().stacksTo(1).durability(1024).rarity(Rarity.EPIC).fireResistant())); -// public static final DeferredItem NIGHTMARE_HELMET = ITEMS.register("nightmare_helmet", -// () -> new NightmareArmorItem( -// NIGHTMARE_ARMOR_MATERIAL, -// ArmorItem.Type.HELMET, -// new Item.Properties() -// .rarity(Rarity.EPIC) -// .fireResistant() -// .durability(ArmorItem.Type.HELMET.getDurability(41)) -// )); -// public static final DeferredItem NIGHTMARE_CHESTPLATE = ITEMS.register("nightmare_chestplate", -// () -> new NightmareArmorItem( -// NIGHTMARE_ARMOR_MATERIAL, -// ArmorItem.Type.CHESTPLATE, -// new Item.Properties() -// .rarity(Rarity.EPIC) -// .fireResistant() -// .durability(ArmorItem.Type.CHESTPLATE.getDurability(41)) -// )); -// public static final DeferredItem NIGHTMARE_LEGGINGS = ITEMS.register("nightmare_leggings", -// () -> new NightmareArmorItem( -// NIGHTMARE_ARMOR_MATERIAL, -// ArmorItem.Type.LEGGINGS, -// new Item.Properties() -// .rarity(Rarity.EPIC) -// .fireResistant() -// .durability(ArmorItem.Type.LEGGINGS.getDurability(41)) -// )); -// public static final DeferredItem NIGHTMARE_BOOTS = ITEMS.register("nightmare_boots", -// () -> new NightmareArmorItem( -// NIGHTMARE_ARMOR_MATERIAL, -// ArmorItem.Type.BOOTS, -// new Item.Properties() -// .rarity(Rarity.EPIC) -// .fireResistant() -// .durability(ArmorItem.Type.BOOTS.getDurability(41)) -// )); -// public static final DeferredItem NIGHTMARE_SWORD = ITEMS.register("nightmare_sword", -// () -> new NightmareSwordItem( -// ULTIMATE_TIER, -// new Item.Properties().stacksTo(1).rarity(Rarity.EPIC).fireResistant(), -// -2.4F -// )); -// public static final DeferredItem SHRINK_RAY = ITEMS.register("shrink_ray", -// () -> new SizeRayItem( -// new Item.Properties().stacksTo(1).durability(512).rarity(Rarity.RARE).fireResistant(), -// SHRINK_RAY_PROJECTILE, -// SizeRayProjectileEntity.SizeRayType.SHRINK, -// ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "geo/shrink_ray.geo.json"), -// ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "textures/models/item/shrink_ray.png"), -// ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "animations/shrink_ray.animation.json"), -// "shrink_ray_active" -// )); -// public static final DeferredItem GROWTH_RAY = ITEMS.register("growth_ray", -// () -> new SizeRayItem( -// new Item.Properties().stacksTo(1).durability(512).rarity(Rarity.RARE).fireResistant(), -// GROWTH_RAY_PROJECTILE, -// SizeRayProjectileEntity.SizeRayType.GROWTH, -// ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "geo/growth_ray.geo.json"), -// ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "textures/models/item/growth_ray.png"), -// ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "animations/growth_ray.animation.json"), -// "growth_ray_active" -// )); -// public static final DeferredItem GRAVITY_GUN = ITEMS.register("gravity_gun", -// () -> new GravityGunItem(new Item.Properties().stacksTo(1).durability(512).rarity(Rarity.RARE).fireResistant())); -// public static final DeferredItem SQUIDZOOKA = ITEMS.register("squidzooka", -// () -> new SquidzookaItem(new Item.Properties().stacksTo(1).durability(384).rarity(Rarity.RARE))); -// public static final DeferredItem BATTLE_AXE = ITEMS.register("battle_axe", -// () -> new BattleAxeItem( -// Tiers.NETHERITE, -// new Item.Properties().stacksTo(1).rarity(Rarity.RARE).fireResistant(), -// AntarchySettings::battleAxeAttackDamage, -// -3.1F -// )); -// public static final DeferredHolder, EntityType> DIAMOND_MINECART = ENTITY_TYPES.register("diamond_minecart", -// () -> EntityType.Builder.of((entityType, level) -> new DiamondMinecartEntity(entityType, level, diamondMinecartItem()), MobCategory.MISC) -// .sized(0.98F, 0.7F) -// .clientTrackingRange(8) -// .build("diamond_minecart")); -// public static final DeferredItem DIAMOND_MINECART_ITEM = ITEMS.register("diamond_minecart", -// () -> new DiamondMinecartItem(DIAMOND_MINECART, new Item.Properties().stacksTo(1).rarity(Rarity.RARE))); -// public static final DeferredItem REVERIE_BOTTLE = ITEMS.register("reverie_bottle", -// () -> new ReverieBottleItem(new Item.Properties().stacksTo(1).rarity(Rarity.RARE))); -// public static final DeferredItem BIG_BERTHA_BLADE = ITEMS.registerSimpleItem( -// "big_bertha_blade", -// new Item.Properties().rarity(Rarity.EPIC).fireResistant() -// ); -// public static final DeferredItem BIG_BERTHA_HANDLE = ITEMS.registerSimpleItem( -// "big_bertha_handle", -// new Item.Properties().rarity(Rarity.EPIC).fireResistant() -// ); -// public static final DeferredItem BIG_BERTHA_HILT = ITEMS.registerSimpleItem( -// "big_bertha_hilt", -// new Item.Properties().rarity(Rarity.EPIC).fireResistant() -// ); -// public static final DeferredItem BIG_BERTHA = ITEMS.register("big_bertha", -// () -> new BigBerthaItem( -// Tiers.NETHERITE, -// new Item.Properties() -// .stacksTo(1) -// .rarity(Rarity.EPIC) -// .fireResistant() -// )); -// -// public static final DeferredHolder, EntityType> EASTER_BUNNY = ENTITY_TYPES.register("easter_bunny", -// () -> EntityType.Builder.of(EasterBunnyEntity::new, MobCategory.CREATURE) -// .sized(0.5F, 1.0F) -// .clientTrackingRange(8) -// .build("easter_bunny")); -// public static final DeferredHolder, EntityType> FLYING_SQUIRREL = ENTITY_TYPES.register("flying_squirrel", -// () -> EntityType.Builder.of(FlyingSquirrelEntity::new, MobCategory.CREATURE) -// .sized(0.6F, 0.7F) -// .clientTrackingRange(8) -// .build("flying_squirrel")); -// public static final DeferredHolder, EntityType> CATERPILLAR = ENTITY_TYPES.register("caterpillar", -// () -> EntityType.Builder.of(CaterpillarEntity::new, MobCategory.CREATURE) -// .sized(0.8775F, 0.585F) -// .clientTrackingRange(8) -// .build("caterpillar")); -// public static final DeferredHolder, EntityType> BUTTERFLY = ENTITY_TYPES.register("butterfly", -// () -> EntityType.Builder.of(ButterflyEntity::new, MobCategory.AMBIENT) -// .sized(1.125F, 1.375F) -// .clientTrackingRange(8) -// .build("butterfly")); -// public static final DeferredHolder, EntityType> REVERIE = ENTITY_TYPES.register("reverie", -// () -> EntityType.Builder.of(ReverieEntity::new, MobCategory.AMBIENT) -// .sized(0.7F, 0.7F) -// .clientTrackingRange(8) -// .build("reverie")); -// public static final DeferredHolder, EntityType> BRUTALFLY = ENTITY_TYPES.register("brutalfly", -// () -> EntityType.Builder.of(BrutalflyEntity::new, MobCategory.MONSTER) -// .sized(2.4F, 2.1F) -// .clientTrackingRange(12) -// .build("brutalfly")); -// public static final DeferredHolder, EntityType> APPLE_COW = ENTITY_TYPES.register("apple_cow", -// () -> buildCowType(AppleCow::new, "apple_cow")); -// public static final DeferredHolder, EntityType> GOLDEN_APPLE_COW = ENTITY_TYPES.register("golden_apple_cow", -// () -> buildCowType(GoldenAppleCow::new, "golden_apple_cow")); -// public static final DeferredHolder, EntityType> ENCHANTED_GOLDEN_APPLE_COW = ENTITY_TYPES.register("enchanted_golden_apple_cow", -// () -> buildCowType(EnchantedGoldenAppleCow::new, "enchanted_golden_apple_cow")); -// public static final DeferredHolder, EntityType> HONEYED_APPLE_COW = CREATE_LOADED -// ? ENTITY_TYPES.register("honeyed_apple_cow", () -> buildCowType(HoneyedAppleCow::new, "honeyed_apple_cow")) -// : null; -// public static final DeferredHolder, EntityType> DR_TRAYAURUS = ENTITY_TYPES.register("dr_trayaurus", -// () -> EntityType.Builder.of(DrTrayaurusEntity::new, MobCategory.MISC) -// .sized(0.6F, 1.95F) -// .clientTrackingRange(10) -// .build("dr_trayaurus")); -// public static final DeferredHolder, EntityType> CLOUD_SHARK = ENTITY_TYPES.register("cloud_shark", -// () -> EntityType.Builder.of(CloudSharkEntity::new, MobCategory.MONSTER) -// .sized(2.4F, 0.9F) -// .clientTrackingRange(10) -// .build("cloud_shark")); -// public static final DeferredHolder, EntityType> KRAKEN = ENTITY_TYPES.register("kraken", -// () -> EntityType.Builder.of(KrakenEntity::new, MobCategory.MONSTER) -// .sized(5.2F, 9.8F) -// .clientTrackingRange(12) -// .build("kraken")); -// public static final DeferredHolder, EntityType> MISSILE_SQUID = ENTITY_TYPES.register("missile_squid", -// () -> EntityType.Builder.of(MissileSquidEntity::new, MobCategory.MONSTER) -// .sized(1.62F, 3.18F) -// .clientTrackingRange(10) -// .build("missile_squid")); -// public static final DeferredHolder, EntityType> NIGHTMARE = ENTITY_TYPES.register("nightmare", -// () -> EntityType.Builder.of(NightmareEntity::new, MobCategory.MONSTER) -// .sized(3.0F, 3.8F) -// .clientTrackingRange(12) -// .build("nightmare")); -// public static final DeferredHolder, EntityType> LUCID = ENTITY_TYPES.register("lucid", -// () -> EntityType.Builder.of(LucidEntity::new, MobCategory.MONSTER) -// .sized(2.0F, 2.0F) -// .clientTrackingRange(10) -// .build("lucid")); -// public static final DeferredHolder, EntityType> LUCID_BOLT = ENTITY_TYPES.register("lucid_bolt", -// () -> EntityType.Builder.of(LucidBoltEntity::new, MobCategory.MISC) -// .sized(0.3F, 0.3F) -// .clientTrackingRange(8) -// .updateInterval(1) -// .build("lucid_bolt")); -// public static final DeferredHolder, EntityType> SCORPION = ENTITY_TYPES.register("scorpion", -// () -> EntityType.Builder.of(ScorpionEntity::new, MobCategory.MONSTER) -// .sized(1.5F, 1.0F) -// .clientTrackingRange(8) -// .build("scorpion")); -// public static final DeferredHolder, EntityType> BASILISK = ENTITY_TYPES.register("basilisk", -// () -> EntityType.Builder.of(BasiliskEntity::new, MobCategory.MONSTER) -// .sized(2.0F, 3.5F) -// .clientTrackingRange(14) -// .build("basilisk")); -// public static final DeferredHolder, EntityType> EMPEROR_SCORPION = ENTITY_TYPES.register("emperor_scorpion", -// () -> EntityType.Builder.of(EmperorScorpionEntity::new, MobCategory.MONSTER) -// .sized(4.05F, 1.35F) -// .clientTrackingRange(10) -// .build("emperor_scorpion")); -// public static final DeferredHolder, EntityType> LUCID_PEARL_PROJECTILE = ENTITY_TYPES.register("lucid_pearl_projectile", -// () -> EntityType.Builder.of(LucidEyeProjectileEntity::new, MobCategory.MISC) -// .sized(0.25F, 0.25F) -// .clientTrackingRange(8) -// .updateInterval(1) -// .build("lucid_pearl_projectile")); -// public static final DeferredHolder, EntityType> HUSH_PROJECTILE = ENTITY_TYPES.register("hush_projectile", -// () -> EntityType.Builder.of(HushProjectileEntity::new, MobCategory.MISC) -// .sized(0.35F, 0.35F) -// .clientTrackingRange(8) -// .updateInterval(1) -// .build("hush_projectile")); -// public static final DeferredHolder, EntityType> BRUTALFLY_ORB = ENTITY_TYPES.register("brutalfly_orb", -// () -> EntityType.Builder.of(BrutalflyOrbEntity::new, MobCategory.MISC) -// .sized(0.75F, 0.75F) -// .clientTrackingRange(10) -// .updateInterval(1) -// .build("brutalfly_orb")); -// public static final DeferredHolder, EntityType> UPWARD_FALLING_BLOCK = ENTITY_TYPES.register("upward_falling_block", -// () -> EntityType.Builder.of( -// com.craisinlord.antarchy.content.entity.UpwardFallingBlockEntity::new, MobCategory.MISC) -// .sized(0.98F, 0.98F) -// .clientTrackingRange(10) -// .updateInterval(1) -// .build("upward_falling_block")); -// -// public static final DeferredItem EASTER_BUNNY_SPAWN_EGG = ITEMS.register("easter_bunny_spawn_egg", -// () -> new DeferredSpawnEggItem(EASTER_BUNNY, 0xFFF2B2, 0xFF85B5, new Item.Properties())); -// public static final DeferredItem FLYING_SQUIRREL_SPAWN_EGG = ITEMS.register("flying_squirrel_spawn_egg", -// () -> new DeferredSpawnEggItem(FLYING_SQUIRREL, 0x7D6649, 0xDCC59C, new Item.Properties())); -// public static final DeferredItem CATERPILLAR_SPAWN_EGG = ITEMS.register("caterpillar_spawn_egg", -// () -> new DeferredSpawnEggItem(CATERPILLAR, 0xA8D96A, 0xF4E04D, new Item.Properties())); -// public static final DeferredItem BUTTERFLY_SPAWN_EGG = ITEMS.register("butterfly_spawn_egg", -// () -> new DeferredSpawnEggItem(BUTTERFLY, 0x111111, 0xFF7A00, new Item.Properties())); -// public static final DeferredItem REVERIE_SPAWN_EGG = ITEMS.register("reverie_spawn_egg", -// () -> new DeferredSpawnEggItem(REVERIE, 0xF2F2F2, 0xBFC3C7, new Item.Properties())); -// public static final DeferredItem BRUTALFLY_SPAWN_EGG = ITEMS.register("brutalfly_spawn_egg", -// () -> new DeferredSpawnEggItem(BRUTALFLY, 0x4A2214, 0xFF8A1D, new Item.Properties().rarity(Rarity.EPIC))); -// public static final DeferredItem RED_ANT_SPAWN_EGG = ITEMS.register("red_ant_spawn_egg", -// () -> new DeferredSpawnEggItem(RED_ANT, 0xA31818, 0x2B0909, new Item.Properties())); -// public static final DeferredItem BROWN_ANT_SPAWN_EGG = ITEMS.register("brown_ant_spawn_egg", -// () -> new DeferredSpawnEggItem(BROWN_ANT, 0x6A4320, 0x26160A, new Item.Properties())); -// public static final DeferredItem RAINBOW_ANT_SPAWN_EGG = ITEMS.register("rainbow_ant_spawn_egg", -// () -> new DeferredSpawnEggItem(RAINBOW_ANT, 0x56D4F0, 0xF66DBB, new Item.Properties())); -// public static final DeferredItem MOLEWORM_SPAWN_EGG = ITEMS.register("moleworm_spawn_egg", -// () -> new DeferredSpawnEggItem(MOLEWORM, 0x7A6150, 0xD2B8A3, new Item.Properties())); -// public static final DeferredItem MANTIS_SPAWN_EGG = ITEMS.register("mantis_spawn_egg", -// () -> new DeferredSpawnEggItem(MANTIS, 0xF8F8F2, 0x63B44A, new Item.Properties())); -// public static final DeferredItem MOLEVORE_SPAWN_EGG = ITEMS.register("molevore_spawn_egg", -// () -> new DeferredSpawnEggItem(MOLEVORE, 0x3E2E24, 0xB67B4F, new Item.Properties().rarity(Rarity.UNCOMMON))); -// public static final DeferredItem TRIFFID_SPAWN_EGG = ITEMS.register("triffid_spawn_egg", -// () -> new DeferredSpawnEggItem(TRIFFID, 0x4C8F3A, 0xFF2FB3, new Item.Properties().rarity(Rarity.UNCOMMON))); -// public static final DeferredItem APPLE_COW_SPAWN_EGG = ITEMS.register("apple_cow_spawn_egg", -// () -> new DeferredSpawnEggItem(APPLE_COW, 0xFF1A1A, 0x32FF32, new Item.Properties())); -// public static final DeferredItem GOLDEN_APPLE_COW_SPAWN_EGG = ITEMS.register("golden_apple_cow_spawn_egg", -// () -> new DeferredSpawnEggItem(GOLDEN_APPLE_COW, 0xFFE14A, 0x32FF32, new Item.Properties())); -// public static final DeferredItem ENCHANTED_GOLDEN_APPLE_COW_SPAWN_EGG = ITEMS.register("enchanted_golden_apple_cow_spawn_egg", -// () -> new DeferredSpawnEggItem(ENCHANTED_GOLDEN_APPLE_COW, 0x7040B6, 0xFFE14A, new Item.Properties())); -// public static final DeferredItem HONEYED_APPLE_COW_SPAWN_EGG = CREATE_LOADED -// ? ITEMS.register("honeyed_apple_cow_spawn_egg", () -> new DeferredSpawnEggItem(HONEYED_APPLE_COW, 0xC07A23, 0xF0C75A, new Item.Properties())) -// : null; -// public static final DeferredItem DR_TRAYAURUS_SPAWN_EGG = ITEMS.register("dr_trayaurus_spawn_egg", -// () -> new DeferredSpawnEggItem(DR_TRAYAURUS, 0xB7A27B, 0x4A3D29, new Item.Properties())); -// public static final DeferredItem WASP_SPAWN_EGG = ITEMS.register("wasp_spawn_egg", -// () -> new DeferredSpawnEggItem(WASP, 0x111111, 0xF1D800, new Item.Properties())); -// public static final DeferredItem BOMBER_SPAWN_EGG = ITEMS.register("bomber_spawn_egg", -// () -> new DeferredSpawnEggItem(BOMBER, 0x7A7A7A, 0xB32020, new Item.Properties())); -// public static final DeferredItem CLOUD_SHARK_SPAWN_EGG = ITEMS.register("cloud_shark_spawn_egg", -// () -> new DeferredSpawnEggItem(CLOUD_SHARK, 0xDDEAF4, 0x7F96A8, new Item.Properties())); -// public static final DeferredItem KRAKEN_SPAWN_EGG = ITEMS.register("kraken_spawn_egg", -// () -> new DeferredSpawnEggItem(KRAKEN, 0x163C53, 0x4F8E99, new Item.Properties().rarity(Rarity.EPIC))); -// public static final DeferredItem MISSILE_SQUID_SPAWN_EGG = ITEMS.register("missile_squid_spawn_egg", -// () -> new DeferredSpawnEggItem(MISSILE_SQUID, 0xD88FA7, 0x8D5269, new Item.Properties().rarity(Rarity.UNCOMMON))); -// public static final DeferredItem NIGHTMARE_SPAWN_EGG = ITEMS.register("nightmare_spawn_egg", -// () -> new DeferredSpawnEggItem(NIGHTMARE, 0x22121C, 0xB51B2D, new Item.Properties().rarity(Rarity.RARE))); -// public static final DeferredItem BED_BUG_SPAWN_EGG = ITEMS.register("bed_bug_spawn_egg", -// () -> new DeferredSpawnEggItem(BED_BUG, 0x3B2218, 0x611111, new Item.Properties())); -// public static final DeferredItem LUCID_SPAWN_EGG = ITEMS.register("lucid_spawn_egg", -// () -> new DeferredSpawnEggItem(LUCID, 0xE53935, 0xF4D03F, new Item.Properties().rarity(Rarity.RARE))); -// public static final DeferredItem SCORPION_SPAWN_EGG = ITEMS.register("scorpion_spawn_egg", -// () -> new DeferredSpawnEggItem(SCORPION, 0xA8D8FF, 0xE04B5A, new Item.Properties())); -// public static final DeferredItem BASILISK_SPAWN_EGG = ITEMS.register("basilisk_spawn_egg", -// () -> new DeferredSpawnEggItem(BASILISK, 0x4A7C40, 0xD4A040, new Item.Properties())); -// public static final DeferredItem EMPEROR_SCORPION_SPAWN_EGG = ITEMS.register("emperor_scorpion_spawn_egg", -// () -> new DeferredSpawnEggItem(EMPEROR_SCORPION, 0x1A1A0A, 0x8B2200, new Item.Properties())); -// public static final DeferredItem LUCID_EYE = ITEMS.register("lucid_eye", -// () -> new LucidEyeItem(new Item.Properties().stacksTo(16).rarity(Rarity.UNCOMMON))); -// public static final DeferredItem LUCID_PEARL = ITEMS.register("lucid_pearl", -// () -> new LucidPearlItem( -// new Item.Properties().stacksTo(16).rarity(Rarity.UNCOMMON), -// LUCID_PEARL_PROJECTILE -// )); -// -// private AntarchyNeoForgeContentOLD() { -// } -// -// public static void register(IEventBus modEventBus) { -// com.craisinlord.antarchy.content.entity.UpwardFallingBlockEntity.TYPE = UPWARD_FALLING_BLOCK; -// ScorpionWhipTetherSync.setSink((player, targetId) -> PacketDistributor.sendToPlayersTrackingEntityAndSelf( -// player, -// new com.craisinlord.antarchy.content.network.ScorpionWhipTetherPayload(player.getId(), targetId) -// )); -// BloodCrystalKatanaItem.setTrailCallback((player, durationTicks) -> PacketDistributor.sendToPlayersTrackingEntityAndSelf( -// player, -// new BloodCrystalKatanaTrailPayload(player.getId(), durationTicks) -// )); -// BLOCKS.register(modEventBus); -// ITEMS.register(modEventBus); -// CREATIVE_MODE_TABS.register(modEventBus); -// ARMOR_MATERIALS.register(modEventBus); -// ENTITY_TYPES.register(modEventBus); -// BLOCK_ENTITY_TYPES.register(modEventBus); -// PARTICLE_TYPES.register(modEventBus); -// SOUND_EVENTS.register(modEventBus); -// FLUID_TYPES.register(modEventBus); -// FEATURES.register(modEventBus); -// BIOME_SOURCES.register(modEventBus); -// DENSITY_FUNCTION_TYPES.register(modEventBus); -// ENTITY_SUB_PREDICATES.register(modEventBus); -// ATTRIBUTES.register(modEventBus); -// MOB_EFFECTS.register(modEventBus); -// POTIONS.register(modEventBus); -// FLUIDS.register(modEventBus); -// AntarchySoundEvents.bind( -// SQUIDZOOKA_FIRE, -// SHRINK_RAY_SOUND, -// GROWTH_RAY_SOUND, -// SIZE_RAY_CHARGE, -// ANT_AMBIENT, -// ANT_IDLE, -// ANT_HURT, -// ANT_BITE, -// ANT_GATHER, -// ANT_NEST, -// CLOUD_SHARK_BITE, -// CLOUD_SHARK_IDLE, -// CLOUD_SHARK_HURT, -// CLOUD_SHARK_DEATH, -// CLOUD_SHARK_FLY, -// CATERPILLAR_IDLE, -// CATERPILLAR_HURT, -// CATERPILLAR_CRAWL, -// BUTTERFLY_HURT, -// BRUTALFLY_IDLE, -// BRUTALFLY_DEATH, -// ELYTHIA_FIREFLY_AMBIENT, -// MISSILE_SQUID_AMBIENT, -// MISSILE_SQUID_HURT, -// MISSILE_SQUID_DEATH, -// MISSILE_SQUID_ATTACK, -// KRAKEN_FLYING_LOOP, -// KRAKEN_FLYING_SIDEWAYS_LOOP, -// KRAKEN_ATTACK, -// KRAKEN_SPIN, -// KRAKEN_ROAR, -// KRAKEN_SUMMON, -// KRAKEN_HURT, -// KRAKEN_DEATH, -// BASILISK_IDLE_LOOP, -// BASILISK_SLITHER_LOOP, -// BASILISK_BITE, -// BASILISK_HISS, -// BASILISK_HURT, -// BASILISK_DEATH, -// THORAXIS_NIGHTMARE_WASTES_AMBIENT, -// THORAXIS_NIGHTMARE_WASTES_ADDITIONS, -// THORAXIS_NIGHTMARE_WASTES_MOOD, -// THORAXIS_DREAM_DUNES_AMBIENT, -// THORAXIS_DREAM_DUNES_ADDITIONS, -// THORAXIS_DREAM_DUNES_MOOD, -// THORAXIS_LUCID_POOLS_AMBIENT, -// THORAXIS_LUCID_POOLS_ADDITIONS, -// THORAXIS_LUCID_POOLS_MOOD, -// LUCID_AMBIENT, -// LUCID_FLYING, -// LUCID_ATTACK, -// LUCID_BOLT_SOUND, -// LUCID_HURT, -// LUCID_DEATH, -// REVERIE_IDLE, -// REVERIE_HURT, -// REVERIE_WORRY, -// REVERIE_SAVE, -// REVERIE_JOIN_PLAYER, -// REVERIE_ALERT, -// FLYING_SQUIRREL_IDLE, -// FLYING_SQUIRREL_BEG, -// FLYING_SQUIRREL_NUT, -// FLYING_SQUIRREL_GLIDE_LOOP, -// FLYING_SQUIRREL_HURT, -// FLYING_SQUIRREL_DEATH, -// NIGHTMARE_IDLE, -// NIGHTMARE_HURT, -// NIGHTMARE_ROAR, -// NIGHTMARE_DEATH, -// NIGHTMARE_BITE, -// NIGHTMARE_FLAP, -// TRIFFID_ATTACK, -// TRIFFID_GRAB, -// TRIFFID_HURT, -// TRIFFID_DEATH, -// TRIFFID_HISS, -// TRIFFID_GROWL, -// MANTIS_AMBIENT, -// MANTIS_HURT, -// MANTIS_ATTACK, -// MANTIS_FLY_LOOP, -// GRAVITY_GUN_PICKUP, -// GRAVITY_GUN_DROP, -// GRAVITY_GUN_HOLD_LOOP, -// GRAVITY_GUN_LAUNCH, -// GRAVITY_GUN_DRYFIRE, -// BED_BUG_AMBIENT, -// BED_BUG_HURT, -// BED_BUG_ATTACK, -// WASP_IDLE, -// WASP_HURT, -// WASP_ATTACK, -// WASP_DEATH, -// SCORPION_AMBIENT, -// SCORPION_HURT, -// SCORPION_ATTACK, -// EMPEROR_SCORPION_AMBIENT, -// EMPEROR_SCORPION_HURT, -// EMPEROR_SCORPION_ATTACK, -// EMPEROR_SCORPION_ROAR, -// MOLEWORM_AMBIENT, -// MOLEWORM_HURT, -// MOLEWORM_ATTACK, -// MOLEWORM_DIG, -// MOLEVORE_AMBIENT, -// MOLEVORE_HURT, -// MOLEVORE_ATTACK, -// MOLEVORE_DIG, -// DUCT_TAPE_USE -// ); -// AntarchyNeoForgeEvents.register(modEventBus); -// modEventBus.addListener(AntarchyNeoForgeContentOLD::onCommonSetup); -// modEventBus.addListener(AntarchyNeoForgeContentOLD::registerPayloadHandlers); -// modEventBus.addListener(AntarchyNeoForgeContentOLD::registerEntityAttributes); -// modEventBus.addListener(AntarchyNeoForgeContentOLD::buildCreativeTabs); -// modEventBus.addListener(AntarchyNeoForgeContentOLD::registerSpawnPlacements); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::registerBrewingRecipes); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleNaturalRabbitReplacement); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleBlockToolModification); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::onMobEffectApplicable); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::onInvertedEffectRemoved); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::onInvertedEffectExpired); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleUltimateBowDamage); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleUltimateCrossbowDamage); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleNightmareSwordDamage); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleNightmareArmorDoubleDamage); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::tickLightningDragonStorms); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleScorpionWhipAttackEntity); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleScorpionWhipLeftClickBlock); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleScorpionWhipRightClickBlock); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleScorpionWhipRightClickItem); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleParalyzedAttackEntity); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleParalyzedLeftClickBlock); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleParalyzedRightClickBlock); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleParalyzedRightClickItem); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleParalyzedEntityInteract); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleParalyzedEntityInteractSpecific); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleDreamSandJump); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::tickDreadAndIchor); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::tickScorpionWhips); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::tickDreamSandLowGravity); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleAntiwaterDamage); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleAntiwaterFall); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleDreamSandFall); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleBloodCrystalBootsFall); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleBloodglassShield); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleBloodCrystalArmorEquip); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleBloodglassWardApplied); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleBloodglassWardRemoved); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleBloodglassWardExpired); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::tickBloodglassRecharge); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleBloodglassPlayerDeath); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleBloodglassRespawn); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleBloodglassLogin); -// modEventBus.addListener(AntarchyNeoForgeContentOLD::modifyEntityAttributes); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::tickOverheadInversion); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::tickDuctTapeStickiness); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleDreadDeath); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleFallenKingCrownKill); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleDreadBedSleep); -// // NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContent::registerCommands); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleStartTracking); -// // NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContent::handlePlayerLogin); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::handleDreamSandLogout); -// // NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContent::handleDreamSandDimensionChange); -// // NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContent::tickThoraxisWeather); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::debugThoraxisSpawnPlacements); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::debugThoraxisSpawnState); -// NeoForge.EVENT_BUS.addListener(AntarchyNeoForgeContentOLD::registerReloadListeners); -// -// if (isModLoaded("infinity")) { -// InfinityCompat.bind(new NeoForgeInfinityCompat()); -// } -// -// com.craisinlord.antarchy.content.gravity.AntarchyGravityApi.setSyncDispatcher(AntarchyGravityNetworking::syncEntity); -// -// AntarchyObjects.bind( -// EASTER_BUNNY, -// FLYING_SQUIRREL, -// KRAKEN, -// MISSILE_SQUID, -// MOLEWORM, -// MANTIS, -// BED_BUG, -// WASP, -// BOMBER, -// SCORPION, -// CATERPILLAR, -// BUTTERFLY, -// REVERIE, -// TRIFFID, -// BRUTALFLY, -// BRUTALFLY_ORB, -// HUSH_PROJECTILE, -// () -> DUPLICATOR_LOG.get(), -// () -> DUPLICATOR_SAPLING.get(), -// () -> DUCT_TAPE.get(), -// () -> INFESTED_ROOTED_DIRT.get(), -// () -> INFESTED_COARSE_DIRT.get(), -// () -> NYXITE.get(), -// () -> CLOUD_BLOCK.get(), -// () -> TRIFFID_GOO_BLOCK.get(), -// () -> PALE_NYXITE.get(), -// () -> NYXITE_SPIKE.get(), -// () -> POTENT_NYXITE.get(), -// () -> ANTIMETAL.get(), -// () -> POLISHED_ANTIMETAL.get(), -// () -> BUDDING_BLOOD_CRYSTAL.get(), -// () -> SMALL_BLOOD_CRYSTAL_BUD.get(), -// () -> MEDIUM_BLOOD_CRYSTAL_BUD.get(), -// () -> LARGE_BLOOD_CRYSTAL_BUD.get(), -// () -> BLOOD_CRYSTAL_CRYSTAL.get(), -// () -> OURANWOOD_ACORN.get(), -// () -> KRAKEN_TOOTH.get(), -// () -> MOGGLES.get(), -// () -> REVERIE_BOTTLE.get(), -// () -> DREAD, -// () -> PARALYZED, -// () -> INVERTED, -// () -> OURANWOOD_ACORN_BLOCK.get(), -// () -> MOSSY_OURANWOOD_LOG.get(), -// () -> MOSSY_OURANWOOD_WOOD.get(), -// () -> ORANGE_MILKWEED.get(), -// () -> PINK_MILKWEED.get(), -// () -> TORCHFLOWER_BUSH.get(), -// () -> BED_BUG_EGG.get(), -// () -> WASP_NEST.get(), -// () -> HUSHWEED.get(), -// () -> OURANWOOD_SQUIRREL_NEST.get(), -// () -> ANT_NEST_BLOCK_ENTITY.get(), -// () -> DREAM_CAMPFIRE_BLOCK_ENTITY.get(), -// () -> WASP_NEST_BLOCK_ENTITY.get(), -// () -> HUSHWEED_BLOCK_ENTITY.get(), -// () -> DOUBLE_DAMAGE_CHANCE, -// () -> BLOODGLASS_MAX_HEARTS, -// () -> BLOODGLASS_WARD -// ); -// } -// -// static void onCommonSetup(FMLCommonSetupEvent event) { -// BloodCrystalShardItem.SYNC_BLOODGLASS = AntarchyNeoForgeContentOLD::syncBloodglass; -// event.enqueueWork(() -> { -// DispenserBlock.registerBehavior(SHRINK_RAY.get(), new com.craisinlord.antarchy.content.SizeRayDispenseBehavior()); -// DispenserBlock.registerBehavior(GROWTH_RAY.get(), new com.craisinlord.antarchy.content.SizeRayDispenseBehavior()); -// LucidEyeProjectileEntity.defaultItemSupplier = () -> LUCID_PEARL.get(); -// LucidEntity.invertedEffectSupplier = () -> INVERTED; -// FluidInteractionRegistry.addInteraction( -// ANTIWATER_TYPE.get(), -// new FluidInteractionRegistry.InteractionInformation( -// NeoForgeMod.WATER_TYPE.value(), -// fluidState -> fluidState.isSource() -// ? ANTIMETAL.get().defaultBlockState() -// : NYXITE.get().defaultBlockState() -// ) -// ); -// LucidEntity.boltEntityTypeSupplier = () -> LUCID_BOLT.get(); -// LucidBoltEntity.invertedEffectSupplier = () -> INVERTED; -// LucidEyeProjectileEntity.invertedEffectSupplier = () -> INVERTED; -// MultipartFramework.bootstrap( -// (owner, partIndex, spec) -> new MultipartPartEntity((Entity) owner, owner, partIndex, spec), -// new MultipartFramework.NetworkBridge() { -// @Override -// public void sendAttack(java.util.UUID parentId, int partIndex, float damage) { -// net.neoforged.neoforge.network.PacketDistributor.sendToServer( -// new com.craisinlord.antarchy.content.entity.multipart.network.MultipartAttackPayload(parentId, partIndex, damage) -// ); -// } -// -// @Override -// public void sendInteract(java.util.UUID parentId, int partIndex, int handId) { -// net.neoforged.neoforge.network.PacketDistributor.sendToServer( -// new com.craisinlord.antarchy.content.entity.multipart.network.MultipartInteractPayload(parentId, partIndex, handId) -// ); -// } -// } -// ); -// ComposterBlock.COMPOSTABLES.put(UMBRAL_MOSS_BLOCK.get().asItem(), 0.65f); -// ComposterBlock.COMPOSTABLES.put(UMBRAL_MOSS_CARPET.get().asItem(), 0.3f); -// ComposterBlock.COMPOSTABLES.put(HUSHWEED.get().asItem(), 0.65f); -// ComposterBlock.COMPOSTABLES.put(CORNEA_EAR.get(), 0.65f); -// }); -// } -// -// static void registerPayloadHandlers(RegisterPayloadHandlersEvent event) { -// var registrar = event.registrar("1"); -// AntarchyGravityNetworking.register(registrar); -// BrutalflyElytraNetworking.register(registrar); -// registrar.playToClient( -// com.craisinlord.antarchy.content.network.BloodglassStatePayload.TYPE, -// com.craisinlord.antarchy.content.network.BloodglassStatePayload.STREAM_CODEC, -// (payload, ctx) -> ctx.enqueueWork(() -> -// com.craisinlord.antarchy.content.client.BloodglassClientState.update(payload.shieldsActive(), payload.shieldsMax()) -// ) -// ); -// registrar.playToClient( -// BloodCrystalKatanaTrailPayload.TYPE, -// BloodCrystalKatanaTrailPayload.STREAM_CODEC, -// (payload, ctx) -> ctx.enqueueWork(() -> -// com.craisinlord.antarchy.content.client.BloodCrystalKatanaTrailClientState.trigger(payload.entityId(), payload.durationTicks()) -// ) -// ); -// registrar.playToClient( -// com.craisinlord.antarchy.content.network.ScorpionWhipTetherPayload.TYPE, -// com.craisinlord.antarchy.content.network.ScorpionWhipTetherPayload.STREAM_CODEC, -// (payload, ctx) -> ctx.enqueueWork(() -> -// com.craisinlord.antarchy.content.client.ScorpionWhipTetherClientState.update(payload.playerId(), payload.targetId()) -// ) -// ); -// MultipartNetworking.register(registrar); -// // ThoraxisWeatherNetworking.register(registrar); -// } -// -// static void registerEntityAttributes(EntityAttributeCreationEvent event) { -// AttributeSupplier rabbitAttributes = Rabbit.createAttributes().build(); -// event.put(EASTER_BUNNY.get(), rabbitAttributes); -// event.put(FLYING_SQUIRREL.get(), FlyingSquirrelEntity.createAttributes().build()); -// event.put(CATERPILLAR.get(), CaterpillarEntity.createAttributes().build()); -// event.put(BUTTERFLY.get(), ButterflyEntity.createAttributes().build()); -// event.put(REVERIE.get(), ReverieEntity.createAttributes().build()); -// event.put(BRUTALFLY.get(), BrutalflyEntity.createAttributes().build()); -// -// AttributeSupplier cowAttributes = Cow.createAttributes().build(); -// event.put(APPLE_COW.get(), cowAttributes); -// event.put(GOLDEN_APPLE_COW.get(), cowAttributes); -// event.put(ENCHANTED_GOLDEN_APPLE_COW.get(), cowAttributes); -// if (CREATE_LOADED && HONEYED_APPLE_COW != null) { -// event.put(HONEYED_APPLE_COW.get(), cowAttributes); -// } -// event.put(DR_TRAYAURUS.get(), Villager.createAttributes().build()); -// event.put(CLOUD_SHARK.get(), CloudSharkEntity.createAttributes().build()); -// event.put(KRAKEN.get(), KrakenEntity.createAttributes().build()); -// event.put(MISSILE_SQUID.get(), MissileSquidEntity.createAttributes().build()); -// event.put(NIGHTMARE.get(), NightmareEntity.createAttributes().build()); -// event.put(BED_BUG.get(), BedBugEntity.createAttributes().build()); -// event.put(WASP.get(), WaspEntity.createAttributes().build()); -// event.put(BOMBER.get(), BomberEntity.createAttributes().build()); -// event.put(MANTIS.get(), MantisEntity.createAttributes().build()); -// event.put(TRIFFID.get(), TriffidEntity.createAttributes().build()); -// event.put(LUCID.get(), LucidEntity.createAttributes().build()); -// event.put(SCORPION.get(), ScorpionEntity.createAttributes().build()); -// event.put(BASILISK.get(), BasiliskEntity.createAttributes().build()); -// event.put(EMPEROR_SCORPION.get(), EmperorScorpionEntity.createAttributes().build()); -// -// AttributeSupplier redAntAttributes = buildAntAttributes(AntarchySettings.redAntHealth(), AntarchySettings.redAntMovementSpeed(), AntarchySettings.redAntAttackDamage()).build(); -// AttributeSupplier brownAntAttributes = buildAntAttributes(AntarchySettings.brownAntHealth(), AntarchySettings.brownAntMovementSpeed(), AntarchySettings.brownAntAttackDamage()).build(); -// AttributeSupplier rainbowAntAttributes = buildAntAttributes(AntarchySettings.rainbowAntHealth(), AntarchySettings.rainbowAntMovementSpeed(), AntarchySettings.rainbowAntAttackDamage()).build(); -// AttributeSupplier termiteAttributes = buildAntAttributes(AntarchySettings.termiteHealth(), AntarchySettings.termiteMovementSpeed(), AntarchySettings.termiteAttackDamage()).build(); -// event.put(RED_ANT.get(), redAntAttributes); -// event.put(BROWN_ANT.get(), brownAntAttributes); -// event.put(RAINBOW_ANT.get(), rainbowAntAttributes); -// event.put(MOLEWORM.get(), MolewormEntity.createAttributes().build()); -// event.put(MOLEVORE.get(), MolevoreEntity.createAttributes().build()); -// } -// -//// static void buildCreativeTabs(BuildCreativeModeTabContentsEvent event) { -//// if (event.getTabKey() == .getKey()) { -//// java.util.ArrayList sortedItems = new java.util.ArrayList<>(); -//// for (var holder : ITEMS.getEntries()) { -//// Item item = holder.get(); -//// if (item != Items.AIR) sortedItems.add(item); -//// } -//// sortedItems.sort(Comparator -//// .comparingInt(AntarchyNeoforgeCreativeModeTabs::creativeTabGroup) -//// .thenComparing(item -> BuiltInRegistries.ITEM.getKey(item).getPath())); -//// int n = sortedItems.size(); -//// for (int i = Math.max(0, n - 20); i < n; i++) { -//// Item it = sortedItems.get(i); -//// } -//// sortedItems.forEach(event::accept); -//// } -//// -//// if (event.getTabKey() == CreativeModeTabs.SPAWN_EGGS) { -//// event.accept(EASTER_BUNNY_SPAWN_EGG.get()); -//// event.accept(FLYING_SQUIRREL_SPAWN_EGG.get()); -//// event.accept(CATERPILLAR_SPAWN_EGG.get()); -//// event.accept(BUTTERFLY_SPAWN_EGG.get()); -//// event.accept(REVERIE_SPAWN_EGG.get()); -//// event.accept(BRUTALFLY_SPAWN_EGG.get()); -//// event.accept(RED_ANT_SPAWN_EGG.get()); -//// event.accept(BROWN_ANT_SPAWN_EGG.get()); -//// event.accept(RAINBOW_ANT_SPAWN_EGG.get()); -//// event.accept(MOLEWORM_SPAWN_EGG.get()); -//// event.accept(MANTIS_SPAWN_EGG.get()); -//// event.accept(MOLEVORE_SPAWN_EGG.get()); -//// event.accept(TRIFFID_SPAWN_EGG.get()); -//// event.accept(APPLE_COW_SPAWN_EGG.get()); -//// event.accept(GOLDEN_APPLE_COW_SPAWN_EGG.get()); -//// event.accept(ENCHANTED_GOLDEN_APPLE_COW_SPAWN_EGG.get()); -//// event.accept(DR_TRAYAURUS_SPAWN_EGG.get()); -//// event.accept(WASP_SPAWN_EGG.get()); -//// event.accept(BOMBER_SPAWN_EGG.get()); -//// event.accept(CLOUD_SHARK_SPAWN_EGG.get()); -//// event.accept(KRAKEN_SPAWN_EGG.get()); -//// event.accept(MISSILE_SQUID_SPAWN_EGG.get()); -//// event.accept(NIGHTMARE_SPAWN_EGG.get()); -//// event.accept(BED_BUG_SPAWN_EGG.get()); -//// event.accept(LUCID_SPAWN_EGG.get()); -//// event.accept(SCORPION_SPAWN_EGG.get()); -//// event.accept(BASILISK_SPAWN_EGG.get()); -//// event.accept(EMPEROR_SCORPION_SPAWN_EGG.get()); -////// if (CREATE_LOADED && HONEYED_APPLE_COW_SPAWN_EGG != null) { -////// event.accept(HONEYED_APPLE_COW_SPAWN_EGG.get()); -////// } -//// } -//// -//// if (event.getTabKey() == CreativeModeTabs.NATURAL_BLOCKS) { -//// event.accept(OURANWOOD_LEAVES_ITEM.get()); -//// event.accept(OURANWOOD_ACORN.get()); -//// event.accept(DUPLICATOR_LOG_ITEM.get()); -//// event.accept(DUPLICATOR_SAPLING_ITEM.get()); -//// event.accept(ORANGE_MILKWEED_ITEM.get()); -//// event.accept(PINK_MILKWEED_ITEM.get()); -//// event.accept(TORCHFLOWER_BUSH_ITEM.get()); -//// event.accept(HUSHWEED_ITEM.get()); -//// event.accept(INFESTED_ROOTED_DIRT_ITEM.get()); -//// event.accept(INFESTED_COARSE_DIRT_ITEM.get()); -//// event.accept(TRIFFID_GOO_BLOCK_ITEM.get()); -//// event.accept(BED_BUG_EGG_ITEM.get()); -//// event.accept(WASP_NEST_ITEM.get()); -//// event.accept(RED_ANT_NEST_ITEM.get()); -//// event.accept(BROWN_ANT_NEST_ITEM.get()); -//// event.accept(RAINBOW_ANT_NEST_ITEM.get()); -//// event.accept(URANIUM_ORE_ITEM.get()); -//// event.accept(DEEPSLATE_URANIUM_ORE_ITEM.get()); -//// event.accept(TITANIUM_ORE_ITEM.get()); -//// event.accept(DEEPSLATE_TITANIUM_ORE_ITEM.get()); -//// } -//// -//// if (event.getTabKey() == CreativeModeTabs.TOOLS_AND_UTILITIES) { -//// event.insertAfter(new ItemStack(Items.SHEARS), new ItemStack(DUCT_TAPE_ITEM.get()), CreativeModeTab.TabVisibility.PARENT_AND_SEARCH_TABS); -//// event.insertAfter(new ItemStack(Items.MINECART), new ItemStack(DIAMOND_MINECART_ITEM.get()), CreativeModeTab.TabVisibility.PARENT_AND_SEARCH_TABS); -//// event.accept(ICHOR_BUCKET.get()); -//// event.accept(ANTIWATER_BUCKET.get()); -//// event.accept(CLOUD_BUCKET.get()); -//// event.accept(REVERIE_BOTTLE.get()); -//// event.accept(ULTIMATE_PICKAXE.get()); -//// event.accept(ULTIMATE_AXE.get()); -//// event.accept(ULTIMATE_SHOVEL.get()); -//// event.accept(ULTIMATE_HOE.get()); -//// } -//// -//// if (event.getTabKey() == CreativeModeTabs.INGREDIENTS) { -//// event.accept(RAW_URANIUM_SCRAP.get()); -//// event.accept(RAW_TITANIUM_SCRAP.get()); -//// event.accept(RAW_URANIUM.get()); -//// event.accept(RAW_TITANIUM.get()); -//// event.accept(URANIUM_NUGGET.get()); -//// event.accept(TITANIUM_NUGGET.get()); -//// event.accept(URANIUM_INGOT.get()); -//// event.accept(TITANIUM_INGOT.get()); -//// event.accept(CLOUD_SHARK_FIN.get()); -//// event.accept(CLOUD_SHARK_FIN_SOUP.get()); -//// event.accept(BASILISK_FANG.get()); -//// event.accept(NIGHTMARE_SCALE.get()); -//// event.accept(MOLEVORE_NOSE.get()); -//// event.accept(MOLEWORM_ITEM.get()); -//// event.accept(MUD_PIE.get()); -//// event.accept(LUCID_EYE.get()); -//// event.accept(BLOOD_CRYSTAL_SHARD.get()); -//// event.accept(BLOOD_CRYSTAL_APPLE.get()); -//// event.accept(MANTIS_CLAW.get()); -//// event.accept(BRUTALFLY_WING.get()); -//// event.accept(PRIMORDIAL_SCUTE.get()); -//// event.accept(TRIFFID_GOO.get()); -//// event.accept(VORTEX_EYE.get()); -//// event.accept(EMPEROR_SCORPION_STINGER.get()); -//// event.accept(KRAKEN_TOOTH.get()); -//// event.accept(JUMPY_BUG_LEG.get()); -//// event.accept(CORNEA_EAR.get()); -//// event.accept(RAINBOW_SUGAR.get()); -//// event.accept(BIG_BERTHA_BLADE.get()); -//// event.accept(BIG_BERTHA_HANDLE.get()); -//// event.accept(BIG_BERTHA_HILT.get()); -//// } -//// -//// if (event.getTabKey() == CreativeModeTabs.BUILDING_BLOCKS) { -//// event.accept(OURANWOOD_LOG_ITEM.get()); -//// event.accept(OURANWOOD_WOOD_ITEM.get()); -//// event.accept(MOSSY_OURANWOOD_LOG_ITEM.get()); -//// event.accept(MOSSY_OURANWOOD_WOOD_ITEM.get()); -//// event.accept(STRIPPED_OURANWOOD_LOG_ITEM.get()); -//// event.accept(STRIPPED_OURANWOOD_WOOD_ITEM.get()); -//// event.accept(OURANWOOD_PLANKS_ITEM.get()); -//// event.accept(OURANWOOD_STAIRS_ITEM.get()); -//// event.accept(OURANWOOD_SLAB_ITEM.get()); -//// event.accept(OURANWOOD_FENCE_ITEM.get()); -//// event.accept(OURANWOOD_FENCE_GATE_ITEM.get()); -//// event.accept(OURANWOOD_BOAT.get()); -//// event.accept(OURANWOOD_CHEST_BOAT.get()); -//// event.accept(OURANWOOD_DOOR_ITEM.get()); -//// event.accept(OURANWOOD_TRAPDOOR_ITEM.get()); -//// event.accept(OURANWOOD_PRESSURE_PLATE_ITEM.get()); -//// event.accept(OURANWOOD_BUTTON_ITEM.get()); -//// event.accept(OURANWOOD_SIGN_ITEM.get()); -//// event.accept(OURANWOOD_HANGING_SIGN_ITEM.get()); -//// event.accept(NYXITE_ITEM.get()); -//// event.accept(NYXITE_STAIRS_ITEM.get()); -//// event.accept(NYXITE_SLAB_ITEM.get()); -//// event.accept(NYXITE_WALL_ITEM.get()); -//// event.accept(POLISHED_NYXITE_ITEM.get()); -//// event.accept(POLISHED_NYXITE_STAIRS_ITEM.get()); -//// event.accept(POLISHED_NYXITE_SLAB_ITEM.get()); -//// event.accept(POLISHED_NYXITE_WALL_ITEM.get()); -//// event.accept(NYXITE_BRICKS_ITEM.get()); -//// event.accept(NYXITE_BRICK_STAIRS_ITEM.get()); -//// event.accept(NYXITE_BRICK_SLAB_ITEM.get()); -//// event.accept(NYXITE_BRICK_WALL_ITEM.get()); -//// event.accept(CHISELED_NYXITE_ITEM.get()); -//// event.accept(PALE_NYXITE_ITEM.get()); -//// event.accept(NYXITE_SPIKE_ITEM.get()); -//// event.accept(POTENT_NYXITE_ITEM.get()); -//// event.accept(UMBRAL_MOSS_BLOCK_ITEM.get()); -//// event.accept(UMBRAL_MOSS_CARPET_ITEM.get()); -//// event.accept(ANTIMETAL_ITEM.get()); -//// event.accept(POLISHED_ANTIMETAL_ITEM.get()); -//// event.accept(ANTIMETAL_SCAFFOLDING_ITEM.get()); -//// event.accept(DREAM_TORCH_ITEM.get()); -//// event.accept(DREAM_LANTERN_ITEM.get()); -//// event.accept(DREAM_CAMPFIRE_ITEM.get()); -//// event.accept(DREAM_SAND_ITEM.get()); -//// event.accept(DREAM_SANDSTONE_ITEM.get()); -//// event.accept(CHISELED_DREAM_SANDSTONE_ITEM.get()); -//// event.accept(CUT_DREAM_SANDSTONE_ITEM.get()); -//// event.accept(SMOOTH_DREAM_SANDSTONE_ITEM.get()); -//// event.accept(DREAM_SANDSTONE_STAIRS_ITEM.get()); -//// event.accept(DREAM_SANDSTONE_SLAB_ITEM.get()); -//// event.accept(DREAM_SANDSTONE_WALL_ITEM.get()); -//// event.accept(SMOOTH_DREAM_SANDSTONE_STAIRS_ITEM.get()); -//// event.accept(SMOOTH_DREAM_SANDSTONE_SLAB_ITEM.get()); -//// event.accept(CUT_DREAM_SANDSTONE_SLAB_ITEM.get()); -//// event.accept(BUDDING_BLOOD_CRYSTAL_ITEM.get()); -//// event.accept(BLOOD_CRYSTAL_ITEM.get()); -//// event.accept(BLOOD_CRYSTAL_CRYSTAL_ITEM.get()); -//// event.accept(SMALL_BLOOD_CRYSTAL_BUD_ITEM.get()); -//// event.accept(MEDIUM_BLOOD_CRYSTAL_BUD_ITEM.get()); -//// event.accept(LARGE_BLOOD_CRYSTAL_BUD_ITEM.get()); -//// event.accept(URANIUM_BLOCK_ITEM.get()); -//// event.accept(RAW_URANIUM_BLOCK_ITEM.get()); -//// event.accept(CUT_URANIUM_ITEM.get()); -//// event.accept(CUT_URANIUM_STAIRS_ITEM.get()); -//// event.accept(CUT_URANIUM_SLAB_ITEM.get()); -//// event.accept(CHISELED_URANIUM_ITEM.get()); -//// event.accept(URANIUM_DOOR_ITEM.get()); -//// event.accept(URANIUM_TRAPDOOR_ITEM.get()); -//// event.accept(URANIUM_BARS_ITEM.get()); -//// event.accept(URANIUM_BULB_ITEM.get()); -//// event.accept(TITANIUM_BLOCK_ITEM.get()); -//// event.accept(RAW_TITANIUM_BLOCK_ITEM.get()); -//// event.accept(CUT_TITANIUM_ITEM.get()); -//// event.accept(CUT_TITANIUM_STAIRS_ITEM.get()); -//// event.accept(CUT_TITANIUM_SLAB_ITEM.get()); -//// event.accept(CHISELED_TITANIUM_ITEM.get()); -//// event.accept(TITANIUM_DOOR_ITEM.get()); -//// event.accept(TITANIUM_TRAPDOOR_ITEM.get()); -//// event.accept(TITANIUM_BARS_ITEM.get()); -//// event.accept(TITANIUM_BULB_ITEM.get()); -//// } -//// -//// if (event.getTabKey() == CreativeModeTabs.COMBAT) { -//// event.accept(BATTLE_AXE.get()); -//// event.accept(BIG_BERTHA.get()); -//// event.accept(BASILISK_DAGGER.get()); -//// event.accept(UltimateGearHelper.createUltimateArmorStack(ULTIMATE_HELMET.get(), event.getParameters().holders())); -//// event.accept(UltimateGearHelper.createUltimateArmorStack(ULTIMATE_CHESTPLATE.get(), event.getParameters().holders())); -//// event.accept(UltimateGearHelper.createUltimateArmorStack(ULTIMATE_LEGGINGS.get(), event.getParameters().holders())); -//// event.accept(UltimateGearHelper.createUltimateArmorStack(ULTIMATE_BOOTS.get(), event.getParameters().holders())); -//// event.accept(ULTIMATE_SWORD.get()); -//// event.accept(UltimateGearHelper.createUltimateBowStack(ULTIMATE_BOW.get(), event.getParameters().holders())); -//// event.accept(ULTIMATE_CROSSBOW.get()); -////// event.accept(ULTIMATE_MACE.get()); -//// event.accept(SQUIDZOOKA.get()); -//// event.accept(SHRINK_RAY.get()); -//// event.accept(GROWTH_RAY.get()); -//// event.accept(GRAVITY_GUN.get()); -//// event.accept(LUCID_PEARL.get()); -//// event.accept(NIGHTMARE_HELMET.get()); -//// event.accept(NIGHTMARE_CHESTPLATE.get()); -//// event.accept(NIGHTMARE_LEGGINGS.get()); -//// event.accept(NIGHTMARE_BOOTS.get()); -//// event.accept(NIGHTMARE_SWORD.get()); -//// event.accept(BLOOD_CRYSTAL_KATANA.get()); -//// event.accept(BLOOD_CRYSTAL_HELMET.get()); -//// event.accept(BLOOD_CRYSTAL_CHESTPLATE.get()); -//// event.accept(BLOOD_CRYSTAL_LEGGINGS.get()); -//// event.accept(BLOOD_CRYSTAL_BOOTS.get()); -//// event.accept(MOGGLES.get()); -//// event.accept(SCORPION_WHIP.get()); -//// event.accept(FALLEN_KING_CROWN.get()); -//// event.accept(BRUTALFLY_ELYTRA.get()); -//// event.accept(PotionContents.createItemStack(Items.POTION, SHRINKING)); -//// event.accept(PotionContents.createItemStack(Items.POTION, STRONG_SHRINKING)); -//// event.accept(PotionContents.createItemStack(Items.POTION, EXTREME_SHRINKING)); -//// event.accept(PotionContents.createItemStack(Items.POTION, PARALYSIS)); -//// event.accept(PotionContents.createItemStack(Items.POTION, LONG_PARALYSIS)); -//// event.accept(PotionContents.createItemStack(Items.POTION, HASTE)); -//// event.accept(PotionContents.createItemStack(Items.POTION, STRONG_HASTE)); -//// event.accept(PotionContents.createItemStack(Items.POTION, GROWING)); -//// event.accept(PotionContents.createItemStack(Items.POTION, STRONG_GROWING)); -//// event.accept(PotionContents.createItemStack(Items.POTION, EXTREME_GROWING)); -//// } -//// } -//// -//// static void registerSpawnPlacements(RegisterSpawnPlacementsEvent event) { -//// event.register(FLYING_SQUIRREL.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING, FlyingSquirrelEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(CATERPILLAR.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, CaterpillarEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(BUTTERFLY.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, ButterflyEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(REVERIE.get(), SpawnPlacementTypes.NO_RESTRICTIONS, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, ReverieEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(BRUTALFLY.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, Monster::checkMonsterSpawnRules, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(APPLE_COW.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, Cow::checkAnimalSpawnRules, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(GOLDEN_APPLE_COW.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, Cow::checkAnimalSpawnRules, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(ENCHANTED_GOLDEN_APPLE_COW.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, Cow::checkAnimalSpawnRules, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(CLOUD_SHARK.get(), SpawnPlacementTypes.NO_RESTRICTIONS, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, CloudSharkEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(WASP.get(), SpawnPlacementTypes.NO_RESTRICTIONS, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, WaspEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(BOMBER.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, BomberEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(KRAKEN.get(), SpawnPlacementTypes.IN_WATER, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, KrakenEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(MISSILE_SQUID.get(), SpawnPlacementTypes.IN_WATER, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, MissileSquidEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(NIGHTMARE.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, NightmareEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(MOLEWORM.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, MolewormEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(MANTIS.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, MantisEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(MOLEVORE.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, MolevoreEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(BED_BUG.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, BedBugEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(LUCID.get(), SpawnPlacementTypes.NO_RESTRICTIONS, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, LucidEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(SCORPION.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, ScorpionEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(BASILISK.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, BasiliskEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// event.register(EMPEROR_SCORPION.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, EmperorScorpionEntity::canSpawn, RegisterSpawnPlacementsEvent.Operation.OR); -//// if (CREATE_LOADED && HONEYED_APPLE_COW != null) { -//// event.register(HONEYED_APPLE_COW.get(), SpawnPlacementTypes.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, Cow::checkAnimalSpawnRules, RegisterSpawnPlacementsEvent.Operation.OR); -//// } -//// } -// -// private static EntityType buildCowType(EntityType.EntityFactory factory, String name) { -// return EntityType.Builder.of(factory, MobCategory.CREATURE) -// .sized(0.9F, 1.4F) -// .clientTrackingRange(10) -// .build(name); -// } -// -// private static EntityType buildAntType(EntityType.EntityFactory factory, MobCategory category, String name) { -// return EntityType.Builder.of(factory, category) -// .sized(0.6375F, 0.2125F) -// .clientTrackingRange(8) -// .build(name); -// } -// -// private static AttributeSupplier.Builder buildAntAttributes(double health, double speed, double attackDamage) { -// return net.minecraft.world.entity.Mob.createMobAttributes() -// .add(Attributes.MAX_HEALTH, health) -// .add(Attributes.MOVEMENT_SPEED, speed) -// .add(Attributes.ATTACK_DAMAGE, attackDamage); -// } -// -// static void handleBlockToolModification(BlockEvent.BlockToolModificationEvent event) { -// if (event.getItemAbility() != ItemAbilities.AXE_STRIP) { -// return; -// } -// -// BlockState state = event.getState(); -// if (!state.hasProperty(RotatedPillarBlock.AXIS)) { -// return; -// } -// -// if (state.is(OURANWOOD_LOG.get())) { -// event.setFinalState(STRIPPED_OURANWOOD_LOG.get().defaultBlockState().setValue(RotatedPillarBlock.AXIS, state.getValue(RotatedPillarBlock.AXIS))); -// return; -// } -// -// if (state.is(MOSSY_OURANWOOD_LOG.get())) { -// event.setFinalState(STRIPPED_OURANWOOD_LOG.get().defaultBlockState().setValue(RotatedPillarBlock.AXIS, state.getValue(RotatedPillarBlock.AXIS))); -// return; -// } -// -// if (state.is(OURANWOOD_WOOD.get())) { -// event.setFinalState(STRIPPED_OURANWOOD_WOOD.get().defaultBlockState().setValue(RotatedPillarBlock.AXIS, state.getValue(RotatedPillarBlock.AXIS))); -// return; -// } -// -// if (state.is(MOSSY_OURANWOOD_WOOD.get())) { -// event.setFinalState(STRIPPED_OURANWOOD_WOOD.get().defaultBlockState().setValue(RotatedPillarBlock.AXIS, state.getValue(RotatedPillarBlock.AXIS))); -// } -// } -// -// static void registerBrewingRecipes(RegisterBrewingRecipesEvent event) { -// event.getBuilder().addMix(Potions.AWKWARD, LUCID_EYE.get(), INVERSION); -// event.getBuilder().addMix(INVERSION, Items.REDSTONE, LONG_INVERSION); -// event.getBuilder().addMix(Potions.AWKWARD, BASILISK_FANG.get(), PARALYSIS); -// event.getBuilder().addMix(PARALYSIS, Items.REDSTONE, LONG_PARALYSIS); -// event.getBuilder().addMix(Potions.AWKWARD, MOLEWORM_ITEM.get(), HASTE); -// event.getBuilder().addMix(HASTE, Items.GLOWSTONE_DUST, STRONG_HASTE); -// event.getBuilder().addMix(Potions.AWKWARD, CLOUD_SHARK_FIN.get(), Potions.SLOW_FALLING); -// event.getBuilder().addMix(Potions.AWKWARD, CORNEA_EAR.get(), Potions.NIGHT_VISION); -// event.getBuilder().addMix(Potions.AWKWARD, URANIUM_NUGGET.get(), SHRINKING); -// event.getBuilder().addMix(SHRINKING, Items.GLOWSTONE_DUST, STRONG_SHRINKING); -// event.getBuilder().addMix(STRONG_SHRINKING, Items.GLOWSTONE_DUST, EXTREME_SHRINKING); -// event.getBuilder().addMix(Potions.AWKWARD, TITANIUM_NUGGET.get(), GROWING); -// event.getBuilder().addMix(GROWING, Items.GLOWSTONE_DUST, STRONG_GROWING); -// event.getBuilder().addMix(STRONG_GROWING, Items.GLOWSTONE_DUST, EXTREME_GROWING); -// -// } -// -// static void onMobEffectApplicable(MobEffectEvent.Applicable event) { -// if (event.getEffectInstance() == null) { -// return; -// } -// -// if (event.getEffectInstance().is(DREAD) && !(event.getEntity() instanceof Player)) { -// event.setResult(MobEffectEvent.Applicable.Result.DO_NOT_APPLY); -// return; -// } -// -// if (event.getEntity() instanceof Player player && isWearingFullNightmareArmor(player) -// && (event.getEffectInstance().is(net.minecraft.world.effect.MobEffects.WITHER) -// || event.getEffectInstance().is(DREAD))) { -// event.setResult(MobEffectEvent.Applicable.Result.DO_NOT_APPLY); -// return; -// } -// -// if (event.getEntity().getType().is(AntarchyTags.Entities.INVERTED_IMMUNE) -// && event.getEffectInstance().is(INVERTED)) { -// event.setResult(MobEffectEvent.Applicable.Result.DO_NOT_APPLY); -// return; -// } -// -// if (event.getEntity().getType().is(AntarchyTags.Entities.SIZE_CHANGING_IMMUNE) -// && (event.getEffectInstance().is(SHRINKING_EFFECT) || event.getEffectInstance().is(GROWTH_EFFECT))) { -// event.setResult(MobEffectEvent.Applicable.Result.DO_NOT_APPLY); -// return; -// } -// -// if (event.getEntity().getType().is(AntarchyTags.Entities.PARALYSIS_IMMUNE) -// && event.getEffectInstance().is(PARALYZED)) { -// event.setResult(MobEffectEvent.Applicable.Result.DO_NOT_APPLY); -// return; -// } -// -// if (event.getEntity() instanceof Player player -// && event.getEffectInstance().is(INVERTED) -// && !player.hasEffect(INVERTED)) { -// notifyNearbyReveriesOfInversionChange(player); -// } -// } -// -// -// static void onInvertedEffectRemoved(MobEffectEvent.Remove event) { -// if (!event.getEffect().is(INVERTED)) return; -// LivingEntity entity = event.getEntity(); -// if (!entity.level().isClientSide()) { -// com.craisinlord.antarchy.content.gravity.AntarchyGravityApi.setGravityDirection( -// entity, -// com.craisinlord.antarchy.content.gravity.AntarchyGravityDirection.DOWN, -// new com.craisinlord.antarchy.content.gravity.AntarchyGravityTransition(12)); -// if (entity instanceof Player player) { -// notifyNearbyReveriesOfInversionChange(player); -// } -// } -// } -// -// -// static void onInvertedEffectExpired(MobEffectEvent.Expired event) { -// if (event.getEffectInstance() == null) return; -// if (!event.getEffectInstance().is(INVERTED)) return; -// LivingEntity entity = event.getEntity(); -// if (!entity.level().isClientSide()) { -// com.craisinlord.antarchy.content.gravity.AntarchyGravityApi.setGravityDirection( -// entity, -// com.craisinlord.antarchy.content.gravity.AntarchyGravityDirection.DOWN, -// new com.craisinlord.antarchy.content.gravity.AntarchyGravityTransition(12)); -// if (entity instanceof Player player) { -// notifyNearbyReveriesOfInversionChange(player); -// } -// } -// } -// -// private static void notifyNearbyReveriesOfInversionChange(Player player) { -// for (ReverieEntity reverie : player.level().getEntitiesOfClass( -// ReverieEntity.class, -// player.getBoundingBox().inflate(48.0D) -// )) { -// reverie.syncFocusInversionState(); -// } -// } -// -// private static BlockEntityType antNestBlockEntityType() { -// return ANT_NEST_BLOCK_ENTITY.get(); -// } -// -// private static BlockEntityType waspNestBlockEntityType() { -// return WASP_NEST_BLOCK_ENTITY.get(); -// } -// -// private static BlockEntityType potentNyxiteBlockEntityType() { -// return POTENT_NYXITE_BLOCK_ENTITY.get(); -// } -// -// private static Block smallBloodCrystalBudBlock() { -// return SMALL_BLOOD_CRYSTAL_BUD.get(); -// } -// -// private static Item cloudBucketItem() { -// return CLOUD_BUCKET.get(); -// } -// -// private static Block mediumBloodCrystalBudBlock() { -// return MEDIUM_BLOOD_CRYSTAL_BUD.get(); -// } -// -// private static Block largeBloodCrystalBudBlock() { -// return LARGE_BLOOD_CRYSTAL_BUD.get(); -// } -// -// private static Block bloodCrystalCrystalBlock() { -// return BLOOD_CRYSTAL_CRYSTAL.get(); -// } -// -// private static Block createDirtOre(Block copyFrom) { -// return new Block(dirtOreProperties()); -// } -// -// private static Block createDirtOre(Block copyFrom, int minExperience, int maxExperience) { -// return new DropExperienceBlock(UniformInt.of(minExperience, maxExperience), dirtOreProperties()); -// } -// -// private static BlockBehaviour.Properties dirtOreProperties() { -// return BlockBehaviour.Properties.ofFullCopy(Blocks.DIRT) -// .sound(SoundType.ROOTED_DIRT) -// .strength(0.65F, 0.8F) -// .requiresCorrectToolForDrops(); -// } -// -// private static BlockBehaviour.Properties nyxiteProperties() { -// return BlockBehaviour.Properties.ofFullCopy(Blocks.NETHERRACK); -// } -// -// private static Block createOre(Block copyFrom) { -// return new Block(BlockBehaviour.Properties.ofFullCopy(copyFrom).requiresCorrectToolForDrops()); -// } -// -// private static Block createOre(Block copyFrom, int minExperience, int maxExperience) { -// return new DropExperienceBlock(UniformInt.of(minExperience, maxExperience), BlockBehaviour.Properties.ofFullCopy(copyFrom).requiresCorrectToolForDrops()); -// } -// -// private static Block createStorageBlock(Block copyFrom) { -// return new Block(BlockBehaviour.Properties.ofFullCopy(copyFrom).requiresCorrectToolForDrops()); -// } -// -// private static Block createHorizontalFacingStorageBlock(Block copyFrom) { -// return new SimpleHorizontalFacingBlock(BlockBehaviour.Properties.ofFullCopy(copyFrom).requiresCorrectToolForDrops()); -// } -// -// private static final class SimpleHorizontalFacingBlock extends HorizontalDirectionalBlock { -// private static final MapCodec CODEC = simpleCodec(SimpleHorizontalFacingBlock::new); -// -// private SimpleHorizontalFacingBlock(BlockBehaviour.Properties properties) { -// super(properties); -// registerDefaultState(stateDefinition.any().setValue(FACING, Direction.NORTH)); -// } -// -// @Override -// protected MapCodec codec() { -// return CODEC; -// } -// -// @Override -// protected void createBlockStateDefinition(StateDefinition.Builder builder) { -// builder.add(FACING); -// } -// -// @Override -// public BlockState getStateForPlacement(BlockPlaceContext context) { -// return defaultBlockState().setValue(FACING, context.getHorizontalDirection().getOpposite()); -// } -// -// @Override -// protected BlockState rotate(BlockState state, Rotation rotation) { -// return state.setValue(FACING, rotation.rotate(state.getValue(FACING))); -// } -// -// @Override -// protected BlockState mirror(BlockState state, Mirror mirror) { -// return state.rotate(mirror.getRotation(state.getValue(FACING))); -// } -// } -// -// private static Block createRawStorageBlock(Block copyFrom) { -// return new Block(BlockBehaviour.Properties.ofFullCopy(copyFrom) -// .strength(3.5F, 6.0F) -// .requiresCorrectToolForDrops()); -// } -// -// private static Item diamondMinecartItem() { -// return DIAMOND_MINECART_ITEM.get(); -// } -// -// static void handleUltimateBowDamage(LivingIncomingDamageEvent event) { -// if (!UltimateGearHelper.isUltimateBowArrow(event.getSource().getDirectEntity())) { -// return; -// } -// -// LivingEntity target = event.getEntity(); -// if (target instanceof Player player) { -// event.setAmount(0.0F); -// event.setInvulnerabilityTicks(0); -// player.clearFire(); -// player.heal((float) AntarchySettings.ultimateBowPlayerHeal()); -// return; -// } -// -// // Shared item code now scales arrow base damage directly so attribute and projectile -// // modifiers stay in the damage pipeline. Leave non-player hits untouched here. -// } -// -// static void handleUltimateCrossbowDamage(LivingIncomingDamageEvent event) { -// if (!UltimateGearHelper.isUltimateCrossbowProjectile(event.getSource().getDirectEntity())) { -// return; -// } -// } -// -// -// static void handleNightmareSwordDamage(LivingIncomingDamageEvent event) { -// net.minecraft.world.damagesource.DamageSource source = event.getSource(); -// if (!(source.getEntity() instanceof Player attacker)) return; -// if (!(attacker.getMainHandItem().getItem() instanceof NightmareSwordItem)) return; -// -// float maxHealth = attacker.getMaxHealth(); -// if (maxHealth <= 0) return; -// float missingFraction = (maxHealth - attacker.getHealth()) / maxHealth; -// float baseDamage = (float) AntarchySettings.nightmareSwordBaseDamage(); -// float scalingFactor = (float) AntarchySettings.nightmareSwordScalingFactor(); -// -// event.setAmount(baseDamage + missingFraction * scalingFactor * baseDamage); -// } -// -// static void handleNightmareArmorDoubleDamage(LivingIncomingDamageEvent event) { -// net.minecraft.world.damagesource.DamageSource source = event.getSource(); -// if (!(source.getEntity() instanceof net.minecraft.world.entity.LivingEntity attacker)) return; -// if (!attacker.getAttributes().hasAttribute(DOUBLE_DAMAGE_CHANCE)) return; -// double chance = attacker.getAttributeValue(DOUBLE_DAMAGE_CHANCE); -// if (chance <= 0.0) return; -// if (attacker.getRandom().nextDouble() < chance) { -// event.setAmount(event.getAmount() * 2.0F); -// LivingEntity victim = event.getEntity(); -// if (victim.level() instanceof ServerLevel serverLevel) { -// serverLevel.playSound(null, victim.blockPosition(), -// AntarchySoundEvents.NIGHTMARE_BITE.get(), -// net.minecraft.sounds.SoundSource.PLAYERS, 0.9f, 0.85f + victim.getRandom().nextFloat() * 0.3f); -// serverLevel.sendParticles( -// new net.minecraft.core.particles.DustParticleOptions(new org.joml.Vector3f(0.55f, 0.0f, 0.05f), 1.4f), -// victim.getX(), victim.getY() + victim.getBbHeight() * 0.5, victim.getZ(), -// 30, 0.4, 0.5, 0.4, 0.15); -// } -// } -// } -// -// private static boolean isWearingFullNightmareArmor(Player player) { -// for (ItemStack stack : player.getArmorSlots()) { -// if (!(stack.getItem() instanceof NightmareArmorItem)) return false; -// } -// return true; -// } -// -// static void handleAntiwaterDamage(LivingIncomingDamageEvent event) { -// if (!event.getSource().is(DamageTypes.FALL)) { -// return; -// } -// -// LivingEntity livingEntity = event.getEntity(); -// if (!intersectsAntiwater(livingEntity, livingEntity.getBoundingBox().inflate(0.05D))) { -// return; -// } -// -// event.setCanceled(true); -// } -// -// private static void tickLightningDragonStorms(LevelTickEvent.Post event) { -// if (event.getLevel() instanceof net.minecraft.server.level.ServerLevel serverLevel) { -// LightningDragonStormManager.tick(serverLevel); -// } -// } -// -// static void handleScorpionWhipAttackEntity(AttackEntityEvent event) { -// if (!(event.getEntity() instanceof ServerPlayer player)) { -// return; -// } -// -// if (!(player.getMainHandItem().getItem() instanceof ScorpionWhipItem) || !(event.getTarget() instanceof LivingEntity target)) { -// return; -// } -// -// if (ScorpionWhipTetherManager.hasTether(player)) { -// event.setCanceled(true); -// if (ScorpionWhipTetherManager.isTetheredTo(player, target)) { -// player.resetAttackStrengthTicker(); -// } -// } -// } -// -// static void handleScorpionWhipLeftClickBlock(PlayerInteractEvent.LeftClickBlock event) { -// if (!(event.getEntity() instanceof ServerPlayer player)) { -// return; -// } -// if (!(player.getMainHandItem().getItem() instanceof ScorpionWhipItem) || !ScorpionWhipTetherManager.hasTether(player)) { -// return; -// } -// event.setCanceled(true); -// } -// -// static void handleScorpionWhipRightClickBlock(PlayerInteractEvent.RightClickBlock event) { -// if (!(event.getEntity() instanceof ServerPlayer player)) { -// return; -// } -// if (!(player.getMainHandItem().getItem() instanceof ScorpionWhipItem)) { -// return; -// } -// if (!ScorpionWhipTetherManager.hasTether(player)) { -// return; -// } -// if (ScorpionWhipTetherManager.pullAndDetach(player)) { -// event.setCanceled(true); -// event.setCancellationResult(InteractionResult.SUCCESS); -// } -// } -// -// static void handleScorpionWhipRightClickItem(PlayerInteractEvent.RightClickItem event) { -// if (!(event.getEntity() instanceof ServerPlayer player)) { -// return; -// } -// if (!(player.getMainHandItem().getItem() instanceof ScorpionWhipItem)) { -// return; -// } -// if (!ScorpionWhipTetherManager.hasTether(player)) { -// return; -// } -// if (ScorpionWhipTetherManager.pullAndDetach(player)) { -// event.setCanceled(true); -// event.setCancellationResult(InteractionResult.SUCCESS); -// } -// } -// -// static void handleParalyzedAttackEntity(AttackEntityEvent event) { -// if (isParalyzed(event.getEntity())) { -// event.setCanceled(true); -// } -// } -// -// static void handleParalyzedLeftClickBlock(PlayerInteractEvent.LeftClickBlock event) { -// if (isParalyzed(event.getEntity())) { -// event.setCanceled(true); -// } -// } -// -// static void handleParalyzedRightClickBlock(PlayerInteractEvent.RightClickBlock event) { -// if (isParalyzed(event.getEntity())) { -// event.setCancellationResult(InteractionResult.FAIL); -// event.setCanceled(true); -// } -// } -// -// static void handleParalyzedRightClickItem(PlayerInteractEvent.RightClickItem event) { -// if (isParalyzed(event.getEntity())) { -// event.setCancellationResult(InteractionResult.FAIL); -// event.setCanceled(true); -// } -// } -// -// static void handleParalyzedEntityInteract(PlayerInteractEvent.EntityInteract event) { -// if (isParalyzed(event.getEntity())) { -// event.setCancellationResult(InteractionResult.FAIL); -// event.setCanceled(true); -// } -// } -// -// static void handleParalyzedEntityInteractSpecific(PlayerInteractEvent.EntityInteractSpecific event) { -// if (isParalyzed(event.getEntity())) { -// event.setCancellationResult(InteractionResult.FAIL); -// event.setCanceled(true); -// } -// } -// -// private static boolean isParalyzed(Player player) { -// return player.hasEffect(PARALYZED); -// } -// -// static void handleDreamSandJump(LivingEvent.LivingJumpEvent event) { -// LivingEntity livingEntity = event.getEntity(); -// if (!AntarchySettings.dreamSandEnabled() || isDreamSandLowGravityBlacklisted(livingEntity)) { -// clearDreamSandLowGravity(livingEntity); -// } else if (isStandingOnDreamSand(livingEntity)) { -// livingEntity.setDeltaMovement( -// livingEntity.getDeltaMovement().x, -// livingEntity.getDeltaMovement().y * AntarchySettings.dreamSandJumpVelocityMultiplier(), -// livingEntity.getDeltaMovement().z -// ); -// DreamSandLowGravityAccess access = dreamSandAccess(livingEntity); -// access.antarchy$setDreamSandLowGravityActive(true); -// access.antarchy$setDreamSandLowGravityTicksRemaining((int) Math.max(1L, Math.round(AntarchySettings.dreamSandEffectDurationSeconds() * 20.0D))); -// access.antarchy$setDreamSandLandingGraceTicks(0); -// } -// -// } -// -// static void tickDreadAndIchor(PlayerTickEvent.Post event) { -// Player player = event.getEntity(); -// if (player.level().isClientSide()) { -// return; -// } -// if (player.isInFluidType(ICHOR_TYPE.get()) && AntarchySettings.ichorWitherEnabled()) { -// player.addEffect(new MobEffectInstance(MobEffects.WITHER, 40, 0, false, true, true)); -// } -// } -// -// static void tickScorpionWhips(PlayerTickEvent.Post event) { -// if (event.getEntity() instanceof ServerPlayer player) { -// ScorpionWhipTetherManager.tick(player); -// } -// } -// -// static void tickDreamSandLowGravity(EntityTickEvent.Post event) { -// if (!(event.getEntity() instanceof LivingEntity livingEntity)) { -// return; -// } -// -// DreamSandLowGravityAccess access = dreamSandAccess(livingEntity); -// int landingGraceTicks = access.antarchy$getDreamSandLandingGraceTicks(); -// if (landingGraceTicks > 0) { -// access.antarchy$setDreamSandLandingGraceTicks(landingGraceTicks - 1); -// } -// -// if (!AntarchySettings.dreamSandEnabled() || isDreamSandLowGravityBlacklisted(livingEntity) || !access.antarchy$isDreamSandLowGravityActive()) { -// return; -// } -// -// int remainingTicks = access.antarchy$getDreamSandLowGravityTicksRemaining(); -// if (remainingTicks > 0) { -// access.antarchy$setDreamSandLowGravityTicksRemaining(remainingTicks - 1); -// } -// if (access.antarchy$getDreamSandLowGravityTicksRemaining() <= 0) { -// clearDreamSandLowGravity(livingEntity); -// return; -// } -// -// if (isOnSolidGround(livingEntity)) { -// access.antarchy$setDreamSandLowGravityActive(false); -// access.antarchy$setDreamSandLowGravityTicksRemaining(0); -// access.antarchy$setDreamSandLandingGraceTicks(2); -// } else if (!livingEntity.onGround() && livingEntity.getDeltaMovement().y < 0.0D) { -// livingEntity.setDeltaMovement( -// livingEntity.getDeltaMovement().x, -// livingEntity.getDeltaMovement().y * AntarchySettings.dreamSandGravityMultiplier(), -// livingEntity.getDeltaMovement().z -// ); -// } -// -// } -// -// static void handleAntiwaterFall(LivingFallEvent event) { -// LivingEntity livingEntity = event.getEntity(); -// if (intersectsAntiwater(livingEntity, livingEntity.getBoundingBox().inflate(0.05D))) { -// event.setCanceled(true); -// } -// } -// -// static void handleDreamSandFall(LivingFallEvent event) { -// LivingEntity livingEntity = event.getEntity(); -// DreamSandLowGravityAccess access = dreamSandAccess(livingEntity); -// if (!AntarchySettings.dreamSandEnabled() -// || isDreamSandLowGravityBlacklisted(livingEntity) -// || (!access.antarchy$isDreamSandLowGravityActive() && access.antarchy$getDreamSandLandingGraceTicks() <= 0)) { -// return; -// } -// -// event.setCanceled(true); -// } -// -// private static boolean intersectsAntiwater(Entity entity, AABB box) { -// BlockPos.MutableBlockPos cursor = new BlockPos.MutableBlockPos(); -// BlockPos min = BlockPos.containing(box.minX, box.minY, box.minZ); -// BlockPos max = BlockPos.containing(box.maxX, box.maxY, box.maxZ); -// for (int x = min.getX(); x <= max.getX(); x++) { -// for (int y = min.getY(); y <= max.getY(); y++) { -// for (int z = min.getZ(); z <= max.getZ(); z++) { -// cursor.set(x, y, z); -// FluidState fluidState = entity.level().getFluidState(cursor); -// if (PotentNyxiteBlock.isAntiwater(fluidState)) { -// return true; -// } -// } -// } -// } -// return false; -// } -// -// private static final int ANTIMETAL_INVERTED_REFRESH_TICKS = 20; -// -// static void tickOverheadInversion(EntityTickEvent.Post event) { -// if (!(event.getEntity() instanceof LivingEntity livingEntity)) { -// return; -// } -// if (livingEntity.level().isClientSide()) { -// return; -// } -// if (livingEntity instanceof Player player && player.isSpectator()) { -// return; -// } -// if (!isDirectlyBelowAntimetal(livingEntity)) { -// return; -// } -// -// MobEffectInstance existingInverted = livingEntity.getEffect(INVERTED); -// if (existingInverted == null || existingInverted.getDuration() <= 5) { -// livingEntity.addEffect(new MobEffectInstance(INVERTED, ANTIMETAL_INVERTED_REFRESH_TICKS, 0, false, false, false)); -// spawnAntimetalInversionParticles(livingEntity); -// } -// } -// -// -// private static boolean isInOrBelowAntimetalScaffolding(LivingEntity entity) { -// AABB bounds = entity.getBoundingBox().deflate(1.0E-3D); -// int minX = net.minecraft.util.Mth.floor(bounds.minX); -// int maxX = net.minecraft.util.Mth.floor(bounds.maxX); -// int minY = net.minecraft.util.Mth.floor(bounds.minY); -// int maxY = net.minecraft.util.Mth.floor(bounds.maxY); -// int minZ = net.minecraft.util.Mth.floor(bounds.minZ); -// int maxZ = net.minecraft.util.Mth.floor(bounds.maxZ); -// -// for (int x = minX; x <= maxX; x++) { -// for (int z = minZ; z <= maxZ; z++) { -// for (int y = minY; y <= maxY; y++) { -// if (entity.level().getBlockState(new net.minecraft.core.BlockPos(x, y, z)) -// .getBlock() instanceof com.craisinlord.antarchy.content.block.AntimetalScaffoldingBlock) { -// return true; -// } -// } -// net.minecraft.core.BlockPos abovePos = new net.minecraft.core.BlockPos(x, maxY + 1, z); -// if (entity.level().getBlockState(abovePos) -// .getBlock() instanceof com.craisinlord.antarchy.content.block.AntimetalScaffoldingBlock) { -// return true; -// } -// } -// } -// return false; -// } -// -// private static boolean isDirectlyBelowAntimetal(LivingEntity entity) { -// AABB bounds = entity.getBoundingBox().deflate(1.0E-3D); -// -// int minX = net.minecraft.util.Mth.floor(bounds.minX); -// int maxX = net.minecraft.util.Mth.floor(bounds.maxX); -// int minY = net.minecraft.util.Mth.floor(bounds.minY); -// int maxY = net.minecraft.util.Mth.floor(bounds.maxY); -// int minZ = net.minecraft.util.Mth.floor(bounds.minZ); -// int maxZ = net.minecraft.util.Mth.floor(bounds.maxZ); -// -// for (int x = minX; x <= maxX; x++) { -// for (int y = minY; y <= maxY; y++) { -// for (int z = minZ; z <= maxZ; z++) { -// net.minecraft.core.BlockPos crystalPos = new net.minecraft.core.BlockPos(x, y + 1, z); -// if (entity.level().getBlockState(crystalPos).is(ANTIMETAL.get()) -// || entity.level().getBlockState(crystalPos).is(POLISHED_ANTIMETAL.get())) { -// return true; -// } -// } -// } -// } -// -// return false; -// } -// -// private static void spawnAntimetalInversionParticles(LivingEntity entity) { -// if (!(entity.level() instanceof ServerLevel serverLevel)) { -// return; -// } -// -// double x = entity.getX(); -// double y = entity.getBoundingBox().maxY + 0.1D; -// double z = entity.getZ(); -// serverLevel.sendParticles( -// new net.minecraft.core.particles.DustParticleOptions(new org.joml.Vector3f(1.0F, 0.1F, 0.1F), 1.0F), -// x, -// y, -// z, -// 6, -// 0.2D, -// 0.05D, -// 0.2D, -// 0.0D -// ); -// } -// -// static void tickDuctTapeStickiness(EntityTickEvent.Post event) { -// DuctTapeBlock.tickStuckEntity(event.getEntity()); -// } -// -// static void handleDreadDeath(LivingDeathEvent event) { -// LivingEntity entity = event.getEntity(); -// clearDreamSandLowGravity(entity); -// if (!entity.hasEffect(DREAD)) { -// return; -// } -// -// entity.removeEffect(DREAD); -// } -// -// static void handleFallenKingCrownKill(LivingDeathEvent event) { -// if (!(event.getEntity() instanceof Enemy)) { -// return; -// } -// -// Entity attacker = event.getSource().getEntity(); -// if (!(attacker instanceof Player player) || player.level().isClientSide()) { -// return; -// } -// -// if (!player.getItemBySlot(net.minecraft.world.entity.EquipmentSlot.HEAD).is(FALLEN_KING_CROWN.get())) { -// return; -// } -// -// player.addEffect(new MobEffectInstance(MobEffects.HERO_OF_THE_VILLAGE, 6000, 0, false, true, true)); -// } -// -// -// private static final String DREAD_BED_BUG_NEXT_SPAWN_KEY = Antarchy.MODID + ":dread_bed_bug_next_spawn"; -// private static final int DREAD_BED_BUG_SPAWN_COOLDOWN_TICKS = 6000; -// -// static void handleDreadBedSleep(net.neoforged.neoforge.event.entity.player.CanPlayerSleepEvent event) { -// if (!event.getEntity().hasEffect(DREAD)) { -// return; -// } -// if (event.getEntity() instanceof Player player) { -// player.displayClientMessage(net.minecraft.network.chat.Component.translatable("message.antarchy.dread_too_scared_to_sleep"), true); -// } -// event.setProblem(net.minecraft.world.entity.player.Player.BedSleepingProblem.OTHER_PROBLEM); -// -// net.minecraft.server.level.ServerLevel level = (net.minecraft.server.level.ServerLevel) event.getLevel(); -// Player player = event.getEntity(); -// long gameTime = level.getGameTime(); -// long nextSpawnTime = player.getPersistentData().getLong(DREAD_BED_BUG_NEXT_SPAWN_KEY); -// if (nextSpawnTime > gameTime) { -// return; -// } -// -// net.minecraft.core.BlockPos bedPos = event.getPos(); -// com.craisinlord.antarchy.content.entity.BedBugEntity bedBug = AntarchyObjects.BED_BUG.get().create(level); -// if (bedBug == null) { -// return; -// } -// -// player.getPersistentData().putLong(DREAD_BED_BUG_NEXT_SPAWN_KEY, gameTime + DREAD_BED_BUG_SPAWN_COOLDOWN_TICKS); -// bedBug.moveTo(bedPos.getX() + 0.5D, bedPos.getY() + 0.5D, bedPos.getZ() + 0.5D, -// level.random.nextFloat() * 360.0F, 0.0F); -// bedBug.finalizeSpawn(level, level.getCurrentDifficultyAt(bedPos), -// net.minecraft.world.entity.MobSpawnType.EVENT, null); -// level.addFreshEntity(bedBug); -// } -// -// static void handleNaturalRabbitReplacement(MobSpawnEvent.PositionCheck event) { -// if (!AntarchySettings.easterBunnyEnabled()) { -// return; -// } -// if (event.getSpawnType() != MobSpawnType.NATURAL || !(event.getEntity() instanceof Rabbit rabbit)) { -// return; -// } -// if (rabbit instanceof EasterBunnyEntity) { -// return; -// } -// -// int chancePercent = AntarchySettings.easterBunnyNaturalSpawnChancePercent(); -// if (chancePercent <= 0 || event.getLevel().getRandom().nextInt(100) >= chancePercent) { -// return; -// } -// -// ServerLevel level = (ServerLevel) event.getLevel(); -// EasterBunnyEntity easterBunny = EASTER_BUNNY.get().create(level); -// if (easterBunny == null) { -// return; -// } -// -// easterBunny.moveTo(event.getX(), event.getY(), event.getZ(), rabbit.getYRot(), rabbit.getXRot()); -// easterBunny.finalizeSpawn(level, level.getCurrentDifficultyAt(event.getEntity().blockPosition()), MobSpawnType.NATURAL, null); -// level.addFreshEntity(easterBunny); -// event.setResult(MobSpawnEvent.PositionCheck.Result.FAIL); -// } -// -// -// static void registerCommands(RegisterCommandsEvent event) { -// CaterpillarCommand.register(event.getDispatcher()); -// GravityCommand.register(event.getDispatcher()); -// // ThoraxisWeatherCommand.register(event.getDispatcher()); -// } -// -// static void handleStartTracking(PlayerEvent.StartTracking event) { -// if (event.getTarget().level().isClientSide()) { -// return; -// } -// -// AntarchyGravityNetworking.syncEntity(event.getTarget()); -// } -// -// static void handlePlayerLogin(PlayerEvent.PlayerLoggedInEvent event) { -// if (event.getEntity().level().isClientSide()) { -// return; -// } -// -// clearDreamSandLowGravity(event.getEntity()); -// // Use syncToPlayer so gravity reaches the player directly — on login, sendToPlayersTrackingEntityAndSelf -// // may fire before the player is in the tracking system, causing the packet to be dropped. -// if (event.getEntity() instanceof ServerPlayer serverPlayer) { -// AntarchyGravityNetworking.syncToPlayer(serverPlayer, serverPlayer); -// } else { -// AntarchyGravityNetworking.syncEntity(event.getEntity()); -// } -// if (event.getEntity() instanceof ServerPlayer serverPlayer && serverPlayer.serverLevel() != null) { -// // Thoraxis weather system temporarily disabled for further iteration. -// // ThoraxisWeatherNetworking.syncPlayer(serverPlayer, ThoraxisWeatherManager.snapshot(serverPlayer.serverLevel())); -// } -// } -// -// static void handleDreamSandLogout(PlayerEvent.PlayerLoggedOutEvent event) { -// clearDreamSandLowGravity(event.getEntity()); -// } -// -// static void handleDreamSandDimensionChange(PlayerEvent.PlayerChangedDimensionEvent event) { -// clearDreamSandLowGravity(event.getEntity()); -// if (event.getEntity() instanceof ServerPlayer serverPlayer && serverPlayer.serverLevel() != null) { -// // Thoraxis weather system temporarily disabled for further iteration. -// // ThoraxisWeatherNetworking.syncPlayer(serverPlayer, ThoraxisWeatherManager.snapshot(serverPlayer.serverLevel())); -// } -// } -// -// static void tickThoraxisWeather(LevelTickEvent.Post event) { -// if (event.getLevel() instanceof ServerLevel serverLevel) { -// var snapshot = ThoraxisWeatherManager.tick(serverLevel); -// if (snapshot != null) { -// ThoraxisWeatherNetworking.syncLevel(serverLevel, snapshot); -// } -// } -// } -// -// static void debugThoraxisSpawnPlacements(MobSpawnEvent.SpawnPlacementCheck event) { -// EntityType entityType = event.getEntityType(); -// if (entityType != NIGHTMARE.get() && entityType != LUCID.get()) { -// return; -// } -// if (event.getSpawnType() != MobSpawnType.NATURAL && event.getSpawnType() != MobSpawnType.CHUNK_GENERATION) { -// return; -// } -// if (!event.getLevel().getLevel().dimension().location().equals(THORAXIS_DIMENSION_ID)) { -// return; -// } -// -// long gameTime = event.getLevel().getLevel().getGameTime(); -// if (gameTime - lastThoraxisSpawnPlacementLogTick < 40L) { -// return; -// } -// lastThoraxisSpawnPlacementLogTick = gameTime; -// -// BlockPos pos = event.getPos(); -// Antarchy.LOGGER.info( -// "[SpawnDebug][ThoraxisPlacement] type={} reason={} pos={} biome={} defaultResult={} placementResult={}", -// entityType, -// event.getSpawnType(), -// pos, -// biomeName(event.getLevel().getBiome(pos)), -// event.getDefaultResult(), -// event.getPlacementCheckResult() -// ); -// } -// -// -// private static String biomeName(net.minecraft.core.Holder biomeHolder) { -// return biomeHolder.unwrapKey() -// .map(resourceKey -> resourceKey.location().toString()) -// .orElse("unregistered"); -// } -// -// private static BaseFlowingFluid.Properties ichorProperties() { -// return new BaseFlowingFluid.Properties(ICHOR_TYPE, ICHOR, FLOWING_ICHOR) -// .bucket(() -> ICHOR_BUCKET.get()) -// .block(() -> ICHOR_BLOCK.get()) -// .slopeFindDistance(4) -// .levelDecreasePerBlock(1) -// .tickRate(5); -// } -// -// private static BaseFlowingFluid.Properties antiwaterProperties() { -// return new BaseFlowingFluid.Properties(ANTIWATER_TYPE, ANTIWATER, FLOWING_ANTIWATER) -// .bucket(() -> ANTIWATER_BUCKET.get()) -// .block(() -> ANTIWATER_BLOCK.get()) -// .slopeFindDistance(4) -// .levelDecreasePerBlock(1) -// .tickRate(5); -// } -// -// -// -// private static DeferredHolder registerSoundEvent(String path) { -// return SOUND_EVENTS.register(path, -// () -> SoundEvent.createVariableRangeEvent(ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, path))); -// } -// -// private static boolean isModLoaded(String modId) { -// try { -// return ModList.get().isLoaded(modId); -// } catch (Throwable ignored) { -// return false; -// } -// } -// -// -// private static DreamSandLowGravityAccess dreamSandAccess(LivingEntity livingEntity) { -// return (DreamSandLowGravityAccess) livingEntity; -// } -// -// private static boolean isDreamSandLowGravityBlacklisted(LivingEntity livingEntity) { -// return livingEntity.getType().is(AntarchyTags.Entities.DREAM_SAND_LOW_GRAVITY_BLACKLIST); -// } -// -// private static Ingredient bloodCrystalRepairIngredient() { -// return Ingredient.of(BuiltInRegistries.ITEM.getOptional(ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "blood_crystal_shard")) -// .orElse(Items.AIR)); -// } -// -// private static void clearDreamSandLowGravity(LivingEntity livingEntity) { -// DreamSandLowGravityAccess access = dreamSandAccess(livingEntity); -// access.antarchy$setDreamSandLowGravityActive(false); -// access.antarchy$setDreamSandLowGravityTicksRemaining(0); -// access.antarchy$setDreamSandLandingGraceTicks(0); -// } -// -// private static boolean isOnSolidGround(LivingEntity livingEntity) { -// return livingEntity.onGround() && livingEntity.getBlockStateOn().blocksMotion(); -// } -// -// private static boolean isStandingOnDreamSand(LivingEntity livingEntity) { -// return livingEntity.level().getBlockState(livingEntity.getOnPosLegacy()).is(DREAM_SAND.get()); -// } -// -// private static Ingredient ultimateRepairIngredient() { -// return Ingredient.of(TITANIUM_INGOT.get()); -// } -// -// private static java.util.EnumMap createUltimateArmorDefense() { -// java.util.EnumMap defense = new java.util.EnumMap<>(ArmorItem.Type.class); -// defense.put(ArmorItem.Type.BOOTS, 6); -// defense.put(ArmorItem.Type.LEGGINGS, 12); -// defense.put(ArmorItem.Type.CHESTPLATE, 16); -// defense.put(ArmorItem.Type.HELMET, 6); -// defense.put(ArmorItem.Type.BODY, 16); -// return defense; -// } -// -// private static java.util.EnumMap createNightmareArmorDefense() { -// java.util.EnumMap defense = new java.util.EnumMap<>(ArmorItem.Type.class); -// defense.put(ArmorItem.Type.BOOTS, 4); -// defense.put(ArmorItem.Type.LEGGINGS, 9); -// defense.put(ArmorItem.Type.CHESTPLATE, 11); -// defense.put(ArmorItem.Type.HELMET, 4); -// defense.put(ArmorItem.Type.BODY, 11); -// return defense; -// } -// -// private static java.util.EnumMap createBloodCrystalArmorDefense() { -// java.util.EnumMap defense = new java.util.EnumMap<>(ArmorItem.Type.class); -// defense.put(ArmorItem.Type.BOOTS, 2); -// defense.put(ArmorItem.Type.LEGGINGS, 5); -// defense.put(ArmorItem.Type.CHESTPLATE, 6); -// defense.put(ArmorItem.Type.HELMET, 2); -// defense.put(ArmorItem.Type.BODY, 6); -// return defense; -// } -// -// private static java.util.EnumMap createMogglesArmorDefense() { -// java.util.EnumMap defense = new java.util.EnumMap<>(ArmorItem.Type.class); -// defense.put(ArmorItem.Type.BOOTS, 0); -// defense.put(ArmorItem.Type.LEGGINGS, 0); -// defense.put(ArmorItem.Type.CHESTPLATE, 0); -// defense.put(ArmorItem.Type.HELMET, 2); -// defense.put(ArmorItem.Type.BODY, 2); -// return defense; -// } -// -// private static java.util.EnumMap createFallenKingCrownDefense() { -// java.util.EnumMap defense = new java.util.EnumMap<>(ArmorItem.Type.class); -// defense.put(ArmorItem.Type.BOOTS, 0); -// defense.put(ArmorItem.Type.LEGGINGS, 0); -// defense.put(ArmorItem.Type.CHESTPLATE, 0); -// defense.put(ArmorItem.Type.HELMET, 2); -// defense.put(ArmorItem.Type.BODY, 2); -// return defense; -// } -// -// static void modifyEntityAttributes(EntityAttributeModificationEvent event) { -// event.add(EntityType.PLAYER, BLOODGLASS_MAX_HEARTS); -// event.add(EntityType.PLAYER, DOUBLE_DAMAGE_CHANCE); -// } -// -// static void handleBloodCrystalBootsFall(LivingFallEvent event) { -// if (!(event.getEntity() instanceof Player player)) return; -// if (!com.craisinlord.antarchy.content.gravity.AntarchyGravityApi.isGravityInverted(player)) return; -// if (!(player.getItemBySlot(net.minecraft.world.entity.EquipmentSlot.FEET).getItem() instanceof BloodCrystalArmorItem)) return; -// event.setCanceled(true); -// } -// -// static void handleBloodglassShield(LivingIncomingDamageEvent event) { -// if (!(event.getEntity() instanceof Player player)) return; -// if (player.level().isClientSide()) return; -// -// if (event.getAmount() <= 1.0f) return; -// -// if (event.getSource().is(BYPASSES_BLOODGLASS)) return; -// -// BloodglassAccess access = (BloodglassAccess) player; -// int totalActive = access.antarchy$getTotalShieldsActive(); -// if (totalActive <= 0) return; -// -// // Consume apple shields first, then armor shields -// if (access.antarchy$getAppleShieldsActive() > 0) { -// access.antarchy$setAppleShieldsActive(access.antarchy$getAppleShieldsActive() - 1); -// access.antarchy$setAppleShieldLostCount(access.antarchy$getAppleShieldLostCount() + 1); -// if (access.antarchy$getAppleRechargeTimer() == 0) { -// access.antarchy$setAppleRechargeTimer(AntarchySettings.bloodCrystalAppleShieldRechargeTicks()); -// } -// } else { -// access.antarchy$setArmorShieldsActive(access.antarchy$getArmorShieldsActive() - 1); -// access.antarchy$setArmorShieldLostCount(access.antarchy$getArmorShieldLostCount() + 1); -// if (access.antarchy$getArmorRechargeTimer() == 0) { -// access.antarchy$setArmorRechargeTimer(AntarchySettings.bloodCrystalArmorShieldRechargeTicks()); -// } -// } -// -// event.setCanceled(true); -// -// net.minecraft.server.level.ServerLevel serverLevel = (net.minecraft.server.level.ServerLevel) player.level(); -// -// serverLevel.broadcastEntityEvent(player, (byte) 2); -// -// serverLevel.playSound(null, player.blockPosition(), -// net.minecraft.sounds.SoundEvents.GLASS_BREAK, -// net.minecraft.sounds.SoundSource.PLAYERS, 1.0f, 1.0f); -// -// serverLevel.sendParticles( -// new net.minecraft.core.particles.DustParticleOptions( -// new org.joml.Vector3f(0.85f, 0.18f, 0.38f), 1.2f), -// player.getX(), player.getEyeY(), player.getZ(), -// 35, 0.35, 0.55, 0.35, 0.12); -// -// syncBloodglass((ServerPlayer) player); -// } -// -// static void handleBloodCrystalArmorEquip(LivingEquipmentChangeEvent event) { -// if (!(event.getEntity() instanceof Player player)) return; -// if (player.level().isClientSide()) return; -// -// net.minecraft.world.entity.EquipmentSlot slot = event.getSlot(); -// if (slot != net.minecraft.world.entity.EquipmentSlot.HEAD -// && slot != net.minecraft.world.entity.EquipmentSlot.CHEST -// && slot != net.minecraft.world.entity.EquipmentSlot.LEGS -// && slot != net.minecraft.world.entity.EquipmentSlot.FEET) return; -// -// boolean fromIsBC = event.getFrom().getItem() instanceof BloodCrystalArmorItem; -// boolean toIsBC = event.getTo().getItem() instanceof BloodCrystalArmorItem; -// -// BloodglassAccess access = (BloodglassAccess) player; -// -// if (fromIsBC && !toIsBC) { -// // Unequipped BC armor, remove one shield slot (active first, then recharging) -// if (access.antarchy$getArmorShieldsActive() > 0) { -// access.antarchy$setArmorShieldsActive(access.antarchy$getArmorShieldsActive() - 1); -// } else if (access.antarchy$getArmorShieldLostCount() > 0) { -// access.antarchy$setArmorShieldLostCount(access.antarchy$getArmorShieldLostCount() - 1); -// if (access.antarchy$getArmorShieldLostCount() == 0) { -// access.antarchy$setArmorRechargeTimer(0); -// } -// } -// } else if (!fromIsBC && toIsBC) { -// // Newly equipped BC armor,only add if not already accounted for (by respawn init) -// int bcPieces = countBCArmorPieces(player); -// int currentTotal = access.antarchy$getArmorShieldsActive() + access.antarchy$getArmorShieldLostCount(); -// if (currentTotal < bcPieces) { -// access.antarchy$setArmorShieldLostCount(access.antarchy$getArmorShieldLostCount() + 1); -// access.antarchy$setArmorRechargeTimer(AntarchySettings.bloodCrystalArmorShieldRechargeTicks()); -// } -// } else if (fromIsBC) { -// // BC armor replaced with another BC armor (or same after re-equip sequence) -// // Remove old shield, start recharging new one and reset timer -// if (access.antarchy$getArmorShieldsActive() > 0) { -// access.antarchy$setArmorShieldsActive(access.antarchy$getArmorShieldsActive() - 1); -// } else if (access.antarchy$getArmorShieldLostCount() > 0) { -// access.antarchy$setArmorShieldLostCount(access.antarchy$getArmorShieldLostCount() - 1); -// } -// access.antarchy$setArmorShieldLostCount(access.antarchy$getArmorShieldLostCount() + 1); -// access.antarchy$setArmorRechargeTimer(AntarchySettings.bloodCrystalArmorShieldRechargeTicks()); -// } -// -// syncBloodglass((ServerPlayer) player); -// } -// -// static void handleBloodglassWardApplied(MobEffectEvent.Added event) { -// if (!event.getEffectInstance().is(BLOODGLASS_WARD)) return; -// if (!(event.getEntity() instanceof Player player)) return; -// if (player.level().isClientSide()) return; -// -// BloodglassAccess access = (BloodglassAccess) player; -// int shieldCount = Math.min( -// event.getEffectInstance().getAmplifier() + 1, -// Math.max(0, AntarchySettings.bloodCrystalHardMaxShields() -// - access.antarchy$getArmorShieldsActive() - access.antarchy$getArmorShieldLostCount()) -// ); -// access.antarchy$setAppleShieldsActive(shieldCount); -// access.antarchy$setAppleShieldLostCount(0); -// access.antarchy$setAppleRechargeTimer(0); -// syncBloodglass((ServerPlayer) player); -// } -// -// private static void clearAppleShields(Player player) { -// BloodglassAccess access = (BloodglassAccess) player; -// access.antarchy$setAppleShieldsActive(0); -// access.antarchy$setAppleShieldLostCount(0); -// access.antarchy$setAppleRechargeTimer(0); -// if (player instanceof ServerPlayer sp) syncBloodglass(sp); -// } -// -// static void handleBloodglassWardRemoved(MobEffectEvent.Remove event) { -// if (!event.getEffect().is(BLOODGLASS_WARD)) return; -// if (!(event.getEntity() instanceof Player player)) return; -// if (player.level().isClientSide()) return; -// clearAppleShields(player); -// } -// -// static void handleBloodglassWardExpired(MobEffectEvent.Expired event) { -// if (!event.getEffectInstance().is(BLOODGLASS_WARD)) return; -// if (!(event.getEntity() instanceof Player player)) return; -// if (player.level().isClientSide()) return; -// clearAppleShields(player); -// } -// -// static void tickBloodglassRecharge(PlayerTickEvent.Post event) { -// Player player = event.getEntity(); -// if (player.level().isClientSide()) return; -// -// BloodglassAccess access = (BloodglassAccess) player; -// boolean changed = false; -// int hardCap = AntarchySettings.bloodCrystalHardMaxShields(); -// -// if (access.antarchy$getArmorShieldLostCount() > 0) { -// int timer = access.antarchy$getArmorRechargeTimer(); -// if (timer > 1) { -// access.antarchy$setArmorRechargeTimer(timer - 1); -// } else if (timer == 1) { -// int currentTotal = access.antarchy$getTotalShieldsActive(); -// if (currentTotal < hardCap) { -// access.antarchy$setArmorShieldsActive(access.antarchy$getArmorShieldsActive() + 1); -// access.antarchy$setArmorShieldLostCount(access.antarchy$getArmorShieldLostCount() - 1); -// changed = true; -// } -// if (access.antarchy$getArmorShieldLostCount() > 0) { -// access.antarchy$setArmorRechargeTimer(AntarchySettings.bloodCrystalArmorShieldRechargeTicks()); -// } else { -// access.antarchy$setArmorRechargeTimer(0); -// } -// } -// } -// -// if (access.antarchy$getAppleShieldLostCount() > 0 && player.hasEffect(BLOODGLASS_WARD)) { -// int timer = access.antarchy$getAppleRechargeTimer(); -// if (timer > 1) { -// access.antarchy$setAppleRechargeTimer(timer - 1); -// } else if (timer == 1) { -// int currentTotal = access.antarchy$getTotalShieldsActive(); -// if (currentTotal < hardCap) { -// access.antarchy$setAppleShieldsActive(access.antarchy$getAppleShieldsActive() + 1); -// access.antarchy$setAppleShieldLostCount(access.antarchy$getAppleShieldLostCount() - 1); -// changed = true; -// } -// if (access.antarchy$getAppleShieldLostCount() > 0) { -// access.antarchy$setAppleRechargeTimer(AntarchySettings.bloodCrystalAppleShieldRechargeTicks()); -// } else { -// access.antarchy$setAppleRechargeTimer(0); -// } -// } -// } -// -// if (changed && player instanceof ServerPlayer sp) { -// syncBloodglass(sp); -// sp.playNotifySound( -// net.minecraft.sounds.SoundEvents.AMETHYST_BLOCK_CHIME, -// net.minecraft.sounds.SoundSource.PLAYERS, 0.6f, 1.6f); -// } -// } -// -// private static int countBCArmorPieces(Player player) { -// int count = 0; -// for (net.minecraft.world.entity.EquipmentSlot slot : new net.minecraft.world.entity.EquipmentSlot[]{ -// net.minecraft.world.entity.EquipmentSlot.HEAD, -// net.minecraft.world.entity.EquipmentSlot.CHEST, -// net.minecraft.world.entity.EquipmentSlot.LEGS, -// net.minecraft.world.entity.EquipmentSlot.FEET}) { -// if (player.getItemBySlot(slot).getItem() instanceof BloodCrystalArmorItem) count++; -// } -// return count; -// } -// -// private static void syncBloodglass(ServerPlayer player) { -// BloodglassAccess access = (BloodglassAccess) player; -// PacketDistributor.sendToPlayer(player, -// new com.craisinlord.antarchy.content.network.BloodglassStatePayload( -// access.antarchy$getTotalShieldsActive(), -// access.antarchy$getTotalShieldsMax() -// ) -// ); -// } -// -// static void handleBloodglassPlayerDeath(LivingDeathEvent event) { -// if (!(event.getEntity() instanceof ServerPlayer sp)) return; -// BloodglassAccess access = (BloodglassAccess) sp; -// access.antarchy$setArmorShieldsActive(0); -// access.antarchy$setArmorShieldLostCount(0); -// access.antarchy$setArmorRechargeTimer(0); -// access.antarchy$setAppleShieldsActive(0); -// access.antarchy$setAppleShieldLostCount(0); -// access.antarchy$setAppleRechargeTimer(0); -// syncBloodglass(sp); -// } -// -// static void handleBloodglassRespawn(PlayerEvent.PlayerRespawnEvent event) { -// if (!(event.getEntity() instanceof ServerPlayer sp)) return; -// BloodglassAccess access = (BloodglassAccess) sp; -// int bcCount = 0; -// for (net.minecraft.world.entity.EquipmentSlot slot : new net.minecraft.world.entity.EquipmentSlot[]{ -// net.minecraft.world.entity.EquipmentSlot.HEAD, -// net.minecraft.world.entity.EquipmentSlot.CHEST, -// net.minecraft.world.entity.EquipmentSlot.LEGS, -// net.minecraft.world.entity.EquipmentSlot.FEET}) { -// if (sp.getItemBySlot(slot).getItem() instanceof BloodCrystalArmorItem) bcCount++; -// } -// int shields = Math.min(bcCount, AntarchySettings.bloodCrystalHardMaxShields()); -// access.antarchy$setArmorShieldsActive(shields); -// access.antarchy$setArmorShieldLostCount(0); -// access.antarchy$setArmorRechargeTimer(0); -// syncBloodglass(sp); -// } -// -// static void handleBloodglassLogin(PlayerEvent.PlayerLoggedInEvent event) { -// if (!(event.getEntity() instanceof ServerPlayer sp)) return; -// BloodglassAccess access = (BloodglassAccess) sp; -// if (sp.hasEffect(BLOODGLASS_WARD)) { -// net.minecraft.world.effect.MobEffectInstance effect = sp.getEffect(BLOODGLASS_WARD); -// if (effect != null) { -// int cap = Math.max(0, AntarchySettings.bloodCrystalHardMaxShields() -// - access.antarchy$getArmorShieldsActive() -// - access.antarchy$getArmorShieldLostCount()); -// int shieldCount = Math.min(effect.getAmplifier() + 1, cap); -// access.antarchy$setAppleShieldsActive(shieldCount); -// access.antarchy$setAppleShieldLostCount(0); -// access.antarchy$setAppleRechargeTimer(0); -// } -// } -// syncBloodglass(sp); -// } -// -// private static ParticleType particleType( -// java.util.function.Function, com.mojang.serialization.MapCodec> codecFactory, -// java.util.function.Function, StreamCodec> streamCodecFactory -// ) { -// return new ParticleType(false) { -// @Override -// public com.mojang.serialization.MapCodec codec() { -// return codecFactory.apply(this); -// } -// -// @Override -// public StreamCodec streamCodec() { -// return streamCodecFactory.apply(this); -// } -// }; -// } -}