forked from ChomeNS/chomens-bot-java
remove debug lines
This commit is contained in:
parent
f1c98135a2
commit
361ad45ca0
1 changed files with 0 additions and 8 deletions
|
@ -250,8 +250,6 @@ public class CorePlugin extends PositionPlugin.Listener {
|
||||||
public void runPlaceBlock (String command) {
|
public void runPlaceBlock (String command) {
|
||||||
if (!ready || !bot.options.useCore) return;
|
if (!ready || !bot.options.useCore) return;
|
||||||
|
|
||||||
// final NbtMapBuilder tagBuilder = NbtMap.builder();
|
|
||||||
|
|
||||||
final NbtMapBuilder blockEntityTagBuilder = NbtMap.builder();
|
final NbtMapBuilder blockEntityTagBuilder = NbtMap.builder();
|
||||||
|
|
||||||
blockEntityTagBuilder.putString("id", "minecraft:command_block");
|
blockEntityTagBuilder.putString("id", "minecraft:command_block");
|
||||||
|
@ -262,16 +260,10 @@ public class CorePlugin extends PositionPlugin.Listener {
|
||||||
|
|
||||||
final NbtMap blockEntityTag = blockEntityTagBuilder.build();
|
final NbtMap blockEntityTag = blockEntityTagBuilder.build();
|
||||||
|
|
||||||
// tagBuilder.putCompound("BlockEntityTag", blockEntityTag);
|
|
||||||
|
|
||||||
// final NbtMap tag = tagBuilder.build();
|
|
||||||
|
|
||||||
final Map<DataComponentType<?>, DataComponent<?, ?>> map = new HashMap<>();
|
final Map<DataComponentType<?>, DataComponent<?, ?>> map = new HashMap<>();
|
||||||
|
|
||||||
map.put(DataComponentType.BLOCK_ENTITY_DATA, DataComponentType.BLOCK_ENTITY_DATA.getDataComponentFactory().create(DataComponentType.BLOCK_ENTITY_DATA, blockEntityTag));
|
map.put(DataComponentType.BLOCK_ENTITY_DATA, DataComponentType.BLOCK_ENTITY_DATA.getDataComponentFactory().create(DataComponentType.BLOCK_ENTITY_DATA, blockEntityTag));
|
||||||
|
|
||||||
// map.put(DataComponentType.BLOCK_ENTITY_DATA, DataComponentType.BLOCK_ENTITY_DATA.getDataComponentFactory().create(DataComponentType.BLOCK_ENTITY_DATA, tag));
|
|
||||||
|
|
||||||
final DataComponents dataComponents = new DataComponents(map);
|
final DataComponents dataComponents = new DataComponents(map);
|
||||||
|
|
||||||
final Vector3i temporaryBlockPosition = Vector3i.from(
|
final Vector3i temporaryBlockPosition = Vector3i.from(
|
||||||
|
|
Loading…
Reference in a new issue