Nubz' Ancient Flowers
这个小数据包旨在为嗅探兽的古代花朵添加独特的功能,同时避免让玩家觉得这些功能是必须获取的。这样,玩家在花费数小时获得这些花朵后会得到奖励,而不会给那些没有获得的玩家带来不公平的优势。
火把花
这个改动是多次被建议过的。这种植物现在会发光!哇,真是令人惊讶。但等等,它比仅仅发光要独特一些。火把花现在像电池一样储存光线。当站在较高光照等级下时,它会缓慢充电,直到发出的光照等级与环境相同。当光照等级降低时,它会缓慢失去电荷,直到再次发出与环境相同的光照等级。关于火把花的更多详细信息见下文。
这些变化的光照等级也可以被侦测器检测到,从而允许检测环境中微小的光照等级变化。
捕蝇草
捕蝇草现在可用于储存雨水。下雨时,捕蝇草有小概率装满水。可以通过右键点击捕蝇草(手持空瓶)来收集这些雨水。这会排空捕蝇草并装满瓶子。但并非总是从这株植物中流出水。根据植物所在的土壤类型,你可以将瓶子填充为;水、平凡药水、浓稠药水、尴尬药水或中毒药水。更多关于捕蝇草的信息,例如需要何种土壤才能制作何种药水,见下文。
如果你因为进度方面的顾虑而不喜欢可以从这些植物中获得尴尬药水这一事实,你可以通过输入以下命令禁用它:'/function nubz_ancient_flowers:toggle_pitcher_awkward_potion'。
当捕蝇草装满水或被瓶子排空时,可以被侦测器检测到。
详情
火把花
剧透
火把花会发出光线。
- 光照等级在 0 - 15 之间变化,具体取决于火把花拥有的电荷量。电荷量越高,光照等级越高。
- 火把花会被动地缓慢且随机地损失电荷。
- 火把花在光照环境下会缓慢且随机地获得电荷,直到达到最大值。最大值取决于光照等级。
- 改变其电荷量的随机几率为每刻 1/800。
- 在火把花上方放置方块会禁用它,并重置其电荷。
- 光照等级的变化可以被侦测器检测到。
- 盆栽的火把花也会发光。
- 只有完全成熟的火把花才会发光。当火把花作物完全成熟时,它将开始充电并发光。
捕蝇草
剧透
捕蝇草储存雨水。
- 为了储存雨水,捕蝇草必须完全成熟,并且在下雨时必须能直接看到天空。
- 下雨时,捕蝇草有小概率装满水(每刻 1/3200)。
- 装满水的捕蝇草可以右键点击空瓶来装满瓶子并排空捕蝇草。
- 根据捕蝇草所在的土壤类型,瓶子会填充普通水、尴尬药水、浓稠药水、平凡药水或中毒药水。
- 水瓶:草方块、泥土、粗泥、根土、耕地。
- 平凡药水:苔藓块。
- 浓稠药水:泥巴、泥泞的红树林气根。
- 尴尬药水:菌丝体。(可禁用。如果禁用,菌丝体会使瓶子填充中毒药水。)
- 中毒药水:灰化土。
- 当捕蝇草被填充或排空时,可以被侦测器检测到。
- 要禁用尴尬药水,请输入:
'/function nubz_ancient_flowers:toggle_pitcher_awkward_potion'
重要提示
由于数据包的局限性,有几件事需要注意。
- 侦测器还会检测到火把花上方 1 个方块的方块更新。这是因为使用了光方块,并且该光方块放置在火把花上方 1 个方块处。这也是为什么在上方放置方块时会禁用并重置它的原因。
- 你不能手持空瓶时破坏装满水的捕蝇草。这是因为在花上方放置了一个交互实体来检查右键点击。如果不手持空瓶,或者先排空捕蝇草然后再破坏它,你可以正常破坏装满水的捕蝇草。
- 只有玩家放置的花朵才有效。使用命令或发射器放置的花朵将不具备其独特功能。向这些花朵添加功能的检查是在玩家放置它们时进行的。 constantly 检查整个世界中未由玩家放置的花朵资源消耗太大,因此不这样做。
Nubz' Ancient Flowers
This small datapack aims to add unique functionalities to the Sniffers ancient flowers, without it feeling like they are things you must have. This way, players are rewarded after spending hours getting these flowers, without giving an unfair advantage to those who didn't.
Torchflower
This change is one that has been suggested many times over. This plant now gives of light! wow, what a surprise. But wait, it's a bit more unique than only giving off light. The torchflower now stores light like a battery. When standing in higher light levels, it will slowly charge up until it gives off the same light level as the environment. When the light level decreases, it slowly loses charge until, again, it gives off the same light level as the environment. More details about the torchflower can be found below.
These changing light levels can also be detected by an observer, allowing the detection of small light level changes in the environment.
Pitcher Plant
The pitcher plant can now be used to store rainwater. While it's raining, the pitcher plant has a small chance of filling up with water. This rainwater can be collected by right clicking on the pitcher plant with an empty bottle. This empties the pitcher plant and fills the bottle. But it isn't always water that comes out of this plant. Depending on the soil the plant is standing on, you can fill the bottle with either; water, mundane potion, thick potion, awkward potion, or a potion of poison. More details on the pitcher plant, such as what type of soil you need for what potion, can be found below.
If you don't like the fact you can gain awkward potions from these plants due to progression concerns, you can disable it by typing: '/function nubz_ancient_flowers:toggle_pitcher_awkward_potion'.
When a pitcher plant fills with water, or when it is emptied with a bottle, can be detected with an observer.
Details
Torchflower
Spoiler
The Torchflower emits light.
- The light level ranges between 0 - 15 depending on the amount of charge the torchflower has. Higher charge means a higher light level.
- The Torchflower slowly and randomly loses charge passively.
- The torchflower slowly and randomly gains charge while standing in light up to a maximum. The maximum depends on the light level.
- The random chance of changing its charge amount is 1/800 per tick.
- Placing a block above the torchflower disables it, and resets its charge.
- The changing of light level can be detected with an observer.
- A potted torchflower also emits light.
- Only fully grown torchflowers emit light. When a torchflower crop fully grows, it will start charging and emitting light.
Pitcher Plant
Spoiler
The Pitcher Plant stores rainwater.
- To store rainwater, the Pitcher plant must be fully grown, and must have a clear sight of the sky while its raining.
- While it is raining, the pitcher plant has a small chance of filling with water (1/3200 per tick).
- A filled pitcher plant can be right clicked with an empty bottle to fill the bottle and empty the pitcher plant.
- Depending on the soil the Pitcher Plant is on, the bottle fills with either normal water, awkward potion, thick potion, mundane potion, or potion of poison.
- Water Bottle: Grass blocks, dirt, coarse dirt, rooted dirt, farmland.
- Mundane Potion: Moss block.
- Thick potion: Mud, Muddy Mangrove Roots.
- Awkward Potion: Mycelium. (can be disabled. If disabled, Mycelium fills the bottle with potion of poison.)
- Potion of Poison: Podzol.
- When a pitcher plant is filled or emptied, it can be detected with an observer.
- To disable the awkward potions, type:
'/function nubz_ancient_flowers:toggle_pitcher_awkward_potion'
Important Notes
Due to the limitations of datapacks, there are a couple things to note.
- Observers also detect block updates for torchflowers 1 block above the torchflower. This is due to the fact the light block is used, and this is placed 1 block above the torchflower. This is also why its disabled and reset when you place a block above it.
- You can't break a filled pitcher plant while holding an empty bottle. This is due to an interaction entity placed over the flower to check for a right click. You can break the filled pitcher plant normally by not holding an empty bottle, or by emptying the pitcher plant, and then breaking it.
- Only Flowers placed by players will work. Flowers placed with commands or dispensers will not have their unique functionality. The check for adding functionality to these flowers is made when it's placed by a player. It's simply too resource intensive to constantly check the entire world for flowers not placed by players, and is therefore not done.
评论 0
登录后参与评分
还没有评论,来抢沙发吧