Code Monkey home page Code Monkey logo

cultivation's People

Contributors

bunnky avatar j3fftw1 avatar justahuman-xd avatar lordidra avatar sefiraat avatar skizzles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cultivation's Issues

Place bushes in WorldGuard regions

Hello, I wanted to report a bug,
A user on my server informed me of this.
The bug allows you to place bushes anywhere, although I already saw this reported, the problem is that you can place it even within a WorldGuard region.

image

image

Server: Paper-1.20.1
WorldGuard: 7.0.9-dist
Slimefun DEV - 1104 (git c977454e)
SF Addons:
MiniBlocks vDEV - 4 (git f7a34b6e)
Networks vDEV - 50 (git 3de3c9d6)
CrystamaeHistoria vDEV - 81 (git 0c0efa95)
ExtraTools vDEV - 36 (git 922c0324)
FoxyMachines vDEV - 67 (git 0028aa93)
Quaptics vDEV - 4 (git cbc2e78e)
SfChunkInfo vDEV - 8 (git b1b94abb)
DynaTech vDEV - 201 (git 0feb2ee0)
DyeBench vDEV - 6 (git ae841c2d)
ExtraGear vDEV - 13 (git c62047e2)
GSFH v1.1\n SlimeHUD vDEV - 11 (git b6dc2d53)
InfinityExpansion vDEV - 144 (git 9da37202)
Supreme vDEV - 29 (git f9e70053)
SFCalc vDEV - 37 (git dfc0fc41)
Wildernether vDEV - 5 (git 5be3da69)
BetterReactor vDEV - 11 (git 88a98d28)
ExtraHeads vDEV - 25 (git 8c29f73a)
MobCapturer vDEV - 33 (git 6fc26c35)
FlowerPower vDEV - 16 (git 5a38d1c6)
Galactifun vDEV - 76 (git aa6414a8)
TranscEndence vDEV - 41 (git 98d7d47e)
GeneticChickengineering vDev - 3
FluffyMachines vDEV - 132 (git ccf029ba)
SlimeFrame v1.6.0
DyedBackpacks vDEV - 17 (git 8b329e96)
Gastronomicon vDEV - 8 (git 76336191)
Cultivation vDEV - 11 (git 3e25165)
SlimefunLuckyBlocks vDEV - 36 (git 60f0c8dc)
ExoticGarden vDEV - 78 (git 7f9a5f63)
DankTech2 vDEV - 9 (git aa6c2209)
LiteXpansion vDEV - 192 (git 661862ed)
SimpleUtils vDEV - 15 (git 4250fd5e)
DracFun v1.1.0
AdvancedTech vDEV - 19 (git c133bfdd)

Bush planted in sand cannot be picked up

Just planted a Sassafras bush in a sand by accident - and it cannot be picked up (or destroyed). Even when destroying the sand underneath. (It doesn't grow anything - as intended?)
As a workaround, I can replace the sand with dirt/grass and the bush starts to grow / can be picked up normally.

Recommending:

  • not to be able to placed on non-valid block
  • being able to be picked up/destroyed

Crop sticks have incorrect direction

double:
image

single:
image

Paper git-Paper-50 (MC: 1.20.1)
Slimefun DEV - 1068 (git cab97b1a)
Metrics-Module #28
Java 17

Installed Addons: (3)
  SlimeHUD vDEV - 10 (git 7d1c666b)
  InfinityExpansion vDEV - 140 (git 0098d2fb)
  Cultivation vDEV - 10 (git 441a3701)

Error occurred while enabling Cultivation

[Cultivation] Enabling Cultivation vDEV - 11 (git 3e25165)
[Server thread/INFO]: [Cultivation] ########################################
[Server thread/INFO]: [Cultivation] Cultivation
[Server thread/INFO]: [Cultivation] By Sefiraat and J3fftw
[Server thread/INFO]: [Cultivation] ########################################
[Server thread/INFO]: [Cultivation] [ACF] Enabled Asynchronous Tab Completion Support!
[Server thread/ERROR]: Error occurred while enabling Cultivation vDEV - 11 (git 3e25165) (Is it up to date?)
java.lang.ExceptionInInitializerError: null
at dev.sefiraat.cultivation.implementation.slimefun.items.Bushes.setup(Bushes.java:19) ~[Cultivation - DEV 11 (git 3e251).jar:?]
at dev.sefiraat.cultivation.Cultivation.setupItems(Cultivation.java:73) ~[Cultivation - DEV 11 (git 3e251).jar:?]
at dev.sefiraat.cultivation.Cultivation.onEnable(Cultivation.java:68) ~[Cultivation - DEV 11 (git 3e251).jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:188) ~[purpur-1.20.4.jar:git-Purpur-2141]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[purpur-1.20.4.jar:git-Purpur-2141]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugin(CraftServer.java:653) ~[purpur-1.20.4.jar:git-Purpur-2141]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugins(CraftServer.java:564) ~[purpur-1.20.4.jar:git-Purpur-2141]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:675) ~[purpur-1.20.4.jar:git-Purpur-2141]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:435) ~[purpur-1.20.4.jar:git-Purpur-2141]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:346) ~[purpur-1.20.4.jar:git-Purpur-2141]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1146) ~[purpur-1.20.4.jar:git-Purpur-2141]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.4.jar:git-Purpur-2141]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.NullPointerException: Profile name must not be null
at java.util.Objects.requireNonNull(Objects.java:259) ~[?:?]
at com.mojang.authlib.GameProfile.(GameProfile.java:31) ~[authlib-6.0.52.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.inventory.CraftMetaSkull.setOwningPlayer(CraftMetaSkull.java:246) ~[purpur-1.20.4.jar:git-Purpur-2141]
at dev.sefiraat.cultivation.dough.skins.CustomGameProfile.apply(CustomGameProfile.java:40) ~[Cultivation - DEV 11 (git 3e251).jar:?]
at dev.sefiraat.cultivation.dough.skins.PlayerHead.lambda$getItemStack$1(PlayerHead.java:53) ~[Cultivation - DEV 11 (git 3e251).jar:?]
at dev.sefiraat.cultivation.dough.skins.PlayerHead.getItemStack(PlayerHead.java:63) ~[Cultivation - DEV 11 (git 3e251).jar:?]
at dev.sefiraat.cultivation.dough.skins.PlayerHead.getItemStack(PlayerHead.java:51) ~[Cultivation - DEV 11 (git 3e251).jar:?]
at dev.sefiraat.cultivation.api.utils.Skins.getPlayerHead(Skins.java:579) ~[Cultivation - DEV 11 (git 3e251).jar:?]
at dev.sefiraat.cultivation.implementation.slimefun.CultivationStacks.(CultivationStacks.java:179) ~[Cultivation - DEV 11 (git 3e251).jar:?]
... 15 more

Java: 21
Purpur git-Purpur-2141 (MC: 1.20.4)
Slimefun: 1104 (git c977454e)
Cultivation: 11 (git 3e25165)

Exotic Garden support.

Title. This addon and Exotic Garden may contain some of the same foods/drinks/plants/recipes/etc.

Crops unbreakable

some players are saying that when they do the planting and the plant grows, and try to remove the sticks they do not disappear and become unbreakable

i went to them and tried everything, i tried in creative, i tried using worldedit, i tried breaking it every way and it doesn't come out any solution for it?

video: https://youtu.be/XkakRr4Pfqk

I was able to remove using the clearlagg plugin

video 2: https://youtu.be/l_HxaqyHmuw

Slimefun and addons version: https://prnt.sc/bXqqe8Hi64GI

Seed pack not showing what seed is inside

step 1: store a seed type for your seed pack.
step 2: after exiting the seed pack interface you have no way of knowing what seed type it stores unless you open it.
In the seed pack item description it keeps saying set to: nothing
Video Proof:

2023-05-04_18-42-52.mp4

@Skizzles

Bushes can be placed anywhere

Bushes don't seem to care where they are placed, creating unbreakable entities, like so:

https://streamable.com/r3zb4m

I have fixed this by changing HarvestableBush class's whenPlaced method to:

    @Override
    public void whenPlaced(@NotNull BlockPlaceEvent event) {
        final Block block = event.getBlock();
        final Block blockBelow = block.getRelative(BlockFace.DOWN);

        if (getPlacements().contains(blockBelow.getType())) {
            super.whenPlaced(event);
            addDisplayBush(event.getBlock().getLocation());
            event.getBlock().setType(Material.AIR);
        } else {
            event.setCancelled(true);
        }
    }

Fixed: https://streamable.com/gj7enb
I didn't do a PR because I'm 99% sure this isn't a good way to fix it.

Seeds from brekaing blocks with cancelled Break event

CustomDropsListener.java onBlockBreak doesn't check if the Event is cancelled and is ignoring cancellation. This creates an issue with Protection plugins and any plugin that cancels BlockBreakEvent. For example if grass is broken, event is cancelled, the seeds will drop but the grass won't break.

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.