Defuse

Loads particles and sounds from a resource pack for entities that can be defused by a staff.

Properties

Link copied to clipboard
const val FILE_NAME: String

The file name of the entity defuse data in the root of resource packs.

Functions

Link copied to clipboard
protected open override fun apply(prepared: Map<Identifier, BlockState>, manager: ResourceManager, profiler: Profiler)
Link copied to clipboard

Gets the block state, whose particles should be shown and sound should be played, when an entity gets defused by a staff.

Link copied to clipboard
protected open override fun prepare(manager: ResourceManager, profiler: Profiler): Map<Identifier, BlockState>

Inherited functions

Link copied to clipboard
open fun getName(): String
Link copied to clipboard
override fun reload(synchronizer: ResourceReloader.Synchronizer, manager: ResourceManager, prepareProfiler: Profiler, applyProfiler: Profiler, prepareExecutor: Executor, applyExecutor: Executor): CompletableFuture<Void>