Difference between revisions of "JCM:Sound Looper"
From The District of Joban
Views
Actions
Namespaces
Variants
Tools
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{InfoBox block|id=jsblock:sound_looper|title=Sound Looper|image=JCM_Sound_Looper.png|type=Block|transparent=No|item_group= | {{InfoBox block|id=jsblock:sound_looper|title=Sound Looper|image=JCM_Sound_Looper.png|type=Block|transparent=No|item_group=JCM Blocks|light_level=0|since=1.0.8|author=LX86|hardness=0.8|general_category=General Information|other_category=Other Information}} | ||
A '''Sound Looper''' is a block that plays sound repeatedly in a certain interval. | A '''Sound Looper''' is a block that plays sound repeatedly in a certain interval. | ||
Line 8: | Line 8: | ||
# Follow the GUI Instructions. | # Follow the GUI Instructions. | ||
# On the configured interval, the following will be executed: If the sound looper is configured to need redstone power, it will not play if there's no power. If the range is limited, it will only play the sound to the player between the 2 positions. Otherwise, it will play the sound to everyone. | # On the configured interval, the following will be executed: If the sound looper is configured to need redstone power, it will not play if there's no power. If the range is limited, it will only play the sound to the player between the 2 positions. Otherwise, it will play the sound to everyone. | ||
=== Crafting Recipe === | |||
{{Crafting 3x3|Minecraft Smooth stone.png|Minecraft Redstone.png|C2=2|res=JCM Sound Looper.png}} | |||
=== Block Entity === | === Block Entity === |
Latest revision as of 21:44, 8 October 2022
Sound Looper
General Information
Block ID | jsblock:sound_looper |
---|---|
Item Group | JCM Blocks |
Transparent | No |
Light Level | 0 |
Other Information
Added in | v1.0.8 |
---|---|
Created by | LX86 |
A Sound Looper is a block that plays sound repeatedly in a certain interval.
Usage
- Right Click with a brush to configure the Sound Looper
- Follow the GUI Instructions.
- On the configured interval, the following will be executed: If the sound looper is configured to need redstone power, it will not play if there's no power. If the range is limited, it will only play the sound to the player between the 2 positions. Otherwise, it will play the sound to everyone.
Crafting Recipe
Block Entity
This block has a block entity, and stores the following data:
Name | Type | Description | Default Value |
---|---|---|---|
pos1 | long | The first set of positions encoded in Long | 0L |
pos2 | long | The second set of positions encoded in Long | 0L |
limit_range | boolean | Whether the range should be limited between pos1 and pos2 | 0b |
sound_id | string | The Sound ID to play | "" |
volume | float | The volume where the sound will play | 1.0f |
Issues
The release of JCM 1.1.2 has to be postponed due to the method parameters of ClientboundCustomSoundPacket being changed in 1.19, a mapping is later made to support 1.19 and older versions.
Version | Changes Made |
---|---|
v1.0.8 | Added Sound Looper |
v1.1.2 | Sound looper may now be limited in a range |