LuckyBlock Lib 图标

LuckyBlock Lib

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/luckyblock-lib
资源信息

Minecraft 版本: 1.20.1

平台: fabric

标签: library

资源介绍

LuckyBlock Lib

This is a library mod for all my lucky block mods.

Features

  • Interaction trigger methods: Effects are triggered when the player right-clicks; effects are triggered when the block is destroyed; effects are triggered when a redstone signal is received (whether the signal is on or off).
  • General trigger effects: The block itself is destroyed after triggering; plays the UI_STONECUTTER_TAKE_RESULT sound effect (volume and pitch are both 1.0F); randomly executes preset events (only one event in the current example).
  • Event effects (current example): Generates diamond items, randomly dropping 1-5 diamonds (implemented through the spawnItem method); items are generated at the center of the block's position with a slight projectile speed in a random direction.
  • Potential expansion functions (implemented methods): Entity spawning, which can specify the entity type, quantity range, and custom name to spawn entities (spawnEntity); fluid spawning, which can generate water, lava, or other fluids at the block's position (spawnFluid); structure placement, which can generate a preset structure at a specified position with rotation settings supported (placeStructure); player effects, which can add status effects to the player, and if the same effect already exists, the duration and level are stacked (applyEffectToPlayer); sound playback, supporting the playback of built-in sound effects or custom sound effects (playSound and playCustomSound).
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
TickScale

价格:0 墨喵币
下载量:0

查看详情
DonutTab+

价格:0 墨喵币
下载量:0

查看详情
Unsanitary Food

价格:0 墨喵币
下载量:0

查看详情
PWGood/Adventure Mod

价格:0 墨喵币
下载量:0

查看详情