Giter Site home page Giter Site logo

tbluef / rottenfood Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 0.0 86 KB

A Sponge-plugin that gives items the abillity to age. You can config any item to change as time goes on.

Home Page: http://bluecolored.de/rottenfood/

License: MIT License

Java 100.00%
minecraft-plugin plugin sponge

rottenfood's Introduction

Hello there ๐Ÿ‘‹ my name is Lukas.

Or Blue if you want to use my nickname. ๐Ÿ’™

Discord
Twitter

I am a specialized computer scientist in application development in Germany (Stuttgart).

Since i started developing with Java in 2010, i have been working on lots of projects of different sizes and each challenging in an unique way. Some of those projects can be found here :)

Java GIT Spring OOP Gradle JavaScript RESTful ThreeJS
VueJS Maven PHP TYPO3 TypeScript JQuery MySQL TDD

Right now i dedicate most of my free time to BlueMap. This tool generates a map from a minecraft-savegame, that then is viewable in a web-browser in full 3D. I started this project in 2018 and have been working on it since.

BlueMap total servers

BlueMap Graph

rottenfood's People

Contributors

tbluef avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rottenfood's Issues

No Permissions

I added LuckPerms to my server and I was trying to setup permissions for it to work with any group, however there doesn't seem to be visible permissions anywhere.

[Request] add support for SpongeAPI ItemStacks for food items

Hi Blue,

first of thank you for Rottenfood!
Lots of Modders apparently like to use datatypes to define their food items. Peobably because it is less of a hassle.
Sadly this leaves us with unclear item IDs like f.e. <modname>:materials data: 225.

I have two mods which will likely not be fixing their ID naming, but whichs items and functionality I still need on my server.

When it comes to Java coding I am fairly useless, so forking your mod and updating it is also not a possibility within a reasonable timeframe.

Currently your mod does support ItemType config entries like this:

items: [
	"minecraft:bread"
	"<modname>:alt_bread"
]

What I would like to request is, that like your states key, items does as well support addiontal data via ItemStack probably like this

items: [
	{
		item: "natura:materials"
		data: "1"
		# equals an item called wheat_flour
	},
	{
		item: "natura:materials"
		data: "2"
		# equals an item called barley_flour
	}
]

This would be absolutely awesome!
Maybe I am also making a mistake here and you already did that.
Here is the error message I recieved:

[20:59:05] [Server thread/ERROR] [rottenfood]: Failed to load or create config-file!
ninja.leaping.configurate.objectmapping.ObjectMappingException: Input '{item=natura:materials, data=1}' was not a valid value for type org.spongepowered.api.item.ItemType
    at org.spongepowered.common.config.CatalogTypeTypeSerializer.deserialize(CatalogTypeTypeSerializer.java:49) ~[CatalogTypeTypeSerializer.class:1.12.2-2838-7.4.7]
    at org.spongepowered.common.config.CatalogTypeTypeSerializer.deserialize(CatalogTypeTypeSerializer.java:39) ~[CatalogTypeTypeSerializer.class:1.12.2-2838-7.4.7]

Visual glitch when eating food + Food doesn't stack properly.

After eating one piece of food, the entire stack starts glitching out and your hand disappears from the screen. You can still eat the food, but it doesn't show any animation. Additionally, when picking up food from mobs, it doesn't properly stack itself. You have to manually go into your inventory to force it onto each other. Is there any way to prevent either of these issues? For example, is it possible to make the item turn into the rotting variation before it enters the inventory that way it properly stacks? I'll also attach a screenshot of the visual glitch.

Screenshot of visual glitch:
image

Internal server errors & Console spam

I've recently re-added rotten food after uninstalling it, and my console is being spammed with this and not letting people who had food in their inventory connect. Is there anything that can be done to resolve this, or have I screwed up my world for rottenfood?

It also caused some containers to clear themselves and nicknames to mix-match. Not sure if that's related but it only happened with rottenfood.

Versions:
RottenFood 1.1
Forge 2768
Sponge 3514
Nucleus 1.8.3

Add "age" for blocks in world

Could u pls add that u control specific blocks in the world ...
Let me explain:
You place 10 stone bricks in the world.
In config u told the plugin that an "stone_brick" lives 10 - 15 hours (in ticks).
After that 10 - 15 hours the stone_bricks will transform to "cracked stone brick" (not every stone brick at the same time, that's the thing).
In config u told the plugin that an "cracked_stone_brick" lives 50 - 100 hours (in ticks).
After that 50 - 100 hours the cracked_stone_bricks will transform to "air".

So the world in there u live is finite.
Every block can have an "end".
People has to work on their cities and repair them. U see who is offline for months and who's active :P
MAybe work together with some plugin like "PRISM" where it is detected when an block was placed and changed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.