SpongeForge | A Forge mod that implements SpongeAPI | Video Game library
kandi X-RAY | SpongeForge Summary
kandi X-RAY | SpongeForge Summary
A Forge mod that implements SpongeAPI
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Populate random generator
- Determine the event type for the given populator
- Get the primary key type for a populator
- Check a Forge event
- Populate the survivor list
- Populate the survivor popup
- Print out a mismatch between Forge and survivor classes
- Checks to see if the light should be drawn
- The light opacity for the block
- This method is used to print out information about the villager
- This method is used to make sure there is a mix of liquids
- Initialize a dimension
- Gets the services and registers them
- Binds the metadata for this plugin
- Checks to see if the item can be played
- Checks whether a block can be raided
- Get the raw light for a block
- Add the owner information
- Handle a break block
- Checks that a null tag is a null tag
- Entry point of the growing block
- Stops the Minecraft server
- Event handler
- Inserts a new block into the flow direction
- Changes the dimension of the entity
- Notify the world
SpongeForge Key Features
SpongeForge Examples and Code Snippets
Community Discussions
Trending Discussions on SpongeForge
QUESTION
I'm porting my Minecraft block protections plugin from Bukkit to Sponge so I can add mods with SpongeForge. Bukkit uses a Material enum to identify all the valid block types in the game. All my protections are specified in the config.yml file like this:
...ANSWER
Answered 2017-Apr-13 at 15:01Sponge doesn't use enums for a reason: since you can add other mods, constants would have to be dynamically added (which isn't possible), and assuming blocks in the vanilla game are the only blocks isn't valid. Support for other mods is one of the main goals of the sponge API.
If your goal is to get a list of all valid BlockType
s in the game, you should use the GameRegistry
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install SpongeForge
You can use SpongeForge like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the SpongeForge component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page