Index

A B C E F G H I L M N O P R S T W 
All Classes and Interfaces|All Packages|Constant Field Values

A

addRadar(BlockPos) - Method in class net.nullved.pmweatherapi.radar.RadarStorage
 
addRadars(Collection<BlockPos>) - Method in class net.nullved.pmweatherapi.radar.RadarStorage
 
APIFeature - Class in net.nullved.pmweatherapi.v2
 
APIFeature(ResourceLocation, Class<?>) - Constructor for class net.nullved.pmweatherapi.v2.APIFeature
 
APIFeatures - Class in net.nullved.pmweatherapi.v2
 
APIFeatures() - Constructor for class net.nullved.pmweatherapi.v2.APIFeatures
 

B

BlockBehaviourMixin - Class in net.nullved.pmweatherapi.mixin
 
BlockBehaviourMixin() - Constructor for class net.nullved.pmweatherapi.mixin.BlockBehaviourMixin
 
blockEntity() - Method in record class net.nullved.pmweatherapi.client.render.RenderData
Returns the value of the blockEntity record component.

C

client() - Static method in class net.nullved.pmweatherapi.radar.NearbyRadars
Get the NearbyRadars instance for the client
client() - Static method in class net.nullved.pmweatherapi.storm.NearbyStorms
Get the NearbyStorms instance for the client
combinedLightIn() - Method in record class net.nullved.pmweatherapi.client.render.RenderData
Returns the value of the combinedLightIn record component.
combinedOverlayIn() - Method in record class net.nullved.pmweatherapi.client.render.RenderData
Returns the value of the combinedOverlayIn record component.

E

enableFeatures(APIFeature...) - Static method in class net.nullved.pmweatherapi.v2.APIFeatures
 
equals(Object) - Method in record class net.nullved.pmweatherapi.client.render.RenderData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.nullved.pmweatherapi.network.S2CRadarsPacket
Indicates whether some other object is "equal to" this one.
ExampleOverlay - Class in net.nullved.pmweatherapi.example
This is an example overlay that draws a dot at every nearby radar's position
ExampleOverlay() - Constructor for class net.nullved.pmweatherapi.example.ExampleOverlay
 

F

factory() - Static method in class net.nullved.pmweatherapi.data.PMWSavedData
Gets the factory for loading the saved data
forRadarNearBlock(BlockPos, double, Consumer<BlockPos>) - Method in class net.nullved.pmweatherapi.radar.NearbyRadars
Executes the given Consumer for each BlockPos of a RadarBlock in a defined radius around the block
forRadarNearChunk(ChunkPos, double, Consumer<BlockPos>) - Method in class net.nullved.pmweatherapi.radar.NearbyRadars
Executes the given Consumer for each BlockPos of a RadarBlock in a defined radius around the center of the chunk
forStormNearBlock(BlockPos, double, Consumer<Storm>) - Method in class net.nullved.pmweatherapi.storm.NearbyStorms
Executes the given Consumer for each Storm in a defined radius around the block
forStormNearChunk(ChunkPos, double, Consumer<Storm>) - Method in class net.nullved.pmweatherapi.storm.NearbyStorms
Executes the given Consumer for each Storm in a defined radius around the center of the chunk

G

get(ResourceKey<Level>) - Static method in class net.nullved.pmweatherapi.radar.NearbyRadars
Get NearbyRadars for the given dimension
get(ResourceKey<Level>) - Static method in class net.nullved.pmweatherapi.storm.NearbyStorms
Get NearbyStorms for the given dimension
get(Level) - Static method in class net.nullved.pmweatherapi.radar.NearbyRadars
Get NearbyRadars for the given level
get(Level) - Static method in class net.nullved.pmweatherapi.storm.NearbyStorms
Get NearbyStorms for the given level
getAllRadars() - Method in class net.nullved.pmweatherapi.radar.RadarStorage
 
getID() - Method in interface net.nullved.pmweatherapi.client.render.IRadarOverlay
The ID of this overlay, defined by IRadarOverlay.getModID() and IRadarOverlay.getIDPath()
getIDPath() - Method in interface net.nullved.pmweatherapi.client.render.IRadarOverlay
If not overriden, this method returns the class name of the implementor converted to snake case
getLevel() - Method in class net.nullved.pmweatherapi.client.radar.RadarClientStorage
Gets the level associated with this RadarClientStorage
getLevel() - Method in class net.nullved.pmweatherapi.radar.RadarServerStorage
Gets the level associated with this RadarServerStorage
getLevel() - Method in class net.nullved.pmweatherapi.radar.RadarStorage
 
getManager() - Method in class net.nullved.pmweatherapi.v2.APIFeature
 
getModID() - Method in interface net.nullved.pmweatherapi.client.render.IRadarOverlay
 
getModID() - Method in class net.nullved.pmweatherapi.example.ExampleOverlay
 
getOverlays() - Static method in class net.nullved.pmweatherapi.client.render.RadarOverlays
 
getRadar(ResourceKey<Level>) - Static method in class net.nullved.pmweatherapi.data.PMWStorages
Gets a RadarServerStorage for the given dimension
getRadar(Level) - Static method in class net.nullved.pmweatherapi.data.PMWStorages
Gets a RadarServerStorage for the given dimension
getRadars() - Static method in class net.nullved.pmweatherapi.client.data.PMWClientStorages
Gets the radar storage for the dimension this client is currently in
getRadarsInChunk(ChunkPos) - Method in class net.nullved.pmweatherapi.radar.RadarStorage
 
getTag() - Method in class net.nullved.pmweatherapi.data.PMWSavedData
Gets the data loaded from the level

H

handle(Player) - Method in record class net.nullved.pmweatherapi.network.S2CRadarsPacket
Handles the packet on the CLIENT SIDE
hashCode() - Method in record class net.nullved.pmweatherapi.client.render.RenderData
Returns a hash code value for this object.
hashCode() - Method in record class net.nullved.pmweatherapi.network.S2CRadarsPacket
Returns a hash code value for this object.

I

init(Level) - Static method in class net.nullved.pmweatherapi.client.data.PMWClientStorages
Initializes this client's storages to be the storages for the given level
INSTANCE - Static variable in class net.nullved.pmweatherapi.example.ExampleOverlay
 
IRadarOverlay - Interface in net.nullved.pmweatherapi.client.render
An interface defining a radar overlay To implement this, you must override IRadarOverlay.render(RenderData, BufferBuilder) and IRadarOverlay.getModID()
isDirty() - Method in class net.nullved.pmweatherapi.data.PMWSavedData
 

L

LOGGER - Static variable in class net.nullved.pmweatherapi.PMWeatherAPI
 

M

MODID - Static variable in class net.nullved.pmweatherapi.PMWeatherAPI
 
multiBufferSource() - Method in record class net.nullved.pmweatherapi.client.render.RenderData
Returns the value of the multiBufferSource record component.

N

NearbyRadars - Class in net.nullved.pmweatherapi.radar
Get all the radars within a given radius around a BlockPos or ChunkPos
NearbyRadarsCommand - Class in net.nullved.pmweatherapi.command
 
NearbyRadarsCommand() - Constructor for class net.nullved.pmweatherapi.command.NearbyRadarsCommand
 
NearbyStorms - Class in net.nullved.pmweatherapi.storm
Get all the storms within a given radius around a BlockPos or ChunkPos
net.nullved.pmweatherapi - package net.nullved.pmweatherapi
 
net.nullved.pmweatherapi.client.data - package net.nullved.pmweatherapi.client.data
 
net.nullved.pmweatherapi.client.radar - package net.nullved.pmweatherapi.client.radar
 
net.nullved.pmweatherapi.client.render - package net.nullved.pmweatherapi.client.render
 
net.nullved.pmweatherapi.command - package net.nullved.pmweatherapi.command
 
net.nullved.pmweatherapi.data - package net.nullved.pmweatherapi.data
 
net.nullved.pmweatherapi.event - package net.nullved.pmweatherapi.event
 
net.nullved.pmweatherapi.example - package net.nullved.pmweatherapi.example
 
net.nullved.pmweatherapi.mixin - package net.nullved.pmweatherapi.mixin
 
net.nullved.pmweatherapi.network - package net.nullved.pmweatherapi.network
 
net.nullved.pmweatherapi.radar - package net.nullved.pmweatherapi.radar
 
net.nullved.pmweatherapi.storm - package net.nullved.pmweatherapi.storm
 
net.nullved.pmweatherapi.v2 - package net.nullved.pmweatherapi.v2
 

O

onChunkLoadEvent(ChunkWatchEvent.Sent) - Static method in class net.nullved.pmweatherapi.event.PMWEvents
 
onLevelLoadEvent(LevelEvent.Load) - Static method in class net.nullved.pmweatherapi.event.PMWEvents
 
onLevelUnloadEvent(LevelEvent.Unload) - Static method in class net.nullved.pmweatherapi.event.PMWEvents
 
onPlayerJoin(PlayerEvent.PlayerLoggedInEvent) - Static method in class net.nullved.pmweatherapi.event.PMWEvents
 
onRegisterCommandsEvent(RegisterCommandsEvent) - Static method in class net.nullved.pmweatherapi.event.PMWEvents
 
OVERLAYS - Static variable in class net.nullved.pmweatherapi.v2.APIFeatures
 

P

PacketNBTFromClientMixin - Class in net.nullved.pmweatherapi.mixin
 
PacketNBTFromClientMixin() - Constructor for class net.nullved.pmweatherapi.mixin.PacketNBTFromClientMixin
 
partialTicks() - Method in record class net.nullved.pmweatherapi.client.render.RenderData
Returns the value of the partialTicks record component.
PMWClientStorages - Class in net.nullved.pmweatherapi.client.data
A class holding the specific storage instances for the client
PMWClientStorages() - Constructor for class net.nullved.pmweatherapi.client.data.PMWClientStorages
 
PMWeatherAPI - Class in net.nullved.pmweatherapi
 
PMWeatherAPI(IEventBus, ModContainer) - Constructor for class net.nullved.pmweatherapi.PMWeatherAPI
 
PMWEvents - Class in net.nullved.pmweatherapi.event
 
PMWEvents() - Constructor for class net.nullved.pmweatherapi.event.PMWEvents
 
PMWNetworking - Class in net.nullved.pmweatherapi.network
The base networking class for PMWeatherAPI
PMWNetworking() - Constructor for class net.nullved.pmweatherapi.network.PMWNetworking
 
PMWSavedData - Class in net.nullved.pmweatherapi.data
The SavedData for PMWeatherAPI
PMWSavedData() - Constructor for class net.nullved.pmweatherapi.data.PMWSavedData
 
PMWSavedData(CompoundTag) - Constructor for class net.nullved.pmweatherapi.data.PMWSavedData
 
PMWStorages - Class in net.nullved.pmweatherapi.data
A class holding maps of dimensions to different storages
PMWStorages() - Constructor for class net.nullved.pmweatherapi.data.PMWStorages
 
poseStack() - Method in record class net.nullved.pmweatherapi.client.render.RenderData
Returns the value of the poseStack record component.

R

RadarClientStorage - Class in net.nullved.pmweatherapi.client.radar
A Radar Storage for the client side.
RadarClientStorage(ResourceKey<Level>) - Constructor for class net.nullved.pmweatherapi.client.radar.RadarClientStorage
DO NOT CALL THIS CONSTRUCTOR!!!
Get a radar storage from PMWClientStorages.getRadars()
RadarOverlays - Class in net.nullved.pmweatherapi.client.render
A class to manage radar overlays.
RadarOverlays() - Constructor for class net.nullved.pmweatherapi.client.render.RadarOverlays
 
RadarRendererMixin - Class in net.nullved.pmweatherapi.mixin
 
RadarRendererMixin() - Constructor for class net.nullved.pmweatherapi.mixin.RadarRendererMixin
 
RADARS - Static variable in class net.nullved.pmweatherapi.data.PMWStorages
 
RADARS - Static variable in class net.nullved.pmweatherapi.v2.APIFeatures
 
RADARS_ID - Static variable in class net.nullved.pmweatherapi.network.PMWNetworking
 
RadarServerStorage - Class in net.nullved.pmweatherapi.radar
A Radar Storage for the server side.
RadarServerStorage(ServerLevel) - Constructor for class net.nullved.pmweatherapi.radar.RadarServerStorage
radarsNearBlock(BlockPos, double) - Method in class net.nullved.pmweatherapi.radar.NearbyRadars
Returns a Set of the BlockPos of RadarBlocks in a defined radius around the block
radarsNearChunk(ChunkPos, double) - Method in class net.nullved.pmweatherapi.radar.NearbyRadars
Returns a Set of the BlockPos of RadarBlocks in a defined radius around the center of the chunk
RadarStorage - Class in net.nullved.pmweatherapi.radar
Saves all the radars to a file to be saved and loaded from
RadarStorage(ResourceKey<Level>) - Constructor for class net.nullved.pmweatherapi.radar.RadarStorage
 
read() - Method in class net.nullved.pmweatherapi.radar.RadarStorage
 
register(CommandDispatcher<CommandSourceStack>) - Static method in class net.nullved.pmweatherapi.command.NearbyRadarsCommand
 
register(Object...) - Static method in class net.nullved.pmweatherapi.network.PMWNetworking
Registers all of PMWeatherAPI's packets.
registerClientboundPacket(CustomPacketPayload.Type<T>, StreamCodec<? super RegistryFriendlyByteBuf, T>, BiConsumer<T, Player>, Object...) - Static method in class net.nullved.pmweatherapi.network.PMWNetworking
Registers a clientbound packet payload
registerOverlay(Supplier<? extends IRadarOverlay>) - Static method in class net.nullved.pmweatherapi.client.render.RadarOverlays
Registers an overlay to be rendered.
registerServerboundPacket(CustomPacketPayload.Type<T>, StreamCodec<? super RegistryFriendlyByteBuf, T>, BiConsumer<T, Player>, Object...) - Static method in class net.nullved.pmweatherapi.network.PMWNetworking
Registers a serverbound packet payload
removeRadar(BlockPos) - Method in class net.nullved.pmweatherapi.radar.RadarStorage
 
removeRadars(Collection<BlockPos>) - Method in class net.nullved.pmweatherapi.radar.RadarStorage
 
render(RenderData, BufferBuilder) - Method in interface net.nullved.pmweatherapi.client.render.IRadarOverlay
Renders objects on top of the radar
render(RenderData, BufferBuilder) - Method in class net.nullved.pmweatherapi.example.ExampleOverlay
 
RenderData - Record Class in net.nullved.pmweatherapi.client.render
A wrapper class to be passed to RenderData
RenderData(BlockEntity, float, PoseStack, MultiBufferSource, int, int) - Constructor for record class net.nullved.pmweatherapi.client.render.RenderData
Creates an instance of a RenderData record class.
renderOverlays(BlockEntity, float, PoseStack, MultiBufferSource, int, int, BufferBuilder) - Static method in class net.nullved.pmweatherapi.client.render.RadarOverlays
Renders all overlays
resetRadars() - Static method in class net.nullved.pmweatherapi.client.data.PMWClientStorages
Resets this client's internal radar storage
rl(String) - Static method in class net.nullved.pmweatherapi.PMWeatherAPI
 

S

S2CRadarsPacket - Record Class in net.nullved.pmweatherapi.network
A packet for sending radar information from Server -> Client (S2C)
S2CRadarsPacket(CompoundTag) - Constructor for record class net.nullved.pmweatherapi.network.S2CRadarsPacket
Creates an instance of a S2CRadarsPacket record class.
S2CRadarsPacket(RegistryFriendlyByteBuf) - Constructor for record class net.nullved.pmweatherapi.network.S2CRadarsPacket
Creates a new S2CRadarsPacket from a RegistryFriendlyByteBuf
save(CompoundTag) - Method in class net.nullved.pmweatherapi.radar.RadarStorage
 
save(CompoundTag, HolderLookup.Provider) - Method in class net.nullved.pmweatherapi.data.PMWSavedData
 
serverSendRadarsToAll(CompoundTag) - Static method in class net.nullved.pmweatherapi.network.PMWNetworking
Sends all radars to all clients
serverSendRadarsToPlayer(CompoundTag, Player) - Static method in class net.nullved.pmweatherapi.network.PMWNetworking
Sends all radars to a specific player
setRadarStorage(RadarStorage) - Method in class net.nullved.pmweatherapi.data.PMWSavedData
Sets the radar storage associated with this level
shouldRecalculate(ChunkPos) - Method in class net.nullved.pmweatherapi.radar.RadarStorage
 
STORMS - Static variable in class net.nullved.pmweatherapi.v2.APIFeatures
 
stormsNearBlock(BlockPos, double) - Method in class net.nullved.pmweatherapi.storm.NearbyStorms
Returns a List of Storms in a defined radius around the block
stormsNearChunk(ChunkPos, double) - Method in class net.nullved.pmweatherapi.storm.NearbyStorms
Returns a List of Storms in a defined radius around the center of the chunk
STREAM_CODEC - Static variable in record class net.nullved.pmweatherapi.network.S2CRadarsPacket
 
syncAdd(Collection<BlockPos>) - Method in class net.nullved.pmweatherapi.radar.RadarServerStorage
Syncs multiple new radars to all clients
syncAdd(BlockPos) - Method in class net.nullved.pmweatherapi.radar.RadarServerStorage
Syncs a new radar to all clients
syncAdd(CompoundTag) - Method in class net.nullved.pmweatherapi.client.radar.RadarClientStorage
Syncs data from a S2CRadarsPacket with operation add into this storage's memory
syncAllToPlayer(Player) - Method in class net.nullved.pmweatherapi.radar.RadarServerStorage
Syncs all radars to the given player
syncRemove(Collection<BlockPos>) - Method in class net.nullved.pmweatherapi.radar.RadarServerStorage
Syncs multiple radar removals to all clients
syncRemove(BlockPos) - Method in class net.nullved.pmweatherapi.radar.RadarServerStorage
Syncs a radar removal to all clients
syncRemove(CompoundTag) - Method in class net.nullved.pmweatherapi.client.radar.RadarClientStorage
Syncs data from a S2CRadarsPacket with operation remove into this storage's memory

T

tag() - Method in record class net.nullved.pmweatherapi.network.S2CRadarsPacket
Returns the value of the tag record component.
toString() - Method in record class net.nullved.pmweatherapi.client.render.RenderData
Returns a string representation of this record class.
toString() - Method in record class net.nullved.pmweatherapi.network.S2CRadarsPacket
Returns a string representation of this record class.
type() - Method in record class net.nullved.pmweatherapi.network.S2CRadarsPacket
Gets the packet type
TYPE - Static variable in record class net.nullved.pmweatherapi.network.S2CRadarsPacket
 

W

write(FriendlyByteBuf) - Method in record class net.nullved.pmweatherapi.network.S2CRadarsPacket
Writes the data into the given FriendlyByteBuf
A B C E F G H I L M N O P R S T W 
All Classes and Interfaces|All Packages|Constant Field Values