Index
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
blockEntityrecord component.
C
- client() - Static method in class net.nullved.pmweatherapi.radar.NearbyRadars
-
Get the
NearbyRadarsinstance for the client - client() - Static method in class net.nullved.pmweatherapi.storm.NearbyStorms
-
Get the
NearbyStormsinstance for the client - combinedLightIn() - Method in record class net.nullved.pmweatherapi.client.render.RenderData
-
Returns the value of the
combinedLightInrecord component. - combinedOverlayIn() - Method in record class net.nullved.pmweatherapi.client.render.RenderData
-
Returns the value of the
combinedOverlayInrecord component.
D
- Dead(Storm) - Constructor for class net.nullved.pmweatherapi.event.StormEvent.Dead
- Dead(Vorticy) - Constructor for class net.nullved.pmweatherapi.event.VorticyEvent.Dead
- deadVorticy(Vorticy, Operation<Boolean>) - Method in class net.nullved.pmweatherapi.mixin.StormMixin
- Dying(Storm) - Constructor for class net.nullved.pmweatherapi.event.StormEvent.Dying
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 lightning strike and fades out
- 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
- forRadarNearChunk(ChunkPos, double, Consumer<BlockPos>) - Method in class net.nullved.pmweatherapi.radar.NearbyRadars
-
Executes the given
Consumerfor eachBlockPosof aRadarBlockin a defined radius around the center of the chunk - forRadarNearPlayer(Player, double, Consumer<BlockPos>) - Method in class net.nullved.pmweatherapi.radar.NearbyRadars
- forStormNearBlock(BlockPos, double, Consumer<Storm>) - Method in class net.nullved.pmweatherapi.storm.NearbyStorms
-
Executes the given
Consumerfor eachStormin a defined radius around the block - forStormNearChunk(ChunkPos, double, Consumer<Storm>) - Method in class net.nullved.pmweatherapi.storm.NearbyStorms
-
Executes the given
Consumerfor eachStormin a defined radius around the center of the chunk - forStormNearPlayer(Player, double, Consumer<Storm>) - Method in class net.nullved.pmweatherapi.storm.NearbyStorms
G
- get(ResourceKey<Level>) - Static method in class net.nullved.pmweatherapi.radar.NearbyRadars
-
Get
NearbyRadarsfor the given dimension - get(ResourceKey<Level>) - Static method in class net.nullved.pmweatherapi.storm.NearbyStorms
-
Get
NearbyStormsfor the given dimension - get(Level) - Static method in class net.nullved.pmweatherapi.radar.NearbyRadars
-
Get
NearbyRadarsfor the given level - get(Level) - Static method in class net.nullved.pmweatherapi.storm.NearbyStorms
-
Get
NearbyStormsfor 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()andIRadarOverlay.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
- getLightning() - Method in class net.nullved.pmweatherapi.client.event.LightningEvent
- 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
- getNewStage() - Method in class net.nullved.pmweatherapi.event.StormEvent.StageChanged
- 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
RadarServerStoragefor the given dimension - getRadar(Level) - Static method in class net.nullved.pmweatherapi.data.PMWStorages
-
Gets a
RadarServerStoragefor 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
- getStorm() - Method in class net.nullved.pmweatherapi.event.StormEvent
- getStormID() - Method in class net.nullved.pmweatherapi.event.StormEvent
- getTag() - Method in class net.nullved.pmweatherapi.data.PMWSavedData
-
Gets the data loaded from the level
- getVorticy() - Method in class net.nullved.pmweatherapi.event.VorticyEvent
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(boolean, RenderData, BufferBuilder)andIRadarOverlay.getModID() - isDirty() - Method in class net.nullved.pmweatherapi.data.PMWSavedData
L
- LightningEvent - Class in net.nullved.pmweatherapi.client.event
-
This event only exists on the client! Called when a lightning strike happens
- LightningEvent(Lightning) - Constructor for class net.nullved.pmweatherapi.client.event.LightningEvent
- 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
multiBufferSourcerecord component.
N
- NearbyRadars - Class in net.nullved.pmweatherapi.radar
-
Get all the radars within a given radius around a
BlockPosorChunkPos - 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
BlockPosorChunkPos - net.nullved.pmweatherapi - package net.nullved.pmweatherapi
- net.nullved.pmweatherapi.client.data - package net.nullved.pmweatherapi.client.data
- net.nullved.pmweatherapi.client.event - package net.nullved.pmweatherapi.client.event
- 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
- New(Storm) - Constructor for class net.nullved.pmweatherapi.event.StormEvent.New
- New(Vorticy) - Constructor for class net.nullved.pmweatherapi.event.VorticyEvent.New
- newLightning(Vec3, Level, Operation<Lightning>) - Method in class net.nullved.pmweatherapi.mixin.WeatherHandlerClientMixin
- newVorticy(Storm, float, float, float, int, Operation<Vorticy>) - Method in class net.nullved.pmweatherapi.mixin.StormMixin
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
partialTicksrecord 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
SavedDatafor 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
poseStackrecord 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 fromPMWClientStorages.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
-
DO NOT CALL THIS CONSTRUCTOR!!!
Get a radar storage fromPMWStorages.getRadar(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level>) - radarsNearBlock(BlockPos, double) - Method in class net.nullved.pmweatherapi.radar.NearbyRadars
- radarsNearChunk(ChunkPos, double) - Method in class net.nullved.pmweatherapi.radar.NearbyRadars
- radarsNearPlayer(Player, double) - Method in class net.nullved.pmweatherapi.radar.NearbyRadars
- 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(boolean, RenderData, BufferBuilder) - Method in interface net.nullved.pmweatherapi.client.render.IRadarOverlay
-
Renders objects on top of the radar
- render(boolean, 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
RenderDatarecord class. - renderOverlays(RenderData, BufferBuilder, boolean) - 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
S2CRadarsPacketrecord class. - S2CRadarsPacket(RegistryFriendlyByteBuf) - Constructor for record class net.nullved.pmweatherapi.network.S2CRadarsPacket
-
Creates a new
S2CRadarsPacketfrom aRegistryFriendlyByteBuf - 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
- stageChanged(Storm, int, Operation<Void>) - Method in class net.nullved.pmweatherapi.mixin.StormMixin
- StageChanged(Storm, int) - Constructor for class net.nullved.pmweatherapi.event.StormEvent.StageChanged
- stormDead(Storm, boolean, Operation<Void>) - Method in class net.nullved.pmweatherapi.mixin.StormMixin
- StormEvent - Class in net.nullved.pmweatherapi.event
-
Base Storm Event
- StormEvent(Storm) - Constructor for class net.nullved.pmweatherapi.event.StormEvent
- StormEvent.Dead - Class in net.nullved.pmweatherapi.event
-
Called when a
Stormis dead and removed - StormEvent.Dying - Class in net.nullved.pmweatherapi.event
-
Called every tick a
Stormis dying - StormEvent.New - Class in net.nullved.pmweatherapi.event
-
Called when a new
Stormis created - StormEvent.StageChanged - Class in net.nullved.pmweatherapi.event
-
Called when a
Storm's stage changes - stormInitFirstTime(Storm, long, Operation<Void>) - Method in class net.nullved.pmweatherapi.mixin.StormMixin
- StormMixin - Class in net.nullved.pmweatherapi.mixin
- StormMixin() - Constructor for class net.nullved.pmweatherapi.mixin.StormMixin
- STORMS - Static variable in class net.nullved.pmweatherapi.v2.APIFeatures
- stormsNearBlock(BlockPos, double) - Method in class net.nullved.pmweatherapi.storm.NearbyStorms
-
Returns a
ListofStorms in a defined radius around the block - stormsNearChunk(ChunkPos, double) - Method in class net.nullved.pmweatherapi.storm.NearbyStorms
-
Returns a
ListofStorms in a defined radius around the center of the chunk - stormsNearPlayer(Player, double) - Method in class net.nullved.pmweatherapi.storm.NearbyStorms
- 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
S2CRadarsPacketwith operationaddinto 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
S2CRadarsPacketwith operationremoveinto this storage's memory
T
- tag() - Method in record class net.nullved.pmweatherapi.network.S2CRadarsPacket
-
Returns the value of the
tagrecord component. - ticksSinceDyingChanged(Storm, int, Operation<Void>) - Method in class net.nullved.pmweatherapi.mixin.StormMixin
- 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
V
- VorticyEvent - Class in net.nullved.pmweatherapi.event
-
Base Vorticy Event
- VorticyEvent(Vorticy) - Constructor for class net.nullved.pmweatherapi.event.VorticyEvent
- VorticyEvent.Dead - Class in net.nullved.pmweatherapi.event
-
Called when a
Vorticydies - VorticyEvent.New - Class in net.nullved.pmweatherapi.event
-
Called when a new
Vorticyis created
W
- WeatherHandlerClientMixin - Class in net.nullved.pmweatherapi.mixin
- WeatherHandlerClientMixin() - Constructor for class net.nullved.pmweatherapi.mixin.WeatherHandlerClientMixin
- write(FriendlyByteBuf) - Method in record class net.nullved.pmweatherapi.network.S2CRadarsPacket
-
Writes the data into the given
FriendlyByteBuf
All Classes and Interfaces|All Packages|Constant Field Values