mappings
This commit is contained in:
1 parent
964ff4bb6b
commit
adaf19170d
7 files changed
+29
-27
No files matched your search
@@ -1,21 +1,21 @@
|
||||
package carpet.mixins;
|
||||
|
||||
import carpet.fakes.PlacedFeatureInterface;
|
||||
import net.minecraft.class_6796;
|
||||
import net.minecraft.world.gen.feature.ConfiguredFeature;
|
||||
import net.minecraft.world.gen.feature.PlacedFeature;
|
||||
import org.spongepowered.asm.mixin.Final;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
||||
@Mixin(class_6796.class)
|
||||
@Mixin(PlacedFeature.class)
|
||||
public class PlacedFeature_scarpetMixin implements PlacedFeatureInterface {
|
||||
|
||||
@Shadow @Final private Supplier<ConfiguredFeature<?, ?>> field_35732;
|
||||
@Shadow @Final private Supplier<ConfiguredFeature<?, ?>> feature;
|
||||
|
||||
@Override
|
||||
public ConfiguredFeature<?, ?> getRawFeature() {
|
||||
return field_35732.get();
|
||||
return feature.get();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user