All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.kosmx.bendylib.impl.DummyCuboid Maven / Gradle / Ivy

The newest version!
package io.github.kosmx.bendylib.impl;

import io.github.kosmx.bendylib.ICuboidBuilder;
import io.github.kosmx.bendylib.MutableCuboid;
import org.jetbrains.annotations.ApiStatus;

import javax.annotation.Nullable;
import net.minecraft.class_3545;

@Deprecated
@ApiStatus.Experimental
public class DummyCuboid implements MutableCuboid {

    private static boolean bl = true;

    public DummyCuboid(){
        if(bl) {
            System.out.println("A Dummy cuboid was created. that is not good, but can be worse");
            bl = false;
        }
    }
    @Override
    public boolean registerMutator(String name, ICuboidBuilder builder) {
        return false;
    }

    @Override
    public boolean unregisterMutator(String name) {
        return true;
    }

    @Nullable
    @Override
    public class_3545 getActiveMutator() {
        return null;
    }

    @Nullable
    @Override
    public ICuboid getMutator(String name) {
        return null;
    }

    @Nullable
    @Override
    public ICuboid getAndActivateMutator(@Nullable String name) {
        return null;
    }

    @Override
    public void copyStateFrom(MutableCuboid other) {

    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy