Trinkets (Fabric)

Trinkets (Fabric)

22M Downloads

When I get the iron_ingot from furnace I will crash

SkyIce0229 opened this issue · 2 comments

commented

I crashed when I got the experience ball.

---- Minecraft Crash Report ----
// But it works on my machine.

Time: 2021/7/16 下午9:03
Description: Ticking player

java.lang.IllegalArgumentException: bound must be positive
at java.base/java.util.Random.nextInt(Random.java:388)
at net.minecraft.class_1303.localvar$bpm000$modifyEntry(class_1303.java:553)
at net.minecraft.class_1303.method_35051(class_1303.java:248)
at net.minecraft.class_1303.method_5694(class_1303.java:236)
at net.minecraft.class_1657.method_7341(class_1657.java:620)
at net.minecraft.class_1657.method_6007(class_1657.java:597)
at net.minecraft.class_1309.method_5773(class_1309.java:2346)
at net.minecraft.class_1657.method_5773(class_1657.java:274)
at net.minecraft.class_3222.method_14226(class_3222.java:466)
at net.minecraft.class_3244.method_18784(class_3244.java:212)
at net.minecraft.class_2535.method_10754(class_2535.java:238)
at net.minecraft.class_3242.method_14357(class_3242.java:183)
at net.minecraft.server.MinecraftServer.method_3813(MixinMinecraftServer.java:902)
at net.minecraft.server.MinecraftServer.method_3748(MixinMinecraftServer.java:831)
at net.minecraft.class_1132.method_3748(class_1132.java:96)
at net.minecraft.server.MinecraftServer.method_29741(MixinMinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MixinMinecraftServer.java:270)
at java.base/java.lang.Thread.run(Thread.java:831)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Server thread
Stacktrace:
at java.base/java.util.Random.nextInt(Random.java:388)
at net.minecraft.class_1303.localvar$bpm000$modifyEntry(class_1303.java:553)
at net.minecraft.class_1303.method_35051(class_1303.java:248)
at net.minecraft.class_1303.method_5694(class_1303.java:236)
at net.minecraft.class_1657.method_7341(class_1657.java:620)
at net.minecraft.class_1657.method_6007(class_1657.java:597)
at net.minecraft.class_1309.method_5773(class_1309.java:2346)
at net.minecraft.class_1657.method_5773(class_1657.java:274)
Mixins in Stacktrace:
net.minecraft.class_1303:
dev.emi.trinkets.mixin.ExperienceOrbEntityMixin (trinkets.mixins.json)
net.minecraft.class_1657:
dev.architectury.mixin.fabric.PlayerAttackInvoker (architectury.mixins.json)
svenhjol.charm.mixin.accessor.PlayerAccessor (charm.mixins.json)
svenhjol.charm.mixin.callback.PlayerDropInventoryCallbackMixin (charm.mixins.json)
net.torocraft.torohealth.mixin.PlayerEntityMixin (torohealth.mixins.json)
dev.architectury.mixin.fabric.LivingDeathInvoker (architectury.mixins.json)
svenhjol.charm.mixin.parrots_stay_on_shoulder.KeepShoulderEntitiesMixin (charm.mixins.json)
reborncore.mixin.common.MixinPlayerEntity (reborncore.common.mixins.json)
dev.architectury.mixin.fabric.MixinPlayer (architectury.mixins.json)
svenhjol.charm.mixin.callback.PlayerTickCallbackMixin (charm.mixins.json)
svenhjol.charm.mixin.aerial_affinity_enchantment.AllowBlockBreakMixin (charm.mixins.json)
net.minecraft.class_1309:
dev.architectury.mixin.fabric.MixinLivingEntity (architectury.mixins.json)
net.fabricmc.fabric.mixin.entity.event.LivingEntityMixin (fabric-entity-events-v1.mixins.json)
svenhjol.charm.mixin.callback.EntityEquipCallbackMixin (charm.mixins.json)
svenhjol.charm.mixin.callback.EntityHurtCallbackMixin (charm.mixins.json)
svenhjol.charm.mixin.variant_ladders.ClimbTrapdoorMixin (charm.mixins.json)
dev.architectury.mixin.fabric.LivingDeathInvoker (architectury.mixins.json)
svenhjol.charm.mixin.callback.EntityDropXpCallbackMixin (charm.mixins.json)
dev.emi.trinkets.mixin.accessor.LivingEntityAccessor (trinkets.mixins.json)
svenhjol.charm.mixin.armor_invisibility.ReduceAttackDistanceMixin (charm.mixins.json)
me.jellysquid.mods.lithium.mixin.alloc.enum_values.LivingEntityMixin (lithium.mixins.json)
svenhjol.charm.mixin.gentle_potion_particles.RenderTranslucentParticleMixin (charm.mixins.json)
io.github.frqnny.mostructures.mixin.MixinLivingEntity (mostructures.mixins.json)
svenhjol.charm.mixin.callback.EntityDropItemsCallbackMixin (charm.mixins.json)
svenhjol.charm.mixin.snow_storms.SetEntityFreezingMixin (charm.mixins.json)
net.fabricmc.fabric.mixin.item.LivingEntityMixin (fabric-item-api-v1.mixins.json)
dev.emi.trinkets.mixin.LivingEntityMixin (trinkets.mixins.json)
net.fabricmc.fabric.mixin.tool.attribute.LivingEntityMixin (fabric-tool-attribute-api-v1.mixins.json)
svenhjol.charm.mixin.use_totem_from_inventory.CheckInventoryMixin (charm.mixins.json)
reborncore.mixin.common.MixinLivingEntity (reborncore.common.mixins.json)
svenhjol.charm.mixin.callback.EntityJumpCallbackMixin (charm.mixins.json)
svenhjol.charm.mixin.callback.EntityKillCallbackMixin (charm.mixins.json)

-- Player being ticked --
Details:
Entity Type: minecraft:player (net.minecraft.class_3222)
Entity ID: 50
Entity Name: 111
Entity's Exact location: 135.36, 73.00, 117.06
Entity's Block location: World: (135,73,117), Section: (at 7,9,5 in 8,4,7; chunk contains blocks 128,0,112 to 143,255,127), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: null
Stacktrace:
at net.minecraft.class_3222.method_14226(class_3222.java:466)
at net.minecraft.class_3244.method_18784(class_3244.java:212)
at net.minecraft.class_2535.method_10754(class_2535.java:238)
at net.minecraft.class_3242.method_14357(class_3242.java:183)
at net.minecraft.server.MinecraftServer.method_3813(MixinMinecraftServer.java:902)
at net.minecraft.server.MinecraftServer.method_3748(MixinMinecraftServer.java:831)
at net.minecraft.class_1132.method_3748(class_1132.java:96)
at net.minecraft.server.MinecraftServer.method_29741(MixinMinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MixinMinecraftServer.java:270)
at java.base/java.lang.Thread.run(Thread.java:831)
Mixins in Stacktrace:
net.minecraft.class_3222:
net.fabricmc.fabric.mixin.screenhandler.ServerPlayerEntityMixin (fabric-screen-handler-api-v1.mixins.json)
net.fabricmc.fabric.mixin.container.ServerPlayerEntityAccessor (fabric-containers-v0.mixins.json)
dev.architectury.mixin.fabric.MixinServerPlayer (architectury.mixins.json)
net.fabricmc.fabric.mixin.entity.event.ServerPlayerEntityMixin (fabric-entity-events-v1.mixins.json)
me.shedaniel.cloth.mixin.common.events.MixinServerPlayerEntity (cloth-common-events-v1.mixins.json)
dev.onyxstudios.cca.mixin.entity.common.MixinServerPlayerEntity (mixins.cardinal_components_entity.json)
dev.architectury.mixin.fabric.LivingDeathInvoker (architectury.mixins.json)
squeek.appleskin.mixin.ServerPlayerEntityMixin (appleskin.mixins.json)
net.fabricmc.fabric.mixin.container.MixinServerPlayerEntity (fabric-containers-v0.accurate.mixins.json)
net.fabricmc.fabric.mixin.event.interaction.MixinServerPlayerEntity (fabric-events-interaction-v0.mixins.json)
svenhjol.charm.mixin.accessor.ServerPlayerAccessor (charm.mixins.json)
net.minecraft.class_3244:
net.fabricmc.fabric.mixin.networking.ServerPlayNetworkHandlerMixin (fabric-networking-api-v1.mixins.json)
dev.architectury.mixin.fabric.MixinServerGamePacketListenerImpl (architectury.mixins.json)
net.minecraft.class_2535:
net.fabricmc.fabric.mixin.networking.ClientConnectionMixin (fabric-networking-api-v1.mixins.json)
net.minecraft.server.MinecraftServer:
svenhjol.charm.mixin.accessor.MinecraftServerAccessor (charm.mixins.json)
net.fabricmc.fabric.mixin.event.lifecycle.MinecraftServerMixin (fabric-lifecycle-events-v1.mixins.json)
com.ishland.c2me.mixin.metrics.MixinMinecraftServer (c2me.mixins.json)
net.fabricmc.fabric.mixin.resource.loader.MinecraftServerMixin (fabric-resource-loader-v0.mixins.json)
ru.bclib.mixin.common.MinecraftServerMixin (bclib.mixins.common.json)
svenhjol.charm.mixin.callback.LoadServerFinishCallbackMixin (charm.mixins.json)
com.ishland.c2me.mixin.chunkscheduling.mid_tick_chunk_tasks.MixinMinecraftServer (c2me.mixins.json)
net.minecraft.class_1132:
fi.dy.masa.litematica.mixin.MixinIntegratedServer (mixins.litematica.json)
dev.architectury.mixin.fabric.client.MixinIntegratedServer (architectury.mixins.json)

-- System Details --
Details:
Minecraft Version: 1.17.1
Minecraft Version ID: 1.17.1
Operating System: Windows 10 (amd64) version 10.0
Java Version: 16.0.1, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 3815607528 bytes (3638 MiB) / 5314183168 bytes (5068 MiB) up to 6442450944 bytes (6144 MiB)
CPUs: 12
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Identifier: Intel64 Family 6 Model 165 Stepping 2
Microarchitecture: unknown
Frequency (GHz): 2.59
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 12
Graphics card #0 name: NVIDIA GeForce RTX 2070
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x1f14
Graphics card #0 versionInfo: DriverVersion=30.0.14.7111
Memory slot #0 capacity (MB): 8192.00
Memory slot #0 clockSpeed (GHz): 3.20
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 8192.00
Memory slot #1 clockSpeed (GHz): 3.20
Memory slot #1 type: DDR4
Virtual memory max (MB): 28510.75
Virtual memory used (MB): 19612.65
Swap memory total (MB): 12288.00
Swap memory used (MB): 199.88
JVM Flags: 6 total; -XX:+UseG1GC -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmn256m -Xmx6144m
Fabric Mods:
appleskin: AppleSkin mc1.17-2.0.0
architectury: Architectury 2.2.21
autoconfig1u: Auto Config v1 Updated 3.3.1
bclib: BCLib 0.2.2
bettersodiumvideosettingsbutton: Better Sodium Video Settings Button 2.0.0
c2me: Concurrent Chunk Management Engine 0.2.0+alpha.2.0
cardinal-components-base: Cardinal Components API (base) 3.0.0
cardinal-components-entity: Cardinal Components API (entities) 3.0.0
charm: Charm 3.3.0
cloth-api: Cloth API 2.0.54
cloth-basic-math: Cloth Basic Math 0.5.1
cloth-client-events-v0: Cloth Client Events v0 2.0.54
cloth-common-events-v1: Cloth Common Events v1 2.0.54
cloth-config2: Cloth Config v4 5.0.34
cloth-datagen-api-v1: Cloth Datagen v1 2.0.54
cloth-scissors-api-v1: Cloth Scissors API v1 2.0.54
cloth-utils-v1: Cloth Utils v1 2.0.54
com_electronwill_night-config_core: core 3.6.2
com_electronwill_night-config_toml: toml 3.6.2
com_moandjiezana_toml_toml4j: toml4j 0.7.2
customsplashscreen: Custom Splash Screen 1.1.0
fabric: Fabric API 0.37.0+1.17
fabric-api-base: Fabric API Base 0.3.0+a02b4463d5
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.2.0+2b5c62d018
fabric-biome-api-v1: Fabric Biome API (v1) 3.1.11+c345aea818
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.5+a02b446318
fabric-command-api-v1: Fabric Command API (v1) 1.1.2+6cefd57718
fabric-commands-v0: Fabric Commands (v0) 0.2.2+92519afa18
fabric-containers-v0: Fabric Containers (v0) 0.1.12+a02b446318
fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.2+a02b446318
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.5+be9da31018
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.11+6cefd57718
fabric-entity-events-v1: Fabric Entity Events (v1) 1.1.0+a02b446318
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.9+a722d8c018
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+92519afa18
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.7+6cefd57718
fabric-item-api-v1: Fabric Item API (v1) 1.2.4+a02b446318
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.10+b7ab612118
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.4+a02b446318
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.2+36b77c3e18
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.4+a02b44633d
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.4+a02b446318
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+92519afa18
fabric-models-v0: Fabric Models (v0) 0.3.0+a02b446318
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.12+6cefd57718
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.11+a02b446318
fabric-networking-v0: Fabric Networking (v0) 0.3.2+92519afa18
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.10.9+b7ab612118
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.3+a02b446318
fabric-particles-v1: Fabric Particles (v1) 0.2.4+a02b446318
fabric-permissions-api-v0: fabric-permissions-api 0.1-SNAPSHOT
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.10+e2961fee18
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.4+5f02c96918
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.8+a02b446318
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.0+a02b446318
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+a02b4463d5
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.13+a02b446318
fabric-rendering-v0: Fabric Rendering (v0) 1.1.2+92519afa18
fabric-rendering-v1: Fabric Rendering (v1) 1.6.0+a02b446318
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.7+b7ab61213d
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.4+155f865c18
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.8+a02b446318
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.12+6cefd57718
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.4+a02b446318
fabric-textures-v0: Fabric Textures (v0) 1.0.6+a02b446318
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.12+b7ab612118
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.0.0+3fe3c3f518
fabricloader: Fabric Loader 0.11.6
fallingtree: FallingTree 2.12.1
indium: Indium 1.0.0
inventoryhud: Inventory HUD + 3.3.2
inventoryprofilesnext: Inventory Profiles Next 0.8.2
iris: Iris 1.1.0
java: OpenJDK 64-Bit Server VM 16
litematica: Litematica 0.0.0-dev.20210713.103711
lithium: Lithium 0.7.3
malilib: MaLiLib 0.10.0-dev.24
minecraft: Minecraft 1.17.1
mixintrace: MixinTrace 1.1.0+1.17
modmenu: Mod Menu 2.0.2
mostructures: Mo' Structures 1.2.1-1.17
omega-config: OmegaConfig 1.0.8
reborncore: Reborn Core 5.0.3-beta+build.55
reeses-sodium-options: Reese's Sodium Options 1.1.1
roughlyenoughitems: Roughly Enough Items 6.0.264-alpha
smootherbedrock: Smoother Bedrock 1.0.1
sodium: Sodium 0.3.0+IRIS1-rev.7491e3a
sodium-extra: Sodium Extra 0.3.2
spark: spark ${pluginVersion}
starlight: Starlight 1.0.0-RC3+fabric.2b7d7ae
team_reborn_energy: Energy 0.1.1
techreborn: Tech Reborn 5.0.3-beta+build.55
torohealth: ToroHealth Damage Indicators 1.17-fabric-7
trinkets: Trinkets 3.0.1
voxelmap: VoxelMap 1.10.15
wthit: wthit 3.7.0
Player Count: 1 / 8; [class_3222['111'/50, l='ServerLevel[新的世界]', x=135.36, y=73.00, z=117.06]]
Data Packs: vanilla (incompatible), Fabric Mods
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fabric'

commented

Duplicate of #107 - hold an item in your hand or wear armour to avoid it for now

commented

Duplicate of #107, fixed in 3.0.2