Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- 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
- clear() - Static method in class net.nullved.pmweatherapi.radar.Radars
- 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.
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.
- 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
- forRadarNearBlock(ResourceKey<Level>, BlockPos, double, Consumer<BlockPos>) - Static method in class net.nullved.pmweatherapi.radar.NearbyRadars
- forRadarNearBlock(Level, BlockPos, double, Consumer<BlockPos>) - Static method in class net.nullved.pmweatherapi.radar.NearbyRadars
- forRadarNearChunk(ResourceKey<Level>, ChunkPos, double, Consumer<BlockPos>) - Static method in class net.nullved.pmweatherapi.radar.NearbyRadars
-
Executes the given
Consumerfor eachBlockPosof aRadarBlockin a defined radius around the center of the chunk - forRadarNearChunk(Level, ChunkPos, double, Consumer<BlockPos>) - Static method in class net.nullved.pmweatherapi.radar.NearbyRadars
-
Executes the given
Consumerfor eachBlockPosof aRadarBlockin a defined radius around the center of the chunk - forStormNearBlock(BlockPos, double, Consumer<Storm>) - Method in class net.nullved.pmweatherapi.storm.Storms
-
Executes the given
Consumerfor eachStormin a defined radius around the block - forStormNearChunk(ChunkPos, double, Consumer<Storm>) - Method in class net.nullved.pmweatherapi.storm.Storms
-
Executes the given
Consumerfor eachStormin a defined radius around the center of the chunk
G
- get(ResourceKey<Level>) - Static method in class net.nullved.pmweatherapi.radar.Radars
- get(ResourceKey<Level>) - Static method in class net.nullved.pmweatherapi.storm.Storms
-
Get
Stormsfor the given dimension - get(Level) - Static method in class net.nullved.pmweatherapi.radar.Radars
- get(Level) - Static method in class net.nullved.pmweatherapi.storm.Storms
-
Get
Stormsfor the given level - getAllDimensions() - Static method in class net.nullved.pmweatherapi.radar.Radars
- getChunksWithRadars() - Method in class net.nullved.pmweatherapi.radar.Radars
- 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
- 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
- getRadarMap() - Method in class net.nullved.pmweatherapi.radar.Radars
- getRadars() - Method in class net.nullved.pmweatherapi.radar.Radars
H
- hashCode() - Method in record class net.nullved.pmweatherapi.client.render.RenderData
-
Returns a hash code value for this object.
I
- 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)andIRadarOverlay.getModID()
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
multiBufferSourcerecord component.
N
- NearbyRadars - Class in net.nullved.pmweatherapi.radar
-
Get all the radars within a given radius around a
BlockPosorChunkPos - NearbyRadars() - Constructor for class net.nullved.pmweatherapi.radar.NearbyRadars
- NearbyRadarsCommand - Class in net.nullved.pmweatherapi.command
- NearbyRadarsCommand() - Constructor for class net.nullved.pmweatherapi.command.NearbyRadarsCommand
- net.nullved.pmweatherapi - package net.nullved.pmweatherapi
- net.nullved.pmweatherapi.client.render - package net.nullved.pmweatherapi.client.render
- net.nullved.pmweatherapi.command - package net.nullved.pmweatherapi.command
- 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.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.PMWGameEventHandler
- onLevelLoadEvent(LevelEvent.Load) - Static method in class net.nullved.pmweatherapi.event.PMWGameEventHandler
- onLevelUnloadEvent(LevelEvent.Save) - Static method in class net.nullved.pmweatherapi.event.PMWGameEventHandler
- onRegisterCommandsEvent(RegisterCommandsEvent) - Static method in class net.nullved.pmweatherapi.event.PMWGameEventHandler
- 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. - PMWeatherAPI - Class in net.nullved.pmweatherapi
- PMWeatherAPI(IEventBus, ModContainer) - Constructor for class net.nullved.pmweatherapi.PMWeatherAPI
- PMWGameEventHandler - Class in net.nullved.pmweatherapi.event
- PMWGameEventHandler() - Constructor for class net.nullved.pmweatherapi.event.PMWGameEventHandler
- poseStack() - Method in record class net.nullved.pmweatherapi.client.render.RenderData
-
Returns the value of the
poseStackrecord component.
R
- 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 - Class in net.nullved.pmweatherapi.radar
-
Gets and manages all the radars for a given dimension
- RADARS - Static variable in class net.nullved.pmweatherapi.v2.APIFeatures
- radarsNearBlock(ResourceKey<Level>, BlockPos, double) - Static method in class net.nullved.pmweatherapi.radar.NearbyRadars
- radarsNearBlock(Level, BlockPos, double) - Static method in class net.nullved.pmweatherapi.radar.NearbyRadars
- radarsNearChunk(ResourceKey<Level>, ChunkPos, double) - Static method in class net.nullved.pmweatherapi.radar.NearbyRadars
- radarsNearChunk(Level, ChunkPos, double) - Static 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() - Constructor for class net.nullved.pmweatherapi.radar.RadarStorage
- readAllRadars() - Static method in class net.nullved.pmweatherapi.radar.RadarStorage
-
Reads all radars from a save or server
For each dimension (net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level>), there is aMapmapping aChunkPosto all the saved radar'sBlockPos's - readFromStorage() - Static method in class net.nullved.pmweatherapi.radar.Radars
- readRadarsForDimension(Map<ChunkPos, Set<BlockPos>>, JsonElement) - Static method in class net.nullved.pmweatherapi.radar.RadarStorage
- register(CommandDispatcher<CommandSourceStack>) - Static method in class net.nullved.pmweatherapi.command.NearbyRadarsCommand
- registerOverlay(Supplier<? extends IRadarOverlay>) - Static method in class net.nullved.pmweatherapi.client.render.RadarOverlays
-
Registers an overlay to be rendered.
- registerRadar(BlockPos) - Method in class net.nullved.pmweatherapi.radar.Radars
- registerRadars(List<BlockPos>) - Method in class net.nullved.pmweatherapi.radar.Radars
- 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
RenderDatarecord class. - renderOverlays(BlockEntity, float, PoseStack, MultiBufferSource, int, int, BufferBuilder) - Static method in class net.nullved.pmweatherapi.client.render.RadarOverlays
-
Renders all overlays
S
- saveAllRadars() - Static method in class net.nullved.pmweatherapi.radar.RadarStorage
-
Saves all radars to data/pmweatherapi/radars.json
- saveRadarsForDimension(ResourceKey<Level>, Radars) - Static method in class net.nullved.pmweatherapi.radar.RadarStorage
- shouldRecalculate(LevelChunk) - Method in class net.nullved.pmweatherapi.radar.Radars
- Storms - Class in net.nullved.pmweatherapi.storm
-
Get all the storms within a given radius around a
BlockPosorChunkPos - STORMS - Static variable in class net.nullved.pmweatherapi.v2.APIFeatures
- stormsNearBlock(BlockPos, double) - Method in class net.nullved.pmweatherapi.storm.Storms
-
Returns a
ListofStorms in a defined radius around the block - stormsNearChunk(ChunkPos, double) - Method in class net.nullved.pmweatherapi.storm.Storms
-
Returns a
ListofStorms in a defined radius around the center of the chunk
T
- toString() - Method in record class net.nullved.pmweatherapi.client.render.RenderData
-
Returns a string representation of this record class.
U
- unregisterRadar(BlockPos) - Method in class net.nullved.pmweatherapi.radar.Radars
- unregisterRadars(List<BlockPos>) - Method in class net.nullved.pmweatherapi.radar.Radars
All Classes and Interfaces|All Packages|Constant Field Values